/* One small seasonal adapter. Shared brand and gameplay styles remain the baseline. */
.halloween-hub,html[data-site-appearance="halloween"] .halloween-game{--night:#17112e;--night-card:#251d40;--cream:#fff8ec;--lavender:#cfc1e5;--orange:#ff942f;--purple-ink:#301342;--skin-border:#65507d}
.halloween-hub{background:var(--night);color:var(--cream)}
.halloween-hub .header{background:#fff;color:#18342b;max-width:none;padding-inline:max(24px,calc((100vw - 1088px)/2));min-height:74px}
.halloween-hub .brand{font-size:28px}.halloween-hub .brand-mark{color:#18342b;border-color:#18342b}.halloween-hub nav a{font-size:16px}
.halloween-hub main{background:url('/art/halloween-night.svg') center top/1440px 840px no-repeat}
.halloween-home{max-width:1200px;padding-top:24px}.halloween-back{font-weight:600;text-decoration:none;display:inline-flex;min-height:44px;align-items:center}
.halloween-hero{text-align:center;max-width:650px;margin:4px auto 30px}
.halloween-hero .eyebrow{font-size:14px;letter-spacing:.22em;color:var(--lavender);margin-bottom:16px}
.halloween-hero h1{font:700 clamp(38px,5.3vw,72px)/1.02 Georgia,serif;color:var(--cream)}
.halloween-hero h1 span{display:block;color:var(--orange)}
.halloween-hero p:last-child{font-size:20px;line-height:1.45;color:var(--lavender);margin:16px auto 0;max-width:52ch}
.halloween-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:840px;margin:auto}
.halloween-card{background:rgba(37,29,64,.94);border:1px solid var(--skin-border);border-radius:16px;padding:22px;display:flex;flex-direction:column;min-width:0}
.halloween-card img{width:100%;height:160px;object-fit:contain;display:block;margin-bottom:12px}
.halloween-card h2{font:700 34px/1.12 Georgia,serif;margin:0 0 12px}
.halloween-card p{font-size:17px;line-height:1.4;color:var(--lavender);margin:0 0 16px}
.halloween-count{display:block;width:fit-content;border-radius:24px;background:#47365f;padding:3px 14px;color:var(--cream);margin-bottom:18px}
.halloween-play{display:block;margin-top:auto;background:var(--orange);color:#20122f;border:2px solid #ffae58;border-radius:10px;text-align:center;font-weight:700;font-size:18px;text-decoration:none;padding:14px 8px;min-height:54px}
.halloween-play:hover{background:#ffb465}.halloween-play:active{background:#ef8321}
.halloween-hub :focus-visible{outline:3px solid var(--orange);outline-offset:4px}
.halloween-hub .header :focus-visible{outline-color:#18342b}
.halloween-more{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #45365f;border-radius:12px;padding:22px 28px;margin:32px auto;max-width:1088px;background:#211936}
.halloween-more h2{font:700 22px Georgia,serif;margin:0 0 6px}.halloween-more p{color:var(--lavender);margin:0}.halloween-more a{color:var(--orange);font-weight:700;min-height:44px;display:inline-flex;align-items:center}
.halloween-info{max-width:840px;margin:48px auto;font-size:18px;line-height:1.7;color:var(--lavender)}.halloween-info h2{color:var(--cream);font-size:25px;margin-top:28px}.halloween-info a{color:var(--orange)}
.halloween-hub .footer{color:var(--lavender);border-color:#45365f}
html[data-site-appearance="halloween"] .halloween-game .play-band{position:relative;background:#d8cbed url('/art/halloween-day.svg') center top/1440px 840px no-repeat;border-color:#baacd0}
html[data-site-appearance="halloween"] .halloween-game .play-band>.wrap{position:relative}
.halloween-banner{padding:0 0 16px;min-height:100px;color:var(--purple-ink)}
.halloween-badge{display:inline-block;background:var(--orange);color:#24152d;padding:7px 14px;border-radius:8px;font-weight:700;text-transform:uppercase;letter-spacing:.03em}
.halloween-banner p{margin:6px 0;font-size:17px}.halloween-banner a{font-size:16px;font-weight:600;color:var(--purple-ink)}
html[data-site-appearance="halloween"] .halloween-game .heading-row{color:var(--purple-ink)}html[data-site-appearance="halloween"] .halloween-game .heading-row h1{font-size:42px}html[data-site-appearance="halloween"] .halloween-game .heading-row .eyebrow{font-size:14px}html[data-site-appearance="halloween"] .halloween-game .heading-row .edition{font-size:14px}
html[data-site-appearance="halloween"] .halloween-game .game{--primary:#301342;--surface:#f1e8f6;--border:#c1accf;--accent:#a13d00;--highlight:#ffd699;background:var(--cream);color:var(--purple-ink);border-radius:16px;border-color:#c1accf;padding:24px}
html[data-site-appearance="halloween"] .halloween-game .rules{color:var(--purple-ink);background:rgba(255,248,236,.94);padding:22px;border-radius:12px}
html[data-site-appearance="halloween"] .halloween-game .game button:not(.secondary):not(.search-cell):not(#tiles button){background:var(--orange);color:var(--purple-ink);border-color:#ba4b00}
html[data-site-appearance="halloween"] .halloween-game .game button:focus-visible,html[data-site-appearance="halloween"] .halloween-game .game input:focus-visible,html[data-site-appearance="halloween"] .halloween-game .game select:focus-visible{outline:3px solid #76238b;outline-offset:3px}
html[data-site-appearance="halloween"] .halloween-game .game .secondary{background:#eee0f3;border-color:#b8a0c7}
html[data-site-appearance="halloween"] .halloween-game .game button:disabled{opacity:.65}
html[data-site-appearance="halloween"] .halloween-game .theme-picker select{background:#fff;color:var(--purple-ink);border-color:#a38eae}
html[data-site-appearance="halloween"] .halloween-game .search-board{width:min(100%,480px);gap:0}
html[data-site-appearance="halloween"] .halloween-game .search-cell{background:#fffdf8;border-color:#42304c;font-size:28px}
html[data-site-appearance="halloween"] .halloween-game .search-cell.found{background:#ffd699}html[data-site-appearance="halloween"] .halloween-game .search-cell.pending{background:#f6c0a0}html[data-site-appearance="halloween"] .halloween-game .search-cell.hinted{border-color:#a13d00}
html[data-site-appearance="halloween"] .halloween-game .search-words{background:#f3ebf5;border:1px solid #d9c8df;border-radius:10px;padding:16px;font:600 18px/1.5 Arial,sans-serif}
html[data-site-appearance="halloween"] .halloween-game .search-words li::before{content:'✦ ';color:#a13d00}
html[data-site-appearance="halloween"] .halloween-game #tiles button{background:#fff0dc;color:var(--purple-ink);border:2px solid #d36212;border-radius:8px;width:54px;height:54px;font-size:28px}
html[data-site-appearance="halloween"] .halloween-game #clue{background:#fff0dc;border:1px solid #edc699;border-radius:8px;padding:12px;font-size:17px}
html[data-site-appearance="halloween"] .halloween-game #answer{border-color:#b3a5ba;background:#fff;color:var(--purple-ink);border-radius:8px}
@media(min-width:1000px){
 html[data-site-appearance="halloween"] .halloween-game.word-search-page .play-layout{display:block}
 html[data-site-appearance="halloween"] .halloween-game.word-search-page .rules{margin-top:28px;columns:2;column-gap:40px}
 html[data-site-appearance="halloween"] .halloween-game.word-search-page #game-content{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(230px,.9fr);column-gap:28px}
 html[data-site-appearance="halloween"] .halloween-game.word-search-page #game-content>*{grid-column:1/-1}
 html[data-site-appearance="halloween"] .halloween-game.word-search-page .theme-picker{grid-column:1;grid-row:1}
 html[data-site-appearance="halloween"] .halloween-game.word-search-page .theme-picker label{display:block}
 html[data-site-appearance="halloween"] .halloween-game.word-search-page #theme-status{min-height:0;margin:6px 0;font-size:14px}
 html[data-site-appearance="halloween"] .halloween-game.word-search-page #puzzle-title{grid-column:2;grid-row:1;align-self:center;margin:0;font-size:23px}
 html[data-site-appearance="halloween"] .halloween-game.word-search-page #progress{grid-column:2;grid-row:2;margin:0;align-self:center}
 html[data-site-appearance="halloween"] .halloween-game.word-search-page #game-content>details{grid-column:1;grid-row:2}
 html[data-site-appearance="halloween"] .halloween-game.word-search-page #game-content>.small:not(#progress):not(#storage-status){grid-row:3;margin:8px 0}
 html[data-site-appearance="halloween"] .halloween-game.word-search-page #board{grid-column:1;grid-row:4;margin:8px 0 20px}
 html[data-site-appearance="halloween"] .halloween-game.word-search-page #words{grid-column:2;grid-row:4;display:flex;flex-direction:column;justify-content:space-evenly;margin:8px 0 20px}
 html[data-site-appearance="halloween"] .halloween-game.word-search-page #game-content>.game-actions{grid-row:5}
 html[data-site-appearance="halloween"] .halloween-game.word-search-page #feedback{grid-row:6;margin-block:4px}
 html[data-site-appearance="halloween"] .halloween-game.word-search-page .challenge-progress{grid-row:7;margin-block:8px}
 html[data-site-appearance="halloween"] .halloween-game.word-search-page #result{grid-row:8}
 html[data-site-appearance="halloween"] .halloween-game.word-search-page #restart-check{grid-row:9}
 html[data-site-appearance="halloween"] .halloween-game.word-search-page #storage-status{grid-row:10}
}
@media(max-width:760px){
 .halloween-hub .header{background:var(--night);color:var(--cream);padding:12px 20px;gap:4px}.halloween-hub .header nav{gap:12px}.halloween-hub .brand{font-size:25px}
 .halloween-hub main{background-image:url('/art/halloween-mobile.svg');background-size:100% auto;background-position:center top}
 .halloween-home{padding:14px 18px 0}.halloween-back{display:none}
 .halloween-hero{text-align:left;margin:0 0 18px;padding-bottom:24px;max-width:100%}
 .halloween-hero .eyebrow{color:var(--orange);font-size:14px;letter-spacing:.12em;margin-bottom:10px}
 .halloween-hero h1{font-size:clamp(34px,9vw,58px);line-height:1.06}.halloween-hero p:last-child{font-size:18px;margin:16px 0 0;max-width:24ch;color:var(--cream);text-shadow:0 1px 5px #17112e}
 .halloween-cards{grid-template-columns:1fr;gap:18px}.halloween-card{padding:18px;display:grid;grid-template-columns:100px minmax(0,1fr);column-gap:16px}
 .halloween-card img{grid-column:1;grid-row:1/4;width:100%;height:120px;margin:0;align-self:center}
 .halloween-card h2{font:700 24px/1.15 Arial,sans-serif;grid-column:2;margin-bottom:8px}.halloween-card p{grid-column:2;font-size:16px;margin-bottom:12px}.halloween-count{grid-column:2;font-size:14px;padding:3px 10px;margin-bottom:0}
 .halloween-play{grid-column:1/-1;margin-top:18px;font-size:17px}.halloween-more{display:block;padding:20px;margin-top:24px}.halloween-more a{margin-top:8px}.halloween-info{font-size:18px}
 html[data-site-appearance="halloween"] .halloween-game .play-band{background-color:var(--night);padding-top:22px;background-image:url('/art/halloween-mobile.svg');background-size:100% auto;background-position:center top}
 html[data-site-appearance="halloween"] .halloween-game .halloween-banner,html[data-site-appearance="halloween"] .halloween-game .heading-row{color:var(--cream)}html[data-site-appearance="halloween"] .halloween-game .halloween-banner a{color:var(--orange);background:var(--night);padding:4px 10px;display:inline-flex;align-items:center;min-height:44px;border-radius:6px;margin-left:6px}
 html[data-site-appearance="halloween"] .halloween-game .heading-row{align-items:start}html[data-site-appearance="halloween"] .halloween-game .heading-row h1{font-size:30px}html[data-site-appearance="halloween"] .halloween-game .heading-row .edition{display:none}
 html[data-site-appearance="halloween"] .halloween-game .game{padding:18px}html[data-site-appearance="halloween"] .halloween-game .rules{margin-top:12px}html[data-site-appearance="halloween"] .halloween-game .search-cell{font-size:24px}
 html[data-site-appearance="halloween"] .halloween-game #submit{width:100%;min-height:50px;font-size:18px}html[data-site-appearance="halloween"] .halloween-game #tiles{gap:4px}
 html[data-site-appearance="halloween"] .halloween-game #tiles button{width:48px;height:48px;font-size:25px}
 html[data-site-appearance="halloween"] .halloween-game .halloween-banner{min-height:0;padding-bottom:8px}html[data-site-appearance="halloween"] .halloween-game .halloween-banner p{display:none}
 html[data-site-appearance="halloween"] .halloween-game .heading-row{margin-bottom:16px}
 html[data-site-appearance="halloween"] .halloween-game .practice-game #game-content{display:flex;flex-direction:column}
 html[data-site-appearance="halloween"] .halloween-game .practice-game .theme-picker{order:1;display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center}
 html[data-site-appearance="halloween"] .halloween-game .practice-game #theme-status{min-height:0;font-size:14px;margin:2px 0 8px;width:100%}
 html[data-site-appearance="halloween"] .halloween-game .practice-game #board-title{order:2}
 html[data-site-appearance="halloween"] .halloween-game .practice-game #tiles{order:3;margin:8px 0 16px}
 html[data-site-appearance="halloween"] .halloween-game .practice-game #answer-form{order:4}
 html[data-site-appearance="halloween"] .halloween-game .practice-game #game-content>.game-actions{order:5}
 html[data-site-appearance="halloween"] .halloween-game .practice-game #progress{order:6;font-size:14px;margin:8px 0}
 html[data-site-appearance="halloween"] .halloween-game .practice-game .challenge-progress{order:7;margin:4px 0;font-size:14px}
 html[data-site-appearance="halloween"] .halloween-game .practice-game #clue{order:8}
 html[data-site-appearance="halloween"] .halloween-game .practice-game #feedback{order:9}
 html[data-site-appearance="halloween"] .halloween-game .practice-game #next{order:5;align-self:flex-start}
 html[data-site-appearance="halloween"] .halloween-game .practice-game #result{order:10}
 html[data-site-appearance="halloween"] .halloween-game .practice-game #replace-check{order:11}
 html[data-site-appearance="halloween"] .halloween-game .practice-game #storage-status{order:12}
}
@media(max-width:360px){.halloween-card{grid-template-columns:78px minmax(0,1fr);gap:12px}.halloween-card h2{font-size:21px}.halloween-card p{font-size:16px}html[data-site-appearance="halloween"] .halloween-game .game{padding:10px}html[data-site-appearance="halloween"] .halloween-game .search-cell{min-width:44px;min-height:44px}}
@media(forced-colors:active){html[data-site-appearance="halloween"] .halloween-game .game,.halloween-card{border:2px solid CanvasText}.halloween-play{border:2px solid LinkText}}
