:root{color-scheme:dark;color:#fbf1d6;background:#081b15;font-family:Trebuchet MS,Arial,sans-serif;--paper: #fbf1d6;--gold: #e9c77e;--line: #967b43;--serif: Georgia, "Times New Roman", serif;--content: min(90vw, 96rem)}*{box-sizing:border-box}body{margin:0;min-width:280px}button{color:inherit;font:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible{outline:3px solid white;outline-offset:4px}#root{min-height:100svh;background:radial-gradient(ellipse at 50% 45%,#1b3829,transparent 72%),#081b15;padding-bottom:clamp(1rem,3vh,3rem)}header{min-height:clamp(3.3rem,6.7vh,5rem);padding:.55rem max(5vw,calc((100vw - 96rem)/2));display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid #806536;background:#091a14}.wordmark{white-space:nowrap;font:bold italic clamp(1.45rem,2.3vw,2.25rem)/1 var(--serif);letter-spacing:-.06em}a.wordmark{color:inherit;text-decoration:none}.wordmark span{color:var(--gold);font-style:normal;margin-right:.13em}.screen-control{display:flex;align-items:center;gap:.65rem;padding:.45rem .8rem;background:transparent;border:1px solid #53624e;border-radius:2rem;font-size:clamp(.77rem,1.05vw,1.05rem)}.screen-control:hover{background:#23392b}.screen-icon{width:14px;height:11px;border:1px solid var(--gold);display:inline-block}.pair:not(.stacked)>span+span:before{content:" / ";color:#b5a47c;white-space:pre}.stacked>span{display:block}.stage{position:relative;isolation:isolate;display:grid;align-items:center;overflow:hidden;height:clamp(12rem,32vh,25rem);background:linear-gradient(0deg,#10251b,transparent 15%),linear-gradient(90deg,transparent,#0a210c min(18vw,20vh),#0a210c calc(100% - min(18vw,20vh)),transparent),url(/art/christmas-stage.webp) left 20% / auto 145% no-repeat,url(/art/christmas-stage.webp) right 20% / auto 145% no-repeat,#0a210c}.stage h1{position:relative;z-index:1;pointer-events:none;width:var(--content);margin:0 auto;display:grid;grid-template-columns:1fr 1fr;column-gap:min(24vw,44vh);text-align:center;font:normal clamp(2.15rem,min(4.2vw,7.2vh),5.3rem)/1.02 var(--serif);letter-spacing:-.035em;text-shadow:0 2px 12px #001307}.stage h1 em{display:block;color:var(--gold);font-weight:400}.year{position:absolute;inset:0 auto 0 50%;transform:translate(-50%);width:min(26vw,43vh);display:grid;place-content:center;text-align:center;background:url(/art/christmas-stage.webp) center 49% / auto 146% no-repeat;-webkit-mask-image:linear-gradient(to right,transparent 0%,black 18% 82%,transparent);mask-image:linear-gradient(to right,transparent 0%,black 18% 82%,transparent);font:italic bold clamp(2.8rem,7.4vh,6.2rem)/1 var(--serif);color:#f8db8c;letter-spacing:-.06em;text-shadow:0 2px 2px #432905,0 0 12px #5e4619}.year:before,.year:after{content:"✦";color:#dab46a;font: .24em/1.35 serif}.board{width:var(--content);max-width:100%;margin:clamp(1.35rem,2.8vh,2.2rem) auto 0}.question-wrap{position:relative}.question-wrap:before{content:"";position:absolute;top:50%;left:-2.5vw;right:-2.5vw;height:1px;background:linear-gradient(90deg,transparent,var(--gold) 8% 92%,transparent)}.panel,.show-active .show-options li{--cut: 1.45rem;--outline: linear-gradient(100deg, #78633b, #e1bd70 22%, #9c8049 55%, #e1bc74 86%, #795f37);--fill: linear-gradient(100deg, #16372b, #0d251e 65%, #183629);position:relative;isolation:isolate;background:var(--outline);border:0;clip-path:polygon(0 50%,var(--cut) 0,calc(100% - var(--cut)) 0,100% 50%,calc(100% - var(--cut)) 100%,var(--cut) 100%)}.panel:before,.show-active .show-options li:before{content:"";position:absolute;top:1.5px;right:2px;bottom:1.5px;left:2px;z-index:-1;clip-path:inherit;background:var(--fill)}.show-active .show-options li{--cut: clamp(.7rem, 1.4vw, 1.6rem);padding-inline:calc(var(--cut) + .35em);border-radius:0}.show-active .show-options li.correct{--outline: #f8d985;--fill: linear-gradient(100deg, #38633f, #21472f)}.show-question-text{container-type:inline-size;min-width:0}@container (min-width: 27rem){.show-options:has(>li:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:1000px)and (min-aspect-ratio:3/2){.show-active:has(.show-question-layout) .stage{height:clamp(3rem,6vh,5rem)}.show-active:has(.show-question-layout) .stage h1{font-size:clamp(1.35rem,3.5vh,2.3rem)}.show-active .show-board:has(.show-question-layout){width:min(94vw,110rem);margin-top:.55rem}.show-board:has(.show-question-layout) .show-round-heading{margin-bottom:.25em}.show-board:has(.show-question-layout) .show-round-heading h2{font-size:clamp(1.4rem,3.5vh,2.55rem)}.show-board:has(.show-question-layout) .show-round-heading h2 .stacked>span{display:inline}.show-board:has(.show-question-layout) .show-round-heading h2 [lang=ru]:before{content:" / ";color:var(--gold)}.show-active .show-board .show-round-rules{margin-block:.3em}.show-active .show-question-meta{padding-block:.3em}.show-active .show-question-layout.has-media{align-items:center;padding:.55em .7em}.show-active .has-media .show-prompt{font-size:clamp(1.35rem,3.1vh,2.2rem)}.show-active .has-media .show-options{gap:.3em;margin-top:.45em}.show-active .show-media :is(img,video),.show-active .show-youtube-stage{max-height:38vh}.show-active .show-question-actions{margin-block:.45em}}.question{--cut: clamp(1.4rem, 2.4vw, 2.8rem);--fill: radial-gradient(ellipse at 50% 10%, #294637, #132e23);padding:clamp(1.25rem,2.5vh,2.4rem) max(2rem,4vw) clamp(.9rem,1.9vh,2rem);text-align:center}.question h2,.message h2{margin:0;font:normal clamp(1.28rem,min(2.35vw,4.1vh),3rem)/1.2 var(--serif)}.question .stacked>span+span{margin-top:.18em}.counter{position:absolute;z-index:1;left:50%;top:0;transform:translate(-50%,-50%);display:flex;align-items:baseline;white-space:nowrap;gap:.55em;padding:.27rem .9rem;border:1px solid #b39050;border-radius:1rem;background:#172c20;text-transform:uppercase;font:bold clamp(.68rem,.9vw,1rem)/1.05 "Trebuchet MS",sans-serif;color:#f0d395;letter-spacing:.1em}.total{font-weight:400;letter-spacing:0}.choices{margin-top:clamp(.8rem,1.8vh,1.65rem);display:grid;grid-template-columns:1fr 1fr;gap:clamp(.5rem,1.4vh,1.1rem) 1.4vw}.choice{display:flex;align-items:center;text-align:left;gap:clamp(.7rem,1.45vw,1.8rem);min-height:clamp(4rem,10vh,7.8rem);padding:.7rem clamp(1.45rem,2.25vw,2.9rem);font-size:clamp(1rem,min(1.75vw,3vh),2.2rem);line-height:1.22}.choice .stacked>span+span{margin-top:.12em}.letter{color:var(--gold);flex:0 0 1.75em;text-align:center;padding-right:.6em;border-right:1px solid #8e7950;font:italic bold 1.48em/1.12 var(--serif)}.choice:hover:enabled,.choice:focus-visible,.choice.picked{--fill: linear-gradient(100deg, #5f2932, #47222a);--outline: #f5d596}.choice:focus-visible{--outline: #fff;text-decoration:underline}.choice.correct{--fill: linear-gradient(100deg, #376343, #1e472d);--outline: #f6dd8f}.check{color:#ffe7ab;margin-left:auto}footer{border-top:1px solid #40513d;margin:clamp(.85rem,2.5vh,2rem) auto 0;padding-top:clamp(.75rem,1.8vh,1.7rem);display:flex;align-items:center;justify-content:space-between;gap:1rem}.status{display:flex;align-items:center;gap:.6rem;font-size:clamp(.9rem,1.2vw,1.35rem);color:#dddcc9}.signal{color:var(--gold);font-size:1.25em}.action{display:inline-flex;align-items:center;justify-content:center;gap:1.2rem;background:#f1d38d;border:1px solid #f9e3ad;border-radius:4px;color:#213024;padding:.68em 1.2em;font-size:clamp(.94rem,1.18vw,1.4rem);font-weight:700}.action .pair>span+span:before{color:#736339}.action:enabled:hover{background:#ffe7ae}.action:disabled{opacity:.75}.message{padding:2rem 1rem;text-align:center}.message .action{margin-top:1.4rem}@media(min-width:1900px){.board,.stage h1{width:84vw;max-width:112rem}}@media(max-width:720px){:root{--content: 94vw}header{padding-inline:4vw}.stage{height:10rem}.stage h1{font-size:clamp(1.35rem,4.2vw,2rem);column-gap:21vw}.year{width:33vw;background-size:auto 97%;font-size:2.35rem}.panel{--cut: 1rem}.choice{gap:.6rem}}@media(max-width:560px){.stage{height:auto;padding:6.75rem 0 1rem}.stage h1{display:block;font-size:clamp(1.4rem,6vw,1.85rem);line-height:1.12}.stage h1>span{display:block}.stage h1 em{display:inline}.year{width:9rem;height:6.7rem;font-size:1.9rem;background-size:auto 148%}.choices{grid-template-columns:1fr;gap:.48rem}.choice{min-height:3.65rem}.question{padding-inline:1.5rem}footer{flex-wrap:wrap;justify-content:center}.action{min-height:44px}.screen-control{min-height:36px}}nav,.round-tools,.team-picks,.score-strip{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem}nav{justify-content:flex-end}a.screen-control{color:inherit;text-decoration:none}.team-mode .stage{height:clamp(7rem,17vh,13rem)}.team-mode .stage h1{font-size:clamp(1.65rem,3vw,3rem)}.team-mode .year{width:min(24vw,22vh);font-size:clamp(2rem,4.5vh,4rem)}.team-game h2,.team-setup h2{font-family:var(--serif);font-weight:400}.team-setup{max-width:48rem}.team-setup h2,.team-game>h2{font-size:clamp(1.6rem,3vw,3rem);margin:.35em 0}fieldset{border:0;margin:0;padding:0;min-width:0}.name-row{display:grid;grid-template-columns:minmax(8rem,auto) 1fr 2.6rem;gap:.65rem;align-items:center;margin:.6rem 0}.name-row input{min-width:0;font:inherit;padding:.65em;color:var(--paper);background:#132d23;border:1px solid var(--line);border-radius:4px}.remove,.quiet,.team-picks button{background:#173428;border:1px solid #8d794f;border-radius:4px;padding:.45em .8em}.remove{font-size:1.3rem;padding:.25em}.quiet:hover,.team-picks button:hover{border-color:var(--gold)}.team-mode p[role=alert]{color:#ffcfb8}.round-tools{justify-content:space-between;margin-bottom:1.15rem}.round-tools b{margin-left:.3rem;color:var(--gold)}.answer-result,.marking legend{margin:.5rem 0}.team-picks button[aria-pressed=true]{background:#f1d38d;color:#14281a}.score-strip span,.team-picks button,.winners,td,th,.history li{overflow-wrap:anywhere}.score-strip span{padding:.25em .55em;border-left:1px solid var(--line)}.score-strip b,.winners{color:var(--gold)}.team-game .table-wrap{overflow-x:auto;font-size:clamp(1rem,1.35vw,1.6rem)}.team-game table{border-collapse:collapse;width:100%}.team-game caption{text-align:left;margin:.6rem 0}.team-game th,.team-game td{padding:.5em;text-align:left;border-bottom:1px solid #40513d}.team-game thead{color:var(--gold)}.history{padding:0;list-style:none}.history li{display:grid;grid-template-columns:2em 1fr auto;align-items:center;gap:.5rem;padding:.45rem 0;border-bottom:1px solid #40513d}.correction{grid-column:1 / -1;background:#193528;padding:1rem}.correction .action{margin:.7rem .5rem 0 0}@media(max-width:560px){header{flex-wrap:wrap;gap:.4rem}nav{justify-content:flex-start;gap:.3rem}.team-mode .stage{height:auto;padding:.75rem 0}.team-mode .year{display:none}.team-mode .stage h1{font-size:1.45rem}.name-row{grid-template-columns:1fr 2.6rem}.name-row label{grid-column:1 / -1}.team-game th,.team-game td{padding:.35em}}.show-setup,.show-board,.show-private{width:var(--content);margin:clamp(1rem,2.6vh,2rem) auto 0;--soft-line: #627464;--muted: #dfd9c4}.show-setup{max-width:68rem}.show-setup h2,.show-private h1,.show-round-heading h2,.show-winner h2{font:normal clamp(1.55rem,2.7vw,3.3rem)/1.08 var(--serif);margin:0}.show-start,.show-round-heading{display:flex;align-items:center;justify-content:space-between;gap:.85rem 1rem;flex-wrap:wrap;margin-bottom:.8rem}.show-start p,.show-round-heading p{margin:.55rem 0 0}.show-active .stage{height:clamp(4.8rem,10.2vh,8.5rem)}.show-active .stage h1{font-size:clamp(1.4rem,min(3.1vw,5.2vh),3.6rem)}.show-active .year{font-size:clamp(1.8rem,4.2vh,3.8rem)}.show-active .stage h1 em{display:inline}.show-board{font-size:clamp(1rem,min(1.28vw,2.4vh),1.6rem);overflow-wrap:anywhere}.show-board p{margin-block:.75em}.show-start .action{text-decoration:none}.show-details{padding:.65em 0;border-top:1px solid var(--soft-line);margin:.75em 0}.show-details summary{width:fit-content;cursor:pointer;color:var(--gold);padding-block:.15em}.show-details p{line-height:1.4}.show-roster,.show-modes,.show-estimates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin-block:.85rem}.show-modes{grid-template-columns:repeat(2,minmax(0,1fr))}.show-modes label{display:flex;align-items:flex-start;gap:.5rem;padding:.6rem;border:1px solid var(--soft-line);border-radius:.3rem}.show-modes input{margin-top:.25rem;accent-color:var(--gold)}.show-roster label,.show-estimates label,.show-private label,.show-dialog label,.creation-code{display:grid;gap:.4rem;min-width:0}.show-roster legend,.show-modes legend,.show-estimates legend,.show-question-actions legend{padding:0 0 .45rem;font-weight:700}.show-roster input,.show-estimates input,.show-private :is(input,textarea),.show-dialog input,.creation-code input{min-width:0;width:100%;padding:.65em .7em;font:inherit;color:var(--paper);background:#102a20;border:1px solid var(--line);border-radius:.3rem}.creation-code{max-width:30rem;margin-block:.85rem}.show-private textarea{resize:vertical}.show-private{max-width:36rem;padding:0 .25rem;line-height:1.4}.show-private label{margin-bottom:.85rem}.show-private .action{min-height:44px}.show-setup a:focus-visible,.show-board :is(a,summary,input):focus-visible,.show-private :is(input,textarea):focus-visible{outline:3px solid white;outline-offset:3px}:is(.show-setup,.show-board,.show-private) [role=alert]{color:#ffceb5}.show-view-only,.show-round-rules{color:var(--muted)}.show-round-rules{line-height:1.35}.show-demo{font-weight:700;color:var(--gold)}.show-rounds{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(.55rem,1vw,1.25rem)}.show-round-choice{min-height:7em;text-align:left;display:grid;grid-template-columns:auto minmax(0,1fr);align-content:center;align-items:baseline;gap:.45em .65em;padding:.75em;border:1px solid var(--line);border-radius:.25rem;background:linear-gradient(145deg,#2a4635,#152d24 75%)}.show-round-choice:hover:enabled{background:#32553e;border-color:var(--gold)}.show-round-choice:disabled{border-color:var(--soft-line);background:#142a21;color:var(--muted)}.show-round-choice strong{font:normal 1.23em/1.1 var(--serif)}.show-round-choice small{grid-column:2;color:var(--muted);font-size:.75em}.show-round-index{color:var(--gold);font:italic 1.1em var(--serif)}.show-scores{margin:1em 0}.show-scores table{width:100%;border-collapse:collapse;text-align:left}.show-scores th,.show-scores td{border-bottom:1px solid var(--soft-line);padding:.35em .55em}.show-scores thead{color:var(--muted);font-size:.82em}.show-scores thead th{overflow-wrap:normal}.show-scores thead th:not(:nth-child(2)){width:1%}.show-scores thead .pair{white-space:nowrap}.show-scores .total-score,.show-winner{color:var(--gold);font-weight:700}.show-scores .award{color:#e3eec3}.show-scores .negative{color:#ffc6af}.show-scores td{font-variant-numeric:tabular-nums}.show-scores th:last-child,.show-scores td:last-child{text-align:right}.show-winner{text-align:center;padding:1.15em .65em;border-block:1px solid var(--line);background:radial-gradient(ellipse at center,#3a5031,transparent 75%)}.show-winner>p{margin-block:.25em 0;font:bold clamp(2rem,4vw,5.25rem)/1.08 var(--serif)}.show-final-scores table{margin-top:.6em}.show-finished .show-round-heading{margin-top:1.5rem}.show-question-meta,.show-clock,.show-tools{display:flex;align-items:center;flex-wrap:wrap;gap:.6em 1em}.show-question-meta{justify-content:space-between;border-top:1px solid var(--soft-line);padding:.6em .1em;color:var(--muted)}.show-question-meta b,.show-clock [role=timer]{color:var(--gold)}.show-clock [role=timer]{font:bold 1.65em/1 var(--serif);font-variant-numeric:tabular-nums}.show-clock.low,.show-clock.low [role=timer]{color:#ffc6af}.show-question-layout{padding:.85em;border:1px solid var(--line);background:#142e24;border-radius:.3rem}.show-question-layout.has-media{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:1em;align-items:center}.show-prompt{font:normal clamp(1.48rem,min(2.4vw,4.3vh),3.3rem)/1.13 var(--serif);margin:0}.show-prompt .stacked>span+span{margin-top:.25em}.show-options,.show-hints,.show-readiness,.show-estimate-results{padding:0;list-style:none}.show-options{display:grid;gap:.45em;margin:.75em 0 0}.show-options li{display:flex;align-items:center;gap:.75em;padding:.5em .65em;border:1px solid var(--soft-line);border-radius:.25rem;background:#193a2d;font-size:1.06em}.show-options .correct{background:#305735;border-color:var(--gold)}.show-option-letter{color:var(--gold);font:bold italic 1.45em/1 var(--serif)}.show-option-correct{margin-left:auto;font-size:.75em}.show-hints li{padding:.5em .6em;border-left:2px solid var(--gold);margin:.5em 0;background:#213f31}.show-hints li:before{content:counter(list-item);float:left;margin-right:.6em;color:var(--gold)}.show-hints .pair{display:block;margin-left:1.2em}.show-question-actions{margin:.8em 0}.show-question-actions .action{margin-block:.4em}.show-answer{margin:.85em 0;border-left:3px solid var(--gold);background:#213f2b;padding:.75em}.show-answer h4{color:var(--gold);margin:0;font-size:1.12em}.show-answer p{margin:.35em 0;font-size:1.15em}.show-readiness,.show-estimate-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5em}.show-readiness li,.show-estimate-results li{display:grid;gap:.3em;background:#203a2b;padding:.6em;border-radius:.25rem}.show-readiness strong,.show-estimate-results b{color:var(--gold)}.show-wagers .show-prompt,.show-wagers>p:first-child{color:var(--gold)}.show-source,.show-media figcaption{display:flex;flex-wrap:wrap;gap:.25em .5em;font-size:.78em;color:var(--muted)}.show-source a,.show-media a{color:#ffe5a6}.show-media{min-width:0;margin:0;display:grid;gap:.45em;justify-items:start}.show-media+.show-media{margin-top:.8em}.show-media :is(img,video){display:block;width:100%;max-height:min(46vh,38rem);object-fit:contain;background:#071a12;border-radius:.25rem}.show-media video{aspect-ratio:16 / 9}.show-media audio{width:100%}.show-youtube-stage{position:relative;display:grid;place-items:center;width:100%;min-height:200px;aspect-ratio:16 / 9;background:#071a12;border-radius:.25rem;text-align:center}.show-youtube-stage>p{padding:.5em}.show-youtube-player{position:absolute;top:0;right:0;bottom:0;left:0}.show-youtube-player[hidden]{display:block;visibility:hidden}.show-youtube-player iframe{display:block;width:100%;height:100%;border:0}.show-media-error{padding:.5em;border:1px solid var(--soft-line)}.show-dialog{width:min(93vw,37rem);color:var(--paper);background:#142e24;border:1px solid var(--gold);border-radius:.35rem}.show-dialog::backdrop{background:#000b}.show-dialog form{margin-top:.6em}.clipboard-field{position:fixed;top:0;left:0;width:1px;height:1px;opacity:0;pointer-events:none}@media(min-width:1200px){.show-question-layout:not(.has-media) .show-prompt>.stacked{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85em;text-wrap:pretty}.show-question-layout:not(.has-media) .show-prompt .stacked>span+span{margin-top:0}div.show-question-actions{display:flex;align-items:end;justify-content:space-between;gap:.75em}div.show-question-actions .action{flex-shrink:0;margin-block:0}}@media(max-width:950px){.show-rounds{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.show-question-layout.has-media,.show-roster,.show-modes,.show-estimates{grid-template-columns:1fr}.show-roster label,.show-estimates label{gap:.25rem}.show-active .stage{height:auto;min-height:4rem;padding:.75rem 0}.show-active .year{display:none}.show-scores th,.show-scores td{padding-inline:.3em}.show-scores thead .pair>span{display:block;white-space:normal}.show-scores thead .pair>span+span:before{content:none}.show-board :is(.quiet,.team-picks button),.show-setup summary,.show-board summary{min-height:44px}.show-details summary{padding-block:.65em}}@media(max-width:380px){.show-readiness,.show-rounds{grid-template-columns:1fr}.show-round-choice{min-height:auto}}
