:root{--card: #fff;--text: #1a1a2e;--text-light: #6b7280;--red: #ff0000;--red-dark: #cc0000;--red-light: #ff3333;--radius: 16px;--radius-sm:8px;--shadow: 0 4px 20px rgba(0,0,0,.08);--shadow-hover: 0 8px 30px rgba(0,0,0,.12);--transition: .25s ease}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;background:#f8fafc;color:var(--text);line-height:1.6;min-height:100vh;display:flex;flex-direction:column}
.entry-content{max-width:1100px;margin:0 auto;padding:0 16px;width:100%;flex:1}
.channel-hero{position:relative;border-radius:var(--radius);overflow:hidden;margin:1.5rem 0;min-height:156px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#330000,#660000,#660000)}
.channel-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 50%,rgba(255,0,0,.12),transparent 70%);z-index:1}
.channel-hero-content{position:relative;z-index:2;text-align:center;padding:1.5rem 1.5rem;width:100%}
.channel-hero-content .ch-logo{width:60px;height:60px;border-radius:12px;object-fit:cover;box-shadow:0 4px 20px rgba(0,0,0,.4);margin-bottom:.5rem;background:#fff}
.channel-hero-content .ch-name{font-size:1.2rem;font-weight:800;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.4)}
.channel-hero-content .ch-desc{color:rgba(255,255,255,.65);font-size:.78rem;margin-top:4px;max-width:400px;margin-left:auto;margin-right:auto}
.channel-hero-content .ch-badge{display:inline-block;margin-top:8px;padding:3px 12px;border-radius:20px;background:rgba(255,0,0,.2);color:#ff6666;font-size:.72rem;font-weight:600;border:1px solid rgba(255,0,0,.25)}
.player-section{margin:1.5rem 0}
.server-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.server-tabs .tab{flex:1;min-width:80px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;cursor:pointer;font-size:.82rem;font-weight:600;color:var(--text-light);transition:all var(--transition);text-align:center}
.server-tabs .tab:hover{border-color:var(--red-light);color:var(--red-dark)}
.server-tabs .tab.active{background:var(--red);color:#fff;border-color:var(--red);box-shadow:0 4px 12px rgba(255,0,0,.3)}
.player-wrapper{position:relative;width:100%;aspect-ratio:16/9;background:#0f0c29;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.player-wrapper iframe{width:100%;height:100%;border:0}
.player-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:rgba(255,255,255,.5);gap:1rem;font-size:.9rem}
.player-placeholder svg{width:48px;height:48px;opacity:.4}
.ch-grid-wrap{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.25rem;margin:2rem 0}
.ch-grid-wrap .ch-grid-title{font-size:.95rem;font-weight:700;margin-bottom:1rem;display:flex;align-items:center;gap:6px;color:var(--text)}
.ch-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:8px}
@media(max-width:900px){.ch-grid{grid-template-columns:repeat(5,1fr)}}
@media(max-width:500px){.ch-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:360px){.ch-grid{grid-template-columns:repeat(3,1fr)}}
.ch-grid-item{display:flex;flex-direction:column;align-items:center;gap:5px;padding:8px 4px 6px;border-radius:12px;text-decoration:none;transition:all var(--transition);border:2px solid transparent;background:transparent}
.ch-grid-item:hover{background:#fff0f0;border-color:rgba(255,0,0,.2)}
.ch-grid-item.active{background:#fff0f0;border-color:var(--red);box-shadow:0 0 0 1px var(--red)}
.ch-grid-item .ch-icon{width:44px;height:44px;border-radius:10px;object-fit:cover;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.08);transition:transform var(--transition)}
.ch-grid-item:hover .ch-icon{transform:scale(1.08)}
.ch-grid-item .ch-label{font-size:.62rem;font-weight:600;color:var(--text-light);text-align:center;line-height:1.15;max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ch-grid-item.active .ch-label{color:var(--red-dark);font-weight:700}
.loading{text-align:center;padding:4rem 1rem;color:var(--text-light)}
.error{text-align:center;padding:4rem 1rem;color:var(--text-light);max-width:600px;margin:2rem auto}
.error h2{font-size:2rem;margin-bottom:.5rem;color:var(--text)}
.error p{font-size:.95rem;line-height:1.6;margin-bottom:.75rem}
.error a{color:var(--red);text-decoration:underline}
@media(max-width:640px){
  .channel-hero{min-height:100px;border-radius:12px;margin:.75rem 0}
  .channel-hero-content{display:flex;align-items:center;gap:12px;padding:1rem;text-align:left}
  .channel-hero-content .ch-logo{width:48px;height:48px;margin-bottom:0;flex-shrink:0}
  .channel-hero-content .ch-name{font-size:1rem;text-align:right;flex:1}
  .channel-hero-content .ch-desc{display:none}
  .channel-hero-content .ch-badge{display:none}
  .server-tabs .tab{min-width:60px;padding:8px 6px;font-size:.75rem}
}
.watch-btn{display:block;text-align:center;padding:8px;border-radius:var(--radius-sm);font-size:.85rem;font-weight:600;background:var(--red-dark);color:#fff;transition:all var(--transition)}.watch-btn:hover{background:var(--red-dark);color:#fff}.btn-watch{display:inline-block;padding:6px 18px;border-radius:20px;font-size:.78rem;font-weight:600;background:var(--red-dark);color:#fff;transition:all var(--transition)}.btn-watch:hover{background:#990000;transform:translateY(-1px);color:#fff}
