/* Hallmark v2 · redesign: full · theme: brand · editorial · hero: compact playable index · fonts and five category colours preserved from styles.css · no new imagery */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: R; moved the welcome film below the first decisions, kept every original section. */
/* User priority: preserve the established illustrated brand, Anton heads, three requested game tiles, and all existing content. No new display font, animation, or dependency. */
:root{--hm-surface:#fcf6e9;--hm-muted:#514d44;--hm-white:#fffaf2;--hm-focus:#087f83;--hm-max:1184px;--hm-gap:20px}
html:has([data-hm-page]),body[data-hm-page]{overflow-x:clip}
body[data-hm-page] h1,body[data-hm-page] h2,body[data-hm-page] h3{overflow-wrap:break-word;min-width:0;line-height:1.08}
body[data-hm-page] .wrap{max-width:var(--hm-max);padding-inline:24px}
body[data-hm-page] #wtc-site-header.wtc-header{min-height:94px}
body[data-hm-page] :is(a,button,input,summary):focus-visible,.hm-newsletter :is(button,input):focus-visible{outline:3px solid var(--hm-focus);outline-offset:4px}
body[data-hm-page] .eyebrow{font-family:var(--body);letter-spacing:0;text-transform:none;font-size:14px}
.hm-start{padding-block:16px 24px}
.hm-opening{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:var(--hm-gap);align-items:center}
.hm-opening h1{font:400 clamp(34px,4.9vw,62px)/1.08 var(--display);text-transform:none;max-width:20ch;margin:0}
.hm-opening p{font:400 17px/1.5 var(--body);max-width:60ch;margin:8px 0 16px}
.hm-milo{align-self:start;margin-top:8px;display:block;width:114px;height:190px;object-fit:contain;mix-blend-mode:multiply;justify-self:center}
.hm-actions{display:flex;gap:8px}
.hm-action{display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:104px;padding:8px 20px;background:var(--red);border:2px solid var(--red);color:var(--hm-white);font-weight:700;text-decoration:none}
.hm-action:nth-child(n+2){background:transparent;color:var(--ink);border-color:var(--ink)}
.hm-action:hover{background:var(--ink);border-color:var(--ink);color:var(--hm-white)}
.hm-start .wtc-popular{padding:0!important;margin:24px 0 16px;border:0;width:100%;max-width:none}
.hm-start .wtc-popular h2{font:700 17px/1.4 var(--body);text-transform:none;margin:0 0 8px}
.hm-start .wtc-popular-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hm-start .wtc-popular-grid>a{display:grid;grid-template-columns:112px minmax(0,1fr);min-width:0;border:1px solid var(--line);background:var(--hm-surface);text-decoration:none;min-height:100px;overflow:clip}
.hm-start .wtc-popular-grid img{display:block;width:112px;height:100%;aspect-ratio:1;object-fit:cover}
.hm-start .wtc-popular-grid a>span{display:flex;flex-direction:column;justify-content:center;padding:8px 12px;gap:4px}
.hm-start .wtc-popular-grid strong{font:700 16px/1.25 var(--body);text-transform:none}
.hm-start .wtc-popular-grid small{font:600 13px/1.4 var(--body);color:var(--red)}
.hm-start .wtc-popular-grid a:hover{border-color:var(--red);background:var(--paper)}
.hm-newsletter{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.9fr);gap:12px 24px;padding:16px 20px;border-block:2px solid var(--ink);background:var(--hm-surface);color:var(--ink)}
.hm-newsletter h2{font:700 18px/1.3 var(--body,'DM Sans',sans-serif);text-transform:none;margin:0 0 8px;letter-spacing:0}
.hm-newsletter p{font:400 15px/1.45 var(--body,'DM Sans',sans-serif);margin:0;max-width:60ch}
.hm-newsletter form{margin:0;min-width:0}
.hm-newsletter label{display:block;font:700 13px/1.4 var(--body,'DM Sans',sans-serif);margin-bottom:4px}
.hm-email-row{display:flex;gap:8px}
.hm-newsletter input{width:100%;min-width:0;min-height:44px;border:1px solid var(--ink);border-radius:0;background:var(--hm-white);color:var(--ink);padding:8px 8px;font:400 16px/1.4 var(--body,'DM Sans',sans-serif)}
.hm-newsletter button{flex-shrink:0;border:1px solid var(--red);border-radius:0;background:var(--red);color:var(--hm-white);font:700 15px/1.4 var(--body,'DM Sans',sans-serif);padding:8px 16px;min-height:44px;cursor:pointer}
.hm-newsletter button:hover{background:var(--ink);border-color:var(--ink)}
.hm-newsletter form [role=status]{font-size:12px;line-height:1.4;color:var(--hm-muted);margin-top:8px}
body[data-hm-page=home] .edition{font-size:13px;letter-spacing:0}
body[data-hm-page=home] .hm-original-intro{padding-block:40px;gap:40px;align-items:start}
.hm-original-intro h2{font-size:clamp(34px,4vw,54px)}
body[data-hm-page=home] .hm-original-intro .feature{max-width:310px;justify-self:center;transform:none}
body[data-hm-page=home] .hm-original-intro .intro{font-size:20px}
body[data-hm-page=home] .wtc-discovery:not(.hm-start .wtc-popular){padding-block:32px}
body[data-hm-page=arcade] .games-main{padding-top:16px}
body[data-hm-page=arcade] .games-heading{padding-top:16px;margin-bottom:16px}
body[data-hm-page=arcade] .games-heading h1{font-size:clamp(34px,4vw,52px)}
body[data-hm-page=arcade] .games-heading .eyebrow{margin-bottom:8px}
body[data-hm-page=arcade] .games-heading p{margin-block:8px;font-size:17px;max-width:65ch}
.hm-arcade-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
.hm-arcade-shortcuts a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid var(--ink);font-size:14px;font-weight:700;text-decoration:none}
.hm-arcade-shortcuts a:hover{background:var(--ink);color:var(--hm-white)}
body[data-hm-page=arcade] .game-card{display:grid;grid-template-columns:150px minmax(0,1fr);max-width:none;margin:0 0 20px;border:2px solid var(--ink);box-shadow:4px 4px 0 var(--red);background:var(--hm-surface)}
body[data-hm-page=arcade] .game-cover,body[data-hm-page=arcade] .game-card[aria-labelledby] .game-cover{height:100%;min-height:200px;aspect-ratio:auto;display:block;align-self:stretch}
body[data-hm-page=arcade] .game-card .game-cover img{width:100%;height:200px;object-fit:contain;position:sticky;top:0}
body[data-hm-page=arcade] .game-copy{padding:16px 24px;min-width:0}
body[data-hm-page=arcade] .game-copy .eyebrow{margin:0 0 8px;font-size:13px}
body[data-hm-page=arcade] .game-copy h2{font-size:30px;line-height:1.1;margin-bottom:16px;color:var(--ink)}
body[data-hm-page=arcade] .game-copy .button{font:700 16px/1.3 var(--body);min-height:44px;padding:12px 16px;margin-bottom:12px;white-space:normal}
body[data-hm-page=arcade] .game-number{font-size:20px;padding:2px 8px;bottom:10px;left:10px}
.hm-game-info summary{cursor:pointer;min-height:44px;font-size:15px;font-weight:700;padding-block:8px;text-decoration:underline;text-underline-offset:4px}
.hm-game-info p,.hm-game-info li{font-size:16px;line-height:1.6;max-width:65ch}
.hm-game-info .record-note{font-size:14px}
@media(min-width:960px){body[data-hm-page=arcade] .games-main{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}body[data-hm-page=arcade] :is(.games-heading,.hm-arcade-shortcuts,.wtc-game-index,.wtc-share){grid-column:1/-1}}
@media(max-width:760px){.hm-opening{grid-template-columns:minmax(0,1fr) 88px;gap:12px}.hm-milo{width:82px;height:148px}.hm-opening h1{font-size:34px}.hm-opening p{font-size:15px;margin:8px 0 12px}.hm-actions{gap:8px}.hm-action{min-width:0;flex:1;padding:8px 12px}.hm-start .wtc-popular-grid>a{display:flex;flex-direction:column;min-height:0}.hm-start .wtc-popular-grid img{width:100%;height:70px;aspect-ratio:auto}.hm-start .wtc-popular-grid a>span{padding:8px;gap:4px;flex:1;justify-content:flex-start}.hm-start .wtc-popular-grid strong{font-size:14px}.hm-start .wtc-popular-grid small{font-size:12px;margin-top:auto}.hm-newsletter{grid-template-columns:minmax(0,1fr);padding:16px 16px;gap:8px}.hm-newsletter h2{font-size:17px}.hm-newsletter p{font-size:14px}.hm-start .wtc-popular{margin:16px 0 16px}.hm-start .wtc-popular-grid{gap:8px}.hm-start .wtc-popular h2{font-size:16px}.hm-original-intro{grid-template-columns:minmax(0,1fr)!important}.hm-arcade-shortcuts{gap:8px}.hm-arcade-shortcuts a{font-size:13px}body[data-hm-page=arcade] .game-card{grid-template-columns:100px minmax(0,1fr)}body[data-hm-page=arcade] .game-copy{padding:16px}body[data-hm-page=arcade] .game-copy h2{font-size:27px}body[data-hm-page=arcade] .game-card .game-cover img{height:170px}body[data-hm-page=arcade] .game-copy .button{width:100%;padding:8px;font-size:15px}}
@media(max-width:420px){body[data-hm-page] .wrap{padding-inline:16px}.hm-opening{grid-template-columns:minmax(0,1fr) 70px;gap:8px}.hm-milo{width:68px;height:125px}.hm-opening h1{font-size:30px}.hm-opening p{font-size:14px}.hm-actions{margin-right:-80px;margin-top:16px}.hm-start .wtc-popular-grid strong{font-size:13px}.hm-newsletter{padding:12px}.hm-newsletter button{padding:8px 8px}.hm-start{padding-top:16px}}
@media(prefers-reduced-motion:reduce){body[data-hm-page] *,body[data-hm-page] *::before,body[data-hm-page] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

body[data-hm-page] :is(h1,h2){text-wrap:balance}body[data-hm-page] :is(a,button,summary):active,.hm-newsletter button:active{transform:translateY(1px)}.hm-newsletter input:invalid:not(:placeholder-shown):focus{outline:2px solid var(--red)}.hm-newsletter button:disabled{background:var(--hm-muted);border-color:var(--hm-muted);cursor:not-allowed}
/* Keep the five category accents; use ink for small character names. */
body[data-hm-page=home] .cast-name{color:var(--ink)}
body[data-hm-page=home] .soon.live{color:var(--hm-white)}
@media(max-width:420px) and (max-height:720px){
 body[data-hm-page=home] #wtc-site-header.wtc-header{min-height:76px;padding-block:8px!important}
 body[data-hm-page=home] #wtc-site-header .brand img{width:112px!important}
 .hm-start{padding-top:12px}.hm-opening h1{font-size:28px}.hm-opening p{line-height:1.35}.hm-actions{margin-top:12px}
 .hm-start .wtc-popular{margin-block:12px}.hm-start .wtc-popular-grid img{height:56px}
 .hm-newsletter{padding:8px 12px;gap:8px}
}

.wtc-continuation{margin-block:32px;padding:24px;border-top:2px solid #b91c22;background:#eee5d1;color:#191915;text-align:left}.wtc-continuation h2,.wtc-continuation h3{margin:0 0 16px;font-size:25px!important;line-height:1.2}.wtc-continuation>div{display:flex;flex-wrap:wrap;gap:12px 24px}.wtc-continuation a{font-size:14px;font-weight:700;line-height:1.5;color:#761523;display:inline-block;padding-block:8px}.wtc-continuation [hidden]{display:none!important}.hm-result-bridge .wtc-continuation{margin-block:22px 0;padding:16px}.hm-result-bridge .wtc-continuation>div{display:grid;gap:5px}.hm-result-bridge .wtc-continuation a{font-size:13px}.wtc-continuation a:focus-visible{outline:3px solid #087d81;outline-offset:3px}@media(max-width:480px){.wtc-continuation{padding:18px}.wtc-continuation>div{display:grid;gap:8px}.wtc-continuation a{font-size:13px}}
