*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.5}button:focus-visible,input:focus-visible{outline-offset:4px;outline:3px solid #ffbb5c}main{max-width:1080px;min-height:100dvh;margin:auto;padding:0 24px}header{border-bottom:1px solid #2b2c33;justify-content:space-between;align-items:center;gap:16px;min-height:106px;display:flex}.brand{letter-spacing:-.6px;font-size:20px;font-weight:900;line-height:1}.brand span{color:#ff454a;font-size:33px;line-height:1.05;display:block}.outline{color:#fff;background:#202128;border:1px solid #484953;border-radius:12px;padding:12px 18px;font-weight:700}.badge{background:#363740;border-radius:6px;margin-left:8px;padding:3px 7px;font-size:14px}.panel{background:#1b1c23;border:1px solid #34353e;border-radius:22px;padding:30px}.setup{max-width:580px;margin:50px auto}.eyebrow{letter-spacing:1.6px;color:#b8b9c6;font-size:14px;font-weight:700}.steps{gap:8px;margin:20px 0 35px;display:flex}.steps span{background:#41424a;border-radius:4px;flex:1;height:4px}h1{letter-spacing:-1.3px;margin:14px 0;font-size:clamp(30px,5vw,44px);line-height:1.12}h2{margin:0;font-size:23px;font-weight:700}p{color:#c2c3ce;font-size:16px;line-height:1.6}.field{color:#d5d6e1;flex-direction:column;gap:9px;margin:20px 0;font-size:14px;font-weight:700;display:flex}.field input{color:#fff;background:#111218;border:1px solid #555662;border-radius:11px;width:100%;min-width:0;padding:15px;font-size:20px;line-height:1.2}.primary{color:#fff;background:#ed3438;border:0;border-radius:12px;width:100%;margin-top:15px;padding:17px;font-size:16px;font-weight:700}.textButton{color:#cbcddc;text-underline-offset:4px;background:0 0;border:0;padding:12px 4px;font-size:14px;text-decoration:underline}.setupFooter{justify-content:space-between;display:flex}.names{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;display:grid}.rule{color:#bfc0cc;border-left:3px solid #ff4146;padding:8px 16px;font-size:16px;line-height:1.5}.play{text-align:center;flex-direction:column;align-items:center;min-height:calc(100dvh - 180px);padding-top:38px;display:flex}.buttonStage{justify-content:center;width:100%;padding:65px 0 35px;display:flex}.eventButton{aspect-ratio:1;background:radial-gradient(circle at 40% 25%,#ff6266,#e71b23 66%,#b80e16);border:10px solid #272932;border-radius:50%;width:clamp(210px,54vw,310px);transition:transform .12s,box-shadow .12s;box-shadow:0 12px #78090d,0 17px 0 9px #212228,0 30px 70px #ed343824,inset 0 4px 3px #ff9595,inset 0 -8px 15px #850e1b}.eventButton:active{transform:translateY(8px)}.eventButton:disabled{opacity:1}.playing{animation:1.1s ease-in-out infinite pulse}@keyframes pulse{50%{filter:brightness(1.15)}}.eventState{margin-top:15px;font-size:20px;font-weight:700}.muted{color:#a9abba;font-size:14px}.eventResult{max-width:440px;margin:10px auto}.eventResult p{font-size:14px}.scorePage{padding:32px 0}.sectionHeading{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.leaders{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:25px 0;display:grid}.player{background:#1b1c23;border:1px solid #373842;border-radius:16px;grid-template-columns:34px 1fr;align-items:center;gap:10px;padding:18px;display:grid}.avatar{color:#ff8d90;background:#3d2b32;border-radius:8px;place-items:center;width:32px;height:32px;font-weight:700;display:grid}.player strong{grid-column:1/-1;font-size:34px;line-height:1.2}.player small{color:#a9abba;font-size:14px;font-weight:400}.meter{background:#3a3b45;border-radius:5px;grid-column:1/-1;height:5px;overflow:hidden}.meter span{background:#ff454a;height:100%;display:block}.round{margin:25px 0}.hint{color:#a9abba;font-size:14px}.transcript{border-left:2px solid #ff4146;padding:8px 14px}.error{background:#381e25;border:1px solid #a24c52;border-radius:10px;max-width:700px;margin:20px auto;padding:16px;line-height:1.5}.error button{color:#fff;margin-left:12px}.finish{background:#2c261b;border:1px solid #cc9c51;border-radius:16px;margin:20px 0;padding:22px}.finish strong{font-size:23px}.finish p{margin-bottom:0}.history{margin:25px 0}.tableScroll{margin-top:20px;overflow:auto}table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%;font-size:16px}th,td{border-bottom:1px solid #393a43;padding:14px}tfoot{color:#ff8588;font-weight:700}footer{text-align:center;color:#838592;letter-spacing:2px;padding:25px 0;font-size:12px}@media (width<=550px){main{padding:0 18px}header{min-height:90px}.setup{margin:28px auto}.panel{padding:22px}.names{gap:0 12px}.sectionHeading{flex-wrap:wrap}.leaders{grid-template-columns:repeat(2,minmax(0,1fr))}.player{padding:14px;font-size:14px}.player strong{font-size:30px}.buttonStage{padding-top:55px}.play{padding-top:28px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#071b2b;background:#087a83;font-family:Trebuchet MS,Arial,sans-serif}body{background:linear-gradient(#087a8380,#073645b3),url(/spielbrett.png) 50%/cover fixed;min-height:100dvh}main{padding-bottom:calc(var(--keyboard-space,0px) + env(safe-area-inset-bottom))}header{border:0;min-height:110px}.brand{color:#071b2b;background:#ffcf42;border:3px solid #071b2b;border-radius:10px;padding:9px 14px;font-weight:900;transform:rotate(-3deg);box-shadow:4px 4px #071b2b}.brand span{color:#e52b31;text-shadow:1px 1px #071b2b}.panel,.player{background:#fff9e9;border:3px solid #071b2b;border-radius:18px;box-shadow:5px 5px #071b2b}.setup{margin-top:35px}h1,h2{color:#071b2b;font-weight:900}p,.rule{color:#31434d}.eyebrow{color:#12545e;font-weight:900}.steps span{background:#d9d3b9}.steps .active{background:#f4a226}.outline{color:#071b2b;background:#ffcf42;border:3px solid #071b2b;border-radius:10px;box-shadow:3px 3px #071b2b}.badge{color:#fff9e9;background:#071b2b}.field{color:#071b2b}.field input,.field textarea{color:#071b2b;font:inherit;background:#fff;border:2px solid #071b2b;border-radius:9px;width:100%;min-width:0;padding:15px;scroll-margin-block:100px;font-size:20px}.field input::placeholder{color:#68737a}.primary{background:#e52b31;border:3px solid #071b2b;border-radius:10px;box-shadow:3px 4px #071b2b}.textButton{color:#12545e;font-weight:700}.rule{border-left-color:#e52b31}.play{background:#fff9e9ed;border:3px solid #071b2b;border-radius:24px;min-height:calc(100dvh - 200px);margin-top:15px;padding:30px 18px 24px;box-shadow:5px 5px #071b2b}.eventState{color:#071b2b}.eventButton{border-color:#071b2b;box-shadow:0 12px #830e16,0 17px 0 9px #071b2b,0 30px 60px #071b2b24,inset 0 4px 3px #ff9595,inset 0 -8px 15px #850e1b}.muted,.hint{color:#405963}.scorePage>.sectionHeading{background:#fff9e9;border:3px solid #071b2b;border-radius:14px;padding:20px;box-shadow:4px 4px #071b2b}.avatar{color:#071b2b;background:#13a6a5;border:2px solid #071b2b}.player:nth-child(4n+2) .avatar{background:#ffbd43}.player:nth-child(4n+3) .avatar{background:#bba0e2}.player:nth-child(4n) .avatar{background:#b7d16b}.player small{color:#405963}.meter{background:#ded8c5}.meter span{background:#e52b31}.finish{color:#071b2b;background:#ffe395;border:3px solid #071b2b}.error{color:#721b28;background:#ffe0d7;border:2px solid #721b28}.error button{color:#721b28}.recording{color:#b52130}.transcript{border-color:#087a83}.speechHelp{color:#071b2b;background:#ffebac;border:2px solid #071b2b;border-radius:9px;padding:12px}.dictation{border:2px dashed #087a83;border-radius:12px;margin:20px 0;padding:15px}.dictation summary{cursor:pointer;font-size:16px;font-weight:700}.dictation textarea{resize:vertical;min-height:90px}th,td{border-color:#d0c6a6}thead{color:#405963}tfoot{color:#a7222d}footer{color:#fff9e9;text-shadow:1px 1px 2px #071b2b;font-weight:700}@media (width<=550px){body{background-size:auto 100dvh;background-attachment:scroll}main{padding-inline:16px}.panel{padding:22px 18px}.names{grid-template-columns:1fr;gap:0}.names .field{margin:12px 0}.play{min-height:calc(100dvh - 195px)}.buttonStage{padding-top:40px}.setup{margin-top:24px}header{padding-top:env(safe-area-inset-top);min-height:100px}.scorePage>.sectionHeading{padding:16px}.field input,.field textarea{font-size:20px}.eventButton{width:clamp(190px,58vw,270px)}}.savedNotice{color:#174332;background:#e0f5d3;border:2px solid #174332;border-radius:12px;margin:20px 0;padding:16px;font-weight:700;line-height:1.6}.winnerDialog{color:#071b2b;text-align:center;background:#fff9e9;border:4px solid #071b2b;border-radius:24px;width:min(440px,100vw - 32px);max-height:calc(100dvh - 36px);margin:auto;padding:34px 28px;animation:.22s ease-out winnerEnter;position:fixed;inset:0;overflow:auto;box-shadow:8px 8px #071b2b}.winnerDialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#071b2bce}.winnerIcon{color:#071b2b;background:#ffcf42;border:3px solid #071b2b;border-radius:50%;place-items:center;width:100px;height:100px;margin:0 auto 24px;display:grid;box-shadow:4px 4px #071b2b}.winnerDialog h2{margin:12px 0 20px;font-size:30px;line-height:1.15}.winnerNames{overflow-wrap:anywhere;color:#087a83;font-size:clamp(28px,8vw,42px);font-weight:900;line-height:1.15}.winnerPoints{background:#ffe395;border:2px solid #071b2b;border-radius:14px;margin:24px 0 16px;padding:16px;font-size:52px;font-weight:900;line-height:1.1}.winnerPoints span{margin-top:6px;font-size:16px;font-weight:700;display:block}.winnerClose{color:#071b2b;background:0 0;border:0;min-width:44px;min-height:44px;font-size:32px;line-height:1;position:absolute;top:9px;right:12px}.winnerDialog p{font-size:14px}.winnerDialog .primary{margin-top:5px}body:has(dialog[open]){overflow:hidden}@keyframes winnerEnter{0%{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}.play{background:#fff}.demonControl{background:#fff;width:min(100%,620px);margin:10px auto 18px}.demonStage{aspect-ratio:4/3;background:#fff;width:100%;position:relative}.demonStage img,.demonStage canvas{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.demonStage canvas{opacity:0}.demonSource{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.play .buttonStage{background:#fff;justify-content:center;width:100%;padding:18px 12px 12px;display:flex;position:relative}.play .eventButton{aspect-ratio:auto;color:#fff;letter-spacing:0;width:min(100%,290px);height:66px;text-shadow:none;opacity:1;background:linear-gradient(165deg,#f94750,#df2432);border:2px solid #aa1b26;border-radius:18px;font-size:18px;font-weight:900;transition:transform .12s,box-shadow .12s;box-shadow:0 5px #aa1b26,0 10px 24px #df24321c}.play .eventButton:disabled{opacity:1;filter:none}.play .eventButton:active{transform:translateY(3px);box-shadow:0 2px #aa1b26,0 5px 15px #df24321c}.play .eventButton.playing{background:#c92d38;animation:none}.play .eventState{color:#405963;margin-top:0;font-size:16px;font-weight:700}.play .eventResult{margin-top:4px}@media (width<=550px){.demonControl{width:100%;margin:12px auto 18px}.play{padding:22px 12px 24px}.play .eyebrow{letter-spacing:1px;font-size:12px}.play .buttonStage{padding:20px 12px 12px}.play .eventButton{height:62px;font-size:17px}}.headerActions{flex-wrap:wrap;justify-content:flex-end;gap:12px;display:flex}.statistics{margin-top:24px}.statistics .panel{margin-bottom:24px}.statistics h1{margin:8px 0}.statistics .sectionHeading{align-items:center;gap:12px}.archiveGame{border-top:1px solid #d0c6a6;padding:16px 0}.archiveGame summary{cursor:pointer;font-weight:700}.archiveGame summary small{color:#405963;margin:8px 0 0 18px;font-size:14px;display:block}.statistics .hint{font-size:14px;line-height:1.6}.statistics table th,.statistics table td{white-space:nowrap}.statistics .tableScroll{max-width:100%;overflow-x:auto}@media (width<=550px){header{flex-wrap:wrap;padding-bottom:16px}.headerActions{gap:8px}.headerActions .outline{padding:9px 12px;font-size:14px}.statistics .panel{padding:20px 14px}.statistics .sectionHeading{flex-wrap:wrap}}
