@import"https://fonts.googleapis.com/css2?family=Pacifico&display=swap";@import"https://fonts.googleapis.com/css2?family=Gruppo&display=swap";@import"https://fonts.googleapis.com/css2?family=Sofia+Sans+Extra+Condensed:wght@600&display=swap";:root{--color-red: #D64533;--color-blue: #2F80ED;--color-brand: #1A5E46;--color-brand90: #1d684f;--color-brand20: #e4efe8;--color-grey90: #1A202C;--color-grey60: #4A5568;--color-grey30: #CBD5E0;--color-white: #FFFFFF;--color-green: var(--color-brand);--color-gray: var(--color-grey60);--color-dark: var(--color-grey90);--color-light: var(--color-brand20);--color-primary: var(--color-brand);--color-secondary: #20c66c;--color-error: var(--color-red);--border-radius: 12px;--box-shadow: 0 2px 4px rgba(0, 0, 0, .1);--header-height: 56px;--header-safe-area: env(safe-area-inset-top, 0px);--spacing-unit: 8px;color:var(--color-grey90);color-scheme:light dark;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html,body{background:var(--color-brand20)}.safe-wrapper{padding-top:env(safe-area-inset-top)}*{box-sizing:border-box;margin:0;padding:0}body{padding:0;margin:0;font-family:Gruppo,sans-serif;color:var(--color-dark);line-height:1.6;min-width:320px;min-height:100vh}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}h1,h2,h3{margin-bottom:16px}button,input,select,.btn,.submit-button,.nav-button,.ledger,.history,.ace-score,.eagle-score,.birdie-score,.par-score,.bogey-score,.double-bogey-score,.button-icon,select option{font-family:Gruppo,sans-serif}button{background-color:var(--color-primary);color:#fff;border:none;border-radius:var(--border-radius);padding:8px 16px;font-size:1rem;cursor:pointer;transition:background-color .3s}button:hover{background-color:#2980b9}input,select{padding:8px;border:1px solid var(--color-gray);border-radius:var(--border-radius);font-size:1rem;margin-bottom:8px;background-color:#fff;color:var(--color-dark)}input:focus,select:focus{outline:2px solid var(--color-primary);border-color:var(--color-primary)}.nav-button.ledger{background-color:var(--color-secondary)}.nav-button.history{background-color:#42b983}.ace-score{color:#8b5cf6;font-weight:600}.eagle-score{color:#10b981;font-weight:600}.birdie-score{color:#3b82f6;font-weight:600}.par-score{color:#000;font-weight:600}.bogey-score{color:#f59e0b}.double-bogey-score{color:#ef4444}.button-icon{display:inline-block;margin-right:6px;font-size:16px}select option{padding:8px;font-size:14px}.submit-button{flex:2;padding:12px 20px;border-radius:8px;font-size:16px;font-weight:600;color:#fff;background-color:#10b981;border:none;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #10b98133;position:relative;overflow:hidden}.submit-button:after{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:all .4s}.submit-button:hover:after{left:100%}.submit-button:hover{background-color:#059669;transform:translateY(-2px);box-shadow:0 4px 6px #0596694d}.submit-button:disabled{background-color:#cbd5e1;color:#94a3b8;cursor:not-allowed;transform:none;box-shadow:none}.submit-button:disabled:after{display:none}.nav-button{display:inline-block;padding:8px 16px;background-color:var(--color-secondary);color:#fff;text-decoration:none;border-radius:var(--border-radius);font-size:14px;font-weight:500;transition:background-color .2s}.nav-button:hover{background-color:var(--color-primary);text-decoration:none}.flex{display:flex}.flex-1{flex:1}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-2{gap:8px}.text-sm{font-size:14px}.text-base{font-size:16px}.text-lg{font-size:18px}.text-xl{font-size:20px}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}.tracking-wide{letter-spacing:.025em}.fixed{position:fixed}.relative{position:relative}.absolute{position:absolute}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.top-0{top:0}.bottom-0{bottom:0}.left-0{left:0}.z-40{z-index:40}.z-50{z-index:50}.grid{display:grid}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.shadow-sm{box-shadow:0 1px 2px #0000000d}.shadow-md{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.shadow-inner{box-shadow:inset 0 2px 4px #0000000f}.btn{height:48px;padding:0 16px;border-radius:var(--border-radius);font-weight:600;box-shadow:0 1px 3px #0000001a;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s,opacity .2s}.btn-primary{background:var(--color-brand);color:#fff}.btn-primary:hover{background:var(--color-brand90)}.btn-danger{background:var(--color-red);color:#fff}.btn-danger:hover{opacity:.9}.btn-disabled{background:var(--color-grey30);color:var(--color-grey60);opacity:.6;cursor:not-allowed}.btn-red{background:var(--color-red);color:#fff}.btn-red:hover{opacity:.9}.btn-blue{background:var(--color-blue);color:#fff}.btn-blue:hover{opacity:.9}.rounded{border-radius:var(--border-radius)}.rounded-sm{border-radius:4px}.gap-grid{gap:var(--spacing-unit)}.card{background-color:var(--color-white);border-radius:var(--border-radius);box-shadow:0 1px 3px #0000001a;padding:calc(var(--spacing-unit) * 2);margin-bottom:var(--spacing-unit)}.bottom-safe-area{padding-bottom:env(safe-area-inset-bottom,0px)}.text-red{color:var(--color-red)}.text-blue{color:var(--color-blue)}.bg-brand{background-color:var(--color-brand)}.bg-brand20{background-color:var(--color-brand20)}.bg-grey30{background-color:var(--color-grey30)}.text-grey90{color:var(--color-grey90)}.text-grey60{color:var(--color-grey60)}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}}.ledger-container{margin:16px 0}.back-button-container{margin-bottom:16px;display:flex;justify-content:flex-start}.ledger-header{display:flex;justify-content:space-between;align-items:center;background-color:#fff;padding:12px;border-radius:var(--border-radius);box-shadow:var(--box-shadow);cursor:pointer;transition:background-color .2s}.ledger-header:hover{background-color:#f5f5f5}.team-totals{display:flex;gap:16px;align-items:center}.big-game-total{padding:3px 8px;background-color:#f0f0f0;border-radius:4px;font-size:.9rem;font-weight:500}.drawer-toggle{font-size:1.2rem;transition:transform .3s}.ledger-details{background-color:#fff;padding:16px;border-radius:0 0 var(--border-radius) var(--border-radius);box-shadow:var(--box-shadow);margin-top:-4px}.ledger-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.view-controls{display:flex;gap:10px}.back-to-hole-button{background-color:#10b981;color:#fff;border:none;padding:10px 16px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;box-shadow:0 2px 4px #10b98133}.back-to-hole-button:hover{background-color:#059669;transform:translateY(-2px)}.back-to-hole-button:before{content:"↩";margin-right:6px;font-size:16px}.view-toggle-button{background-color:var(--color-primary);color:#fff;border:none;padding:8px 12px;border-radius:var(--border-radius);cursor:pointer}.export-button{background-color:var(--color-gray);color:#fff;border:none;padding:8px 12px;border-radius:var(--border-radius);cursor:pointer}.ledger-table{width:100%;border-collapse:collapse;margin-bottom:16px;font-size:.9rem}.ledger-table th,.ledger-table td{padding:8px;text-align:left;border-bottom:1px solid var(--color-light)}.ledger-table th{font-weight:600;background-color:#f8f9fa;position:sticky;top:0;z-index:1}.ledger-table.compact-view td{text-align:center}.ledger-table.detailed-view th,.ledger-table.detailed-view td{padding:10px 8px}.result-red{color:var(--color-red);font-weight:700}.result-blue{color:var(--color-blue);font-weight:700}.result-push{color:var(--color-gray);font-style:italic}.player-totals-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-bottom:8px}.player-total{padding:4px 8px;border-radius:4px;background-color:#f8f9fa}.player-ledger-cell{padding:8px;border-radius:var(--border-radius);background-color:#f9f9f9}.player-hole-change{font-weight:700;font-size:1rem;margin-bottom:4px}.player-junk-events{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:4px}.junk-pill{font-size:.8rem;padding:4px 8px;border-radius:4px;background-color:#f0f0f0;margin:2px;display:inline-flex;align-items:center;color:#333}.junk-birdie{background-color:#e6f7ff;border:1px solid #91d5ff;color:#0050b3}.junk-birdie:before{content:"🐦 ";margin-right:4px}.junk-sandie{background-color:#fffbe6;border:1px solid #ffd666;color:#ad6800}.junk-sandie:before{content:"🏖️ ";margin-right:4px}.junk-greenie{background-color:#f6ffed;border:1px solid #b7eb8f;color:#135200}.junk-greenie:before{content:"🥬 ";margin-right:4px}.junk-penalty{background-color:#fff2f0;border:1px solid #ffccc7;color:#a8071a}.junk-penalty:before{content:"❌ ";margin-right:4px}.junk-ld10{background-color:#f9f0ff;border:1px solid #d3adf7;color:#531dab}.junk-ld10:before{content:"🚀 ";margin-right:4px}.player-running-total{font-size:.85rem;color:#666}.player-final-cell{padding:12px 8px!important;background-color:#f5f5f5}.player-junk-total{font-size:.85rem;color:#666}.big-game-cell{font-size:.85rem;background-color:#f5f5f5;text-align:center}.big-game-final-cell{font-size:1.1rem;text-align:center;background-color:#f0f0f0}.big-game-final{margin-top:8px;text-align:center;font-weight:700;padding:6px;background-color:#f0f0f0;border-radius:var(--border-radius)}.ledger-empty{padding:32px;text-align:center;color:var(--color-gray);font-style:italic}@media (max-width: 768px){.ledger-table.detailed-view{display:block;overflow-x:auto}.team-totals{flex-direction:column;align-items:flex-start;gap:8px}.ledger-controls{flex-direction:column;gap:12px;align-items:stretch}.view-controls{display:flex;justify-content:space-between}.back-to-hole-button{width:100%;justify-content:center}}.current-hole-row{background-color:rgba(var(--color-primary-rgb),.1)}.win-amount,.junk-amount{font-weight:700}.player-hole-change{padding:2px 4px;border-radius:3px}.player-hole-change.positive{background-color:#00b4001a;color:#060}.player-hole-change.negative{background-color:#b400001a;color:#600}.player-junk-total{font-size:.85rem;opacity:.8;margin-left:5px}.player-winnings-breakdown{font-size:.85rem;margin-top:2px;color:#666}.big-game-detail{display:flex;flex-direction:column;align-items:center}.big-game-scores{display:flex;align-items:center;gap:4px}.best-net{font-weight:700;padding:1px 4px;border-radius:3px;background-color:#f6f6f6}.best-net-plus{color:#999}.big-game-subtotal{font-weight:700;margin-top:2px}.big-game-running{font-size:.85rem;margin-top:4px;color:#666}.big-game-detail-link{font-size:.8rem;color:#666;margin-top:4px}.bg-column{background-color:#00000008}.player-final-cell{padding:8px;border-radius:4px}.team-red.player-final-cell{background-color:rgba(var(--color-red-rgb),.1)}.team-blue.player-final-cell{background-color:rgba(var(--color-blue-rgb),.1)}.player-final-total{font-weight:700;font-size:1.1rem}@media (max-width: 768px){.ledger-table.detailed-view{font-size:.8rem}.player-junk-events{flex-direction:column}.big-game-detail{font-size:.9rem}}.ledger-header{position:relative}.ledger-header:hover .drawer-toggle{transform:translateY(3px)}.ledger-details{transition:max-height .3s ease-in-out,opacity .2s ease-in-out;overflow:hidden}.settlement-container{background-color:#fff;padding:24px;border-radius:var(--border-radius);box-shadow:var(--box-shadow)}.team-summary{display:flex;justify-content:space-around;margin-bottom:24px}.team-total{font-size:1.2rem;font-weight:700;padding:12px;border-radius:var(--border-radius);background-color:var(--color-light)}.player-settlement{margin-bottom:24px}.settlement-table{width:100%;border-collapse:collapse}.settlement-table th,.settlement-table td{padding:8px;text-align:left;border-bottom:1px solid var(--color-light)}.final-amount{font-weight:700}.big-game-summary{text-align:center;margin-bottom:24px}.big-game-amount{font-size:1.5rem;font-weight:700}.action-buttons{display:flex;justify-content:space-between;gap:16px}.finish-button{background-color:var(--color-secondary)}.new-round-button{background-color:var(--color-primary)}.settlement-view{max-width:1200px;margin:0 auto;padding:20px;background-color:#f9f9f9;border-radius:8px;box-shadow:0 2px 12px #0000001a}.settlement-header{text-align:center;margin-bottom:20px}.settlement-header h2{font-size:28px;margin-bottom:8px;color:var(--color-primary)}.settlement-date{font-size:16px;color:#606266;margin-bottom:16px}.settlement-tabs{display:flex;border-bottom:1px solid #dcdfe6;margin-bottom:24px}.tab-button{padding:12px 20px;background:none;border:none;font-size:16px;font-weight:500;color:#606266;cursor:pointer;transition:all .3s;position:relative}.tab-button:hover,.tab-button.active{color:var(--color-primary)}.tab-button.active:after{content:"";position:absolute;bottom:-1px;left:0;width:100%;height:2px;background-color:var(--color-primary)}.settlement-content{padding:20px 0}.game-result-banner{text-align:center;padding:16px;border-radius:8px;margin-bottom:24px}.game-result-banner h3{font-size:24px;margin:0}.team-summary{display:flex;justify-content:center;align-items:center;margin-bottom:30px}.team-total{flex:1;padding:20px;border-radius:8px;text-align:center;max-width:280px;box-shadow:0 2px 12px #0000001a}.team-red{background-color:#f56c6c1a;color:var(--color-red-team)}.team-blue{background-color:#409eff1a;color:var(--color-blue-team)}.winning-team{border:2px solid gold;box-shadow:0 0 12px #ffd70080}.team-name{font-size:20px;font-weight:700;margin-bottom:8px}.team-amount{font-size:32px;font-weight:700;margin-bottom:8px}.team-holes-won{font-size:16px;opacity:.8}.team-summary-separator{margin:0 20px;font-size:24px;font-weight:700;color:#909399}.player-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;margin-bottom:30px}.player-result{border-radius:8px;padding:16px;box-shadow:0 2px 8px #0000001a}.player-result.team-red{background-color:#f56c6c1a}.player-result.team-blue{background-color:#409eff1a}.player-result-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.player-name{font-family:Sofia Sans Extra Condensed,sans-serif;font-weight:700;font-size:24px}.player-team{font-size:14px;padding:2px 8px;border-radius:4px;background-color:#0000001a}.player-details{display:flex;align-items:center}.player-trend{flex:1}.player-total-container{text-align:right}.player-total{font-size:24px;font-weight:700}.player-junk-total{font-size:14px;margin-top:4px;opacity:.7}.game-stats{background-color:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 8px #0000000d}.stats-row{display:flex;justify-content:space-around}.stat-item{text-align:center;padding:0 16px}.stat-label{font-size:14px;color:#909399;margin-bottom:8px}.stat-value{font-size:20px;font-weight:700;color:#303133}.hole-details-table{width:100%;border-collapse:collapse;margin-bottom:24px}.hole-details-table th{background-color:#f2f2f2;padding:12px;text-align:left;font-weight:600;color:#606266;border-bottom:2px solid #dcdfe6}.hole-details-table td{padding:12px;border-bottom:1px solid #ebeef5}.winner-red{color:var(--color-red-team);font-weight:600}.winner-blue{color:var(--color-blue-team);font-weight:600}.winner-push{color:#909399}.positive-change{color:#67c23a}.negative-change{color:#f56c6c}.player-hole-junk{display:flex;gap:4px;margin-top:4px}.junk-item{font-size:12px;padding:2px 4px;background-color:#0000000d;border-radius:4px;cursor:help}.junk-summary{background-color:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 8px #0000000d}.junk-summary h4{margin-top:0;margin-bottom:16px;color:#303133}.junk-events-container{display:flex;flex-wrap:wrap;gap:12px}.junk-type-item{display:flex;align-items:center;background-color:#f2f2f2;padding:8px 12px;border-radius:20px}.junk-type{margin-right:8px;font-weight:500}.junk-count{background-color:#0000001a;padding:2px 8px;border-radius:12px;font-size:12px}.big-game-tab{max-width:800px;margin:0 auto}.big-game-disabled{text-align:center;padding:40px;color:#909399;font-style:italic}.big-game-total-container{text-align:center;margin-bottom:30px}.big-game-total-container h3{font-size:20px;margin-bottom:8px;color:#303133}.big-game-total-value{font-size:36px;font-weight:700;color:var(--color-primary)}.big-game-table{width:100%;border-collapse:collapse;margin-bottom:24px}.big-game-table th{background-color:#f2f2f2;padding:12px;text-align:left;font-weight:600;color:#606266;border-bottom:2px solid #dcdfe6}.big-game-table td{padding:12px;border-bottom:1px solid #ebeef5}.best-net{font-weight:600;color:#67c23a}.settlement-actions{margin-top:30px;border-top:1px solid #ebeef5;padding-top:20px}.export-actions{display:flex;justify-content:center;gap:16px;margin-bottom:24px}.export-button{padding:10px 16px;background-color:#fff;border:1px solid #dcdfe6;color:#606266;border-radius:4px;font-size:14px;cursor:pointer;transition:all .3s}.export-button:hover{border-color:var(--color-primary);color:var(--color-primary)}.game-actions{display:flex;justify-content:center;gap:16px}.action-button{padding:12px 24px;border:none;border-radius:4px;font-size:16px;font-weight:500;cursor:pointer;transition:all .3s}.rematch-button{background-color:var(--color-primary);color:#fff}.rematch-button:hover{background-color:#66b1ff}.new-game-button{background-color:#67c23a;color:#fff}.new-game-button:hover{background-color:#85ce61}.menu-button{background-color:#909399;color:#fff}.menu-button:hover{background-color:#a6a9ad}.settlement-content.screenshot-mode{background-color:#fff;padding:30px;border-radius:8px;box-shadow:none}.settlement-details-tab{margin-bottom:30px}.hole-details-table{width:100%;border-collapse:collapse;margin-bottom:24px;box-shadow:0 2px 10px #00000014;border-radius:8px;overflow:hidden}.hole-details-header{background-color:#f1f5f9}.hole-details-table th{background-color:#f1f5f9;padding:14px 12px;text-align:center;font-weight:600;color:#475569;font-size:.9rem;text-transform:uppercase;letter-spacing:.5px}.hole-details-table td{padding:12px;border-bottom:1px solid #e2e8f0;vertical-align:top}.hole-row{transition:background-color .2s}.hole-row:hover{background-color:#f8fafc}.winner-red-bg{background-color:#f56c6c0d}.winner-blue-bg{background-color:#409eff0d}.hole-number{font-weight:600;text-align:center;font-size:1.1rem;color:#1e293b}.hole-base,.hole-carry{text-align:center;font-weight:500;color:#475569}.hole-doubles{text-align:center;color:#0f766e;font-weight:700}.hole-winner{text-align:center}.winner-badge{display:inline-block;padding:3px 8px;border-radius:12px;font-weight:600;font-size:.8rem;color:#fff;text-align:center}.winner-badge.red{background-color:#ef4444;box-shadow:0 2px 4px #ef44444d}.winner-badge.blue{background-color:#3b82f6;box-shadow:0 2px 4px #3b82f64d}.player-hole-details{padding:10px;border-radius:6px;transition:all .2s}.player-scores{display:flex;justify-content:center;margin-bottom:6px}.player-score-wrapper{display:flex;align-items:center;gap:4px;background-color:#f8fafc;border-radius:4px;padding:3px 8px;box-shadow:0 1px 2px #0000000d}.gross-score{font-size:1rem;font-weight:600;color:#1e293b}.net-score{font-size:.85rem;color:#64748b}.player-money-change{text-align:center;font-weight:600;font-size:1rem;margin-bottom:6px}.positive-change .player-money-change{color:#16a34a}.negative-change .player-money-change{color:#dc2626}.player-hole-junk{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}.junk-item{display:flex;align-items:center;gap:3px;padding:2px 6px;border-radius:12px;font-size:.8rem;white-space:nowrap;box-shadow:0 1px 2px #00000014}.junk-item.junk-birdie{background-color:#ecfdf5;border:1px solid #a7f3d0;color:#047857}.junk-item.junk-sandy,.junk-item.junk-sandie{background-color:#fffbeb;border:1px solid #fcd34d;color:#b45309}.junk-item.junk-greenie{background-color:#dcfce7;border:1px solid #86efac;color:#15803d}.junk-item.junk-poley{background-color:#f0f9ff;border:1px solid #bae6fd;color:#0369a1}.junk-item.junk-long-drive,.junk-item.junk-ld10{background-color:#fef2f2;border:1px solid #fecaca;color:#b91c1c}.junk-value{font-weight:600}.totals-row{background-color:#f8fafc;border-top:2px solid #e2e8f0}.totals-row td{padding:14px 10px}.player-final-cell{background-color:#f1f5f9;border-radius:6px;text-align:center}.team-red.player-final-cell{background-color:#f56c6c14}.team-blue.player-final-cell{background-color:#409eff14}.player-final-total{font-size:1.1rem;font-weight:700;margin-bottom:4px}.settlement-summary-sections{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:30px}.junk-summary,.hole-stats-summary{background-color:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 8px #0000000d}.junk-summary h4,.hole-stats-summary h4{margin-top:0;margin-bottom:16px;color:#334155;font-size:1.1rem;border-bottom:1px solid #e2e8f0;padding-bottom:10px}.hole-stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.hole-stat-item{background-color:#f8fafc;border-radius:8px;padding:14px;text-align:center;box-shadow:0 1px 3px #0000000d}.stat-label{font-size:.9rem;color:#64748b;margin-bottom:6px}.stat-value{font-size:1.5rem;font-weight:700;color:#334155}.team-red.stat-value{color:#ef4444}.team-blue.stat-value{color:#3b82f6}@media (max-width: 768px){.settlement-summary-sections{grid-template-columns:1fr}.hole-stats-grid{grid-template-columns:1fr 1fr}.hole-details-table{font-size:.9rem}.player-score-wrapper{padding:2px 4px}.gross-score{font-size:.9rem}.net-score{font-size:.75rem}}.screenshot-mode{background-color:#fff;padding:30px;border-radius:10px;box-shadow:0 5px 15px #0003;max-width:800px;margin:0 auto}@media (max-width: 600px){.settlement-view .team-summary{flex-direction:column;gap:10px}.big-game-holes{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}.player-total-breakdown{flex-direction:column;gap:5px}.settlement-actions{flex-direction:column}}.hole-cards-container{display:flex;flex-direction:column;gap:16px;padding:8px}.hole-card{border:1px solid #e2e8f0;border-radius:8px;background-color:#fff;padding:12px;box-shadow:0 2px 4px #0000000d}.settlement-details-tab .hole-card.winner-red-border{border-left:4px solid var(--color-red)}.settlement-details-tab .hole-card.winner-blue-border{border-left:4px solid var(--color-blue)}.hole-card-header{display:flex;justify-content:space-between;align-items:center;font-weight:700;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #f1f5f9}.hole-number-card{font-size:1.1em}.hole-winner-card{font-size:.9em;display:flex;align-items:center}.winner-badge-card{padding:3px 8px;border-radius:4px;color:#fff;font-size:.85em;margin-left:6px;text-transform:uppercase;letter-spacing:.5px}.winner-badge-card.red{background-color:var(--color-red)}.winner-badge-card.blue{background-color:var(--color-blue)}.winner-badge-card.push{background-color:var(--color-gray)}.hole-card-main-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:8px;padding:10px 0;margin-bottom:12px;font-size:.9em;text-align:center}.hole-card-main-info span{padding:6px;background-color:#f8fafc;border-radius:4px;border:1px solid #eef2f7}.player-details-grid{display:grid;grid-template-columns:1fr;gap:12px}@media (min-width: 500px){.settlement-details-tab .player-details-grid{grid-template-columns:repeat(2,1fr)}}.player-details-card{background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;padding:10px;font-size:.9em}.settlement-details-tab .team-text-red .player-name-card{color:var(--color-red)}.settlement-details-tab .team-text-blue .player-name-card{color:var(--color-blue)}.player-name-card{font-family:Sofia Sans Extra Condensed,sans-serif;font-weight:700;display:block;margin-bottom:6px;font-size:1.05em}.player-score-card,.player-change-card,.player-junk-card{margin-bottom:5px;line-height:1.4}.gross-score-card{font-weight:500}.net-score-card{color:#4a5568;font-style:italic;margin-left:4px}.player-junk-card{margin-top:8px;padding-top:6px;border-top:1px dashed #e0e0e0}.player-junk-card span.junk-item-card:not(:last-child){margin-right:6px}.junk-item-card{display:inline-block;font-size:.9em;background-color:#e9ecef;padding:3px 6px;border-radius:12px;margin-bottom:4px;color:#343a40}.settlement-big-game-tab .big-game-disabled{padding:20px;text-align:center;color:var(--color-gray);font-style:italic}.big-game-overall-total{text-align:center;margin-bottom:20px;padding:15px;background-color:#f8f9fa;border-radius:8px}.big-game-overall-total h3{margin-top:0;margin-bottom:8px;font-size:1.2em;color:var(--color-dark)}.settlement-big-game-tab .big-game-total-value{font-size:2em;font-weight:700;color:var(--color-primary)}.big-game-cards-container{display:flex;flex-direction:column;gap:16px;padding:8px}.big-game-card{border:1px solid #e2e8f0;border-radius:8px;background-color:#fff;padding:12px;box-shadow:0 2px 4px #0000000d}.big-game-card-header{font-weight:700;margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #f1f5f9}.big-game-card-scores,.big-game-card-subtotal,.big-game-card-running-total{margin-bottom:8px;font-size:.95em;padding:6px 0}.settlement-big-game-tab .best-net-score{font-weight:600;background-color:#e9ecef;padding:2px 6px;border-radius:4px;margin:0 2px}.subtotal-value,.running-total-value{font-weight:700;color:var(--color-dark)}.best-net-score-player{font-weight:600;background-color:#e9ecef;padding:2px 6px;border-radius:4px;margin:0 2px;display:inline-block}.hole-cards-container,.big-game-cards-container{display:flex;flex-direction:column;gap:16px;padding:8px}.course-selection{margin-bottom:24px}.course-select{width:100%;padding:12px;margin-top:8px}.tee-selection{margin-bottom:24px}.player-tee-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding:8px;background-color:var(--color-light);border-radius:var(--border-radius)}.player-name{font-weight:700;flex:1}.tee-selector{display:flex;align-items:center;gap:12px}.tee-color-indicator{width:20px;height:20px;border-radius:50%;border:1px solid var(--color-gray)}.setup-buttons{display:flex;gap:16px}.back-button{flex:1;background-color:var(--color-gray)}.continue-button{flex:2;background-color:var(--color-secondary);font-weight:700}.course-manager{width:100%;max-width:1200px;margin:0 auto;padding:1rem}.course-manager-layout{display:grid;grid-template-columns:1fr 2fr 2fr;gap:1.5rem;margin-top:1.5rem}@media (max-width: 768px){.course-manager-layout{grid-template-columns:1fr}}.course-list-panel,.course-details-panel,.tee-details-panel{background:#f8f9fa;border-radius:8px;padding:1rem;box-shadow:0 2px 4px #0000001a}.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;border-bottom:1px solid #dee2e6;padding-bottom:.5rem}.panel-header h3{margin:0;font-size:1.1rem}.course-list{max-height:400px;overflow-y:auto}.course-item{padding:.75rem;border-radius:4px;cursor:pointer;transition:background-color .2s}.course-item:hover{background-color:#e9ecef}.course-item.selected{background-color:#007bff;color:#fff;font-weight:500}.tee-list{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.tee-item{display:flex;align-items:center;padding:.5rem .75rem;border-radius:4px;background:#e9ecef;cursor:pointer;transition:background-color .2s}.tee-item:hover{background-color:#dee2e6}.tee-item.selected{background-color:#007bff;color:#fff}.tee-color-indicator{width:12px;height:12px;border-radius:50%;margin-right:.5rem}.tee-name{font-size:.9rem}.empty-state{padding:2rem;text-align:center;color:#6c757d;font-style:italic}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.25rem;font-size:.9rem;font-weight:500}.form-group input,.form-group select{width:100%;padding:.5rem;border:1px solid #ced4da;border-radius:4px}.form-actions{display:flex;gap:.5rem;margin-top:1.5rem}.add-button,.edit-button,.save-button,.cancel-button,.delete-button,.edit-holes-button{padding:.5rem 1rem;border:none;border-radius:4px;font-weight:500;cursor:pointer}.add-button{background-color:#28a745;color:#fff}.edit-button{background-color:#ffc107;color:#212529}.save-button{background-color:#007bff;color:#fff}.cancel-button{background-color:#6c757d;color:#fff}.delete-button{background-color:#dc3545;color:#fff}.edit-holes-button{background-color:#17a2b8;color:#fff;margin-top:.5rem}.hole-editor{width:100%;max-width:900px;margin:0 auto;padding:1rem}.hole-editor h2{margin-bottom:1.5rem;text-align:center}.hole-editor-table{overflow-x:auto;margin-bottom:2rem}.hole-editor table{width:100%;border-collapse:collapse}.hole-editor th,.hole-editor td{border:1px solid #dee2e6;padding:.75rem;text-align:center}.hole-editor th{background-color:#f8f9fa;font-weight:500}.hole-editor tr:nth-child(2n){background-color:#f8f9fa}.hole-editor input,.hole-editor select{width:100%;padding:.5rem;border:1px solid #ced4da;border-radius:4px}.stroke-index-explanation{background-color:#e9ecef;border-radius:8px;padding:1rem;margin-bottom:2rem}.stroke-index-explanation h3{font-size:1.1rem;margin-bottom:.5rem}.stroke-index-explanation p{font-size:.9rem;margin-bottom:.5rem}.hole-editor-actions{display:flex;justify-content:center;gap:1rem}.course-manager-actions{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.import-button,.export-button{background-color:#6c757d;color:#fff;border:none;border-radius:4px;padding:8px 16px;cursor:pointer;font-size:.9rem;display:flex;align-items:center;justify-content:center;gap:6px}.import-button{background-color:#28a745}.import-button:hover{background-color:#218838}.export-button{background-color:#17a2b8}.export-button:hover{background-color:#138496}.export-button:disabled{background-color:#6c757d;opacity:.6;cursor:not-allowed}.panel-actions{display:flex;gap:8px}.search-container{margin-bottom:1rem;padding:0 1rem}.search-input{width:100%;padding:.75rem;border:1px solid #ced4da;border-radius:4px;font-size:.9rem;background-color:#fff;transition:border-color .2s}.search-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.search-input::placeholder{color:#6c757d}.course-creation-wizard{max-width:900px;margin:0 auto;background:#fff;border-radius:12px;box-shadow:0 4px 12px #00000026;overflow:hidden}.wizard-header{background:linear-gradient(135deg,#007bff,#0056b3);color:#fff;padding:1.5rem}.wizard-header h2{margin:0 0 1rem;font-size:1.5rem}.step-indicator{display:flex;gap:1rem}.step{padding:.5rem 1rem;border-radius:20px;background:#fff3;color:#ffffffb3;font-size:.9rem;transition:all .3s ease}.step.active{background:#ffffff4d;color:#fff;font-weight:500}.step.completed{background:#28a745cc;color:#fff}.wizard-content{padding:2rem}.wizard-step{min-height:400px}.wizard-step h3{margin:0 0 .5rem;color:#343a40;font-size:1.3rem}.wizard-step p{margin:0 0 2rem;color:#6c757d}.template-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-bottom:2rem}.template-card{border:2px solid #e9ecef;border-radius:8px;padding:1.5rem;cursor:pointer;transition:all .3s ease;background:#f8f9fa}.template-card:hover{border-color:#007bff;background:#fff;box-shadow:0 4px 8px #007bff1a}.template-card h4{margin:0 0 .5rem;color:#007bff;font-size:1.1rem}.template-card p{margin:0 0 1rem;color:#6c757d;font-size:.9rem}.template-card ul{margin:0;padding-left:1.2rem;color:#495057;font-size:.85rem}.template-card li{margin-bottom:.25rem}.tee-config-layout{display:grid;grid-template-columns:1fr 2fr;gap:2rem;margin-bottom:2rem}.tee-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.tee-list-header h4{margin:0;color:#343a40}.add-tee-button{background:#28a745;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-size:.9rem}.add-tee-button:hover{background:#218838}.remove-tee-button{background:none;border:none;color:#dc3545;font-size:1.2rem;cursor:pointer;margin-left:auto;padding:.25rem;border-radius:2px}.remove-tee-button:hover{background:#dc35451a}.tee-item.selected .remove-tee-button{color:#fffc}.tee-form{background:#f8f9fa;padding:1.5rem;border-radius:8px;border:1px solid #dee2e6}.tee-form h4{margin:0 0 1.5rem;color:#343a40}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-group.error input{border-color:#dc3545}.error-message{color:#dc3545;font-size:.85rem;margin-top:.25rem;display:block}.hole-config-layout{margin-bottom:2rem}.hole-config-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding:1rem;background:#f8f9fa;border-radius:8px}.fill-defaults-button{background:#17a2b8;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-size:.9rem}.fill-defaults-button:hover{background:#138496}.hole-grid{display:grid;grid-template-columns:repeat(9,1fr);gap:.5rem;margin-bottom:2rem}.hole-grid-item{aspect-ratio:1;border:2px solid #dee2e6;border-radius:4px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;background:#fff;transition:all .2s ease}.hole-grid-item:hover{border-color:#007bff}.hole-grid-item.selected{border-color:#007bff;background:#007bff;color:#fff}.hole-grid-item.complete{border-color:#28a745;background:#f8fff9}.hole-grid-item.incomplete{border-color:#ffc107;background:#fffcf0}.hole-grid-item.selected.complete{background:#28a745}.hole-grid-item.selected.incomplete{background:#ffc107}.hole-number{font-weight:700;font-size:1rem}.hole-summary{font-size:.7rem;text-align:center;margin-top:.25rem;line-height:1.2}.wizard-actions{display:flex;gap:1rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #dee2e6}.wizard-actions button{padding:.75rem 1.5rem;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .2s ease}.wizard-actions .back-button{background:#6c757d;color:#fff}.wizard-actions .back-button:hover{background:#545b62}.wizard-actions .cancel-button{background:#dc3545;color:#fff}.wizard-actions .cancel-button:hover{background:#c82333}.next-button,.complete-button{background:#007bff;color:#fff;margin-left:auto}.next-button:hover,.complete-button:hover{background:#0056b3}.complete-button{background:#28a745}.complete-button:hover{background:#218838}@media (max-width: 768px){.course-creation-wizard{margin:1rem}.wizard-content{padding:1rem}.template-options,.tee-config-layout{grid-template-columns:1fr}.hole-grid{grid-template-columns:repeat(6,1fr)}.form-row{grid-template-columns:1fr}.hole-config-controls{flex-direction:column;gap:1rem;align-items:stretch}.step-indicator{flex-direction:column;gap:.5rem}.wizard-actions{flex-direction:column}.next-button,.complete-button{margin-left:0}}.tee-editor{max-width:600px;margin:0 auto;padding:2rem;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a}.tee-editor h2{margin-bottom:1.5rem;color:#333}.rating-explanation{background:#f8f9fa;padding:1rem;border-radius:4px;margin:1rem 0;border-left:4px solid #007bff}.rating-explanation h4{margin:0 0 .5rem;color:#495057}.rating-explanation p{margin:.25rem 0;font-size:.9rem;color:#6c757d}.bulk-operations{background:#f8f9fa;padding:1rem;border-radius:4px;margin-bottom:1.5rem;border-left:4px solid #28a745}.bulk-operations h3{margin:0 0 1rem;color:#495057;font-size:1rem}.bulk-controls{display:flex;flex-wrap:wrap;gap:1rem}.bulk-group{display:flex;align-items:center;gap:.5rem}.bulk-group label{font-weight:500;color:#495057;min-width:80px}.bulk-button{padding:.25rem .5rem;font-size:.8rem;background-color:#28a745;color:#fff;border:none;border-radius:3px;cursor:pointer;transition:background-color .2s}.bulk-button:hover{background-color:#218838}.bulk-button:active{background-color:#1e7e34}@media (max-width: 768px){.bulk-controls{flex-direction:column;align-items:stretch}.bulk-group{flex-direction:column;align-items:stretch;gap:.25rem}.bulk-group label{min-width:auto}}.millbrook-app{display:flex;flex-direction:column;min-height:100vh}main{margin-top:calc(var(--header-height) + var(--header-safe-area));flex:1;width:100%;box-sizing:border-box}.app-container{width:100%;margin:0 auto;padding:8px;min-height:100vh;display:flex;flex-direction:column;box-sizing:border-box}.app-header{position:fixed;top:0;left:0;right:0;z-index:5;background-color:#fff}.header-actions{display:flex;justify-content:flex-end;padding:8px 16px;gap:8px;border-bottom:1px solid #e2e8f0}.app-content{flex:1}.app-footer{margin-top:24px;padding-top:16px;border-top:1px solid var(--color-gray);text-align:center;font-size:.8rem;color:var(--color-gray)}.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem;background-color:#fff;border-radius:var(--border-radius);box-shadow:var(--box-shadow);text-align:center;max-width:80%;margin:2rem auto}.error-container h2{color:var(--color-error);margin-bottom:1rem}.error-details{background-color:#f8d7da;border:1px solid #f5c6cb;color:#721c24;padding:.75rem;border-radius:var(--border-radius);margin:1rem 0;font-family:monospace;word-break:break-word;max-width:100%;overflow-x:auto}.error-reset-button{background-color:var(--color-primary);color:#fff;border:none;padding:.75rem 1.5rem;font-size:1rem;cursor:pointer;border-radius:var(--border-radius);margin-top:1rem}.error-reset-button:hover{background-color:#217dbb}.error-message{padding:12px 16px;background-color:#fee2e2;border-left:4px solid #ef4444;color:#b91c1c;margin-bottom:20px;border-radius:4px;font-weight:500;flex-shrink:0}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-content{background-color:#fff;padding:20px;border-radius:var(--border-radius);width:90%;max-width:500px;box-shadow:0 4px 12px #00000026}.modal-content h3{margin-top:0;color:var(--color-primary);border-bottom:1px solid #eee;padding-bottom:10px}.warning{color:#f56c6c;font-weight:700;margin:15px 0}.dialog-actions{display:flex;justify-content:flex-end;gap:15px;margin-top:20px}.dialog-actions button{padding:10px 20px;border-radius:var(--border-radius);font-size:1rem;cursor:pointer;border:none}.cancel-button{background-color:#909399;color:#fff}.confirm-button{background-color:#409eff;color:#fff}.player-card-root{position:relative;background-color:YOUR_WHITE_COLOR;border-radius:.5rem;box-shadow:0 1px 2px #0000000d;padding:.75rem;margin-bottom:.75rem}.player-card-team-indicator{position:absolute;top:0;bottom:0;left:0;width:.25rem;border-top-left-radius:.5rem;border-bottom-left-radius:.5rem;background-color:var(--team-color)}.player-card-content-wrapper{padding-left:.5rem}.player-card-name{font-family:Sofia Sans Extra Condensed,sans-serif;font-size:1.2rem;font-weight:500;margin-bottom:.25rem}.player-card-children-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.ghost-player-card{opacity:.65;filter:grayscale(.3) brightness(1.05);background:linear-gradient(90deg,#f3f4f6 60%,#e0e7ef);position:relative;transition:box-shadow .2s,opacity .2s}.ghost-player-card:focus{outline:2px solid #8b5cf6;box-shadow:0 0 0 3px #c7d2fe}.player-card-clickable-wrapper{cursor:pointer}.player-card-detail-text{font-size:.75rem;color:YOUR_GREY_60_COLOR}.player-card-score-text{font-size:.875rem;font-weight:600;grid-column:span 2 / span 2;margin-top:.25rem}.player-card-strokes-text{font-size:.75rem;font-weight:600;grid-column:span 2 / span 2}.players-four-box-root{margin-bottom:.5rem}.players-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.team-placeholder-box{height:5rem;border-radius:.25rem;display:flex;align-items:center;justify-content:center;opacity:.5}.team-placeholder-red{background-color:YOUR_RED_100_COLOR}.team-placeholder-blue{background-color:YOUR_BLUE_100_COLOR}.page-header-root{margin-bottom:1rem}.page-header-title{font-size:1.25rem;font-weight:700}.page-header-subtitle{font-size:1.125rem;color:YOUR_GREY_60_COLOR}.section-card-container{background-color:#fff;border-radius:.5rem;box-shadow:0 1px 2px #0000000d;padding:1rem;margin-bottom:1rem}.bottom-nav-root{position:fixed;bottom:0;left:0;right:0;background-color:YOUR_WHITE_COLOR;box-shadow:inset 0 2px 4px #0000000f;z-index:40}.bottom-nav-content{display:flex;align-items:center;justify-content:space-between;padding:.5rem .75rem}.nav-tabs-root{display:flex;gap:.5rem;margin-top:.75rem;margin-bottom:.75rem}.nav-tab-button{flex:1 1 0%;height:2.5rem;font-size:.875rem;font-weight:500;border:none;cursor:pointer;padding:0 .75rem}.nav-tab-button-active{background-color:YOUR_BRAND_COLOR;color:YOUR_WHITE_COLOR}.nav-tab-button-inactive{background-color:YOUR_GREY_30_COLOR;color:YOUR_GREY_90_COLOR}.hole-view-root{padding-bottom:5rem}.hole-content-container{padding-left:1rem;padding-right:1rem}.tee-info-row{display:flex;justify-content:space-between;font-size:1rem;margin-bottom:.25rem}.tee-info-row-fallback{display:flex;justify-content:space-between;font-size:.875rem}.pot-summary-bar{display:flex;width:100%;align-items:center;font-size:1rem;font-weight:500}.pot-summary-item{flex:1 1 0%}.pot-summary-item-left{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px}.pot-summary-item-center{text-align:center}.pot-summary-item-right{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px}.scores-section-container{margin-bottom:1rem}.scores-section-title{font-size:1.125rem;font-weight:600;margin-bottom:.75rem}.doubles-button{margin-right:.5rem}.double-indicator{padding:.5rem .75rem;font-size:.875rem;background-color:YOUR_GREY_30_COLOR;color:YOUR_GREY_60_COLOR;border-radius:.25rem}.submit-scores-button{flex:1 1 0%}.big-game-stroke-indicator{color:#006400}.hole-info-summary{display:flex;flex-wrap:wrap;gap:10px;padding:8px 0}.big-game-status-item{display:flex;flex-direction:column;align-items:flex-start;padding:4px 0}.big-game-pill{background-color:#006400;color:#fff;padding:3px 7px;border-radius:10px;font-size:.75em;font-weight:700;margin-bottom:5px;display:inline-block}.big-game-stroke-chips-summary{display:flex;flex-wrap:wrap;gap:5px}.stroke-chip{display:inline-flex;align-items:center;justify-content:center;padding:2px 6px;border-radius:4px;font-size:.8em;font-weight:500;line-height:1;min-width:24px;text-align:center}.stroke-chip.big-game-stroke-chip{background-color:#e6ffee;color:#006400;border:1px solid darkgreen}.big-game-pill-pot-summary{margin-top:8px;display:inline-block;background-color:#166534;color:#fff;border-radius:20px;padding:2px 12px;font-weight:600;font-size:1rem;letter-spacing:1px}.big-game-stroke-chips-summary{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;padding-top:4px}.stroke-chip.big-game-stroke-chip{color:#fff;background-color:#006400;padding:1px 5px;font-size:.7rem;border-radius:8px;height:auto;line-height:1.1;margin-left:-5px;z-index:1;position:relative}.stroke-chip.big-game-stroke-chip:first-child{margin-left:0;z-index:2}.standalone-bottom-padding{padding-bottom:8px!important}.chip-root{display:inline-flex;align-items:center;height:2rem;padding-left:.75rem;padding-right:.75rem;background-color:YOUR_BRAND_20_COLOR;border-radius:9999px}.chip-remove-button{margin-left:.5rem;color:YOUR_GREY_60_COLOR;background-color:transparent;border:none;padding:0;cursor:pointer;font-size:1.5em;line-height:1}.chip-remove-button:hover{color:YOUR_GREY_90_COLOR}.auth-container{display:flex;justify-content:center;align-items:center;min-height:70vh;padding:20px}.auth-card{background-color:#fff;border-radius:8px;box-shadow:0 4px 6px #0000001a;padding:2rem;width:100%;max-width:400px}.auth-card h2{text-align:center;margin-bottom:1.5rem;color:#333}.form-group{margin-bottom:1.25rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#555}.form-group input{width:100%;padding:.75rem;border:1px solid #ccc;border-radius:4px;font-size:1rem}.form-group input:focus{outline:none;border-color:#4a90e2;box-shadow:0 0 0 2px #4a90e233}.auth-button{width:100%;padding:.75rem;background-color:#4a90e2;color:#fff;border:none;border-radius:4px;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .3s}.auth-button:hover{background-color:#3a7bc8}.auth-button:disabled{background-color:#aaa;cursor:not-allowed}.error-message{color:#e53935;font-size:.875rem;margin-top:.5rem}.auth-link-container{text-align:center;margin-top:1.5rem;font-size:.9rem}.auth-link-container a{color:#4a90e2;text-decoration:none;font-weight:500}.auth-link-container a:hover{text-decoration:underline}.user-profile{display:flex;align-items:center;margin-right:15px}.user-info{display:flex;align-items:center}.user-email{font-size:.9rem;margin-right:10px;color:#333}.logout-button{padding:5px 10px;background-color:#e53935;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:.8rem;transition:background-color .3s}.logout-button:hover{background-color:#d32f2f}.logout-button:disabled{background-color:#ef9a9a;cursor:not-allowed}.auth-links{display:flex;align-items:center}.auth-link{color:#4a90e2;text-decoration:none;font-size:.9rem;padding:5px}.auth-link:hover{text-decoration:underline}.auth-divider{margin:0 5px;color:#ccc}.loading{display:flex;justify-content:center;align-items:center;min-height:50vh;font-size:1.2rem;color:#666}.top-bar-root{position:fixed;top:0;left:0;right:0;background-color:var(--color-green);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;z-index:50}.topbar-title{margin:0;color:var(--color-white);font-family:Pacifico,cursive}.top-bar-standalone{height:120px!important}html,body{height:100%;margin:0;padding:0;overflow:hidden}#root{height:100%;display:flex;flex-direction:column}.players-screen{display:flex;flex-direction:column;flex-grow:1;min-height:0;max-height:100vh;background-color:#f8f9fa}.sticky-pills-wrapper{position:sticky;top:0;z-index:10;background-color:transparent;box-shadow:0 2px 4px #0000000d;flex-shrink:0}.player-roster-inline{display:flex;flex-direction:column}.players-title{margin-bottom:16px;margin-left:10px}ul.player-list{list-style:none;margin:0;padding:0 0 72px;overflow-x:hidden}.player-row{display:flex;align-items:center;justify-content:space-between;padding:12px 8px;width:100%;box-sizing:border-box;border-bottom:1px solid #e9ecef}.player-info{display:flex;align-items:center;flex:1;min-width:0;margin-right:8px}.player-initials{width:36px;height:36px;border-radius:50%;background-color:#e9ecef;color:#495057;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem;flex-shrink:0;margin-right:12px}.player-info>div:last-child{white-space:normal;word-break:break-word}.player-name{font-family:Sofia Sans Extra Condensed,sans-serif;font-weight:500}.player-index{color:#666;margin-left:4px;white-space:normal}.player-actions{display:flex;align-items:center;flex-shrink:0}.team-selection{display:flex;align-items:center;margin-right:8px}.team-selection button{padding:6px 12px;border:1px solid #ced4da;border-radius:4px;cursor:pointer;font-size:.8rem;background-color:#fff}.team-selection button.red.selected{background-color:#e74c3c;color:#fff;border-color:#e74c3c}.team-selection button.blue.selected{background-color:#3498db;color:#fff;border-color:#3498db}.team-radio{padding:4px 8px;font-size:12px;min-width:50px;text-align:center;border:1px solid #ccc;background-color:#f0f0f0;color:#333;cursor:pointer;transition:background-color .2s,border-color .2s}.team-radio.red{border-top-right-radius:0;border-bottom-right-radius:0}.team-radio.blue{border-top-left-radius:0;border-bottom-left-radius:0}.team-radio.selected{border-color:#007bff;color:#fff}.team-radio.red.selected{background-color:#dc3545;border-color:#dc3545}.team-radio.blue.selected{background-color:#007bff;border-color:#007bff}.remove-player-button{background:none;border:none;color:#888;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center}.remove-player-button:hover{color:#dc3545}.roster-message{padding:40px 20px;text-align:center;color:#6c757d}.roster-message.error{color:#dc3545}.roster-message .empty-icon{font-size:3rem;margin-bottom:1rem}.top-pills{display:flex;justify-content:space-around;align-items:center;padding:8px 0}.team-pill{display:flex;align-items:center;gap:8px;padding:8px 16px;border-radius:20px;font-weight:700;cursor:default;min-width:100px;justify-content:center;border:none}.team-pill.red{background-color:#e74c3c;color:#fff}.team-pill.blue{background-color:#3498db;color:#fff}.avatar-stack{display:flex}.avatar-circle{width:24px;height:24px;border-radius:50%;background-color:#ffffff4d;color:#fff;display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:700;margin-left:-8px;border:1px solid rgba(0,0,0,.1)}.ghost-avatar{opacity:.6;filter:grayscale(.4) brightness(1.1);background:linear-gradient(90deg,#e0e7ef 60%,#f3f4f6);color:#888;position:relative}.ghost-avatar:focus{outline:2px solid #8b5cf6;box-shadow:0 0 0 2px #c7d2fe}.avatar-stack .avatar-circle:first-child{margin-left:0}.pill-count{font-size:.9rem}.pulse-animation{animation:pulse .5s ease-out}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}.players-content-scrollable{display:flex;flex-direction:column;flex-grow:1;min-height:0;overflow-y:auto;padding-bottom:72px}.players-description{color:#666;margin-bottom:32px}.manage-players-button{width:100%;padding:12px;background-color:#1a5e46;color:#fff;border-radius:8px;font-weight:500;text-align:center;box-shadow:0 2px 4px #0000001a;cursor:pointer}.manage-players-button:hover{background-color:#27ae60}.bottom-sheet-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#00000080;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:40}.bottom-sheet-content{position:fixed;bottom:0;left:0;right:0;max-height:80vh;overflow-y:auto;background-color:#fff;border-top-left-radius:16px;border-top-right-radius:16px;box-shadow:0 -4px 12px #0000001a;padding:16px;z-index:50}@media (min-width: 768px){.bottom-sheet-content{max-width:480px;margin:0 auto;border-radius:16px;top:50%;bottom:auto;transform:translateY(-50%)}}.fab-add-player{position:fixed;bottom:24px;right:24px;z-index:20;width:80px;height:56px;border-radius:28px;background-color:#1a5e46;color:#fff;border:none;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px #0003;cursor:pointer;transition:transform .2s ease-out,background-color .2s ease}.fab-add-player svg{width:24px;height:24px}.fab-add-player:hover{background-color:#27ae60;transform:scale(1.05)}.start-match-button{position:fixed;bottom:24px;left:24px;z-index:20;height:56px;border-radius:28px;background-color:#1a5e46;color:#fff;border:none;padding:0 24px;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:500;box-shadow:0 4px 12px #0003;cursor:pointer;transition:transform .2s ease-out,background-color .2s ease}.start-match-button:hover{background-color:#27ae60;transform:scale(1.05)}.selected-players-container{margin-bottom:1rem}.selected-players-title{font-size:1rem;font-weight:500;margin-bottom:.5rem}.selected-players-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.team-selection-cell{display:flex;align-items:center}.team-select-dropdown{margin-left:.5rem;height:2rem;border-radius:.25rem;padding-left:.5rem;padding-right:.5rem;font-size:.875rem;border:1px solid #D1D5DB}.empty-player-slot{height:2rem;padding-left:.75rem;padding-right:.75rem;border-radius:9999px;display:flex;align-items:center}.empty-player-slot-blue{color:#00f}.empty-player-slot-red{color:red}.search-box-wrapper{margin-bottom:1rem}.search-input-field{width:100%;height:2.5rem;padding-left:.75rem;padding-right:.75rem;border:1px solid #ccc;border-radius:.25rem}.general-button-styling{width:100%;height:2.5rem;border-radius:.25rem}.add-player-form-container{margin-bottom:1rem}.add-player-form-title{font-size:1rem;font-weight:500;margin-bottom:.5rem}.form-input-field{width:100%;height:2.5rem;padding-left:.75rem;padding-right:.75rem;border:1px solid #ccc;border-radius:.25rem}.form-input-field-spacing{margin-bottom:.75rem}.form-actions-row{display:flex;gap:.5rem}.form-button{flex:1 1 0%}.chip-blue{background-color:#00f;color:#fff}.chip-red{background-color:red;color:#fff}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000073;z-index:1000;display:flex;align-items:center;justify-content:center;animation:fadeIn .2s}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:18px;box-shadow:0 8px 32px #0000002e,0 1.5px 6px #00000014;padding:32px 24px 24px;max-width:420px;width:95vw;position:relative;animation:modalPopIn .22s cubic-bezier(.23,1.01,.32,1)}@keyframes modalPopIn{0%{transform:scale(.96) translateY(30px);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.modal-content h2{margin-top:0;margin-bottom:18px;font-size:1.5rem;text-align:center;font-weight:600;letter-spacing:.01em}.modal-content>button[aria-label=Close]{position:absolute;top:14px;right:14px;background:none;border:none;font-size:1.8rem;color:#aaa;cursor:pointer;transition:color .15s;z-index:2}.modal-content>button[aria-label=Close]:hover{color:#e74c3c}.quick-handicap-editor .editor-container{padding-top:8px}.quick-handicap-editor .editor-form{margin-bottom:18px}.quick-handicap-editor .form-group label{font-weight:500;color:#333}.quick-handicap-editor .form-group input,.quick-handicap-editor .form-group textarea{width:100%;padding:10px;border:1px solid #d1d5db;border-radius:6px;font-size:1rem;margin-top:4px;margin-bottom:10px;box-sizing:border-box;background:#fafbfc;transition:border .15s}.quick-handicap-editor .form-group input:focus,.quick-handicap-editor .form-group textarea:focus{border:1.5px solid #1A5E46;outline:none}.quick-handicap-editor .form-group .invalid{border-color:#e74c3c;background:#fff6f6}.quick-handicap-editor .error-message{color:#e74c3c;font-size:.95rem;margin-top:-6px;margin-bottom:8px}.quick-handicap-editor .editor-actions{display:flex;flex-direction:column;gap:10px}.quick-handicap-editor .save-button{background:#1a5e46;color:#fff;border:none;border-radius:6px;padding:12px 0;font-size:1.1rem;font-weight:600;cursor:pointer;transition:background .18s}.quick-handicap-editor .save-button:disabled{background:#b7c7bc;cursor:not-allowed}.quick-handicap-editor .save-button:not(:disabled):hover{background:#27ae60}.quick-handicap-editor .secondary-actions{display:flex;justify-content:space-between;gap:10px}.quick-handicap-editor .cancel-button{background:#f3f3f3;color:#444;border:none;border-radius:6px;padding:10px 0;font-size:1rem;font-weight:500;cursor:pointer;flex:1;transition:background .15s}.quick-handicap-editor .cancel-button:hover{background:#e0e0e0}.quick-handicap-editor .delete-button{background:#e74c3c;color:#fff;border:none;border-radius:6px;padding:10px 0;font-size:1rem;font-weight:500;cursor:pointer;flex:1;transition:background .15s}.quick-handicap-editor .delete-button:hover{background:#c0392b}.bottom-sheet-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;z-index:1000;display:flex;align-items:flex-end;justify-content:center;animation:fadeIn .2s}.polished-bottom-sheet.bottom-sheet{position:relative;width:100vw;max-width:480px;min-height:220px;max-height:80vh;background:#fff;border-top-left-radius:18px;border-top-right-radius:18px;box-shadow:0 -8px 32px #0000002e,0 -1.5px 6px #00000014;display:flex;flex-direction:column;animation:bottomSheetSlideUp .28s cubic-bezier(.23,1.01,.32,1);overflow:hidden}@keyframes bottomSheetSlideUp{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}.bottom-sheet-drag-handle{width:44px;height:6px;background:#e0e0e0;border-radius:3px;margin:12px auto 8px}.bottom-sheet-header{display:flex;align-items:center;justify-content:space-between;padding:0 20px 8px;border-bottom:1px solid #f0f0f0}.bottom-sheet-close-btn{background:none;border:none;font-size:1.7rem;color:#aaa;cursor:pointer;padding:2px 8px;transition:color .15s}.bottom-sheet-close-btn:hover{color:#e74c3c}.bottom-sheet-content-area{overflow-y:auto;padding:18px 20px 0;flex:1 1 auto;display:flex;flex-direction:column;gap:18px}.bottom-sheet-score-row{display:flex;align-items:center;gap:16px;margin-bottom:8px}.bottom-sheet-par{font-weight:700;font-size:1.1rem}.bottom-sheet-strokes{background:#e0e0e0;color:#fff;font-size:1rem;font-weight:600;border-radius:6px;padding:2px 10px;margin-left:6px}.bottom-sheet-section{margin-bottom:8px}.bottom-sheet-section h4{margin:0 0 10px;font-size:1.08rem;font-weight:600}.bottom-sheet-score-options{display:flex;flex-wrap:wrap;gap:8px}.bottom-sheet-score-btn{border:1.5px solid #ccc;border-radius:6px;padding:10px 14px;background:#fafbfc;cursor:pointer;min-width:48px;font-size:1rem;font-weight:500;transition:border .15s,background .15s}.bottom-sheet-score-btn.selected{border-width:2.5px;background:#e0f7e9;font-weight:700}.bottom-sheet-junk-options{display:flex;flex-direction:column;gap:10px}.bottom-sheet-junk-options label{display:flex;align-items:center;font-size:1rem;gap:8px;cursor:pointer}.bottom-sheet-junk-options input[type=checkbox]{accent-color:#1A5E46;width:18px;height:18px}.bottom-sheet-footer{position:sticky;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #eee;padding:18px 20px;display:flex;justify-content:flex-end;align-items:center;z-index:2}.bottom-sheet-done-btn{background:#1a5e46;color:#fff;border:none;border-radius:8px;padding:14px 36px;font-size:1.15rem;font-weight:700;cursor:pointer;box-shadow:0 2px 8px #00000014;transition:background .18s,transform .12s}.bottom-sheet-done-btn:hover{background:#27ae60;transform:scale(1.04)}@media (max-width: 600px){.polished-bottom-sheet.bottom-sheet{max-width:100vw;border-radius:18px 18px 0 0}.bottom-sheet-content-area,.bottom-sheet-footer{padding-left:10px;padding-right:10px}}.fab-add-player-icon{width:1.5rem;height:1.5rem}.player-list-divided>li:not(:first-child){border-top-width:1px;border-color:#e5e7eb}.players-list--standalone{padding-bottom:96px}.add-player-form-content{max-width:400px;padding:20px}.add-player-form-content h3{margin-top:0;margin-bottom:20px;text-align:center}.form-group{margin-bottom:15px}.form-group label{display:block;margin-bottom:5px;font-weight:500;color:#333}.form-group input[type=text],.form-group input[type=number]{width:100%;padding:10px;border:1px solid #ccc;border-radius:4px;box-sizing:border-box;font-size:1rem}.form-error{color:#dc3545;background-color:#f8d7da;border:1px solid #f5c6cb;padding:10px;border-radius:4px;margin-bottom:15px;text-align:center}.tee-selection{background-color:var(--color-white);border-radius:var(--border-radius);padding:16px;margin-bottom:16px;box-shadow:var(--box-shadow)}.tee-selection h3{margin-top:0;margin-bottom:16px;color:var(--color-dark);font-weight:600}.player-tee-row{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--color-grey30)}.player-tee-row:last-child{border-bottom:none}.tee-selector{display:flex;align-items:center;gap:10px;margin-right:10px}.tee-selector select{padding:8px 12px;border-radius:var(--border-radius);border:1px solid var(--color-grey30);background-color:var(--color-white);font-size:.9rem;color:var(--color-grey90);cursor:pointer}.course-selection{background-color:var(--color-white);border-radius:var(--border-radius);padding:16px;margin-bottom:16px;box-shadow:var(--box-shadow)}.course-selection label{display:block;margin-bottom:8px;font-weight:500;color:var(--color-grey90)}.course-select{width:100%;padding:10px;border-radius:var(--border-radius);border:1px solid var(--color-grey30);background-color:var(--color-white);font-size:1rem;color:var(--color-grey90);cursor:pointer}.setup-buttons{display:flex;gap:10px;margin-top:20px;margin-bottom:100px}.back-button,.continue-button{padding:12px 20px;border-radius:var(--border-radius);font-weight:600;cursor:pointer;transition:background-color .2s;border:none;color:#fff}.back-button{background-color:var(--color-grey60);flex:1;margin-left:10px}.back-button:hover{background-color:var(--color-grey90)}.continue-button{background-color:var(--color-brand);flex:2;margin-right:10px}.continue-button:hover{background-color:var(--color-brand90)}.game-options,.big-game-toggle-container{margin-bottom:16px}.big-game-toggle{display:flex;align-items:center;gap:8px;font-weight:500;cursor:pointer}.big-game-toggle input[type=checkbox]{width:18px;height:18px;accent-color:var(--color-brand)}.toggle-label{color:var(--color-grey90)}.learn-more-button{margin-top:8px;background:none;border:none;color:var(--color-brand);text-decoration:underline;cursor:pointer;padding:0;font-size:.9rem}.big-game-explanation{margin-top:10px;padding:12px;background-color:var(--color-brand20);border-radius:var(--border-radius);font-size:.9rem;color:var(--color-grey90);line-height:1.5}.player-name{padding-left:10px}.stepper-root{margin-bottom:1rem}.stepper-title{font-size:1.125rem;font-weight:500}.stepper-bar-container{display:flex;margin-top:.5rem;gap:.5rem}.stepper-bar-item{height:.25rem;flex-grow:1;flex-basis:0%;border-radius:9999px}.stepper-bar-item-active{background-color:#007bff}.stepper-bar-item-inactive{background-color:#e0e0e0}.match-summary-view2{max-width:480px;margin:0 auto;padding:20px 8px 32px;background:var(--color-white, #fff);border-radius:16px;box-shadow:0 2px 12px #00000012;font-family:Gruppo,system-ui,sans-serif}.summary-header{text-align:center;margin-bottom:18px}.summary-header h2{color:var(--color-brand, #1A5E46);font-size:2rem;margin-bottom:4px}.summary-date,.summary-course,.summary-duration{color:var(--color-grey60, #4A5568);font-size:1rem;margin-bottom:2px}.final-results{background:var(--color-brand20, #e4efe8);border-radius:10px;padding:14px 12px 10px;margin-bottom:18px;box-shadow:0 1px 4px #0001}.final-results h3{margin-top:0;color:var(--color-brand, #1A5E46);font-size:1.2rem}.final-results em{color:var(--color-grey60, #4A5568);font-size:.95em}.scoreline-chart-section{background:var(--color-brand20, #e4efe8);border-radius:10px;padding:12px 8px 8px;margin-bottom:18px;box-shadow:0 1px 4px #0001}.scoreline-chart-section h3{color:var(--color-brand, #1A5E46);font-size:1.1rem;margin-bottom:6px}.overall-totals{background:var(--color-brand20, #e4efe8);border-radius:10px;padding:12px 12px 8px;margin-bottom:18px;box-shadow:0 1px 4px #0001}.overall-totals h3{color:var(--color-brand, #1A5E46);font-size:1.1rem;margin-bottom:6px}.player-details-section{margin-bottom:18px}.player-details-section h3{color:var(--color-brand, #1A5E46);font-size:1.1rem;margin-bottom:8px}.player-card{background:var(--color-brand20, #e4efe8);border-radius:10px;margin-bottom:18px;padding:16px 20px;box-shadow:0 1px 4px #0001;font-size:1rem;transition:box-shadow .18s,border .18s,background .18s;min-height:56px;border-bottom:1.5px solid #e0e0e0}.player-card:last-child{margin-bottom:0;border-bottom:none}.player-card:hover,.player-card:focus{box-shadow:0 2px 8px #0002;background:#f3f8f5;outline:none}.player-card.expanded{border:2.5px solid var(--color-brand, #1A5E46);background:#e0f5e8}.player-card .player-name{display:flex;align-items:center;gap:10px;margin-bottom:2px;min-height:32px}.player-card .chevron{display:inline-block;font-size:1.2em;margin-left:12px;transition:transform .18s;color:#888;vertical-align:middle;line-height:1}.player-card.expanded .chevron{transform:rotate(90deg)}.player-card .player-name,.player-card strong{font-family:Sofia Sans Extra Condensed,Gruppo,system-ui,sans-serif;font-weight:600;font-size:1.13em;letter-spacing:.2px}.player-card ul{margin:6px 0 0;padding-left:18px;font-size:.98em}.player-card li{margin-bottom:2px}.player-card.red .player-name{color:#d64533}.player-card.blue .player-name{color:#2f80ed}.summary-actions{display:flex;flex-direction:column;gap:10px;margin-top:18px}.summary-actions button{background:var(--color-brand, #1A5E46);color:#fff;border:none;border-radius:8px;padding:12px 0;font-size:1.1rem;font-weight:600;cursor:pointer;transition:background .18s;box-shadow:0 1px 4px #0001}.summary-actions button:hover{background:var(--color-brand90, #1d684f)}@media (max-width: 600px){.match-summary-view2{padding:8px 0 24px;border-radius:0;box-shadow:none}.player-card,.final-results,.overall-totals,.scoreline-chart-section{border-radius:0;box-shadow:none;margin-left:-8px;margin-right:-8px;padding-left:12px;padding-right:12px}.player-card{margin-bottom:14px;padding-left:10px;padding-right:10px}.player-card .player-name{min-height:28px}}.final-results,.overall-totals,.player-card{font-variant-numeric:tabular-nums}.final-results .team-amount,.overall-totals .team-amount,.player-card .net-result,.player-card .match-payout,.player-card .junk-total{font-family:Gruppo,Inter,system-ui,sans-serif;font-size:1.15em;letter-spacing:.5px}.final-results,.scoreline-chart-section,.overall-totals,.player-card{padding-left:20px;padding-right:20px}.player-final-scores{margin-left:auto;display:flex;align-items:center;gap:2px;position:absolute;right:12px;top:8px}.player-final-label{font-family:Sofia Sans Extra Condensed,Gruppo,system-ui,sans-serif;font-weight:600;font-size:1em;color:#888;margin-right:2px}.player-final-value{font-family:Sofia Sans Extra Condensed,Gruppo,system-ui,sans-serif;font-weight:700;font-size:1.13em;color:#222;margin-right:8px}@media (max-width: 600px){.player-final-scores{right:8px;top:4px;font-size:.98em}}.photo-import-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.photo-import-dialog{background:#fff;border-radius:12px;max-width:600px;width:100%;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d}.photo-import-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #e5e5e5}.photo-import-header h2{margin:0;color:#333;font-size:1.5rem}.close-button{background:none;border:none;font-size:24px;cursor:pointer;color:#666;padding:5px;border-radius:4px;width:36px;height:36px;display:flex;align-items:center;justify-content:center}.close-button:hover:not(:disabled){background-color:#f5f5f5}.close-button:disabled{opacity:.5;cursor:not-allowed}.photo-import-content{padding:20px;flex:1;overflow-y:auto}.import-controls{margin-bottom:20px}.file-input-hidden{display:none}.control-buttons{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.control-button{padding:12px 20px;border:2px solid #007bff;background:#fff;color:#007bff;border-radius:8px;cursor:pointer;font-size:16px;font-weight:500;transition:all .2s;min-width:140px}.control-button:hover:not(:disabled){background:#007bff;color:#fff}.control-button:disabled{opacity:.5;cursor:not-allowed}.control-button.upload{border-color:#28a745;color:#28a745}.control-button.upload:hover:not(:disabled){background:#28a745;color:#fff}.control-button.camera{border-color:#17a2b8;color:#17a2b8}.control-button.camera:hover:not(:disabled){background:#17a2b8;color:#fff}.control-button.capture{border-color:#fd7e14;color:#fd7e14}.control-button.capture:hover:not(:disabled){background:#fd7e14;color:#fff}.control-button.cancel{border-color:#6c757d;color:#6c757d}.control-button.cancel:hover:not(:disabled){background:#6c757d;color:#fff}.camera-controls{display:flex;gap:12px}.camera-container{margin-bottom:20px;text-align:center}.camera-video{width:100%;max-width:500px;height:auto;border-radius:8px;box-shadow:0 4px 12px #0000001a}.capture-canvas{display:none}.preview-container{margin-bottom:20px;text-align:center}.preview-image{width:100%;max-width:500px;height:auto;border-radius:8px;box-shadow:0 4px 12px #0000001a}.processing-status{margin:20px 0;text-align:center}.progress-bar{width:100%;height:8px;background-color:#e9ecef;border-radius:4px;overflow:hidden;margin-bottom:10px}.progress-fill{height:100%;background:linear-gradient(90deg,#007bff,#28a745);transition:width .3s ease;border-radius:4px}.status-text{margin:0;color:#666;font-size:14px}.error-message{background-color:#f8d7da;border:1px solid #f5c6cb;color:#721c24;padding:12px;border-radius:8px;margin:20px 0}.error-message p{margin:0}.settings-section{margin:20px 0;border-top:1px solid #e5e5e5;padding-top:20px}.settings-toggle{background:none;border:none;color:#007bff;cursor:pointer;font-size:14px;padding:8px 0;width:100%;text-align:left;display:flex;align-items:center;gap:8px}.settings-toggle:hover{text-decoration:underline}.advanced-settings{margin-top:16px;padding:16px;background-color:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.setting-item{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;cursor:pointer;font-size:14px}.setting-item:last-child{margin-bottom:0}.setting-item input[type=checkbox]{margin-right:8px}.setting-item input[type=range]{width:100px;margin-left:12px}.dialog-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:20px;padding-top:20px;border-top:1px solid #e5e5e5}.action-button{padding:12px 24px;border:none;border-radius:8px;cursor:pointer;font-size:16px;font-weight:500;transition:all .2s;min-width:120px}.action-button.cancel{background:#6c757d;color:#fff}.action-button.cancel:hover:not(:disabled){background:#5a6268}.action-button.process{background:#007bff;color:#fff}.action-button.process:hover:not(:disabled){background:#0056b3}@media (max-width: 768px){.photo-import-overlay{padding:10px}.photo-import-dialog{max-height:95vh}.photo-import-header h2{font-size:1.25rem}.photo-import-content{padding:15px}.control-buttons{flex-direction:column;align-items:center}.control-button{width:100%;max-width:300px}.camera-controls{flex-direction:column;align-items:center}.dialog-actions{flex-direction:column}.action-button{width:100%}.setting-item{flex-direction:column;align-items:flex-start;gap:8px}.setting-item input[type=range]{width:100%;margin-left:0}}.ocr-validation-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.ocr-validation-dialog{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;width:100%;max-width:900px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.ocr-validation-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e5e7eb;background:#f9fafb}.ocr-validation-header h2{margin:0;color:#111827;font-size:1.25rem;font-weight:600}.close-button{background:none;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer;padding:.25rem;border-radius:4px;transition:color .2s}.close-button:hover{color:#374151;background-color:#f3f4f6}.ocr-validation-content{flex:1;overflow:hidden;display:flex;flex-direction:column}.confidence-summary{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;background:#f9fafb;border-bottom:1px solid #e5e7eb}.confidence-badge{padding:.5rem 1rem;border-radius:9999px;font-weight:600;font-size:.875rem}.confidence-badge.confidence-high{background-color:#d1fae5;color:#065f46}.confidence-badge.confidence-medium{background-color:#fef3c7;color:#92400e}.confidence-badge.confidence-low{background-color:#fee2e2;color:#991b1b}.status-valid{color:#059669;font-weight:600}.status-invalid{color:#dc2626;font-weight:600}.validation-messages{margin:1rem 1.5rem;padding:1rem;border-radius:8px;border-left:4px solid}.validation-messages.errors{background-color:#fef2f2;border-left-color:#ef4444}.validation-messages.warnings{background-color:#fffbeb;border-left-color:#f59e0b}.validation-messages h4{margin:0 0 .5rem;font-size:.875rem;font-weight:600}.validation-messages ul{margin:0;padding-left:1.5rem}.validation-messages li{margin:.25rem 0;font-size:.875rem}.tab-navigation{display:flex;border-bottom:1px solid #e5e7eb;background:#fff;overflow-x:auto}.tab-button{background:none;border:none;padding:1rem 1.5rem;cursor:pointer;color:#6b7280;font-weight:500;border-bottom:2px solid transparent;transition:all .2s;white-space:nowrap;min-width:fit-content}.tab-button:hover{color:#374151;background-color:#f9fafb}.tab-button.active{color:#2563eb;border-bottom-color:#2563eb;background-color:#fff}.tab-content{flex:1;overflow-y:auto;padding:1.5rem}.course-info-section h3{margin:0 0 1.5rem;color:#111827;font-size:1.125rem;font-weight:600}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.form-group{display:flex;flex-direction:column}.form-group label{font-weight:500;color:#374151;margin-bottom:.5rem;font-size:.875rem}.form-group input{padding:.75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;transition:border-color .2s}.form-group input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.form-group input.field-error{border-color:#ef4444;background-color:#fef2f2}.holes-section{display:flex;flex-direction:column;gap:1rem}.section-header{display:flex;justify-content:space-between;align-items:center}.section-header h3{margin:0;color:#111827;font-size:1.125rem;font-weight:600}.add-button{background-color:#2563eb;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s}.add-button:hover{background-color:#1d4ed8}.holes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.hole-card{border:1px solid #e5e7eb;border-radius:8px;padding:1rem;background:#fff;box-shadow:0 1px 3px #0000001a;transition:all .2s}.hole-card.confidence-high{border-left:4px solid #10b981}.hole-card.confidence-medium{border-left:4px solid #f59e0b}.hole-card.confidence-low{border-left:4px solid #ef4444}.hole-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.hole-header h4{margin:0;color:#111827;font-size:1rem;font-weight:600}.remove-button{background:#fee2e2;color:#dc2626;border:none;border-radius:50%;width:24px;height:24px;cursor:pointer;font-size:.875rem;transition:all .2s}.remove-button:hover{background:#fecaca}.hole-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-bottom:.75rem}.field-group{display:flex;flex-direction:column}.field-group label{font-size:.75rem;font-weight:500;color:#6b7280;margin-bottom:.25rem}.field-group input{padding:.5rem;border:1px solid #d1d5db;border-radius:4px;font-size:.875rem;transition:border-color .2s}.field-group input:focus{outline:none;border-color:#2563eb}.confidence-indicator{font-size:.75rem;color:#6b7280;text-align:center;margin-top:.5rem}.tees-section,.tees-list{display:flex;flex-direction:column;gap:1rem}.tee-card{border:1px solid #e5e7eb;border-radius:8px;padding:1rem;background:#fff;box-shadow:0 1px 3px #0000001a}.tee-card.confidence-high{border-left:4px solid #10b981}.tee-card.confidence-medium{border-left:4px solid #f59e0b}.tee-card.confidence-low{border-left:4px solid #ef4444}.tee-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.tee-header h4{margin:0;color:#111827;font-size:1rem;font-weight:600}.tee-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin-bottom:.75rem}.tee-fields select{padding:.5rem;border:1px solid #d1d5db;border-radius:4px;font-size:.875rem;background:#fff;transition:border-color .2s}.tee-fields select:focus{outline:none;border-color:#2563eb}.raw-ocr-section h3{margin:0 0 1.5rem;color:#111827;font-size:1.125rem;font-weight:600}.raw-data-container{display:flex;flex-direction:column;gap:1.5rem}.ocr-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;padding:1rem;background:#f9fafb;border-radius:8px}.ocr-stats p{margin:0;font-size:.875rem;color:#374151}.raw-text{display:flex;flex-direction:column;gap:.75rem}.raw-text h4{margin:0;color:#374151;font-size:1rem;font-weight:600}.ocr-text{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:1rem;font-family:Consolas,Monaco,Courier New,monospace;font-size:.75rem;line-height:1.4;white-space:pre-wrap;max-height:300px;overflow-y:auto}.word-analysis{display:flex;flex-direction:column;gap:.75rem}.word-analysis h4{margin:0;color:#374151;font-size:1rem;font-weight:600}.words-list{display:flex;flex-wrap:wrap;gap:.5rem;padding:1rem;background:#f9fafb;border-radius:8px;max-height:200px;overflow-y:auto}.word-item{display:inline-block;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:500;cursor:help}.word-item.confidence-high{background-color:#d1fae5;color:#065f46}.word-item.confidence-medium{background-color:#fef3c7;color:#92400e}.word-item.confidence-low{background-color:#fee2e2;color:#991b1b}.empty-state{text-align:center;padding:2rem;color:#6b7280}.empty-state p{margin:0;font-style:italic}.preview-controls{padding:1rem 1.5rem;border-top:1px solid #e5e7eb;background:#f9fafb}.preview-toggle{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#374151;cursor:pointer}.preview-toggle input[type=checkbox]{margin:0;accent-color:#2563eb}.dialog-actions{display:flex;justify-content:flex-end;gap:.75rem;padding:1.5rem;border-top:1px solid #e5e7eb;background:#f9fafb}.action-button{padding:.75rem 1.5rem;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.action-button.cancel{background-color:#f3f4f6;color:#374151}.action-button.cancel:hover{background-color:#e5e7eb}.action-button.import{background-color:#059669;color:#fff}.action-button.import:hover{background-color:#047857}.action-button:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 768px){.ocr-validation-overlay{padding:.5rem}.ocr-validation-dialog{max-height:95vh}.confidence-summary{flex-direction:column;gap:.5rem;align-items:flex-start}.form-grid,.holes-grid,.hole-fields{grid-template-columns:1fr}.tee-fields{grid-template-columns:repeat(2,1fr)}.ocr-stats{grid-template-columns:1fr}.dialog-actions{flex-direction:column}}html{height:100%;margin:0;padding:0;overflow-y:scroll;overflow-x:hidden}body{min-height:100%;margin:0;padding:0;font-family:Gruppo,sans-serif;line-height:1.5;color:#1a202c;background-color:#f5f7fa;position:relative}#root{min-height:100%;position:relative;width:100%;overflow-x:hidden}@supports (-webkit-touch-callout: none){html,body,#root{height:-webkit-fill-available}}@media (max-width: 768px){:root{--vh: 1vh}html,body,#root{height:calc(var(--vh, 1vh) * 100)}}
