:root{--ink:#15322f;--muted:#70847b;--paper:#f7f8f2;--line:#dfe8dc;--lime:#dfff70;--green:#1c473d;--white:#fff;--shadow:0 22px 60px rgba(22,49,39,.08)}
*{box-sizing:border-box}html{min-height:100%;background:var(--paper)}body{margin:0;color:var(--ink);font:15px/1.5 'DM Sans',Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}h1,h2,p{margin-top:0}h1,h2,.brand-mark,.number,.recent-code{font-family:'Space Grotesk',Arial,sans-serif}h1{font-size:clamp(3.5rem,6vw,6.5rem);line-height:1.04;letter-spacing:-.075em;font-weight:600}h1 em,h2 em{color:#66a783;font-style:normal}h2{font-size:clamp(2rem,3vw,3.1rem);line-height:1.1;letter-spacing:-.06em;font-weight:600}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #8eb768;outline-offset:3px}
.topbar{height:84px;max-width:1420px;margin:auto;padding:0 4.3%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:13px}.brand-mark{background:var(--ink);color:var(--lime);width:52px;height:52px;border-radius:15px;display:flex;align-items:center;justify-content:center;font-size:15px;letter-spacing:-.09em;font-weight:700}.brand-mark span{margin:0 2px;color:white}.brand-name{font-size:12px;font-weight:700;letter-spacing:.16em}.top-actions{display:flex;align-items:center;gap:27px}.hello{font-size:13px;color:var(--muted)}.text-button{border:0;background:none;color:var(--ink);font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:4px}.home-layout,.game-layout{max-width:1300px;margin:0 auto;padding:0 4.3%}.home-layout{min-height:calc(100vh - 150px)}footer{max-width:1420px;margin:80px auto 0;padding:24px 4.3%;border-top:1px solid var(--line);font-size:10px;letter-spacing:.16em;font-weight:700;color:#97a89a}
.home-layout:has(.hero){display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:9%;padding-top:72px;padding-bottom:55px}.eyebrow,.overline,.focus-kicker{font-size:11px;letter-spacing:.19em;font-weight:700;color:#5a8774}.star{display:inline-block;background:var(--lime);width:25px;height:25px;border-radius:50%;text-align:center;line-height:25px;color:var(--ink);font-size:17px;letter-spacing:0;margin-right:8px}.hero h1{margin:29px 0}.hero p,.home-head p{font-size:20px;max-width:460px;color:#66796f;line-height:1.55}.hero-range{margin-top:65px;display:flex;align-items:center;gap:16px;font-family:'Space Grotesk';font-size:15px;font-weight:700}.range-track{height:2px;background:#b8cabc;flex:1;position:relative}.range-track i{position:absolute;top:50%;transform:translate(-50%,-50%);height:22px;width:22px;border-radius:50%;background:var(--lime);border:5px solid var(--ink);box-shadow:0 0 0 6px #dff1c1}.hero-note{color:#95a498;font-size:10px;font-weight:700;letter-spacing:.17em;margin-top:22px}.card{background:white;border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow)}.auth-card{padding:33px 39px 0;max-width:500px;width:100%;justify-self:end}.tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:35px}.tabs button{border:0;background:none;color:#92a298;padding:0 0 16px;font-weight:700}.tabs button.active{color:var(--ink);box-shadow:0 2px 0 var(--ink)}.auth-card h2{font-size:36px;margin-bottom:6px}.muted,.auth-card>p{color:var(--muted)}form label{display:block;color:#698073;font-size:11px;font-weight:700;letter-spacing:.14em;margin:22px 0 0}form label input{display:block;margin-top:9px}input{outline:none;border:1px solid #d7e4d9;background:#fbfcf8;color:var(--ink);border-radius:10px;padding:15px 17px;width:100%;font-size:15px}input::placeholder{color:#a5b3a8}input:focus{border-color:#72a480;box-shadow:0 0 0 3px #dff0d9}.primary,.light-button,.secondary{display:inline-flex;justify-content:space-between;align-items:center;gap:28px;border:0;border-radius:10px;padding:17px 22px;background:var(--ink);color:white;font-weight:700}.primary:hover,.secondary:hover{background:#285e4e}.primary:disabled{opacity:.4;cursor:not-allowed}.full{width:100%}.auth-card .primary{margin-top:29px}.primary span,.light-button span{font-size:21px;line-height:10px;font-weight:400}.card-foot{margin:33px -39px 0;padding:22px;text-align:center;background:#f2f6ef;border-radius:0 0 28px 28px;color:#97a99d;font-size:10px;letter-spacing:.18em;font-weight:700}
.home-head{padding:85px 0 40px}.home-head h1{font-size:clamp(3.3rem,5.5vw,5.8rem);margin:22px 0}.home-cards{display:grid;grid-template-columns:1fr 1fr;gap:24px}.option-card{min-height:330px;border-radius:23px;padding:34px;display:flex;align-items:flex-start;flex-direction:column}.option-card.dark{background:var(--ink);color:white}.option-card.light{background:#e7f0df}.option-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:var(--lime);color:var(--ink);font-size:25px;margin-bottom:27px}.option-card.light .option-icon{background:white}.overline{font-size:10px;color:#b5d5bd}.option-card.light .overline{color:#699077}.option-card h2{font-size:35px;margin:11px 0 6px}.option-card p{max-width:330px;color:#b7cabe;margin-bottom:25px}.option-card.light p{color:#6d8975}.light-button{background:var(--lime);color:var(--ink);margin-top:auto}.light-button:hover{background:#f2ffb3}.option-card form{display:flex;gap:10px;width:100%;margin-top:auto}.code-input{max-width:215px;background:white;text-transform:uppercase;letter-spacing:.16em;font-family:'Space Grotesk';font-weight:700}.recent{margin-top:60px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#759282;font-size:10px;font-weight:700;letter-spacing:.16em;margin-bottom:23px}.recent-row{display:grid;grid-template-columns:150px 1fr 20px;gap:20px;align-items:center;border-top:1px solid var(--line);padding:18px 5px}.recent-row:last-child{border-bottom:1px solid var(--line)}.recent-row:hover{background:#eef5e8}.recent-code{font-size:20px;font-weight:700}.recent-row>span:nth-child(2){color:var(--muted)}
.game-layout{padding-top:55px}.game-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;padding-bottom:34px}.game-heading h1{font-size:clamp(3rem,5vw,5rem);margin:12px 0 0}.divider{padding:0 11px;color:#afc4b3}.back{font-size:11px;letter-spacing:.15em;font-weight:700;color:#6f8877;display:inline-block;margin-bottom:33px}.back:hover{text-decoration:underline}.game-code{border:1px solid #cddfcf;border-radius:16px;padding:15px 20px;display:grid;grid-template-columns:auto auto;gap:1px 20px;min-width:190px;background:white}.game-code>span{font-size:10px;letter-spacing:.13em;color:#769181;font-weight:700}.game-code strong{grid-row:2;font-family:'Space Grotesk';font-size:29px;letter-spacing:.12em}.game-code button{grid-column:2;grid-row:1/3;border:0;background:none;font-size:10px;letter-spacing:.12em;font-weight:700;color:#4e8064}.game-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:26px;align-items:start}.game-main,aside{display:flex;flex-direction:column;gap:24px}.focus-card{background:var(--ink);color:white;border-radius:24px;padding:44px 48px;min-height:300px}.focus-card h2{font-size:clamp(2.3rem,4vw,3.9rem);margin:20px 0 12px}.focus-card p{color:#b9cfc1;font-size:16px;max-width:530px}.focus-kicker{color:var(--lime)}.focus-card .primary{background:var(--lime);color:var(--ink);margin-top:16px}.focus-card .primary:hover{background:#f3ffb3}.focus-card .tiny-note{font-size:11px;margin:17px 0 0;color:#9cb6a6}.focus-card.centered{text-align:center;display:flex;align-items:center;flex-direction:column;justify-content:center}.focus-card.centered p{max-width:450px}.focus-card.centered h2{margin-bottom:7px}.lock-symbol,.trophy{height:72px;width:72px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--lime);color:var(--ink);font-size:42px;margin-bottom:20px}.waiting{font-size:10px;letter-spacing:.17em;color:var(--lime);font-weight:700;display:flex;align-items:center;gap:10px;margin-top:27px}.pulse{width:8px;height:8px;background:var(--lime);border-radius:50%;box-shadow:0 0 0 5px #dfff7030}.big-progress{display:flex;align-items:end;gap:16px;margin-top:26px}.big-progress strong{font:700 58px/1 'Space Grotesk'}.big-progress strong span{color:#83a18c;font-size:36px}.big-progress>span{color:#afd0b2;font-size:10px;font-weight:700;letter-spacing:.17em;padding-bottom:9px}.progress-track{height:7px;border-radius:8px;background:#43685a;margin:20px 0}.progress-track i{display:block;background:var(--lime);height:100%;border-radius:8px;transition:width .3s}.guess-card{max-width:100%}.guess-control{display:flex;align-items:center;background:white;border-radius:15px;max-width:380px;margin-top:31px}.guess-control button{border:0;background:none;color:var(--ink);font-size:28px;font-weight:400;width:64px;height:80px}.guess-control input{border:0;background:none;box-shadow:none;color:var(--ink);font:700 53px 'Space Grotesk';width:100%;min-width:0;text-align:center;padding:0;appearance:textfield}.guess-control input::-webkit-outer-spin-button,.guess-control input::-webkit-inner-spin-button{appearance:none;margin:0}.guess-scale{display:flex;justify-content:space-between;max-width:380px;color:#9fbcaa;font-size:11px;margin:8px 0 18px}.guess-card form .primary{max-width:380px}.focus-card form label{max-width:260px;color:#b2d0ba}.focus-card form label input{margin-bottom:8px}.result-card h2 em{color:var(--lime)}.your-result{display:flex;gap:16px;margin:27px 0}.your-result>span{padding:16px 24px;background:#315547;border-radius:10px;font-size:10px;letter-spacing:.12em;color:#b9d4bd}.your-result strong{display:block;font:700 34px 'Space Grotesk';letter-spacing:0;color:white}.result-actions{display:flex;gap:13px;margin-top:25px;flex-wrap:wrap}.result-actions .primary{margin-top:0}.secondary{border:1px solid #648776;background:transparent;color:white}.final-card{display:flex;align-items:center;text-align:center;flex-direction:column;justify-content:center}.final-card .trophy{margin:17px 0 0}.final-card h2{margin:12px 0}.final-card .winner-name{font:600 34px 'Space Grotesk';color:var(--lime);margin:4px 0}
.panel{background:white;border:1px solid var(--line);border-radius:19px;padding:26px;overflow:hidden}.panel .section-title{margin-bottom:16px}.player-list{display:flex;flex-direction:column}.player-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #eef2ec;font-weight:600;font-size:13px}.avatar{width:30px;height:30px;background:#e1eddd;border-radius:9px;display:grid;place-items:center;color:#4f795e;font-family:'Space Grotesk'}.info-panel p{color:var(--muted);font-size:13px;margin:15px 0 0}.badge{display:inline-flex;align-items:center;gap:9px;border-radius:100px;background:#ebf5e7;color:#437450;padding:9px 13px;font-weight:700;font-size:12px}.badge i{width:7px;height:7px;background:#7eb466;border-radius:50%}.badge.locked{background:#fff2d8;color:#907040}.badge.locked i{background:#e3af56}.badge.finished{background:#e6edec;color:#496963}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;letter-spacing:.13em;color:#8da193;font-weight:700;padding:10px 15px 12px 0}td{border-top:1px solid #ecf0e9;padding:14px 15px 14px 0;font-size:13px}td:first-child{font-weight:600}td.place{color:#4f8a5e;font-weight:700}.number{font-weight:700}.win-star{color:#e8bc4f}.history details{border-top:1px solid var(--line)}.history summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;padding:17px 0;font-size:12px;font-weight:700;letter-spacing:.1em}.history summary::-webkit-details-marker{display:none}.history summary span{color:#829d88}.history summary b{color:var(--ink);margin-left:14px}#toast{position:fixed;z-index:10;bottom:25px;left:50%;transform:translate(-50%,20px);padding:13px 21px;background:#252e2b;color:white;border-radius:10px;opacity:0;pointer-events:none;transition:.25s;box-shadow:0 12px 35px #0002;max-width:90vw;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:900px){.home-layout:has(.hero){grid-template-columns:1fr;gap:30px;padding-top:45px}.hero-range,.hero-note{display:none}.auth-card{justify-self:stretch;max-width:none}.game-grid{grid-template-columns:1fr}aside{display:grid;grid-template-columns:1fr 1fr}.game-heading{align-items:center}.game-heading h1{font-size:3.4rem}}
@media(max-width:600px){.topbar{height:68px;padding:0 20px}.brand-mark{width:42px;height:42px;font-size:12px;border-radius:12px}.brand-name{font-size:10px}.hello{display:none}.home-layout,.game-layout{padding-left:20px;padding-right:20px}h1{font-size:3.5rem}.hero h1{margin:20px 0 14px}.hero p,.home-head p{font-size:16px}.home-layout:has(.hero){padding-top:44px}.auth-card{padding:25px 24px 0}.card-foot{margin-left:-24px;margin-right:-24px}.home-head{padding:55px 0 30px}.home-head h1{font-size:3.3rem}.home-cards{grid-template-columns:1fr}.option-card{min-height:290px}.recent{margin-top:45px}.recent-row{grid-template-columns:90px 1fr 12px;font-size:12px;gap:10px}.recent-code{font-size:16px}.game-layout{padding-top:26px}.game-heading{align-items:start;flex-direction:column;gap:20px}.game-heading h1{font-size:3.3rem}.back{margin-bottom:24px}.game-code{align-self:stretch}.game-main,aside{gap:18px}.focus-card{padding:31px 25px;min-height:270px}.focus-card h2{font-size:2.6rem}.big-progress strong{font-size:48px}.big-progress strong span{font-size:25px}.panel{padding:21px}aside{grid-template-columns:1fr}.your-result{gap:9px}.your-result>span{flex:1;padding:12px}.option-card form{flex-wrap:wrap}.code-input{max-width:none;flex:1}.result-actions>*{width:100%}footer{margin-top:55px;padding:22px 20px}.section-title{font-size:9px}}
.option-card form{flex-wrap:wrap}.option-card form input[name="displayName"]{flex:1 1 100%}.option-card form .code-input{flex:1;min-width:130px}.card-foot a:hover{text-decoration:underline}
@media(max-width:600px){.option-card.light{order:-1}}
.brand-mark{letter-spacing:-.04em}.your-result{flex-wrap:wrap}.your-result>span{min-width:90px;flex:1}
.settings-panel form label{margin:0;color:#698073}.settings-panel form input{margin:9px 0 12px}.settings-panel .secondary{background:var(--ink);color:white;width:100%;justify-content:center}.settings-panel p{color:var(--muted);font-size:12px;margin:14px 0 0}.settings-panel p strong{color:var(--ink)}
.brand{gap:6px;white-space:nowrap}.brand-mark{background:none;color:var(--ink);width:auto;height:auto;border-radius:0;font-size:12px;letter-spacing:.16em;flex-shrink:0}.brand-noll{color:#b34d38}.brand-koll{color:#357f67}
@media(max-width:600px){.brand-mark{width:auto;height:auto;font-size:10px}.brand-name{letter-spacing:.1em}}
.spectator-panel>p{font-size:12px;color:var(--muted);margin:14px 0}.spectator-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid var(--line);font-size:13px}.spectator-row strong{min-width:0;overflow-wrap:anywhere}.spectator-row .secondary{padding:9px 11px;font-size:11px;white-space:nowrap;background:var(--ink);color:white;flex-shrink:0}.late-note{margin:0;padding:15px 20px;border:1px solid var(--line);border-radius:12px;background:#f0f6e9;color:var(--ink);font-size:13px}
