body{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;line-height:1.6;color:#333;max-width:1200px;margin:0 auto;padding:20px;background-color:#f4f7f6} .container{background:#fff;padding:30px;border-radius:8px;box-shadow:0 4px 6px rgba(0,0,0,0.1)} h1{color:#2c3e50;text-align:center;margin-bottom:30px} .selection-section{margin-bottom:30px;text-align:center} label{font-weight:bold;margin-right:10px} .autocomplete-wrapper{position:relative;max-width:400px;margin:0 auto} #federation-input{width:100%;padding:12px 16px;font-size:16px;border:2px solid #e2e8f0;border-radius:8px;outline:none;transition:all 0.2s;box-shadow:0 2px 4px rgba(0,0,0,0.02)} #federation-input:focus{border-color:#3182ce;box-shadow:0 0 0 3px rgba(66, 153, 225, 0.15)} #federation-input::placeholder{color:#a0aec0} .content-display{border-top:1px solid #eee;padding-top:20px;overflow-x:auto} .error{color:#e74c3c;font-weight:bold} .content-display h2{color:#2c3e50;margin:20px 0 10px 0} .pop{position:fixed;z-index:10000;background:#ffffff !important;border-radius:8px;box-shadow:0 10px 25px rgba(0,0,0,0.2);padding:15px;font-size:13px;pointer-events:none;display:none;border:1px solid #e0e0e0;font-family:system-ui, -apple-system, sans-serif} .pop table{width:100%;border-collapse:collapse;margin-top:8px} .pop th{font-size:11px;text-transform:uppercase;color:#888;border-bottom:1px solid #eee;padding-bottom:5px;text-align:left} .pop td{padding:6px 0;border-bottom:1px solid #f9f9f9} .pop-res{font-weight:bold} .pop-win{color:#2ecc71} .pop-loss{color:#e74c3c} .pop-draw{color:#f1c40f}{cursor:help} .c-tbl tr:hover td{background-color:#f0f7ff !important} .res-active{cursor:help !important;pointer-events:all !important} .cached-section{background:#fff;padding:20px;border-radius:8px;margin-bottom:30px;box-shadow:0 2px 4px rgba(0,0,0,0.05);border:1px solid #edf2f7} .cached-section h2{font-size:18px;color:#2d3748;margin-top:0;margin-bottom:15px;padding-bottom:10px;border-bottom:2px solid #f7fafc} .cache-country-group{margin-bottom:15px} .cache-country-group h3{font-size:14px;color:#4a5568;text-transform:uppercase;letter-spacing:0.05em;margin-bottom:8px;background:#f7fafc;padding:4px 10px;border-radius:4px;display:inline-block} .cache-country-group ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px} .cache-country-group a{color:#3182ce;text-decoration:none;font-size:14px;padding:5px 12px;border:1px solid #e2e8f0;border-radius:20px;display:inline-block;transition:all 0.2s} .cache-country-group a:hover{background:#ebf8ff;border-color:#bee3f8;color:#2c5282;transform:translateY(-1px)} .tournament-summary{background:#fdfdfd;border:1px solid #e2e8f0;border-left:4px solid #2c3e50;padding:20px;border-radius:4px;margin:20px 0;line-height:1.6;color:#2d3748} .tournament-summary h4{margin:0 0 10px 0;color:#1a202c;text-transform:uppercase;letter-spacing:0.05em;font-size:14px} .summary-section{margin-bottom:8px} .summary-label{font-weight:bold;color:#4a5568;min-width:140px;display:inline-block} .material-symbols-outlined{font-size:24px} body{padding-bottom:80px} body{padding-top:70px} .main-header{position:fixed;top:0;left:0;width:100%;height:64px;background:#ffffff;border-bottom:1px solid #e2e8f0;z-index:6000;display:flex;align-items:center;box-shadow:0 2px 4px rgba(0,0,0,0.02)} .header-content{max-width:1200px;width:100%;margin:0 auto;padding:0 20px;display:flex;justify-content:space-between;align-items:center} .logo{font-size:20px;margin:0;color:#2d3748;white-space:nowrap} .header-controls{display:flex;gap:12px;align-items:center} .selection-section{margin-bottom:0} .autocomplete-wrapper{display:flex;align-items:center;background:#f7fafc;border:1px solid #e2e8f0;border-radius:20px;padding:0 12px;width:200px;transition:width 0.3s} .autocomplete-wrapper:focus-within{width:260px;background:#fff;border-color:#3182ce} #federation-input{background:transparent;border:none;padding:8px;font-size:14px;width:100%;box-shadow:none !important} .search-icon{font-size:18px;color:#a0aec0} .header-btn{background:#f7fafc;border:1px solid #e2e8f0;padding:8px 12px;border-radius:20px;display:flex;align-items:center;gap:6px;cursor:pointer;color:#4a5568;transition:all 0.2s} .header-btn:hover{background:#edf2f7;color:#2d3748} .cache-menu-wrapper{position:relative} .cache-dropdown{position:absolute;top:calc(100% + 8px);right:0;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 10px 25px rgba(0,0,0,0.1);width:320px;max-height:400px;overflow-y:auto;display:none;padding:15px} .cache-menu-wrapper:hover .cache-dropdown{display:block} .cache-dropdown h2{font-size:14px;margin-top:0;padding-bottom:8px;border-bottom:1px solid #f7fafc} @media (max-width:600px){.btn-text{display:none} .autocomplete-wrapper{width:140px} .autocomplete-wrapper:focus-within{width:180px} .logo{font-size:16px} } .catur-results-wrapper h2{display:none} .fed-tournament-table{width:100%;border-collapse:separate;border-spacing:0;margin:20px 0;border-radius:12px;overflow:hidden;box-shadow:0 4px 15px rgba(0,0,0,0.05);background:#fff;border:1px solid #e2e8f0} .fed-tournament-table tr:first-child th{background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);color:#ffffff;padding:15px;text-align:left;font-weight:700;text-transform:uppercase;letter-spacing:0.05em;font-size:14px} .fed-tournament-table td{padding:12px 15px;border-bottom:1px solid #edf2f7;transition:background 0.2s} .fed-tournament-table tr:last-child td{border-bottom:none} .fed-tournament-table tr:nth-child(even){background-color:#f8fafc} .fed-tournament-table tr:hover td{background-color:#f0f4ff} .fed-tournament-table a{color:#4c51bf;font-weight:600;text-decoration:none;transition:color 0.2s} .fed-tournament-table a:hover{color:#667eea;text-decoration:underline} .fed-tournament-table td:nth-child(2), .fed-tournament-table td:nth-child(3), .fed-tournament-table td:nth-child(4){text-align:center;font-weight:bold} .fed-tournament-table td img{filter:drop-shadow(0 2px 4px rgba(0,0,0,0.1))} .page-footer{margin-top:30px;padding-top:15px;border-top:1px solid #edf2f7;text-align:center} #embed-link{color:#718096;font-size:13px;text-decoration:none;display:inline-flex;align-items:center;gap:6px;transition:color 0.2s} #embed-link:hover{color:#3182ce} .modal{display:none;position:fixed;z-index:10000;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,0.5);backdrop-filter:blur(4px)} .modal-content{background-color:#fff;margin:10% auto;padding:25px;border-radius:12px;width:90%;max-width:500px;box-shadow:0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)} .modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px} .modal-header h3{margin:0;color:#2d3748} .close-modal{color:#a0aec0;font-size:28px;font-weight:bold;cursor:pointer;transition:color 0.2s} .close-modal:hover{color:#4a5568} #embed-code-area{width:100%;padding:12px;border:1px solid #e2e8f0;border-radius:8px;background-color:#f7fafc;font-family:'Courier New', Courier, monospace;font-size:13px;resize:none;margin:10px 0} .team-name-cell, .team-match-cell{cursor:help !important} .team-name-cell:hover, .team-match-cell:hover{background-color:#f1f5f9 !important} :root{--text-primary:#1e293b;--text-secondary:#64748b;--border-color:#e2e8f0;--bg-card:#ffffff;--bg-badge:#f1f5f9;--text-badge:#475569} .tournament-header{font-family:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;background-color:var(--bg-card);border:1px solid var(--border-color);border-radius:12px;padding:24px;max-width:100%;margin:0 0 20px 0;box-shadow:0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05)} .tournament-title{margin:0 0 16px 0;font-size:1.75rem;font-weight:800;color:var(--text-primary);letter-spacing:-0.025em;line-height:1.2} .tournament-meta{display:flex;flex-wrap:wrap;align-items:center;gap:16px;color:var(--text-secondary);font-size:0.95rem} .meta-item{display:flex;align-items:center;gap:8px} .meta-item strong{color:var(--text-primary);font-weight:600} .meta-icon{width:18px;height:18px;color:var(--text-secondary);opacity:0.8} .meta-divider{width:4px;height:4px;background-color:#cbd5e1;border-radius:50%} .status-badge{margin-left:auto;padding:6px 12px;border-radius:9999px;font-size:0.75rem;font-weight:700;text-transform:uppercase;letter-spacing:0.05em} .status-completed{background-color:var(--bg-badge);color:var(--text-badge);border:1px solid var(--border-color)} .status-round-robin{background-color:#fef3c7;color:#92400e;border:1px solid #fcd34d;margin-left:0} @media (max-width:640px){.status-badge{margin-left:0;margin-top:8px;width:100%;text-align:center} .meta-divider{display:none} } .registered-count{font-weight:normal;font-size:13px;color:#666} .rd{width:42px} .team-round-th{width:60px} .tc{text-align:center} .text-muted{color:#666} .points-td{text-align:center;font-weight:bold} .report-link{color:#3182ce;text-decoration:underline} .opp-span{font-size:11px;font-weight:bold;color:#555} .fed-align-left{text-align:left !important} .upcoming-cell{background-color:#e2e8f0} .transparent-bg{background-color:transparent !important} .content-display{overflow-x:visible !important} .c-wrap{width:100%;overflow-x:auto;overflow-y:auto;max-height:85vh;position:relative;border-radius:12px;border:1px solid #e2e8f0;box-shadow:0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);margin:20px 0;background:#ffffff} .c-tbl{width:100%;border-collapse:separate;border-spacing:0;font-family:system-ui, -apple-system, sans-serif;font-size:13px;color:#1e293b} .c-tbl th{background:#f8fafc;padding:12px 10px;text-align:center;font-weight:600;color:#475569;border-bottom:2px solid #e2e8f0} .c-tbl td{background:#ffffff;padding:10px 12px;vertical-align:middle;border-bottom:1px solid #f1f5f9} .c-tbl tr:last-child td{border-bottom:none} .c-n{text-align:left !important;min-width:180px} .c-tbl th:nth-child(1), .c-tbl td:nth-child(1){position:sticky;left:0;z-index:10;width:48px;min-width:48px;max-width:48px;text-align:center;box-sizing:border-box} .c-tbl th:nth-child(2), .c-tbl td:nth-child(2){position:sticky;left:48px;z-index:10;min-width:200px;max-width:240px;box-sizing:border-box;border-right:2px solid #e2e8f0} .c-tbl td:nth-child(1), .c-tbl td:nth-child(2){background:#ffffff} .c-tbl th:nth-child(1), .c-tbl th:nth-child(2){background:#f8fafc;z-index:20 !important} .c-tbl tr:hover td:not(.r){background-color:#f8fafc !important} .c-tbl tr:hover td:nth-child(1), .c-tbl tr:hover td:nth-child(2){background-color:#f8fafc !important} .r{padding:0 !important;width:44px;height:44px;min-width:44px;text-align:center;font-size:16px;font-weight:bold} .res-cell{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:13px;line-height:1.1;cursor:help;transition:all 0.2s ease} .res-cell:hover{transform:scale(1.05);box-shadow:0 4px 10px rgba(0,0,0,0.1);z-index:20} .c-tbl td.w{background:#f8fafc !important;color:#1e293b !important;border:1px solid #e2e8f0;box-sizing:border-box} .c-tbl td.b{background:#1e293b !important;color:#ffffff !important} .res-cell .symbol{font-size:15px;font-weight:bold;margin-bottom:2px} .res-cell .opp{font-size:9px;opacity:0.7} .res-cell .score{font-size:14px;font-weight:bold} .inact td{background-color:#f8fafc !important;color:#94a3b8} .inact .r{background-color:#f1f5f9 !important} .inact td:nth-child(1), .inact td:nth-child(2){background-color:#f8fafc !important} .stats-bar{margin:15px 0;font-weight:600;color:#1e293b;font-size:15px;display:flex;flex-wrap:wrap;gap:15px;align-items:center} .metadata-badge{font-weight:normal;font-size:13px;color:#475569;background:#f1f5f9;padding:6px 12px;border-radius:6px;display:inline-block;border:1px solid #e2e8f0} .champion-images-container{display:flex;flex-direction:column;align-items:center;gap:15px;margin:0 auto 20px auto;width:100%} .champion-img-wrapper{background:#fff;border-radius:8px;box-shadow:0 4px 15px rgba(0,0,0,0.15);border:3px solid #fff;overflow:hidden;text-align:center;width:90%;max-width:800px} .champion-img{width:100%;height:auto;display:block} .champion-name-label{padding:8px 12px;background:#f8f9fa;font-size:15px;font-weight:600;color:#2c3e50;border-top:1px solid #eee} .tournament-summary{overflow:hidden} .incomplete-warning{color:#e74c3c;font-weight:bold;margin-top:15px;font-size:14px;text-align:center;padding:10px;background:#fff5f5;border:1px solid #fed7d7;border-radius:4px} body{padding-top:20px;padding-bottom:40px;background-color:#f8fafc} .catur-footer{margin-top:40px;padding-top:30px;border-top:1px solid #e2e8f0;display:flex;flex-direction:column;align-items:center;gap:24px;background:transparent;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif} .catur-footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:24px 32px;max-width:1000px;width:100%} .catur-footer-link{display:flex;flex-direction:column;align-items:center;gap:8px;text-decoration:none;transition:all 0.3s ease} .catur-footer-link .material-symbols-outlined{font-size:32px;color:#64748b;transition:transform 0.3s ease, color 0.3s ease} .catur-footer-link span:last-child{font-size:10px;font-weight:bold;text-transform:uppercase;letter-spacing:0.1em;color:#94a3b8;transition:color 0.3s ease} .catur-footer-link.link-home:hover .material-symbols-outlined{color:#004ac6;transform:scale(1.15)} .catur-footer-link.link-news:hover .material-symbols-outlined{color:#004ac6;transform:scale(1.15)} .catur-footer-link.link-events:hover .material-symbols-outlined{color:#0d9488;transform:scale(1.15)} .catur-footer-link.link-elo:hover .material-symbols-outlined{color:#004ac6;transform:scale(1.15)} .catur-footer-link.link-results:hover .material-symbols-outlined{color:#004ac6;transform:scale(1.15)} .catur-footer-link.link-malaysia:hover .material-symbols-outlined{color:#d97706;transform:scale(1.15)} .catur-footer-link.link-replay:hover .material-symbols-outlined{color:#d97706;transform:scale(1.15)} .catur-footer-link.link-penang:hover .material-symbols-outlined{color:#0d9488;transform:scale(1.15)} .catur-footer-link.link-directory:hover .material-symbols-outlined{color:#004ac6;transform:scale(1.15)} .catur-footer-link.link-arbiters:hover .material-symbols-outlined{color:#0d9488;transform:scale(1.15)} .catur-footer-link.link-prizes:hover .material-symbols-outlined{color:#eab308;transform:scale(1.15)} .catur-footer-link:hover span:last-child{color:#475569} .catur-about-link{font-size:16px;font-weight:bold;color:#475569;text-decoration:none;margin-top:8px;transition:color 0.2s ease;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif} .catur-about-link:hover{color:#0f172a;text-decoration:underline} @media (max-width:640px){.catur-footer-links{display:grid;grid-template-cols:repeat(3, 1fr);gap:20px 10px} } .pop{display:none;position:fixed;background:#ffffff !important;border:1px solid #e2e8f0;border-radius:8px;padding:12px 16px;box-shadow:0 4px 20px rgba(0,0,0,0.15);z-index:9999;max-width:340px;font-size:13px;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;pointer-events:none} .pop table{border-collapse:collapse;width:100%;margin-top:8px} .pop th{background:#f8fafc;padding:4px 8px;font-size:11px;text-transform:uppercase;color:#64748b;border-bottom:1px solid #e2e8f0} .pop td{padding:4px 8px;border-bottom:1px solid #f1f5f9} .pop-win{color:#15803d;font-weight:600} .pop-loss{color:#dc2626;font-weight:600} .pop-draw{color:#d97706;font-weight:600}  .c-tbl thead th{position:sticky;top:0;z-index:12;box-shadow:0 2px 2px -1px rgba(0,0,0,0.1)} .pi-badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:12px;font-weight:600;margin-right:5px;color:#fff} .pi-rtg{background:#1a56db} .pi-rp{background:#057a55} .pi-diff{background:#1e3a5f} .pi-diff.neg{background:#b43403} .champion-name-highlight:hover{background-color:#1e293b !important;color:#ffffff !important;cursor:default}