:root{--ink:#263e35;--muted:#7a837e;--line:#e2e7df;--accent:#315443;--bg:#f8f9f6}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif}button,input{font:inherit}button{cursor:pointer;color:inherit;border:1px solid var(--line);border-radius:8px;background:transparent;padding:10px 14px;font-size:12px}button:hover:not(:disabled){background:#ecf0e8}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #91ad70;outline-offset:3px}header{max-width:1100px;margin:auto;padding:24px 28px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:20px}.identity{display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:inherit;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:26px;letter-spacing:-1px}.brand svg{width:30px;height:36px;fill:none;stroke:var(--accent);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}time{font-size:12px;color:var(--muted);white-space:nowrap}nav{display:flex;gap:10px;align-items:center}nav button{white-space:nowrap}nav svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.4;vertical-align:-3px;margin-left:6px}.streak{font-size:14px;white-space:nowrap;margin-right:10px}main{max-width:620px;margin:0 auto;padding:30px 24px 18px}.category{text-align:center;font-size:11px;color:var(--muted)}h1{font-family:'Space Grotesk',sans-serif;font-size:23px;line-height:1.5;font-weight:500;text-align:center;letter-spacing:-.5px;margin:12px auto 0;max-width:530px}.hangman{text-align:center;margin:10px auto 22px}.hangman svg{width:210px;height:174px;display:block;margin:auto}.scaffold{color:#bcc8bb}.body-part{color:var(--accent)}.error-label{font-size:11px;color:var(--muted);margin-top:3px}.word{display:flex;justify-content:center;gap:6px;margin:0 auto 28px}.tile{flex:0 1 39px;min-width:0;height:45px;display:flex;justify-content:center;align-items:center;border-bottom:2px solid #bec9b9;font-family:'Space Grotesk';font-size:24px}.tile.filled{border-color:var(--accent)}.tile.missing{color:#b26860}.key-row{display:flex;justify-content:center;gap:6px;margin:6px 0}.key{padding:0;width:45px;height:43px;background:white;border:1px solid #e0e5dc;font-weight:600;font-size:13px;box-shadow:0 2px 0 #e7eae3}.key.hit{background:var(--accent);color:white;opacity:1;border-color:var(--accent);box-shadow:none}.key.miss{background:#e7eae4;color:#a2aaa2;box-shadow:none;opacity:.65}.actions{display:flex;justify-content:center;gap:16px;margin:19px 0}.actions button{border:0;padding:7px 10px;color:#536959;font-size:12px}.actions span{font-size:10px;margin-left:5px;color:var(--muted)}form{display:flex;gap:8px;flex-wrap:wrap;margin:0 auto;max-width:470px}input{flex:1;min-width:0;background:transparent;border:1px solid var(--line);border-radius:8px;padding:12px 14px;font-size:13px;color:var(--ink)}.primary{background:var(--accent);color:white;border-color:var(--accent);padding-left:22px;padding-right:22px}.primary:hover:not(:disabled){background:#243f32}form small{flex-basis:100%;text-align:center;font-size:10px;color:var(--muted)}#feedback{text-align:center;font-size:12px;color:var(--muted);min-height:16px;margin:14px 0 0}.hint{background:#edf1e7;border-radius:8px;padding:12px 16px;font-size:13px;line-height:1.5;text-align:center;margin-bottom:0}.result{text-align:center;border-top:1px solid var(--line);padding-top:20px;margin-top:15px}.result .trophy{font-size:38px}.result h2{font-size:21px;font-weight:600;margin:6px 0}.result p{font-size:13px;line-height:1.6;margin:7px 0;color:var(--muted)}.result b{color:var(--ink)}footer{text-align:center;margin:22px 0 0}footer button{border:0;color:#91998f;font-size:10px;padding:8px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}dialog{border:1px solid var(--line);border-radius:16px;padding:28px;width:calc(100% - 32px);max-width:490px;background:var(--bg);color:var(--ink);max-height:88vh}dialog::backdrop{background:#20382c66;backdrop-filter:blur(4px)}.close{float:right;border:0;font-size:25px;line-height:1;padding:0 3px}dialog h2{font-family:'Space Grotesk';font-size:24px;margin:0 0 20px}dialog h3{font-size:14px;margin-top:24px}dialog p,dialog li{font-size:13px;line-height:1.7}dialog ul{padding-left:18px}.medal-list{display:grid;gap:12px}.medal-rule{display:flex;gap:13px;font-size:12px;line-height:1.5}.medal-rule>span{font-size:22px;width:30px;flex-shrink:0}.medal-rule b{display:block;font-size:13px}.calendar-head{display:flex;align-items:center;justify-content:space-between;margin:25px 0 16px}.calendar-head b{font-size:14px}.calendar-head button{border:0;font-size:20px;padding:4px 12px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.weekday{text-align:center;font-size:10px;color:var(--muted);padding-bottom:7px}.calendar .day{min-height:59px;padding:8px 1px 5px;border:1px solid transparent;border-radius:8px;font-size:12px;display:flex;flex-direction:column;align-items:center;gap:4px}.day.available{background:#f0f2ee;border-color:#dfe4dc}.day.won,.day.won:hover:not(:disabled){background:#e5f1e4;border-color:#d2e5d0}.day.lost,.day.lost:hover:not(:disabled){background:#f9e7e5;border-color:#efd4d1}.day.selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.day:disabled{opacity:.32}.day .mark{height:19px;font-size:15px}.legend{font-size:10px!important;color:var(--muted);line-height:1.8!important;margin-top:18px}.modal-actions{display:flex;gap:10px;margin-top:20px}.storage-warning{text-align:center;font-size:11px;color:#a4594a}[hidden]{display:none!important}@media(max-width:750px){header{padding:16px 20px;flex-wrap:wrap;gap:12px}.identity{justify-content:space-between;width:100%;gap:10px}.brand{font-size:24px}nav{width:100%;justify-content:flex-end;gap:8px}.streak{margin-right:auto}nav button{font-size:11px;padding:8px 10px}main{padding-top:24px}h1{font-size:21px}.hangman{margin-top:8px;margin-bottom:20px}.hangman svg{height:153px;width:185px}}@media(max-width:380px){main{padding-left:14px;padding-right:14px}.key-row{gap:4px}.key{height:41px}.word{gap:4px}.tile{font-size:20px}time{font-size:11px}header{padding-left:16px;padding-right:16px}}

.result-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:18px}#share-status{font-size:12px;min-height:18px}#share-text{width:100%;resize:vertical;border:1px solid var(--line);border-radius:8px;padding:12px;background:white;color:var(--ink);font:13px/1.6 inherit;margin:0 0 12px}
.icon{width:24px;height:24px;display:inline-block;vertical-align:middle;flex-shrink:0}.gold{color:#b18a23}.silver{color:#788793}.bronze{color:#a76c45}.flawless{color:#a28b21}.success{color:#39825a}.failure{color:#b45a54}.streak{display:inline-flex;gap:5px;align-items:center}.streak .icon{color:#c77840;width:20px;height:20px}.trophy .icon{width:44px;height:44px}.mark .icon{width:20px;height:20px}.legend .icon{width:15px;height:15px}.actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px auto;max-width:470px}.actions button{border:1px solid var(--line);border-radius:15px;padding:17px 8px;display:flex;flex-direction:column;align-items:center;gap:10px;background:transparent;font-size:13px;color:var(--ink)}.actions button .icon{width:28px;height:28px}.actions button small{font-size:10px;color:var(--muted);margin-left:3px}.word{flex-wrap:wrap;gap:7px 12px}.word-group{display:inline-flex;gap:4px;max-width:100%}.word-space{width:0}.word .tile{flex:0 1 34px;width:34px;min-width:0}.separator{display:flex;align-items:center;justify-content:center;width:12px;font-size:22px;flex-shrink:0}#guess-form{margin-top:12px}.medal-rule>span{display:flex;align-items:flex-start}#share-text{font-family:inherit;font-size:13px;line-height:1.6}@media(max-width:600px){.word-group{gap:3px}.word .tile{width:clamp(15px,4.4vw,27px);font-size:19px;height:39px}.separator{width:9px}.actions button{padding:15px 6px}.actions{gap:8px}.word{column-gap:8px}.word-space{display:none}}
.actions button>span{font-size:13px;color:inherit;margin:0}

.result .result-award{font-weight:600;font-size:13px;color:var(--ink);margin:4px 0 14px}
/* Theme palette and surfaces */
:root{color-scheme:light}html[data-theme="dark"]{color-scheme:dark;--bg:#121715;--ink:#e3ebe5;--muted:#a3b0a7;--line:#34423a;--accent:#a9cf98}
#theme-toggle{width:36px;height:36px;display:flex;align-items:center;justify-content:center;padding:7px;flex-shrink:0}#theme-toggle svg{width:19px;height:19px;margin:0;stroke-width:1.8}
html[data-theme="dark"] button:hover:not(:disabled){background:#26332c}
html[data-theme="dark"] .scaffold{color:#667d6e}
html[data-theme="dark"] .tile{border-color:#637968}
html[data-theme="dark"] .tile.filled{border-color:var(--accent);color:#d3e9c9}
html[data-theme="dark"] .tile.missing{color:#e5a49d}
html[data-theme="dark"] .key{background:#202b25;border-color:#3c5042;box-shadow:0 2px 0 #0b100d;color:#e3ebe5}
html[data-theme="dark"] .key:hover:not(:disabled){background:#304334;border-color:#718d65}
html[data-theme="dark"] .key.hit{background:#a9cf98;color:#142113;border-color:#a9cf98;box-shadow:none}
html[data-theme="dark"] .key.miss{background:#191f1b;color:#7e8b81;border-color:#2b352e;opacity:1;box-shadow:none;text-decoration:line-through}
html[data-theme="dark"] .actions button{background:#171e1a;border-color:#38483d}
html[data-theme="dark"] .actions button:hover:not(:disabled){background:#243329;border-color:#78936c}
html[data-theme="dark"] .primary{background:#a9cf98;color:#142113;border-color:#a9cf98}
html[data-theme="dark"] .primary:hover:not(:disabled){background:#bfdfaf;border-color:#bfdfaf}
html[data-theme="dark"] input,html[data-theme="dark"] #share-text{background:#1b241e;border-color:#485c4c;color:#e3ebe5}
html[data-theme="dark"] input::placeholder{color:#a3b0a7}
html[data-theme="dark"] .hint{background:#26352a;color:#d4e5cc;border:1px solid #40573e}
html[data-theme="dark"] dialog{background:#1a221d;box-shadow:0 24px 90px #0008}
html[data-theme="dark"] dialog::backdrop{background:#050907b8}
html[data-theme="dark"] .day.available{background:#26312a;border-color:#455448}
html[data-theme="dark"] .day.won,html[data-theme="dark"] .day.won:hover:not(:disabled){background:#26422f;border-color:#436c4b}
html[data-theme="dark"] .day.lost,html[data-theme="dark"] .day.lost:hover:not(:disabled){background:#452c2b;border-color:#76504b}
html[data-theme="dark"] .day.selected{border-color:#a9cf98;box-shadow:inset 0 0 0 1px #a9cf98}
html[data-theme="dark"] .day:disabled{opacity:.42}
html[data-theme="dark"] .gold{color:#e2bc62}html[data-theme="dark"] .silver{color:#becbd5}html[data-theme="dark"] .bronze{color:#dca476}html[data-theme="dark"] .flawless{color:#e4d88f}html[data-theme="dark"] .success{color:#9bd2a6}html[data-theme="dark"] .failure{color:#e6a39a}
html[data-theme="dark"] .streak .icon{color:#e1a06e}html[data-theme="dark"] footer button{color:#a3b0a7}html[data-theme="dark"] .storage-warning{color:#e6a39a}
@media(min-width:751px) and (max-width:1000px){header{gap:12px;padding-left:20px;padding-right:20px}.identity{gap:14px}.brand{font-size:23px}nav{gap:7px}nav button{padding-left:10px;padding-right:10px}.streak{margin-right:2px}}
@media(max-width:380px){nav{gap:5px}nav button{padding-left:7px;padding-right:7px}#theme-toggle{width:32px;height:32px}.streak{margin-right:auto}}

.sync-status{font-size:.78rem;opacity:.85;line-height:1.5;margin:0 0 8px}.sync-status button,.sync-status a{font-size:inherit;color:inherit;text-decoration:underline}.sync-status button{border:0;padding:0;background:none}
.account-button{width:36px;height:36px;padding:0;border-radius:50%;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}.account-button .icon{width:20px;height:20px;margin:0}.account-button img{width:100%;height:100%;object-fit:cover}.avatar-initials{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;font-size:12px;font-weight:700;background:var(--line);color:var(--ink);flex-shrink:0}.account-card{display:flex;gap:14px;align-items:center;margin-bottom:22px}.account-card .avatar-initials{width:48px;height:48px;font-size:16px}.account-card p{margin:3px 0}.account-card small,.account-note{color:var(--muted)}.account-menu{display:grid;gap:8px;margin-top:20px}.account-menu a,.account-menu button{display:flex;align-items:center;gap:12px;text-decoration:none;padding:13px 14px;border:1px solid var(--line);border-radius:8px;color:var(--ink);font-size:13px;text-align:left}.account-menu .icon{width:18px;height:18px}.auth-link{display:flex;justify-content:center;text-decoration:none;border-radius:8px;padding:14px;margin:20px 0;font-size:14px;font-weight:600}.danger-notice{padding:15px;border:1px solid #b45a54;border-radius:10px;background:#b45a5410;margin:18px 0 22px}.danger-notice b,.danger-text{color:#b45a54!important}.danger-notice p{margin-bottom:0}.danger-button{background:#a7433b;color:#fff;border-color:#a7433b}.danger-button:hover:not(:disabled){background:#8c332c!important}#reset-confirmation{width:100%;margin-top:10px}label[for=reset-confirmation]{font-size:13px}.link-prompt{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}.link-prompt button{font-size:13px}#connection-status{font-size:12px;line-height:1.6;color:var(--muted);min-height:18px}#connection-status button{font-size:12px;text-decoration:underline}html[data-theme=dark] .danger-notice b,html[data-theme=dark] .danger-text{color:#efa69d!important}html[data-theme=dark] .danger-button{background:#b95349;color:#fff;border-color:#b95349}.modal-actions{flex-wrap:wrap}@media(max-width:380px){.account-button{width:32px;height:32px}.avatar-initials{width:32px;height:32px;font-size:11px}}
/* Header alignment: logo, wordmark, date and controls share one center line. */
header{align-items:center}.identity{align-items:center}.brand{line-height:1;align-items:center}.brand span{display:block;line-height:1}.brand svg{display:block;flex-shrink:0}.identity time{display:block;line-height:1.25;align-self:center}nav{align-items:center}#streak{display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1;padding:8px 6px;border:0;margin-right:6px;min-height:36px;border-radius:9px;font-size:14px;font-weight:600}#streak .icon{display:block;width:23px;height:23px;margin:0;stroke:none;fill:none;vertical-align:middle}.flame-filled{stroke:none!important}.streak-hero{text-align:center;padding:18px 12px 20px;border:1px solid #dfb4784a;border-radius:18px;background:linear-gradient(140deg,#d6aa6512,#d6aa6504)}.streak-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--muted)}.streak-big{display:flex;align-items:center;justify-content:center;gap:12px;margin:12px 0 6px;line-height:1}.streak-big .icon{width:56px;height:66px}.streak-big strong{font:700 76px/1 'Space Grotesk',sans-serif;letter-spacing:-4px}.streak-big>span{font-size:18px;color:var(--muted);align-self:flex-end;margin-bottom:9px}.streak-hero p{margin:9px 0 13px;font-size:12px}.streak-record{font-size:11px;color:var(--muted)}.streak-record b{margin-left:8px;color:var(--ink)}.pulse-week{display:flex;justify-content:center;gap:12px;margin:17px 0 22px}.pulse-day{display:flex;flex-direction:column;gap:7px;align-items:center}.pulse-day small{font-size:10px;color:var(--muted)}.pulse-day>span{height:28px;width:28px;border-radius:50%;background:var(--line);display:grid;place-items:center}.pulse-day .icon{width:19px;height:19px}.pulse-day.on-time>span{background:#6ba66c24;color:#719b60}.pulse-day.failed>span{background:#b45a5420;color:#ba6c62}.quiet-dot{width:4px;height:4px;border-radius:50%;background:var(--muted);opacity:.4}.late-dot{width:11px;height:11px;border:2px solid #879d87;border-radius:50%}.stats-tabs{display:flex;background:var(--line);padding:4px;border-radius:10px;gap:4px}.stats-tabs button{flex:1;border:0;padding:9px 5px;font-size:11px;color:var(--muted)}.stats-tabs button[aria-pressed=true]{background:var(--bg);color:var(--ink);box-shadow:0 1px 6px #0001}.stats-subhead{display:flex;justify-content:space-between;align-items:center;margin:20px 0 10px;gap:8px}.stats-subhead h3{margin:0;font-size:13px}.stats-subhead>span{font-size:10px;color:var(--muted)}.awards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.award-stat{display:flex;flex-direction:column;align-items:center;gap:5px;border:1px solid var(--line);border-radius:12px;padding:13px 4px 10px}.award-stat .icon{width:25px;height:25px}.award-stat strong{font:600 23px/1.2 'Space Grotesk',sans-serif}.award-stat>span{font-size:10px;color:var(--muted)}.usage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;background:var(--line);border-radius:12px;margin-top:14px;padding:14px 5px}.usage-grid>div{display:flex;flex-direction:column;align-items:center;gap:5px}.usage-grid strong{font-size:21px;line-height:1.2}.usage-grid span{font-size:10px;color:var(--muted)}.stats-explainer{font-size:10px!important;line-height:1.6!important;color:var(--muted);margin:13px 0 16px}.stats-share{display:flex;gap:8px}.stats-share button{flex:1;padding:12px 8px;font-size:11px}#stats-share-status{font-size:11px;line-height:1.4;min-height:15px;color:var(--muted);margin:10px 0 0}.statistics-panel{clear:both}dialog:has(.statistics-panel){max-width:500px}html[data-theme=dark] .stats-tabs button[aria-pressed=true]{background:#26352a}html[data-theme=dark] .streak-hero{background:linear-gradient(140deg,#f4bb6c12,#f4bb6c03)}html[data-theme=dark] .streak-big strong{color:#f4e7cd}html[data-theme=dark] .pulse-day.on-time>span{color:#b4d79e}html[data-theme=dark] .usage-grid{background:#26342a}@media(max-width:750px){#streak{margin-right:auto}.identity .brand{line-height:1}.identity time{line-height:1.25}}@media(max-width:380px){.pulse-week{gap:9px}.stats-share{flex-direction:column}.streak-big strong{font-size:68px}}
.stats-card-preview{margin:0 0 14px;color:var(--muted);font-size:11px}.stats-card-preview summary{cursor:pointer;padding:5px 0}.stats-card-preview img{display:block;width:100%;max-width:320px;height:auto;margin:10px auto 0;border-radius:14px;border:1px solid var(--line)}

.rules-divider{border:0;border-top:1px solid var(--line);margin:25px 0 20px}.rules-divider+h3{margin-top:0}.result-dialog{border:0;margin:0;padding:0}.result-dialog h2{margin:10px 0}.pulse-day.on-time>span,.day.on-time,.day.on-time:hover:not(:disabled){background:#ffead4;border-color:#edbb86}html[data-theme=dark] .pulse-day.on-time>span,html[data-theme=dark] .day.on-time,html[data-theme=dark] .day.on-time:hover:not(:disabled){background:#593b25;border-color:#9b6538}.pulse-day>span{border:1px solid transparent}

dialog{position:relative;padding-top:48px}.close{position:absolute;top:12px;right:12px;float:none;width:32px;height:32px;display:grid;place-items:center;z-index:2}.result-dialog{width:100%}main{position:relative}.challenge-loading{position:absolute;inset:0;z-index:3;background:var(--bg);display:flex;align-items:center;justify-content:center;gap:12px;min-height:420px;font-size:14px}.loading-spinner{width:22px;height:22px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:loading-spin .8s linear infinite}article[aria-busy=true]{visibility:hidden;min-height:420px}@keyframes loading-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.loading-spinner{animation:none}}

.auth-options{display:flex;flex-direction:column;align-items:stretch;gap:14px;margin:22px 0}.auth-options .auth-link{text-align:center;margin:0}.auth-options #google-button{min-height:40px;display:flex;justify-content:center}.auth-options #continue-guest{border-color:var(--line)}#google-status{min-height:18px}.account-button img{object-fit:cover}

/* Shared account photo and provider choices. */
.avatar-initials{overflow:hidden}.avatar-initials img{display:block;width:100%;height:100%;border-radius:inherit;object-fit:cover}.provider-options{gap:12px}.provider-options .provider-button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:10px 16px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-size:14px;font-weight:500;transition:background .15s,border-color .15s}.provider-options .provider-button:hover{background:#f0f2ee;border-color:#b7c2b4}.provider-symbol{display:inline-block;width:21px;height:21px;flex-shrink:0}.openai-symbol{background:currentColor;mask:url('/openai.svg') center/contain no-repeat;-webkit-mask:url('/openai.svg') center/contain no-repeat}.provider-options #google-button{width:100%;min-height:48px;align-items:center;justify-content:center;padding:7px 0;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}.provider-options #google-button>div{max-width:100%}.provider-options .guest-option{min-height:42px;font-size:12px;border-color:transparent!important;color:var(--muted)}#google-status:empty{display:none}.provider-options:has(#google-button) .provider-button{order:1}.provider-options #google-button{order:0}.provider-options .guest-option{order:2}html[data-theme=dark] .provider-options .provider-button,html[data-theme=dark] .provider-options #google-button{background:#202124;color:#e8eaed;border-color:#5f6368}html[data-theme=dark] .provider-options .provider-button:hover{background:#303134;border-color:#8e918f}@media(max-width:380px){.provider-options .provider-button{font-size:13px}.provider-options{gap:10px}}
/* Keep Google's transparent iframe canvas transparent in the app's dark theme. */
.provider-options #google-button,.provider-options #google-button iframe{color-scheme:light}

.privacy-link{font-size:11px;color:var(--muted);text-underline-offset:3px}.provider-options #google-button:has(>button){padding:0;border:0;background:transparent}.provider-options #google-button>button{width:100%;margin:0}.provider-options #google-button .provider-symbol{width:20px;height:20px}

.site-footer{max-width:572px;margin:8px auto 0;padding:20px 24px 24px;border-top:1px solid var(--line);text-align:center;color:var(--muted);font-size:11px;line-height:1.6}.site-footer p{margin:8px 0 0}.site-footer a:hover{color:var(--ink)}#connection-status{text-align:center}#connection-status:empty{display:none}#rules svg{stroke-linecap:round;stroke-linejoin:round}@media(max-width:620px){.site-footer{margin-left:24px;margin-right:24px}}

.provider-options #microsoft-button{order:2}#microsoft-status:empty{display:none}.provider-options[aria-busy=true]{opacity:.65}

.empty-challenge{text-align:center;padding:80px 12px 90px}.empty-challenge h2{font-size:26px;line-height:1.35;margin:0 auto 14px}.empty-challenge p{font-size:14px;line-height:1.7;color:var(--muted);margin:0 0 24px}.empty-challenge button{font-size:12px}@media(max-width:600px){.empty-challenge{padding:64px 0 76px}.empty-challenge h2{font-size:24px}}

.word{column-gap:28px;row-gap:18px;align-items:flex-start}.word-unit{display:inline-flex;flex-direction:column;align-items:center;gap:7px;max-width:100%;min-width:0}.word-length{font-size:9px;line-height:1.3;letter-spacing:.03em;color:var(--muted);font-family:"DM Sans",sans-serif;font-weight:400}@media(max-width:600px){.word{column-gap:20px;row-gap:16px}.word-length{font-size:9px}}

/* Three page regions: the footer rests at the viewport bottom without covering play. */
.game-page{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.game-page>header{flex:0 0 auto;width:100%;max-width:none;margin:0;padding:24px max(24px,calc((100% - 1044px)/2));border-bottom:1px solid var(--line)}
.game-page>main{flex:1 0 auto;width:100%;margin:0 auto}
.game-page>.site-footer{flex:0 0 auto;width:100%;max-width:none;margin:0;padding:20px 24px max(24px,env(safe-area-inset-bottom));border-top:1px solid var(--line)}
.game-page nav button{height:36px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1;padding:0 10px;min-width:0;margin:0}
.game-page nav button svg{margin:0;vertical-align:initial;flex-shrink:0}
.game-page nav .streak{border:0;padding:0 3px;margin-right:2px}
.game-page nav #theme-toggle,.game-page nav #account{width:36px;padding:0;flex-shrink:0}
.game-page nav .avatar-initials{width:100%;height:100%}
.nav-label-short,.nav-label-tiny{display:none}
.provider-options .provider-button:disabled{opacity:.65;cursor:wait}.provider-options .provider-symbol.loading-spinner{width:20px;height:20px;border-width:2px}
.result-preview{display:block;width:auto;max-width:100%;max-height:56dvh;margin:0 auto 20px;border-radius:12px;object-fit:contain}.preview-loading{min-height:180px;display:grid;place-items:center}.share-preview-actions{display:flex;justify-content:center}.share-preview-status{color:var(--muted);font-size:12px;text-align:center}
@media(max-width:850px){
 .game-page>header{padding:18px 20px;flex-wrap:wrap;gap:18px}.game-page .identity{width:100%;justify-content:space-between;gap:12px}
 .game-page nav{width:100%;display:grid;grid-template-columns:max-content minmax(0,1fr) minmax(0,1fr) 36px 36px;gap:8px}
 .game-page nav button{font-size:11px;padding:0 6px;gap:5px}.game-page nav .streak{font-size:13px;padding-right:3px}
 .game-page nav #archive .nav-label-full{display:none}.game-page nav #archive .nav-label-short{display:inline}
 .game-page .brand{font-size:24px}.game-page time{font-size:11px}.game-page>.site-footer{margin:0}
}
@media(max-width:350px){.game-page>header{padding:16px 12px}.game-page nav{gap:5px}.game-page nav #rules .nav-label-full{display:none}.game-page nav #rules .nav-label-tiny{display:inline}.game-page .brand{font-size:22px}.game-page .identity{gap:7px}.game-page time{font-size:10px}}

.header-meta{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}.game-page .header-meta .streak{height:36px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 3px;margin:0;border:0;flex-shrink:0;font-size:14px;line-height:1}.header-meta .streak .icon{margin:0}
@media(max-width:850px){.game-page nav{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) 36px 36px}.game-page .identity{gap:8px}.header-meta{gap:8px}}
@media(max-width:420px){.game-page>header{padding-left:16px;padding-right:16px}.game-page .brand{font-size:22px}.game-page time{font-size:10px}.header-meta{gap:5px}.game-page .header-meta .streak{font-size:12px;padding:0;height:32px}.header-meta .streak .icon{width:18px;height:18px}}
@media(max-width:350px){.game-page>header{padding-left:12px;padding-right:12px}.game-page .brand{font-size:20px}.game-page .brand svg{width:25px}.game-page time{font-size:9px}.game-page .header-meta .streak{font-size:11px}}

.result-actions button,.share-preview-actions button,.stats-share button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.result-actions button .icon,.share-preview-actions button .icon,.stats-share button .icon{width:18px;height:18px;flex-shrink:0}
.game-page nav{gap:8px}.game-page nav button{padding-left:7px;padding-right:7px}
@media(max-width:850px){.game-page nav{grid-template-columns:max-content minmax(0,max-content) 36px 36px;justify-content:space-between;gap:7px}.game-page nav button{padding-left:6px;padding-right:6px}.game-page nav #archive .nav-label-full{display:inline}.game-page nav #archive .nav-label-short{display:none}}
@media(max-width:350px){.game-page nav{gap:5px}.game-page nav button{padding-left:4px;padding-right:4px;font-size:10px}}

/* Let labelled controls absorb the row width while keeping every gap equal. */
@media(max-width:850px){.game-page nav{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) 36px 36px;justify-content:stretch;gap:8px}.game-page nav button{width:100%;padding-left:5px;padding-right:5px}.game-page nav #rules,.game-page nav #archive{gap:5px}}
@media(max-width:350px){.game-page nav{gap:5px}.game-page nav button{padding-left:3px;padding-right:3px}}
.actions button{flex-direction:row;justify-content:center;gap:8px;min-height:64px;padding:16px 8px}.actions button .icon{width:23px;height:23px}.actions button>span{white-space:nowrap}.actions button small{margin-left:2px}
@media(max-width:380px){.actions{gap:6px}.actions button{gap:5px;padding:14px 4px;font-size:12px}.actions button>span{font-size:12px}.actions button .icon{width:20px;height:20px}.actions button small{font-size:9px}}

/* Pending keys acknowledge a tap without claiming a hit or miss. */
.key.pending:disabled{opacity:1;color:var(--ink);background:var(--line);border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);cursor:wait}

/* Voluntary support stays secondary to the result and the game controls. */
.support-nav{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 7px;color:inherit;border:1px solid var(--line);border-radius:8px;font-size:12px;text-decoration:none;white-space:nowrap}.support-nav .icon{width:17px;height:17px;flex-shrink:0;margin:0}.support-nav:hover{background:var(--line)}.support-invite{border-top:1px solid var(--line);margin:24px 0 0;padding:16px 0 2px;color:var(--muted);text-align:center}.support-invite>.icon{width:20px;height:20px;margin:0 auto 6px}.support-invite p{font-size:12px!important;line-height:1.5;margin:0 auto 10px;max-width:310px}.support-invite .support-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);border-radius:8px;padding:9px 12px;color:var(--ink);font-size:12px;text-decoration:none}.support-invite .support-link .icon{width:17px;height:17px}.support-invite .support-link:hover{background:var(--line)}
@media(max-width:850px){.game-page:not(.support-page) nav{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) 32px 36px 36px;gap:6px}.support-nav{padding:0}.support-nav>span{display:none}}
@media(max-width:420px){.game-page:not(.support-page) nav button{font-size:10px;padding-left:3px;padding-right:3px;gap:4px}.game-page:not(.support-page) nav #archive span{white-space:normal;line-height:1.15}}

.future-day{border-style:dashed!important}.future-day .mark:empty:after{content:'ADM';font-size:7px;letter-spacing:.5px;color:var(--muted)}

/* A zero-day streak stays discoverable without a lit flame. */
.flame-inactive path{fill:var(--muted)}.flame-inactive path+path{opacity:.45}

.game-intro{flex-basis:100%;width:100%;font-size:11px;color:var(--muted);margin:6px auto 0;max-width:620px;text-align:center}.game-intro summary{cursor:pointer}.game-intro p{line-height:1.7}.public-footer-links{display:inline-flex;gap:16px;margin:4px 12px}.info-page{width:100%;max-width:820px;margin:0 auto;text-align:left;line-height:1.8}.info-page h1{font-size:30px}.info-page h2,.public-faq h2{font-size:20px;margin-top:28px}.public-faq h3{font-size:15px;margin-bottom:8px}.info-page article{padding:0}.game-page dialog #modal-title{font-size:24px}.info-page a,.public-faq a{color:inherit}dialog[open]{max-height:90dvh;overflow:auto}

.community-footer-links{display:inline-flex;justify-content:center;flex-wrap:wrap;gap:16px;margin-left:16px}
.community-footer-links a{font-size:11px;color:var(--muted);text-underline-offset:3px}
.community-footer-links a:hover{color:var(--ink)}
.support-link{margin-top:16px}
.support-link .icon{width:17px;height:17px;flex-shrink:0}
.support-link:hover{background:var(--line)}
.analytics-consent{position:fixed;z-index:50;bottom:12px;right:12px;width:min(420px,calc(100% - 24px));padding:18px;border:1px solid var(--line,#657c68);border-radius:16px;background:var(--bg,#121715);color:var(--ink,#e7eee5);box-shadow:0 8px 36px #0003;font-size:13px;text-align:left}.analytics-consent[hidden]{display:none}.analytics-consent p{font-size:13px;line-height:1.5;margin:8px 0}.analytics-consent label{display:flex;gap:8px;align-items:center;margin:12px 0}.analytics-consent input{flex:0 0 auto;width:16px;height:16px;padding:0;margin:0;accent-color:var(--accent)}.analytics-consent>div{display:flex;gap:8px}.analytics-consent button{flex:1;padding:10px;font-size:13px}.analytics-preferences{font-size:11px;opacity:.75;display:inline-block;margin-top:5px}

.challenge-rating{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;margin:18px auto 0;color:var(--muted);font-size:11px;line-height:1.4}.challenge-rating>span{margin-right:4px}.challenge-rating button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;min-height:0;padding:7px;border:0;border-radius:6px;color:var(--muted);background:transparent;box-shadow:none}.challenge-rating button .icon{width:16px;height:16px;flex-shrink:0}.challenge-rating button[aria-pressed=true]{color:var(--accent);background:color-mix(in srgb,var(--line) 55%,transparent)}.challenge-rating button:hover:not(:disabled){background:var(--line)}.challenge-rating small{flex-basis:100%;font-size:10px;color:var(--muted)}.challenge-rating small:empty{display:none}.privacy-page .community-footer-links{margin:14px 0 0;display:flex;justify-content:flex-start}.privacy-page #community-modal h2,.community-dialog h2{font-size:23px}.privacy-page #community-modal .close{color:var(--ink)}@media(max-width:430px){.community-footer-links{display:flex;margin:12px 0 0;gap:18px}#community-modal,.community-dialog{padding-left:20px;padding-right:20px}}
.privacy-page footer .community-footer-links a{font-size:11px;color:var(--muted)}

.feedback-choices .feedback-emoji{font-style:normal;font-size:18px;line-height:1;margin-right:6px;vertical-align:-1px}
.game-page>.site-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;column-gap:12px;row-gap:6px;padding:14px 12px max(14px,env(safe-area-inset-bottom))}
.site-footer .community-footer-links{display:contents;margin:0}.site-footer>a,.site-footer .community-footer-links a{white-space:nowrap;margin:0}.site-footer>p{flex-basis:100%;margin:2px 0 0}
.challenge-rating{margin-top:9px}
@media(max-width:380px){.game-page>.site-footer{column-gap:9px;padding-left:10px;padding-right:10px}.site-footer>a,.site-footer .community-footer-links a{font-size:10px}}

/* Shared account, streak and rank cluster. Fixed slots avoid shifting the brand. */
.game-page>header{display:grid;grid-template-columns:minmax(0,1fr) max-content;grid-template-areas:"identity player" "identity navigation";gap:10px 16px;padding-top:14px;padding-bottom:14px}.player-controls{grid-area:player;justify-self:end;display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:152px;min-height:36px}.player-controls>button{height:36px;min-height:36px;padding:0 3px;display:inline-flex;align-items:center;justify-content:center;gap:4px;border:0;line-height:1;font-size:12px;flex-shrink:0}.player-controls #account{width:36px;border:1px solid var(--line);padding:0}.player-controls #account .avatar-initials{width:100%;height:100%}.player-controls .icon{width:19px;height:19px;margin:0}.player-controls #streak{font-size:12px;margin:0;min-height:36px}.player-controls #ranking{min-width:48px}.ranking-indicator .icon{color:#b28c43}.game-page>header>.identity{grid-area:identity;justify-self:start;width:auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px}.game-page>header>.identity .header-meta{justify-content:flex-start}.game-page>header>nav{grid-area:navigation;justify-self:end;display:flex;justify-content:flex-end;width:auto}.result-points{font-size:12px;margin:14px auto;max-width:350px;color:var(--muted)}.result-points summary{cursor:pointer}.result-points p{font-size:11px;margin:6px 0}.result-points a{color:inherit}.profile-offer{font-size:12px;text-align:center}.player-controls .player-avatar{width:34px;height:34px;border-radius:50%}
@media(max-width:1000px){.game-page>header{grid-template-columns:minmax(0,1fr) 152px;grid-template-areas:"identity player" "navigation navigation";gap:12px}.game-page:not(.support-page)>header>nav{grid-column:1/-1;justify-self:stretch;width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) 36px 36px;justify-content:stretch;align-items:center;gap:8px}.game-page:not(.support-page)>header>nav>*{width:100%;justify-content:center;text-align:center}.game-page>header>.identity{align-items:flex-start}.game-page>header .brand{font-size:23px}.game-page>header .identity time{font-size:10px}}
@media(max-width:380px){.game-page>header{padding:14px 12px;gap:10px 7px}.game-page>header .brand{font-size:18px;gap:5px}.game-page>header .brand svg{width:24px}.game-page>header .identity time{font-size:9px}.player-controls{gap:5px}.game-page>header>nav{gap:5px}.game-page>header nav #archive .nav-label-full{display:inline}.game-page>header nav #rules .nav-label-full{display:inline}.game-page>header nav #rules .nav-label-tiny{display:none}}

.player-controls #ranking{max-width:60px;overflow:hidden}.player-controls #streak{max-width:43px;overflow:hidden}.game-page:has(.info-page)>header{display:flex;justify-content:space-between}.game-page:has(.info-page)>header>.identity{align-items:flex-start}.game-page:has(.info-page)>header>nav{display:flex;width:auto}

.avatar-initials.player-emoji{font-size:24px;line-height:1}.account-card .avatar-initials.player-emoji{font-size:34px}

/* Wordmark and date form a single column beside the larger logo. */
.game-page>header>.identity .brand{gap:11px;min-width:0}
.game-page>header>.identity .brand svg{width:48px;height:56px}
.game-page>header>.identity .brand-copy{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}
.game-page>header>.identity .brand-copy time{font-family:"DM Sans",sans-serif;font-weight:400;font-size:12px;letter-spacing:0;line-height:1.25;align-self:flex-start}
@media(max-width:1000px){.game-page>header>.identity .brand{gap:8px}.game-page>header>.identity .brand svg{width:40px;height:48px}.game-page>header>.identity .brand-copy time{font-size:10px}}
@media(max-width:380px){.game-page>header>.identity .brand{font-size:17px;gap:6px}.game-page>header>.identity .brand svg{width:32px;height:40px}.game-page>header>.identity .brand-copy{gap:5px}.game-page>header>.identity .brand-copy time{font-size:8px}}

.ranking-announcement{border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:0 0 22px;font-size:12px}.ranking-announcement b{display:flex;align-items:center;gap:7px}.ranking-announcement p{color:var(--muted);line-height:1.5;margin:8px 0}.ranking-announcement .modal-actions{margin-top:10px;flex-wrap:wrap}.ranking-announcement .icon{width:18px;height:18px}

/* The three daily modes share the existing game surface and global controls. */
.mode-tabs{display:flex;gap:6px;align-items:stretch;width:100%;margin:0 auto 20px}.mode-tabs button{display:inline-flex;flex:1;min-width:0;align-items:center;justify-content:center;gap:6px;padding:10px 6px;font-size:12px;white-space:nowrap}.mode-tabs .icon{width:18px;height:18px;flex-shrink:0}.mode-tabs button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--bg)}.mode-tabs small{font-size:10px}.mode-intro{margin:0 0 20px}.mode-intro p{margin-top:0}.daily-summary{border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:18px auto;max-width:380px;text-align:left}.daily-summary h3{display:flex;align-items:center;gap:7px;font-size:14px;margin:0 0 12px}.daily-summary p{display:flex;align-items:center;gap:8px;margin:8px 0;font-size:12px}.daily-summary p b{margin-left:auto}.daily-summary .icon{width:17px;height:17px;flex-shrink:0}.daily-summary>button{display:flex;gap:8px;align-items:center;margin-top:12px;width:100%;justify-content:center}.daily-summary small{color:var(--muted);font-size:11px}.mode-editor textarea{width:100%;min-height:280px;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:12px;font:12px/1.5 monospace}.mode-editor form{display:block;max-width:none}.mode-editor label{display:block;margin:12px 0}.mode-editor input[type=checkbox]{width:auto}.mode-editor .modal-actions{flex-wrap:wrap}
@media(max-width:380px){.mode-tabs{gap:4px}.mode-tabs button{font-size:11px;gap:4px}.mode-tabs .icon{width:16px;height:16px}}

/* Shared modal frame: only the content scrolls; the close button stays anchored. */
dialog{--dialog-height:88vh;--dialog-height:88dvh;--dialog-bg:var(--bg);padding:0;overflow:hidden;max-height:var(--dialog-height)}
html[data-theme=dark] dialog{--dialog-bg:#1a221d}
dialog>.close{position:absolute;inset:12px 12px auto auto;float:none;z-index:10;display:grid;place-items:center;width:36px;height:36px;padding:0;margin:0;border:1px solid var(--line);border-radius:9px;background:var(--dialog-bg);color:var(--ink);line-height:1}
dialog>.close:hover{background:var(--line)}
dialog>#modal-content,dialog>#community-modal-content,dialog>#admin-detail-content{max-height:calc(var(--dialog-height) - 2px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable both-edges;padding:24px;min-width:0}
dialog #modal-title,dialog #community-title,dialog #admin-detail-title{text-align:left;padding-right:42px;line-height:1.3;margin:0 0 24px;font-family:'Space Grotesk',sans-serif;font-size:24px;font-weight:600;display:flex;align-items:center;gap:9px;min-width:0}
dialog #modal-title>.icon,dialog #community-title>.icon{width:24px;height:24px;flex-shrink:0}
dialog .modal-actions,dialog .result-actions,dialog .stats-share,dialog .share-preview-actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px}
dialog .modal-actions>button,dialog .stats-share>button{flex:0 1 auto}
dialog .stats-share>button{min-width:160px}
dialog .community-form .community-submit{display:block;width:auto;min-width:160px;margin:20px auto 0}
dialog .account-menu>button,dialog .account-menu>a{justify-content:flex-start;text-align:left}
dialog .dialog-action{display:flex;align-items:center;justify-content:center;gap:8px;max-width:100%;margin-left:auto;margin-right:auto}
dialog .dialog-action .icon{width:18px;height:18px;flex-shrink:0}
#modal .support-card{text-align:left}
#modal .support-card .support-primary{width:min(100%,320px);margin-left:auto;margin-right:auto}
#modal .support-card .support-disclaimer,#modal .support-card .support-status{text-align:center}
@media(max-width:420px){dialog>#modal-content,dialog>#community-modal-content,dialog>#admin-detail-content{padding:20px}dialog #modal-title,dialog #community-title,dialog #admin-detail-title{font-size:22px}}

/* The support slot is icon-only throughout the entire compact header breakpoint. */
@media(max-width:1000px){.game-page:not(.support-page)>header>nav .support-nav{min-width:0;width:36px;height:36px;padding:0;overflow:hidden}.game-page:not(.support-page)>header>nav .support-nav>span{display:none}}
@media(max-width:380px){.game-page:not(.support-page)>header>nav{gap:6px}.game-page:not(.support-page)>header>nav #rules,.game-page:not(.support-page)>header>nav #archive{padding:0 3px;gap:4px;font-size:10px}}

/* Mode navigation attaches directly to the header divider, rather than floating pills. */
.game-page>#mode-navigation{flex:0 0 auto;width:100%;padding:0 24px;margin:0;border-bottom:1px solid var(--line);background:var(--bg)}
.game-page>#mode-navigation>.mode-tabs{max-width:572px;margin:0 auto;border-bottom:0}
.mode-tabs{gap:0;border-bottom:1px solid var(--line);margin-bottom:20px}
.mode-tabs button{border:0;border-radius:0;background:transparent;padding:13px 8px;color:var(--muted);box-shadow:inset 0 -3px transparent}
.mode-tabs button[aria-pressed=true],.mode-tabs button[aria-pressed=true]:hover:not(:disabled){background:transparent;color:var(--accent);box-shadow:inset 0 -3px var(--accent)}
.mode-tabs button:hover:not(:disabled){background:transparent;color:var(--accent)}
.mode-tabs button:focus-visible{outline-offset:-4px}
@media(max-width:380px){.game-page>#mode-navigation{padding:0 14px}.mode-tabs button{padding:12px 5px}}

:root{--trinca-platinum:#426e91}html[data-theme=dark]{--trinca-platinum:#9fc5e0}
.trinca-trophy{color:var(--trinca-platinum);stroke:currentColor;fill:none}
.daily-summary.is-trinca{border-color:color-mix(in srgb,var(--trinca-platinum) 45%,var(--line))}
.daily-summary.is-trinca h3,.result .trinca-title{color:var(--trinca-platinum)}
.trinca-title{display:inline-flex;align-items:center;gap:7px}
.trinca-title .icon{width:20px;height:20px}
.calendar-trinca.icon{width:12px;height:12px;vertical-align:middle;margin-left:3px}
dialog .dialog-action{width:fit-content}
dialog #modal-content>button{display:flex;align-items:center;justify-content:center;gap:8px;margin-left:auto;margin-right:auto}

@media(max-width:420px){#modal .support-amounts{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* A continuous full-width strip avoids cutouts beside the centered mode tabs. */
.game-page>#mode-navigation .mode-tabs button[aria-pressed=true],.game-page>#mode-navigation .mode-tabs button[aria-pressed=true]:hover:not(:disabled){background:transparent;color:var(--accent)}
.game-page>#mode-navigation .mode-tabs button:hover:not(:disabled){background:transparent;color:var(--accent)}

/* Modal tabs share the continuous underline treatment of the game navigation. */
#modal-content>.mode-tabs{width:auto;margin-left:-24px;margin-right:-24px;padding-left:24px;padding-right:24px}
@media(max-width:420px){#modal-content>.mode-tabs{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}}

/* Wide viewports keep header actions compact and anchored to the right. */
@media(min-width:769px){.game-page:not(.support-page)>header>nav{display:flex;justify-self:end;justify-content:flex-end;width:auto;gap:8px}.game-page:not(.support-page)>header>nav>*{width:auto;flex:0 0 auto}.game-page:not(.support-page)>header>nav #theme-toggle{width:36px}.game-page:not(.support-page)>header>nav .support-nav{width:auto;padding:0 7px}.game-page:not(.support-page)>header>nav .support-nav>span{display:inline}}

/* Result headings remain centered independently of the fixed close button. */
dialog .result-dialog #modal-title{display:block;text-align:center;padding-right:0;padding-left:0}

/* Halloween: corner web and synchronized silk/spider, sized in SVG coordinates. */
.halloween-decoration{color:#31373d;pointer-events:none}
.halloween-web,.halloween-thread{color:#728278}
html[data-theme=dark] .halloween-decoration{color:#cbd5ce}
html[data-theme=dark] .halloween-web,html[data-theme=dark] .halloween-thread{color:#99aca0}
.halloween-spider{animation:halloween-climb 9s ease-in-out infinite}
.halloween-thread{transform-origin:101px 43px;animation:halloween-silk 9s ease-in-out infinite}
@keyframes halloween-climb{0%,15%,100%{transform:translateY(0)}50%,65%{transform:translateY(58px)}}
@keyframes halloween-silk{0%,15%,100%{transform:scaleY(1)}50%,65%{transform:scaleY(6.272727)}}
@media(prefers-reduced-motion:reduce){.halloween-spider{animation:none;transform:translateY(27px)}.halloween-thread{animation:none;transform:scaleY(3.454545)}}

.escalada-stages{display:block;width:100%;margin:0 auto}.escalada-stages.has-stage-navigation{display:flex;justify-content:center;align-items:center;gap:6px}.escalada-stages .category{margin:0;min-width:0}.escalada-stages:not(.has-stage-navigation) .category{width:100%}.escalada-stages button{border:0;padding:2px 7px;font-size:20px;line-height:1;color:var(--muted);flex:none}.escalada-stages button[hidden]{display:none}.escalada-stages button:disabled{opacity:.25}.escalada-stages button:focus-visible{outline-offset:0}
