* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f3f4f6;
  min-height: 100vh;
  line-height: 1.5;
  color: #111827;
}
.header {
  background: linear-gradient(to right, #1e3a8a, #2563eb);
  color: white;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.container { max-width: 1200px; margin: 0 auto; padding: 1rem; }
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.logo-container a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  text-decoration: none;
}
.logo-container h1 { margin: 0; font-size: 1.5rem; font-weight: 600; }
.logo-img { width: 40px; height: 40px; border-radius: 50%; }
.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
}
.nav-links a:hover { background: rgba(255,255,255,0.12); }
.section-title {
  font-size: 1.5rem;
  color: #1e40af;
  margin: 1.25rem 0 1rem;
  border-bottom: 2px solid #dbeafe;
  padding-bottom: 0.4rem;
}
.server-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.server-hint { color: #4b5563; font-size: 0.9rem; }
.server-buttons { display: flex; gap: 0.5rem; }
.server-btn {
  border: 1px solid #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
}
.server-btn:hover { background: #dbeafe; }
.server-btn-active {
  background: #2563eb;
  border-color: #2563eb;
  color: white;
}
.active-label {
  margin-left: auto;
  font-size: 0.8rem;
  color: #166534;
  background: #dcfce7;
  padding: 0.25rem 0.6rem;
  border-radius: 0.375rem;
  font-weight: 600;
}
.video-container {
  background: white;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px rgba(0,0,0,0.08);
  padding: 1rem;
}
.video-title { text-align: center; padding: 0.5rem 0 0.75rem; font-weight: 600; }
.live-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  background: #16a34a;
  border-radius: 50%;
  margin-right: 0.35rem;
}
.play-wrap {
  width: 100%;
  height: min(70vh, 520px);
  min-height: 360px;
  background: #0f172a;
  border-radius: 0.5rem;
  overflow: hidden;
}
.play-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.footer {
  background: linear-gradient(to right, #111827, #1f2937);
  color: white;
  padding: 1.5rem;
  margin-top: 2rem;
}
.footer a { color: #93c5fd; }
@media (max-width: 640px) {
  .logo-container h1 { font-size: 1.25rem; }
  .active-label { margin-left: 0; }
  .play-wrap { height: 240px; min-height: 220px; }
}