:root{--primary: #1a5f7a;--secondary: #f0a202;--success: #22c55e;--error: #ef4444;--background: #f5f5f5;--surface: #ffffff;--border: #e5e5e5;--text-primary: #1a1a1a;--text-secondary: #666666;--text-light: #999999;--button-height: 48px;--tab-height: 60px;--header-height: 56px;--radius: 8px;--spacing: 16px;--font-header: 24px;--font-section: 18px;--font-body: 16px;--font-small: 14px;--font-tiny: 12px;--z-header: 50;--z-nav: 40;--z-modal: 100}*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background:var(--background);color:var(--text-primary);font-size:var(--font-body);line-height:1.5}.mobile-layout{display:flex;flex-direction:column;height:100vh;width:100%;max-width:428px;margin:0 auto;background:var(--background);position:relative}.mobile-header{position:fixed;top:0;left:0;right:0;height:var(--header-height);background:var(--primary);color:#fff;z-index:var(--z-header);box-shadow:0 2px 8px #0000001a;max-width:428px;margin:0 auto}.header-content{display:flex;justify-content:space-between;align-items:center;height:100%;padding:0 var(--spacing)}.header-title{display:flex;align-items:center;gap:8px;flex:1}.app-icon{width:28px;height:28px;border-radius:6px}.header-title h1{font-size:var(--font-header);font-weight:700;margin:0}.header-status{display:flex;align-items:center;gap:4px}.online-indicator{display:inline-flex;align-items:center;gap:4px;font-size:var(--font-small);padding:4px 8px;background:#fff3;border-radius:4px;white-space:nowrap}.online-indicator.offline{background:#ef44444d}.mobile-content{flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding-top:calc(var(--header-height) + var(--spacing));padding-bottom:calc(var(--tab-height) + var(--spacing));padding-left:var(--spacing);padding-right:var(--spacing)}.mobile-content{scroll-behavior:smooth}.mobile-content::-webkit-scrollbar{width:4px}.mobile-content::-webkit-scrollbar-track{background:transparent}.mobile-content::-webkit-scrollbar-thumb{background:#ccc;border-radius:2px}.mobile-bottom-nav{position:fixed;bottom:0;left:0;right:0;height:var(--tab-height);background:var(--surface);border-top:1px solid var(--border);display:flex;justify-content:space-around;align-items:stretch;z-index:var(--z-nav);box-shadow:0 -2px 8px #0000000d;max-width:428px;margin:0 auto}.nav-item{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:none;border:none;color:var(--text-secondary);cursor:pointer;font-size:var(--font-tiny);padding:8px 0;transition:all .2s ease;font-weight:500;min-width:var(--button-height);-webkit-user-select:none;user-select:none}.nav-item:active{background:#00000005}.nav-item.active{color:var(--primary)}.nav-item svg{width:24px;height:24px;flex-shrink:0}.nav-label{display:block;text-align:center;line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card{background:var(--surface);border-radius:var(--radius);padding:var(--spacing);margin-bottom:var(--spacing);box-shadow:0 1px 3px #00000014;border:1px solid var(--border)}.card-header{font-size:var(--font-section);font-weight:700;color:var(--primary);margin:0 0 12px;display:flex;align-items:center;gap:8px}.card-content{font-size:var(--font-body);color:var(--text-primary);line-height:1.6}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:var(--button-height);padding:0 20px;border:none;border-radius:var(--radius);font-size:var(--font-body);font-weight:600;cursor:pointer;transition:all .2s ease;-webkit-user-select:none;user-select:none;min-width:var(--button-height);white-space:nowrap}.btn:active{transform:scale(.98)}.btn-primary{background:#1a5f7a29;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(26,95,122,.45);color:var(--primary)}.btn-primary:active{background:#1a5f7a47}.btn-secondary{background:var(--secondary);color:#fff}.btn-secondary:active{background:#d99d00}.btn-success{background:#22c55e29;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(34,197,94,.5);color:#15803d}.btn-success:active{background:#22c55e4d}.btn-error{background:#ef444429;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(239,68,68,.5);color:#b91c1c}.btn-error:active{background:#ef44444d}.btn-purple{background:#9333ea29;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(147,51,234,.5);color:#7e22ce}.btn-purple:active{background:#9333ea4d}.btn-outline{background:transparent;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:var(--primary);border:1px solid rgba(26,95,122,.35)}.btn-outline:active{background:#1a5f7a1f}.btn-block{display:flex;width:100%}.btn-group{display:flex;gap:8px;margin-top:var(--spacing)}.btn-group .btn{flex:1}.sticky-actions{position:fixed;left:0;right:0;bottom:var(--tab-height);z-index:var(--z-nav);max-width:428px;margin:0 auto;display:flex;flex-wrap:nowrap;gap:8px;padding:12px var(--spacing);background:#f5f5f5e0;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--border)}.sticky-actions .btn{flex:1;min-width:0}.has-sticky-actions{padding-bottom:84px}.form-group{margin-bottom:20px}.form-label{display:block;font-size:var(--font-small);font-weight:600;color:var(--text-primary);margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.form-required{color:var(--error)}.form-input,.form-select,.form-textarea{display:block;width:100%;padding:12px;border:1px solid var(--border);border-radius:var(--radius);font-size:var(--font-body);font-family:inherit;color:var(--text-primary);background:var(--surface);transition:all .2s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-input:focus,.form-select:focus,.form-textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #1a5f7a1a}.form-textarea{resize:vertical;min-height:100px}.form-help{font-size:var(--font-tiny);color:var(--text-light);margin-top:4px}@media (min-width: 768px){.mobile-layout,.mobile-header,.mobile-bottom-nav{max-width:600px}.card{padding:24px}}@media (min-width: 1200px){.mobile-layout{max-width:800px;box-shadow:0 0 20px #0000001a}.mobile-header,.mobile-bottom-nav{max-width:800px}}:root[data-theme=dark]{--background: #1a1a1a;--surface: #2d2d2d;--border: #404040;--text-primary: #ffffff;--text-secondary: #aaaaaa;--text-light: #666666}[data-theme=dark] .mobile-header{box-shadow:0 2px 8px #0000004d}[data-theme=dark] .mobile-bottom-nav{box-shadow:0 -2px 8px #0003}[data-theme=dark] .card{box-shadow:0 1px 3px #0003}[data-theme=dark] .nav-item:active{background:#ffffff0d}[data-theme=dark] .btn-primary{background:#ffffff14;border-color:#ffffff40;color:#7fb8cf}[data-theme=dark] .btn-primary:active{background:#ffffff2e}[data-theme=dark] .btn-outline{background:transparent;border-color:#ffffff4d;color:#bcd9e6}[data-theme=dark] .btn-outline:active{background:#ffffff1a}[data-theme=dark] .btn-success{background:#22c55e38;border-color:#22c55e8c;color:#4ade80}[data-theme=dark] .btn-success:active{background:#22c55e57}[data-theme=dark] .btn-error{background:#ef444438;border-color:#ef44448c;color:#f87171}[data-theme=dark] .btn-error:active{background:#ef444457}[data-theme=dark] .btn-purple{background:#9333ea38;border-color:#9333ea8c;color:#c084fc}[data-theme=dark] .btn-purple:active{background:#9333ea57}[data-theme=dark] .sticky-actions{background:#1a1a1ae0;border-top-color:#404040}@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.btn:focus-visible,.form-input:focus-visible,.form-select:focus-visible,.nav-item:focus-visible{outline:2px solid var(--primary);outline-offset:2px}@media print{.mobile-header,.mobile-bottom-nav{display:none}.mobile-content{padding:0}}.splash-screen{display:flex;align-items:center;justify-content:center;width:100%;height:100vh;background:#1a5f7a;overflow:hidden}.splash-content{text-align:center}.pool-ball{width:80px;height:80px;border-radius:18px;margin-bottom:30px;animation:bounce 2s infinite}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}.splash-logo{font-size:48px;font-weight:700;color:#fff;margin:20px 0;letter-spacing:2px}.splash-tagline{font-size:16px;color:#f0a202;margin-bottom:40px}.loading-dots{display:flex;justify-content:center;gap:8px}.loading-dots span{width:8px;height:8px;background:#f0a202;border-radius:50%;animation:pulse 1.4s infinite}.loading-dots span:nth-child(2){animation-delay:.2s}.loading-dots span:nth-child(3){animation-delay:.4s}@keyframes pulse{0%,to{opacity:.3}50%{opacity:1}}@media (prefers-reduced-motion: reduce){.pool-ball,.loading-dots span{animation-duration:.01ms!important}}.login-screen{display:flex;flex-direction:column;height:100vh;background:#fff}.login-screen .login-header{background:#1a5f7a;color:#fff;padding:20px;text-align:center}.login-screen .header-content{display:flex;align-items:center;justify-content:center;gap:10px}.login-screen .header-logo{width:32px;height:32px;border-radius:8px}.login-screen .login-header h1{font-size:28px;font-weight:700;margin:0;letter-spacing:1px}.login-screen .login-content{flex:1;padding:40px 24px;display:flex;flex-direction:column;max-width:428px;width:100%;margin:0 auto;box-sizing:border-box}.login-screen .welcome-title{font-size:28px;font-weight:700;color:#1a1a1a;text-align:center;margin-bottom:40px}.login-screen .login-form{display:flex;flex-direction:column;gap:16px}.login-screen .reset-done-text{text-align:center;color:#333;font-size:15px;line-height:1.5;margin-bottom:24px}.login-screen .login-error{background:#ef44441a;color:#ef4444;border:1px solid rgba(239,68,68,.3);border-radius:8px;padding:12px;font-size:14px;text-align:center}.login-screen .form-group{display:flex;flex-direction:column}.login-screen .input-with-icon{display:flex;align-items:center;gap:10px;height:50px;padding:0 16px;border:1px solid #e5e5e5;border-radius:8px;background:#f5f5f5;box-sizing:border-box}.login-screen .input-with-icon:focus-within{background:#fff;border-color:#1a5f7a;box-shadow:0 0 0 3px #1a5f7a1a}.login-screen .input-icon{color:#999;flex-shrink:0}.login-screen .form-input{flex:1;min-width:0;border:none;outline:none;padding:0;font-size:16px;font-family:inherit;background:transparent;color:#1a1a1a}.login-screen .password-toggle{display:flex;align-items:center;justify-content:center;flex-shrink:0;border:none;background:transparent;padding:4px;margin:0 -4px 0 0;color:#999;cursor:pointer}.login-screen .password-toggle:hover{color:#1a5f7a}.login-screen .btn{height:50px;font-size:16px;font-weight:700}.login-screen .btn-primary:disabled{opacity:.7;cursor:default}.login-screen .forgot-password{text-align:center;color:#f0a202;text-decoration:none;margin-top:30px;font-size:14px;font-weight:500}.login-screen .forgot-password:hover{text-decoration:underline}[data-theme=dark] .login-screen{background:#1a1a1a}[data-theme=dark] .login-screen .welcome-title{color:#fff}[data-theme=dark] .login-screen .reset-done-text{color:#ccc}[data-theme=dark] .login-screen .input-with-icon{background:#2d2d2d;border-color:#404040}[data-theme=dark] .login-screen .input-with-icon:focus-within{background:#2d2d2d}[data-theme=dark] .login-screen .form-input{color:#fff}.home-screen{display:flex;flex-direction:column;gap:16px}.home-screen .welcome-section{display:flex;flex-direction:column;gap:12px;margin-bottom:8px}.home-screen .welcome-greeting h2{font-size:20px;font-weight:600;color:#1a1a1a;margin:0;line-height:1.3}.home-screen .welcome-status{display:flex;gap:8px}.home-screen .status-badge{display:inline-flex;align-items:center;gap:4px;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.home-screen .status-badge.active{background:#dcfce7;color:#166534}.home-screen .status-badge.inactive{background:#fee2e2;color:#991b1b}.home-screen .next-match-card{background:#fff;border-radius:8px;padding:16px;box-shadow:0 2px 8px #00000014;border:2px solid #1a5f7a;border-top:6px solid #f0a202}.home-screen .card-header-with-icon{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:#1a5f7a;margin-bottom:16px}.home-screen .card-header-with-icon svg{width:20px;height:20px;flex-shrink:0}.home-screen .match-content{display:flex;flex-direction:column;gap:14px}.home-screen .match-item{display:flex;gap:12px;align-items:center;padding:12px;background:#f9fafb;border-radius:6px;cursor:pointer;transition:background .2s}.home-screen .match-item:active{background:#f0f0f0}.home-screen .match-date{display:flex;flex-direction:column;align-items:center;justify-content:center;width:48px;flex-shrink:0;line-height:1.15}.home-screen .match-date-weekday,.home-screen .match-date-month{font-size:11px;font-weight:600;color:#1a5f7a;text-transform:uppercase;letter-spacing:.5px}.home-screen .match-date-day{font-size:20px;font-weight:700;color:#1a1a1a}.home-screen .match-item-content{flex:1;display:flex;flex-direction:column;justify-content:center;gap:6px;min-width:0}.home-screen .match-teams{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:15px;font-weight:600}.home-screen .match-teams .team{color:#1a1a1a}.home-screen .match-teams .vs{font-size:11px;color:#999;text-transform:uppercase;letter-spacing:.5px;font-weight:600}.home-screen .match-meta{display:flex;align-items:center;gap:5px;font-size:13px;color:#666}.home-screen .match-meta svg{color:#1a5f7a;flex-shrink:0}.home-screen .match-item .chevron{color:#ccc;flex-shrink:0}.home-screen .match-format{display:flex;justify-content:center}.home-screen .format-badge{display:inline-block;padding:6px 12px;background:#1a5f7a;color:#fff;border-radius:20px;font-size:12px;font-weight:600;text-align:center}.home-screen .match-actions{display:flex;gap:8px;margin-top:4px}.home-screen .match-actions .btn{flex:1;height:48px}.home-screen .league-preview-card{background:#fff;border-radius:8px;padding:16px;box-shadow:0 2px 8px #00000014;border:1px solid #e5e5e5}.home-screen .standings-table{display:flex;flex-direction:column;gap:0;background:#f9fafb;border-radius:6px;overflow:hidden}.home-screen .standings-row{display:grid;grid-template-columns:30px 1fr 60px 50px;gap:8px;align-items:center;padding:12px;border-bottom:1px solid #e5e5e5;cursor:pointer;transition:background .2s;font-size:14px}.home-screen .standings-row:last-child{border-bottom:none}.home-screen .standings-row:active{background:#f0f0f0}.home-screen .standings-position{font-weight:600;text-align:center;font-size:16px;display:flex;align-items:center;justify-content:center}.home-screen .medal-1{color:#f0a202}.home-screen .medal-2{color:#9ca3af}.home-screen .medal-3{color:#b45309}.home-screen .standings-team{font-weight:500;color:#1a1a1a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-screen .standings-record{text-align:center;color:#666;font-size:13px;font-weight:500}.home-screen .standings-points{text-align:right;font-weight:600;color:#1a5f7a}.home-screen .activity-section{background:#fff;border-radius:8px;padding:16px;box-shadow:0 2px 8px #00000014;border:1px solid #e5e5e5}.home-screen .activity-list{display:flex;flex-direction:column;gap:0}.home-screen .activity-item{display:flex;gap:12px;padding:12px;border-bottom:1px solid #f0f0f0;align-items:flex-start}.home-screen .activity-item:last-child{border-bottom:none}.home-screen .activity-icon{flex-shrink:0;width:32px;display:flex;align-items:center;justify-content:center}.home-screen .activity-win .activity-icon{color:#22c55e}.home-screen .activity-scheduled .activity-icon{color:#3b82f6}.home-screen .activity-member .activity-icon{color:#f0a202}.home-screen .activity-content{flex:1;display:flex;flex-direction:column;gap:4px}.home-screen .activity-text{font-size:14px;font-weight:500;color:#1a1a1a;line-height:1.4}.home-screen .activity-time{font-size:12px;color:#999}.home-screen .activity-win{background:#dcfce7;border-left:3px solid #22c55e}.home-screen .activity-scheduled{background:#dbeafe;border-left:3px solid #3b82f6}.home-screen .activity-member{background:#fef3c7;border-left:3px solid #f0a202}.home-screen .quick-actions-section{background:#fff;border-radius:8px;padding:16px;box-shadow:0 2px 8px #00000014;border:1px solid #e5e5e5;margin-bottom:8px}.home-screen .quick-actions-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.home-screen .quick-action-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px 12px;background:#f9fafb;border:1px solid #e5e5e5;border-radius:6px;cursor:pointer;transition:all .2s;font-size:12px;font-weight:500;color:#1a1a1a;min-height:90px}.home-screen .quick-action-btn:active{background:#f0f0f0;border-color:#1a5f7a}.home-screen .quick-action-icon{color:#1a5f7a}.home-screen .quick-action-label{text-align:center;line-height:1.2}.home-screen .tip-section{background:#fef3c7;border-left:4px solid #f0a202;border-radius:6px;padding:12px;margin-bottom:8px}.home-screen .tip-content{display:flex;align-items:flex-start;gap:8px;font-size:14px;color:#333;line-height:1.5}.home-screen .tip-icon{flex-shrink:0;margin-top:2px;color:#f0a202}.home-screen .tip-content p{margin:0}.home-screen .tip-content strong{font-weight:600;color:#1a1a1a}@media (min-width: 768px){.home-screen .quick-actions-grid{grid-template-columns:repeat(4,1fr)}.home-screen .standings-row{grid-template-columns:40px 2fr 100px 80px}}[data-theme=dark] .home-screen .next-match-card,[data-theme=dark] .home-screen .league-preview-card,[data-theme=dark] .home-screen .activity-section,[data-theme=dark] .home-screen .quick-actions-section{background:#2d2d2d;border-color:#404040}[data-theme=dark] .home-screen .welcome-greeting h2{color:#fff}[data-theme=dark] .home-screen .match-item{background:#1a1a1a}[data-theme=dark] .home-screen .match-item:active{background:#404040}[data-theme=dark] .home-screen .match-date-day,[data-theme=dark] .home-screen .match-teams .team{color:#fff}[data-theme=dark] .home-screen .match-meta{color:#ccc}[data-theme=dark] .home-screen .standings-table{background:#1a1a1a}[data-theme=dark] .home-screen .standings-row{border-bottom-color:#404040;color:#ccc}[data-theme=dark] .home-screen .standings-row:active{background:#404040}[data-theme=dark] .home-screen .standings-team{color:#fff}[data-theme=dark] .home-screen .standings-row{color:#999}[data-theme=dark] .home-screen .standings-points{color:#f0a202}[data-theme=dark] .home-screen .activity-item{border-bottom-color:#404040}[data-theme=dark] .home-screen .activity-text{color:#fff}[data-theme=dark] .home-screen .quick-action-btn{background:#1a1a1a;border-color:#404040;color:#fff}[data-theme=dark] .home-screen .quick-action-btn:active{background:#404040;border-color:#f0a202}[data-theme=dark] .home-screen .tip-section{background:#f0a2021a;color:#fbbf24}[data-theme=dark] .home-screen .tip-content strong{color:#fcd34d}.bottom-sheet-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:var(--z-modal, 100);display:flex;align-items:flex-end;animation:bottom-sheet-fade-in .2s ease}@keyframes bottom-sheet-fade-in{0%{opacity:0}to{opacity:1}}.bottom-sheet{position:fixed;bottom:0;left:0;right:0;max-width:428px;margin:0 auto;background:#fff;border-radius:16px 16px 0 0;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 -4px 24px #0003;animation:bottom-sheet-slide-up .25s ease;padding-bottom:env(safe-area-inset-bottom,0)}@keyframes bottom-sheet-slide-up{0%{transform:translateY(100%)}to{transform:translateY(0)}}.bottom-sheet-header{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid #e5e5e5;flex-shrink:0}.bottom-sheet-header h3{font-size:18px;font-weight:600;color:#1a1a1a;margin:0}.bottom-sheet-close{width:36px;height:36px;border:none;background:#f5f5f5;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#666;cursor:pointer;flex-shrink:0}.bottom-sheet-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:16px;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.bottom-sheet-footer{display:flex;gap:8px;padding:12px 16px;padding-bottom:calc(12px + env(safe-area-inset-bottom,0));border-top:1px solid #e5e5e5;flex-shrink:0}.bottom-sheet-footer .btn{flex:1}@media (min-width: 768px){.bottom-sheet{max-width:600px}}@media (min-width: 1200px){.bottom-sheet{max-width:800px}}@media (prefers-reduced-motion: reduce){.bottom-sheet-overlay,.bottom-sheet{animation:none}}[data-theme=dark] .bottom-sheet{background:#2d2d2d}[data-theme=dark] .bottom-sheet-header{border-bottom-color:#404040}[data-theme=dark] .bottom-sheet-header h3{color:#fff}[data-theme=dark] .bottom-sheet-close{background:#1a1a1a;color:#ccc}[data-theme=dark] .bottom-sheet-footer{border-top-color:#404040}.league-screen{display:flex;flex-direction:column;gap:16px}.league-screen .league-selector{margin-bottom:8px}.league-screen .league-dropdown{width:100%;padding:12px 36px 12px 12px;border:1px solid #e5e5e5;border-radius:6px;font-size:16px;font-weight:500;background:#fff;color:#1a1a1a;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a5f7a' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 8px center;background-size:20px}.league-screen .section-title{font-size:18px;font-weight:600;color:#1a5f7a;margin:0 0 12px;display:flex;align-items:center;gap:8px}.league-screen .upcoming-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.league-screen .upcoming-header .section-title{margin-bottom:0}.league-screen .new-match-btn{height:36px;padding:0 12px;font-size:13px;flex-shrink:0}.league-screen .no-matches{text-align:center;color:#999;padding:24px 0;font-size:14px}.league-screen .standings-section{background:#fff;border-radius:8px;padding:16px;box-shadow:0 2px 8px #00000014}.league-screen .standings-table{display:flex;flex-direction:column;gap:0;background:#f9fafb;border-radius:6px;overflow:hidden}.league-screen .standings-row{display:grid;grid-template-columns:40px 1fr 70px 60px;gap:8px;align-items:center;padding:12px;border-bottom:1px solid #e5e5e5;font-size:14px;font-weight:500}.league-screen .standings-row:last-child{border-bottom:none}.league-screen .standings-row.header{background:#1a5f7a;color:#fff;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.league-screen .standings-row:not(.header){cursor:pointer;transition:background .2s}.league-screen .standings-row:not(.header):active{background:#f0f0f0}.league-screen .col-position{display:flex;align-items:center;justify-content:center;text-align:center;font-size:16px;font-weight:600}.league-screen .medal-1{color:#f0a202}.league-screen .medal-2{color:#9ca3af}.league-screen .medal-3{color:#b45309}.league-screen .col-team{display:flex;flex-direction:column}.league-screen .team-name{font-weight:600;color:#1a1a1a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.league-screen .col-record{text-align:center;color:#666}.league-screen .col-points{text-align:right;font-weight:600;color:#1a5f7a}.league-screen .upcoming-section{background:#fff;border-radius:8px;padding:16px;box-shadow:0 2px 8px #00000014}.league-screen .matches-list{display:flex;flex-direction:column;gap:12px}.league-screen .match-item-wrap{background:#f9fafb;border-radius:6px;overflow:hidden}.league-screen .match-item{display:flex;gap:12px;align-items:center;padding:12px;cursor:pointer;transition:all .2s;border-left:3px solid transparent}.league-screen .match-item:active{background:#f0f0f0;border-left-color:#f0a202}.league-screen .match-date{display:flex;flex-direction:column;align-items:center;justify-content:center;width:48px;flex-shrink:0;line-height:1.15}.league-screen .match-date-weekday,.league-screen .match-date-month{font-size:11px;font-weight:600;color:#1a5f7a;text-transform:uppercase;letter-spacing:.5px}.league-screen .match-date-day{font-size:20px;font-weight:700;color:#1a1a1a}.league-screen .match-content{flex:1;display:flex;flex-direction:column;justify-content:center;gap:6px}.league-screen .match-teams{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px;font-weight:500}.league-screen .match-teams .team{font-weight:600;color:#1a1a1a}.league-screen .match-teams .vs{font-size:11px;color:#999;text-transform:uppercase;font-weight:600}.league-screen .match-meta{font-size:13px;color:#666}.league-screen .chevron{color:#ccc;flex-shrink:0;margin-top:2px}.league-screen .view-pager{display:flex;gap:4px;padding:4px;background:#f0f0f0;border-radius:8px}.league-screen .pager-tab{flex:1;padding:10px;border:none;background:transparent;border-radius:6px;font-size:14px;font-weight:600;color:#666;cursor:pointer;transition:all .2s}.league-screen .pager-tab.active{background:#fff;color:#1a5f7a;box-shadow:0 1px 4px #0000001f}.league-screen .view-viewport{overflow:hidden;touch-action:pan-y}.league-screen .view-track{display:flex;width:200%;transition:transform .25s ease-out}.league-screen .view-page{flex:0 0 50%;min-width:0;display:flex;flex-direction:column;gap:16px;padding-right:16px;box-sizing:border-box}.league-screen .team-detail-content{display:flex;flex-direction:column;gap:20px}.league-screen .team-detail-label{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#1a5f7a;margin-bottom:8px}.league-screen .team-contact-card{display:flex;flex-direction:column;gap:8px;padding:12px;background:#f9fafb;border-radius:8px;border:1px solid #e5e5e5}.league-screen .team-contact-name{font-size:15px;font-weight:700;color:#1a1a1a}.league-screen .team-contact-actions{display:flex;gap:16px;flex-wrap:wrap}.league-screen .team-contact-link{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#1a5f7a;text-decoration:none}.league-screen .venue-card{display:flex;flex-direction:column;gap:8px;padding:12px;background:#f9fafb;border-radius:8px;border:1px solid #e5e5e5}.league-screen .venue-detail-row{display:flex;align-items:center;gap:8px;font-size:14px;color:#444;text-decoration:none}.league-screen .venue-detail-row svg{color:#1a5f7a;flex-shrink:0}.league-screen .venue-phone{color:#1a5f7a;font-weight:600}.league-screen .venue-map-thumb{position:relative;border-radius:6px;overflow:hidden;cursor:pointer;border:1px solid #e5e5e5}.league-screen .venue-map-thumb iframe{display:block;width:100%;height:140px;border:0;pointer-events:none}.league-screen .venue-map-expand{position:absolute;bottom:8px;right:8px;display:flex;align-items:center;gap:4px;padding:4px 8px;background:#000000a6;color:#fff;font-size:11px;font-weight:600;border-radius:4px}.league-screen .venue-map-fallback{display:flex;align-items:center;justify-content:center;gap:8px;height:56px;border-radius:6px;border:1px dashed #cfcfcf;background:#f0f0f0;color:#1a5f7a;font-size:14px;font-weight:600;text-decoration:none}.league-screen .venue-placeholder{padding:16px;text-align:center;color:#999;font-size:14px;background:#f9fafb;border-radius:8px;border:1px dashed #e5e5e5}.league-screen .map-modal-overlay,.map-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000a6;z-index:110;display:flex;align-items:center;justify-content:center;padding:20px}.map-modal{width:100%;max-width:420px;background:#fff;border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.map-modal-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;font-weight:700;color:#1a1a1a}.map-modal-close{width:32px;height:32px;border:none;background:#f5f5f5;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#666}.map-modal iframe{width:100%;height:320px;border:0}.map-modal-directions{margin:12px;width:calc(100% - 24px)}.league-screen .match-item-actions{display:flex;gap:1px;background:#e5e5e5;border-top:1px solid #e5e5e5}.league-screen .match-action-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:9px 8px;border:none;background:#f9fafb;color:#1a5f7a;font-size:12px;font-weight:600;font-family:inherit;cursor:pointer}.league-screen .match-action-btn:active{background:#f0f0f0}@media (min-width: 768px){.league-screen .standings-row{grid-template-columns:50px 2fr 100px 80px}.league-screen .match-item{padding:16px}}[data-theme=dark] .league-screen .league-dropdown{background-color:#2d2d2d;color:#fff;border-color:#404040}[data-theme=dark] .league-screen .standings-section,[data-theme=dark] .league-screen .upcoming-section{background:#2d2d2d}[data-theme=dark] .league-screen .standings-table{background:#1a1a1a}[data-theme=dark] .league-screen .standings-row{border-bottom-color:#404040}[data-theme=dark] .league-screen .standings-row:not(.header){color:#ccc}[data-theme=dark] .league-screen .standings-row:not(.header):active{background:#404040}[data-theme=dark] .league-screen .col-team,[data-theme=dark] .league-screen .team-name{color:#fff}[data-theme=dark] .league-screen .match-item-wrap{background:#1a1a1a}[data-theme=dark] .league-screen .match-item:active{background:#404040}[data-theme=dark] .league-screen .match-teams .team,[data-theme=dark] .league-screen .match-date-day{color:#fff}[data-theme=dark] .league-screen .view-pager{background:#1a1a1a}[data-theme=dark] .league-screen .pager-tab{color:#999}[data-theme=dark] .league-screen .pager-tab.active{background:#2d2d2d;color:#fff}[data-theme=dark] .league-screen .team-contact-card,[data-theme=dark] .league-screen .venue-card,[data-theme=dark] .league-screen .venue-placeholder{background:#1a1a1a;border-color:#404040}[data-theme=dark] .league-screen .team-contact-name{color:#fff}[data-theme=dark] .league-screen .venue-detail-row{color:#ccc}[data-theme=dark] .league-screen .venue-map-fallback{background:#1a1a1a;border-color:#404040}[data-theme=dark] .map-modal{background:#2d2d2d}[data-theme=dark] .map-modal-header{color:#fff}[data-theme=dark] .league-screen .match-item-actions{background:#404040}[data-theme=dark] .league-screen .match-action-btn{background:#1a1a1a;color:#4dd0e1}[data-theme=dark] .league-screen .match-action-btn:active{background:#2d2d2d}.players-screen{display:flex;flex-direction:column;gap:16px}.players-screen .players-header{display:flex;gap:8px;align-items:center}.players-screen .search-box{flex:1;display:flex;align-items:center;gap:8px;height:48px;padding:0 12px;background:#fff;border:1px solid #e5e5e5;border-radius:8px;color:#666}.players-screen .search-input{flex:1;border:none;outline:none;font-size:16px;font-family:inherit;background:transparent;color:#1a1a1a}.players-screen .add-btn{width:48px;height:48px;padding:0;flex-shrink:0}.players-screen .add-member-form{display:flex;flex-direction:column}.players-screen .add-member-form .form-row{display:flex;gap:12px}.players-screen .add-member-form .form-row .form-group{flex:1;min-width:0}.players-screen .add-member-error{background:#ef44441a;color:#ef4444;border:1px solid rgba(239,68,68,.3);border-radius:8px;padding:10px 12px;font-size:13px;margin-bottom:16px}.players-screen .password-field{position:relative}.players-screen .password-field .form-input{padding-right:40px}.players-screen .password-field-toggle{position:absolute;top:50%;right:8px;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;border:none;background:transparent;padding:6px;color:#999;cursor:pointer}.players-screen .password-field-toggle:hover{color:#1a5f7a}.players-screen .password-hints{margin:-12px 0 20px;padding-left:18px;font-size:12px;color:#999}.players-screen .password-hints li{line-height:1.6}.players-screen .checkbox-row{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:15px;color:#1a1a1a;cursor:pointer}.players-screen .checkbox-row input[type=checkbox]{width:20px;height:20px;accent-color:#1a5f7a;cursor:pointer}.players-screen .sport-rows{display:flex;flex-direction:column;gap:10px;margin-top:10px}.players-screen .sport-row-group{padding:10px 12px;background:#f9fafb;border-radius:8px}.players-screen .sport-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.players-screen .sport-row .sport-checkbox{margin-top:0;flex-shrink:0}.players-screen .position-toggle{display:flex;gap:6px;flex-shrink:0}.players-screen .position-btn{height:30px;padding:0 10px;border-radius:999px;border:1px solid rgba(26,95,122,.35);background:transparent;color:#1a5f7a;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}.players-screen .position-btn.active{background:#1a5f7a2e;border-color:#1a5f7a99}.players-screen .team-member-row{margin-top:8px;font-size:13px}.players-screen .team-member-row input[type=checkbox]{width:16px;height:16px}.players-screen .players-section{background:#fff;border-radius:8px;padding:16px;box-shadow:0 2px 8px #00000014}.players-screen .section-header{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:#1a5f7a;text-transform:uppercase;letter-spacing:.5px;margin:0 0 12px}.players-screen .players-list{display:flex;flex-direction:column;gap:8px}.players-screen .player-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;background:#f9fafb;border-radius:6px;min-height:60px}.players-screen .player-info{flex:1;cursor:pointer}.players-screen .player-name{font-size:16px;font-weight:600;color:#1a1a1a}.players-screen .player-rating{font-size:13px;color:#666;margin-top:2px}.players-screen .player-actions{display:flex;gap:4px}.players-screen .action-btn{width:40px;height:40px;border:none;background:#fff;border-radius:6px;font-size:16px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#1a5f7a}.players-screen .action-btn:active{background:#e5e5e5}.players-screen .favorite-toggle.active{color:#f0a202}.players-screen .no-results{text-align:center;color:#999;padding:24px 0;font-size:14px}.players-screen .back-btn{display:flex;align-items:center;gap:4px;background:none;border:none;color:#1a5f7a;font-size:16px;font-weight:600;padding:8px 0;cursor:pointer;height:48px}.players-screen .player-detail-card{background:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 8px #00000014;display:flex;flex-direction:column;gap:16px}.players-screen .player-detail-header{display:flex;align-items:center;gap:16px}.players-screen .player-detail-header h2{font-size:20px;margin:0 0 4px;color:#1a1a1a}.players-screen .player-avatar{width:56px;height:56px;border-radius:50%;background:#1a5f7a;color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:700;flex-shrink:0}.players-screen .player-detail-section p{font-size:15px;color:#444;margin:4px 0}.players-screen .balls-potted-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px;background:#f9fafb;border:none;border-radius:6px;cursor:pointer;text-align:left;color:#1a5f7a}.players-screen .balls-potted-summary span{font-size:14px;color:#444;line-height:1.4}.players-screen .balls-potted-drawer-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.players-screen .balls-potted-drawer-summary p{font-size:15px;color:#444;margin:0}.players-screen .balls-potted-export{height:32px;padding:0 12px;font-size:13px;flex-shrink:0}.players-screen .balls-potted-table-wrap{overflow-x:auto;border:1px solid #e5e5e5;border-radius:6px}.players-screen .balls-potted-table{width:100%;border-collapse:collapse;font-size:13px}.players-screen .balls-potted-table th,.players-screen .balls-potted-table td{padding:8px 10px;text-align:left;white-space:nowrap}.players-screen .balls-potted-table th{position:sticky;top:0;background:#f9fafb;color:#1a5f7a;font-weight:600;text-transform:uppercase;font-size:11px;letter-spacing:.4px}.players-screen .balls-potted-table tbody tr:nth-child(2n){background:#f9fafb}.players-screen .player-detail-card .btn-group{margin-top:8px}.players-screen .member-actions{gap:6px}.players-screen .member-actions .btn{flex:1;min-width:0;height:58px;flex-direction:column;padding:8px 4px;gap:4px;font-size:11px;white-space:nowrap;line-height:1;text-align:center}.players-screen .member-actions .btn svg{flex-shrink:0}.players-screen .status-badge{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;vertical-align:middle}.players-screen .status-badge.suspended{background:#9333ea26;color:#7e22ce;border:1px solid rgba(147,51,234,.4)}[data-theme=dark] .players-screen .search-box{background:#2d2d2d;border-color:#404040}[data-theme=dark] .players-screen .search-input{color:#fff}[data-theme=dark] .players-screen .players-section,[data-theme=dark] .players-screen .player-detail-card{background:#2d2d2d}[data-theme=dark] .players-screen .player-item{background:#1a1a1a}[data-theme=dark] .players-screen .player-name{color:#fff}[data-theme=dark] .players-screen .action-btn{background:#2d2d2d;color:#f0a202}[data-theme=dark] .players-screen .checkbox-row{color:#fff}[data-theme=dark] .players-screen .sport-row-group{background:#1a1a1a}[data-theme=dark] .players-screen .position-btn{color:#7fb8cf;border-color:#ffffff4d}[data-theme=dark] .players-screen .position-btn.active{background:#ffffff1f;border-color:#ffffff80}[data-theme=dark] .players-screen .status-badge.suspended{background:#9333ea40;color:#c084fc;border-color:#9333ea80}[data-theme=dark] .players-screen .player-detail-header h2{color:#fff}[data-theme=dark] .players-screen .player-detail-section p{color:#ccc}[data-theme=dark] .players-screen .balls-potted-summary{background:#1a1a1a}[data-theme=dark] .players-screen .balls-potted-summary span,[data-theme=dark] .players-screen .balls-potted-drawer-summary p{color:#ccc}[data-theme=dark] .players-screen .balls-potted-table-wrap{border-color:#404040}[data-theme=dark] .players-screen .balls-potted-table th{background:#1a1a1a}[data-theme=dark] .players-screen .balls-potted-table tbody tr:nth-child(2n){background:#1a1a1a}[data-theme=dark] .players-screen .balls-potted-table td{color:#ccc}.settings-screen{display:flex;flex-direction:column;gap:12px}.settings-screen .settings-track{display:flex;align-items:flex-start;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -2px;padding:2px}.settings-screen .settings-track::-webkit-scrollbar{display:none}.settings-screen .settings-panel{flex:0 0 100%;max-width:100%;scroll-snap-align:start;scroll-snap-stop:always;box-sizing:border-box;padding:0 2px}.settings-screen .settings-section{background:#fff;border-radius:8px;padding:16px 16px 84px;box-shadow:0 2px 8px #00000014;display:flex;flex-direction:column;gap:12px}.settings-screen .settings-dots{display:flex;justify-content:center;align-items:center;gap:8px;padding:4px 0 8px}.settings-screen .settings-dot{width:8px;height:8px;padding:0;border:none;border-radius:50%;background:#d0d0d0;cursor:pointer;transition:background .2s ease,transform .2s ease}.settings-screen .settings-dot.active{background:#1a5f7a;transform:scale(1.25)}.settings-screen .card-header-with-icon{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:700;color:#1a5f7a}.settings-screen .profile-fields{display:flex;flex-direction:column;gap:8px}.settings-screen .profile-row{display:flex;justify-content:space-between;font-size:15px;padding:8px 0;border-bottom:1px solid #f0f0f0}.settings-screen .profile-label{color:#666}.settings-screen .toggle-list{display:flex;flex-direction:column;gap:4px}.settings-screen .toggle-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;font-size:15px;min-height:48px}.settings-screen .admin-list{display:flex;flex-direction:column;gap:4px;background:#f9fafb;border-radius:8px;padding:4px 12px}.settings-screen .admin-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;font-size:14px;min-height:44px;border-bottom:1px solid #f0f0f0}.settings-screen .admin-row:last-child{border-bottom:none}.settings-screen .admin-list-empty{padding:12px 0;color:#999;font-size:13px}.settings-screen .toggle-switch{width:48px;height:28px;border-radius:14px;border:none;background:#ccc;position:relative;cursor:pointer;padding:0;transition:background .2s ease;flex-shrink:0}.settings-screen .toggle-switch.on{background:#1a5f7a}.settings-screen .toggle-knob{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:transform .2s ease}.settings-screen .toggle-switch.on .toggle-knob{transform:translate(20px)}.settings-screen .integration-list{display:flex;flex-direction:column;gap:8px}.settings-screen .integration-row{display:flex;align-items:center;gap:10px;font-size:15px}.settings-screen .status-dot{width:10px;height:10px;border-radius:50%;background:#ccc;flex-shrink:0}.settings-screen .status-dot.connected{background:#22c55e}.settings-screen .link-list{display:flex;flex-direction:column}.settings-screen .link-list a{color:#1a1a1a;text-decoration:none;padding:12px 0;border-bottom:1px solid #f0f0f0;font-size:15px}.settings-screen .link-list a:active{color:#1a5f7a}.settings-screen .version-text{padding:12px 0;border-bottom:1px solid #f0f0f0;color:#999;font-size:13px}.settings-screen .change-password-form{display:flex;flex-direction:column}.settings-screen .change-password-error{background:#ef44441a;color:#ef4444;border:1px solid rgba(239,68,68,.3);border-radius:8px;padding:10px 12px;font-size:13px;margin-bottom:16px}.settings-screen .change-password-success{color:#22c55e;font-weight:600;text-align:center;padding:12px 0}.settings-screen .password-field{position:relative}.settings-screen .password-field .form-input{padding-right:40px}.settings-screen .password-field-toggle{position:absolute;top:50%;right:8px;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;border:none;background:transparent;padding:6px;color:#999;cursor:pointer}.settings-screen .password-field-toggle:hover{color:#1a5f7a}.settings-screen .password-hints{margin:-12px 0 20px;padding-left:18px;font-size:12px;color:#999}.settings-screen .password-hints li{line-height:1.6}[data-theme=dark] .settings-screen .settings-section{background:#2d2d2d}[data-theme=dark] .settings-screen .profile-row,[data-theme=dark] .settings-screen .link-list a,[data-theme=dark] .settings-screen .version-text{border-bottom-color:#404040}[data-theme=dark] .settings-screen .profile-row span:last-child,[data-theme=dark] .settings-screen .link-list a,[data-theme=dark] .settings-screen .toggle-row{color:#fff}[data-theme=dark] .settings-screen .profile-label{color:#aaa}[data-theme=dark] .settings-screen .admin-list{background:#1a1a1a}[data-theme=dark] .settings-screen .admin-row{color:#fff;border-bottom-color:#404040}[data-theme=dark] .settings-screen .settings-dot{background:#4d4d4d}[data-theme=dark] .settings-screen .settings-dot.active{background:#4fb3d9}.menu-screen{display:flex;flex-direction:column;gap:12px}.menu-screen .menu-track{display:flex;align-items:flex-start;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -2px;padding:2px}.menu-screen .menu-track::-webkit-scrollbar{display:none}.menu-screen .menu-panel{flex:0 0 100%;max-width:100%;scroll-snap-align:start;scroll-snap-stop:always;box-sizing:border-box;padding:0 2px}.menu-screen .menu-section{background:#fff;border-radius:8px;padding:16px;box-shadow:0 2px 8px #00000014;display:flex;flex-direction:column;gap:8px}.menu-screen .menu-dots{display:flex;justify-content:center;align-items:center;gap:8px;padding:4px 0 8px}.menu-screen .menu-dot{width:8px;height:8px;padding:0;border:none;border-radius:50%;background:#d0d0d0;cursor:pointer;transition:background .2s ease,transform .2s ease}.menu-screen .menu-dot.active{background:#1a5f7a;transform:scale(1.25)}.menu-screen .card-header-with-icon{display:flex;align-items:center;gap:8px;font-size:18px;font-weight:700;color:#1a5f7a;margin-bottom:4px}.menu-screen .link-list{display:flex;flex-direction:column}.menu-screen .menu-link{display:block;width:100%;text-align:left;background:none;border:none;border-bottom:1px solid #f0f0f0;padding:14px 0;font-size:15px;font-family:inherit;color:#1a1a1a;cursor:pointer;min-height:48px}.menu-screen .menu-link:last-child{border-bottom:none}.menu-screen .menu-link:active{color:#1a5f7a}.menu-screen .menu-link:disabled{color:#999;cursor:default}.menu-screen .toggle-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;font-size:15px;min-height:48px;border-bottom:1px solid #f0f0f0}.menu-screen .toggle-switch{width:48px;height:28px;border-radius:14px;border:none;background:#ccc;position:relative;cursor:pointer;padding:0;transition:background .2s ease;flex-shrink:0}.menu-screen .toggle-switch.on{background:#1a5f7a}.menu-screen .toggle-knob{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:transform .2s ease}.menu-screen .toggle-switch.on .toggle-knob{transform:translate(20px)}[data-theme=dark] .menu-screen .menu-dot{background:#4d4d4d}[data-theme=dark] .menu-screen .menu-section{background:#2d2d2d}[data-theme=dark] .menu-screen .menu-link,[data-theme=dark] .menu-screen .toggle-row{color:#fff;border-bottom-color:#404040}.score-input{display:flex;align-items:center;justify-content:center;gap:12px}.score-btn{width:48px;height:48px;border-radius:6px;border:2px solid #1a5f7a;background:#fff;color:#1a5f7a;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;font-weight:600}.score-btn:active{background:#1a5f7a;color:#fff}.score-display{width:80px;height:80px;font-size:36px;font-weight:700;text-align:center;border:3px solid #1a5f7a;border-radius:8px;background:#fff;color:#1a5f7a;-webkit-appearance:none;-moz-appearance:none;appearance:none}.score-display::-webkit-inner-spin-button,.score-display::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0}.score-display[type=number]{-moz-appearance:textfield}[data-theme=dark] .score-btn,[data-theme=dark] .score-display{background:#2d2d2d}.record-result-screen{display:flex;flex-direction:column;gap:20px}.record-result-screen .match-info{background:#fff;border-radius:8px;padding:16px;box-shadow:0 2px 8px #00000014;text-align:center}.record-result-screen .match-info h3{font-size:18px;color:#1a1a1a;margin:0 0 4px}.record-result-screen .match-info p{font-size:14px;color:#666;margin:0}.record-result-screen .score-entry{display:flex;flex-direction:column;align-items:stretch;gap:16px;background:#fff;border-radius:8px;padding:20px 12px;box-shadow:0 2px 8px #00000014}.record-result-screen .team-score{display:flex;flex-direction:column;align-items:center;gap:12px}.record-result-screen .team-score label{font-size:14px;font-weight:600;color:#1a1a1a;text-align:center}.record-result-screen .vs-text{font-size:13px;font-weight:600;color:#999;text-transform:uppercase;text-align:center}.record-result-screen .result-info{text-align:center}.record-result-screen .result-info .valid{display:flex;align-items:center;justify-content:center;gap:6px;color:#22c55e;font-weight:600;font-size:16px}.record-result-screen .result-info .pending{color:#666;font-size:14px}.record-result-screen .action-buttons{display:flex;gap:8px;margin-top:4px}.record-result-screen .action-buttons .btn{flex:1}[data-theme=dark] .record-result-screen .match-info,[data-theme=dark] .record-result-screen .score-entry{background:#2d2d2d}[data-theme=dark] .record-result-screen .match-info h3,[data-theme=dark] .record-result-screen .team-score label{color:#fff}.ball-score-screen{display:flex;flex-direction:column;gap:20px}.ball-score-screen .back-btn{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;background:none;border:none;color:#1a5f7a;font-size:14px;font-weight:600;cursor:pointer;padding:4px 0}.ball-score-screen .ball-score-header{background:#fff;border-radius:8px;padding:16px;box-shadow:0 2px 8px #00000014;text-align:center}.ball-score-screen .ball-score-header h3{font-size:18px;color:#1a1a1a;margin:0 0 4px}.ball-score-screen .ball-score-header p{font-size:13px;color:#666;margin:0}.ball-score-screen .ball-score-entry{display:flex;flex-direction:column;align-items:stretch;gap:16px;background:#fff;border-radius:8px;padding:20px 12px;box-shadow:0 2px 8px #00000014}.ball-score-screen .ball-score-side{display:flex;flex-direction:column;align-items:center;gap:12px}.ball-score-screen .ball-player-select{width:100%;max-width:220px;height:40px;padding:0 10px;font-size:14px;font-weight:600;color:#1a1a1a;text-align:center;border:2px solid #1a5f7a;border-radius:6px;background:#fff}.ball-score-screen .ball-tally-value{width:96px;height:96px;display:flex;align-items:center;justify-content:center;font-size:44px;font-weight:700;border:3px solid #1a5f7a;border-radius:8px;color:#1a5f7a}.ball-score-screen .ball-tally-controls{display:flex;gap:12px}.ball-score-screen .ball-tally-btn{width:56px;height:56px;border-radius:6px;border:2px solid #1a5f7a;background:#fff;color:#1a5f7a;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.ball-score-screen .ball-tally-btn.plus{background:#1a5f7a;color:#fff}.ball-score-screen .ball-tally-btn:active{transform:scale(.95)}.ball-score-screen .ball-tally-btn:disabled{opacity:.4;cursor:not-allowed}.ball-score-screen .vs-text{font-size:13px;font-weight:600;color:#999;text-transform:uppercase;text-align:center}.ball-score-screen .action-buttons{display:flex;gap:8px}[data-theme=dark] .ball-score-screen .ball-score-header,[data-theme=dark] .ball-score-screen .ball-score-entry{background:#2d2d2d}[data-theme=dark] .ball-score-screen .ball-score-header h3{color:#fff}[data-theme=dark] .ball-score-screen .ball-player-select{background:#2d2d2d;color:#fff}[data-theme=dark] .ball-score-screen .ball-tally-btn{background:#2d2d2d}[data-theme=dark] .ball-score-screen .ball-tally-btn.plus{background:#1a5f7a}.new-match-screen{display:flex;flex-direction:column;gap:16px}.new-match-screen .screen-title{font-size:20px;font-weight:700;color:#1a1a1a;margin:0}.new-match-screen .new-match-form{display:flex;flex-direction:column;gap:4px;background:#fff;border-radius:8px;padding:16px;box-shadow:0 2px 8px #00000014}.new-match-screen .new-match-error{display:none;background:#ef44441a;color:#ef4444;border:1px solid rgba(239,68,68,.3);border-radius:8px;padding:12px;font-size:14px;font-weight:600;text-align:center;margin-bottom:12px;scroll-margin-top:16px}.new-match-screen .new-match-error.visible{display:block}.new-match-screen .field-error{border-color:#ef4444!important;box-shadow:0 0 0 1px #ef4444}.new-match-screen .new-match-row{display:flex;gap:12px}.new-match-screen .new-match-row .form-group{flex:1;min-width:0}.new-match-screen .team-field-btn{display:flex;align-items:center;justify-content:space-between;width:100%;height:48px;padding:0 12px;border:1px solid #e5e5e5;border-radius:8px;background:#fff;color:#1a1a1a;font-size:16px;font-family:inherit;cursor:pointer;text-align:left}.new-match-screen .team-field-btn:active{border-color:#1a5f7a}.new-match-screen .team-field-btn svg{color:#999;flex-shrink:0}.new-match-screen .team-drawer-content{display:flex;flex-direction:column;gap:8px}.new-match-screen .team-drawer-label{font-size:12px;font-weight:600;color:#999;text-transform:uppercase;letter-spacing:.5px;margin:8px 0 0}.new-match-screen .team-option{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:56px;padding:10px 14px;border:1px solid #e5e5e5;border-radius:8px;background:#f9fafb;color:#1a1a1a;font-family:inherit;cursor:pointer;text-align:left}.new-match-screen .team-option.selected{border-color:#1a5f7a;background:#1a5f7a14;color:#1a5f7a}.new-match-screen .team-option-info{display:flex;flex-direction:column;gap:2px}.new-match-screen .team-option-name{font-size:15px;font-weight:600}.new-match-screen .team-option-badge{display:inline-block;width:fit-content;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:#f0a202}.new-match-screen .team-option-meta{font-size:13px;color:#666}.new-match-screen .add-team-trigger{justify-content:center;gap:8px;border-style:dashed;color:#1a5f7a;font-weight:600;background:#fff}.new-match-screen .add-team-form{display:flex;flex-direction:column;gap:10px;padding:12px;background:#f9fafb;border-radius:8px;margin-top:4px}.new-match-screen .add-team-form .form-input{height:44px;padding:0 12px;border:1px solid #e5e5e5;border-radius:8px;font-size:15px;font-family:inherit}.new-match-screen .venue-card{display:flex;flex-direction:column;gap:8px;padding:12px;background:#f9fafb;border-radius:8px;border:1px solid #e5e5e5}.new-match-screen .venue-name{font-size:15px;font-weight:700;color:#1a1a1a}.new-match-screen .venue-detail-row{display:flex;align-items:center;gap:8px;font-size:14px;color:#444;text-decoration:none}.new-match-screen .venue-detail-row svg{color:#1a5f7a;flex-shrink:0}.new-match-screen .venue-phone{color:#1a5f7a;font-weight:600}.new-match-screen .venue-map-thumb{position:relative;border-radius:6px;overflow:hidden;cursor:pointer;border:1px solid #e5e5e5}.new-match-screen .venue-map-thumb iframe{display:block;width:100%;height:140px;border:0;pointer-events:none}.new-match-screen .venue-map-expand{position:absolute;bottom:8px;right:8px;display:flex;align-items:center;gap:4px;padding:4px 8px;background:#000000a6;color:#fff;font-size:11px;font-weight:600;border-radius:4px}.new-match-screen .venue-map-fallback{display:flex;align-items:center;justify-content:center;gap:8px;height:56px;border-radius:6px;border:1px dashed #cfcfcf;background:#f0f0f0;color:#1a5f7a;font-size:14px;font-weight:600;text-decoration:none}.new-match-screen .venue-placeholder{padding:16px;text-align:center;color:#999;font-size:14px;background:#f9fafb;border-radius:8px;border:1px dashed #e5e5e5}.new-match-screen .referee-whatsapp{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:13px;font-weight:600;color:#22c55e;text-decoration:none}.new-match-screen .map-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000a6;z-index:110;display:flex;align-items:center;justify-content:center;padding:20px}.new-match-screen .map-modal{width:100%;max-width:420px;background:#fff;border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.new-match-screen .map-modal-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;font-weight:700;color:#1a1a1a}.new-match-screen .map-modal-close{width:32px;height:32px;border:none;background:#f5f5f5;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#666}.new-match-screen .map-modal iframe{width:100%;height:320px;border:0}.new-match-screen .map-modal-directions{margin:12px;width:calc(100% - 24px)}[data-theme=dark] .new-match-screen .screen-title{color:#fff}[data-theme=dark] .new-match-screen .new-match-form{background:#2d2d2d}[data-theme=dark] .new-match-screen .team-field-btn,[data-theme=dark] .new-match-screen .team-option{background:#1a1a1a;border-color:#404040;color:#fff}[data-theme=dark] .new-match-screen .team-option.selected{background:#1a5f7a40}[data-theme=dark] .new-match-screen .team-option-meta{color:#aaa}[data-theme=dark] .new-match-screen .add-team-trigger{background:#2d2d2d}[data-theme=dark] .new-match-screen .add-team-form{background:#1a1a1a}[data-theme=dark] .new-match-screen .add-team-form .form-input{background:#2d2d2d;border-color:#404040;color:#fff}[data-theme=dark] .new-match-screen .venue-card,[data-theme=dark] .new-match-screen .venue-placeholder{background:#1a1a1a;border-color:#404040}[data-theme=dark] .new-match-screen .venue-name{color:#fff}[data-theme=dark] .new-match-screen .venue-detail-row{color:#ccc}[data-theme=dark] .new-match-screen .venue-map-fallback{background:#1a1a1a;border-color:#404040}[data-theme=dark] .new-match-screen .map-modal{background:#2d2d2d}[data-theme=dark] .new-match-screen .map-modal-header{color:#fff}.team-sheet-screen{display:flex;flex-direction:column;gap:16px;position:relative}.team-sheet-screen .screen-title{font-size:20px;font-weight:700;color:#1a1a1a;margin:0}.team-sheet-screen .team-sheet-subtitle{font-size:13px;color:#666;margin:-10px 0 0}.team-sheet-screen .team-sheet-empty{color:#999;text-align:center;padding:24px 0}.team-sheet-screen .lineup-board{display:grid;grid-template-columns:26px 1fr 1fr;gap:6px;align-items:stretch;background:#fff;border-radius:8px;padding:12px;box-shadow:0 2px 8px #00000014}.team-sheet-screen .lineup-board-team-header{font-size:12px;font-weight:700;color:#1a5f7a;text-align:center;padding-bottom:6px;margin-bottom:4px;border-bottom:1px solid #e5e5e5;overflow-wrap:anywhere}.team-sheet-screen .frame-badge{display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#999}.team-sheet-screen .lineup-slot{min-height:40px;border:1px dashed #d5d5d5;border-radius:6px;display:flex;align-items:center;justify-content:center;padding:4px;background:#f9fafb}.team-sheet-screen .slot-placeholder{font-size:10px;color:#bbb}.team-sheet-screen .lineup-chip{width:100%;min-height:32px;display:flex;align-items:center;justify-content:center;padding:6px 8px;border-radius:6px;background:#1a5f7a;color:#fff;font-size:12px;font-weight:600;text-align:center;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;overflow-wrap:anywhere}.team-sheet-screen .lineup-chip.dragging{opacity:.35}.team-sheet-screen .lineup-chip-ghost{position:fixed;transform:translate(-50%,-50%);pointer-events:none;z-index:999;min-width:90px;box-shadow:0 4px 14px #00000059}.team-sheet-screen .bench-chips .lineup-chip{width:auto;min-width:64px}.team-sheet-screen .lineup-benches{display:flex;flex-direction:column;gap:12px}.team-sheet-screen .lineup-bench{background:#fff;border-radius:8px;padding:12px;box-shadow:0 2px 8px #00000014}.team-sheet-screen .bench-header{font-size:12px;font-weight:700;color:#666;text-transform:uppercase;letter-spacing:.3px;margin-bottom:8px}.team-sheet-screen .bench-chips{display:flex;flex-wrap:wrap;gap:8px;min-height:36px}.team-sheet-screen .bench-empty{font-size:12px;color:#999;padding:6px 0}.team-sheet-screen .bench-add-btn{display:flex;align-items:center;gap:6px;margin-top:10px;padding:8px 12px;border:1px dashed #1a5f7a;border-radius:6px;background:#fff;color:#1a5f7a;font-weight:600;font-size:13px;cursor:pointer;font-family:inherit}.team-sheet-screen .bench-add-form{display:flex;gap:8px;margin-top:10px;align-items:center;flex-wrap:wrap}.team-sheet-screen .bench-add-form .form-input{flex:1;min-width:120px;height:40px;padding:0 10px;border:1px solid #e5e5e5;border-radius:6px;font-size:14px;font-family:inherit}.team-sheet-screen .bench-add-form .btn{height:40px;padding:0 12px}.team-sheet-screen .team-sheet-actions .btn{display:flex;align-items:center;justify-content:center;gap:6px}[data-theme=dark] .team-sheet-screen .screen-title{color:#fff}[data-theme=dark] .team-sheet-screen .team-sheet-subtitle{color:#aaa}[data-theme=dark] .team-sheet-screen .lineup-board,[data-theme=dark] .team-sheet-screen .lineup-bench{background:#2d2d2d}[data-theme=dark] .team-sheet-screen .lineup-board-team-header{border-color:#404040}[data-theme=dark] .team-sheet-screen .lineup-slot{background:#1a1a1a;border-color:#404040}[data-theme=dark] .team-sheet-screen .bench-add-btn{background:#2d2d2d}[data-theme=dark] .team-sheet-screen .bench-add-form .form-input{background:#1a1a1a;border-color:#404040;color:#fff}.score-report-screen{display:flex;flex-direction:column;gap:16px}.score-report-screen .screen-title{font-size:20px;font-weight:700;color:#1a1a1a;margin:0}.score-report-screen .score-report-subtitle{font-size:13px;color:#666;margin:-10px 0 0}.score-report-screen .score-report-empty{color:#999;text-align:center;padding:24px 0}.score-report-screen .score-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fff;border-radius:8px;padding:16px;box-shadow:0 2px 8px #00000014}.score-report-screen .score-summary-team{flex:1;font-size:14px;font-weight:700;color:#1a1a1a;text-align:center;overflow-wrap:anywhere}.score-report-screen .score-summary-score{font-size:22px;font-weight:800;color:#1a5f7a;white-space:nowrap}.score-report-screen .frame-list{display:flex;flex-direction:column;gap:8px}.score-report-screen .frame-row{background:#fff;border-radius:8px;padding:10px 12px;box-shadow:0 2px 8px #00000014}.score-report-screen .frame-row-disabled{opacity:.55}.score-report-screen .frame-row-number{font-size:11px;font-weight:700;color:#999;text-transform:uppercase;letter-spacing:.3px;margin-bottom:6px}.score-report-screen .frame-row-players{display:flex;align-items:center;gap:8px}.score-report-screen .frame-player-btn{flex:1;min-height:40px;padding:8px;border:1px solid #e5e5e5;border-radius:6px;background:#f9fafb;color:#1a1a1a;font-size:13px;font-weight:600;font-family:inherit;cursor:pointer;overflow-wrap:anywhere}.score-report-screen .frame-player-btn:disabled{cursor:not-allowed;color:#bbb}.score-report-screen .frame-player-btn.winner{background:#1a5f7a1f;border-color:#1a5f7a;color:#1a5f7a}.score-report-screen .frame-vs{font-size:11px;font-weight:600;color:#999;flex-shrink:0}.score-report-screen .score-report-actions .btn{display:flex;align-items:center;justify-content:center;gap:6px}[data-theme=dark] .score-report-screen .screen-title{color:#fff}[data-theme=dark] .score-report-screen .score-report-subtitle{color:#aaa}[data-theme=dark] .score-report-screen .score-summary,[data-theme=dark] .score-report-screen .frame-row{background:#2d2d2d}[data-theme=dark] .score-report-screen .score-summary-team{color:#fff}[data-theme=dark] .score-report-screen .frame-player-btn{background:#1a1a1a;border-color:#404040;color:#fff}[data-theme=dark] .score-report-screen .frame-player-btn.winner{background:#1a5f7a4d}.player-stats-screen{display:flex;flex-direction:column;gap:16px}.player-stats-screen .screen-title{font-size:20px;font-weight:700;color:#1a1a1a;margin:0}.player-stats-screen .player-stats-subtitle{font-size:13px;color:#666;margin:-10px 0 0}.player-stats-screen .stats-section{background:#fff;border-radius:8px;padding:16px;box-shadow:0 2px 8px #00000014}.player-stats-screen .section-header{font-size:15px;font-weight:700;color:#1a5f7a;margin:0 0 10px}.player-stats-screen .stats-empty{color:#999;font-size:13px;margin:0}.player-stats-screen .stats-table{display:flex;flex-direction:column;background:#f9fafb;border-radius:6px;overflow:hidden}.player-stats-screen .stats-row{display:grid;grid-template-columns:1fr 32px 32px 32px 52px;gap:6px;align-items:center;padding:10px 12px;border-bottom:1px solid #e5e5e5;font-size:13px}.player-stats-screen .stats-row:last-child{border-bottom:none}.player-stats-screen .stats-row-header{background:#1a5f7a;color:#fff;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.4px}.player-stats-screen .col-player{font-weight:600;color:#1a1a1a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-stats-screen .stats-row-header .col-player{color:#fff}.player-stats-screen .col-num{text-align:center;color:#666}.player-stats-screen .stats-row-header .col-num{color:#fff}.player-stats-screen .player-stats-actions{display:flex;gap:8px}.player-stats-screen .player-stats-actions .btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px}[data-theme=dark] .player-stats-screen .screen-title{color:#fff}[data-theme=dark] .player-stats-screen .player-stats-subtitle{color:#aaa}[data-theme=dark] .player-stats-screen .stats-section{background:#2d2d2d}[data-theme=dark] .player-stats-screen .stats-table{background:#1a1a1a}[data-theme=dark] .player-stats-screen .stats-row{border-bottom-color:#404040}[data-theme=dark] .player-stats-screen .col-player{color:#fff}.timer-screen{display:flex;align-items:stretch;justify-content:space-between;width:100%;height:100vh;background:#1a5f7a;padding:0;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;user-select:none;-webkit-user-select:none}.player-section{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#1a5f7a;color:#fff;padding:20px;text-align:center;cursor:pointer;transition:all .3s ease;position:relative;border:3px solid transparent}.player-section:hover{background:#0d3a52}.player-section.active{border:3px solid #f0a202;background:#2a7a9d}.player-section.active:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:#f0a202;animation:pulse 1s infinite}@keyframes pulse{0%,to{opacity:.5}50%{opacity:1}}.player-label{font-size:14px;font-weight:600;color:#f0a202;text-transform:uppercase;letter-spacing:2px;margin-bottom:8px}.player-name{font-size:28px;font-weight:700;color:#fff;margin-bottom:20px;line-height:1.2;max-height:90px;overflow:hidden;text-overflow:ellipsis}.player-stats{display:flex;justify-content:center;gap:30px;margin:20px 0;width:100%}.stat{display:flex;flex-direction:column;align-items:center;gap:8px}.stat-label{font-size:12px;text-transform:uppercase;color:#f0a202;font-weight:600;letter-spacing:1px}.stat-value{font-size:36px;font-weight:700;color:#fff;min-width:60px;background:#0003;padding:8px 12px;border-radius:6px}.tap-hint{font-size:10px;color:#fff9;text-transform:uppercase;letter-spacing:.5px;margin-top:12px}.timer-section{flex:1.5;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;padding:20px;gap:20px;position:relative}.timer-display{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;transition:all .1s ease}.timer-display.warning-flash{animation:warningFlash .5s}@keyframes warningFlash{0%,to{transform:scale(1);color:#1a5f7a}50%{transform:scale(1.05);color:#ef4444}}.timer-value{font-size:120px;font-weight:700;color:#1a5f7a;font-variant-numeric:tabular-nums;font-family:Courier New,monospace;line-height:1;letter-spacing:-4px}.timer-label{display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:2px}.active-player-indicator{display:flex;align-items:center;justify-content:center;gap:6px;font-size:18px;font-weight:600;color:#1a5f7a;background:#f0f0f0;padding:12px 20px;border-radius:8px;text-transform:uppercase;letter-spacing:1px}.timer-controls{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;width:100%;max-width:550px}.control-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px;border:2px solid transparent;border-radius:8px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:1px;cursor:pointer;transition:all .2s ease;background:#f0f0f0;color:#1a1a1a;min-height:60px}.control-btn:active{transform:scale(.95)}.control-btn.play{background:#22c55e;color:#fff;grid-column:1}.control-btn.play:active{background:#16a34a}.control-btn.reset{background:#ef4444;color:#fff;grid-column:2}.control-btn.reset:active{background:#dc2626}.control-btn.sound{background:#1a5f7a;color:#fff;grid-column:3}.control-btn.sound:active{background:#0d3a52}.control-btn.fullscreen{background:#f0a202;color:#fff}.control-btn.fullscreen:active{background:#d99d00}.control-btn.tick-sound{background:#9333ea;color:#fff}.control-btn.tick-sound:active{background:#7e22ce}.control-btn.out-of-time{background:#6366f1;color:#fff}.control-btn.out-of-time:active{background:#4f46e5}.control-btn svg{width:20px;height:20px}.timer-status{display:flex;align-items:center;justify-content:center;gap:6px;font-size:14px;font-weight:600;color:#999;text-transform:uppercase;letter-spacing:1px;padding:8px 16px;border-radius:4px;background:#f0f0f0;transition:all .2s ease}.timer-status.active{color:#22c55e;background:#dcfce7;animation:pulse 1s infinite}.timer-screen.fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999;margin:0;padding:0}.timer-screen.warning .timer-value{color:#ef4444}.timer-screen.warning .timer-display{animation:warningPulse .8s infinite}@keyframes warningPulse{0%,to{opacity:1}50%{opacity:.6}}.timer-screen.time-up .timer-value{color:#ef4444;font-size:110px;font-weight:900;animation:timeUpFlash .5s infinite}.timer-screen.time-up .time-up-display{animation:timeUpPulse 1s infinite}@keyframes timeUpFlash{0%,to{transform:scale(1);color:#ef4444}50%{transform:scale(1.1);color:#ff6b6b}}@keyframes timeUpPulse{0%,to{background:#ef44441a}50%{background:#ef44444d}}.timer-screen.time-up .active-player-indicator{background:#ef4444;color:#fff;animation:pulse .5s infinite;font-weight:700}.hundredths-info{font-size:11px;color:#999;text-transform:uppercase;letter-spacing:.5px;font-style:italic;margin-top:8px}@media (orientation: portrait){.timer-screen{flex-direction:column;height:auto;min-height:100vh;padding-top:60px}.player-section{flex:none;min-height:100px;padding:12px;border-bottom:1px solid rgba(0,0,0,.1)}.player-left{order:1}.timer-section{flex:none;min-height:300px;order:2}.player-right{order:3}.timer-value{font-size:72px;letter-spacing:-2px}.timer-label{font-size:12px}.active-player-indicator{font-size:14px;padding:8px 16px}.timer-controls{grid-template-columns:repeat(5,1fr);max-width:320px;gap:6px}.control-btn{min-height:48px;font-size:10px}.player-name{font-size:18px;margin-bottom:12px}.player-stats{gap:20px}.stat-value{font-size:24px;min-width:48px}}@media (orientation: landscape){.timer-screen{flex-direction:row;height:100vh}.player-section{padding:16px}.player-name{font-size:22px;margin-bottom:16px}.timer-value{font-size:100px;letter-spacing:-3px}.timer-label{font-size:12px}.timer-controls{grid-template-columns:repeat(4,1fr);width:90%}.control-btn{min-height:56px;font-size:11px;padding:10px}}@media (min-width: 1024px){.timer-value{font-size:140px;letter-spacing:-5px}.player-name{font-size:32px}.timer-label{font-size:16px}.stat-value{font-size:48px;min-width:80px}.control-btn{min-height:64px;font-size:12px}.active-player-indicator{font-size:20px}}@media (prefers-reduced-motion: reduce){.timer-screen,.player-section,.control-btn,.timer-status,.timer-display{animation:none!important;transition:none!important}}@media (prefers-contrast: more){.timer-screen{background:#000}.player-section{background:#000;border:3px solid white}.player-section.active{border:3px solid #ffff00}.timer-value{color:#fff;font-weight:900;text-shadow:2px 2px 4px rgba(0,0,0,.8)}.timer-section{background:#fff}.player-name{color:#fff;text-shadow:1px 1px 2px rgba(0,0,0,.5)}}[data-theme=dark] .timer-section{background:#1a1a1a;color:#fff}[data-theme=dark] .timer-value{color:#f0a202}[data-theme=dark] .timer-label,[data-theme=dark] .tap-hint{color:#ffffffb3}[data-theme=dark] .active-player-indicator{background:#2d2d2d;color:#f0a202}[data-theme=dark] .control-btn{background:#2d2d2d;color:#fff}[data-theme=dark] .stat-value{background:#ffffff1a}[data-theme=dark] .timer-status{background:#2d2d2d;color:#aaa}[data-theme=dark] .timer-status.active{background:#22c55e33;color:#22c55e}@media print{.timer-screen,.timer-controls,.tap-hint{display:none}}.timer-overlay{position:relative;width:100%;height:100vh}.timer-exit-btn{position:absolute;top:12px;left:12px;z-index:10;display:flex;align-items:center;gap:6px;height:40px;padding:0 14px;background:#00000059;color:#fff;border:1px solid rgba(255,255,255,.4);border-radius:8px;font-size:14px;font-weight:600;cursor:pointer}.timer-exit-btn:active{background:#0000008c}@media print{.timer-exit-btn{display:none}}
