:root {
  color-scheme: dark;
  --bg: #080c11;
  --panel: rgba(15, 20, 27, 0.9);
  --panel-2: rgba(22, 28, 37, 0.88);
  --line: rgba(180, 197, 218, 0.16);
  --line-strong: rgba(180, 197, 218, 0.28);
  --text: #f4f7fa;
  --muted: #aeb8c5;
  --cyan: #35daf7;
  --amber: #ffc84a;
  --purple: #a15cff;
  --green: #75d45d;
  --orange: #ff8b35;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 80% 0%, rgba(53, 218, 247, 0.08), transparent 58%),
    radial-gradient(760px 500px at 10% 10%, rgba(255, 200, 74, 0.07), transparent 60%),
    linear-gradient(180deg, #0e141b 0%, var(--bg) 100%);
  line-height: 1.5;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1500px, calc(100% - 64px));
  margin: 28px auto 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11, 15, 21, 0.84), rgba(9, 13, 18, 0.96)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 44%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.site-hero {
  position: relative;
  min-height: 390px;
  padding-bottom: 22px;
  overflow: hidden;
}

.hero-art {
  display: block;
  width: 100%;
  height: 238px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) brightness(0.9);
}

.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 10, 14, 0) 0%, rgba(7, 10, 14, 0.36) 34%, rgba(7, 10, 14, 0.96) 74%),
    linear-gradient(90deg, rgba(7, 10, 14, 0.52), rgba(7, 10, 14, 0.1) 50%, rgba(7, 10, 14, 0.58));
}

.hero-inner,
.hero-actions,
.dashboard,
.site-footer {
  position: relative;
  width: min(1260px, calc(100% - 96px));
  margin-left: auto;
  margin-right: auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  margin-top: -104px;
}

.avatar {
  width: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(244, 247, 250, 0.75);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
  background: #101722;
}

.avatar-home-link {
  display: block;
  width: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
}

.avatar-home-link:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 5px;
}

.avatar-home-link .avatar {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: clamp(2.35rem, 3.8vw, 3.95rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 1.45rem;
  line-height: 1.12;
}

h3 {
  margin-bottom: 5px;
  font-size: 0.98rem;
}

.tagline {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #b8c3cf;
}

.hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(180, 197, 218, 0.18);
  border-radius: 999px;
  background: rgba(8, 12, 17, 0.48);
  color: #c8d3df;
  font-size: 0.9rem;
}

.hero-stats strong {
  color: var(--text);
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.action-card,
.video-card,
.content-card,
.side-card,
.now-card,
.stream-card,
.stream-panel,
.channel-grid a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(24, 31, 41, 0.82), rgba(13, 18, 25, 0.9));
}

.action-card {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 16px 22px;
  box-shadow: inset 0 0 0 1px rgba(228, 238, 252, 0.18);
  text-decoration: none;
}

.action-card span {
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.action-card small {
  color: var(--muted);
  font-size: 0.86rem;
}

.action-placeholder {
  cursor: default;
}

.action-primary {
  border-color: rgba(53, 218, 247, 0.48);
  background: linear-gradient(135deg, rgba(53, 218, 247, 0.16), rgba(13, 18, 25, 0.9));
}

.action-warm {
  border-color: rgba(255, 200, 74, 0.45);
}

.dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 312px;
  gap: 22px;
  margin-top: 22px;
}

.content-card,
.side-card {
  padding: 18px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.text-link,
.video-copy a,
.now-card a {
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.video-card {
  overflow: hidden;
}

.video-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  display: flex;
  align-items: end;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(7, 10, 14, 0.05), rgba(7, 10, 14, 0.72)),
    var(--poster);
  background-size: cover;
  background-position: center;
}

.poster-plays { --poster: linear-gradient(135deg, #25152e, #214559 58%, #101721); }
.poster-lists { --poster: linear-gradient(135deg, #332b16, #5b431b 55%, #121820); }
.poster-mc { --poster: linear-gradient(135deg, #112e22, #35663f 54%, #101721); }
.poster-live { --poster: linear-gradient(135deg, #281b3f, #205260 58%, #101721); }

.play-button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(244, 247, 250, 0.28);
  border-radius: 999px;
  background: rgba(8, 12, 17, 0.72);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.video-poster iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-copy {
  padding: 14px;
}

.video-copy p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.subhead {
  margin: 28px 0 16px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.channel-grid a {
  min-height: 74px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px;
  text-decoration: none;
}

.channel-grid span {
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 850;
}

.channel-grid strong {
  color: var(--text);
  font-size: 0.9rem;
}

.side-card {
  display: grid;
  align-content: start;
  gap: 22px;
}

.now-card,
.stream-card {
  padding: 18px;
}

.now-label {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 850;
}

.now-card p {
  margin-bottom: 12px;
  color: #dce6ee;
  font-size: 0.9rem;
}

.stream-card {
  display: grid;
  gap: 8px;
  text-decoration: none;
}

.stream-card span,
.stream-panel-head span {
  color: var(--purple);
  font-weight: 850;
}

.stream-card small,
.stream-panel-head small {
  color: var(--muted);
}

.stream-panel {
  overflow: hidden;
}

.stream-panel-head {
  display: grid;
  gap: 8px;
  padding: 18px 18px 14px;
  text-decoration: none;
}

.stream-panel-head:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: -3px;
}

.twitch-player {
  border-top: 1px solid var(--line);
  padding: 14px;
}

.twitch-embed-label {
  display: block;
  margin: 0 0 10px;
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 850;
}

.twitch-player iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 176px;
  border: 0;
  border-radius: 10px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px 0 24px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.site-footer a {
  color: #c8d2dc;
  text-decoration: none;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 1100px) {
  .page-shell {
    width: min(100% - 28px, 1500px);
  }

  .hero-inner,
  .hero-actions,
  .dashboard,
  .site-footer {
    width: min(100% - 36px, 1260px);
  }

  .dashboard {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .video-grid,
  .channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .page-shell {
    width: 100%;
    margin-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .site-hero {
    min-height: 0;
  }

  .hero-art {
    height: 170px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: -50px;
  }

  .avatar {
    width: 82px;
  }

  h1 {
    font-size: 2.7rem;
  }

  .hero-actions,
  .video-grid,
  .channel-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}


.house-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.house-note-card {
  min-height: 154px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(24, 31, 41, 0.82), rgba(13, 18, 25, 0.9));
}

.house-note-card span {
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 850;
}

.house-note-card strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.25;
}

.house-note-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.house-note-card a {
  align-self: end;
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 900px) {
  .house-note-grid {
    grid-template-columns: 1fr;
  }
}
