.live-page {
  min-height: 100vh;
}

.live-main {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 78px;
}

.live-hero {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 42px 20px 58px;
  text-align: center;
}

.live-kicker,
.activity-kicker {
  margin: 0;
  color: #03fcf0;
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.live-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff3b4f;
  box-shadow: 0 0 0 5px rgba(255, 59, 79, 0.1), 0 0 16px rgba(255, 59, 79, 0.6);
}

.live-hero h1 {
  margin: 0;
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
}

.live-hero h1 span {
  color: #03fcf0;
  text-shadow: 0 0 26px rgba(3, 252, 240, 0.38);
}

.live-intro {
  max-width: 720px;
  margin: 4px 0 0;
  color: #aab1b1;
  font-size: 1rem;
  line-height: 1.7;
}

.live-feed-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(3, 252, 240, 0.14);
  border-radius: 999px;
  background: rgba(3, 252, 240, 0.04);
  color: #788181;
  font-size: 0.76rem;
}

.feed-state {
  color: #b9c2c2;
  font-weight: 650;
}

.feed-separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.activity-section {
  margin-top: 30px;
  padding: 25px;
  border: 1px solid rgba(3, 252, 240, 0.13);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(3, 252, 240, 0.055), transparent 30%),
    linear-gradient(180deg, rgba(14, 18, 18, 0.94), rgba(7, 10, 10, 0.96));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.activity-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.activity-heading > div {
  display: grid;
  gap: 7px;
}

.activity-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.activity-count {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #879090;
  font-size: 0.74rem;
  font-weight: 700;
}

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

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

.activity-loading-card,
.activity-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 28px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #778080;
  text-align: center;
}

.activity-empty strong {
  display: block;
  margin-bottom: 6px;
  color: #cbd2d2;
}

.live-card,
.content-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 15px;
  background: rgba(11, 14, 14, 0.96);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.live-card:hover,
.content-card:hover {
  transform: translateY(-3px);
  border-color: rgba(3, 252, 240, 0.35);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.media-thumb-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(3, 252, 240, 0.08), rgba(0, 0, 0, 0.8));
}

.media-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-thumb-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(3, 252, 240, 0.85);
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

.live-badge,
.platform-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-badge {
  background: #ff3048;
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 48, 72, 0.3);
}

.platform-badge {
  background: rgba(8, 11, 11, 0.86);
  color: #d9dfdf;
  backdrop-filter: blur(8px);
}

.media-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
  padding: 14px;
}

.creator-line {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.creator-line img,
.creator-avatar-fallback {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  border: 1px solid var(--creator-accent, #03fcf0);
  object-fit: cover;
  background: #0c1111;
}

.creator-avatar-fallback {
  display: grid;
  place-items: center;
  color: var(--creator-accent, #03fcf0);
  font-size: 0.72rem;
  font-weight: 800;
}

.creator-line strong {
  overflow: hidden;
  color: #f5f7f7;
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-title {
  display: -webkit-box;
  min-height: 2.8em;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.media-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 2px;
  color: #747d7d;
  font-size: 0.72rem;
}

.watch-link {
  flex: 0 0 auto;
  color: #03fcf0;
  font-weight: 750;
  text-decoration: none;
}

.watch-link:hover {
  text-decoration: underline;
}

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

.creator-channel-card {
  display: grid;
  gap: 13px;
  padding: 15px;
  border: 1px solid color-mix(in srgb, var(--creator-accent, #03fcf0) 25%, transparent);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.creator-channel-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.creator-channel-head img,
.creator-channel-head .creator-avatar-fallback {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.creator-channel-copy {
  min-width: 0;
}

.creator-channel-copy strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-channel-copy span {
  color: #717b7b;
  font-size: 0.7rem;
}

.creator-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.creator-social-links a {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  color: #c5cccc;
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
}

.creator-social-links a:hover {
  border-color: var(--creator-accent, #03fcf0);
  color: var(--creator-accent, #03fcf0);
}

@media (max-width: 1100px) {
  .latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .live-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 650px) {
  .live-main {
    width: min(100% - 22px, 1220px);
    padding-top: 48px;
  }

  .live-hero {
    padding: 30px 8px 42px;
  }

  .live-feed-meta {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 13px;
  }

  .activity-section {
    padding: 17px;
    border-radius: 14px;
  }

  .activity-heading {
    align-items: flex-start;
  }

  .live-grid,
  .latest-grid,
  .creator-channel-grid {
    grid-template-columns: 1fr;
  }
}
