:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#243d34;background:#f7f8f2;font-synthesis:none;font-weight:450;line-height:1.5;--green: #174d40;--muted: #748078;--line: #e2e6dc;--orange: #e9a24e}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:12px;min-height:48px;padding:10px 18px;color:inherit;background:#fff;font-weight:600;transition:background .12s}button:hover:not(:disabled){filter:brightness(.97)}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #c38936;outline-offset:3px}button:disabled{cursor:not-allowed;opacity:.45}button svg{vertical-align:middle;flex-shrink:0}h1,h2,p{margin-top:0}h1{font-size:clamp(29px,4vw,40px);letter-spacing:-1.3px;line-height:1.2;margin-bottom:14px;font-weight:750}h2{font-size:21px;letter-spacing:-.45px;margin-bottom:14px}p{margin-bottom:18px}small{font-size:12px}.muted{color:var(--muted);font-size:14px}.help{font-size:14px;color:#66776e;margin-top:14px}.eyebrow{display:block;font-size:11px;font-weight:750;letter-spacing:1.8px;color:#658273;margin-bottom:12px}.topbar{height:94px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100vw - 1060px)/2));gap:12px}.brand{display:flex;align-items:center;gap:12px;border:0;padding:0;background:none;font-size:18px;font-weight:750;letter-spacing:-.5px;text-align:left}.brand small{display:block;letter-spacing:1.5px;font-size:9px;font-weight:650;color:#879087;margin-top:3px}.brand-mark{display:grid;place-items:center;background:var(--green);color:#fff;width:46px;height:46px;border-radius:14px}.top-actions{display:flex;align-items:center;gap:16px}.quiet{border:0;background:none;display:flex;align-items:center;gap:10px;font-size:13px;padding:0}.avatar{display:inline-grid;place-items:center;flex-shrink:0;background:#e3ece3;color:#3e6853;width:38px;height:38px;border-radius:50%;font-weight:700}.shell{max-width:1000px;margin:0 auto;padding:42px 28px 104px}.page-intro{margin:2px 0 30px}.page-intro p{color:var(--muted);font-size:16px}.new-games{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:40px}.new-game{border:0;border-radius:22px;padding:26px 30px;text-align:left;overflow:hidden}.new-game.ttt{background:#174d40;color:#fff}.new-game.three{background:#f4e5c9;color:#51452f}.tile-top{display:flex;align-items:flex-start;justify-content:space-between;min-height:82px;gap:10px}.tile-top svg{opacity:.65;transform:rotate(-7deg)}.tag{font-size:10px;letter-spacing:1.25px;padding:7px 10px;border:1px solid #ffffff36;border-radius:7px}.three .tag{border-color:#c9b58f}.new-game h2{font-size:32px;letter-spacing:-1px;margin:4px 0}.new-game p{font-size:14px;opacity:.7;font-weight:400;margin-bottom:24px}.tile-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff25;padding-top:16px;font-size:14px}.three .tile-bottom{border-color:#d8c7a8}.tile-bottom span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#ffffff20;font-size:23px}.three .tile-bottom span{background:#e7d2aa}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:26px 0 16px}.section-title h1,.section-title h2{margin-bottom:0}.section-title .muted{font-size:12px}.count{font-size:12px;padding:3px 8px;margin-left:5px;background:#e8ede2;border-radius:7px;vertical-align:middle;letter-spacing:0}.game-list{display:grid;gap:12px}.game-card{display:flex;align-items:center;gap:18px;text-align:left;border-radius:16px;padding:22px 24px;box-shadow:0 3px 7px #223d3103}.grow{flex:1;min-width:0}.game-title{display:block;font-size:16px;font-weight:700;margin-bottom:4px}.game-card .muted{display:block;font-weight:400;font-size:12px}.participant-names{display:block;color:#65746a;font-size:12px;font-weight:450;margin-top:4px}.game-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:15px;background:#edf2e9;flex-shrink:0}.game-icon.\33 d{background:#fbf0da;color:#ac7c32}.card-tail{display:flex;align-items:center;gap:26px}.badge{font-size:11px;font-weight:650;border-radius:7px;background:#edf0e8;color:#657363;padding:5px 9px;white-space:nowrap;display:inline-block}.badge.active{background:#edf4e4;color:#66813c}.badge.paused{background:#fff0d7;color:#92713c}.badge.completed{background:#e5eeea;color:#497361}.badge.demo{background:#ffedc9;color:#88601d}.progress{display:block;width:160px;max-width:100%;height:4px;background:#edf0e9;margin:12px 0 7px;border-radius:5px;overflow:hidden}.progress>span{display:block;height:100%;background:#87a86b}.home-note{display:flex;justify-content:center;align-items:center;gap:12px;padding:32px 8px 8px;color:#899183;font-size:12px}.home-note svg{color:#aaaf94}.text-button{border:0;background:none;min-height:44px;padding:7px 0;color:var(--green);font-weight:650;text-align:left}.section-title .text-button{font-size:12px}.back{margin-bottom:20px}.primary{background:var(--green);color:#fff;border-color:var(--green);display:inline-flex;align-items:center;justify-content:center;gap:14px}.full{width:100%}.panel{padding:26px;border:1px solid var(--line);background:#fff;border-radius:18px;margin:22px 0}.panel>.section-title:first-child{margin-top:0}.panel>.help:last-child{margin-bottom:0}.panel form{margin:0}.button-row{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.button-row button{flex:1;white-space:nowrap}.player-picker{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.player-option{display:flex;align-items:center;gap:12px;text-align:left;padding:14px}.player-option strong{flex:1}.player-option.chosen{border-color:#527e5d;background:#f0f6ed}.check{font-size:20px;color:#8a9889}.chosen .check{color:var(--green)}.color-1{background:#f2e4d2;color:#986f35}.color-2{background:#e9e4f0;color:#82659b}.color-3{background:#e0ebed;color:#3c7c87}label{display:block;color:#53665b;font-size:13px;font-weight:650;margin-bottom:16px}input,select{display:block;min-height:48px;width:100%;border:1px solid #d9dfd3;background:#fff;color:var(--green);border-radius:10px;padding:10px 12px;margin-top:7px}input[type=date]{min-width:0}.arrows-label{margin-top:26px;max-width:300px}.filters{display:flex;gap:14px;flex-wrap:wrap;margin:22px 0}.filters label{flex:1;min-width:150px}.segmented{display:flex;padding:5px;background:#e9ede4;border-radius:13px;margin-top:28px;max-width:370px;gap:5px}.segmented button{flex:1;border:0;background:none;min-height:42px}.segmented button.selected{background:#fff;color:var(--green);box-shadow:0 2px 6px #263b2a0b}.table-wrap{overflow-x:auto;margin:0 -6px}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left;font-size:13px}th,td{padding:13px 11px;border-bottom:1px solid #edf0e8}thead th{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#889080;font-weight:650}tbody th{font-weight:650}.strong{font-weight:750;color:var(--green)}.rank{display:inline-grid;place-items:center;min-width:29px;height:29px;font-weight:650;color:#768474}.rank.gold{border-radius:8px;background:#f8edce;color:#a98231}.table-wrap .text-button{min-height:28px;padding:0}.matches{display:grid;gap:14px}.match{padding:18px;border:1px solid var(--line);border-radius:12px}.match-names{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:12px;font-weight:650}.match-names .muted{font-weight:400}.saved-check{color:#779b60}.result-buttons{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.result-buttons button{font-size:13px;padding:8px;overflow-wrap:anywhere}.selected{background:var(--green);color:#fff;border-color:var(--green)}.small{font-size:12px;min-height:44px}.game-controls{display:flex;gap:12px;margin:26px 0}.game-controls>button{flex:1}.inline-label{display:flex;align-items:center;gap:10px;white-space:nowrap;margin:0}.inline-label select{width:auto;min-width:75px;margin:0}.notice,.pending,.confirmation{padding:20px 24px;border-radius:14px;background:#edf2e7;margin:20px 0;font-size:14px;border:1px solid #dce5d0}.notice button.primary{display:flex;margin-top:16px}.error{background:#fff0e9;color:#9f3a23;border:1px solid #ecc6b6;border-radius:12px;padding:16px 20px;margin-bottom:20px}.pending,.confirmation{background:#fff4db;border-color:#e6d6b7}.danger{color:#a1503b}.success{color:#386b44}.shooter-tabs{display:flex;overflow-x:auto;gap:8px;padding:4px 0 14px}.shooter-tabs button{white-space:nowrap}.shooter-tabs small{display:block;font-weight:400;opacity:.7}.score-heading{display:flex;justify-content:space-between;align-items:center;margin:18px 0 24px}.score-heading h2{font-size:29px;margin:0}.score-heading .eyebrow{font-size:9px;margin-bottom:6px}.score-heading>div:last-child{text-align:right}.score-heading strong{display:block;font-size:38px;line-height:1.1;letter-spacing:-1px}.score-heading span:not(.eyebrow){font-size:12px;color:var(--muted)}.shot-slots{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.shot-slots button{min-width:46px;height:60px;padding:7px;font-size:21px;flex:1;background:#f0f4eb;border:1px solid #e2e8d9;color:#315c40;max-width:80px;opacity:1}.shot-slots small{display:block;font-size:9px;color:#8c9a83}.shot-slots .zero{background:#f0f0eb;color:#8e9489}.shot-slots .editing{border:2px solid #c39135;background:#fff0cb}.score-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.score{min-height:102px;font-size:36px;font-weight:750;border:0;background:#edc36e;color:#5c4825}.score small{display:block;font-size:10px;font-weight:600;letter-spacing:1px}.score-8{background:#d7e3ca;color:#46663e}.score-5{background:#dfe9e7;color:#486f66}.score-0{background:#eaece5;color:#7b8579}.scoring>.primary{margin-top:18px}.withdraw{border-top:1px solid var(--line);margin-top:22px;padding-top:8px;text-align:center}.withdraw button{font-size:12px;color:#82907c}.stats{display:flex;flex-wrap:wrap;gap:18px;margin:26px 0}.stats>div{flex:1;min-width:130px;font-size:12px;color:#73816a}.stats strong{display:block;font-size:24px;letter-spacing:-.5px;color:var(--green)}.player-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.player-form label{flex:1;min-width:180px;margin:0}.player-list>div{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}.player-list>div:last-child{border:0}.player-list .inactive{opacity:.65}.player-list .grow{min-width:90px}.empty{padding:32px;text-align:center;color:#7e8a76;font-size:14px;border:1px dashed #d8dfd1;border-radius:14px;background:#fbfcf8}.page-footer{display:flex;justify-content:space-between;gap:15px;margin-top:40px;color:#96a08e;font-size:10px;border-top:1px solid var(--line);padding-top:20px}.bottom-nav{position:fixed;z-index:10;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:56px;border-top:1px solid var(--line);background:#ffffffef;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:10px 20px max(10px,env(safe-area-inset-bottom))}.bottom-nav button{min-width:95px;min-height:55px;border:0;background:none;padding:2px 15px;color:#919b8b;display:flex;flex-direction:column;gap:5px;align-items:center;font-size:10px}.bottom-nav button.active{color:var(--green);background:#eef3e8;border-radius:12px}.login{max-width:420px;margin:0 auto;padding:55px 28px;text-align:center}.login .brand{justify-content:center}.login-art{display:grid;place-items:center;margin:44px auto 26px;width:160px;height:160px;border-radius:50%;background:#e9eedc;color:var(--green)}.login h1{font-size:38px}.login form{margin:30px 0 8px;text-align:left}.login input{text-align:center;font-size:24px;letter-spacing:5px;height:60px}.login form .primary{margin-top:18px}.login .text-button{text-align:center;font-size:12px}.login-bottom{margin-top:38px;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}summary{cursor:pointer;min-height:48px;padding:16px 0;color:var(--green);font-size:13px;font-weight:650}details{margin-top:12px}@media(max-width:640px){.topbar{height:76px;padding:0 20px}.brand{font-size:15px;gap:9px}.brand small{font-size:7px;letter-spacing:1px}.brand-mark{width:37px;height:37px;border-radius:11px}.quiet{font-size:0;gap:0}.quiet .avatar{font-size:12px;width:32px;height:32px}.top-actions{gap:6px}.badge.demo{position:fixed;top:0;left:0;right:0;text-align:center;font-size:9px;z-index:20;border-radius:0;padding:2px}.topbar:has(.demo){padding-top:13px;height:85px}.shell{padding:30px 18px 100px}.page-intro{margin-bottom:24px}.page-intro h1{font-size:29px;max-width:320px;letter-spacing:-1px}.page-intro p{font-size:13px;max-width:280px}.eyebrow{font-size:9px;letter-spacing:1.4px}.new-games{gap:12px;margin-bottom:28px}.new-game{padding:18px 17px;border-radius:18px}.tile-top{min-height:74px;display:block;position:relative}.tile-top svg{position:absolute;right:-3px;top:24px;width:43px;height:43px;opacity:.45}.tag{font-size:6.5px;letter-spacing:.5px;padding:5px 6px;white-space:nowrap}.new-game h2{font-size:25px}.new-game p{font-size:10px;min-height:30px;margin:6px 0 14px;max-width:120px}.tile-bottom{font-size:10px;gap:4px;padding-top:12px}.tile-bottom span{width:24px;height:24px;font-size:17px;flex-shrink:0}.section-title{margin-top:24px;gap:8px}.section-title>span.muted{display:none}h2,.section-title h2{font-size:18px}.game-card{padding:17px 15px;gap:12px}.game-icon{width:40px;height:40px;border-radius:11px}.game-icon svg{width:23px}.card-tail{flex-direction:column;gap:14px;align-items:end}.card-tail>.badge{font-size:8px;padding:4px 6px}.card-tail>svg{width:18px;height:18px}.game-title{font-size:14px}.game-card .muted,.participant-names{font-size:10px}.progress{width:130px;margin-top:9px}.participant-names{max-width:175px}.home-note{font-size:10px;text-align:left;padding-top:27px}.home-note svg{flex-shrink:0}.bottom-nav{gap:0;justify-content:space-around;padding:8px 12px max(9px,env(safe-area-inset-bottom))}.bottom-nav button{min-width:0;flex:1;font-size:9px;border-radius:9px}.bottom-nav svg{width:22px;height:22px}.panel{padding:20px 16px;margin:18px 0;border-radius:15px}.panel h2{font-size:19px}.player-option{padding:10px;gap:8px;font-size:12px}.player-option .avatar{width:30px;height:30px;font-size:12px}.check{font-size:17px}.player-picker{gap:8px}.result-buttons{gap:6px}.result-buttons button{font-size:11px;min-height:50px}.match{padding:14px 11px}.match-names{font-size:13px;gap:10px}.table-wrap{margin:0 -10px}th,td{padding:12px 9px}.filters{gap:10px}.filters label{min-width:125px}.score-buttons{gap:8px}.score{font-size:32px;min-height:88px;border-radius:13px}.score-heading h2{font-size:25px}.score-heading strong{font-size:33px}.shot-slots{gap:5px}.shot-slots button{min-width:34px;font-size:19px;height:55px}.scoring .button-row button{font-size:11px;padding:10px 8px}.notice,.pending,.confirmation{padding:18px;font-size:13px}.notice button.primary{width:100%}.game-controls{gap:9px}.game-controls button{font-size:12px;padding:12px}.player-list>div{gap:8px}.player-list button.small{padding:8px;font-size:10px}.page-footer{font-size:8px}.section-title h1{font-size:29px}.login{padding-top:32px}.login-art{margin-top:28px}.login h1{font-size:34px}.stats{gap:15px}.stats strong{font-size:21px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
