.xmas-page{background:#f8fafc;color:#1e293b;font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif;line-height:1.7}
.xmas-main{width:min(960px,calc(100% - 32px));padding:28px 0 64px}
.xmas-main a{color:#4338ca;text-underline-offset:4px}
.xmas-intro{max-width:720px;margin-bottom:28px}
.xmas-crumb{font-size:14px;margin:0 0 24px}
.xmas-main h1{font-size:clamp(2.1rem,5vw,3.3rem);letter-spacing:-.025em;font-weight:700;line-height:1.15;margin:0 0 16px;text-wrap:balance}
.xmas-intro p{font-size:18px;margin:0 0 12px}
.xmas-intro .xmas-facts{font-size:14px;color:#526078}
.xmas-intro .xmas-byline,.xmas-rule-source{font-size:14px;color:#526078}
.xmas-game{background:#fff;border:1px solid #dbe2ed;border-radius:16px;overflow:hidden;scroll-margin-top:84px}
.xmas-in-match .xmas-intro,.xmas-in-match .xmas-crumb,.xmas-in-match .xmas-help,.xmas-in-match #gameMoreGamesSection{display:none}
.xmas-in-match .xmas-main{min-height:76vh}
.xmas-panel{padding:28px}
.xmas-game [hidden]{display:none!important}
.xmas-game h2{font-size:25px;font-weight:700;line-height:1.35;margin:0 0 18px}
.xmas-game label{display:block;font-size:15px;font-weight:700;margin-bottom:7px}
.xmas-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:22px}
.xmas-settings-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:20px;margin-bottom:24px}
.xmas-game input,.xmas-game select{font:inherit;color:#1e293b;border:1px solid #94a3b8;border-radius:8px;min-height:48px;width:100%;padding:9px 12px;background:#fff}
.xmas-game input{caret-color:#4338ca}
.xmas-game select{padding-right:30px}
.xmas-button{border:0;border-radius:8px;background:#4f46e5;color:white;font:inherit;font-weight:700;padding:12px 22px;min-height:48px;cursor:pointer}
.xmas-button:hover{background:#4338ca}
.xmas-button:disabled{opacity:.5;cursor:default}
.xmas-secondary{background:#eef2ff;color:#3730a3}
.xmas-secondary:hover{background:#e0e7ff}
.xmas-quiet{border:1px solid #cbd5e1;background:#fff;color:#334155}
.xmas-quiet:hover{background:#f1f5f9}
.xmas-game :focus-visible,.xmas-main a:focus-visible{outline:3px solid #b45309;outline-offset:4px}
.xmas-main ::selection{background:#e0e7ff;color:#1e1b4b}
.xmas-scoreboard{padding:20px 28px 0}
.xmas-round{font-size:14px;color:#526078;margin:0 0 12px}
.xmas-scores{display:grid;grid-template-columns:1fr 1fr;gap:16px;border-bottom:1px solid #dbe2ed;padding-bottom:20px}
.xmas-team-score{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.xmas-team-score span{overflow-wrap:anywhere}
.xmas-team-score strong{font-size:30px;line-height:1;font-variant-numeric:tabular-nums}
.xmas-team-score.current-team span{font-weight:700;color:#4338ca;text-decoration:underline;text-underline-offset:6px}
.xmas-ready{text-align:center;padding:38px 28px}
.xmas-ready p{max-width:580px;margin:0 auto 24px}
.xmas-live-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.xmas-clock{font-size:30px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums;color:#14532d}
.xmas-clock span{font-size:14px;font-weight:400;margin-left:6px;color:#526078}
.xmas-word{background:#14532d;color:#fffdf5;border-radius:12px;min-height:190px;padding:28px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:clamp(2rem,4.8vw,3.2rem);font-weight:700;line-height:1.25;overflow-wrap:anywhere;margin:0 0 20px;text-wrap:balance}
.xmas-actions{display:flex;flex-wrap:wrap;gap:12px}
.xmas-actions .xmas-button{flex:1}
.xmas-correct{background:#166534}
.xmas-correct:hover{background:#14532d}
.xmas-live-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;font-size:14px;color:#526078}
.xmas-live-footer button{font-size:14px;padding:6px 14px}
.xmas-summary{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0}
.xmas-summary h3{font-size:17px;font-weight:700;margin-bottom:10px}
.xmas-summary ul{padding-left:20px;margin:0}
.xmas-help{max-width:760px;margin:38px 0 0}
.xmas-help h2{font-size:26px;font-weight:700;margin:34px 0 16px}
.xmas-help li{margin:10px 0}
.xmas-help details{border-top:1px solid #dbe2ed;padding:17px 0}
.xmas-help summary{font-weight:700;cursor:pointer}
.xmas-help details p{margin-top:12px}
.xmas-noscript{padding:20px;background:#fff1f2;color:#881337}
.xmas-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:600px){.xmas-main{padding-top:20px}.xmas-panel{padding:22px 18px}.xmas-fields{gap:14px}.xmas-settings-row{grid-template-columns:1fr 1fr;gap:14px}.xmas-settings-row>div:first-child{grid-column:1/-1}.xmas-scoreboard{padding:18px 18px 0}.xmas-word{min-height:200px;padding:22px 18px}.xmas-live-footer{align-items:flex-start;flex-direction:column}.xmas-summary{grid-template-columns:1fr}.xmas-game h2{font-size:23px}.xmas-intro p{font-size:17px}.xmas-scores{gap:20px}}
@media(prefers-reduced-motion:reduce){.xmas-page *{scroll-behavior:auto!important}}
