*{box-sizing:border-box}
html{font-family:Tahoma,Arial,sans-serif;scroll-behavior:smooth}
body{margin:0;background:#fff;color:#171717;line-height:1.8}
a{color:inherit}
.wrap{width:min(1180px,94%);margin:auto}
.site-header{background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:20;box-shadow:0 2px 12px rgba(0,0,0,.04)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0}
.brand{font-size:23px;font-weight:800;color:#111827;text-decoration:none}
.search{display:flex;gap:8px;flex:1;max-width:440px}
.search input,.form-control{width:100%;border:1px solid #d1d5db;background:#fff;color:#111827;border-radius:8px;padding:11px 12px;outline:none}
.search input:focus,.form-control:focus{border-color:#e11d2e;box-shadow:0 0 0 3px rgba(225,29,46,.08)}
.search button,.btn{border:0;border-radius:8px;background:#e11d2e;color:#fff;padding:10px 18px;cursor:pointer;text-decoration:none;display:inline-block}
.hero{padding:28px 0 8px}.hero h1{margin:0 0 5px;font-size:30px;color:#111827}.muted{color:#6b7280}
.categories{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0 24px}
.chip{background:#fff;border:1px solid #dbe0e7;color:#111827;text-decoration:none;padding:7px 13px;border-radius:30px;transition:.18s}
.chip:hover{border-color:#e11d2e;color:#e11d2e}
.grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.card{background:#fff;border:1px solid #e1e5eb;border-radius:13px;overflow:hidden;transition:.2s;box-shadow:0 3px 14px rgba(0,0,0,.035)}
.card:hover{transform:translateY(-2px);border-color:#cfd5de;box-shadow:0 8px 24px rgba(0,0,0,.07)}
.card a{text-decoration:none;color:#111827}.logo-box{aspect-ratio:16/10;background:#f7f8fa;display:flex;align-items:center;justify-content:center}
.logo-box img{display:block;width:100%;height:100%;object-fit:cover;padding:0}.no-logo{font-weight:800;color:#9ca3af}.card-body{padding:12px}.card-title{margin:0;font-size:16px}.card-meta{font-size:12px;color:#6b7280}
main.wrap>h1{color:#111827;margin-top:24px}
.player-notice{width:100%;margin:18px 0 10px;padding:11px 14px;background:#fff5f5;border:1px solid #fecdd3;border-right:4px solid #e11d2e;border-radius:9px;color:#991b1b;font-weight:700;text-align:center}
.servers{display:flex;width:100%;gap:8px;flex-wrap:nowrap;margin:0 0 10px}
.server-btn{flex:1 1 0;min-width:0;background:#f3f4f6;border:1px solid #d1d5db;color:#111827;border-radius:8px;padding:10px 8px;cursor:pointer;font-weight:700;transition:.18s;text-align:center}
.server-btn:hover{background:#e9eaed}.server-btn.active{background:#e11d2e;border-color:#e11d2e;color:#fff}
.player-box{background:#000;border-radius:12px;overflow:hidden;aspect-ratio:16/9;margin:0 0 18px;box-shadow:0 8px 26px rgba(0,0,0,.12)}
.player-box iframe{width:100%;height:100%;border:0}
.content-box{background:#fff;border:1px solid #e1e5eb;border-radius:12px;padding:22px;margin:18px 0;box-shadow:0 3px 14px rgba(0,0,0,.03)}
.content-box .about-title{margin-top:0;color:#111827}
.channel-description{color:#222}
.channel-description h1,.channel-description h2,.channel-description h3,.channel-description h4{color:#111827;line-height:1.45;margin:1.1em 0 .45em;font-weight:800}
.channel-description h1{font-size:30px}.channel-description h2{font-size:25px}.channel-description h3{font-size:21px}.channel-description h4{font-size:18px}
.channel-description p{margin:.8em 0}.channel-description ul,.channel-description ol{padding-right:24px}.channel-description blockquote{margin:1em 0;padding:10px 14px;border-right:4px solid #e11d2e;background:#fafafa;color:#4b5563}.channel-description hr{border:0;border-top:1px solid #e5e7eb;margin:22px 0}
.empty{padding:35px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;text-align:center;color:#6b7280}
.site-footer{border-top:1px solid #e5e7eb;background:#fafafa;margin-top:40px;padding:25px 0;color:#6b7280;text-align:center}
.brand-side{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.online-badge{display:none!important}

/* Standby player remains dark intentionally because it is the video area. */
.standby-player{position:relative;background:#070a10}.standby-player video{display:block;width:100%;height:100%;object-fit:cover;opacity:.72}
.standby-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;padding:24px;background:radial-gradient(circle at center,rgba(14,20,31,.12),rgba(4,7,12,.52))}
.standby-message{font-size:clamp(20px,3vw,36px);font-weight:800;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.65)}
.standby-live{direction:ltr;display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:800;letter-spacing:1px;color:#dbe2ec;background:rgba(8,12,18,.68);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:5px 11px}.standby-live span{width:8px;height:8px;border-radius:50%;background:#e11d2e;box-shadow:0 0 0 4px rgba(225,29,46,.15)}

@media(max-width:980px){.grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.header-inner{display:block}.search{margin-top:10px;max-width:none}.grid{grid-template-columns:repeat(2,1fr)}.hero h1{font-size:24px}.brand-side{justify-content:space-between}.servers{gap:5px}.server-btn{font-size:12px;padding:9px 4px}.channel-description h1{font-size:25px}.channel-description h2{font-size:22px}}
@media(max-width:400px){.grid{grid-template-columns:1fr}.server-btn{font-size:11px}}
