/* One accessible card structure, eight distinct atmospheres. */
.arcade-home .games{gap:18px;grid-auto-rows:1fr;max-width:1100px;margin-inline:auto}
.arcade-home .poster-card{--tile-accent:var(--lime);--tile-trim:var(--accent2);position:relative;isolation:isolate;container-type:inline-size;min-width:0;padding:18px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,var(--panel2),var(--bg));box-shadow:0 10px 25px #0003;transition:transform .2s,box-shadow .2s;overflow:hidden}
.arcade-home .poster-card:before{content:'';position:absolute;inset:9px;border:1px solid color-mix(in srgb,var(--tile-trim) 25%,transparent);border-radius:10px;pointer-events:none;z-index:-1}
.poster-brand{text-align:center;text-transform:uppercase;font:500 .875rem/1.5 Georgia,serif;letter-spacing:.16em;color:var(--tile-trim)}
.poster-rule{display:flex;align-items:center;gap:10px;color:var(--tile-trim);margin:10px 0 0}
.poster-rule:before,.poster-rule:after{content:'';height:1px;flex:1;background:linear-gradient(90deg,transparent,var(--tile-trim))}
.poster-rule:after{transform:scaleX(-1)}
.poster-rule span{font-size:18px;line-height:1}
.arcade-home .poster-card .game-content{padding:0;display:grid;min-width:0;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(86px,1fr) auto auto auto;align-items:center;flex:1}
.arcade-home .poster-card h3{font-family:var(--display);font-size:clamp(1.35rem,9cqi,1.9rem);font-weight:800;text-transform:uppercase;line-height:1.04;letter-spacing:-.035em;text-align:center;margin:12px 0 10px;min-height:0;color:var(--cream);text-shadow:none;overflow-wrap:anywhere;text-wrap:balance}
.arcade-home .poster-card p{font-size:.9375rem;line-height:1.45;text-align:center;margin:0;min-width:0;min-height:44px;color:var(--muted);text-wrap:balance}
.poster-rule-bottom{margin:8px 12px 12px}
.arcade-home .poster-card h3:after{display:none}
.arcade-home .poster-long-title h3{font-size:clamp(1rem,6.3cqi,1.35rem);overflow-wrap:normal}
.arcade-home .poster-card .card-play{width:100%;margin:0;min-height:44px;padding:10px 14px;border:1px solid var(--tile-accent);border-radius:9px;background:color-mix(in srgb,var(--panel) 85%,transparent);color:var(--cream);font-size:1rem;box-shadow:none}
.arcade-home .poster-card .card-play:hover{background:var(--tile-accent);color:var(--ink);transform:none}
.arcade-home .poster-card:focus-within{outline:2px solid var(--tile-accent);outline-offset:4px}
[data-theme="retro"] .arcade-home .poster-card{--tile-accent:#70dfff;--tile-trim:#dfbb78;background:radial-gradient(ellipse at 50% 42%,color-mix(in srgb,var(--tile-accent) 9%,transparent),transparent 65%),linear-gradient(#06091388,#06091388),url('/motifs/arcade-brick.svg');background-size:auto,auto,240px 120px;border-color:#45465d;box-shadow:0 12px 30px #0006}
[data-theme="retro"] .arcade-home .game-who{--tile-accent:#ff71cf}
[data-theme="retro"] .arcade-home .game-truths{--tile-accent:#7ef5c8}
[data-theme="retro"] .arcade-home .game-showdown{--tile-accent:#bc96ff}
[data-theme="retro"] .arcade-home .game-million{--tile-accent:#ffdb76}
[data-theme="retro"] .arcade-home .poster-card h3{color:#fff8fe;text-shadow:0 0 3px #fff8,0 0 12px var(--tile-accent),0 0 32px color-mix(in srgb,var(--tile-accent) 65%,transparent)}
[data-theme="retro"] .arcade-home .poster-card .card-play{border-color:var(--tile-accent);box-shadow:0 0 5px color-mix(in srgb,var(--tile-accent) 70%,transparent),inset 0 0 12px color-mix(in srgb,var(--tile-accent) 12%,transparent);background:#090b16}
[data-theme="retro"] .arcade-home .poster-card .card-play:hover{background:color-mix(in srgb,var(--tile-accent) 18%,#090b16);color:white}
[data-theme="retro"] .arcade-home .poster-card:hover{border-color:var(--tile-accent);box-shadow:0 12px 32px #0008,0 0 18px color-mix(in srgb,var(--tile-accent) 15%,transparent)}
[data-theme="midnight"] .poster-card{background:radial-gradient(ellipse at top right,#34478088,transparent 65%),linear-gradient(145deg,#16253f,#091322);--tile-trim:#a7c4ef}
[data-theme="midnight"] .poster-card:before{border-radius:40px 8px 40px 8px}
[data-theme="amber"] .poster-card{background:repeating-linear-gradient(0deg,#0000 0 3px,#0002 3px 4px),var(--panel);border-radius:3px;--tile-trim:var(--lime)}
[data-theme="amber"] .poster-brand{font-family:ui-monospace,monospace;letter-spacing:.08em}
[data-theme="amber"] .arcade-home .poster-card h3{font-family:ui-monospace,monospace;color:var(--lime)}
[data-theme="amber"] .arcade-home .poster-card .card-play{border-radius:2px}
[data-theme="christmas"] .poster-card{--tile-trim:#e6c785;--tile-accent:#e6c785;background:url('/motifs/christmas-sprinkle.svg'),linear-gradient(145deg,#19382b,#0b211a)}
[data-theme="christmas"] .arcade-home .poster-card h3{font-family:Georgia,serif;letter-spacing:-.03em;font-weight:700}
[data-theme="christmas"] .arcade-home .poster-card .card-play{background:#7e2638;border-color:#dca386}
[data-theme="autumn"] .arcade-home .poster-card{--tile-trim:#d7ac6b;background:linear-gradient(#302017dd,#302017f5),url('/motifs/autumn-sprinkle.svg');box-shadow:0 10px 25px #120a0760;border-color:#956338}
[data-theme="autumn"] .arcade-home .poster-card h3{font-family:Georgia,serif;color:#ffe1ad;letter-spacing:-.03em}
[data-theme="halloween"] .poster-card{--tile-trim:#bf9ee5;--tile-accent:#ffb159;background:radial-gradient(ellipse at top,#47264c,#160f20 75%)}
[data-theme="halloween"] .arcade-home .poster-card h3{font-family:Georgia,serif;color:#ffc888;text-shadow:3px 4px #070610;letter-spacing:-.04em}
[data-theme="stpatricks"] .poster-card{--tile-trim:#f2d27d;--tile-accent:#f2d27d;background:repeating-linear-gradient(45deg,#ffffff02 0 1px,transparent 1px 15px),linear-gradient(135deg,#184b31,#09271b)}
[data-theme="stpatricks"] .arcade-home .poster-card h3{font-family:Georgia,serif;color:#e8f7d5}
[data-theme="america"] .poster-card{--tile-trim:#f5e4bd;background:linear-gradient(135deg,#24375a,#101b32);border-top:3px solid #da7b86;border-bottom:3px solid #91bcff}
[data-theme="america"] .arcade-home .poster-card h3{letter-spacing:.015em;text-shadow:3px 3px #782c40}
@media(prefers-reduced-motion:reduce){.arcade-home .poster-card{transition:none}.arcade-home .poster-card:hover{transform:none}}

[data-theme="retro"] .arcade-home .game-the-judge{--tile-accent:#ffad70}
[data-theme="retro"] .arcade-home .game-name-your-price{--tile-accent:#ffd071}
/* Keep sizing consistent even when a theme supplies its own heading styles. */
html[data-theme] .arcade-home .poster-card h3{font-size:clamp(1.35rem,9cqi,1.9rem);min-width:0}
html[data-theme] .arcade-home .poster-long-title h3{font-size:clamp(1rem,6.3cqi,1.35rem)}
@media(max-width:600px){.arcade-home .games{gap:14px}.arcade-home .poster-card{padding:16px}.arcade-home .poster-card .game-content{grid-template-rows:minmax(74px,1fr) auto auto auto}}
