        body { font-family: 'Segoe UI', sans-serif; background: #f4f4f4; margin: 0; position: relative; min-height: 100vh; }
        #maintenance-splash i { font-size: 4rem; color: #00ff87; animation: spin 4s linear infinite; }
        #maintenance-splash h2 { margin: 0; color: white; text-transform: uppercase; letter-spacing: 2px; }
        #maintenance-splash p { margin: 0; color: #ccc; font-size: 0.95em; line-height: 1.5; }
        .retry-btn { background: #00ff87; color: #37003c; border: none; padding: 12px 30px; border-radius: 30px; font-weight: bold; cursor: pointer; text-decoration: none; margin-top: 10px; }
        .content-wrapper { max-width: 1200px; margin: 0 auto; padding: 10px; }
        h1, h3 { text-align: center; color: #008000; text-transform: uppercase; margin: 10px 0; }
        .admin-nav { position: fixed; bottom: 20px; right: 20px; z-index: 1000; }
        .admin-btn { padding: 12px 20px; background: #37003c; color: white; text-decoration: none; border-radius: 30px; font-weight: bold; font-size: 0.85em; box-shadow: 0 4px 15px rgba(0,0,0,0.3); display: flex; align-items: center; gap: 10px; transition: transform 0.2s; }
        .controls { text-align: center; margin-bottom: 20px; }
        .controls button { padding: 10px 15px; margin: 3px; border: none; border-radius: 5px; background: #ddd; cursor: pointer; font-weight: bold; }
        .controls button.active { background: #008000 !important; color: white !important; }
        .table-container { background: white; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); overflow-x: auto; margin-bottom: 20px; }
        table { width: 100%; border-collapse: collapse; }
        th { background: #008000; color: white; padding: 12px; font-size: 0.85em; white-space: nowrap; }
        td { padding: 12px; text-align: center; border-bottom: 1px solid #eee; font-size: 0.85em; white-space: nowrap; }
        .player-name-link { cursor: pointer; color: #008000; font-weight: bold; text-decoration: underline; }
        .row-highlight { background: #e3f2fd !important; outline: 2px solid #2196f3; }
        .info-message { font-weight: bold; color: #d9534f; text-align: center; margin-bottom: 10px; }
        .info-note-container { text-align: center; max-width: 600px; margin: 20px auto; padding: 15px; border: 1px solid #ddd; border-radius: 8px; background-color: #fff; font-size: 0.9em; }
        .info-note-container h4 { margin-top: 0; color: #008000; }
        .info-note-container ul { list-style-type: none; padding: 0; margin: 0; }
        .info-note-container li { margin-bottom: 5px; }
        .deadline-countdown-container { margin-bottom: 15px; padding: 10px; border-bottom: 1px solid #eee; }
        .deadline-countdown-container h4 { margin: 0 0 5px 0; color: #37003c; text-transform: uppercase; font-size: 0.85rem; }
        .deadline-time-label { color: #777; font-size: 0.75rem; margin-bottom: 8px; display: block; }
        .countdown-timer { display: flex; justify-content: center; gap: 15px; }
        .timer-segment { display: flex; flex-direction: column; align-items: center; }
        .timer-value { font-size: 1.8rem; font-weight: 800; color: #37003c; line-height: 1; }
        .timer-label { font-size: 0.6rem; text-transform: uppercase; color: #888; margin-top: 2px; }
        #winner-splash { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 100000; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: white; animation: fadeIn 0.5s; cursor: pointer; }
        .splash-close { position: absolute; top: 20px; right: 30px; font-size: 40px; color: #aaa; cursor: pointer; font-family: Arial, sans-serif; transition: color 0.2s; z-index: 100001; }
        .splash-close:hover { color: #00ff87; }
        .splash-content h2 { color: #00ff87; font-size: 3rem; margin: 10px 0; text-shadow: 0 0 20px #00ff87; }
        .splash-media { max-width: 80%; max-height: 60vh; border-radius: 15px 15px 0 0; margin: 20px 0 0 0; box-shadow: 0 0 30px rgba(0,255,135,0.5); display: block; }
        .progress-container { width: 80%; background: #333; height: 6px; border-radius: 0 0 15px 15px; overflow: hidden; margin-bottom: 20px; }
        #progress-bar { width: 0%; height: 100%; background: #00ff87; transition: width 0.1s linear; }
        .top-scorer-row { background: #fff9c4 !important; transition: background 1.5s ease; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        .gw-winner { background: #c8e6c9 !important; font-weight: bold; }
        .total-points { background: #f0f0f0; font-weight: bold; }
        .leader-badge { background: #d4af37; color: white; padding: 2px 6px; border-radius: 10px; font-size: 0.7em; }
        #loading-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 99999; flex-direction: column; justify-content: center; align-items: center; color: #00ff87; }
        .large-spinner { border: 6px solid #333; border-top: 6px solid #00ff87; border-radius: 50%; width: 50px; height: 50px; animation: spin 1s linear infinite; }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
        .modal { display: none; position: fixed; z-index: 12000; left: 0; top: 0; width: 100%; height: 100%; overflow-y: auto; background-color: rgba(0,0,0,0.85); padding: 5px 0; }
        .modal-content { background-color: white; margin: 0 auto; padding: 15px; border: 1px solid #888; width: 98%; max-width: 1000px; border-radius: 15px; box-sizing: border-box; position: relative; touch-action: pan-y; transition: opacity 0.3s ease; }
        .tutorial-active { opacity: 0.5 !important; }
        #swipe-toast { position: fixed; top: 50px; left: 50%; transform: translateX(-50%); width: 85%; max-width: 400px; background: #37003c; color: #00ff87; text-align: center; padding: 18px 12px; font-weight: bold; font-size: 0.9em; border-radius: 50px; z-index: 20000; cursor: pointer; display: none; box-shadow: 0 10px 30px rgba(0,0,0,0.8); border: 3px solid #00ff87; opacity: 1 !important; }
        @media (min-width: 768px) { #swipe-toast { display: none !important; } }
        .hand-anim { display: inline-block; margin-right: 12px; font-size: 1.4em; vertical-align: middle; animation: swipeFinger 1.5s ease-in-out infinite; }
        @keyframes swipeFinger { 0% { transform: translateX(-20px); opacity: 0; } 30% { opacity: 1; } 70% { transform: translateX(20px); opacity: 1; } 100% { transform: translateX(25px); opacity: 0; } }
        .modal-header { border-bottom: 2px solid #008000; padding-bottom: 10px; margin: 40px 0 15px 0; display: flex; justify-content: space-between; align-items: center; }
        .modal-nav { display: none; position: fixed; top: 50%; transform: translateY(-50%); color: #00ff87; font-size: 3rem; cursor: pointer; z-index: 13000; transition: color 0.2s, transform 0.2s; padding: 10px; text-shadow: 0 0 15px rgba(0,0,0,0.8); }
        .modal-nav.prev { left: 5px; }
        .modal-nav.next { right: 5px; }
        .dashboard-container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 15px; }
        @media (max-width: 850px) { .dashboard-container { grid-template-columns: 1fr; } }
        .pitch-container { background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%); border-radius: 12px; padding: 15px 5px; position: relative; border: 2px solid #fff; box-shadow: inset 0 0 50px rgba(0,0,0,0.3); min-height: 400px; display: flex; flex-direction: column; justify-content: space-around; overflow: hidden; }
        .pitch-container::before { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: rgba(255,255,255,0.2); pointer-events: none; }
        .pitch-row { display: flex; justify-content: center; align-items: center; gap: 4px; z-index: 2; margin-bottom: 8px; width: 100%; flex-wrap: nowrap; }
        .pitch-card { background: rgba(255, 255, 255, 0.95); padding: 4px 2px; border-radius: 4px; text-align: center; width: 18%; max-width: 80px; min-width: 60px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); font-size: 0.65em; border: 1.5px solid transparent; flex-shrink: 1; }
        .pitch-card .p-name { font-weight: bold; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
        .pitch-card .p-pts { background: #37003c; color: white; display: inline-block; padding: 1px 4px; border-radius: 3px; margin-top: 2px; font-weight: bold; }
        .pitch-card.captain { border-color: #ffeb3b; background: #fffde7; }
        .pitch-card.vice { border-color: #00e5ff; background: #e0f7fa; }
        .badge-c { color: #d4af37; font-weight: 900; }
        .badge-v { color: #00838f; font-weight: 900; }
        .bench-list { margin-top: 10px; background: #f5f5f5; border-radius: 8px; padding: 8px; }
        .bench-item { display: flex; justify-content: space-between; padding: 4px 8px; border-bottom: 1px solid #ddd; font-size: 0.75em; }
        .stat-card-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 15px; }
        .stat-card { background: #f9f9f9; padding: 10px 5px; border-radius: 8px; text-align: center; border-bottom: 3px solid #008000; }
        .stat-card strong { font-size: 1.2em; color: #37003c; display: block; }
        .live-score-badge { background: #00ff87; color: #37003c; padding: 4px 10px; border-radius: 15px; font-weight: 800; float: right; }
        .live-flicker-text { color: #ff0000; font-weight: bold; animation: flicker 0.8s infinite alternate; }
        .concluded-text { color: #555; font-weight: bold; font-size: 0.8em; }
        .chip-badge { background: #37003c; color: #00ff87; padding: 2px 8px; border-radius: 4px; font-size: 0.75em; font-weight: bold; text-transform: uppercase; margin-left: 10px; }
        .not-started-msg { background: rgba(255, 253, 231, 0.9); border: 2px dashed #fbc02d; padding: 30px 15px; border-radius: 12px; text-align: center; color: #333; margin: 20px auto; width: 90%; }
        .not-started-msg i { font-size: 2.5rem; color: #fbc02d; margin-bottom: 10px; }
        .not-started-msg h3 { font-size: 1rem; margin-top: 0; }
        .not-started-msg p { font-size: 0.85em; line-height: 1.4; }
        .glass-toast { position: fixed; bottom: -100%; left: 50%; transform: translateX(-50%); width: 340px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 20px; padding: 15px 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); z-index: 100002; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: bottom 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); text-align: center; }
        .glass-toast.show { bottom: 30px; }
        .glass-toast .icon-circle { width: 45px; height: 45px; background: #008000; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: white; box-shadow: 0 4px 10px rgba(0,128,0,0.3); }
        .glass-toast h4 { margin: 0; font-size: 16px; color: #333; }
        .glass-toast p { margin: 0; font-size: 13px; color: #666; }
        .glass-toast .demo-btn { background: #008000; color: white; padding: 8px 20px; border-radius: 25px; text-decoration: none; font-weight: bold; font-size: 14px; transition: transform 0.2s; }
        .glass-toast .demo-btn:hover { transform: scale(1.05); }
        .glass-toast .close-x { position: absolute; top: 10px; right: 15px; cursor: pointer; color: #999; font-size: 18px; }
    