/* Pullwise guides (nasrtech.dev/pullwise/<slug>/): the landing page's Arena look, tuned for long reading.
   Source of truth: D:\card_scanner\site\guide.css — tools/build_guides.py copies it to /assets/cardscan/guide.css. */
:root{
  --sky-top:#3A86F0; --sky-bot:#1849B9; --blue:#2F78E8; --blue-deep:#1849B9; --edge:#0E2F78;
  --ink:#0B1F4D; --night:#06132E; --teal-900:#08252F; --teal-800:#0C3542; --teal-700:#114B5C;
  --teal:#21B8CB; --teal-glow:#5CE6F2; --gold:#FFCB2B; --gold-hi:#FFE68A; --gold-deep:#F29B00; --gold-edge:#8F5200;
  --green:#5BD957; --purple:#C56BFF; --orange:#FFA22B; --slate:#D9E4F5; --red:#F0506A;
  --text:#EAF3FF; --muted:#B7CBEA; --radius:18px;
  --font-game:"Lilita One","Nunito",system-ui,sans-serif; --font-body:"Nunito",system-ui,-apple-system,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0; color:var(--text); font-family:var(--font-body); font-weight:600; line-height:1.7; -webkit-font-smoothing:antialiased; overflow-x:hidden;
  background:linear-gradient(45deg,rgba(255,255,255,.035) 25%,transparent 25% 75%,rgba(255,255,255,.035) 75%) 0 0/56px 56px,
             linear-gradient(-45deg,rgba(255,255,255,.035) 25%,transparent 25% 75%,rgba(255,255,255,.035) 75%) 0 0/56px 56px,
             linear-gradient(180deg,#0E2F78 0,#0A2259 40%,var(--night) 100%) fixed}
img,video{max-width:100%; height:auto; display:block}
a{color:var(--teal-glow)}
:focus-visible{outline:3px solid var(--gold); outline-offset:3px; border-radius:8px}
.wrap{width:min(1180px,100% - 32px); margin-inline:auto}
.sr-only{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}

/* Game text: white Lilita with a dark outline, like the app's OutlinedText */
.gt{font-family:var(--font-game); font-weight:400; letter-spacing:.5px; color:#fff;
  text-shadow:0 3px 0 var(--ink),3px 0 0 var(--ink),-3px 0 0 var(--ink),0 -3px 0 var(--ink),2px 2px 0 var(--ink),-2px 2px 0 var(--ink),2px -2px 0 var(--ink),-2px -2px 0 var(--ink),0 7px 0 rgba(6,19,46,.55)}
.kicker{display:inline-flex; align-items:center; gap:8px; font-family:var(--font-game); color:var(--gold); letter-spacing:2px; font-size:.95rem; text-transform:uppercase; text-shadow:0 2px 0 var(--ink)}
.kicker::before,.kicker::after{content:""; width:22px; height:2px; background:linear-gradient(90deg,transparent,var(--gold))}
.kicker::after{transform:scaleX(-1)}

/* Banner buttons with pointed ends, gold = main */
.btn{--b1:var(--gold-hi); --b2:var(--gold); --b3:var(--gold-deep); --bt:var(--ink); --be:var(--gold-edge);
  position:relative; display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:56px; padding:0 32px; white-space:nowrap;
  font-family:var(--font-game); font-size:1.15rem; letter-spacing:.6px; color:var(--bt); text-decoration:none; cursor:pointer; border:0;
  background:radial-gradient(circle at 20% 30%,rgba(255,255,255,.55) 0 1.5px,transparent 2px) 0 0/22px 18px,
             radial-gradient(circle at 70% 70%,rgba(255,255,255,.35) 0 1px,transparent 1.6px) 0 0/30px 24px,
             linear-gradient(180deg,var(--b1),var(--b2) 48%,var(--b3));
  clip-path:polygon(0 50%,16px 0,calc(100% - 16px) 0,100% 50%,calc(100% - 16px) 100%,16px 100%);
  filter:drop-shadow(0 5px 0 var(--be)) drop-shadow(0 12px 18px rgba(0,0,0,.35));
  transition:transform .15s ease-out, filter .2s ease-out}
.btn:hover{transform:translateY(-2px); filter:drop-shadow(0 7px 0 var(--be)) drop-shadow(0 0 22px rgba(255,203,43,.55))}
.btn:active{transform:translateY(4px); filter:drop-shadow(0 1px 0 var(--be))}
.btn svg{width:24px; height:24px; flex:none}
.btn.teal{--b1:#7FF0F8; --b2:var(--teal); --b3:#0B7A8C; --bt:#04212A; --be:#06404A}
.btn[aria-disabled="true"]{cursor:default}
.btn .small{display:block; font-family:var(--font-body); font-weight:900; font-size:.68rem; letter-spacing:1px; opacity:.8; line-height:1}
.btn .two{display:flex; flex-direction:column; align-items:flex-start; line-height:1.05}
@media(max-width:420px){ .btn{font-size:1.02rem; padding:0 24px} }

/* RPG panel: cut corners, teal glass, gold inner line */
.panel{position:relative; padding:26px 24px; color:var(--text);
  background:linear-gradient(180deg,rgba(17,75,92,.92),rgba(8,37,47,.95));
  clip-path:polygon(16px 0,calc(100% - 16px) 0,100% 16px,100% calc(100% - 16px),calc(100% - 16px) 100%,16px 100%,0 calc(100% - 16px),0 16px);
  box-shadow:inset 0 0 0 2px rgba(92,230,242,.35), inset 0 0 40px rgba(92,230,242,.08)}
.panel::before{content:""; position:absolute; inset:7px; pointer-events:none;
  clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,0 calc(100% - 12px),0 12px);
  box-shadow:inset 0 0 0 1px rgba(255,203,43,.35)}

/* ===== Guide hero: the article's world ===== */
.g-hero{position:relative; isolation:isolate; overflow:hidden; padding:clamp(34px,6vw,70px) 0 clamp(40px,6vw,64px)}
.g-hero::before{content:""; position:absolute; inset:-24px; z-index:-2; background:var(--art) center/cover no-repeat; filter:blur(3px) saturate(1.15) brightness(var(--bright,.6))}
.g-hero::after{content:""; position:absolute; inset:0; z-index:-1; background:var(--tint)}
.w-forest{--art:url(/assets/cardscan/ai/bg-forest.webp); --tint:radial-gradient(70% 60% at 75% 45%,rgba(255,150,60,.18),transparent 70%),linear-gradient(180deg,rgba(6,19,46,.8),rgba(8,37,47,.55) 35%,rgba(10,34,89,.95))}
.w-lava{--art:url(/assets/cardscan/ai/bg-lava.webp); --bright:.58; --tint:radial-gradient(80% 50% at 50% 100%,rgba(255,110,40,.3),transparent 70%),linear-gradient(180deg,rgba(20,8,10,.7),rgba(40,10,8,.45) 45%,rgba(10,34,89,.95))}
.w-ice{--art:url(/assets/cardscan/ai/bg-ice.webp); --bright:.6; --tint:radial-gradient(60% 60% at 25% 40%,rgba(92,230,242,.2),transparent 70%),linear-gradient(180deg,rgba(4,20,36,.75),rgba(6,30,50,.5) 40%,rgba(10,34,89,.95))}
.w-night{--art:url(/assets/cardscan/ai/bg-night.webp); --bright:.7; --tint:radial-gradient(60% 50% at 50% 30%,rgba(255,203,43,.16),transparent 70%),linear-gradient(180deg,rgba(6,19,46,.55),rgba(6,19,46,.35) 45%,rgba(10,34,89,.95))}
.w-arena{--art:url(/assets/cardscan/ai/hero-wide.webp); --bright:.62; --tint:linear-gradient(180deg,rgba(14,47,120,.55),rgba(14,47,120,.35) 45%,rgba(10,34,89,.97))}
.g-hero .grid{display:grid; gap:28px; align-items:center}
@media(min-width:900px){ .g-hero .grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:48px} }
.crumbs{font-size:.9rem; color:var(--muted); margin:0 0 14px}
.crumbs a{color:var(--muted); text-decoration:none} .crumbs a:hover{color:#fff; text-decoration:underline}
.crumbs span{margin:0 6px; opacity:.6}
.g-hero h1{font-size:clamp(2.1rem,5.6vw,3.6rem); line-height:1.06; margin:.2em 0 .3em}
.g-hero .lede{font-size:clamp(1.05rem,2.3vw,1.22rem); color:#fff; max-width:56ch; margin:0; text-shadow:0 2px 0 rgba(6,19,46,.5)}
.byline{display:flex; flex-wrap:wrap; gap:6px 16px; margin:18px 0 0; font-size:.92rem; color:var(--muted)}
.byline b{color:#fff; font-weight:800}
.g-hero .art{position:relative}
.g-hero .art img{width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:20px; box-shadow:0 0 0 3px var(--gold), 0 0 34px rgba(255,203,43,.35), 0 24px 40px rgba(0,0,0,.5)}
.chips{display:flex; flex-wrap:wrap; gap:8px; margin:16px 0 0; padding:0; list-style:none}
.chips li{font-family:var(--font-game); font-size:.92rem; padding:4px 13px; border-radius:999px; color:var(--ink); border:3px solid var(--ink); box-shadow:0 3px 0 var(--ink)}
.c-pk{background:#FFE14D} .c-yg{background:#C9A2FF} .c-op{background:#FF8A7A} .c-free{background:var(--green)} .c-all{background:var(--teal-glow)}

/* ===== Article layout ===== */
.g-body{display:grid; gap:28px; padding:8px 0 60px}
.g-body > *{min-width:0} /* a wide table must scroll inside the article, not widen the page on phones */
@media(min-width:1040px){ .g-body{grid-template-columns:minmax(0,1fr) 300px; gap:40px; align-items:start} }
.g-side{display:none}
@media(min-width:1040px){ .g-side{display:block; position:sticky; top:84px} }
.toc{font-size:.95rem}
.toc b{font-family:var(--font-game); font-weight:400; font-size:1.15rem; color:var(--gold); display:block; margin-bottom:8px}
.toc ol{margin:0; padding:0 0 0 20px} .toc li{margin:6px 0} .toc a{color:var(--text); text-decoration:none} .toc a:hover{color:var(--teal-glow); text-decoration:underline}
.toc-inline{margin:0 0 26px}
@media(min-width:1040px){ .toc-inline{display:none} }
.toc-inline summary{cursor:pointer; font-family:var(--font-game); color:var(--gold); font-size:1.1rem; list-style:none}
.toc-inline summary::-webkit-details-marker{display:none}
.toc-inline summary::after{content:" ▾"}
.side-cta{margin-top:18px; text-align:center}
.side-cta img{width:120px; margin:-6px auto 4px; filter:drop-shadow(0 10px 12px rgba(0,0,0,.45))}
.side-cta b{display:block; font-family:var(--font-game); font-weight:400; font-size:1.25rem; color:#fff}
.side-cta p{margin:6px 0 14px; color:var(--muted); font-size:.92rem; line-height:1.5}
.side-cta .btn{min-height:48px; padding:0 22px; font-size:1rem}

/* The reading scroll */
.prose{padding:clamp(22px,4vw,44px) clamp(18px,4vw,46px); font-size:1.08rem; max-width:100%}
.prose > *{position:relative}
.prose p, .prose li{color:var(--text)}
.prose p{margin:0 0 1.05em}
.prose h2{font-family:var(--font-game); font-weight:400; letter-spacing:.4px; color:#fff; font-size:clamp(1.6rem,3.6vw,2.2rem); line-height:1.12; margin:1.7em 0 .55em; scroll-margin-top:90px;
  text-shadow:0 3px 0 var(--ink),2px 0 0 var(--ink),-2px 0 0 var(--ink),0 -2px 0 var(--ink),2px 2px 0 var(--ink),-2px 2px 0 var(--ink),2px -2px 0 var(--ink),-2px -2px 0 var(--ink)}
.prose h2:first-child{margin-top:0}
.prose h3{font-family:var(--font-game); font-weight:400; color:var(--gold); font-size:1.32rem; line-height:1.2; margin:1.4em 0 .45em; text-shadow:0 2px 0 var(--ink); scroll-margin-top:90px}
.prose strong{color:#fff; font-weight:800}
.prose ul,.prose ol{padding-left:1.3em; margin:0 0 1.1em} .prose li{margin:.35em 0}
.prose ul li::marker{color:var(--gold)}
.prose a{color:var(--teal-glow); text-decoration-thickness:2px; text-underline-offset:3px}
.prose hr{border:0; height:2px; margin:2em 0; background:linear-gradient(90deg,transparent,rgba(255,203,43,.6),transparent)}
.prose code,.prose kbd{font-family:ui-monospace,Consolas,monospace; font-size:.92em; background:rgba(6,19,46,.7); border:1px solid rgba(92,230,242,.3); padding:1px 6px; border-radius:6px; color:#fff}

/* Quick answer (featured-snippet box) */
.tldr{margin:0 0 1.6em; padding:18px 20px 6px; border-radius:16px; background:linear-gradient(180deg,rgba(255,203,43,.14),rgba(255,203,43,.05)); box-shadow:inset 0 0 0 3px var(--gold), 0 0 26px rgba(255,203,43,.18)}
.tldr::before{content:"QUICK ANSWER"; display:block; font-family:var(--font-game); letter-spacing:2px; font-size:.85rem; color:var(--gold); margin-bottom:4px}

/* Callouts */
.tip,.warn,.note{display:grid; grid-template-columns:40px 1fr; gap:14px; align-items:start; margin:1.4em 0; padding:16px 18px; border-radius:14px; background:rgba(6,30,50,.6)}
.tip{box-shadow:inset 4px 0 0 var(--green), inset 0 0 0 1px rgba(91,217,87,.35)}
.warn{box-shadow:inset 4px 0 0 var(--red), inset 0 0 0 1px rgba(240,80,106,.4)}
.note{box-shadow:inset 4px 0 0 var(--teal-glow), inset 0 0 0 1px rgba(92,230,242,.35)}
.tip::before,.warn::before,.note::before{width:40px; height:40px; border-radius:50%; display:grid; place-items:center; font-family:var(--font-game); font-size:1.3rem; color:var(--ink); border:3px solid var(--ink); box-shadow:0 3px 0 var(--ink)}
.tip::before{content:"✓"; background:var(--green)} .warn::before{content:"!"; background:var(--red); color:#fff} .note::before{content:"i"; background:var(--teal-glow)}
.tip > :last-child,.warn > :last-child,.note > :last-child{margin-bottom:0}
.tip > div > :last-child,.warn > div > :last-child,.note > div > :last-child{margin-bottom:0}

/* Tables */
.tbl{margin:1.4em 0; overflow-x:auto; border-radius:14px; box-shadow:inset 0 0 0 2px rgba(92,230,242,.3); -webkit-overflow-scrolling:touch}
.tbl table{width:100%; border-collapse:collapse; font-size:.98rem; min-width:520px}
.tbl th{font-family:var(--font-game); font-weight:400; letter-spacing:.4px; text-align:left; color:var(--ink); background:linear-gradient(180deg,var(--gold-hi),var(--gold)); padding:11px 14px; white-space:nowrap}
.tbl td{padding:11px 14px; border-top:1px solid rgba(92,230,242,.16); vertical-align:top}
.tbl tr:nth-child(even) td{background:rgba(6,19,46,.35)}
.tbl td:first-child{font-weight:800; color:#fff}
.yes{color:var(--green); font-weight:900} .no{color:var(--red); font-weight:900} .meh{color:var(--orange); font-weight:900}

/* Rarity symbol chips: <span class="sym black">★★</span> (label it with aria-label) */
.sym{display:inline-flex; align-items:center; justify-content:center; min-width:2.3em; padding:1px 8px; border-radius:8px; font-size:1.05rem; line-height:1.5; letter-spacing:1px; vertical-align:middle; font-family:"Segoe UI Symbol","Noto Sans Symbols 2",system-ui,sans-serif; font-weight:700}
.sym.black{background:#F4F7FF; color:#111; box-shadow:inset 0 0 0 2px #9fb3d6}
.sym.white{background:#1b2a4a; color:#fff; box-shadow:inset 0 0 0 2px #6d82ad}
.sym.silver{background:linear-gradient(180deg,#eef3fb,#aab8cf); color:#3b4a66; box-shadow:inset 0 0 0 2px #6d82ad}
.sym.gold{background:#2a1d02; color:var(--gold); box-shadow:inset 0 0 0 2px var(--gold-deep); text-shadow:0 0 8px rgba(255,203,43,.7)}
.sym.pink{background:#2a0b22; color:#FF7AD9; box-shadow:inset 0 0 0 2px #c2449d}
.sym.code{font-family:var(--font-game); font-size:.95rem; letter-spacing:.5px; background:var(--ink); color:#fff; box-shadow:inset 0 0 0 2px var(--teal-glow)}
/* Rarity-colour words, matching the app's ladder */
.r-common{color:var(--slate)} .r-uncommon{color:var(--green)} .r-rare{color:var(--orange)} .r-epic{color:var(--purple)} .r-legend{color:var(--gold)}

/* Figures */
.prose figure{margin:1.8em 0; text-align:center}
.prose figcaption{margin-top:12px; font-size:.92rem; color:var(--muted); line-height:1.5}
.fig-art img{width:100%; border-radius:18px; box-shadow:0 0 0 3px rgba(255,203,43,.7), 0 18px 34px rgba(0,0,0,.45)}
.fig-phones{display:flex; flex-wrap:wrap; justify-content:center; gap:22px}
.fig-phones .phone{margin:0}
.phone{position:relative; width:min(260px,72vw); aspect-ratio:9/18; padding:10px; border-radius:38px; margin:0 auto; background:linear-gradient(145deg,#2a3550,#0b1222); box-shadow:0 0 0 3px #44567c, 0 26px 50px rgba(0,0,0,.55), 0 0 50px rgba(92,230,242,.22)}
.phone img,.phone video{width:100%; height:100%; object-fit:cover; object-position:top; border-radius:29px; background:#0b1a44}
.fig-cards{display:flex; flex-wrap:wrap; justify-content:center; gap:14px}
.fig-cards img{width:clamp(96px,18vw,140px); aspect-ratio:5/7; object-fit:cover; border-radius:12px; box-shadow:0 0 0 3px var(--c,var(--gold)), 0 0 22px var(--c,var(--gold)), 0 12px 20px rgba(0,0,0,.45)}

/* Real cards (tools/guide_cards.py): small re-hosted scans with the rights holder's credit */
.fig-real .row{display:flex; flex-wrap:wrap; justify-content:center; align-items:flex-start; gap:18px}
.fig-real .c{display:flex; flex-direction:column; align-items:center; gap:8px; width:clamp(130px,26vw,210px); margin:0}
.fig-real .c img{width:100%; height:auto; border-radius:4.5% / 3.3%; box-shadow:0 0 0 2px rgba(255,255,255,.18), 0 14px 26px rgba(0,0,0,.5)}
.fig-real .c span{font-size:.86rem; line-height:1.35; color:#fff; font-weight:800}
.fig-real .c span em{display:block; font-style:normal; font-weight:600; color:var(--muted)}
.fig-real .zoom{display:block; width:auto; min-width:min(100%,420px); max-width:min(100%,720px); margin:18px auto 0; border-radius:12px; box-shadow:0 0 0 3px var(--gold), 0 12px 24px rgba(0,0,0,.45)}
.fig-real .zoom + .zoom{margin-top:12px}
.credit{display:block; margin-top:6px; font-size:.78rem; color:#8fa6c9; font-weight:600}

/* Card anatomy: an original Pullwise card with numbered pins + a legend */
.anatomy{display:grid; gap:22px; align-items:center; text-align:left}
@media(min-width:640px){ .anatomy{grid-template-columns:minmax(0,260px) minmax(0,1fr)} }
.anatomy .card{position:relative; width:min(260px,100%); margin:0 auto}
.anatomy .card img{width:100%; aspect-ratio:5/7; object-fit:cover; border-radius:16px; box-shadow:0 0 0 3px var(--gold), 0 16px 30px rgba(0,0,0,.5)}
.anatomy .pin{position:absolute; left:var(--x); top:var(--y); transform:translate(-50%,-50%); width:30px; height:30px; border-radius:50%; display:grid; place-items:center; font-family:var(--font-game); font-size:1rem; color:var(--ink); background:var(--gold); border:3px solid var(--ink); box-shadow:0 0 0 3px rgba(255,203,43,.45), 0 3px 0 var(--ink)}
.anatomy .mark{position:absolute; left:var(--x); top:var(--y); transform:translate(-50%,-50%); font-family:var(--font-game); font-size:.82rem; letter-spacing:.5px; color:#fff; background:rgba(6,19,46,.82); padding:1px 7px; border-radius:6px; white-space:nowrap; box-shadow:0 0 0 1px rgba(255,255,255,.35)}
.anatomy ol{margin:0; padding:0; list-style:none; counter-reset:a; display:grid; gap:12px}
.anatomy ol li{counter-increment:a; display:grid; grid-template-columns:34px 1fr; gap:10px; margin:0}
.anatomy ol li::before{content:counter(a); width:30px; height:30px; border-radius:50%; display:grid; place-items:center; font-family:var(--font-game); color:var(--ink); background:var(--gold); border:3px solid var(--ink)}

/* Numbered steps with gold gems */
ol.steps{list-style:none; padding:0; margin:1.4em 0; counter-reset:s; display:grid; gap:16px}
ol.steps > li{counter-increment:s; position:relative; padding:4px 0 4px 58px; margin:0; min-height:44px}
ol.steps > li::before{content:counter(s); position:absolute; left:6px; top:2px; width:38px; height:38px; display:grid; place-items:center; transform:rotate(45deg); background:linear-gradient(135deg,var(--gold-hi),var(--gold-deep)); box-shadow:0 4px 0 var(--gold-edge),0 0 14px rgba(255,203,43,.5); font-family:var(--font-game); color:var(--ink); font-size:1.15rem}
ol.steps > li::before{text-indent:0}
ol.steps > li > b:first-child{display:block; font-family:var(--font-game); font-weight:400; font-size:1.18rem; color:#fff}

/* Inline app card (build_guides.py inserts it at <!--CTA-->) */
.cta-card{display:grid; grid-template-columns:auto 1fr; gap:18px; align-items:center; margin:2em 0; padding:20px 22px; border-radius:18px;
  background:linear-gradient(135deg,rgba(47,120,232,.55),rgba(24,73,185,.55)); box-shadow:inset 0 0 0 3px rgba(255,203,43,.75), 0 0 30px rgba(47,120,232,.35)}
.cta-card img{width:92px; height:92px; filter:drop-shadow(0 8px 10px rgba(0,0,0,.45))}
.cta-card b{display:block; font-family:var(--font-game); font-weight:400; font-size:1.35rem; color:#fff; line-height:1.15; text-shadow:0 2px 0 var(--ink)}
.cta-card p{margin:6px 0 12px; color:#DCE9FF; font-size:.98rem; line-height:1.5}
.cta-card .row{display:flex; flex-wrap:wrap; gap:10px 14px; align-items:center}
.cta-card .row a.more{color:#fff; font-weight:800}
.cta-card .btn{min-height:50px; padding:0 24px; font-size:1.02rem}
@media(max-width:520px){ .cta-card{grid-template-columns:1fr; text-align:center} .cta-card img{margin:0 auto} .cta-card .row{justify-content:center} }

/* Video clip from the app */
.clip{position:relative; width:min(300px,80vw); margin:0 auto; border-radius:20px; overflow:hidden; aspect-ratio:9/14; background:#0b1a44; box-shadow:0 0 0 3px var(--c,var(--gold)), 0 20px 40px rgba(0,0,0,.5); cursor:pointer}
.clip video{width:100%; height:100%; object-fit:cover}
.clip .play{position:absolute; inset:0; display:grid; place-items:center; border:0; background:linear-gradient(0deg,transparent 55%,rgba(6,19,46,.85)); color:#fff; cursor:pointer}
.clip .play .disc{width:72px; height:72px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.18); border:3px solid #fff}
.clip .play svg{width:30px; height:30px; margin-left:5px}
.clip.playing .play{display:none}

/* Sources */
.sources{margin-top:2.2em; padding-top:1.2em; border-top:2px solid rgba(92,230,242,.2); font-size:.95rem}
.sources h2{font-size:1.4rem !important; margin-top:0 !important}
.sources li{color:var(--muted)}

/* FAQ */
.faq{display:grid; gap:12px; margin-top:8px}
.faq details{padding:0}
.faq summary{list-style:none; cursor:pointer; padding:16px 54px 16px 20px; font-family:var(--font-game); font-size:1.1rem; color:#fff; position:relative; line-height:1.3}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+"; position:absolute; right:18px; top:50%; transform:translateY(-50%); width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:var(--gold); color:var(--ink); font-size:1.3rem; box-shadow:0 3px 0 var(--gold-edge)}
.faq details[open] summary::after{content:"–"}
.faq p{margin:0; padding:0 20px 18px; color:var(--muted)}

/* Related guides + hub grid */
.g-more{padding:clamp(48px,7vw,84px) 0}
.g-more h2{font-size:clamp(1.8rem,4.4vw,2.8rem); margin:.2em 0 .6em; text-align:center}
.cards{display:grid; gap:20px}
@media(min-width:640px){ .cards{grid-template-columns:repeat(2,1fr)} }
@media(min-width:1000px){ .cards{grid-template-columns:repeat(3,1fr)} }
.gcard{position:relative; display:flex; flex-direction:column; border-radius:18px; overflow:hidden; text-decoration:none; color:var(--text); background:linear-gradient(180deg,rgba(17,75,92,.92),rgba(8,37,47,.96)); box-shadow:0 0 0 3px rgba(92,230,242,.35), 0 16px 30px rgba(0,0,0,.4); transition:transform .2s ease-out, box-shadow .2s ease-out}
.gcard:hover{transform:translateY(-5px); box-shadow:0 0 0 3px var(--gold), 0 0 30px rgba(255,203,43,.35), 0 20px 34px rgba(0,0,0,.45)}
.gcard img{width:100%; aspect-ratio:16/10; object-fit:cover}
.gcard .t{padding:16px 18px 20px}
.gcard .k{font-family:var(--font-game); font-size:.8rem; letter-spacing:1.5px; color:var(--gold); text-transform:uppercase}
.gcard b{display:block; font-family:var(--font-game); font-weight:400; font-size:1.3rem; line-height:1.15; color:#fff; margin:4px 0 6px; text-shadow:0 2px 0 var(--ink)}
.gcard span.d{color:var(--muted); font-size:.95rem; line-height:1.5}

/* Final call */
.g-final{position:relative; isolation:isolate; overflow:hidden; text-align:center; padding:clamp(60px,9vw,110px) 0}
.g-final::before{content:""; position:absolute; inset:-24px; z-index:-2; background:url(/assets/cardscan/ai/bg-night.webp) center/cover; filter:blur(3px) brightness(.62)}
.g-final::after{content:""; position:absolute; inset:0; z-index:-1; background:radial-gradient(60% 50% at 50% 30%,rgba(255,203,43,.18),transparent 70%),linear-gradient(180deg,rgba(6,19,46,.85),rgba(6,19,46,.4) 40%,rgba(6,19,46,.9))}
.g-final img{width:clamp(150px,22vw,220px); margin:0 auto -8px; filter:drop-shadow(0 16px 20px rgba(0,0,0,.5)); animation:hop 2.6s ease-in-out infinite}
.g-final h2{font-size:clamp(2rem,5vw,3.2rem); margin:.2em 0 .3em}
.g-final p{color:var(--muted); max-width:52ch; margin:0 auto 24px; font-size:1.1rem}
@keyframes hop{50%{transform:translateY(-10px) rotate(-2deg)}}

footer.pw{background:#040c1f; color:var(--muted); padding:34px 0 110px; font-size:.9rem; line-height:1.6}
footer.pw .wrap{display:grid; gap:12px}
footer.pw a{color:#9ec3ff}
footer.pw .links{display:flex; flex-wrap:wrap; gap:18px}

/* Sticky install bar on phones */
.sticky{position:fixed; left:0; right:0; bottom:0; z-index:40; display:flex; align-items:center; gap:12px; padding:10px 14px calc(10px + env(safe-area-inset-bottom)); background:linear-gradient(180deg,rgba(6,19,46,.4),rgba(6,19,46,.96) 35%); transform:translateY(110%); transition:transform .3s ease-out}
.sticky.show{transform:none}
.sticky img{width:44px; height:44px; border-radius:12px}
.sticky .t{flex:1; min-width:0; line-height:1.15}
.sticky .t b{font-family:var(--font-game); font-weight:400; font-size:1.05rem; color:#fff; display:block}
.sticky .t span{font-size:.8rem; color:var(--muted)}
.sticky .btn{min-height:46px; padding:0 20px; font-size:.98rem}
@media(min-width:1040px){ .sticky{display:none} }

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation:none !important; transition:none !important; scroll-behavior:auto !important}
}
