/* 2026-11-25 visual rebuild: single light-paper theme, all colours via :root (was two themes stacked, 169 colours) */
:root{
--bg:#e8e5df;--bg-2:#f3f1ec;--bg-3:#d8d4cb;--surface:#faf9f5;--surface-2:#fff;
--text:#141414;--text-2:#3a3a36;--muted:#6f6f6b;--muted-2:#8a877e;
--line:rgba(20,20,20,.12);--line-soft:rgba(20,20,20,.08);
--primary:#2b3ff0;--primary-dark:#1a26a8;--primary-tint:rgba(43,63,240,.10);
--on-primary:#fff;--tint-1:#dfe3ff;--tint-2:#c9d0ff;--gold:#f3c64b;--gold-tint:rgba(243,198,75,.35);
--shadow-1:0 4px 12px rgba(0,0,0,.10);--shadow-2:0 10px 24px rgba(0,0,0,.18);--shadow-3:0 24px 70px -30px rgba(20,20,20,.35);
--radius:14px;--radius-sm:8px;--radius-pill:999px;
--fs-xs:12px;--fs-sm:13px;--fs-md:14px;--fs-base:16px;--fs-h3:20px;--fs-h2:24px;
}
*{box-sizing:border-box}
html{overflow-x:hidden}
body{margin:0;max-width:100%;min-height:100vh;overflow-x:hidden;color:var(--text);background:radial-gradient(120% 90% at 50% 38%,var(--bg-2) 0,var(--bg) 58%,var(--bg-3) 100%) fixed var(--bg);font-family:-apple-system,"Segoe UI",system-ui,Roboto,Arial,sans-serif;font-size:var(--fs-base);line-height:1.65;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit;color:inherit;letter-spacing:inherit}
a{color:var(--primary);text-decoration:none}
a:hover{color:var(--primary-dark);text-decoration:underline}
:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
::selection{background:var(--primary-tint)}

/* topbar */
.topbar{position:sticky;top:0;z-index:20;background:var(--bg-2);border-bottom:1px solid var(--line-soft)}
.topbar-in{max-width:1180px;margin:0 auto;padding:10px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:9px;color:var(--text);font-weight:700}
.brand:hover{text-decoration:none;color:var(--text)}
.brand-pack{position:relative;width:20px;height:26px;border-radius:3px;background:var(--primary);transform:rotate(-7deg);box-shadow:0 2px 8px var(--primary-tint)}
.brand-pack i{position:absolute;left:4px;right:4px;top:5px;height:2px;background:var(--on-primary);opacity:.85;box-shadow:0 4px 0 var(--on-primary),0 8px 0 var(--on-primary)}
.brand-name{font-size:var(--fs-md)}
.topnav{display:flex;gap:14px;font-size:var(--fs-md)}
.topnav a{color:var(--muted)}
.topnav a:hover{color:var(--primary);text-decoration:none}

/* intro + stage */
main{max-width:none;padding:0}
.intro{max-width:1180px;margin:0 auto;padding:14px 18px 6px;text-align:center}
h1{margin:0;color:var(--text);font-size:clamp(22px,2.6vw,30px);line-height:1.18;letter-spacing:-.01em;font-weight:700;text-wrap:balance}
.intro p{margin:6px auto 0;max-width:92%;color:var(--muted);font-size:var(--fs-md);line-height:1.5}
.stage{position:relative;width:100vw;max-width:none;height:clamp(340px,56vh,600px);margin:10px 0 0 calc(50% - 50vw);border:0;border-radius:0;overflow:hidden;background:var(--surface-2);box-shadow:none}
.stage iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.stage-loading{position:absolute;inset:0;display:none;flex-direction:column;align-items:center;justify-content:center;gap:15px;background:var(--bg-2)}
.stage[data-gf-state="loading"] .stage-loading{display:flex}
.stage-loading p{margin:0;font-size:var(--fs-sm);color:var(--muted);letter-spacing:.04em}
.loadfallback,.comment-nudge{font-size:var(--fs-xs)}
.mini{display:flex;gap:8px}
.mini i{width:34px;height:48px;border-radius:5px;background:linear-gradient(160deg,var(--tint-1),var(--tint-2));border:1px solid var(--primary-tint);animation:flip 1.1s ease-in-out infinite}
.mini i:nth-child(2){animation-delay:.14s}
.mini i:nth-child(3){animation-delay:.28s}
@keyframes flip{0%,100%{transform:rotateY(0)}50%{transform:rotateY(78deg);border-color:var(--primary)}}
@media(prefers-reduced-motion:reduce){.mini i{animation:none}}

/* cover */
.cover{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:transparent}
.fan{position:relative;width:150px;height:108px}
.fan span{position:absolute;left:50%;top:6px;width:70px;height:96px;margin-left:-35px;border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--line);box-shadow:var(--shadow-1)}
.fan span:nth-child(1){transform:rotate(-16deg) translateX(-52px)}
.fan span:nth-child(2){transform:translateY(-6px);border-color:var(--primary)}
.fan span:nth-child(3){transform:rotate(16deg) translateX(52px)}
.packq{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-weight:700;font-size:26px;color:var(--primary)}
.play{appearance:none;border:1px solid var(--text);cursor:pointer;padding:16px 40px;border-radius:var(--radius-pill);font:700 17px/1 -apple-system,"Segoe UI",system-ui,sans-serif;color:var(--bg-2);background:var(--text);box-shadow:var(--shadow-1);transition:transform .15s,box-shadow .15s}
.play:hover{transform:translateY(-2px);box-shadow:var(--shadow-2)}
.cover-note{margin:0;max-width:1180px;padding:0 18px;font-size:var(--fs-sm);letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}

/* actions */
.actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;max-width:1180px;margin:10px auto 0;padding:0 18px}
.act{appearance:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:44px;min-height:44px;padding:0 12px;border-radius:var(--radius-pill);border:1px solid var(--line);background:transparent;color:var(--muted);font:600 13.5px/1 -apple-system,"Segoe UI",system-ui,sans-serif;transition:color .15s,border-color .15s,background .15s}
.act:hover{border-color:var(--primary);color:var(--primary)}
.act[aria-pressed="true"],.act[data-gf-liked]{border-color:var(--primary);color:var(--primary);background:var(--primary-tint)}
.act b{font-weight:700;color:var(--primary);font-variant-numeric:tabular-nums}
.act-ico{display:inline-flex;width:18px;height:18px;color:inherit}
.act-ico svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.actions .act[data-gf-liked] .act-ico svg,.actions .act[aria-pressed="true"] .act-ico svg{fill:currentColor}
.act-n{font:700 12.5px/1 -apple-system,"Segoe UI",system-ui,sans-serif;color:var(--primary);font-variant-numeric:tabular-nums}
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* prose */
.prose{max-width:820px;margin:30px auto 0;padding:0 18px;font-family:-apple-system,"Segoe UI",system-ui,Roboto,Arial,sans-serif}
.prose h2{margin:40px 0 14px;font-size:var(--fs-h2);color:var(--text);font-weight:700;letter-spacing:-.01em;text-wrap:balance}
.prose h3{margin:22px 0 8px;font-size:var(--fs-h3);color:var(--text);font-weight:600}
.prose p{margin:0 0 1.15em;color:var(--text-2)}
.prose li{color:var(--text-2)}
.prose ul{padding-left:1.6em}
.prose ol{display:grid;grid-template-columns:1fr 1fr;gap:6px 26px;margin:0 0 1.2em;padding-left:1.5em}
.prose li{margin:6px 0}
.prose strong{color:var(--text);font-weight:600}
.prose table{width:100%;border-collapse:collapse;margin:18px 0;font-size:var(--fs-md)}
.prose th,.prose td{text-align:left;vertical-align:top;padding:11px 8px;border-bottom:1px solid var(--line);line-height:1.5}
.prose th{color:var(--primary);font-size:var(--fs-sm);font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.prose details{margin:10px 0;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface)}
.prose summary{cursor:pointer;font-weight:600;color:var(--text)}
.prose details[open] summary{margin-bottom:6px;color:var(--primary)}


/* comments */
.comments{max-width:820px;margin:44px auto 0;padding:0 18px}
.comments h2{margin:0 0 12px;font-size:var(--fs-h3);color:var(--text);font-weight:700}
.cform{display:grid;gap:9px;margin:0 0 20px;padding:14px;border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface)}
.cform label{display:grid;gap:5px;font-size:var(--fs-xs);color:var(--muted)}
.cform input,.cform textarea{width:100%;padding:9px 11px;border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface-2);color:var(--text);font:inherit;font-size:var(--fs-md)}
.cform textarea{min-height:78px;resize:vertical}
.cform input:focus,.cform textarea:focus{outline:0;border-color:var(--primary)}
.cform button{justify-self:start;appearance:none;cursor:pointer;min-height:44px;padding:10px 20px;border-radius:var(--radius-sm);border:0;background:var(--text);color:var(--bg-2);font-weight:700;font-size:13.5px}
.cmsg{min-height:1em;margin:0;font-size:var(--fs-xs);color:var(--muted)}
.citem{padding:13px 0;border-bottom:1px solid var(--line-soft)}
.citem header{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline;font-size:var(--fs-sm)}
.citem header [data-gf-c-name]{font-weight:700;color:var(--primary)}
.citem time{color:var(--muted-2);font-size:var(--fs-xs)}
.citem [data-gf-c-text]{margin:5px 0;font-size:var(--fs-md);color:var(--text-2);white-space:pre-wrap;overflow-wrap:anywhere}
.citem [data-gf-c-reply]{appearance:none;border:0;background:none;color:var(--muted);font:600 12px/1 -apple-system,"Segoe UI",system-ui,sans-serif;cursor:pointer;padding:2px 0}
.citem [data-gf-c-reply]:hover{color:var(--primary)}
.citem [data-gf-c-replies]{margin:8px 0 0 14px;padding-left:12px;border-left:2px solid var(--primary-tint)}
.citem [data-gf-c-replies] .citem{padding:9px 0;border:0}
[data-gf-c-owner]{display:none;padding:1px 7px;border-radius:var(--radius-pill);background:var(--primary-tint);color:var(--primary);font:700 12px/1.6 -apple-system,"Segoe UI",system-ui,sans-serif;text-transform:uppercase}
[data-gf-owner] [data-gf-c-owner]{display:inline-block}
[data-gf-owner]{background:var(--primary-tint);border-radius:var(--radius-sm);padding:10px 12px;border-bottom-color:transparent}
.cempty{display:none;margin:0;font-size:var(--fs-md);color:var(--muted)}
.comments:has([data-gf-comments][data-gf-empty]) .cempty{display:block}

/* footer + page head */
.foot{margin-top:56px;border-top:1px solid var(--line);background:var(--bg-2)}
.foot-in{max-width:1180px;margin:0 auto;padding:26px 18px 34px;text-align:center}
.foot-brand{margin:0;color:var(--text);font-weight:700}
.foot-tag{margin:5px 0 12px;font-size:var(--fs-sm);color:var(--muted)}
.foot-links{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;font-size:var(--fs-sm)}
.foot-links a{color:var(--muted)}
.foot-links a:hover{color:var(--primary)}
.foot-small{max-width:620px;margin:18px auto 0;font-size:var(--fs-xs);line-height:1.65;color:var(--muted-2)}
.page-head{text-align:center;padding:30px 0 6px}
.page-head p{color:var(--muted);font-size:var(--fs-md)}

/* other packs */
.otherpacks{max-width:1180px;margin:48px auto 0;padding:0 18px}
.otherpacks h2{color:var(--text);font-size:var(--fs-h2);font-weight:700;letter-spacing:-.01em;margin:0 0 14px}
.packgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;margin:0}
.packcard{margin:0;padding:14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-1);transition:transform .18s ease,box-shadow .18s ease}
.packcard:hover{transform:translateY(-4px);box-shadow:var(--shadow-2)}
.pc-pack{display:flex;align-items:baseline;gap:8px;margin-bottom:8px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:linear-gradient(152deg,var(--surface-2),var(--tint-1))}
.pc-pack b{color:var(--primary);font-size:var(--fs-h3);font-weight:700;font-variant-numeric:tabular-nums}
.pc-pack i{font-style:normal;color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}
.packcard:first-child{border-color:var(--primary)}
.packcard:first-child .pc-name{color:var(--primary)}
.pc-visual{background:linear-gradient(152deg,var(--surface-2),var(--tint-1) 60%,var(--tint-2));color:var(--text);border-radius:var(--radius-sm);box-shadow:var(--shadow-1)}
.pc-name{color:var(--text);font-size:16px;font-weight:600}
.pc-sub{color:var(--muted);font-size:12.5px}
.pc-pack b{font-size:13px}
.pc-pack i{font-size:var(--fs-xs);letter-spacing:.12em}

/* screenshots */
.shots{max-width:1180px;margin:40px auto 0;padding:0 18px}
.shots-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.shots img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-2);box-shadow:var(--shadow-1)}
.shots figcaption{margin:10px 0 0;font-size:var(--fs-sm);line-height:1.6;color:var(--muted)}
@media(max-width:640px){.shots-grid{grid-template-columns:1fr}}

/* series pages: card list */
.cardgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:12px;margin:18px 0 6px;padding:0;list-style:none}
.cardcell{margin:0;display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.cardcell img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:var(--radius-sm);background:var(--surface-2)}
.cardcell figcaption{margin:0;font-size:var(--fs-xs);line-height:1.45;color:var(--text-2)}
.cardcell figcaption b{display:block;font-size:var(--fs-sm);color:var(--text)}
.cardcell figcaption span{display:block;color:var(--muted)}
.cardgrid-note{margin:0 0 8px;font-size:var(--fs-sm);color:var(--muted)}

/* embed frame: the game owns its own stage */
main.frame{max-width:none;margin:0;padding:0;height:100vh;height:100dvh;overflow:hidden;background:transparent}
main.frame .stage{width:auto;max-width:none;height:auto;margin:0;border:0;border-radius:0;box-shadow:none;background:transparent;transform:none}

/* legacy .ctype / .bigcard classes removed 2026-11-26: nothing on the site uses them any more (card faces use .c-type) */
.comments-head{margin:0 0 12px;padding-left:12px;border-left:3px solid var(--primary);font-size:var(--fs-h3);font-weight:700;color:var(--text)}

/* responsive */
@media(max-width:640px){
  .topbar-in{padding:9px 14px}
  .topnav{display:none}
  main:not(.frame) .stage{height:min(84vh,820px)}
  .intro{padding:10px 14px 6px}
  h1{font-size:clamp(19px,5.4vw,23px);line-height:1.24}
  .intro p{font-size:13.5px;max-width:96%}
  .actions{padding:0 14px}
  .prose,.comments,.otherpacks{padding:0 14px;max-width:none}
  .prose ol{grid-template-columns:1fr}
  .play{padding:15px 32px;font-size:16px}
  .cardgrid{grid-template-columns:repeat(auto-fill,minmax(126px,1fr));gap:10px}
}
@media(max-width:560px){
  .prose table,.prose tbody,.prose tr,.prose td{display:block}
  .prose thead{display:none}
  .prose tr{margin:0 0 12px;padding:0 0 10px;border-bottom:1px solid var(--line)}
  .prose td{padding:2px 0;border:0}
  .prose td:first-child{color:var(--primary);font-size:var(--fs-xs);text-transform:uppercase;letter-spacing:.05em}
}


/* pack thumbnails in "More packs to open" (moved out of the home template so the shell owns all styling) */
.packgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}
.packcard{flex-direction:column;align-items:center;text-align:center;gap:9px;padding:18px 14px;border-radius:var(--radius)}
.pc-pack{position:relative;flex:0 0 auto;width:104px;height:146px;display:grid;place-items:center;margin:0;border-radius:6px;--pk1:#8f9bff;--pk2:var(--primary);--pk3:var(--primary-dark);--tooth:5px;background:linear-gradient(106deg,rgba(255,255,255,.5) 0 12%,rgba(255,255,255,.06) 24%,rgba(255,255,255,.32) 40%,rgba(20,20,20,.06) 54%,rgba(255,255,255,.26) 70%,rgba(255,255,255,.04) 100%),linear-gradient(180deg,var(--pk1),var(--pk2) 45%,var(--pk3));-webkit-mask:conic-gradient(from -45deg at 50% 0,#0000,#000 1deg 89deg,#0000 90deg) 0 0/var(--tooth) calc(var(--tooth)/2) repeat-x,conic-gradient(from 135deg at 50% 100%,#0000,#000 1deg 89deg,#0000 90deg) 0 100%/var(--tooth) calc(var(--tooth)/2) repeat-x,linear-gradient(#000,#000) 0 50%/100% calc(100% - var(--tooth)) no-repeat;mask:conic-gradient(from -45deg at 50% 0,#0000,#000 1deg 89deg,#0000 90deg) 0 0/var(--tooth) calc(var(--tooth)/2) repeat-x,conic-gradient(from 135deg at 50% 100%,#0000,#000 1deg 89deg,#0000 90deg) 0 100%/var(--tooth) calc(var(--tooth)/2) repeat-x,linear-gradient(#000,#000) 0 50%/100% calc(100% - var(--tooth)) no-repeat;filter:drop-shadow(0 12px 20px rgba(20,20,20,.3));transition:transform .2s ease}
.pc-pack.is-s2{--pk1:#c3a6ff;--pk2:#7a3bee;--pk3:#4c1fa8}
.pc-pack.is-s3{--pk1:#ffe6a8;--pk2:#f2a63a;--pk3:#b25f11}
.pc-pack b{width:52%;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;font:800 17px/1 -apple-system,"Segoe UI",system-ui,sans-serif;color:var(--text);background:radial-gradient(circle at 38% 28%,var(--surface-2) 0 40%,var(--bg-2) 62%,var(--bg-3) 100%);box-shadow:inset 0 0 0 1px var(--surface-2)}
.pc-pack i{position:absolute;left:0;right:0;bottom:8%;text-align:center;font:700 12px/1 -apple-system,"Segoe UI",system-ui,sans-serif;font-style:normal;letter-spacing:.1em;color:var(--text-2)}
.packcard:hover .pc-pack{transform:translateY(-3px)}


/* --- design review pass 2026-11-25: pacing after the stage, text rhythm, phone layout --- */
.otherpacks{margin-top:26px}
.shots{margin-top:30px}
.prose p{max-width:68ch;line-height:1.72;margin:0 0 18px}
.prose h2,.prose h3{max-width:68ch;margin-top:32px}
.prose ol{max-width:68ch;gap:10px 28px}
.comment-nudge{text-align:center;max-width:60ch;margin-left:auto;margin-right:auto}
.shots-grid{overflow:hidden;border-radius:var(--radius)}
.shots-grid img{border-radius:var(--radius)}
@media (max-width:720px){
  .otherpacks{margin-top:18px}
  .shots{margin-top:20px}
  .shots-grid{grid-template-columns:1fr}
}
@media (max-width:560px){
  .packgrid{grid-template-columns:1fr;gap:10px}
  .pc-pack{width:78px;height:110px;--tooth:4px}
  .prose p{line-height:1.66}
  h1{font-size:20px}
}


/* --- design review pass 2 (2026-11-25): equal pack cards, step list rhythm, phone topbar --- */
.packcard{align-items:center;justify-content:flex-start}
.pc-name{min-height:2.8em;display:flex;align-items:center}
.pc-sub{margin-top:auto;margin-bottom:0}
.pc-pack{margin-bottom:12px}
.prose ol{display:grid;grid-template-columns:1fr 1fr;gap:14px 32px;padding-left:1.4em;margin:16px 0 20px}
.prose ol li{padding-left:4px;line-height:1.6}
.prose{line-height:1.72}
.topbar-in{flex-wrap:wrap;row-gap:6px}
@media (max-width:720px){
  .prose ol{grid-template-columns:1fr;gap:10px}
  .pc-name{min-height:0}
}
@media (max-width:560px){
  .topbar-in{padding:10px 14px}
  .topnav{width:100%;overflow-x:auto;white-space:nowrap;gap:16px;padding-bottom:2px}
  .topnav a{flex:0 0 auto}
}

/* --- 2026-11-28 real-TCG pivot: home hero (H1 -> subhead -> primary CTA -> four real-set entries) --- */
.hero{max-width:1180px;margin:0 auto;padding:32px 18px 0;text-align:center}
.hero h1{max-width:22ch;margin:0 auto;font-size:clamp(30px,4.6vw,48px);line-height:1.06;letter-spacing:-.025em;font-weight:700;text-wrap:balance}
.hero h1::after{content:"";display:block;width:54px;height:3px;margin:16px auto 0;border-radius:2px;background:var(--gold)}
.intro .hero-sub{max-width:72ch;margin:18px auto 0;color:var(--text-2);font-size:16px;line-height:1.62}
.hero-sub a{font-weight:600;text-decoration:underline;text-decoration-color:var(--primary-tint);text-decoration-thickness:2px;text-underline-offset:2px}
.hero-sub a:hover{text-decoration-color:var(--primary)}
.intro .hero-cta{margin:22px 0 0;max-width:none}
.hero-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:15px 34px;border-radius:var(--radius-pill);background:var(--primary);color:var(--on-primary);font:700 16.5px/1 -apple-system,"Segoe UI",system-ui,Roboto,Arial,sans-serif;box-shadow:0 12px 26px -12px rgba(43,63,240,.65);transition:background .15s ease,transform .15s ease,box-shadow .15s ease}
.hero-btn:hover{background:var(--primary-dark);color:var(--on-primary);text-decoration:none;transform:translateY(-1px);box-shadow:0 16px 30px -12px rgba(43,63,240,.7),0 0 0 3px var(--gold-tint)}
.hero-btn:focus-visible{outline:3px solid var(--gold);outline-offset:3px}

.realpacks{max-width:1180px;margin:22px auto 0;padding:0 18px}
.realcard-note{margin:0 auto 10px;max-width:78ch;text-align:center;font-size:12px;line-height:1.5;color:var(--muted)}
.setgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}
.setcard{display:flex;align-items:center;gap:11px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow-1);color:var(--text);text-align:left;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.setcard:hover{transform:translateY(-3px);border-color:var(--gold);box-shadow:var(--shadow-2);color:var(--text);text-decoration:none}
.setcard-img{display:block;flex:0 0 auto;width:62px;height:auto;border-radius:5px;background:var(--surface-2);box-shadow:0 4px 10px rgba(20,20,20,.22)}
.setmeta{display:grid;gap:1px;min-width:0}
.set-tcg{font-size:10px;line-height:1.4;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--primary)}
.set-name{font-size:14px;line-height:1.25;font-weight:700;color:var(--text);overflow-wrap:anywhere}
.set-line{font-size:11.5px;line-height:1.4;color:var(--muted)}

#play{scroll-margin-top:78px}
.play-anchor{padding:18px 18px 0}
.stage-hint{max-width:74ch;margin:0 auto;text-align:center;font-size:13.5px;line-height:1.6;color:var(--muted)}
.otherpacks-note{margin:-4px 0 14px;max-width:74ch;font-size:13.5px;line-height:1.6;color:var(--muted)}

@media (max-width:960px){
  .setgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .hero{padding:22px 14px 0}
  .hero h1{font-size:clamp(28px,8.2vw,34px);max-width:none;line-height:1.1}
  .hero h1::after{width:44px;margin-top:12px}
  .intro .hero-sub{margin-top:14px;font-size:15px;line-height:1.58;max-width:none}
  .intro .hero-cta{margin-top:18px}
  .hero-btn{padding:14px 28px;font-size:16px;min-height:48px}
  .realpacks{padding:0 14px}
  .realcard-note{text-align:left;font-size:11.5px}
  .setgrid{gap:9px}
  .setcard{gap:9px;padding:9px}
  .setcard-img{width:50px}
  .set-tcg{font-size:9.5px;letter-spacing:.1em}
  .set-name{font-size:13px}
  .set-line{font-size:11px}
  #play{scroll-margin-top:64px}
  .play-anchor{padding:14px 14px 0}
  .stage-hint{font-size:12.5px;text-align:left}
  .otherpacks-note{font-size:13px}
}
@media (max-width:420px){
  .hero h1{font-size:clamp(27px,8vw,31px)}
  .setcard-img{width:46px}
  .set-name{font-size:12.5px}
}

/* --- card detail pages (scripts/build-card-pages.mjs) --- */
.prose .cardart{margin:18px 0 20px;text-align:center}
.prose .cardart img{display:block;margin:0 auto;width:auto;max-width:min(100%,320px);height:auto;border-radius:12px;border:1px solid var(--line);background:var(--surface-2);box-shadow:0 10px 24px rgba(20,20,20,.14)}
.prose .cardart figcaption{margin-top:8px;font-size:12px;line-height:1.5;color:var(--muted)}
@media (max-width:640px){.prose .cardart img{max-width:min(100%,260px)}}

/* --- card lists block (home bottom; inbound links to the 4 set pages) --- */
.cardlists{max-width:1120px;margin:0 auto;padding:28px 18px 8px}
.cardlists h2{margin:0 0 8px;font-size:20px;line-height:1.25;color:var(--text)}
.cardlists-note{margin:0;max-width:72ch;font-size:13.5px;line-height:1.6;color:var(--muted)}
.cardlists-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
.cardlane{display:flex;flex-direction:column;gap:4px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);text-decoration:none;transition:border-color .2s ease,transform .2s ease}
.cardlane:hover{border-color:var(--primary);transform:translateY(-2px);text-decoration:none}
.cardlane b{font-size:15px;line-height:1.3;color:var(--text)}
.cardlane span{font-size:12.5px;line-height:1.4;color:var(--muted)}
@media (max-width:720px){.cardlists-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:420px){.cardlists-grid{grid-template-columns:1fr}}
