*{box-sizing:border-box}body{color:#18221d;background:#101714;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}button{font:inherit;-webkit-tap-highlight-color:transparent}.app{background:radial-gradient(circle at top,#5bb07e47,#0000 36%),#101714;justify-content:center;min-height:100vh;display:flex}.phone{background:linear-gradient(#ecf5ee 0%,#f8faf7 42%,#fff 100%);width:100%;max-width:430px;min-height:100vh;padding:20px 16px 28px}.top-header{padding:6px 2px 18px}.sub-title{color:#5b8f6a;letter-spacing:.12em;text-transform:uppercase;margin:0 0 4px;font-size:12px;font-weight:900}.top-header h1{color:#132119;letter-spacing:-.06em;margin:0;font-size:34px;line-height:1}.round-tabs{z-index:5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffc7;border:1px solid #13211914;border-radius:20px;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:18px;padding:6px;display:grid;position:sticky;top:0;box-shadow:0 12px 30px #13211914}.round-tab{color:#718077;cursor:pointer;background:0 0;border:0;border-radius:16px;height:46px;font-size:14px;font-weight:900}.round-tab.active{color:#fff;background:#132119;box-shadow:0 10px 20px #13211938}.content{flex-direction:column;gap:14px;display:flex}.teams-card,.score-card{background:#fff;border:1px solid #13211912;border-radius:28px;padding:16px;box-shadow:0 14px 34px #13211912}.teams-card-header,.score-card-header{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.teams-card-header h2,.score-card-header h2{letter-spacing:-.04em;margin:0;font-size:22px;font-weight:950}.teams-card-header span,.score-card-header span{color:#5ca371;background:#eef5f0;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900}.teams-preview{grid-template-columns:1fr 1fr;gap:12px;display:grid}.team-panel{background:#fff;border:1px solid #13211912;border-radius:24px;padding:16px 12px;box-shadow:0 14px 34px #13211912}.team-panel h3{text-align:center;margin:0 0 12px;font-size:18px;font-weight:950}.team-player-row{background:#f4f8f5;border-radius:14px;align-items:center;gap:8px;height:46px;margin-bottom:8px;padding:0 8px;display:flex}.team-player-row:last-child{margin-bottom:0}.team-player-row span{color:#fff;background:#132119;border-radius:10px;justify-content:center;align-items:center;min-width:32px;height:28px;padding:0 8px;font-size:11px;font-weight:950;display:flex}.team-player-row strong{font-size:14px;font-weight:900}.empty-team-text{color:#9aa7a0;text-align:center;justify-content:center;align-items:center;min-height:184px;font-size:13px;font-weight:800;display:flex}.wide-action-button{color:#fff;cursor:pointer;background:#132119;border:0;border-radius:20px;width:100%;height:58px;font-size:17px;font-weight:950;box-shadow:0 14px 28px #13211933}.wide-action-button:active{transform:scale(.985)}.score-table-scroll{border:1px solid #13211914;border-radius:18px;overflow-x:hidden}.score-table{border-collapse:collapse;table-layout:fixed;background:#fbfdfb;width:100%;min-width:0}.score-table th,.score-table td{text-align:center;border-bottom:1px solid #13211912;border-right:1px solid #1321190f;height:36px;font-size:12px;font-weight:800}.score-table tr:last-child td{border-bottom:0}.score-table th:last-child,.score-table td:last-child{border-right:0}.fixed-cell,.row-title,.hole-cell{color:#314137;background:#f0f6f2;width:48px}.team-head.team-1{color:#245233;background:#dff2e5}.team-head.team-2{color:#30456f;background:#e8eefb}.player-head{color:#274532;background:#f7faf8;font-weight:950}.row-title{font-size:12px;font-weight:950}.hole-cell{justify-content:center;align-items:center;gap:6px;display:flex}.hole-cell strong{color:#132119;font-size:13px}.hole-cell span{color:#5c6f63;background:#dfece4;border-radius:7px;justify-content:center;align-items:center;min-width:20px;height:20px;font-size:10px;font-weight:950;display:flex}.score-input-cell{cursor:pointer}.score-input-cell:active{background:#e6f5ea}.sheet-backdrop{z-index:20;background:#050a077a;justify-content:center;align-items:flex-end;padding:0;display:flex;position:fixed;inset:0}.bottom-sheet{background:#fff;border-radius:30px 30px 0 0;width:100%;max-width:100%;max-height:78vh;padding:10px 10px 24px;overflow-y:auto;box-shadow:0 -20px 50px #0000003d}.sheet-handle{background:#d9e0dc;border-radius:999px;width:44px;height:5px;margin:0 auto 18px}.sheet-header{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.sheet-header p{color:#5b8f6a;letter-spacing:.12em;text-transform:uppercase;margin:0 0 4px;font-size:11px;font-weight:900}.sheet-header h2{letter-spacing:-.05em;margin:0;font-size:25px}.sheet-actions{gap:8px;display:flex}.sheet-action-button{color:#435047;cursor:pointer;background:#eef3f0;border:0;border-radius:14px;height:38px;padding:0 14px;font-size:13px;font-weight:900}.sheet-action-button:disabled{color:#aab5ae;cursor:not-allowed}.sheet-action-button:not(:disabled):first-child{color:#fff;background:#5ca371}.select-count{background:#eef5f0;border-radius:16px;justify-content:center;align-items:center;height:48px;margin-bottom:14px;display:flex}.select-count strong{color:#132119;font-size:22px;font-weight:950}.select-count span{color:#607267;font-size:15px;font-weight:800}.player-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.player-card{cursor:pointer;background:#f7faf8;border:1px solid #13211914;border-radius:22px;align-items:center;gap:10px;min-height:72px;padding:14px;transition:background .15s,border-color .15s,transform .12s;display:flex;position:relative}.player-card:active{transform:scale(.98)}.player-card span{color:#fff;background:#132119;border-radius:12px;justify-content:center;align-items:center;min-width:40px;height:32px;padding:0 10px;font-size:12px;font-weight:950;display:flex}.player-card.selected{background:#e6f5ea;border-color:#8fd3a4;box-shadow:0 12px 24px #5ca3712e}.player-card.selected:after{content:"✓";color:#fff;background:#5ca371;border-radius:999px;justify-content:center;align-items:center;width:24px;height:24px;font-size:13px;font-weight:950;display:flex;position:absolute;top:12px;right:12px}.player-card.selected span{color:#fff;background:#5ca371}.player-info{flex:1;justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.player-info strong{color:#1f2c24;font-size:17px;font-weight:900}.player-card.selected .player-info strong{color:#1d3525}.score-editor-list{flex-direction:column;gap:10px;display:flex}.score-editor-row{background:#fff;border:1px solid #13211912;border-radius:20px;grid-template-columns:42px 1fr;align-items:center;gap:6px;min-height:74px;padding:10px 4px;display:grid;box-shadow:0 8px 18px #1321190d}.score-editor-player{flex-shrink:0;width:42px}.score-editor-player span{color:#fff;background:#132119;border-radius:14px;justify-content:center;align-items:center;width:40px;height:40px;font-size:12px;font-weight:950;display:flex}.score-options{flex:1;grid-template-columns:repeat(8,1fr);gap:2px;display:grid}.score-option{color:#314137;cursor:pointer;background:#f3f7f4;border:1px solid #1321190f;border-radius:16px;width:100%;height:50px;padding:0;font-size:18px;font-weight:950;box-shadow:0 4px 10px #1321190a}.score-option.selected{color:#1d4f2d;background:#dff2e5;border-color:#8fd3a4;transform:scale(1.03);box-shadow:0 10px 18px #5ca37133}.score-option:disabled{color:#c4ccc7;box-shadow:none;cursor:not-allowed;background:#f0f2f1;border-color:#0000}.hole-score-mark{color:#1f2c24;justify-content:center;align-items:center;min-width:24px;height:24px;margin:0 auto;font-size:12px;font-weight:950;display:inline-flex}.under-score{color:#b00020;border:2px solid #b00020;border-radius:999px}.over-score-single{color:#0047b3;border:2px solid #0047b3;border-radius:5px}.over-score-double{color:#0047b3;border:4px solid #0047b3;border-radius:6px}.team-header-actions{align-items:center;gap:8px;display:flex}.reset-mini-button{color:#9b1c1c;cursor:pointer;background:#f4eeee;border:0;border-radius:999px;height:28px;padding:0 10px;font-size:12px;font-weight:900}.reset-sheet{max-height:420px}.reset-confirm-box{background:#f8faf8;border:1px solid #13211912;border-radius:22px;flex-direction:column;gap:12px;padding:18px;display:flex}.reset-confirm-box p{color:#24332a;margin:0;font-size:16px;font-weight:900}.reset-confirm-box span{color:#7d8a82;font-size:13px;font-weight:800}.reset-code-input{color:#132119;text-align:center;letter-spacing:.2em;background:#fff;border:1px solid #1321191f;border-radius:16px;outline:none;width:100%;height:54px;font-size:24px;font-weight:950}.reset-code-input:focus{border-color:#5ca371;box-shadow:0 0 0 4px #5ca37124}.reset-confirm-button{color:#fff;cursor:pointer;background:#9b1c1c;border:0;border-radius:16px;width:100%;height:54px;font-size:16px;font-weight:950}.reset-confirm-button:disabled{cursor:not-allowed;background:#d9dddd}.peoria-button{color:#fff;cursor:pointer;background:#132119;border:0;border-radius:18px;width:100%;height:56px;margin-top:16px;font-size:16px;font-weight:950;box-shadow:0 14px 28px #1321192e}.peoria-button:disabled{color:#fff;cursor:not-allowed;box-shadow:none;background:#d8dedb}.peoria-result-card{background:#fff;border:1px solid #13211912;border-radius:28px;padding:16px;box-shadow:0 14px 34px #13211912}.peoria-result-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.peoria-result-header h2{letter-spacing:-.04em;margin:0;font-size:22px;font-weight:950}.peoria-result-header span{color:#5ca371;text-align:right;background:#eef5f0;border-radius:999px;max-width:180px;padding:6px 10px;font-size:11px;font-weight:900;line-height:1.35}.peoria-result-table{border-collapse:collapse;border-radius:18px;width:100%;overflow:hidden}.peoria-result-table th,.peoria-result-table td{text-align:center;border-bottom:1px solid #13211912;height:42px;font-size:13px;font-weight:850}.peoria-result-table th{color:#314137;background:#f0f6f2;font-weight:950}.peoria-result-table td:nth-child(2){text-align:center;font-weight:950}.peoria-result-table tr:last-child td{border-bottom:0}.score-header-actions{align-items:center;gap:8px;display:flex}.refresh-mini-button{color:#435047;cursor:pointer;background:#eef3f0;border:0;border-radius:999px;height:28px;padding:0 10px;font-size:12px;font-weight:900}.random-score-button{color:#245233;cursor:pointer;background:#eef5f0;border:0;border-radius:16px;width:100%;height:48px;margin-top:14px;font-size:15px;font-weight:950}.random-score-button:active{transform:scale(.985)}
