/* MatchApp E-books Ai — responsive grown-up book matcher */
#ebook-matcher-root{width:100%;max-width:1180px;margin:22px auto;scroll-margin-top:86px}
#ebook-matcher-root[hidden]{display:none!important}
.ebook-fold{border:1px solid rgba(229,193,88,.28);border-radius:24px;background:linear-gradient(145deg,rgba(18,11,32,.97),rgba(8,13,28,.96));box-shadow:0 18px 50px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.04);overflow:hidden}
.ebook-fold>summary{list-style:none;display:flex;align-items:center;gap:13px;cursor:pointer;padding:18px 20px;color:#fff;min-height:76px}
.ebook-fold>summary::-webkit-details-marker{display:none}
.ebook-summary-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:16px;background:radial-gradient(circle at 30% 20%,rgba(255,232,142,.34),rgba(229,193,88,.1) 52%,rgba(111,64,197,.17));border:1px solid rgba(229,193,88,.42);box-shadow:0 0 24px rgba(229,193,88,.12);font-size:22px;flex:0 0 auto}
.ebook-fold>summary>span:nth-child(2){display:flex;flex-direction:column;min-width:0}
.ebook-fold>summary small{font-size:10px;letter-spacing:.16em;color:#bfae83;font-weight:800}
.ebook-fold>summary strong{font-size:20px;letter-spacing:.01em;color:#fff}
.ebook-chevron{margin-left:auto;color:#e5c158;font-size:22px;transition:transform .2s ease}
.ebook-fold[open] .ebook-chevron{transform:rotate(180deg)}
.ebook-panel{border-top:1px solid rgba(255,255,255,.06);padding:20px}
.ebook-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.ebook-intro h2{margin:0 0 5px;color:#f3d77f;font-size:26px;line-height:1.1}
.ebook-intro p{margin:0;color:#d3cada;max-width:760px;line-height:1.55}
.ebook-guide-link{flex:0 0 auto;color:#f3d77f;text-decoration:none;border:1px solid rgba(229,193,88,.32);padding:9px 12px;border-radius:999px;font-weight:800;font-size:12px}
.ebook-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ebook-field{min-width:0;margin:0;border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:13px;background:rgba(255,255,255,.025)}
.ebook-field legend{padding:0 6px;color:#f0e7f7;font-weight:850;font-size:13px}
.ebook-chips{display:flex;flex-wrap:wrap;gap:7px}
.ebook-chip{appearance:none;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.035);color:#d9d1e1;border-radius:999px;padding:8px 10px;min-height:37px;font:inherit;font-size:12px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:5px}
.ebook-chip:hover{border-color:rgba(229,193,88,.38);background:rgba(229,193,88,.07)}
.ebook-chip.is-on{border-color:#e5c158;background:linear-gradient(135deg,rgba(229,193,88,.22),rgba(129,73,218,.14));color:#fff;box-shadow:0 0 0 1px rgba(229,193,88,.1),0 7px 18px rgba(0,0,0,.2)}
.ebook-match-row{display:flex;align-items:center;gap:14px;margin:18px 0 12px}
.ebook-match-cta{border:1px solid #f3d77f;background:linear-gradient(135deg,#e7c45f,#b88e29);color:#160e03;border-radius:15px;padding:13px 20px;min-height:48px;font:inherit;font-weight:950;cursor:pointer;box-shadow:0 9px 26px rgba(229,193,88,.19)}
.ebook-match-row>span{color:#978ca2;font-size:12px}
.ebook-note{margin:8px 0 14px;padding:10px 12px;border-left:3px solid #e5c158;background:rgba(229,193,88,.07);color:#d9cfae;border-radius:0 10px 10px 0;font-size:12px}
.ebook-result{margin-top:16px;border:1px solid rgba(229,193,88,.26);border-radius:22px;background:linear-gradient(155deg,rgba(39,24,57,.72),rgba(12,13,22,.9));overflow:hidden}
.ebook-result-grid{display:grid;grid-template-columns:minmax(160px,230px) minmax(0,1fr);gap:20px;padding:20px}
.ebook-cover{aspect-ratio:2/3;border-radius:16px;overflow:hidden;border:2px solid rgba(229,193,88,.45);background:#150d21;box-shadow:0 12px 30px rgba(0,0,0,.33);position:relative}
.ebook-cover img{width:100%;height:100%;object-fit:contain;background:#0d0912;display:block}
.ebook-cover-fallback{height:100%;width:100%;padding:18px;display:flex;flex-direction:column;justify-content:flex-end;background:radial-gradient(circle at 25% 18%,rgba(229,193,88,.3),transparent 36%),linear-gradient(160deg,#371a4d,#10192c 55%,#090a10);color:#fff}
.ebook-cover-fallback>span{position:absolute;top:20px;right:16px;font-size:30px;font-weight:950;color:rgba(229,193,88,.5);letter-spacing:.06em}
.ebook-cover-fallback strong{font-size:20px;line-height:1.08;color:#f4dda0}
.ebook-cover-fallback small{margin-top:9px;color:#d8cfe1;font-weight:700}
.ebook-result-copy{min-width:0}
.ebook-kicker{color:#c0a95c;text-transform:uppercase;font-weight:850;letter-spacing:.08em;font-size:10px;margin:0 0 5px}
.ebook-result h3{margin:0;color:#fff;font-size:30px;line-height:1.05}
.ebook-author{margin:6px 0 13px;color:#cabdd6;font-weight:700}
.ebook-summary{font-size:15px;line-height:1.65;color:#ebe5ef;margin:0 0 14px}
.ebook-why{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:10px 12px;border-radius:12px;background:rgba(229,193,88,.075);margin-bottom:10px}
.ebook-why strong{color:#f1d477}
.ebook-why span{color:#ddd5e5;font-size:13px}
.ebook-meta{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px}
.ebook-meta span{font-size:11px;color:#c5bacd;border:1px solid rgba(255,255,255,.09);padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.03)}
.ebook-source-groups{display:grid;gap:13px}
.ebook-source-groups h4{margin:0 0 7px;color:#fff;font-size:12px;text-transform:uppercase;letter-spacing:.06em}
.ebook-provider-row{display:flex;flex-wrap:wrap;gap:7px}
.ebook-provider,.ebook-preview-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid rgba(229,193,88,.25);background:rgba(255,255,255,.035);color:#f4e8c0;border-radius:11px;padding:9px 11px;font-size:12px;font-weight:800;min-height:40px}
.ebook-provider:hover,.ebook-preview-link:hover{border-color:#e5c158;background:rgba(229,193,88,.1)}
.ebook-provider.ebook-free{border-color:rgba(111,221,160,.3);color:#bdf0cf;background:rgba(65,173,111,.06)}
.ebook-preview-link{width:max-content;max-width:100%}
.ebook-result-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.ebook-result-actions button{border-radius:12px;min-height:43px;padding:9px 13px;font:inherit;font-size:12px;font-weight:850;cursor:pointer}
.ebook-save{border:1px solid rgba(229,193,88,.4);background:rgba(229,193,88,.1);color:#ffe9a7}
.ebook-nope{border:1px solid rgba(242,123,134,.25);background:rgba(242,123,134,.06);color:#ffc4ca}
.ebook-rematch{border:1px solid rgba(160,142,230,.3);background:rgba(160,142,230,.07);color:#d9d0ff}
.ebook-saved{margin-top:16px;border-top:1px solid rgba(255,255,255,.06);padding-top:13px}
.ebook-saved>summary{cursor:pointer;color:#d8c98c;font-weight:800;font-size:13px}
.ebook-saved [data-ebook-saved-list]{display:grid;gap:8px;margin-top:10px}
.ebook-saved article{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid rgba(255,255,255,.07);padding:9px 10px;border-radius:12px;background:rgba(255,255,255,.025)}
.ebook-saved article>div:first-child{display:flex;flex-direction:column;min-width:0}
.ebook-saved article strong{color:#fff;font-size:13px}
.ebook-saved article small{color:#a99fb0}
.ebook-saved article>div:last-child{display:flex;gap:7px;align-items:center}
.ebook-saved a,.ebook-saved button{color:#dfd4e7;border:1px solid rgba(255,255,255,.09);background:transparent;padding:6px 8px;border-radius:9px;text-decoration:none;font-size:11px;cursor:pointer}
.ebook-rights{margin:14px 0 0;color:#857a8d;font-size:10.5px;line-height:1.5}
body.ebook-page #ebook-matcher-root{margin:0 auto;max-width:1180px;padding:0 18px 36px}
body.ebook-page .ebook-fold{margin-top:18px}
.ebook-page-hero{max-width:1100px;margin:34px auto 12px;padding:0 20px;text-align:center}
.ebook-page-hero .ebook-page-eyebrow{color:#c9ae56;letter-spacing:.15em;font-size:11px;font-weight:900}
.ebook-page-hero h1{margin:8px 0;color:#fff;font-size:clamp(32px,6vw,58px);line-height:1}
.ebook-page-hero p{max-width:760px;margin:0 auto;color:#cabfd1;line-height:1.65}
.ebook-platform-trust{max-width:1100px;margin:0 auto 28px;padding:0 20px}
.ebook-platform-trust-inner{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.ebook-platform-trust article{border:1px solid rgba(255,255,255,.07);border-radius:16px;padding:13px;background:rgba(255,255,255,.025)}
.ebook-platform-trust h2{margin:0 0 5px;color:#f0d783;font-size:14px}
.ebook-platform-trust p{margin:0;color:#a99eb0;font-size:12px;line-height:1.5}
@media(max-width:800px){
 #ebook-matcher-root{margin:16px auto}
 .ebook-panel{padding:15px}
 .ebook-intro{display:block}
 .ebook-guide-link{display:inline-flex;margin-top:10px}
 .ebook-fields{grid-template-columns:1fr}
 .ebook-result-grid{grid-template-columns:1fr}
 .ebook-cover{width:min(66vw,230px);margin:0 auto}
 .ebook-result h3{font-size:26px}
 .ebook-platform-trust-inner{grid-template-columns:1fr}
}
@media(max-width:520px){
 .ebook-fold{border-radius:19px}
 .ebook-fold>summary{padding:13px 14px;min-height:66px}
 .ebook-summary-icon{width:42px;height:42px;border-radius:13px}
 .ebook-fold>summary strong{font-size:17px}
 .ebook-panel{padding:12px}
 .ebook-intro h2{font-size:22px}
 .ebook-field{padding:10px;border-radius:14px}
 .ebook-chip{padding:7px 9px;min-height:35px;font-size:11.5px}
 .ebook-match-row{display:block}
 .ebook-match-cta{width:100%}
 .ebook-match-row>span{display:block;text-align:center;margin-top:7px}
 .ebook-result-grid{padding:14px;gap:14px}
 .ebook-cover{width:min(72vw,210px)}
 .ebook-provider,.ebook-preview-link{flex:1 1 calc(50% - 8px);width:auto}
 .ebook-result-actions button{flex:1 1 130px}
 .ebook-saved article{align-items:flex-start;flex-direction:column}
 .ebook-saved article>div:last-child{width:100%;justify-content:flex-end}
}
@media(prefers-reduced-motion:reduce){
 #ebook-matcher-root *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}

/* Current top e-books — same premium rail language as MatchApp title/event cards. */
.ebook-top-section{margin-top:22px;padding-top:18px;border-top:1px solid rgba(255,255,255,.07)}
.ebook-top-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:12px}
.ebook-top-head small{display:block;color:#bfae83;font-size:9px;font-weight:900;letter-spacing:.16em;margin-bottom:4px}
.ebook-top-head h3{margin:0;color:#f3d77f;font-size:20px;line-height:1.15}
.ebook-top-head p{margin:5px 0 0;color:#a99fb0;font-size:12px;line-height:1.45;max-width:760px}
.ebook-top-head>span{flex:0 0 auto;color:#7f7588;font-size:10px;font-weight:700}
.ebook-top-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(182px,205px);gap:11px;overflow-x:auto;padding:2px 2px 12px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:thin}
.ebook-top-card{scroll-snap-align:start;min-width:0;border:1px solid rgba(229,193,88,.2);border-radius:18px;background:linear-gradient(160deg,rgba(36,22,52,.9),rgba(13,14,24,.94));box-shadow:0 11px 25px rgba(0,0,0,.23),inset 0 1px 0 rgba(255,255,255,.035);overflow:hidden;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
@media(hover:hover) and (pointer:fine){.ebook-top-card:hover{transform:translateY(-3px);border-color:rgba(229,193,88,.45);box-shadow:0 15px 32px rgba(0,0,0,.3),0 0 0 1px rgba(229,193,88,.06)}}
.ebook-top-cover{aspect-ratio:2/3;background:#0f0a17;border-bottom:1px solid rgba(229,193,88,.12);overflow:hidden;position:relative}
.ebook-top-cover>img{width:100%;height:100%;object-fit:contain;background:#0c0911;display:block}
.ebook-top-cover .ebook-cover-fallback{border-radius:0;padding:14px}
.ebook-top-cover .ebook-cover-fallback>span{font-size:24px;top:14px;right:12px}
.ebook-top-cover .ebook-cover-fallback strong{font-size:16px}
.ebook-top-copy{padding:12px}
.ebook-top-badge{display:inline-flex;max-width:100%;font-size:9px;line-height:1.1;text-transform:uppercase;letter-spacing:.07em;font-weight:900;color:#f0d77f;background:rgba(229,193,88,.08);border:1px solid rgba(229,193,88,.18);border-radius:999px;padding:5px 7px;margin-bottom:8px}
.ebook-top-copy h3{margin:0;color:#fff;font-size:15px;line-height:1.18}
.ebook-top-author{margin:5px 0 0;color:#c6bacf;font-size:11px;font-weight:700;line-height:1.3}
.ebook-top-genre{margin:4px 0 10px;color:#8f8498;font-size:10px;line-height:1.3}
.ebook-top-actions{display:grid;gap:6px}
.ebook-top-actions .ebook-provider{width:100%;min-height:35px;padding:7px 8px;font-size:10px;border-radius:9px}
.ebook-top-source{color:#82778b;text-decoration:none;font-size:9px;line-height:1.35;padding-top:2px}
.ebook-top-source:hover{color:#d8c98c}
@media(min-width:1180px){
 .ebook-top-rail{grid-auto-columns:minmax(190px,1fr)}
}
@media(max-width:800px){
 .ebook-top-head{align-items:flex-start}
 .ebook-top-head>span{display:none}
 .ebook-top-rail{grid-auto-columns:minmax(168px,46vw)}
}
@media(max-width:520px){
 .ebook-top-section{margin-top:18px;padding-top:15px}
 .ebook-top-head h3{font-size:18px}
 .ebook-top-rail{grid-auto-columns:minmax(155px,72vw);gap:9px}
 .ebook-top-copy{padding:10px}
}

.ebook-hub-top{max-width:1100px;margin:0 auto 28px;padding:18px 20px 0}
.ebook-hub-top .ebook-top-head{padding:0 0 2px}
html body.page-home #ebook-matcher-root .ebook-fold{border-color:color-mix(in srgb,var(--gold,#e5c158) 34%,transparent);background:linear-gradient(145deg,color-mix(in srgb,var(--theme-surface,#241636) 78%,#070911),rgba(8,13,28,.96))}
html body.page-home #ebook-matcher-root :is(.ebook-field,.ebook-top-card,.ebook-result){border-radius:18px}

/* Shared premium audiobook controls across phone, desktop, tablets and adult Android WebView. */
.ebook-audio{margin:14px 0;padding:15px;background:linear-gradient(135deg,rgba(53,38,75,.72),rgba(16,23,36,.9));border:1px solid rgba(229,193,88,.42);border-radius:16px;min-width:0}
.ebook-audio h4{color:#fce4a2;margin:0 0 7px;font-size:16px;line-height:1.3}
.ebook-audio h5{color:#e5d7f4;font-size:12px;letter-spacing:.01em;margin:13px 0 7px}
.ebook-audio-note{font-size:12px;line-height:1.55;color:#dad0e9;margin:3px 0 10px;overflow-wrap:anywhere}
.ebook-audio-check{min-height:44px;max-width:100%;border:1px solid #f3d984;border-radius:12px;background:linear-gradient(135deg,#f1dc8b,#c9a64b);padding:11px 15px;font:inherit;font-size:13px;font-weight:850;color:#21122e;cursor:pointer;white-space:normal}
.ebook-audio-check:disabled{opacity:.7;cursor:progress}
.ebook-audio .ebook-provider-row{display:flex;align-items:stretch;flex-wrap:wrap;gap:8px}
.ebook-audio .ebook-provider{white-space:normal;overflow-wrap:anywhere;line-height:1.4;text-align:center;min-height:43px;max-width:100%}
.ebook-audio .ebook-audio-verified{border:1px solid rgba(79,211,174,.7);background:linear-gradient(135deg,rgba(26,88,77,.82),rgba(21,52,70,.92));color:#e5fff5}
.ebook-audio .ebook-audio-search{border:1px solid rgba(186,159,212,.55);background:rgba(76,46,105,.33);color:#f5eafb}
.ebook-matcher-root .ebook-field{min-width:0}
@media(max-width:600px){.ebook-audio{padding:11px}.ebook-audio .ebook-provider-row{display:grid;grid-template-columns:1fr}.ebook-audio .ebook-provider{width:100%}}
@media(prefers-reduced-motion:reduce){.ebook-audio-check{transition:none!important}}

/* Saved books retain on-demand audio source verification without another match. */
.ebook-saved-audio{margin-top:10px;display:grid;gap:7px;min-width:0}
.ebook-saved-audio .ebook-provider-row{display:flex;flex-wrap:wrap;gap:7px}
.ebook-saved-audio .ebook-provider{max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:41px}
.ebook-saved [data-ebook-saved-audio]{border:1px solid rgba(229,193,88,.57);border-radius:9px;min-height:41px;padding:8px 10px;background:rgba(229,193,88,.12);color:#ffeab3;font-weight:800;cursor:pointer;white-space:normal}
.ebook-saved [data-ebook-saved-audio]:disabled{opacity:.68;cursor:progress}
@media(max-width:560px){.ebook-saved-audio .ebook-provider-row{display:grid;grid-template-columns:1fr}}

/* Homepage E-books: same premium shell as Find what to watch here.
   Visual changes only; the existing e-book form, audiobook checks and
   saved/disliked behavior are untouched. E-book hub keeps its own design. */
html body.page-home #ebook-matcher-root{
  display:block;
  width:100%!important;
  max-width:var(--measure,1180px)!important;
  min-width:0;
  margin:9px auto!important;
  padding:0;
  box-sizing:border-box;
}
html body.page-home #ebook-matcher-root .ebook-fold{
  border:1px solid rgba(168,108,36,.5)!important;
  border-radius:20px!important;
  background:linear-gradient(160deg,rgba(32,24,52,.92),rgba(20,19,26,.94))!important;
  box-shadow:0 15px 50px rgba(0,0,0,.55)!important;
  overflow:hidden;
}
html body.page-home #ebook-matcher-root .ebook-fold>summary{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  position:relative;
  min-height:65px;
  padding:15px 52px;
  text-align:center;
  background:transparent;
}
html body.page-home #ebook-matcher-root .ebook-summary-icon{display:none}
html body.page-home #ebook-matcher-root .ebook-fold>summary>span:nth-child(2){
  align-items:center;
  justify-content:center;
  text-align:center;
}
html body.page-home #ebook-matcher-root .ebook-fold>summary strong{
  color:var(--gold,#e5c158)!important;
  font-size:clamp(20px,3.5vw,34px)!important;
  font-weight:900;
  letter-spacing:.01em;
  line-height:1.2;
  text-transform:uppercase;
}
html body.page-home #ebook-matcher-root .ebook-chevron{
  position:absolute;
  right:17px;
  top:50%;
  margin:0;
  transform:translateY(-50%);
}
html body.page-home #ebook-matcher-root .ebook-fold[open] .ebook-chevron{
  transform:translateY(-50%) rotate(180deg);
}
html body.page-home #ebook-matcher-root .ebook-panel{
  padding:14px 15px;
  border-top:1px solid rgba(229,193,88,.2);
}
html body.page-home #ebook-matcher-root .ebook-intro h2{display:none}
html body.page-home #ebook-matcher-root .ebook-intro p{
  color:#d9d0e1;
  line-height:1.5;
}
html body.page-home #ebook-matcher-root .ebook-field{
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:12px!important;
  background:rgba(0,0,0,.54)!important;
}
html body.page-home #ebook-matcher-root .ebook-field legend{
  color:#ddd;
  font-size:13px;
  text-transform:uppercase;
}
html body.page-home #ebook-matcher-root .ebook-match-cta{
  border-color:var(--gold,#e5c158);
  box-shadow:0 7px 23px rgba(229,193,88,.18);
}
html body.page-home #ebook-matcher-root :is(.ebook-field,.ebook-top-card,.ebook-result){
  min-width:0;
}
@media(max-width:600px){
  html body.page-home #ebook-matcher-root .ebook-fold{border-radius:16px!important}
  html body.page-home #ebook-matcher-root .ebook-fold>summary{
    min-height:55px;
    padding:12px 36px;
  }
  html body.page-home #ebook-matcher-root .ebook-panel{padding:10px 11px}
  html body.page-home #ebook-matcher-root .ebook-chevron{right:10px}
}

/* Original publisher-identity art. Never render an invented issue cover.
   All text alternatives remain visible if original publisher icon is blocked. */
.magazine-result-grid .magazine-official-art{
 background:linear-gradient(145deg,rgba(20,18,36,.95),rgba(42,29,58,.95));
 display:flex;flex-direction:column;align-items:center;justify-content:center;
 overflow:hidden;min-width:0;aspect-ratio:2/3;max-height:420px;
 border:2px solid rgba(229,193,88,.46);border-radius:17px
}
.magazine-official-art img{
 display:block;width:min(62%,140px);height:auto;max-height:148px;
 object-fit:contain;object-position:center;flex:0 0 auto
}
.magazine-official-art img[hidden]{display:none!important}
.magazine-official-art [data-magazine-brand]{
 display:flex;flex-direction:column;align-items:center;justify-content:center;
 gap:12px;padding:16px 12px;text-align:center;min-width:0
}
.magazine-official-art [data-magazine-brand][hidden]{display:none!important}
.magazine-official-art [data-magazine-brand] small{color:#e5c158;font-size:11px;letter-spacing:.09em}
.magazine-official-art [data-magazine-brand] strong{color:#fff;font-size:clamp(20px,3vw,31px);overflow-wrap:anywhere}
.magazine-official-art [data-magazine-brand] span{color:#d1c8df;font-size:12px}
.magazine-original-note{font-size:12px;color:#decfa7;line-height:1.55}
.reading-ai-sources{display:grid;gap:10px;margin:16px 0 4px;max-width:900px}
.reading-ai-sources h3{font-size:16px;color:#f4db83;margin:0}
.reading-ai-note{font-size:12px;color:#c5baca;margin:0}
.reading-ai-card{display:grid;grid-template-columns:68px minmax(0,1fr);gap:12px;align-items:start;
 padding:13px;border-radius:15px;border:1px solid rgba(229,193,88,.28);
 background:linear-gradient(145deg,rgba(17,13,33,.94),rgba(39,27,52,.91))}
.reading-ai-icon,.reading-ai-wordmark{width:68px;height:86px;background:#130e23;
 border:1px solid rgba(229,193,88,.45);border-radius:9px;
 display:flex;align-items:center;justify-content:center;overflow:hidden}
.reading-ai-icon img{max-width:55px;max-height:55px;object-fit:contain}
.reading-ai-icon img[hidden],.reading-ai-icon [data-reading-publisher-name][hidden]{display:none!important}
.reading-ai-icon [data-reading-publisher-name]{
 display:block;width:100%;padding:5px 3px;color:#f4db83;font-size:11px;
 line-height:1.25;font-weight:800;text-align:center;overflow-wrap:anywhere
}
.reading-ai-label{display:block;color:#e5c158;font-size:10px;font-weight:850;letter-spacing:.06em}
.reading-ai-card h4{margin:4px 0;color:#fff;font-size:18px}
.reading-ai-card p{margin:4px 0 9px;color:#eee;font-size:13px;line-height:1.5}
.reading-ai-links{display:flex;flex-wrap:wrap;gap:7px}
.reading-source-link{padding:7px 10px;border:1px solid rgba(229,193,88,.4);border-radius:999px;
 color:#f9e6b8;text-decoration:none;font-size:11px;font-weight:800}
.reading-ai-card small{display:block;color:#bdb1c5;font-size:11px;line-height:1.45;margin-top:9px}
@media(max-width:520px){.magazine-result-grid .magazine-official-art{max-width:240px;margin:auto}
 .reading-ai-card{grid-template-columns:56px minmax(0,1fr);gap:8px;padding:10px}
 .reading-ai-icon,.reading-ai-wordmark{width:56px;height:70px}
 .reading-ai-icon img{max-width:46px;max-height:46px}}
@media(prefers-reduced-motion:reduce){.reading-ai-card{scroll-behavior:auto}}


/* Only the adult homepage: let the E-books fold be the same single premium
   card as Find what to watch here. Avoid double borders from the generic
   section.container > section rule; preserve existing matcher markup. */
html body.page-home section.container > #ebook-matcher-root{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0!important;
  width:100%!important;
  max-width:var(--measure,1180px)!important;
}
html body.page-home #ebook-matcher-root .ebook-fold{
  border:1px solid rgba(255,255,255,.065)!important;
  border-radius:22px!important;
  background:linear-gradient(145deg,rgba(27,13,44,.60),rgba(15,7,26,.58))!important;
  box-shadow:0 14px 38px rgba(0,0,0,.16)!important;
}
html body.page-home #ebook-matcher-root .ebook-fold:focus-within{
  border-color:rgba(229,193,88,.45)!important;
}

/* Homepage-only compact book-matching card. Keep full hub, source links, covers and matching logic intact. */
html body.page-home #ebook-matcher-root{margin:7px auto 10px!important;}
html body.page-home #ebook-matcher-root .ebook-fold{border-radius:17px!important;}
html body.page-home #ebook-matcher-root .ebook-fold>summary{
  min-height:58px;
  padding:10px 44px 10px 14px;
}
html body.page-home #ebook-matcher-root .ebook-fold>summary small{font-size:9px;letter-spacing:.12em;}
html body.page-home #ebook-matcher-root .ebook-fold>summary strong{
  font-size:clamp(17px,2.3vw,22px)!important;
  line-height:1.15;
}
html body.page-home #ebook-matcher-root .ebook-chevron{right:15px;}
html body.page-home #ebook-matcher-root .ebook-fold[open] .ebook-panel{padding:13px 14px;}
html body.page-home #ebook-matcher-root .ebook-intro{margin-bottom:12px;}
html body.page-home #ebook-matcher-root .ebook-fields{gap:9px;}
html body.page-home #ebook-matcher-root .ebook-field{padding:10px;}
html body.page-home #ebook-matcher-root .ebook-chip{min-height:40px;padding:8px 10px;}
html body.page-home #ebook-matcher-root .ebook-chip:focus-visible,
html body.page-home #ebook-matcher-root .ebook-fold>summary:focus-visible{
  outline:2px solid var(--gold,#e5c158);outline-offset:2px;
}
@media(max-width:600px){
  html body.page-home #ebook-matcher-root .ebook-fold>summary{min-height:54px;padding:9px 36px 9px 11px;}
  html body.page-home #ebook-matcher-root .ebook-chevron{right:11px;}
  html body.page-home #ebook-matcher-root .ebook-fold[open] .ebook-panel{padding:11px;}
  html body.page-home #ebook-matcher-root .ebook-field{padding:9px;}
  html body.page-home #ebook-matcher-root .ebook-chips{gap:6px;}
}


/* 26 September 2026: truly compact Bookworms entry, after Watch Match + Search/Ask.
   Keep the full matching form and official book covers accessible ON EXPANSION;
   never change the independent /ebooks/ hub or native Kids surfaces. */
html body.page-home #ebook-matcher-root{display:block!important;width:100%!important;max-width:var(--measure,1180px)!important;min-width:0;margin:6px auto 9px!important;padding:0!important;}
html body.page-home #ebook-matcher-root .ebook-fold{border:1px solid rgba(229,193,88,.36)!important;border-radius:15px!important;background:linear-gradient(120deg,rgba(28,17,45,.95),rgba(14,12,28,.95))!important;box-shadow:0 6px 18px rgba(0,0,0,.22)!important;}
html body.page-home #ebook-matcher-root .ebook-fold>summary{justify-content:flex-start!important;text-align:left!important;gap:9px!important;min-height:52px!important;padding:7px 40px 7px 11px!important;}
html body.page-home #ebook-matcher-root .ebook-summary-icon{display:grid!important;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:9px;font-size:15px;}
html body.page-home #ebook-matcher-root .ebook-fold>summary>span:nth-child(2){align-items:flex-start!important;text-align:left!important;}
html body.page-home #ebook-matcher-root .ebook-fold>summary small{font-size:8px!important;letter-spacing:.13em;line-height:1.1;}
html body.page-home #ebook-matcher-root .ebook-fold>summary strong{font-size:clamp(15px,2.2vw,18px)!important;line-height:1.22!important;letter-spacing:0;text-transform:none;}
html body.page-home #ebook-matcher-root .ebook-chevron{right:13px!important;font-size:20px;}
html body.page-home #ebook-matcher-root .ebook-fold[open] .ebook-panel{padding:11px 12px!important;}
html body.page-home #ebook-matcher-root .ebook-fields{gap:8px;}
html body.page-home #ebook-matcher-root .ebook-field{padding:8px;}
@media(max-width:600px){html body.page-home #ebook-matcher-root .ebook-fold>summary{min-height:50px!important;padding:6px 34px 6px 9px!important;}html body.page-home #ebook-matcher-root .ebook-summary-icon{width:28px;height:28px;flex-basis:28px;}html body.page-home #ebook-matcher-root .ebook-fold[open] .ebook-panel{padding:10px!important;}}


/* Adult Home Bookworms — directly under the matching form, visually paired
   with its closed premium heading. Native dropdowns replace hundreds of
   expanded chips here ONLY. Dedicated /ebooks/ keeps its existing interface. */
html body.page-home #ebook-matcher-root{
  width:100%!important;max-width:var(--measure,1180px)!important;
  margin:7px auto 10px!important;min-width:0;scroll-margin-top:80px;
}
html body.page-home #ebook-matcher-root .ebook-fold{
  border:1.5px solid rgba(232,195,109,.75)!important;
  border-radius:24px!important;
  background:linear-gradient(140deg,rgba(28,19,45,.97),rgba(24,19,40,.97))!important;
  box-shadow:0 12px 35px rgba(0,0,0,.28)!important;
}
html body.page-home #ebook-matcher-root .ebook-fold>summary{
  min-height:94px!important;padding:15px 84px 15px 24px!important;
  display:flex!important;justify-content:center!important;align-items:center!important;
  position:relative!important;text-align:center!important;cursor:pointer;
}
html body.page-home #ebook-matcher-root .ebook-summary-icon,
html body.page-home #ebook-matcher-root .ebook-fold>summary small{display:none!important;}
html body.page-home #ebook-matcher-root .ebook-fold>summary>span:nth-child(2){
  display:block!important;text-align:center!important;
}
html body.page-home #ebook-matcher-root .ebook-fold>summary strong{
  font:800 clamp(19px,2.7vw,31px)/1.2 Outfit,Inter,system-ui,sans-serif!important;
  color:#f8f6fc!important;text-transform:none!important;letter-spacing:0!important;
}
html body.page-home #ebook-matcher-root .ebook-chevron{
  display:grid!important;place-items:center!important;
  position:absolute!important;right:16px!important;top:50%!important;
  width:58px;height:58px;border:1.5px solid rgba(232,195,109,.55);border-radius:50%;
  background:rgba(20,15,36,.25);color:#f4cc77!important;font-size:30px!important;
  line-height:1;transform:translateY(-50%)!important;
}
html body.page-home #ebook-matcher-root .ebook-fold[open] .ebook-chevron{
  transform:translateY(-50%) rotate(180deg)!important;
}
html body.page-home #ebook-matcher-root .ebook-fold[open] .ebook-panel{
  padding:14px clamp(12px,2vw,20px) 16px!important;
  border-top:1px solid rgba(229,193,88,.26)!important;
}
html body.page-home #ebook-matcher-root .ebook-intro{margin-bottom:13px!important;gap:10px;}
html body.page-home #ebook-matcher-root .ebook-intro p{
  font-size:13px!important;line-height:1.45!important;
}
html body.page-home #ebook-matcher-root .ebook-fields{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px 12px!important;align-items:end;
}
html body.page-home #ebook-matcher-root .ebook-select-field{
  display:flex;flex-direction:column;gap:5px;min-width:0;
  font:800 11px/1.25 Outfit,Inter,system-ui,sans-serif;color:#ebe2ef;
  text-transform:uppercase;letter-spacing:.055em;
}
html body.page-home #ebook-matcher-root .ebook-select{
  box-sizing:border-box;width:100%;min-width:0;min-height:48px;
  padding:9px 37px 9px 12px;border-radius:12px;
  border:1px solid rgba(229,193,88,.34);background:#110e1c;
  color:#fff;font:600 14px/1.3 Outfit,Inter,system-ui,sans-serif;
  color-scheme:dark;cursor:pointer;text-transform:none;letter-spacing:0;
}
html body.page-home #ebook-matcher-root .ebook-select:focus-visible{
  outline:2px solid #f3d57a;outline-offset:2px;
}
html body.page-home #ebook-matcher-root .ebook-match-row{
  margin:14px 0 10px;flex-direction:column;gap:6px!important;
}
html body.page-home #ebook-matcher-root .ebook-match-cta{
  box-sizing:border-box;width:100%;min-height:50px;border-radius:12px;
  font-size:15px;letter-spacing:.025em;
}
html body.page-home #ebook-matcher-root .ebook-home-picks{
  border:1px solid rgba(229,193,88,.24);border-radius:12px;
  margin-top:12px;padding:0 12px;
}
html body.page-home #ebook-matcher-root .ebook-home-picks>summary{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 0;color:#f6db9a;font-size:13px;font-weight:800;cursor:pointer;
}
html body.page-home #ebook-matcher-root .ebook-home-picks[open] .ebook-top-section{
  margin-top:0;padding-top:12px;
}
@media(max-width:640px){
  html body.page-home #ebook-matcher-root .ebook-fold>summary{
    min-height:76px!important;padding:13px 65px 13px 11px!important;
  }
  html body.page-home #ebook-matcher-root .ebook-chevron{
    right:10px!important;width:46px;height:46px;font-size:24px!important;
  }
  html body.page-home #ebook-matcher-root .ebook-fields{
    grid-template-columns:minmax(0,1fr)!important;gap:9px!important;
  }
  html body.page-home #ebook-matcher-root .ebook-select{
    min-height:48px;font-size:16px;
  }
}


/* 2026-09-26 Bookworms exclusive violet/gold crest: adult Home only.
   These final rules supersede old icon-hiding and pale panel styles without
   touching the /ebooks/ hub, normal matcher or locked AdSense placement. */
html body.page-home #ebook-matcher-root .ebook-fold{
  background:
    radial-gradient(ellipse at 9% 26%,rgba(178,105,255,.43),transparent 46%),
    radial-gradient(ellipse at 92% 86%,rgba(117,67,204,.38),transparent 52%),
    linear-gradient(113deg,#57317F 0%,#613092 38%,#3D1F6A 76%,#261542 100%)!important;
  border-color:rgba(248,211,117,.86)!important;
  box-shadow:inset 0 1px rgba(255,243,201,.21),
    0 8px 24px rgba(69,26,118,.31),0 0 0 1px rgba(243,205,113,.12)!important;
}
html body.page-home #ebook-matcher-root .ebook-fold>summary{
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr) 64px!important;
  align-items:center!important;justify-items:stretch!important;
  gap:11px!important;box-sizing:border-box!important;
  min-height:80px!important;padding:7px 17px!important;
  position:relative!important;
  background:linear-gradient(180deg,rgba(255,255,255,.10),transparent 82%)!important;
}
html body.page-home #ebook-matcher-root .ebook-summary-icon{
  display:grid!important;place-items:center!important;
  position:static!important;width:64px!important;height:64px!important;
  min-width:0!important;padding:0!important;margin:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important;
  font-size:inherit!important;
}
html body.page-home #ebook-matcher-root img.ebook-brand-crest{
  display:block!important;object-fit:contain!important;
  width:64px!important;height:64px!important;max-width:100%!important;
  border:0!important;border-radius:16px!important;
  filter:drop-shadow(0 3px 7px rgba(17,8,39,.38));
}
html body.page-home #ebook-matcher-root .ebook-fold>summary>span:nth-child(2){
  display:block!important;align-self:center!important;
  justify-self:stretch!important;min-width:0!important;
  text-align:center!important;
}
html body.page-home #ebook-matcher-root .ebook-fold>summary strong{
  display:block!important;
  font:850 clamp(18px,2.6vw,30px)/1.15 Outfit,Inter,system-ui,sans-serif!important;
  color:#FFF8EE!important;text-align:center!important;
  text-shadow:0 2px 8px rgba(17,8,41,.35)!important;
  overflow-wrap:break-word!important;
}
html body.page-home #ebook-matcher-root .ebook-chevron{
  position:static!important;justify-self:end!important;align-self:center!important;
  width:52px!important;height:52px!important;min-width:44px!important;
  min-height:44px!important;margin:0!important;
  box-sizing:border-box!important;
  border:1.5px solid rgba(255,218,133,.78)!important;
  border-radius:50%!important;background:rgba(30,13,63,.35)!important;
  font-size:26px!important;color:#FFE59A!important;
  top:auto!important;right:auto!important;
  transform:none!important;
  transition:transform .18s ease!important;
}
html body.page-home #ebook-matcher-root .ebook-fold[open] .ebook-chevron{
  transform:rotate(180deg)!important;
}
html body.page-home #ebook-matcher-root .ebook-fold>summary:focus-visible{
  outline:3px solid #FFF0BA!important;outline-offset:-5px!important;
  border-radius:20px!important;
}
@media(max-width:640px){
  html body.page-home #ebook-matcher-root .ebook-fold>summary{
    grid-template-columns:46px minmax(0,1fr) 46px!important;
    min-height:69px!important;gap:6px!important;
    padding:6px 10px!important;
  }
  html body.page-home #ebook-matcher-root .ebook-summary-icon,
  html body.page-home #ebook-matcher-root img.ebook-brand-crest{
    width:46px!important;height:46px!important;
  }
  html body.page-home #ebook-matcher-root .ebook-chevron{
    width:45px!important;height:45px!important;font-size:23px!important;
  }
  html body.page-home #ebook-matcher-root .ebook-fold>summary strong{
    font-size:clamp(15px,4.2vw,21px)!important;letter-spacing:-.025em!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html body.page-home #ebook-matcher-root .ebook-chevron{transition:none!important}
}

/* Conflicting mood and genre combinations are visibly unavailable. */
#ebook-matcher-root .ebook-chip:disabled{opacity:.3;filter:grayscale(.8);cursor:not-allowed}

/* Incompatible mood/genre chips are visibly unavailable. */
#ebook-matcher-root .ebook-chip:disabled{opacity:.32;filter:grayscale(.8);cursor:not-allowed}

/* Real publisher-provided audiobook edition samples only. */
#ebook-matcher-root .ebook-audio-preview{display:block;width:min(100%,420px);max-width:100%;min-height:44px;margin:10px 0}
#ebook-matcher-root .ebook-audio-preview-label{display:block;font-size:13px;font-weight:700;color:#e5c158}

/* 2026-10-11: genuine cover and verified bibliographic metadata, unified Bookworms grid. */
:where(.ebook-top-card,.ebook-result) .ebook-verified-meta{
 display:flex;flex-wrap:wrap;align-items:center;gap:6px;
 margin:10px 0 12px;padding:0;border:0;background:none;
}
:where(.ebook-top-card,.ebook-result) .ebook-verified-meta span,
:where(.ebook-top-card,.ebook-result) .ebook-verified-meta :is(a,small){
 display:inline-flex;align-items:center;max-width:100%;min-width:0;
 padding:5px 8px;border-radius:8px;
 border:1px solid rgba(218,185,126,.28);background:rgba(228,191,132,.07);
 color:#ecdcf3;font-size:11px;font-weight:650;line-height:1.3;overflow-wrap:anywhere;
}
:where(.ebook-top-card,.ebook-result) .ebook-verified-meta a{
 color:#ffe2a2!important;text-decoration:underline;text-underline-offset:2px;
}
:where(.ebook-top-card,.ebook-result) .ebook-verified-meta .ebook-meta-source{
 background:transparent;border-color:transparent;padding-inline:0;opacity:.82;
}
.ebook-top-cover>img:not([hidden]){width:100%;height:100%;display:block;object-fit:contain;}
.ebook-top-cover>img[hidden]{display:none!important;}
.ebook-page .ebook-hub-top,.ebook-page .ebook-hub-magazines,.ebook-page .ebook-seo-grid,
.ebook-page .ebook-page-hero{box-sizing:border-box;max-width:1160px;width:calc(100% - 24px);margin-inline:auto;}
.ebook-page .ebook-hub-top,.ebook-page .ebook-hub-magazines{padding:16px!important;}
/* Home: one disclosure, no bordered pill trapped inside a second framed box. */
html body.page-home #ebook-matcher-root details.ebook-home-picks{
 border:0!important;border-radius:0!important;padding:0!important;
 background:transparent!important;box-shadow:none!important;overflow:visible!important;
 margin:12px 0 0!important;
}
html body.page-home #ebook-matcher-root details.ebook-home-picks>summary{
 box-sizing:border-box!important;width:100%!important;min-height:48px!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 margin:0!important;padding:10px 13px!important;
 background:linear-gradient(130deg,rgba(74,48,98,.88),rgba(38,26,59,.90))!important;
 border:1px solid rgba(231,191,123,.48)!important;
 border-radius:14px!important;color:#ffe6a8!important;
 box-shadow:0 5px 13px rgba(8,4,18,.23)!important;
 font-size:13px!important;font-weight:750!important;
}
html body.page-home #ebook-matcher-root details.ebook-home-picks[open]>summary{
 border-radius:14px!important;border-color:#e6c583!important;
}
html body.page-home #ebook-matcher-root details.ebook-home-picks .ebook-top-section{
 border:0!important;margin:10px 0 0!important;padding:12px 0 0!important;
 background:transparent!important;box-shadow:none!important;
}
html body.page-home #ebook-matcher-root details.ebook-home-picks .ebook-top-rail{padding-bottom:12px!important;}
@media(max-width:620px){.ebook-page .ebook-hub-top,.ebook-page .ebook-hub-magazines{padding:12px!important;}
 .ebook-page .ebook-top-rail{grid-auto-columns:minmax(156px,min(75vw,218px));}}
