:root {
  --bg: #0b0b0d;
  --panel: #151518;
  --text: #f4f4f5;
  --muted: #a7a7ad;
  --accent: #d9ff43;
  --border: #2a2a2f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

header {
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--text);
  text-decoration: none;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px;
}

.hero {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7rem);
}

.tagline {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  color: var(--muted);
}

.button,
button {
  width: fit-content;
  border: 0;
  background: var(--accent);
  color: #111;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.battle {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
}

.song-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
}

.versus {
  font-weight: 900;
  font-size: 1.5rem;
}

form {
  max-width: 600px;
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
}

input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  padding: 12px 14px;
}

.page-intro {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.flash-stack {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.flash {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--panel);
}

.flash-success {
  border-color: var(--accent);
}

.flash-error {
  border-color: #ff6b6b;
}

.song-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fit,
      minmax(280px, 1fr)
    );
  gap: 24px;
  margin-top: 36px;
}

.song-card {
  overflow: hidden;
}

.song-thumbnail {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.song-card-body {
  padding: 22px;
}

.song-source {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.song-card h2 {
  margin: 0;
}

.song-creator {
  color: var(--muted);
}

.player-shell {
  position: relative;
  width: 100%;
  margin-top: 18px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
}

.player-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.empty-state {
  margin-top: 40px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
}

@media (max-width: 720px) {
  nav {
    gap: 14px;
    overflow-x: auto;
  }

  main {
    padding-top: 40px;
  }

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

  .versus {
    text-align: center;
  }
}

.compact-song-card {
  padding: 0;
}

.song-thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}

.song-thumb-wrap .song-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  padding: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
}

.secondary-button {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.secondary-button:hover {
  border-color: var(--accent);
}

.song-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.text-link {
  color: var(--muted);
  text-decoration: none;
}

.text-link:hover {
  color: var(--text);
}

.player-shell-hidden {
  display: none;
}

.player-shell:not(.player-shell-hidden) {
  display: block;
}

@media (min-width: 900px) {
  .song-grid {
    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );
  }
}

.battle-list {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}

.bracket-grid {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.bracket-match {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
}

.bracket-song {
  display: grid;
  gap: 4px;
}

.bracket-song span {
  color: var(--muted);
}

.bracket-vs {
  margin: 14px 0;
  color: var(--accent);
  font-weight: 900;
}

.battle-voting {
  align-items: stretch;
}

.battle-song {
  overflow: hidden;
}

.battle-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
}

.vote-form {
  margin-top: 18px;
}

.vote-count {
  margin-top: 18px;
  color: var(--accent);
  font-weight: 800;
}

.bracket-round {
  margin-top: 44px;
}

.bracket-round h2 {
  font-size: 1.8rem;
}

.bracket-winner {
  margin-top: 16px;
  color: var(--accent);
  font-weight: 800;
}

.results-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fit,
      minmax(260px, 1fr)
    );
  gap: 24px;
  margin-top: 36px;
}

.result-card {
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
}

.result-champion {
  border-color: var(--accent);
}

.result-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.result-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
}

.result-card h2 {
  margin: 0;
}

.result-position {
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 900;
}

.radio-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fit,
      minmax(260px, 1fr)
    );
  gap: 24px;
  margin-top: 36px;
}

.radio-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
}

.radio-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
}

.radio-card h2 {
  margin: 0;
}

.radio-status {
  color: var(--muted);
}

.radio-section {
  margin-top: 48px;
}

.radio-catalog-card {
  border-color: var(--accent);
}

.radio-rotation-card {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(217, 255, 67, 0.08);
}

.on-air-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--accent);
  border-radius: 28px;
  background: var(--panel);
}

.live-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.on-air-thumbnail {
  display: block;
  width: 100%;
  max-height: 560px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.on-air-content {
  padding: 28px;
}

.on-air-content h2 {
  margin: 0;
  font-size: clamp(
    2rem,
    5vw,
    4rem
  );
}

.radio-live-status {
  color: var(--muted);
}

.radio-live-player {
  margin-top: 22px;
}

.radio-live-player iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 16px;
  background: #000;
}

.radio-public {
  max-width: 940px;
  margin: 0 auto;
}

.radio-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.station-live {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.on-air-visual {
  position: relative;
}

.up-next-overlay {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns:
    72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: min(
    320px,
    calc(100% - 36px)
  );
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(10px);
}

.up-next-overlay[hidden] {
  display: none;
}

.up-next-overlay img {
  width: 72px;
  height: 50px;
  object-fit: cover;
  border-radius: 9px;
}

.up-next-overlay div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.up-next-overlay strong,
.up-next-overlay span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.up-next-overlay span {
  color: var(--muted);
  font-size: 0.85rem;
}

.up-next-label {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.off-air-state {
  margin-top: 40px;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--panel);
}

.radio-live-player iframe {
  pointer-events: none;
}

.radio-live-player {
  overflow: hidden;
  border-radius: 16px;
}

#radio-tune-in[hidden] {
  display: none;
}

/*
 * The provider iframe is only the audio engine.
 * SynthRadio exposes one ON AIR surface, not an embedded video player.
 */
.radio-audio-engine {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.radio-audio-engine iframe {
  width: 1px;
  height: 1px;
  border: 0;
  pointer-events: none;
}

.form-help {
  color: var(--muted);
  font-size: 0.85rem;
}

.media-validation {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 24px;
  color: var(--muted);
}

.media-validation-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: var(--border);
}

.media-validation-dot.checking {
  background: #f2c94c;
}

.media-validation-dot.valid {
  background: var(--accent);
}

.media-validation-dot.invalid {
  background: #ff6b6b;
}

.youtube-probe {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.submit-track-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.submit-track-preview[hidden] {
  display: none;
}

.submit-track-preview img {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  object-fit: cover;
  border-radius: 10px;
}

.submit-track-preview div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.submit-track-preview strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.submit-track-preview span {
  color: var(--muted);
  font-size: 0.9rem;
}

.arena-match-stack {
  display: grid;
  gap: 42px;
  margin-top: 36px;
}

.arena-match-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.arena-match-head {
  margin-bottom: 18px;
}

.arena-matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
}

.arena-competitor img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
}

.arena-competitor h2 {
  margin: 8px 0 4px;
}

.arena-competitor p {
  margin: 0;
  color: var(--muted);
}

.arena-versus {
  font-size: 1.5rem;
  font-weight: 900;
}

.arena-start-row {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.arena-start-battle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #090a0b;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 800px) {
  .arena-matchup {
    grid-template-columns: 1fr;
  }

  .arena-versus {
    text-align: center;
  }
}

.battle-ready {
  min-height: 75vh;
  text-align: center;
}

.battle-ready > h1 {
  margin-bottom: 36px;
  font-size: clamp(3rem, 7vw, 6rem);
}

.battle-ready-matchup {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto
    minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.battle-ready-song img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--border);
}

.battle-ready-song span {
  display: block;
  margin-top: 16px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.battle-ready-song strong {
  display: block;
  margin-top: 7px;
  font-size: 1.4rem;
}

.battle-ready-song p {
  color: var(--muted);
}

.battle-ready-vs {
  font-size: 2rem;
  font-weight: 900;
}

.battle-start-button {
  margin-top: 38px;
  min-width: 220px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.battle-countdown {
  display: flex;
  min-height: 78vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.battle-countdown[hidden] {
  display: none;
}

.battle-countdown-number {
  margin-top: 20px;
  color: var(--accent);
  font-size: clamp(7rem, 20vw, 16rem);
  font-weight: 950;
  line-height: 1;
}

.battle-playing {
  min-height: 80vh;
  text-align: center;
}

.battle-now-playing-label {
  margin: 10px 0 28px;
}

.battle-playing img {
  width: min(820px, 100%);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid var(--accent);
}

.battle-playing h2 {
  margin: 24px 0 4px;
  font-size: clamp(2rem, 5vw, 4rem);
}

.battle-progress-track {
  width: min(680px, 90%);
  height: 6px;
  margin: 30px auto 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--border);
}

.battle-progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.4s linear;
}

.battle-progress-time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.battle-transition {
  display: flex;
  min-height: 78vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.battle-transition[hidden] {
  display: none;
}

.battle-transition h1 {
  margin: 12px 0;
  font-size: clamp(4rem, 10vw, 8rem);
}

.battle-vote-intro {
  color: var(--muted);
}

.battle-vote-card small {
  display: block;
  margin: 6px 0 22px;
  color: var(--muted);
}

@media (max-width: 800px) {
  .battle-ready-matchup {
    grid-template-columns: 1fr;
  }

  .battle-ready-vs {
    margin: 4px 0;
  }
}

.arena-match-voted {
  opacity: 0.86;
}

.arena-match-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arena-voted-badge {
  padding: 6px 10px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.arena-your-vote {
  position: relative;
}

.arena-your-vote img {
  border: 2px solid var(--accent);
}

.arena-vote-marker {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.arena-completed-state {
  padding: 12px 18px;
  color: var(--muted);
  font-weight: 700;
}

.battle-scorecard {
  width: min(680px, 100%);
  margin: 28px auto 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  text-align: left;
}

.battle-scorecard-title {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.battle-scorecard-grid {
  display: grid;
  gap: 10px;
}

.battle-score-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.battle-score-row > span {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.battle-score-options {
  display: flex;
  gap: 6px;
}

.battle-score-button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
}

.battle-score-button.selected {
  border-color: var(--accent);
  background: var(--accent);
  color: #090a0b;
}

.battle-skip-zone {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

#battle-skip {
  min-width: 190px;
}

#battle-skip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .battle-score-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .battle-score-options {
    justify-content: space-between;
  }
}

/* Battle single-screen experience */

.battle-page {
  height: 100vh;
  overflow: hidden;
}

.battle-stage {
  box-sizing: border-box;
  height: 100vh;
  padding-top: 18px;
  padding-bottom: 18px;
  overflow: hidden;
}

.battle-header {
  height: 32px;
  margin-bottom: 8px;
}

.battle-playing {
  display: flex;
  height: calc(100vh - 72px);
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.battle-playing > .eyebrow {
  margin: 2px 0;
}

.battle-now-playing-label {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vh, 4.2rem);
}

.battle-playing img {
  width: auto;
  height: min(42vh, 420px);
  max-width: min(760px, 90vw);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
}

.battle-playing h2 {
  margin: 10px 0 0;
  font-size: clamp(1.5rem, 3.5vh, 2.7rem);
}

.battle-playing > p {
  margin: 3px 0;
}

.battle-progress-track {
  margin: 10px auto 3px;
}

.battle-progress-time {
  margin: 0;
}

.battle-reactions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.battle-reaction {
  display: inline-flex;
  width: 42px;
  height: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  font-size: 1.25rem;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease;
}

.battle-reaction:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.battle-reaction.reacted {
  border-color: var(--accent);
  transform: scale(1.3);
}

.battle-action-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 9px;
}

.battle-action-row button {
  min-width: 120px;
  padding: 9px 16px;
}

.battle-feedback-panel {
  position: absolute;
  z-index: 10;
  bottom: 18px;
  left: 50%;
  width: min(620px, calc(100vw - 40px));
  max-height: 42vh;
  padding: 16px;
  overflow-y: auto;
  transform: translateX(-50%);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(15, 15, 17, 0.98);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55);
}

.battle-feedback-panel[hidden] {
  display: none;
}

.battle-feedback-panel textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 100px;
  resize: none;
  margin-bottom: 10px;
}

#battle-comment-status {
  margin-left: 10px;
  color: var(--accent);
  font-size: 0.85rem;
}

@media (max-height: 760px) {
  .battle-playing img {
    height: 34vh;
  }

  .battle-now-playing-label {
    font-size: 2rem;
  }

  .battle-reaction {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .battle-action-row {
    width: 100%;
  }

  .battle-action-row button {
    min-width: 0;
    flex: 1;
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* Battle feedback drawer */

.battle-panel-backdrop {
  position: absolute;
  z-index: 19;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.battle-panel-backdrop[hidden] {
  display: none;
}

.battle-feedback-panel {
  position: absolute;
  z-index: 20;

  top: 50px;
  right: 0;
  bottom: 18px;
  left: auto;

  width: min(390px, calc(100vw - 32px));
  max-height: none;

  box-sizing: border-box;
  padding: 20px;

  overflow-y: auto;

  transform: none;

  border: 1px solid var(--border);
  border-radius: 20px 0 0 20px;

  background: rgba(15, 15, 17, 0.98);

  box-shadow:
    -20px 0 60px rgba(0, 0, 0, 0.45);
}

.battle-feedback-panel[hidden] {
  display: none;
}

.battle-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 18px;
  padding-bottom: 12px;

  border-bottom: 1px solid var(--border);
}

.battle-panel-header > span {
  color: var(--accent);

  font-size: 0.78rem;
  font-weight: 900;

  letter-spacing: 0.1em;
}

.battle-panel-close {
  display: inline-flex;

  width: 38px;
  height: 38px;

  padding: 0;

  align-items: center;
  justify-content: center;

  border: 1px solid var(--border);
  border-radius: 50%;

  background: transparent;
  color: var(--text);

  font-size: 1.4rem;
  line-height: 1;
}

.battle-panel-close:hover {
  border-color: var(--accent);
}

.battle-scorecard-title {
  margin-top: 0;
}

.battle-feedback-panel
.battle-score-row {
  grid-template-columns: 1fr;
  gap: 7px;
  margin-bottom: 14px;
}

.battle-feedback-panel
.battle-score-options {
  justify-content: flex-start;
}

.battle-feedback-panel textarea {
  min-height: 160px;
}

@media (max-width: 700px) {
  .battle-feedback-panel {
    top: 45px;
    right: 8px;
    bottom: 8px;

    width: calc(100vw - 16px);

    border-radius: 18px;
  }
}

.battle-final-vote {
  display: flex;
  min-height: calc(100vh - 90px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.battle-final-vote > h1 {
  margin: 8px 0;
  font-size: clamp(3rem, 8vw, 6rem);
}

.battle-final-vote .battle-vote-grid {
  display: grid;
  width: min(980px, 100%);
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
}

.battle-final-vs {
  font-size: 1.5rem;
  font-weight: 900;
}

@media (max-width: 700px) {
  .battle-final-vote .battle-vote-grid {
    grid-template-columns: 1fr;
  }
}

/* Battle final vote refinement */

.battle-final-vote {
  box-sizing: border-box;
  height: calc(100vh - 64px);
  min-height: 0;
  padding: 12px 0 18px;
  justify-content: flex-start;
  overflow: hidden;
}

.battle-final-vote > .eyebrow {
  margin: 8px 0 2px;
}

.battle-final-vote > h1 {
  margin: 4px 0 2px;
  font-size: clamp(3rem, 7vh, 5.5rem);
  line-height: 1;
}

.battle-vote-intro {
  margin: 12px 0 20px;
}

.battle-final-vote .battle-vote-grid {
  width: min(960px, 96%);
  flex: 1;
  min-height: 0;

  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    60px
    minmax(0, 1fr);

  gap: 20px;
  align-items: center;

  margin-top: 0;
}

.battle-final-vote form {
  min-width: 0;
}

.battle-final-vote .battle-vote-card {
  display: flex;
  width: 100%;
  height: 100%;

  flex-direction: column;
  align-items: stretch;

  padding: 14px;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 22px;

  background: var(--surface);
  color: var(--text);

  text-align: left;
}

.battle-final-vote .battle-vote-card:hover {
  border-color: var(--accent);
}

.battle-final-vote .battle-vote-card img {
  width: 100%;
  height: min(34vh, 310px);

  margin: 0 0 14px;

  object-fit: cover;

  border: 0;
  border-radius: 15px;

  background: #000;
}

.battle-final-vote .battle-vote-card > span {
  margin: 0 0 5px;

  color: var(--accent);

  font-size: 0.72rem;
  font-weight: 900;

  letter-spacing: 0.1em;
}

.battle-final-vote .battle-vote-card > strong {
  display: block;

  margin: 0;

  overflow: hidden;

  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.15;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.battle-final-vote .battle-vote-card > small {
  display: block;

  margin: 5px 0 14px;

  color: var(--muted);

  font-size: 0.88rem;
}

.battle-final-vote .battle-vote-card > b {
  display: flex;

  margin-top: auto;
  padding: 11px 16px;

  align-items: center;
  justify-content: center;

  border-radius: 999px;

  background: var(--accent);
  color: #090a0b;

  font-size: 0.82rem;
  font-weight: 900;

  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.battle-final-vs {
  align-self: center;

  color: var(--text);

  font-size: 1.4rem;
  font-weight: 950;

  text-align: center;
}

@media (max-height: 760px) {
  .battle-final-vote .battle-vote-card img {
    height: 28vh;
  }

  .battle-final-vote > h1 {
    font-size: 3.2rem;
  }

  .battle-vote-intro {
    margin-bottom: 10px;
  }
}

@media (max-width: 700px) {
  .battle-page {
    overflow-y: auto;
  }

  .battle-final-vote {
    height: auto;
    min-height: calc(100vh - 64px);
    overflow: visible;
  }

  .battle-final-vote .battle-vote-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .battle-final-vs {
    padding: 3px 0;
  }

  .battle-final-vote .battle-vote-card img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* Battle vote duel hover */

.battle-final-vote .battle-vote-grid form {
  transition:
    filter 0.22s ease,
    opacity 0.22s ease,
    transform 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .battle-final-vote
  .battle-vote-grid:has(form:hover)
  form:not(:hover) {
    filter: grayscale(1);
    opacity: 0.48;
  }

  .battle-final-vote
  .battle-vote-grid
  form:hover {
    transform: translateY(-4px);
  }

  .battle-final-vote
  .battle-vote-grid
  form:hover
  .battle-vote-card {
    border-color: var(--accent);
  }
}

/* ==========================================================
   SYNTHARENA GAME HOME
   ========================================================== */

.game-home {
  --game-max: 1180px;
  padding-bottom: 80px;
}

.game-home section {
  width: min(
    var(--game-max),
    calc(100% - 40px)
  );

  margin-left: auto;
  margin-right: auto;
}

.game-hero {
  position: relative;

  display: grid;
  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(440px, 1.1fr);

  gap: 50px;
  align-items: center;

  min-height: calc(100vh - 72px);

  overflow: hidden;
}

.game-hero-glow {
  position: absolute;

  top: 12%;
  right: -12%;

  width: 620px;
  height: 620px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(210, 255, 45, 0.16) 0,
      rgba(210, 255, 45, 0.04) 38%,
      transparent 70%
    );

  pointer-events: none;
}

.game-season-badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;

  margin-bottom: 24px;
  padding: 8px 13px;

  border: 1px solid var(--border);
  border-radius: 999px;

  color: var(--text);

  font-size: 0.76rem;
  font-weight: 900;

  letter-spacing: 0.08em;
}

.game-live-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--accent);

  box-shadow:
    0 0 16px rgba(210, 255, 45, 0.8);
}

.game-hero-copy {
  position: relative;
  z-index: 2;
}

.game-hero-copy h1 {
  margin: 10px 0 12px;

  font-size:
    clamp(4.5rem, 9vw, 8.7rem);

  line-height: 0.82;

  letter-spacing: -0.07em;
}

.game-hero-copy h1 span {
  color: var(--accent);
}

.game-hero-tagline {
  margin: 28px 0 8px;

  color: var(--text);

  font-size:
    clamp(1.7rem, 3vw, 2.8rem);

  font-weight: 700;

  letter-spacing: -0.035em;
}

.game-hero-manifesto {
  max-width: 460px;

  margin: 0 0 30px;

  color: var(--muted);

  font-size: 1rem;
  line-height: 1.65;
}

.game-play-button {
  display: inline-flex;
  gap: 12px;
  align-items: center;

  padding: 15px 25px;

  border-radius: 999px;

  background: var(--accent);
  color: #090a0b;

  font-weight: 950;

  text-decoration: none;

  letter-spacing: 0.04em;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.game-play-button:hover {
  transform:
    translateY(-3px)
    scale(1.02);

  box-shadow:
    0 14px 40px
    rgba(210, 255, 45, 0.18);
}

.game-play-icon {
  display: inline-flex;

  width: 28px;
  height: 28px;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #090a0b;
  color: var(--accent);

  font-size: 0.7rem;
}


.game-hero-battle {
  position: relative;
  z-index: 2;

  padding: 18px;

  border: 1px solid var(--border);
  border-radius: 28px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.015)
    );
}

.game-hero-battle-label {
  margin-bottom: 12px;

  color: var(--accent);

  font-size: 0.72rem;
  font-weight: 900;

  letter-spacing: 0.12em;
}

.game-hero-versus {
  display: grid;
  grid-template-columns:
    1fr
    60px
    1fr;

  gap: 12px;
  align-items: center;
}

.game-hero-fighter {
  min-width: 0;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 20px;

  background: var(--surface);
}

.game-hero-fighter img {
  display: block;

  width: 100%;
  aspect-ratio: 4 / 5;

  object-fit: cover;
}

.game-hero-fighter > div {
  padding: 14px;
}

.game-hero-fighter span {
  display: block;

  margin-bottom: 5px;

  color: var(--accent);

  font-size: 0.67rem;
  font-weight: 900;

  letter-spacing: 0.1em;
}

.game-hero-fighter strong,
.game-hero-fighter small {
  display: block;

  overflow: hidden;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-hero-fighter strong {
  font-size: 1rem;
}

.game-hero-fighter small {
  margin-top: 5px;

  color: var(--muted);
}

.game-big-vs {
  color: var(--text);

  font-size: 1.4rem;
  font-weight: 950;

  text-align: center;
}

.game-match-meta {
  margin-top: 14px;

  color: var(--muted);

  font-size: 0.76rem;
  font-weight: 700;

  text-align: center;

  letter-spacing: 0.08em;
}

.game-hero-stage-placeholder {
  min-height: 500px;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 28px;

  background: #111214;
}

.game-stage-light {
  position: absolute;

  width: 320px;
  height: 520px;

  filter: blur(12px);

  opacity: 0.25;
}

.game-stage-light-a {
  left: -70px;

  background:
    linear-gradient(
      150deg,
      var(--accent),
      transparent
    );

  transform: rotate(25deg);
}

.game-stage-light-b {
  right: -70px;

  background:
    linear-gradient(
      -150deg,
      #fff,
      transparent
    );

  transform: rotate(-25deg);
}


/* Sections */

.game-how,
.game-battles,
.game-bracket-section,
.game-radio-section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.game-section-heading h2,
.game-bracket-copy h2,
.game-radio-copy h2,
.game-final-cta h2 {
  margin: 8px 0 0;

  font-size:
    clamp(2.7rem, 6vw, 5rem);

  line-height: 0.95;

  letter-spacing: -0.055em;
}

.game-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;

  gap: 30px;

  margin-bottom: 34px;
}

.game-text-link {
  color: var(--accent);

  font-size: 0.78rem;
  font-weight: 900;

  text-decoration: none;

  letter-spacing: 0.08em;
}


/* How to play */

.game-steps {
  display: grid;
  grid-template-columns:
    1fr auto
    1fr auto
    1fr auto
    1fr;

  gap: 18px;
  align-items: center;

  margin-top: 55px;
}

.game-steps article {
  min-height: 180px;

  padding: 22px;

  border-top: 1px solid var(--border);
}

.game-step-number {
  display: block;

  margin-bottom: 30px;

  color: var(--accent);

  font-size: 0.72rem;
  font-weight: 900;

  letter-spacing: 0.12em;
}

.game-steps strong {
  display: block;

  font-size: 1.3rem;
}

.game-steps p {
  color: var(--muted);

  font-size: 0.9rem;
  line-height: 1.55;
}

.game-step-arrow {
  color: var(--muted);

  font-size: 1.5rem;
}


/* Current battles */

.game-battle-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 20px;
}

.game-battle-preview {
  display: block;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 22px;

  background: var(--surface);
  color: var(--text);

  text-decoration: none;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease;
}

.game-battle-preview:hover {
  transform: translateY(-4px);

  border-color: var(--accent);
}

.game-battle-images {
  display: grid;
  grid-template-columns:
    1fr
    52px
    1fr;

  align-items: center;

  background: #090a0b;
}

.game-battle-images img {
  width: 100%;
  aspect-ratio: 16 / 10;

  object-fit: cover;
}

.game-battle-images span {
  font-weight: 950;

  text-align: center;
}

.game-battle-info {
  padding: 18px;
}

.game-battle-info > span,
.game-battle-info > strong,
.game-battle-info > b {
  display: block;
}

.game-battle-info > span {
  color: var(--muted);

  font-size: 0.7rem;
  font-weight: 800;

  letter-spacing: 0.08em;
}

.game-battle-info > strong {
  margin-top: 7px;

  overflow: hidden;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-battle-info > b {
  margin-top: 16px;

  color: var(--accent);

  font-size: 0.76rem;

  letter-spacing: 0.08em;
}


/* Bracket */

.game-bracket-section {
  display: grid;
  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(500px, 1.2fr);

  gap: 70px;
  align-items: center;
}

.game-bracket-copy p:not(.eyebrow),
.game-radio-copy > p:not(.eyebrow) {
  max-width: 520px;

  color: var(--muted);

  line-height: 1.7;
}

.game-secondary-button {
  display: inline-flex;

  margin-top: 20px;
  padding: 12px 20px;

  border: 1px solid var(--border);
  border-radius: 999px;

  color: var(--text);

  font-size: 0.78rem;
  font-weight: 900;

  text-decoration: none;

  letter-spacing: 0.07em;
}

.game-secondary-button:hover {
  border-color: var(--accent);

  color: var(--accent);
}

.game-bracket-visual {
  display: grid;
  grid-template-columns:
    1fr
    50px
    1fr
    50px
    1fr;

  gap: 12px;
  align-items: center;

  padding: 30px;

  border: 1px solid var(--border);
  border-radius: 26px;

  background: var(--surface);
}

.game-bracket-column {
  display: grid;
  gap: 13px;
}

.game-bracket-column > span {
  margin-bottom: 8px;

  color: var(--accent);

  font-size: 0.68rem;
  font-weight: 900;

  letter-spacing: 0.12em;
}

.game-bracket-column > div {
  height: 45px;

  border: 1px solid var(--border);
  border-radius: 10px;

  background:
    rgba(255, 255, 255, 0.025);
}

.game-bracket-semis {
  gap: 72px;
}

.game-bracket-final {
  align-self: center;
}

.game-bracket-column
.game-final-slot {
  display: flex;

  height: 80px;

  align-items: center;
  justify-content: center;

  border-color: var(--accent);

  color: var(--accent);

  font-size: 2rem;
  font-weight: 950;
}

.game-bracket-lines {
  display: flex;
  flex-direction: column;
  gap: 62px;
}

.game-bracket-lines i {
  display: block;

  width: 100%;
  height: 1px;

  background: var(--border);
}

.game-bracket-lines-final {
  gap: 0;
}


/* Radio */

.game-radio-section {
  display: grid;
  grid-template-columns:
    minmax(320px, 0.8fr)
    minmax(0, 1.2fr);

  gap: 80px;
  align-items: center;

  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.game-radio-signal {
  display: flex;
  min-height: 420px;

  position: relative;

  align-items: center;
  justify-content: center;
}

.game-radio-live {
  position: absolute;
  top: 15px;
  left: 15px;

  color: var(--accent);

  font-size: 0.72rem;
  font-weight: 900;

  letter-spacing: 0.09em;
}

.game-radio-rings {
  display: flex;

  position: relative;

  width: 280px;
  height: 280px;

  align-items: center;
  justify-content: center;
}

.game-radio-rings i {
  position: absolute;

  border: 1px solid var(--border);
  border-radius: 50%;
}

.game-radio-rings i:nth-child(1) {
  width: 100%;
  height: 100%;
}

.game-radio-rings i:nth-child(2) {
  width: 72%;
  height: 72%;

  border-color:
    rgba(210, 255, 45, 0.4);
}

.game-radio-rings i:nth-child(3) {
  width: 44%;
  height: 44%;

  border-color: var(--accent);
}

.game-radio-rings strong {
  position: relative;
  z-index: 2;

  color: var(--accent);

  font-size: 2.5rem;
}

.game-radio-copy h2 span,
.game-final-cta h2 span {
  color: var(--accent);
}


/* Final CTA */

.game-final-cta {
  display: flex;

  min-height: 620px;

  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.game-final-cta h2 {
  max-width: 850px;

  margin-bottom: 34px;
}


/* Responsive */

@media (max-width: 900px) {
  .game-hero {
    grid-template-columns: 1fr;

    padding-top: 80px;
    padding-bottom: 70px;
  }

  .game-hero-copy h1 {
    font-size:
      clamp(4rem, 18vw, 7rem);
  }

  .game-hero-versus {
    grid-template-columns:
      minmax(0, 1fr)
      46px
      minmax(0, 1fr);
  }

  .game-hero-fighter img {
    aspect-ratio: 1 / 1;
  }

  .game-steps {
    grid-template-columns:
      1fr
      1fr;

    gap: 12px;
  }

  .game-step-arrow {
    display: none;
  }

  .game-battle-grid {
    grid-template-columns: 1fr;
  }

  .game-bracket-section {
    grid-template-columns: 1fr;
  }

  .game-radio-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .game-home section {
    width: min(
      100% - 24px,
      var(--game-max)
    );
  }

  .game-hero {
    min-height: auto;

    gap: 35px;

    padding-top: 55px;
  }

  .game-hero-versus {
    grid-template-columns: 1fr;
  }

  .game-big-vs {
    padding: 6px;
  }

  .game-hero-fighter img {
    aspect-ratio: 16 / 9;
  }

  .game-steps {
    grid-template-columns: 1fr;
  }

  .game-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .game-bracket-section {
    gap: 35px;
  }

  .game-bracket-visual {
    grid-template-columns:
      1fr
      20px
      1fr
      20px
      1fr;

    gap: 5px;

    padding: 15px;
  }

  .game-bracket-lines {
    gap: 62px;
  }

  .game-radio-section {
    gap: 20px;
  }

  .game-radio-signal {
    min-height: 300px;
  }

  .game-final-cta {
    min-height: 480px;
  }
}

/* SynthArena cinematic hero artwork */

.game-hero {
  isolation: isolate;
}

.game-hero-background {
  position: absolute;
  z-index: -3;
  inset: 0;

  background-image:
    url("/static/images/home/syntharena-hero.webp");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  opacity: 0.78;

  transform: scale(1.025);
}

.game-hero-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(8, 9, 10, 0.98) 0%,
      rgba(8, 9, 10, 0.90) 28%,
      rgba(8, 9, 10, 0.55) 52%,
      rgba(8, 9, 10, 0.18) 76%,
      rgba(8, 9, 10, 0.35) 100%
    ),
    linear-gradient(
      0deg,
      rgba(8, 9, 10, 0.80) 0%,
      transparent 35%,
      rgba(8, 9, 10, 0.20) 100%
    );
}

.game-hero-copy,
.game-hero-battle {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .game-hero-background {
    background-position: 62% center;
    opacity: 0.62;
  }

  .game-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(8, 9, 10, 0.72) 0%,
        rgba(8, 9, 10, 0.88) 48%,
        rgba(8, 9, 10, 0.98) 100%
      );
  }
}

@media (max-width: 600px) {
  .game-hero-background {
    background-position: 64% center;
    opacity: 0.50;
  }
}

/* ==========================================================
   SYNTHARENA CINEMATIC HOME
   ========================================================== */

/*
 * HERO
 * Two cinematic scenes crossfade behind a stable game UI.
 */

.game-hero {
  position: relative;
  isolation: isolate;

  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(300px, 0.55fr);
}

.game-hero-cinema {
  position: absolute;
  z-index: -4;
  inset: 0;

  overflow: hidden;
}

.game-hero-scene {
  position: absolute;
  inset: -2%;

  opacity: 0;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  transform: scale(1.045);

  transition:
    opacity 2.2s ease-in-out,
    transform 10s ease-out;

  will-change:
    opacity,
    transform;
}

.game-hero-scene-1 {
  background-image:
    url("/static/images/home/syntharena-scene-1.webp");
}

.game-hero-scene-2 {
  background-image:
    url("/static/images/home/syntharena-scene-4.webp");

  background-position:
    54% center;
}

.game-hero-scene.is-active {
  opacity: 1;
  transform: scale(1);
}

.game-hero-overlay {
  z-index: -3;

  background:
    linear-gradient(
      90deg,
      rgba(7, 8, 9, 0.98) 0%,
      rgba(7, 8, 9, 0.91) 25%,
      rgba(7, 8, 9, 0.63) 47%,
      rgba(7, 8, 9, 0.22) 72%,
      rgba(7, 8, 9, 0.34) 100%
    ),
    linear-gradient(
      0deg,
      rgba(7, 8, 9, 0.96) 0%,
      rgba(7, 8, 9, 0.20) 39%,
      rgba(7, 8, 9, 0.18) 100%
    );
}


/*
 * CURRENT BATTLE
 * It becomes a secondary HUD element instead of
 * competing visually with the main SynthArena title.
 */

.game-hero-battle {
  align-self: end;

  width: min(340px, 100%);

  margin: 0 0 34px auto;
  padding: 11px;

  border-color:
    rgba(255, 255, 255, 0.14);

  border-radius: 18px;

  background:
    rgba(10, 11, 12, 0.78);

  backdrop-filter:
    blur(14px);

  -webkit-backdrop-filter:
    blur(14px);
}

.game-hero-battle-label {
  margin-bottom: 8px;

  font-size: 0.61rem;
}

.game-hero-versus {
  grid-template-columns:
    minmax(0, 1fr)
    30px
    minmax(0, 1fr);

  gap: 6px;
}

.game-hero-fighter {
  border-radius: 10px;
}

.game-hero-fighter img {
  aspect-ratio: 16 / 10;
}

.game-hero-fighter > div {
  padding: 8px;
}

.game-hero-fighter span {
  margin-bottom: 2px;

  font-size: 0.52rem;
}

.game-hero-fighter strong {
  font-size: 0.72rem;
}

.game-hero-fighter small {
  display: none;
}

.game-big-vs {
  font-size: 0.8rem;
}

.game-match-meta {
  margin-top: 7px;

  font-size: 0.56rem;
}


/*
 * SYNTHRADIO CINEMATIC SECTION
 */

.game-radio-section {
  position: relative;
  isolation: isolate;

  min-height: 620px;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: 30px;

  padding-left: 54px;
  padding-right: 54px;
}

.game-radio-cinema {
  position: absolute;
  z-index: -3;
  inset: 0;

  background-image:
    url("/static/images/home/syntharena-radio.webp");

  background-position:
    center;

  background-repeat: no-repeat;
  background-size: cover;

  transform: scale(1.02);
}

.game-radio-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(7, 8, 9, 0.70) 0%,
      rgba(7, 8, 9, 0.44) 42%,
      rgba(7, 8, 9, 0.78) 75%,
      rgba(7, 8, 9, 0.94) 100%
    ),
    linear-gradient(
      0deg,
      rgba(7, 8, 9, 0.82),
      rgba(7, 8, 9, 0.12) 58%,
      rgba(7, 8, 9, 0.38)
    );
}

.game-radio-signal,
.game-radio-copy {
  position: relative;
  z-index: 2;
}

.game-radio-signal {
  min-height: 430px;
}

.game-radio-rings {
  background:
    rgba(7, 8, 9, 0.58);

  border-radius: 50%;

  backdrop-filter:
    blur(8px);

  -webkit-backdrop-filter:
    blur(8px);
}

.game-radio-copy {
  padding:
    32px;

  border:
    1px solid rgba(
      255,
      255,
      255,
      0.12
    );

  border-radius:
    24px;

  background:
    rgba(
      7,
      8,
      9,
      0.62
    );

  backdrop-filter:
    blur(14px);

  -webkit-backdrop-filter:
    blur(14px);
}


/*
 * Subtle cinematic fade at section boundaries.
 */

.game-hero::after {
  content: "";

  position: absolute;
  z-index: -1;

  right: 0;
  bottom: 0;
  left: 0;

  height: 150px;

  background:
    linear-gradient(
      to bottom,
      transparent,
      var(--background)
    );

  pointer-events: none;
}


@media (prefers-reduced-motion: reduce) {
  .game-hero-scene {
    transition: none;
    transform: none;
  }

  .game-hero-scene:not(.is-active) {
    display: none;
  }
}


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

  .game-hero-battle {
    width: min(420px, 100%);

    margin:
      0 auto 40px 0;
  }

  .game-hero-scene-1,
  .game-hero-scene-2 {
    background-position:
      60% center;
  }

  .game-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(7, 8, 9, 0.72) 0%,
        rgba(7, 8, 9, 0.70) 42%,
        rgba(7, 8, 9, 0.97) 100%
      );
  }

  .game-radio-section {
    padding-left: 26px;
    padding-right: 26px;
  }

  .game-radio-cinema {
    background-position:
      45% center;
  }
}


@media (max-width: 600px) {
  .game-hero-battle {
    width: 100%;

    margin-bottom: 25px;
  }

  .game-radio-section {
    min-height: auto;

    padding:
      55px 18px;
  }

  .game-radio-overlay {
    background:
      rgba(
        7,
        8,
        9,
        0.77
      );
  }

  .game-radio-copy {
    padding:
      22px;
  }
}

/* ==========================================================
   SYNTHARENA FULL-BLEED CINEMATIC EXPERIENCE
   ========================================================== */

.game-home {
  overflow: hidden;
}

/*
 * Every major scene now breaks out of the normal content width.
 */

.game-home .cinematic-section {
  position: relative;
  isolation: isolate;

  box-sizing: border-box;

  width: 100vw;
  max-width: none;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding-left:
    max(
      24px,
      calc((100vw - 1180px) / 2)
    );

  padding-right:
    max(
      24px,
      calc((100vw - 1180px) / 2)
    );

  overflow: hidden;
}


/*
 * Shared background behavior.
 */

.cinematic-bg {
  position: absolute;

  z-index: -4;

  inset: -36px;

  opacity: 0.16;

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  transform:
    translateY(
      var(--cinematic-y, 0)
    )
    scale(1.08);

  filter:
    saturate(0.82)
    contrast(1.04);

  transition:
    opacity 1.6s ease,
    transform 2.4s cubic-bezier(
      0.2,
      0.75,
      0.2,
      1
    ),
    filter 1.8s ease;

  will-change:
    transform,
    opacity;
}

.cinematic-section.cinematic-active
.cinematic-bg {
  opacity: 0.70;

  transform:
    translateY(
      var(--cinematic-y, 0)
    )
    scale(1.025);

  filter:
    saturate(1)
    contrast(1.06);
}


/*
 * All sections blend back into black at their edges.
 */

.cinematic-shade {
  position: absolute;

  z-index: -3;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      #090a0b 0%,
      rgba(9, 10, 11, 0.58) 16%,
      rgba(9, 10, 11, 0.32) 48%,
      rgba(9, 10, 11, 0.62) 84%,
      #090a0b 100%
    ),
    linear-gradient(
      90deg,
      rgba(9, 10, 11, 0.84) 0%,
      rgba(9, 10, 11, 0.32) 48%,
      rgba(9, 10, 11, 0.66) 100%
    );

  pointer-events: none;
}


/* ==========================================================
   HERO
   ========================================================== */

.game-home .cinematic-hero {
  min-height: calc(100vh - 56px);

  padding-top: 80px;
  padding-bottom: 80px;
}

.cinematic-hero-bg {
  position: absolute;

  z-index: -4;

  inset: 0;

  overflow: hidden;
}

.cinematic-hero-frame {
  position: absolute;

  inset: -30px;

  opacity: 0;

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  transform:
    scale(1.095)
    translateX(12px);

  filter:
    saturate(0.92);

  transition:
    opacity 2.4s ease-in-out,
    transform 8s ease-out,
    filter 2.4s ease-in-out;

  will-change:
    opacity,
    transform;
}

.cinematic-hero-frame-1 {
  background-image:
    url("/static/images/home/syntharena-scene-1.webp");

  background-position:
    center center;
}

.cinematic-hero-frame-2 {
  background-image:
    url("/static/images/home/syntharena-scene-4.webp");

  background-position:
    center center;
}

.cinematic-hero-frame.is-active {
  opacity: 1;

  transform:
    scale(1.025)
    translateX(0);

  filter:
    saturate(1.08);
}

.cinematic-hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(7, 8, 9, 0.97) 0%,
      rgba(7, 8, 9, 0.88) 25%,
      rgba(7, 8, 9, 0.46) 52%,
      rgba(7, 8, 9, 0.12) 76%,
      rgba(7, 8, 9, 0.32) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 8, 9, 0.20) 0%,
      transparent 50%,
      #090a0b 100%
    );
}


/*
 * Keep Current Battle as HUD, not hero protagonist.
 */

.game-hero-battle {
  width: min(310px, 100%);

  align-self: end;

  margin:
    0
    0
    40px
    auto;

  background:
    rgba(5, 6, 7, 0.72);

  backdrop-filter:
    blur(16px);

  -webkit-backdrop-filter:
    blur(16px);
}


/* ==========================================================
   HOW TO PLAY
   ========================================================== */

.game-home .cinematic-how {
  min-height: 650px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding-top: 100px;
  padding-bottom: 100px;
}

.cinematic-how-bg {
  background-image:
    url("/static/images/home/syntharena-scene-4.webp");

  background-position:
    center 42%;
}

.cinematic-how .cinematic-shade {
  background:
    linear-gradient(
      180deg,
      #090a0b 0%,
      rgba(9, 10, 11, 0.74) 20%,
      rgba(9, 10, 11, 0.64) 50%,
      rgba(9, 10, 11, 0.78) 82%,
      #090a0b 100%
    );
}

.cinematic-how .game-steps article {
  background:
    rgba(8, 9, 10, 0.55);

  border-radius: 14px;

  backdrop-filter:
    blur(8px);

  -webkit-backdrop-filter:
    blur(8px);

  padding: 22px;
}


/* ==========================================================
   CURRENT BATTLES
   ========================================================== */

.game-home .cinematic-battles {
  min-height: 760px;

  padding-top: 115px;
  padding-bottom: 120px;
}

.cinematic-battles-bg {
  background-image:
    url("/static/images/home/syntharena-scene-1.webp");

  background-position:
    50% 52%;
}

.cinematic-battles
.game-battle-preview {
  background:
    rgba(9, 10, 11, 0.74);

  backdrop-filter:
    blur(12px);

  -webkit-backdrop-filter:
    blur(12px);
}


/* ==========================================================
   BRACKET
   ========================================================== */

.game-home .cinematic-bracket {
  min-height: 670px;

  padding-top: 120px;
  padding-bottom: 120px;
}

.cinematic-bracket-bg {
  background-image:
    url("/static/images/home/syntharena-scene-4.webp");

  background-position:
    center 38%;
}

.cinematic-bracket .cinematic-shade {
  background:
    linear-gradient(
      90deg,
      rgba(9, 10, 11, 0.90) 0%,
      rgba(9, 10, 11, 0.70) 45%,
      rgba(9, 10, 11, 0.48) 100%
    ),
    linear-gradient(
      180deg,
      #090a0b 0%,
      transparent 35%,
      transparent 65%,
      #090a0b 100%
    );
}

.cinematic-bracket
.game-bracket-visual {
  background:
    rgba(8, 9, 10, 0.68);

  backdrop-filter:
    blur(14px);

  -webkit-backdrop-filter:
    blur(14px);
}


/* ==========================================================
   SYNTHRADIO
   ========================================================== */

.game-home .cinematic-radio {
  min-height: 760px;

  width: 100vw;

  margin-left:
    calc(50% - 50vw);

  margin-right:
    calc(50% - 50vw);

  padding-top: 115px;
  padding-bottom: 115px;

  border: 0;
  border-radius: 0;
}

.cinematic-radio-bg {
  background-image:
    url("/static/images/home/syntharena-radio.webp");

  background-position:
    center center;
}

.cinematic-radio.cinematic-active
.cinematic-radio-bg {
  opacity: 0.82;
}

.cinematic-radio-shade {
  background:
    linear-gradient(
      90deg,
      rgba(7, 8, 9, 0.44) 0%,
      rgba(7, 8, 9, 0.26) 40%,
      rgba(7, 8, 9, 0.72) 67%,
      rgba(7, 8, 9, 0.95) 100%
    ),
    linear-gradient(
      180deg,
      #090a0b 0%,
      transparent 23%,
      transparent 72%,
      #090a0b 100%
    );
}

.cinematic-radio
.game-radio-copy {
  background:
    rgba(7, 8, 9, 0.64);

  backdrop-filter:
    blur(16px);

  -webkit-backdrop-filter:
    blur(16px);
}


/* ==========================================================
   FINAL CTA
   ========================================================== */

.game-home .cinematic-final {
  min-height: 680px;

  display: flex;

  padding-top: 80px;
  padding-bottom: 80px;
}

.cinematic-final-bg {
  background-image:
    url("/static/images/home/syntharena-scene-1.webp");

  background-position:
    center 58%;
}

.cinematic-final.cinematic-active
.cinematic-final-bg {
  opacity: 0.58;
}

.cinematic-final-shade {
  background:
    radial-gradient(
      circle at center,
      rgba(9, 10, 11, 0.48) 0%,
      rgba(9, 10, 11, 0.80) 55%,
      #090a0b 90%
    );
}


/* ==========================================================
   MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  .cinematic-bg,
  .cinematic-hero-frame {
    transition: none;
    transform: none;
  }

  .cinematic-hero-frame:not(.is-active) {
    display: none;
  }
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 900px) {
  .game-home .cinematic-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .cinematic-hero-frame {
    background-position:
      60% center;
  }

  .cinematic-hero-shade {
    background:
      linear-gradient(
        180deg,
        rgba(7, 8, 9, 0.60) 0%,
        rgba(7, 8, 9, 0.67) 45%,
        #090a0b 100%
      );
  }

  .cinematic-radio-shade {
    background:
      rgba(7, 8, 9, 0.67);
  }
}

@media (max-width: 600px) {
  .game-home .cinematic-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .game-home .cinematic-hero {
    padding-top: 70px;
  }

  .cinematic-bg {
    inset: -18px;
  }

  .cinematic-section.cinematic-active
  .cinematic-bg {
    opacity: 0.52;
  }

  .cinematic-radio.cinematic-active
  .cinematic-radio-bg {
    opacity: 0.64;
  }
}


/* Legacy local cinematic elements disabled */
.game-hero-background,
.game-hero-cinema,
.game-radio-cinema,
.game-radio-overlay {
  display: none !important;
}


/* ==========================================================
   SYNTHARENA GLOBAL CINEMATIC BACKDROP
   ========================================================== */

/*
 * Important:
 * backgrounds no longer determine section size.
 * Content controls layout again.
 */

.game-home {
  position: relative;
  overflow: visible;
}


/* Restore normal content geometry */

.game-home .home-scene-trigger,
.game-home .cinematic-section {
  width: min(
    1180px,
    calc(100% - 40px)
  ) !important;

  max-width: 1180px !important;

  min-height: 0 !important;

  margin-left: auto !important;
  margin-right: auto !important;

  padding-left: 0 !important;
  padding-right: 0 !important;

  overflow: visible !important;
}


/*
 * One cinema screen behind the entire page.
 */

.home-cinema {
  position: fixed;

  z-index: -10;

  inset:
    var(--nav-height, 56px)
    0
    0
    0;

  overflow: hidden;

  background: #090a0b;

  pointer-events: none;
}


/*
 * Individual cinematic scenes.
 */

.home-cinema-scene {
  position: absolute;

  inset: -4%;

  opacity: 0;

  background-position:
    center center;

  background-repeat:
    no-repeat;

  background-size:
    cover;

  transform:
    scale(1.12)
    translate3d(
      18px,
      0,
      0
    );

  filter:
    saturate(0.85)
    brightness(0.78);

  transition:
    opacity 1.7s
      cubic-bezier(
        0.4,
        0,
        0.2,
        1
      ),
    transform 8s
      cubic-bezier(
        0.16,
        1,
        0.3,
        1
      ),
    filter 1.7s ease;

  will-change:
    opacity,
    transform;
}

.home-cinema-scene-1 {
  background-image:
    url(
      "/static/images/home/syntharena-scene-1.webp"
    );
}

.home-cinema-scene-4 {
  background-image:
    url(
      "/static/images/home/syntharena-scene-4.webp"
    );

  background-position:
    52% center;
}

.home-cinema-scene-radio {
  background-image:
    url(
      "/static/images/home/syntharena-radio.webp"
    );

  background-position:
    center center;
}

.home-cinema-scene.is-active {
  opacity: 1;

  transform:
    scale(1.025)
    translate3d(
      0,
      0,
      0
    );

  filter:
    saturate(1.07)
    brightness(0.88);
}


/*
 * Permanent cinematic color grade.
 */

.home-cinema-grade {
  position: absolute;

  z-index: 5;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(
        6,
        7,
        8,
        0.84
      ) 0%,
      rgba(
        6,
        7,
        8,
        0.51
      ) 38%,
      rgba(
        6,
        7,
        8,
        0.26
      ) 67%,
      rgba(
        6,
        7,
        8,
        0.53
      ) 100%
    ),
    linear-gradient(
      180deg,
      rgba(
        6,
        7,
        8,
        0.25
      ) 0%,
      rgba(
        6,
        7,
        8,
        0.26
      ) 62%,
      rgba(
        6,
        7,
        8,
        0.80
      ) 100%
    );
}


/*
 * This is the visible "movie cut":
 * a short dark exposure rolls across the screen
 * during every scene change.
 */

.home-cinema-transition {
  position: absolute;

  z-index: 6;

  inset: 0;

  opacity: 0;

  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(
        0,
        0,
        0,
        0.16
      ),
      rgba(
        0,
        0,
        0,
        0.88
      )
    );

  transition:
    opacity 0.55s ease;

  pointer-events: none;
}

.home-cinema.is-transitioning
.home-cinema-transition {
  opacity: 0.62;
}


/* ==========================================================
   CONTENT OVER CINEMA
   ========================================================== */

.game-home section {
  position: relative;
  z-index: 1;
}


/*
 * Instead of gigantic empty sections, give
 * every chapter just enough breathing room.
 */

.game-how,
.game-battles,
.game-bracket-section,
.game-radio-section {
  padding-top: 82px !important;
  padding-bottom: 82px !important;
}

.game-final-cta {
  min-height: 500px !important;

  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

.game-hero {
  min-height:
    calc(
      100vh - 56px
    ) !important;

  padding-top: 70px !important;
  padding-bottom: 70px !important;
}


/*
 * Content gets local contrast, but we do NOT
 * cover the whole background with black anymore.
 */

.game-how .game-steps article,
.game-battle-preview,
.game-bracket-visual,
.game-radio-copy,
.game-hero-battle {
  background:
    rgba(
      8,
      9,
      10,
      0.68
    ) !important;

  backdrop-filter:
    blur(12px);

  -webkit-backdrop-filter:
    blur(12px);
}


/*
 * Remove old section background layers completely.
 */

.cinematic-bg,
.cinematic-shade,
.game-hero-background,
.game-hero-cinema,
.game-radio-cinema,
.game-radio-overlay {
  display: none !important;
}


/*
 * Radio is no longer a framed poster.
 */

.game-radio-section {
  border: 0 !important;
  border-radius: 0 !important;
}


/*
 * Slight text shadow helps text sit directly
 * over cinematic imagery.
 */

.game-section-heading h2,
.game-bracket-copy h2,
.game-radio-copy h2,
.game-final-cta h2,
.game-hero-copy h1,
.game-hero-tagline {
  text-shadow:
    0 2px 24px
    rgba(
      0,
      0,
      0,
      0.75
    );
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (
  max-width: 900px
) {
  .game-home
  .home-scene-trigger {
    width:
      calc(
        100% - 30px
      ) !important;
  }

  .home-cinema-scene {
    background-position:
      58% center;
  }
}

@media (
  max-width: 600px
) {
  .game-home
  .home-scene-trigger {
    width:
      calc(
        100% - 22px
      ) !important;
  }

  .home-cinema-scene {
    inset: -2%;

    background-position:
      62% center;
  }

  .home-cinema-grade {
    background:
      rgba(
        7,
        8,
        9,
        0.60
      );
  }
}

@media (
  prefers-reduced-motion:
  reduce
) {
  .home-cinema-scene {
    transition:
      opacity 0.4s ease;

    transform: none !important;
  }

  .home-cinema-transition {
    display: none;
  }
}

/* ==========================================================
   SYNTHRADIO CHAPTER TRANSITION
   ========================================================== */

.home-cinema-scene-1 {
  opacity: 0;
}

.home-cinema-scene-1.is-active {
  opacity: 1;
}

.home-cinema-scene-radio {
  opacity: 0;

  background-position:
    48% center;

  transform:
    scale(1.09);
}

.home-cinema-scene-radio.is-active {
  opacity: 1;

  transform:
    scale(1.02);
}

/*
 * Make the radio chapter visibly distinct,
 * but keep it within the same cinematic world.
 */
.home-cinema:has(
  .home-cinema-scene-radio.is-active
)
.home-cinema-grade {
  background:
    linear-gradient(
      90deg,
      rgba(5, 7, 8, 0.72) 0%,
      rgba(5, 7, 8, 0.36) 42%,
      rgba(5, 7, 8, 0.52) 70%,
      rgba(5, 7, 8, 0.82) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 7, 8, 0.20) 0%,
      rgba(5, 7, 8, 0.18) 55%,
      rgba(5, 7, 8, 0.70) 100%
    );
}

/*
 * Slightly stronger exposure change while
 * the scene is dissolving.
 */
.home-cinema.is-transitioning
.home-cinema-transition {
  opacity: 0.48;
}

.game-radio-section {
  position: relative;
}

.game-radio-section::before {
  content: "";

  position: absolute;

  top: -90px;
  right: 0;
  left: 0;

  height: 120px;

  background:
    linear-gradient(
      to bottom,
      transparent,
      rgba(9, 10, 11, 0.72)
    );

  pointer-events: none;
}

.game-radio-section::after {
  content: "";

  position: absolute;

  right: 0;
  bottom: -90px;
  left: 0;

  height: 120px;

  background:
    linear-gradient(
      to bottom,
      rgba(9, 10, 11, 0.72),
      transparent
    );

  pointer-events: none;
}

/* ==========================================================
   RELIABLE HOME -> SYNTHRADIO CINEMATIC SWITCH
   ========================================================== */

/*
 * Default cinematic world.
 */
#home-cinema .home-cinema-scene-1 {
  display: block !important;

  opacity: 1 !important;

  transform:
    scale(1.025)
    translate3d(0, 0, 0) !important;

  transition:
    opacity 1.8s ease-in-out,
    transform 7s ease-out,
    filter 1.8s ease-in-out !important;
}

/*
 * Radio world waits underneath.
 */
#home-cinema .home-cinema-scene-radio {
  display: block !important;

  opacity: 0 !important;

  transform:
    scale(1.09)
    translate3d(16px, 0, 0) !important;

  transition:
    opacity 1.8s ease-in-out,
    transform 7s ease-out,
    filter 1.8s ease-in-out !important;
}

/*
 * Enter SynthRadio chapter.
 */
#home-cinema.radio-active
.home-cinema-scene-1 {
  opacity: 0 !important;

  transform:
    scale(1.07)
    translate3d(-12px, 0, 0) !important;
}

#home-cinema.radio-active
.home-cinema-scene-radio {
  opacity: 1 !important;

  transform:
    scale(1.025)
    translate3d(0, 0, 0) !important;
}

/*
 * Give the radio scene a slightly cooler grade.
 */
#home-cinema .home-cinema-grade {
  transition:
    background 1.6s ease,
    opacity 1.6s ease;
}

#home-cinema.radio-active
.home-cinema-grade {
  background:
    linear-gradient(
      90deg,
      rgba(5, 7, 8, 0.68) 0%,
      rgba(5, 7, 8, 0.35) 40%,
      rgba(5, 7, 8, 0.44) 68%,
      rgba(5, 7, 8, 0.76) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 7, 8, 0.20) 0%,
      rgba(5, 7, 8, 0.16) 55%,
      rgba(5, 7, 8, 0.66) 100%
    );
}

/*
 * Visible cinematic exposure dip during the cut.
 */
#home-cinema.scene-changing
.home-cinema-transition {
  opacity: 0.44 !important;
}


/* ==========================================================
   FINAL HOME CINEMA SCENE SWITCH
   ========================================================== */

#home-cinema
.home-cinema-scene-1 {
  display: block !important;
  opacity: 1 !important;

  transform:
    scale(1.025)
    translate3d(0, 0, 0) !important;

  transition:
    opacity 1.8s ease-in-out,
    transform 6s ease-out !important;
}

#home-cinema
.home-cinema-scene-radio {
  display: block !important;
  opacity: 0 !important;

  transform:
    scale(1.10)
    translate3d(22px, 0, 0) !important;

  transition:
    opacity 1.8s ease-in-out,
    transform 6s ease-out !important;
}


/* Arena -> Radio */

#home-cinema.radio-active
.home-cinema-scene-1 {
  opacity: 0 !important;

  transform:
    scale(1.07)
    translate3d(-16px, 0, 0) !important;
}

#home-cinema.radio-active
.home-cinema-scene-radio {
  opacity: 1 !important;

  transform:
    scale(1.025)
    translate3d(0, 0, 0) !important;
}


/* Keep unused experimental scene out of the stack */

#home-cinema
.home-cinema-scene-4 {
  display: none !important;
}


/* Brief exposure dip during scene change */

#home-cinema
.home-cinema-transition {
  display: block !important;

  opacity: 0;

  transition:
    opacity 0.45s ease !important;
}

#home-cinema.scene-changing
.home-cinema-transition {
  opacity: 0.36 !important;
}

/* ==========================================================
   CLEAN CINEMATIC TRANSITIONS
   No fixed black bands between chapters
   ========================================================== */

/* Remove old section-edge fades */
.game-radio-section::before,
.game-radio-section::after {
  display: none !important;
  content: none !important;
}

/* No artificial black exposure layer */
#home-cinema
.home-cinema-transition {
  display: none !important;
  opacity: 0 !important;
}

/*
 * Pure image-to-image dissolve.
 */
#home-cinema
.home-cinema-scene-1,
#home-cinema
.home-cinema-scene-radio {
  transition:
    opacity 2.2s ease-in-out,
    transform 7s ease-out,
    filter 2.2s ease-in-out !important;
}

/*
 * Softer global grade:
 * enough contrast for text,
 * but without looking like a black curtain.
 */
#home-cinema
.home-cinema-grade {
  background:
    linear-gradient(
      90deg,
      rgba(5, 6, 7, 0.66) 0%,
      rgba(5, 6, 7, 0.36) 36%,
      rgba(5, 6, 7, 0.20) 64%,
      rgba(5, 6, 7, 0.40) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 6, 7, 0.10) 0%,
      rgba(5, 6, 7, 0.08) 65%,
      rgba(5, 6, 7, 0.38) 100%
    ) !important;
}

/* Radio keeps its own slightly cooler exposure */
#home-cinema.radio-active
.home-cinema-grade {
  background:
    linear-gradient(
      90deg,
      rgba(4, 7, 8, 0.62) 0%,
      rgba(4, 7, 8, 0.30) 40%,
      rgba(4, 7, 8, 0.20) 68%,
      rgba(4, 7, 8, 0.45) 100%
    ),
    linear-gradient(
      180deg,
      rgba(4, 7, 8, 0.08) 0%,
      rgba(4, 7, 8, 0.06) 65%,
      rgba(4, 7, 8, 0.34) 100%
    ) !important;
}

/* ==========================================================
   CLEAN CINEMATIC TRANSITIONS
   No fixed black bands between chapters
   ========================================================== */

/* Remove old section-edge fades */
.game-radio-section::before,
.game-radio-section::after {
  display: none !important;
  content: none !important;
}

/* No artificial black exposure layer */
#home-cinema
.home-cinema-transition {
  display: none !important;
  opacity: 0 !important;
}

/*
 * Pure image-to-image dissolve.
 */
#home-cinema
.home-cinema-scene-1,
#home-cinema
.home-cinema-scene-radio {
  transition:
    opacity 2.2s ease-in-out,
    transform 7s ease-out,
    filter 2.2s ease-in-out !important;
}

/*
 * Softer global grade:
 * enough contrast for text,
 * but without looking like a black curtain.
 */
#home-cinema
.home-cinema-grade {
  background:
    linear-gradient(
      90deg,
      rgba(5, 6, 7, 0.66) 0%,
      rgba(5, 6, 7, 0.36) 36%,
      rgba(5, 6, 7, 0.20) 64%,
      rgba(5, 6, 7, 0.40) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 6, 7, 0.10) 0%,
      rgba(5, 6, 7, 0.08) 65%,
      rgba(5, 6, 7, 0.38) 100%
    ) !important;
}

/* Radio keeps its own slightly cooler exposure */
#home-cinema.radio-active
.home-cinema-grade {
  background:
    linear-gradient(
      90deg,
      rgba(4, 7, 8, 0.62) 0%,
      rgba(4, 7, 8, 0.30) 40%,
      rgba(4, 7, 8, 0.20) 68%,
      rgba(4, 7, 8, 0.45) 100%
    ),
    linear-gradient(
      180deg,
      rgba(4, 7, 8, 0.08) 0%,
      rgba(4, 7, 8, 0.06) 65%,
      rgba(4, 7, 8, 0.34) 100%
    ) !important;
}

/* ==========================================================
   EXPLORE ONE-CLICK PLAYER
   ========================================================== */

.song-media {
  position: relative;

  width: 100%;
  aspect-ratio: 16 / 9;

  overflow: hidden;

  background: #000;
}

.song-media
.song-thumbnail {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.song-play-overlay {
  position: absolute;

  top: 50%;
  left: 50%;

  display: flex;

  width: 56px;
  height: 56px;

  align-items: center;
  justify-content: center;

  padding: 0;

  transform:
    translate(
      -50%,
      -50%
    );

  border: 0;
  border-radius: 50%;

  background: var(--accent);
  color: #090a0b;

  cursor: pointer;

  font-size: 1rem;
  font-weight: 900;

  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

@media (hover: hover) and (pointer: fine) {
  .song-play-overlay:hover {
    transform:
      translate(
        -50%,
        -50%
      )
      scale(1.10);

    box-shadow:
      0 0 0 8px
      rgba(210, 255, 45, 0.12);
  }
}

.song-player-host {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  background: #000;
}

.song-player-host iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;
}

.song-card.is-playing {
  border-color:
    rgba(210, 255, 45, 0.55);
}

/* Explore: image-first playback */

.song-card-body {
  padding-bottom: 18px;
}

.song-card-actions,
.song-inline-play {
  display: none !important;
}

/* ==========================================================
   TOURNAMENT BRACKET
   ========================================================== */

.bracket-page {
  padding-bottom: 80px;
}

.tournament-bracket {
  display: grid;
  grid-template-columns:
    minmax(280px, 1fr)
    70px
    minmax(280px, 1fr)
    70px
    minmax(280px, 1fr);

  gap: 0;
  align-items: stretch;

  margin-top: 50px;
}

.bracket-round {
  min-width: 0;
}

.bracket-round-title {
  margin-bottom: 20px;

  color: var(--accent);

  font-size: 0.72rem;
  font-weight: 900;

  letter-spacing: 0.12em;
}

.bracket-round-stack {
  display: flex;
  height: 100%;

  flex-direction: column;
  justify-content: space-between;

  gap: 24px;
}

.bracket-sf-stack {
  justify-content: space-around;
}

.bracket-final-stack {
  display: flex;
  height: 100%;

  align-items: center;
}

.bracket-match-card {
  position: relative;

  padding: 12px;

  border: 1px solid var(--border);
  border-radius: 16px;

  background: var(--surface);
}

.bracket-match-meta {
  margin-bottom: 8px;

  color: var(--muted);

  font-size: 0.63rem;
  font-weight: 800;

  letter-spacing: 0.08em;
}

.bracket-team {
  display: grid;
  grid-template-columns:
    54px
    minmax(0, 1fr)
    auto;

  gap: 10px;
  align-items: center;

  min-height: 62px;

  padding: 8px;

  border-radius: 10px;

  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.bracket-team + .bracket-team {
  margin-top: 5px;
}

.bracket-team img {
  width: 54px;
  height: 42px;

  object-fit: cover;

  border-radius: 7px;
}

.bracket-team strong,
.bracket-team span {
  display: block;

  overflow: hidden;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.bracket-team strong {
  font-size: 0.86rem;
}

.bracket-team span {
  margin-top: 2px;

  color: var(--muted);

  font-size: 0.72rem;
}

.bracket-team b {
  color: var(--accent);

  font-size: 0.58rem;

  letter-spacing: 0.06em;
}

.bracket-team-winner {
  background:
    rgba(210, 255, 45, 0.08);

  outline:
    1px solid
    rgba(210, 255, 45, 0.32);
}

.bracket-tbd {
  grid-column: 1 / -1;

  color: var(--muted);

  font-size: 0.78rem;
  font-weight: 800;

  letter-spacing: 0.08em;
}


/* CONNECTORS */

.bracket-connectors {
  position: relative;
}

.bracket-connector-pair,
.bracket-connector-final {
  position: absolute;
  inset: 0;
}

.bracket-connector-pair::before,
.bracket-connector-pair::after,
.bracket-connector-final::before {
  content: "";

  position: absolute;

  border-color: var(--border);
}

.bracket-connectors-qf
.bracket-connector-pair:first-child::before {
  top: 13%;
  right: 0;
  bottom: 63%;
  left: 0;

  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.bracket-connectors-qf
.bracket-connector-pair:first-child::after {
  content: "";

  position: absolute;

  top: 25%;
  right: -1px;

  width: 50%;
  height: 1px;

  background: var(--border);
}

.bracket-connectors-qf
.bracket-connector-pair:nth-child(2)::before {
  top: 63%;
  right: 0;
  bottom: 13%;
  left: 0;

  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.bracket-connectors-qf
.bracket-connector-pair:nth-child(2)::after {
  content: "";

  position: absolute;

  top: 75%;
  right: -1px;

  width: 50%;
  height: 1px;

  background: var(--border);
}

.bracket-connectors-final::before {
  content: "";

  position: absolute;

  top: 25%;
  right: 0;
  bottom: 25%;
  left: 0;

  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.bracket-connectors-final::after {
  content: "";

  position: absolute;

  top: 50%;
  right: -1px;

  width: 50%;
  height: 1px;

  background: var(--border);
}


/* FINAL */

.bracket-final-card {
  width: 100%;
}

.bracket-champion {
  margin-top: 12px;
  padding: 12px;

  border: 1px solid var(--accent);
  border-radius: 12px;

  text-align: center;
}

.bracket-champion span,
.bracket-champion strong {
  display: block;
}

.bracket-champion span {
  color: var(--accent);

  font-size: 0.62rem;
  font-weight: 900;

  letter-spacing: 0.12em;
}

.bracket-champion strong {
  margin-top: 5px;

  font-size: 1rem;
}


/* RESPONSIVE */

@media (max-width: 980px) {
  .tournament-bracket {
    overflow-x: auto;

    grid-template-columns:
      280px
      60px
      280px
      60px
      280px;

    padding-bottom: 20px;
  }
}

@media (max-width: 650px) {
  .tournament-bracket {
    display: flex;
    flex-direction: column;
    gap: 40px;

    overflow: visible;
  }

  .bracket-connectors {
    display: none;
  }

  .bracket-round-stack,
  .bracket-sf-stack {
    gap: 16px;
  }
}

/* ==========================================================
   EXPLORE LIVE REACTIONS
   ========================================================== */

.song-media {
  position: relative;
}

.explore-reaction-stage {
  position: absolute;
  z-index: 8;

  inset: 0;

  overflow: hidden;

  pointer-events: none;
}

.explore-floating-reaction {
  position: absolute;

  bottom: 42px;
  left:
    var(
      --reaction-left,
      50%
    );

  opacity: 0;

  font-size:
    clamp(
      1.5rem,
      4vw,
      2.3rem
    );

  filter:
    drop-shadow(
      0 3px 7px
      rgba(0, 0, 0, 0.58)
    );

  animation:
    explore-reaction-float
    2.65s
    cubic-bezier(
      0.2,
      0.72,
      0.25,
      1
    )
    forwards;

  will-change:
    transform,
    opacity;
}

@keyframes
explore-reaction-float {
  0% {
    opacity: 0;

    transform:
      translate(
        -50%,
        12px
      )
      scale(0.68);
  }

  12% {
    opacity: 1;

    transform:
      translate(
        -50%,
        0
      )
      scale(1.08);
  }

  65% {
    opacity: 0.95;
  }

  100% {
    opacity: 0;

    transform:
      translate(
        calc(
          -50%
          + var(
            --reaction-drift,
            0px
          )
        ),
        -175px
      )
      scale(1.22);
  }
}


.explore-reaction-bar {
  position: absolute;
  z-index: 12;

  right: 8px;
  bottom: 8px;

  display: flex;

  gap: 5px;

  padding: 5px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.12
    );

  border-radius:
    999px;

  background:
    rgba(
      8,
      9,
      10,
      0.68
    );

  backdrop-filter:
    blur(12px);

  -webkit-backdrop-filter:
    blur(12px);
}

.explore-reaction-bar[hidden] {
  display: none;
}

.explore-reaction-bar button {
  display: inline-flex;

  width: 32px;
  height: 32px;

  align-items: center;
  justify-content: center;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: transparent;

  cursor: pointer;

  font-size: 1rem;

  transition:
    transform 0.14s ease,
    background 0.14s ease;
}

@media (
  hover: hover
)
and (
  pointer: fine
) {
  .explore-reaction-bar
  button:hover {
    transform:
      scale(1.22);

    background:
      rgba(
        255,
        255,
        255,
        0.10
      );
  }
}

.explore-reaction-bar
button:active {
  transform:
    scale(0.88);
}

@media (
  prefers-reduced-motion:
  reduce
) {
  .explore-floating-reaction {
    animation-duration:
      0.8s;
  }
}

/* ==========================================================
   EXPLORE REACTIONS ARE READ-ONLY
   Reactions originate in Arena only.
   ========================================================== */

.explore-reaction-bar {
  display: none !important;
}

/* ==========================================================
   QUALIFIERS
   ========================================================== */

.qualifiers-page {
  max-width: 980px;

  margin: 0 auto;

  padding-bottom: 80px;
}

.qualifiers-page h1 {
  max-width: 760px;
}

.qualifier-stats {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 14px;

  margin:
    40px
    0
    32px;
}

.qualifier-stats > div {
  padding: 24px;

  border:
    1px solid
    var(--border);

  border-radius: 18px;

  background:
    rgba(
      15,
      17,
      19,
      0.76
    );
}

.qualifier-stats strong,
.qualifier-stats span {
  display: block;
}

.qualifier-stats strong {
  color: var(--accent);

  font-size:
    clamp(
      2rem,
      5vw,
      3.4rem
    );

  line-height: 1;
}

.qualifier-stats span {
  margin-top: 8px;

  color: var(--muted);

  font-size: 0.82rem;
}

.qualifier-judge-button {
  display: inline-flex;

  min-height: 52px;

  align-items: center;
  justify-content: center;

  padding:
    0
    24px;
}

.qualifier-note {
  margin-top: 12px;

  color: var(--muted);

  font-size: 0.82rem;
}

.qualifier-complete,
.qualifier-empty {
  margin-top: 36px;

  padding: 28px;

  border:
    1px solid
    var(--border);

  border-radius: 18px;

  background:
    rgba(
      15,
      17,
      19,
      0.74
    );
}

.qualifier-complete strong,
.qualifier-empty strong {
  color: var(--accent);

  letter-spacing: 0.08em;
}

.qualifier-complete p,
.qualifier-empty p {
  margin-bottom: 0;

  color: var(--muted);
}

@media (max-width: 720px) {
  .qualifier-stats {
    grid-template-columns:
      1fr;
  }
}

/* ==========================================================
   QUALIFIERS UX REFINEMENT
   ========================================================== */

.qualifier-hero {
  max-width: 860px;
}

.qualifier-cycle-name {
  margin:
    8px
    0
    14px;

  color: var(--muted);

  font-size: 0.9rem;
}

.qualifiers-page h1 {
  max-width: 780px;

  margin-bottom: 28px;

  font-size:
    clamp(
      3rem,
      7vw,
      5.8rem
    );

  line-height: 0.98;
}

.qualifier-progress-block {
  max-width: 720px;

  margin-top: 24px;
}

.qualifier-progress-copy {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 16px;

  margin-bottom: 10px;
}

.qualifier-progress-copy strong {
  font-size: 0.95rem;
}

.qualifier-progress-copy span {
  color: var(--muted);

  font-size: 0.8rem;
}

.qualifier-progress-track {
  position: relative;

  width: 100%;
  height: 8px;

  overflow: hidden;

  border-radius: 999px;

  background:
    rgba(
      255,
      255,
      255,
      0.08
    );
}

.qualifier-progress-track span {
  display: block;

  height: 100%;

  border-radius: inherit;

  background: var(--accent);

  transition:
    width
    0.45s
    ease;
}

.qualifier-stats {
  margin-top: 36px;
}

.qualifier-action-zone {
  margin-top: 30px;
}

.qualifier-main-cta {
  display: inline-flex;

  min-height: 58px;

  align-items: center;
  justify-content: center;

  gap: 12px;

  padding:
    0
    28px;

  border-radius: 999px;

  background: var(--accent);
  color: #08090a;

  font-size: 0.9rem;
  font-weight: 900;

  letter-spacing: 0.04em;

  text-decoration: none;

  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.qualifier-main-cta-icon {
  display: inline-flex;

  width: 26px;
  height: 26px;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    rgba(
      0,
      0,
      0,
      0.12
    );

  font-size: 0.72rem;
}

@media (hover: hover) and (pointer: fine) {
  .qualifier-main-cta:hover {
    transform:
      translateY(-2px);

    box-shadow:
      0
      10px
      30px
      rgba(
        205,
        255,
        30,
        0.18
      );
  }
}

.qualifier-note {
  margin-top: 12px;

  color: var(--muted);

  font-size: 0.78rem;
}

.qualifier-complete,
.qualifier-empty {
  max-width: 620px;

  margin-top: 34px;

  padding: 30px;

  border:
    1px solid
    var(--border);

  border-radius: 18px;

  background:
    rgba(
      14,
      16,
      18,
      0.78
    );
}

.qualifier-complete-kicker {
  display: block;

  margin-bottom: 8px;

  color: var(--accent);

  font-size: 0.7rem;
  font-weight: 900;

  letter-spacing: 0.12em;
}

.qualifier-complete strong,
.qualifier-empty strong {
  display: block;

  font-size: 1.35rem;
}

.qualifier-complete p {
  margin:
    10px
    0
    0;

  color: var(--muted);
}

@media (max-width: 720px) {
  .qualifiers-page h1 {
    font-size:
      clamp(
        2.8rem,
        14vw,
        4.2rem
      );
  }

  .qualifier-progress-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .qualifier-main-cta {
    width: 100%;
  }
}

/* ==========================================================
   BATTLE TOPBAR
   ========================================================== */

.battle-topbar {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  width: 100%;

  margin-bottom: 8px;
  padding-bottom: 14px;

  border-bottom:
    1px solid
    rgba(
      255,
      255,
      255,
      0.10
    );
}

.battle-back-link {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  color:
    rgba(
      255,
      255,
      255,
      0.68
    );

  font-size: 0.72rem;
  font-weight: 800;

  letter-spacing: 0.08em;

  text-decoration: none;

  transition:
    color 0.16s ease,
    transform 0.16s ease;
}

@media (hover: hover) and (pointer: fine) {
  .battle-back-link:hover {
    color: var(--accent);

    transform:
      translateX(-2px);
  }
}

.battle-context {
  display: flex;

  align-items: center;

  gap: 10px;
}

.battle-context-badge {
  display: inline-flex;

  min-height: 28px;

  align-items: center;
  justify-content: center;

  padding:
    0
    11px;

  border:
    1px solid
    rgba(
      205,
      255,
      30,
      0.45
    );

  border-radius: 999px;

  background:
    rgba(
      205,
      255,
      30,
      0.07
    );

  color: var(--accent);

  font-size: 0.64rem;
  font-weight: 900;

  letter-spacing: 0.10em;
}

.battle-context-match {
  color:
    rgba(
      255,
      255,
      255,
      0.48
    );

  font-size: 0.68rem;
  font-weight: 800;

  letter-spacing: 0.08em;
}

@media (max-width: 640px) {
  .battle-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .battle-context {
    width: 100%;

    justify-content: space-between;
  }
}

/* ==========================================================
   BATTLE COUNTDOWN POSITION FIX
   Countdown must overlay the stage, not push playback down.
   ========================================================== */

.battle-stage {
  position: relative !important;
}

/*
 * Support the countdown selectors used across
 * the battle iterations.
 */
.battle-countdown,
.battle-countdown-overlay,
.countdown-overlay,
#battle-countdown,
[data-battle-countdown] {
  position: absolute !important;
  z-index: 40 !important;

  top: 62px !important;
  right: 0 !important;
  left: 0 !important;

  width: 100% !important;
  height: 300px !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 0 !important;
  padding: 0 !important;

  pointer-events: none !important;
}

/* Keep the countdown number large but contained */
.battle-countdown-number,
.countdown-number,
[data-countdown-number] {
  margin: 12px 0 0 !important;

  font-size:
    clamp(
      7rem,
      15vw,
      11rem
    ) !important;

  line-height: 0.82 !important;
}

/* START BATTLE / GO label */
.battle-countdown-label,
.countdown-label {
  margin-bottom: 12px !important;
}

/*
 * Playback content keeps its normal position instead
 * of being pushed below the countdown.
 */
.battle-player-stage,
.battle-playing,
.battle-now-playing {
  position: relative;
  z-index: 10;
}

/*
 * Give the actual song area a stable top position.
 */
.battle-stage-content {
  padding-top: 24px !important;
}

@media (max-height: 760px) {
  .battle-countdown,
  .battle-countdown-overlay,
  .countdown-overlay,
  #battle-countdown,
  [data-battle-countdown] {
    top: 38px !important;
    height: 230px !important;
  }

  .battle-countdown-number,
  .countdown-number,
  [data-countdown-number] {
    font-size:
      clamp(
        6rem,
        13vw,
        9rem
      ) !important;
  }
}

/* ==========================================================
   FINAL BATTLE TOPBAR
   ========================================================== */

.battle-topbar {
  display: flex !important;

  align-items: center !important;
  justify-content: space-between !important;

  width: 100% !important;

  gap: 20px !important;

  margin: 0 0 18px !important;
  padding: 0 0 14px !important;

  border-bottom:
    1px solid
    rgba(
      255,
      255,
      255,
      0.10
    ) !important;
}

.battle-back-link {
  display: inline-flex !important;

  align-items: center !important;

  gap: 8px !important;

  color:
    rgba(
      255,
      255,
      255,
      0.66
    ) !important;

  font-size: 0.68rem !important;
  font-weight: 800 !important;

  letter-spacing: 0.10em !important;

  text-decoration: none !important;

  text-transform: uppercase !important;

  transition:
    color 0.16s ease,
    transform 0.16s ease !important;
}

.battle-back-link:visited {
  color:
    rgba(
      255,
      255,
      255,
      0.66
    ) !important;
}

@media (hover: hover) and (pointer: fine) {
  .battle-back-link:hover {
    color: var(--accent) !important;

    transform:
      translateX(-2px);
  }
}

.battle-context {
  display: flex !important;

  align-items: center !important;

  gap: 10px !important;
}

.battle-context-badge {
  display: inline-flex !important;

  min-height: 28px !important;

  align-items: center !important;
  justify-content: center !important;

  padding:
    0
    12px !important;

  border:
    1px solid
    rgba(
      205,
      255,
      30,
      0.46
    ) !important;

  border-radius: 999px !important;

  background:
    rgba(
      205,
      255,
      30,
      0.08
    ) !important;

  color: var(--accent) !important;

  font-size: 0.62rem !important;
  font-weight: 900 !important;

  letter-spacing: 0.11em !important;

  text-transform: uppercase !important;
}

.battle-context-match {
  color:
    rgba(
      255,
      255,
      255,
      0.42
    ) !important;

  font-size: 0.64rem !important;
  font-weight: 800 !important;

  letter-spacing: 0.10em !important;

  text-transform: uppercase !important;
}

@media (max-width: 640px) {
  .battle-topbar {
    align-items: flex-start !important;
    flex-direction: column !important;

    gap: 10px !important;
  }

  .battle-context {
    width: 100% !important;

    justify-content: space-between !important;
  }
}

/* ==========================================================
   DYNAMIC TOURNAMENT BRACKET
   Supports 4 / 8 / 16
   ========================================================== */

.tournament-bracket.bracket-size-4 {
  grid-template-columns:
    minmax(300px, 1fr)
    70px
    minmax(300px, 1fr);
}

.tournament-bracket.bracket-size-8 {
  grid-template-columns:
    minmax(280px, 1fr)
    70px
    minmax(280px, 1fr)
    70px
    minmax(280px, 1fr);
}

.tournament-bracket.bracket-size-16 {
  grid-template-columns:
    minmax(260px, 1fr)
    60px
    minmax(260px, 1fr)
    60px
    minmax(260px, 1fr)
    60px
    minmax(260px, 1fr);
}

/*
 * Generic connectors:
 * subtle horizontal bridge between rounds.
 * The exact tree geometry can be refined later,
 * but the layout now follows actual round names.
 */
.tournament-bracket
.bracket-connectors {
  position: relative;
}

.tournament-bracket
.bracket-connectors::after {
  content: "";

  position: absolute;

  top: 50%;
  right: 0;
  left: 0;

  height: 1px;

  background:
    rgba(
      255,
      255,
      255,
      0.16
    );
}

/* Semifinals naturally sit closer to center */
.bracket-sf-stack {
  justify-content: space-around;
}

/* Final centered vertically */
.bracket-final-stack {
  display: flex;

  height: 100%;

  align-items: center;
}

/* 16-track brackets need horizontal space */
@media (max-width: 1180px) {
  .tournament-bracket.bracket-size-16 {
    overflow-x: auto;

    grid-template-columns:
      260px
      60px
      260px
      60px
      260px
      60px
      280px;

    padding-bottom: 20px;
  }
}

@media (max-width: 980px) {
  .tournament-bracket.bracket-size-8 {
    overflow-x: auto;

    grid-template-columns:
      280px
      60px
      280px
      60px
      280px;

    padding-bottom: 20px;
  }
}

@media (max-width: 760px) {
  .tournament-bracket.bracket-size-4,
  .tournament-bracket.bracket-size-8,
  .tournament-bracket.bracket-size-16 {
    display: flex;

    flex-direction: column;

    gap: 34px;

    overflow: visible;
  }

  .tournament-bracket
  .bracket-connectors {
    display: none;
  }
}

/* ==========================================================
   ARENA COMMUNITY VOTE PROGRESS
   ========================================================== */

.arena-community-progress {
  margin-top: 22px;

  padding:
    16px
    18px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.08
    );

  border-radius: 14px;

  background:
    rgba(
      255,
      255,
      255,
      0.025
    );
}

.arena-community-progress-copy {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 16px;

  margin-bottom: 10px;
}

.arena-community-progress-copy strong {
  color: var(--text);

  font-size: 0.72rem;
  font-weight: 900;

  letter-spacing: 0.09em;
}

.arena-community-progress-copy span {
  color:
    rgba(
      255,
      255,
      255,
      0.48
    );

  font-size: 0.72rem;
  font-weight: 700;
}

.arena-community-progress-track {
  position: relative;

  width: 100%;
  height: 7px;

  overflow: hidden;

  border-radius: 999px;

  background:
    rgba(
      255,
      255,
      255,
      0.08
    );
}

.arena-community-progress-fill {
  height: 100%;

  border-radius: inherit;

  background: var(--accent);

  transition:
    width 0.3s ease;
}

@media (max-width: 640px) {
  .arena-community-progress-copy {
    align-items: flex-start;
    flex-direction: column;

    gap: 5px;
  }
}

/* ==========================================================
   GLOBAL SEASON CLOCK
   ========================================================== */

.season-clock {
  position: relative;

  z-index: 30;

  border-top:
    1px solid
    rgba(
      255,
      255,
      255,
      0.04
    );

  border-bottom:
    1px solid
    rgba(
      255,
      255,
      255,
      0.08
    );

  background:
    rgba(
      9,
      9,
      11,
      0.92
    );

  backdrop-filter:
    blur(14px);

  -webkit-backdrop-filter:
    blur(14px);
}

.season-clock-inner {
  display: flex;

  max-width: 1180px;

  margin: 0 auto;

  padding:
    10px
    24px;

  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.season-clock-state {
  display: flex;

  min-width: 0;

  align-items: center;

  gap: 10px;
}

.season-clock-live-dot {
  width: 7px;
  height: 7px;

  flex: 0 0 auto;

  border-radius: 50%;

  background: var(--accent);

  box-shadow:
    0
    0
    14px
    rgba(
      217,
      255,
      67,
      0.7
    );
}

.season-clock-state strong {
  color: var(--accent);

  font-size: 0.68rem;
  font-weight: 900;

  letter-spacing: 0.11em;

  white-space: nowrap;
}

.season-clock-name {
  overflow: hidden;

  color:
    rgba(
      255,
      255,
      255,
      0.50
    );

  font-size: 0.68rem;
  font-weight: 700;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.season-clock-time {
  flex: 0 0 auto;

  color: var(--text);

  font-size: 0.72rem;
  font-weight: 900;

  letter-spacing: 0.10em;

  font-variant-numeric:
    tabular-nums;
}

.season-clock-event-driven {
  color:
    rgba(
      255,
      255,
      255,
      0.54
    );
}

@media (max-width: 720px) {
  .season-clock-inner {
    padding:
      9px
      16px;
  }

  .season-clock-name {
    display: none;
  }
}

/* ==========================================================
   ARENA DAILY DROPS
   ========================================================== */

.arena-drop-summary {
  display: flex;

  align-items: center;

  gap: 20px;

  margin:
    26px
    0
    30px;

  padding:
    14px
    18px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.08
    );

  border-radius: 14px;

  background:
    rgba(
      255,
      255,
      255,
      0.025
    );
}

.arena-drop-summary-item {
  display: flex;

  flex-direction: column;

  gap: 3px;
}

.arena-drop-summary-item span {
  color:
    rgba(
      255,
      255,
      255,
      0.42
    );

  font-size: 0.62rem;
  font-weight: 800;

  letter-spacing: 0.10em;
}

.arena-drop-summary-item strong {
  color: var(--text);

  font-size: 0.82rem;
  font-weight: 900;

  letter-spacing: 0.06em;

  font-variant-numeric:
    tabular-nums;
}

.arena-drop-summary-divider {
  width: 1px;
  height: 30px;

  background:
    rgba(
      255,
      255,
      255,
      0.10
    );
}

.arena-drop-dev-badge {
  margin-left: auto;

  padding:
    5px
    9px;

  border:
    1px solid
    rgba(
      255,
      196,
      0,
      0.35
    );

  border-radius: 999px;

  color:
    rgba(
      255,
      214,
      92,
      0.82
    );

  font-size: 0.58rem;
  font-weight: 900;

  letter-spacing: 0.08em;
}

.arena-match-badges {
  display: flex;

  align-items: center;

  gap: 8px;
}

.arena-drop-badge {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 26px;

  padding:
    0
    9px;

  border-radius: 999px;

  font-size: 0.58rem;
  font-weight: 900;

  letter-spacing: 0.09em;
}

.arena-drop-unlocked {
  border:
    1px solid
    rgba(
      217,
      255,
      67,
      0.40
    );

  color: var(--accent);

  background:
    rgba(
      217,
      255,
      67,
      0.06
    );
}

.arena-drop-locked {
  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.12
    );

  color:
    rgba(
      255,
      255,
      255,
      0.45
    );

  background:
    rgba(
      255,
      255,
      255,
      0.03
    );
}

.arena-drop-lock-copy {
  margin-top: 14px;

  color:
    rgba(
      255,
      255,
      255,
      0.45
    );

  font-size: 0.68rem;
  font-weight: 800;

  letter-spacing: 0.07em;
}

.arena-drop-lock-copy span {
  color:
    rgba(
      255,
      214,
      92,
      0.65
    );
}

@media (max-width: 640px) {
  .arena-drop-summary {
    align-items: flex-start;
    flex-direction: column;

    gap: 12px;
  }

  .arena-drop-summary-divider {
    width: 100%;
    height: 1px;
  }

  .arena-drop-dev-badge {
    margin-left: 0;
  }
}

/* ==========================================================
   ARENA PERSONAL ACTIVITY
   ========================================================== */

.arena-personal-state {
  display: flex;
  flex-direction: column;
  gap: 4px;

  margin:
    24px
    0
    10px;

  padding:
    18px
    20px;

  border:
    1px solid
    rgba(
      217,
      255,
      67,
      0.16
    );

  border-radius: 16px;

  background:
    linear-gradient(
      135deg,
      rgba(
        217,
        255,
        67,
        0.055
      ),
      rgba(
        255,
        255,
        255,
        0.018
      )
    );
}

.arena-personal-kicker {
  color: var(--accent);

  font-size: 0.62rem;
  font-weight: 900;

  letter-spacing: 0.12em;
}

.arena-personal-state strong {
  color: var(--text);

  font-size: 1rem;
  font-weight: 900;

  letter-spacing: 0.035em;

  font-variant-numeric:
    tabular-nums;
}

.arena-personal-state small {
  color:
    rgba(
      255,
      255,
      255,
      0.46
    );

  font-size: 0.7rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .arena-personal-state {
    padding:
      16px;
  }
}



/* ==========================================================
   UNIFIED WEEK CONTEXT
   ========================================================== */

.season-clock-meta {
  display: flex;

  align-items: center;

  gap: 14px;
}

.season-clock-caption {
  color:
    rgba(
      255,
      255,
      255,
      0.38
    );

  font-size: 0.58rem;
  font-weight: 800;

  letter-spacing: 0.10em;
}

.season-clock-dev {
  display: inline-flex;

  align-items: center;

  padding:
    3px
    6px;

  border:
    1px solid
    rgba(
      255,
      214,
      92,
      0.30
    );

  border-radius: 999px;

  color:
    rgba(
      255,
      214,
      92,
      0.72
    );

  font-size: 0.52rem;
  font-weight: 900;

  letter-spacing: 0.08em;
}

.season-clock-next-drop {
  display: flex;

  align-items: center;

  gap: 7px;

  padding-left: 14px;

  border-left:
    1px solid
    rgba(
      255,
      255,
      255,
      0.10
    );

  color:
    rgba(
      255,
      255,
      255,
      0.38
    );

  font-size: 0.58rem;
  font-weight: 800;

  letter-spacing: 0.09em;
}

.season-clock-next-drop strong {
  color: var(--text);

  font-size: 0.68rem;

  font-variant-numeric:
    tabular-nums;
}

@media (max-width: 720px) {
  .season-clock-next-drop {
    display: none;
  }

  .season-clock-meta {
    gap: 8px;
  }
}

/* ==========================================================
   ARENA ACCESS GATE STATE
   ========================================================== */

.arena-access-badge {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 26px;

  padding:
    0
    9px;

  border-radius: 999px;

  font-size: 0.58rem;
  font-weight: 900;

  letter-spacing: 0.08em;
}

.arena-access-open {
  border:
    1px solid
    rgba(
      217,
      255,
      67,
      0.42
    );

  color: var(--accent);

  background:
    rgba(
      217,
      255,
      67,
      0.07
    );
}

.arena-access-dev {
  border:
    1px solid
    rgba(
      255,
      214,
      92,
      0.38
    );

  color:
    rgba(
      255,
      214,
      92,
      0.86
    );

  background:
    rgba(
      255,
      214,
      92,
      0.05
    );
}

.arena-access-locked {
  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.13
    );

  color:
    rgba(
      255,
      255,
      255,
      0.48
    );

  background:
    rgba(
      255,
      255,
      255,
      0.025
    );
}

.arena-access-closed {
  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.08
    );

  color:
    rgba(
      255,
      255,
      255,
      0.30
    );

  background:
    rgba(
      255,
      255,
      255,
      0.015
    );
}

.arena-access-copy {
  margin-top: 14px;

  color:
    rgba(
      255,
      255,
      255,
      0.42
    );

  font-size: 0.68rem;
  font-weight: 800;

  letter-spacing: 0.07em;
}

/* ==========================================================
   ARENA GATE NOTICE
   ========================================================== */

.arena-gate-notice {
  display: flex;

  align-items: center;

  gap: 14px;

  margin:
    20px
    0
    24px;

  padding:
    14px
    16px;

  border:
    1px solid
    rgba(
      255,
      214,
      92,
      0.25
    );

  border-radius: 14px;

  background:
    rgba(
      255,
      214,
      92,
      0.045
    );
}

.arena-gate-notice-icon {
  display: flex;

  width: 30px;
  height: 30px;

  flex: 0 0 auto;

  align-items: center;
  justify-content: center;

  border:
    1px solid
    rgba(
      255,
      214,
      92,
      0.35
    );

  border-radius: 50%;

  color:
    rgba(
      255,
      214,
      92,
      0.90
    );

  font-size: 0.8rem;
  font-weight: 900;
}

.arena-gate-notice-copy {
  display: flex;

  min-width: 0;

  flex-direction: column;

  gap: 3px;
}

.arena-gate-notice-copy span {
  color:
    rgba(
      255,
      214,
      92,
      0.88
    );

  font-size: 0.62rem;
  font-weight: 900;

  letter-spacing: 0.10em;
}

.arena-gate-notice-copy strong {
  color:
    rgba(
      255,
      255,
      255,
      0.76
    );

  font-size: 0.78rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .arena-gate-notice {
    align-items: flex-start;
  }
}

/* ==========================================================
   SUBMIT WEEK ROUTING
   ========================================================== */

.submit-week-routing {
  margin:
    0
    0
    26px;

  padding:
    18px
    20px;

  border:
    1px solid
    rgba(
      217,
      255,
      67,
      0.18
    );

  border-radius: 16px;

  background:
    linear-gradient(
      135deg,
      rgba(
        217,
        255,
        67,
        0.05
      ),
      rgba(
        255,
        255,
        255,
        0.015
      )
    );
}

.submit-week-routing-head {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin-bottom: 14px;
}

.submit-open-badge {
  display: inline-flex;

  align-items: center;

  min-height: 26px;

  padding:
    0
    9px;

  border:
    1px solid
    rgba(
      217,
      255,
      67,
      0.40
    );

  border-radius: 999px;

  color: var(--accent);

  background:
    rgba(
      217,
      255,
      67,
      0.06
    );

  font-size: 0.58rem;
  font-weight: 900;

  letter-spacing: 0.10em;
}

.submit-week-phase {
  color:
    rgba(
      255,
      255,
      255,
      0.40
    );

  font-size: 0.60rem;
  font-weight: 800;

  letter-spacing: 0.10em;
}

.submit-week-routing-copy {
  display: flex;

  flex-direction: column;

  gap: 5px;
}

.submit-week-routing-copy > span {
  color:
    rgba(
      255,
      255,
      255,
      0.42
    );

  font-size: 0.62rem;
  font-weight: 800;

  letter-spacing: 0.10em;
}

.submit-week-routing-copy strong {
  color: var(--text);

  font-size: 1rem;
  font-weight: 900;

  letter-spacing: 0.035em;
}

.submit-week-routing-copy p {
  max-width: 620px;

  margin:
    4px
    0
    0;

  color:
    rgba(
      255,
      255,
      255,
      0.52
    );

  font-size: 0.75rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .submit-week-routing-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ==========================================================
   QUALIFIERS — UP NEXT
   ========================================================== */

.qualifier-up-next {
  margin-top: 28px;

  padding: 20px;

  border:
    1px solid
    rgba(
      217,
      255,
      67,
      0.16
    );

  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(
        217,
        255,
        67,
        0.045
      ),
      rgba(
        255,
        255,
        255,
        0.015
      )
    );
}

.qualifier-up-next-head {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin-bottom: 18px;
}

.qualifier-up-next-head > span {
  color:
    rgba(
      255,
      255,
      255,
      0.40
    );

  font-size: 0.62rem;
  font-weight: 900;

  letter-spacing: 0.12em;
}

.qualifier-up-next-head > strong {
  padding:
    5px
    9px;

  border:
    1px solid
    rgba(
      217,
      255,
      67,
      0.35
    );

  border-radius: 999px;

  color: var(--accent);

  font-size: 0.56rem;
  font-weight: 900;

  letter-spacing: 0.09em;
}

.qualifier-up-next-main {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 28px;
}

.qualifier-up-next-kicker {
  color: var(--accent);

  font-size: 0.64rem;
  font-weight: 900;

  letter-spacing: 0.10em;
}

.qualifier-up-next h2 {
  margin:
    4px
    0
    6px;

  font-size: 1.35rem;
}

.qualifier-up-next p {
  max-width: 520px;

  margin: 0;

  color:
    rgba(
      255,
      255,
      255,
      0.48
    );

  font-size: 0.76rem;
  line-height: 1.5;
}

.qualifier-up-next-count {
  display: flex;

  flex: 0 0 auto;

  flex-direction: column;

  align-items: flex-end;
}

.qualifier-up-next-count strong {
  color: var(--text);

  font-size: 1.6rem;
  font-weight: 900;
}

.qualifier-up-next-count span {
  color:
    rgba(
      255,
      255,
      255,
      0.42
    );

  font-size: 0.68rem;
  font-weight: 700;
}

.qualifier-up-next-submit {
  display: inline-flex;

  margin-top: 18px;

  color: var(--accent);

  font-size: 0.66rem;
  font-weight: 900;

  letter-spacing: 0.09em;

  text-decoration: none;
}

@media (max-width: 640px) {
  .qualifier-up-next-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .qualifier-up-next-count {
    align-items: flex-start;
  }
}


/* ==========================================================
   BATTLE PLAYBACK RELIABILITY
   hidden state must always beat countdown overlay rules.
   ========================================================== */

#battle-countdown[hidden],
.battle-countdown[hidden] {
  display: none !important;
}

.battle-playback-fallback {
  margin-top: 14px;
  padding: 12px 22px;

  border: 1px solid var(--accent);
  border-radius: 999px;

  background: var(--accent);
  color: #090a0b;

  font-weight: 900;
  letter-spacing: 0.03em;

  cursor: pointer;
}

.battle-playback-fallback[hidden] {
  display: none !important;
}


/* ==========================================================
   BATTLE STATE VISIBILITY
   Only one primary battle state may be visible at a time.
   ========================================================== */

#battle-countdown[hidden],
#battle-playing[hidden],
#battle-transition[hidden],
#battle-voting[hidden] {
  display: none !important;
}

/* ==========================================================
   BATTLE COUNTDOWN GAME FX
   ========================================================== */

.battle-countdown {
  opacity: 1;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    filter 0.35s ease;
}

.battle-countdown.is-leaving {
  opacity: 0;
  transform: scale(1.08);
  filter: blur(8px);
}

.battle-countdown-spinner {
  position: relative;

  display: grid;
  width: clamp(180px, 28vw, 310px);
  aspect-ratio: 1;

  margin-top: 18px;

  place-items: center;
}

.battle-countdown-spinner::before,
.battle-countdown-spinner::after {
  content: "";

  position: absolute;
  inset: 0;

  border-radius: 50%;
}

.battle-countdown-spinner::before {
  border:
    4px solid
    rgba(255, 255, 255, 0.08);

  border-top-color:
    var(--accent);

  border-right-color:
    var(--accent);

  animation:
    battle-countdown-spin
    0.9s linear infinite;
}

.battle-countdown-spinner::after {
  inset: 13px;

  border:
    1px solid
    rgba(205, 255, 30, 0.34);

  animation:
    battle-countdown-spin-reverse
    1.45s linear infinite;
}

.battle-countdown-number {
  position: relative;
  z-index: 2;

  margin: 0;

  font-size:
    clamp(6rem, 15vw, 11rem);

  text-shadow:
    0 0 28px
    rgba(205, 255, 30, 0.18);
}

.battle-countdown-number.is-pulsing {
  animation:
    battle-countdown-pulse
    0.32s ease-out;
}

.battle-countdown-number.is-go {
  font-size:
    clamp(4.8rem, 12vw, 9rem);
}

@keyframes battle-countdown-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes battle-countdown-spin-reverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes battle-countdown-pulse {
  0% {
    opacity: 0.45;
    transform: scale(0.72);
  }

  55% {
    opacity: 1;
    transform: scale(1.12);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .battle-countdown,
  .battle-countdown-spinner::before,
  .battle-countdown-spinner::after,
  .battle-countdown-number {
    animation: none !important;
    transition: none !important;
  }
}


/* ==========================================================
   MOBILE FOUNDATION V1
   320px+ responsive shell.
   Horizontal page scrolling is never part of the UI.
   ========================================================== */

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

main,
header,
nav,
section,
article,
.game-home,
.game-hero,
.game-hero-copy,
.game-hero-battle,
.game-hero-versus,
.game-hero-fighter,
.game-how,
.game-steps,
.game-battles,
.game-battle-grid,
.game-battle-preview,
.game-battle-info,
.arena-lobby,
.arena-match-stack,
.arena-match-card,
.arena-matchup,
.arena-competitor {
  min-width: 0;
}


/* ==========================================================
   GLOBAL NAVIGATION
   ========================================================== */

.site-nav {
  display: flex;
  width: min(
    1180px,
    calc(100% - 40px)
  );

  margin: 0 auto;

  align-items: center;
  justify-content: space-between;

  gap: 28px;
}

.site-brand {
  flex: 0 0 auto;

  font-weight: 950;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.site-nav-desktop {
  display: flex;

  min-width: 0;

  align-items: center;
  justify-content: flex-end;

  gap: clamp(
    16px,
    2.2vw,
    30px
  );
}

.site-nav-desktop a {
  white-space: nowrap;
}

.site-nav-mobile {
  display: none;
}


/* ==========================================================
   MOBILE CORE
   ========================================================== */

@media (max-width: 760px) {

  body {
    overflow-x: hidden;
  }

  main {
    width: 100%;
    max-width: 100%;
  }


  /* ---------- navigation ---------- */

  .site-nav {
    position: relative;

    width: 100%;
    max-width: 100%;

    padding:
      12px
      16px;

    gap: 12px;
  }

  .site-brand {
    font-size: 1.05rem;
  }

  .site-nav-desktop {
    display: none;
  }

  .site-nav-mobile {
    position: relative;

    display: block;

    margin-left: auto;
  }

  .site-nav-mobile summary {
    display: inline-flex;

    min-height: 44px;

    padding:
      0
      13px;

    align-items: center;
    justify-content: center;

    gap: 8px;

    border:
      1px solid
      var(--border);

    border-radius: 999px;

    background:
      rgba(
        255,
        255,
        255,
        0.035
      );

    color: var(--text);

    font-size: 0.72rem;
    font-weight: 900;

    letter-spacing: 0.08em;

    cursor: pointer;

    list-style: none;
  }

  .site-nav-mobile summary::-webkit-details-marker {
    display: none;
  }

  .site-nav-mobile-panel {
    position: absolute;

    z-index: 100;

    top: calc(100% + 8px);
    right: 0;

    display: grid;

    width:
      min(
        240px,
        calc(100vw - 32px)
      );

    padding: 8px;

    gap: 3px;

    border:
      1px solid
      var(--border);

    border-radius: 18px;

    background:
      rgba(
        12,
        12,
        14,
        0.98
      );

    box-shadow:
      0 20px 60px
      rgba(
        0,
        0,
        0,
        0.45
      );
  }

  .site-nav-mobile-panel a {
    display: flex;

    min-height: 44px;

    padding:
      0
      13px;

    align-items: center;

    border-radius: 12px;

    text-decoration: none;
  }

  .site-nav-mobile-panel a:hover {
    background:
      rgba(
        255,
        255,
        255,
        0.05
      );
  }


  /* ---------- global season clock ---------- */

  .season-clock,
  .season-clock-inner {
    width: 100%;
    max-width: 100%;
  }

  .season-clock-inner {
    padding:
      9px
      16px;

    gap: 8px;

    flex-wrap: wrap;
  }

  .season-clock-state,
  .season-clock-meta {
    min-width: 0;

    flex-wrap: wrap;
  }


  /* ---------- home shell ---------- */

  .game-home {
    width: 100%;
    max-width: 100%;

    overflow-x: hidden;
  }

  .game-hero {
    width: 100%;
    max-width: 100%;

    min-height: 0;

    padding:
      42px
      16px
      38px;

    grid-template-columns:
      minmax(0, 1fr) !important;

    gap: 34px;
  }

  .game-hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .game-season-badge {
    max-width: 100%;

    white-space: normal;
  }

  .game-hero-copy h1 {
    width: 100%;
    max-width: 100%;

    margin:
      12px
      0;

    font-size:
      clamp(
        3rem,
        15.5vw,
        5.4rem
      );

    line-height: 0.88;

    letter-spacing: -0.075em;

    white-space: nowrap;
  }

  .game-hero-tagline {
    font-size:
      clamp(
        1.45rem,
        7vw,
        2.1rem
      );
  }

  .game-hero-manifesto {
    max-width: 34rem;

    font-size: 1rem;
    line-height: 1.55;
  }

  .game-play-button {
    width:
      min(
        100%,
        360px
      );

    min-width: 0;

    min-height: 52px;

    justify-content: center;
  }


  /* ---------- featured battle ---------- */

  .game-hero-battle {
    width: 100%;
    max-width: 100%;

    min-width: 0;
  }

  .game-hero-versus {
    display: grid;

    width: 100%;

    grid-template-columns:
      minmax(0, 1fr) !important;

    gap: 14px;
  }

  .game-big-vs {
    text-align: center;
  }

  .game-hero-fighter {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .game-hero-fighter > div {
    min-width: 0;
  }

  .game-hero-fighter strong,
  .game-hero-fighter small {
    overflow-wrap: anywhere;
  }


  /* ---------- how to play ---------- */

  .game-how,
  .game-battles {
    width: 100%;
    max-width: 100%;

    padding-left: 16px;
    padding-right: 16px;
  }

  .game-section-heading {
    min-width: 0;
  }

  .game-section-heading h2 {
    font-size:
      clamp(
        2rem,
        10vw,
        3.3rem
      );

    overflow-wrap: anywhere;
  }

  .game-steps {
    display: grid;

    width: 100%;

    grid-template-columns:
      minmax(0, 1fr) !important;

    gap: 12px;
  }

  .game-step-arrow {
    display: none;
  }

  .game-steps article {
    width: 100%;
    min-width: 0;
  }


  /* ---------- home current battles ---------- */

  .game-heading-row {
    align-items: flex-start;

    flex-direction: column;

    gap: 12px;
  }

  .game-battle-grid {
    grid-template-columns:
      minmax(0, 1fr) !important;
  }

  .game-battle-preview {
    width: 100%;
    min-width: 0;
  }

  .game-battle-images {
    width: 100%;
    min-width: 0;
  }

  .game-battle-images img {
    min-width: 0;
  }

  .game-battle-info {
    min-width: 0;
  }

  .game-battle-info > strong {
    white-space: normal;

    overflow-wrap: anywhere;

    text-overflow: clip;
  }


  /* ========================================================
     ARENA
     ======================================================== */

  .arena-lobby {
    width: 100%;
    max-width: 100%;

    padding-left: 16px;
    padding-right: 16px;
  }

  .arena-lobby > h1 {
    max-width: 100%;

    font-size:
      clamp(
        3rem,
        16vw,
        5.5rem
      );

    overflow-wrap: anywhere;
  }

  .arena-personal-state,
  .arena-drop-summary,
  .arena-match-stack,
  .arena-match-card {
    width: 100%;
    max-width: 100%;

    min-width: 0;
  }

  .arena-drop-summary {
    display: grid;

    grid-template-columns:
      minmax(0, 1fr);

    gap: 12px;
  }

  .arena-drop-summary-divider {
    width: 100%;
    height: 1px;
  }

  .arena-match-head {
    align-items: flex-start;

    flex-direction: column;

    gap: 12px;
  }

  .arena-match-badges {
    display: flex;

    width: 100%;

    flex-wrap: wrap;

    gap: 6px;
  }

  .arena-matchup {
    grid-template-columns:
      minmax(0, 1fr) !important;

    gap: 16px;
  }

  .arena-versus {
    margin: 2px 0;

    text-align: center;
  }

  .arena-competitor {
    width: 100%;
    max-width: 100%;

    min-width: 0;
  }

  .arena-competitor img {
    width: 100%;
    max-width: 100%;

    height: auto;
  }

  .arena-competitor h2,
  .arena-competitor p {
    max-width: 100%;

    overflow-wrap: anywhere;
  }

  .arena-start-row {
    width: 100%;
  }

  .arena-start-battle {
    width: 100%;
    max-width: 360px;

    min-width: 0;

    min-height: 48px;
  }
}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 480px) {

  .game-hero {
    padding-top: 32px;
  }

  .game-hero-copy h1 {
    font-size:
      clamp(
        2.8rem,
        15vw,
        4.6rem
      );
  }

  .game-hero-fighter {
    align-items: flex-start;
  }

  .season-clock-inner {
    align-items: flex-start;

    flex-direction: column;
  }

  .season-clock-meta {
    width: 100%;
  }
}


/* ==========================================================
   VERY SMALL MOBILE
   ========================================================== */

@media (max-width: 360px) {

  .site-nav {
    padding-left: 12px;
    padding-right: 12px;
  }

  .game-hero,
  .game-how,
  .game-battles,
  .arena-lobby {
    padding-left: 12px;
    padding-right: 12px;
  }

  .game-hero-copy h1 {
    font-size: 2.75rem;
  }
}


/* ==========================================================
   MOBILE HERO TITLE + SEASON CLOCK REFINEMENT
   ========================================================== */

@media (max-width: 760px) {

  /* Hero title becomes an intentional two-line lockup. */
  .game-hero-copy h1 {
    width: 100%;
    max-width: 100%;

    white-space: normal;

    font-size:
      clamp(
        3.2rem,
        18vw,
        5.2rem
      );

    line-height: 0.78;
    letter-spacing: -0.075em;

    overflow: visible;
  }

  .game-hero-copy h1 span {
    display: block;
  }


  /* Keep global clock/status on one useful mobile row. */
  .season-clock-inner {
    display: grid;

    grid-template-columns:
      minmax(0, 1fr)
      auto;

    align-items: center;

    padding:
      8px
      16px;

    gap:
      8px
      12px;
  }

  .season-clock-state {
    min-width: 0;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 6px;
  }

  .season-clock-meta {
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 6px;

    text-align: right;
  }

  .season-clock-event-driven,
  [data-season-countdown] {
    white-space: nowrap;
  }

  .season-clock-next-drop {
    grid-column:
      1 / -1;
  }
}


@media (max-width: 480px) {

  /* Override the earlier vertical clock rule. */
  .season-clock-inner {
    flex-direction: initial;

    display: grid;

    grid-template-columns:
      minmax(0, 1fr)
      auto;

    align-items: center;
  }

  .season-clock-meta {
    width: auto;
  }

  .game-hero-copy h1 {
    font-size:
      clamp(
        3rem,
        17vw,
        4.6rem
      );
  }
}


@media (max-width: 360px) {

  .season-clock-inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .game-hero-copy h1 {
    font-size: 2.9rem;
  }
}


/* ==========================================================
   MOBILE HERO REFINEMENT V2
   Keep the SynthArena wordmark intact on one line.
   ========================================================== */

@media (max-width: 760px) {

  .game-hero {
    padding-top: 28px;
    gap: 26px;
  }

  .game-hero-copy {
    width: 100%;
  }

  .game-season-badge {
    width: fit-content;
    max-width: 100%;

    padding:
      7px
      10px;

    font-size: 0.68rem;
    line-height: 1.25;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .game-hero-copy > .eyebrow {
    margin-top: 24px;
    margin-bottom: 10px;
  }

  .game-hero-copy h1 {
    display: block;

    width: 100%;
    max-width: 100%;

    margin:
      0
      0
      22px;

    font-size:
      clamp(
        2.85rem,
        13.1vw,
        4.15rem
      );

    line-height: 0.9;
    letter-spacing: -0.075em;

    white-space: nowrap;
  }

  .game-hero-copy h1 span {
    display: inline;
  }

  .game-hero-tagline {
    margin:
      0
      0
      10px;

    font-size:
      clamp(
        1.5rem,
        6.4vw,
        2rem
      );

    line-height: 1.05;
  }

  .game-hero-manifesto {
    max-width: 330px;

    margin:
      0
      0
      24px;

    font-size: 0.94rem;
    line-height: 1.45;
  }

  .game-play-button {
    width: 100%;
    max-width: 330px;

    min-height: 52px;

    margin-top: 0;
  }

  .game-hero-battle {
    margin-top: 4px;
  }
}


@media (max-width: 390px) {

  .game-hero-copy h1 {
    font-size:
      clamp(
        2.65rem,
        12.8vw,
        3.65rem
      );
  }
}


@media (max-width: 340px) {

  .game-hero-copy h1 {
    font-size: 2.55rem;
    letter-spacing: -0.085em;
  }
}




/* ==========================================================
   MOBILE NAV DRAWER
   ========================================================== */

.site-nav-mobile-toggle {
  display: none;
}

.mobile-drawer,
.mobile-drawer-backdrop {
  display: none;
}

@media (max-width: 760px) {

  .site-nav-mobile,
  .site-nav-mobile-panel {
    display: none !important;
  }

  .site-nav-mobile-toggle {
    display: inline-flex;

    min-height: 44px;

    padding:
      0
      14px;

    align-items: center;
    justify-content: center;

    gap: 8px;

    border:
      1px solid
      var(--border);

    border-radius: 999px;

    background:
      rgba(
        255,
        255,
        255,
        0.035
      );

    color: var(--text);

    font-size: 0.72rem;
    font-weight: 900;

    letter-spacing: 0.08em;

    cursor: pointer;
  }

  .mobile-drawer-backdrop {
    position: fixed;

    z-index: 9000;

    inset: 0;

    display: block;

    opacity: 0;

    background:
      rgba(
        0,
        0,
        0,
        0.62
      );

    backdrop-filter:
      blur(3px);

    transition:
      opacity 0.22s ease;
  }

  .mobile-drawer-backdrop[hidden] {
    display: none;
  }

  .mobile-drawer-backdrop.is-visible {
    opacity: 1;
  }

  .mobile-drawer {
    position: fixed;

    z-index: 9100;

    top: 0;
    right: 0;

    display: flex;

    width:
      min(
        86vw,
        340px
      );

    height: 100dvh;

    padding:
      18px;

    flex-direction: column;

    transform:
      translateX(100%);

    border-left:
      1px solid
      var(--border);

    background:
      #0b0c0d;

    box-shadow:
      -24px 0 70px
      rgba(
        0,
        0,
        0,
        0.5
      );

    transition:
      transform 0.24s ease;
  }

  .mobile-drawer.is-open {
    transform:
      translateX(0);
  }

  .mobile-drawer-head {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-bottom: 18px;

    border-bottom:
      1px solid
      var(--border);
  }

  .mobile-drawer-head strong {
    font-size: 1.2rem;
    letter-spacing: -0.03em;
  }

  .mobile-drawer-close {
    display: inline-flex;

    width: 44px;
    height: 44px;

    padding: 0;

    align-items: center;
    justify-content: center;

    border:
      1px solid
      var(--border);

    border-radius: 50%;

    background:
      transparent;

    color: var(--text);

    font-size: 1.5rem;

    cursor: pointer;
  }

  .mobile-drawer-nav {
    display: grid;

    width: 100%;

    margin-top: 18px;

    gap: 4px;
  }

  .mobile-drawer-nav a {
    display: flex;

    min-height: 50px;

    padding:
      0
      14px;

    align-items: center;

    border-radius: 12px;

    color: var(--text);

    font-size: 1rem;
    font-weight: 800;

    text-decoration: none;
  }

  .mobile-drawer-nav a:hover {
    background:
      rgba(
        255,
        255,
        255,
        0.05
      );
  }

  body.mobile-drawer-open {
    overflow: hidden;
  }
}


@media (prefers-reduced-motion: reduce) {

  .mobile-drawer,
  .mobile-drawer-backdrop {
    transition: none;
  }
}


/* ==========================================================
   HOME LIVE BRACKET
   Real tournament data instead of decorative placeholders.
   ========================================================== */

.home-live-bracket {
  display: grid;

  width: 100%;
  min-width: 0;

  gap: 12px;
}

.home-bracket-match {
  padding: 18px;

  border:
    1px solid
    var(--border);

  border-radius: 18px;

  background:
    rgba(
      12,
      13,
      15,
      0.88
    );
}

.home-bracket-match-head {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin-bottom: 15px;

  color: var(--accent);

  font-size: 0.68rem;
  font-weight: 900;

  letter-spacing: 0.1em;
}

.home-bracket-match-head small {
  color: var(--muted);

  font-size: 0.62rem;
  font-weight: 800;
}

.home-bracket-player {
  display: flex;

  min-width: 0;
  min-height: 46px;

  padding:
    10px
    12px;

  align-items: center;
  justify-content: space-between;

  gap: 10px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.07
    );

  border-radius: 10px;

  background:
    rgba(
      255,
      255,
      255,
      0.025
    );
}

.home-bracket-player span {
  min-width: 0;

  overflow: hidden;

  font-size: 0.88rem;
  font-weight: 800;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-bracket-player b {
  flex: 0 0 auto;

  color: var(--accent);

  font-size: 0.58rem;

  letter-spacing: 0.07em;
}

.home-bracket-player .is-tbd {
  color: var(--muted);
}

.home-bracket-vs {
  padding:
    7px
    0;

  color: var(--muted);

  font-size: 0.64rem;
  font-weight: 900;

  text-align: center;
  letter-spacing: 0.14em;
}

.home-bracket-match.is-complete {
  border-color:
    rgba(
      205,
      255,
      30,
      0.22
    );
}

.home-bracket-final-preview {
  border-color:
    rgba(
      205,
      255,
      30,
      0.45
    );
}

.home-bracket-empty {
  padding: 28px;

  border:
    1px solid
    var(--border);

  border-radius: 18px;

  color: var(--muted);

  text-align: center;
}


/* ==========================================================
   MOBILE RADIO REFINEMENT
   The cinematic scene is the visual. No giant SR radar.
   ========================================================== */

@media (max-width: 760px) {

  .game-bracket-section {
    align-items: stretch;
  }

  .home-live-bracket {
    margin-top: 6px;
  }

  .home-bracket-match {
    padding: 14px;
  }


  /*
   * Remove the oversized SR/radar block entirely
   * from the mobile composition.
   */
  .game-radio-signal {
    display: none !important;
  }

  .game-radio-section {
    display: block;

    min-height: 0;

    padding-top: 90px;
    padding-bottom: 90px;
  }

  .game-radio-copy {
    width: 100%;
    max-width: 100%;

    padding:
      22px
      18px;

    border:
      1px solid
      var(--border);

    border-radius: 20px;

    background:
      rgba(
        10,
        11,
        13,
        0.76
      );

    backdrop-filter:
      blur(8px);
  }

  .game-radio-copy::before {
    content: "●  ON AIR";

    display: block;

    margin-bottom: 16px;

    color: var(--accent);

    font-size: 0.68rem;
    font-weight: 900;

    letter-spacing: 0.12em;
  }

  .game-radio-copy h2 {
    font-size:
      clamp(
        2.4rem,
        12vw,
        4rem
      );
  }
}


@media (max-width: 480px) {

  .home-bracket-player {
    min-height: 44px;
  }

  .home-bracket-player span {
    font-size: 0.82rem;
  }

  .game-radio-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}


/* ==========================================================
   ARENA MOBILE V2
   Compact comparison-first battle cards.
   ========================================================== */

.arena-mobile-dashboard {
  width: 100%;
  min-width: 0;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 760px) {

  /* ---------- page ---------- */

  .arena-lobby {
    padding-top: 42px;
    padding-bottom: 60px;
  }

  .arena-lobby > .eyebrow {
    margin-bottom: 10px;
  }

  .arena-lobby > h1 {
    margin:
      0
      0
      12px;

    font-size:
      clamp(
        3.2rem,
        15vw,
        4.8rem
      );

    line-height: 0.9;
  }

  .arena-lobby > .page-intro {
    margin:
      0
      0
      22px;

    font-size: 1rem;
  }


  /* ---------- dashboard ---------- */

  .arena-mobile-dashboard {
    display: grid;

    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);

    gap: 10px;

    margin-bottom: 30px;
  }

  .arena-personal-state,
  .arena-drop-summary {
    margin: 0;

    min-height: 108px;

    padding:
      14px;

    border-radius: 16px;
  }

  .arena-personal-state {
    justify-content: center;
  }

  .arena-personal-state strong {
    font-size: 0.9rem;
  }

  .arena-personal-state small {
    font-size: 0.65rem;
  }

  .arena-drop-summary {
    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 6px;
  }

  .arena-drop-summary-item {
    min-width: 0;
  }

  .arena-drop-summary-item span {
    font-size: 0.54rem;
  }

  .arena-drop-summary-item strong {
    font-size: 0.75rem;

    white-space: nowrap;
  }

  .arena-drop-summary-divider {
    width: 100%;
    height: 1px;

    margin:
      2px
      0;
  }

  .arena-drop-dev-badge {
    width: fit-content;

    margin:
      2px
      0
      0;

    padding:
      3px
      7px;

    font-size: 0.48rem;
  }


  /* ---------- match stack ---------- */

  .arena-match-stack {
    display: grid;

    gap: 22px;
  }

  .arena-match-card {
    padding:
      18px
      16px;

    border-radius: 20px;
  }


  /* ---------- compact header ---------- */

  .arena-match-head {
    display: grid;

    grid-template-columns:
      minmax(0, 1fr);

    gap: 9px;

    margin-bottom: 14px;
  }

  .arena-match-head > .eyebrow {
    margin: 0;

    font-size: 0.72rem;
  }

  .arena-match-badges {
    width: auto;

    gap: 5px;
  }

  .arena-access-badge,
  .arena-drop-badge,
  .arena-voted-badge {
    min-height: 22px;

    padding:
      0
      8px;

    font-size: 0.5rem;
  }


  /* ---------- A vs B ---------- */

  .arena-matchup-compact {
    display: grid;

    grid-template-columns:
      minmax(0, 1fr)
      30px
      minmax(0, 1fr)
      !important;

    gap: 8px;

    align-items: start;
  }

  .arena-competitor {
    min-width: 0;
  }

  .arena-competitor img {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 11;

    object-fit: cover;

    border-radius: 12px;
  }

  .arena-versus {
    display: flex;

    min-height: 100%;

    margin: 0;

    align-items: center;
    justify-content: center;

    color: var(--text);

    font-size: 0.85rem;
    font-weight: 950;
  }

  .battle-song-label {
    display: block;

    margin-top: 9px;

    color: var(--accent);

    font-size: 0.52rem;
    font-weight: 900;

    letter-spacing: 0.10em;
  }

  .arena-competitor h2 {
    display: -webkit-box;

    margin:
      5px
      0
      2px;

    overflow: hidden;

    font-size:
      clamp(
        0.94rem,
        4.4vw,
        1.12rem
      );

    line-height: 1.08;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .arena-competitor p {
    display: -webkit-box;

    margin: 0;

    overflow: hidden;

    color: var(--muted);

    font-size: 0.68rem;
    line-height: 1.25;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .arena-vote-marker {
    margin-top: 5px;

    font-size: 0.54rem;
  }


  /* ---------- vote progress ---------- */

  .arena-community-progress {
    margin-top: 16px;

    padding:
      11px
      12px;

    border-radius: 12px;
  }

  .arena-community-progress-copy {
    gap: 2px;
  }

  .arena-community-progress-copy strong {
    font-size: 0.62rem;
  }

  .arena-community-progress-copy span {
    font-size: 0.58rem;
  }

  .arena-community-progress-track {
    height: 4px;

    margin-top: 8px;
  }


  /* ---------- auxiliary access copy ---------- */

  .arena-access-copy,
  .arena-drop-lock-copy {
    margin-top: 10px;

    font-size: 0.58rem;
  }


  /* ---------- CTA ---------- */

  .arena-start-row {
    margin-top: 14px;
  }

  .arena-start-battle {
    display: flex;

    width: 100%;
    max-width: none;

    min-height: 48px;

    align-items: center;
    justify-content: center;

    font-size: 0.78rem;

    border-radius: 999px;
  }

  .arena-completed-state {
    width: 100%;

    text-align: center;
  }
}


/* ==========================================================
   VERY SMALL MOBILE
   ========================================================== */

@media (max-width: 360px) {

  .arena-mobile-dashboard {
    grid-template-columns:
      minmax(0, 1fr);
  }

  .arena-personal-state,
  .arena-drop-summary {
    min-height: 0;
  }

  .arena-matchup-compact {
    grid-template-columns:
      minmax(0, 1fr)
      24px
      minmax(0, 1fr)
      !important;

    gap: 6px;
  }

  .arena-match-card {
    padding:
      15px
      12px;
  }

  .arena-competitor h2 {
    font-size: 0.9rem;
  }
}


/* ==========================================================
   ARENA CINEMATIC BACKDROP
   Light environmental depth behind the functional UI.
   ========================================================== */

.arena-lobby {
  position: relative;
  isolation: isolate;
}

.arena-lobby > *:not(.arena-cinema) {
  position: relative;
  z-index: 2;
}

.arena-cinema {
  position: absolute;
  z-index: 0;

  inset:
    0
    calc(50% - 50vw);

  overflow: hidden;

  pointer-events: none;
}

.arena-cinema-image,
.arena-cinema-grade {
  position: absolute;
  inset: 0;
}

.arena-cinema-image {
  top: -100px;
  bottom: auto;

  height: min(
    950px,
    78vh
  );

  background-image:
    url("/static/images/arena/arena-background.webp");

  background-size: cover;
  background-position: 67% top;
  background-repeat: no-repeat;

  opacity: 0.20;

  transform:
    translate3d(
      0,
      var(--arena-parallax-y, 0px),
      0
    )
    scale(1.08);

  will-change: transform;
}

.arena-cinema-grade {
  height: min(
    1000px,
    82vh
  );

  background:
    linear-gradient(
      180deg,
      rgba(8, 9, 10, 0.38) 0%,
      rgba(8, 9, 10, 0.72) 42%,
      #08090a 92%
    ),
    linear-gradient(
      90deg,
      rgba(8, 9, 10, 0.62),
      rgba(8, 9, 10, 0.20) 55%,
      rgba(8, 9, 10, 0.55)
    );
}


/* ---------- streamlined Arena heading ---------- */

.arena-heading {
  margin-bottom: 24px;
}

.arena-heading h1 {
  margin: 0;

  font-size:
    clamp(
      3.2rem,
      8vw,
      6rem
    );

  line-height: 0.9;
  letter-spacing: -0.06em;
}

.arena-heading .page-intro {
  margin:
    12px
    0
    0;

  color:
    rgba(
      255,
      255,
      255,
      0.62
    );
}


/* ==========================================================
   MOBILE ARENA CINEMA
   ========================================================== */

@media (max-width: 760px) {

  .arena-lobby {
    padding-top: 34px;
  }

  .arena-heading {
    margin-bottom: 20px;
  }

  .arena-heading h1 {
    font-size:
      clamp(
        3.4rem,
        15vw,
        4.8rem
      );
  }

  .arena-heading .page-intro {
    margin-top: 10px;

    font-size: 0.94rem;
  }

  .arena-cinema-image {
    top: -40px;

    height: 620px;

    background-position:
      62% top;

    opacity: 0.17;

    filter:
      saturate(0.85)
      contrast(1.05);
  }

  .arena-cinema-grade {
    height: 690px;

    background:
      linear-gradient(
        180deg,
        rgba(8, 9, 10, 0.28) 0%,
        rgba(8, 9, 10, 0.64) 36%,
        rgba(8, 9, 10, 0.92) 66%,
        #08090a 100%
      );
  }
}


@media (prefers-reduced-motion: reduce) {

  .arena-cinema-image {
    transform: scale(1.08);
  }
}


/* ==========================================================
   ARENA CINEMA LIGHTER GRADE
   ========================================================== */

@media (max-width: 760px) {

  .arena-cinema-image {
    opacity: 0.34;
    filter:
      saturate(0.95)
      contrast(1.02);
  }

  .arena-cinema-grade {
    background:
      linear-gradient(
        180deg,
        rgba(8, 9, 10, 0.12) 0%,
        rgba(8, 9, 10, 0.28) 34%,
        rgba(8, 9, 10, 0.62) 62%,
        rgba(8, 9, 10, 0.92) 82%,
        #08090a 100%
      );
  }
}


/* ==========================================================
   ARENA FIXED CINEMATIC BACKGROUND
   Content scrolls over a stationary arena scene.
   ========================================================== */

.arena-lobby {
  position: relative;
  isolation: isolate;

  background:
    transparent;
}

.arena-cinema {
  position: fixed;

  z-index: 0;

  inset: 0;

  width: 100%;
  height: 100%;

  overflow: hidden;

  pointer-events: none;
}

.arena-cinema-image,
.arena-cinema-grade {
  position: absolute;

  inset: 0;
}

.arena-cinema-image {
  width: 100%;
  height: 100%;

  background-image:
    url("/static/images/arena/arena-background.webp");

  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  opacity: 0.38;

  transform: none !important;
}

.arena-cinema-grade {
  background:
    linear-gradient(
      180deg,
      rgba(8, 9, 10, 0.18) 0%,
      rgba(8, 9, 10, 0.32) 34%,
      rgba(8, 9, 10, 0.52) 62%,
      rgba(8, 9, 10, 0.72) 82%,
      rgba(8, 9, 10, 0.86) 100%
    );
}


/* Keep all actual Arena UI above the fixed scene. */

.arena-lobby > *:not(.arena-cinema) {
  position: relative;
  z-index: 2;
}


/* Cards stay readable while the image remains visible behind. */

.arena-personal-state,
.arena-drop-summary,
.arena-match-card {
  background:
    rgba(
      8,
      9,
      10,
      0.82
    );

  backdrop-filter:
    blur(8px);
}


/* Mobile-specific crop. */

@media (max-width: 760px) {

  .arena-cinema-image {
    background-position:
      58% top;

    opacity: 0.34;
  }

  .arena-cinema-grade {
    background:
      linear-gradient(
        180deg,
        rgba(8, 9, 10, 0.12) 0%,
        rgba(8, 9, 10, 0.26) 28%,
        rgba(8, 9, 10, 0.48) 58%,
        rgba(8, 9, 10, 0.68) 82%,
        rgba(8, 9, 10, 0.80) 100%
      );
  }
}


/* ==========================================================
   ARENA FIXED BACKGROUND - LIGHTER FINAL GRADE
   ========================================================== */

.arena-cinema-image {
  opacity: 0.46;
  filter:
    saturate(1.02)
    contrast(1.01)
    brightness(1.03);
}

.arena-cinema-grade {
  background:
    linear-gradient(
      180deg,
      rgba(8, 9, 10, 0.06) 0%,
      rgba(8, 9, 10, 0.14) 28%,
      rgba(8, 9, 10, 0.30) 56%,
      rgba(8, 9, 10, 0.48) 78%,
      rgba(8, 9, 10, 0.62) 100%
    );
}


/*
 * Slight atmospheric response while scrolling.
 * The scene remains visually fixed.
 */
.arena-cinema-image {
  transform:
    scale(
      var(
        --arena-fixed-scale,
        1.015
      )
    )
    !important;

  filter:
    saturate(1.02)
    contrast(1.01)
    brightness(
      var(
        --arena-fixed-brightness,
        1.03
      )
    );

  transition:
    filter 0.12s linear;
}


@media (max-width: 760px) {

  .arena-cinema-image {
    opacity: 0.43;

    background-position:
      58% top;
  }

  .arena-cinema-grade {
    background:
      linear-gradient(
        180deg,
        rgba(8, 9, 10, 0.05) 0%,
        rgba(8, 9, 10, 0.12) 26%,
        rgba(8, 9, 10, 0.26) 54%,
        rgba(8, 9, 10, 0.44) 78%,
        rgba(8, 9, 10, 0.58) 100%
      );
  }
}


/* ==========================================================
   BATTLE MOBILE V1
   Dedicated mobile composition for the listening experience.
   ========================================================== */

@media (max-width: 760px) {

  /* ---------- page ---------- */

  .battle-page {
    width: 100%;
    max-width: 100%;

    overflow-x: hidden;
  }

  .battle-stage {
    width: 100%;
    max-width: 100%;

    padding:
      14px
      16px
      36px;

    overflow: visible;
  }


  /* ---------- header ---------- */

  .battle-header {
    display: grid;

    grid-template-columns:
      auto
      minmax(0, 1fr);

    align-items: center;

    gap: 10px;

    width: 100%;

    padding-bottom: 12px;

    border-bottom:
      1px solid
      var(--border);
  }

  .battle-back {
    display: inline-flex;

    min-height: 38px;

    padding:
      0
      11px;

    align-items: center;

    border:
      1px solid
      var(--border);

    border-radius: 999px;

    color: var(--text);

    background:
      rgba(
        255,
        255,
        255,
        0.035
      );

    font-size: 0.72rem;
    font-weight: 800;

    text-decoration: none;
  }

  .battle-header > .eyebrow {
    min-width: 0;

    margin: 0;

    color: var(--accent);

    font-size: 0.64rem;
    font-weight: 900;

    letter-spacing: 0.10em;

    text-align: right;

    white-space: nowrap;
  }


  /* ---------- playing state ---------- */

  .battle-playing {
    width: 100%;
    max-width: 100%;

    min-height: 0;

    padding-top: 16px;
  }

  .battle-playing > .eyebrow {
    margin-bottom: 6px;
  }

  .battle-now-playing-label {
    margin:
      0
      0
      14px;

    font-size:
      clamp(
        2rem,
        9vw,
        3rem
      );

    line-height: 0.95;
  }


  /* ---------- artwork ---------- */

  .battle-playing > img {
    display: block;

    width: 100%;
    max-width: 100%;

    aspect-ratio: 16 / 10;

    object-fit: cover;

    border:
      1px solid
      var(--accent);

    border-radius: 16px;
  }

  .battle-playing h2 {
    max-width: 100%;

    margin:
      14px
      auto
      4px;

    font-size:
      clamp(
        1.45rem,
        7vw,
        2rem
      );

    line-height: 1.05;

    overflow-wrap: anywhere;
  }

  .battle-playing > p:not(.eyebrow):not(.battle-progress-time) {
    margin:
      0
      auto;

    font-size: 0.88rem;

    line-height: 1.35;
  }


  /* ---------- progress ---------- */

  .battle-progress-track {
    width: 92%;
    max-width: 100%;

    height: 5px;

    margin:
      16px
      auto
      7px;
  }

  .battle-progress-time {
    margin: 0;

    font-size: 0.78rem;
  }


  /* ---------- reactions ---------- */

  .battle-reactions {
    display: flex;

    width: 100%;

    margin-top: 14px;

    justify-content: center;

    gap: 8px;

    flex-wrap: wrap;
  }

  .battle-reaction {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;
  }


  /* ---------- actions ---------- */

  .battle-action-row {
    display: grid;

    width: 100%;

    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);

    gap: 8px;

    margin-top: 12px;
  }

  .battle-action-row > button {
    width: 100%;
    min-width: 0;

    min-height: 44px;

    padding:
      0
      10px;

    font-size: 0.72rem;
  }

  #battle-skip {
    grid-column:
      1 / -1;

    min-height: 44px;
  }


  /* ========================================================
     MOBILE FEEDBACK PANELS
     Scorecard / Comment become bottom sheets.
     ======================================================== */

  .battle-panel-backdrop {
    position: fixed;

    z-index: 8000;

    inset: 0;

    background:
      rgba(
        0,
        0,
        0,
        0.64
      );

    backdrop-filter:
      blur(3px);
  }

  .battle-feedback-panel {
    position: fixed;

    z-index: 8100;

    left: 12px;
    right: 12px;
    bottom: 12px;

    width: auto;
    max-width: none;

    max-height:
      min(
        76vh,
        620px
      );

    margin: 0;

    padding:
      18px;

    overflow-y: auto;
    overflow-x: hidden;

    border:
      1px solid
      rgba(
        255,
        255,
        255,
        0.12
      );

    border-radius: 22px;

    background:
      rgba(
        10,
        11,
        13,
        0.98
      );

    box-shadow:
      0 -20px 60px
      rgba(
        0,
        0,
        0,
        0.55
      );
  }

  .battle-feedback-panel[hidden],
  .battle-panel-backdrop[hidden] {
    display: none !important;
  }

  .battle-panel-header {
    position: sticky;

    top: -18px;

    z-index: 2;

    margin:
      -18px
      -18px
      14px;

    padding:
      14px
      18px;

    background:
      rgba(
        10,
        11,
        13,
        0.98
      );

    border-bottom:
      1px solid
      var(--border);
  }

  .battle-panel-close {
    width: 40px;
    height: 40px;
  }


  /* ---------- scorecard ---------- */

  .battle-scorecard {
    width: 100%;
    max-width: 100%;

    margin-top: 0;

    padding: 0;

    border: 0;

    background: none;
  }

  .battle-score-row {
    grid-template-columns:
      minmax(0, 1fr)
      auto;

    gap: 12px;
  }


  /* ---------- comment ---------- */

  #battle-comment-text {
    width: 100%;
    max-width: 100%;

    min-height: 120px;

    font-size: 16px;
  }

  #battle-comment-save {
    width: 100%;

    min-height: 46px;

    margin-top: 10px;
  }
}


@media (max-width: 360px) {

  .battle-stage {
    padding-left: 12px;
    padding-right: 12px;
  }

  .battle-header > .eyebrow {
    font-size: 0.56rem;
  }

  .battle-playing > img {
    border-radius: 13px;
  }

  .battle-feedback-panel {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
}


/* ==========================================================
   BATTLE MOBILE POLISH
   Slightly tighter artwork and more secondary skip action.
   ========================================================== */

@media (max-width: 760px) {

  .battle-playing > img {
    aspect-ratio: 16 / 9.2;
  }

  #battle-skip {
    background:
      rgba(
        205,
        255,
        30,
        0.18
      );

    color:
      rgba(
        255,
        255,
        255,
        0.88
      );

    border:
      1px solid
      rgba(
        205,
        255,
        30,
        0.24
      );

    font-weight: 800;
  }

  #battle-skip:not(:disabled):hover {
    background:
      rgba(
        205,
        255,
        30,
        0.24
      );
  }

  #battle-skip:disabled {
    opacity: 0.72;
  }
}


@media (max-width: 390px) {

  .battle-playing > img {
    aspect-ratio: 16 / 8.8;
  }
}


/* ==========================================================
   BATTLE MOBILE VIEWPORT FIT
   Keep the active listening screen inside one iPhone viewport.
   ========================================================== */

@media (max-width: 760px) {

  .battle-page {
    min-height: 100dvh;
  }

  .battle-stage {
    min-height: calc(
      100dvh - 74px
    );

    padding:
      10px
      14px
      14px;
  }

  .battle-header {
    gap: 8px;

    padding-bottom: 8px;
  }

  .battle-back {
    min-height: 34px;

    padding:
      0
      10px;

    font-size: 0.68rem;
  }

  .battle-header > .eyebrow {
    font-size: 0.58rem;
  }

  .battle-playing {
    padding-top: 10px;
  }

  .battle-playing > .eyebrow {
    margin-bottom: 3px;

    font-size: 0.62rem;
  }

  .battle-now-playing-label {
    margin:
      0
      0
      9px;

    font-size:
      clamp(
        1.75rem,
        7.8vw,
        2.45rem
      );

    line-height: 0.92;
  }

  .battle-playing > img {
    aspect-ratio: 16 / 8.4;

    max-height: 34dvh;

    object-fit: cover;
  }

  .battle-playing h2 {
    margin:
      9px
      auto
      2px;

    font-size:
      clamp(
        1.25rem,
        6vw,
        1.7rem
      );

    line-height: 1;
  }

  .battle-playing > p:not(.eyebrow):not(.battle-progress-time) {
    font-size: 0.78rem;

    line-height: 1.2;
  }

  .battle-progress-track {
    width: 90%;

    margin:
      10px
      auto
      5px;
  }

  .battle-progress-time {
    font-size: 0.72rem;
  }

  .battle-reactions {
    margin-top: 9px;

    gap: 6px;
  }

  .battle-reaction {
    width: 38px;
    height: 38px;

    flex-basis: 38px;
  }

  .battle-action-row {
    gap: 6px;

    margin-top: 8px;
  }

  .battle-action-row > button {
    min-height: 40px;

    font-size: 0.68rem;
  }

  #battle-skip {
    min-height: 40px;
  }
}


@media (max-width: 390px) {

  .battle-stage {
    padding-left: 10px;
    padding-right: 10px;
  }

  .battle-playing > img {
    aspect-ratio: 16 / 8;
    max-height: 31dvh;
  }

  .battle-now-playing-label {
    font-size:
      clamp(
        1.55rem,
        7.4vw,
        2.05rem
      );
  }

  .battle-reaction {
    width: 36px;
    height: 36px;

    flex-basis: 36px;
  }
}


/* ==========================================================
   BATTLE MOBILE HARD VIEWPORT LOCK
   Prevent Safari page scroll / rubber-band during a battle.
   ========================================================== */

@media (max-width: 760px) {

  html.battle-viewport-lock,
  body.battle-viewport-lock {
    width: 100%;
    height: 100%;
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  body.battle-viewport-lock {
    position: fixed;
    inset: 0;

    margin: 0;

    touch-action: manipulation;
  }

  body.battle-viewport-lock .battle-page {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100svh;
    min-height: 0;

    overflow: hidden !important;
  }

  body.battle-viewport-lock .battle-stage {
    width: 100%;
    height: 100%;
    min-height: 0;

    overflow: hidden !important;
  }

  /*
   * Scorecard and Comment remain independently scrollable.
   */

  body.battle-viewport-lock .battle-feedback-panel {
    overflow-x: hidden;
    overflow-y: auto;

    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;

    touch-action: pan-y;
  }
}


/* ==========================================================
   BATTLE AUDIENCE REACTIONS + SECRET POWERS
   ========================================================== */

.battle-playing {
  position: relative;
}

.battle-reaction-fx {
  position: absolute;
  z-index: 45;

  top: 70px;
  right: 0;
  left: 0;

  height: 48%;

  overflow: hidden;
  pointer-events: none;
}

.battle-floating-reaction {
  position: absolute;

  left:
    var(
      --reaction-x,
      50%
    );

  bottom: 0;

  font-size:
    clamp(
      2.1rem,
      8vw,
      4rem
    );

  line-height: 1;

  opacity: 0;

  filter:
    drop-shadow(
      0
      7px
      15px
      rgba(
        0,
        0,
        0,
        0.65
      )
    );

  animation:
    battle-reaction-rise
    1.35s
    cubic-bezier(
      0.18,
      0.8,
      0.25,
      1
    )
    forwards;
}

@keyframes battle-reaction-rise {

  0% {
    opacity: 0;

    transform:
      translate(
        -50%,
        30px
      )
      scale(0.55)
      rotate(-8deg);
  }

  15% {
    opacity: 1;

    transform:
      translate(
        -50%,
        0
      )
      scale(1.15)
      rotate(4deg);
  }

  70% {
    opacity: 0.95;
  }

  100% {
    opacity: 0;

    transform:
      translate(
        calc(
          -50%
          + var(
            --reaction-drift,
            0px
          )
        ),
        -190px
      )
      scale(1.55)
      rotate(-4deg);
  }
}


/* ---------- Secret scorecard powers ---------- */

.battle-power-unlock {
  margin-top: 18px;

  padding: 16px;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.14
    );

  border-radius: 16px;

  text-align: center;

  animation:
    battle-power-reveal
    0.45s
    cubic-bezier(
      0.2,
      0.9,
      0.25,
      1.2
    )
    both;
}

.battle-power-unlock > span {
  display: block;

  margin-bottom: 10px;

  font-size: 0.62rem;
  font-weight: 900;

  letter-spacing: 0.13em;
}

.battle-power-unlock.is-golden {
  background:
    radial-gradient(
      circle at top,
      rgba(
        255,
        218,
        73,
        0.25
      ),
      rgba(
        255,
        218,
        73,
        0.04
      )
      65%
    );

  box-shadow:
    0 0 34px
    rgba(
      255,
      213,
      52,
      0.14
    );
}

.battle-power-unlock.is-kickout {
  background:
    radial-gradient(
      circle at top,
      rgba(
        255,
        45,
        45,
        0.22
      ),
      rgba(
        255,
        45,
        45,
        0.035
      )
      65%
    );
}

.battle-power-button {
  width: 100%;
  min-height: 50px;

  border-radius: 999px;

  font-size: 0.85rem;
  font-weight: 950;

  letter-spacing: 0.055em;
}

.is-golden
.battle-power-button {
  background:
    linear-gradient(
      135deg,
      #fff0a0,
      #ffc928,
      #fff4b8
    );

  color: #17120a;

  border: 0;

  box-shadow:
    0 0 28px
    rgba(
      255,
      204,
      36,
      0.48
    );
}

.is-kickout
.battle-power-button {
  background:
    linear-gradient(
      135deg,
      #3b0505,
      #d71e1e,
      #4a0505
    );

  color: #fff;

  border:
    1px solid
    rgba(
      255,
      91,
      91,
      0.5
    );
}

@keyframes battle-power-reveal {

  from {
    opacity: 0;

    transform:
      translateY(12px)
      scale(0.94);
  }

  to {
    opacity: 1;

    transform:
      translateY(0)
      scale(1);
  }
}


/* ---------- Full-screen power event ---------- */

.battle-power-effect {
  position: fixed;
  z-index: 12000;

  inset: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  overflow: hidden;
  pointer-events: none;

  animation:
    battle-power-flash
    1.9s
    ease
    forwards;
}

.battle-power-effect strong {
  position: relative;
  z-index: 3;

  font-size:
    clamp(
      2.1rem,
      10vw,
      5.5rem
    );

  font-weight: 1000;

  text-align: center;

  transform:
    rotate(-4deg);

  animation:
    battle-power-title
    0.65s
    cubic-bezier(
      0.18,
      1.1,
      0.25,
      1.25
    )
    both;
}

.battle-power-effect i {
  position: absolute;

  left:
    var(
      --power-x
    );

  top:
    var(
      --power-y
    );

  font-style: normal;

  font-size:
    calc(
      1.3rem
      * var(
        --power-scale
      )
    );

  opacity: 0;

  animation:
    battle-power-particle
    1.25s
    ease-out
    var(
      --power-delay
    )
    both;
}

.battle-power-golden {
  background:
    radial-gradient(
      circle,
      rgba(
        255,
        238,
        137,
        0.50
      ),
      rgba(
        255,
        194,
        28,
        0.20
      )
      38%,
      rgba(
        0,
        0,
        0,
        0.04
      )
      75%
    );
}

.battle-power-golden strong,
.battle-power-golden i {
  color: #ffe66d;

  text-shadow:
    0 0 10px #fff,
    0 0 28px #ffc400,
    0 0 55px #ff7b00;
}

.battle-power-kickout {
  background:
    repeating-linear-gradient(
      -12deg,
      rgba(
        0,
        0,
        0,
        0.75
      )
      0 18px,
      rgba(
        150,
        0,
        0,
        0.35
      )
      18px 24px
    );
}

.battle-power-kickout strong,
.battle-power-kickout i {
  color: #ff4545;

  text-shadow:
    4px 0 0 #000,
    -4px 0 0 #fff;
}

.battle-power-kickout strong {
  animation:
    battle-kickout-title
    0.75s
    steps(5)
    both;
}

@keyframes battle-power-title {

  0% {
    opacity: 0;

    transform:
      scale(0.2)
      rotate(-12deg);
  }

  70% {
    opacity: 1;

    transform:
      scale(1.18)
      rotate(3deg);
  }

  100% {
    transform:
      scale(1)
      rotate(-4deg);
  }
}

@keyframes battle-kickout-title {

  0% {
    opacity: 0;

    transform:
      scale(0.5)
      translateX(-20px);
  }

  25% {
    opacity: 1;

    transform:
      scale(1.12)
      translateX(14px);
  }

  50% {
    transform:
      scale(0.96)
      translateX(-12px);
  }

  75% {
    transform:
      scale(1.08)
      translateX(8px);
  }

  100% {
    transform:
      scale(1)
      translateX(0);
  }
}

@keyframes battle-power-particle {

  0% {
    opacity: 0;

    transform:
      scale(0.25)
      rotate(0);
  }

  25% {
    opacity: 1;
  }

  100% {
    opacity: 0;

    transform:
      translateY(-80px)
      scale(1.8)
      rotate(220deg);
  }
}

@keyframes battle-power-flash {

  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  78% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}


/* ---------- Eight-reaction mobile row ---------- */

@media (max-width: 760px) {

  .battle-reactions {
    flex-wrap: nowrap;

    gap: 5px;
  }

  .battle-reaction {
    width: 36px;
    height: 36px;

    flex:
      0
      1
      36px;

    min-width: 0;

    font-size: 1.05rem;
  }

  .battle-reaction-fx {
    top: 60px;
    height: 46%;
  }
}


@media (max-width: 360px) {

  .battle-reactions {
    gap: 3px;
  }

  .battle-reaction {
    width: 34px;
    height: 34px;

    flex-basis: 34px;

    font-size: 1rem;
  }
}


@media (
  prefers-reduced-motion:
  reduce
) {

  .battle-floating-reaction,
  .battle-power-effect,
  .battle-power-effect strong,
  .battle-power-effect i,
  .battle-power-unlock {
    animation-duration:
      0.01ms !important;
  }
}


/* ==========================================================
   BATTLE SECRET POWER ZONE
   Powers unlock from Scorecard but appear below Skip.
   ========================================================== */

.battle-power-zone {
  width: 100%;

  margin-top: 10px;
}

.battle-power-zone:empty {
  display: none;
}

.battle-power-zone
.battle-power-unlock {
  margin-top: 0;
}


@media (max-width: 760px) {

  .battle-power-zone {
    margin-top: 7px;
  }

  .battle-power-zone
  .battle-power-unlock {
    padding: 11px 12px;

    border-radius: 14px;
  }

  .battle-power-zone
  .battle-power-unlock
  > span {
    margin-bottom: 7px;

    font-size: 0.56rem;
  }

  .battle-power-zone
  .battle-power-button {
    min-height: 42px;

    font-size: 0.76rem;
  }
}


/* ==========================================================
   GOLDEN BUZZ — RADIANT POWER BUTTON
   ========================================================== */

.battle-power-unlock.is-golden {
  position: relative;

  overflow: hidden;

  border:
    1px solid
    rgba(
      255,
      222,
      91,
      0.55
    );

  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(
        255,
        239,
        159,
        0.30
      ),
      rgba(
        255,
        197,
        37,
        0.10
      )
      46%,
      rgba(
        255,
        193,
        18,
        0.02
      )
      72%
    );

  box-shadow:
    0 0 18px
    rgba(
      255,
      203,
      46,
      0.18
    ),
    inset
    0 0 24px
    rgba(
      255,
      225,
      105,
      0.08
    );

  animation:
    golden-zone-breathe
    2.2s
    ease-in-out
    infinite;
}


.is-golden
.battle-power-button {
  position: relative;

  overflow: hidden;

  isolation: isolate;

  background:
    linear-gradient(
      110deg,
      #8f6500,
      #ffd43b 22%,
      #fff3a0 43%,
      #ffc928 62%,
      #fff0a0 78%,
      #a87500
    );

  background-size:
    220% 100%;

  color: #211500;

  border:
    1px solid
    rgba(
      255,
      247,
      190,
      0.95
    );

  box-shadow:
    0 0 10px
    rgba(
      255,
      217,
      63,
      0.65
    ),
    0 0 28px
    rgba(
      255,
      190,
      17,
      0.42
    ),
    0 0 54px
    rgba(
      255,
      169,
      0,
      0.20
    ),
    inset
    0 1px 0
    rgba(
      255,
      255,
      255,
      0.72
    );

  text-shadow:
    0 1px 0
    rgba(
      255,
      255,
      255,
      0.38
    );

  animation:
    golden-button-pulse
      1.7s
      ease-in-out
      infinite,
    golden-gradient-flow
      3.2s
      linear
      infinite;
}


.is-golden
.battle-power-button::before {
  content: "";

  position: absolute;

  z-index: -1;

  top: -80%;
  bottom: -80%;

  left: -35%;

  width: 24%;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(
        255,
        255,
        255,
        0.92
      ),
      transparent
    );

  transform:
    rotate(18deg);

  filter:
    blur(2px);

  animation:
    golden-shine-sweep
    2.1s
    ease-in-out
    infinite;
}


.is-golden
.battle-power-button::after {
  content: "✦";

  position: absolute;

  top: 5px;
  right: 15px;

  color: #fff8c9;

  font-size: 0.82rem;

  text-shadow:
    0 0 8px #fff,
    0 0 16px #ffd72f;

  animation:
    golden-star-twinkle
    1.1s
    ease-in-out
    infinite alternate;
}


.is-golden
.battle-power-button:active {
  transform:
    scale(0.96);

  box-shadow:
    0 0 16px
    rgba(
      255,
      239,
      153,
      0.90
    ),
    0 0 44px
    rgba(
      255,
      193,
      18,
      0.68
    );
}


@keyframes golden-button-pulse {

  0%,
  100% {
    transform:
      scale(1);

    filter:
      brightness(1)
      saturate(1);
  }

  50% {
    transform:
      scale(1.025);

    filter:
      brightness(1.16)
      saturate(1.12);
  }
}


@keyframes golden-gradient-flow {

  from {
    background-position:
      0% 50%;
  }

  to {
    background-position:
      220% 50%;
  }
}


@keyframes golden-shine-sweep {

  0% {
    left: -40%;

    opacity: 0;
  }

  18% {
    opacity: 0;
  }

  38% {
    opacity: 1;
  }

  62% {
    opacity: 0.9;
  }

  82%,
  100% {
    left: 125%;

    opacity: 0;
  }
}


@keyframes golden-star-twinkle {

  from {
    opacity: 0.35;

    transform:
      scale(0.7)
      rotate(0deg);
  }

  to {
    opacity: 1;

    transform:
      scale(1.35)
      rotate(32deg);
  }
}


@keyframes golden-zone-breathe {

  0%,
  100% {
    box-shadow:
      0 0 18px
      rgba(
        255,
        203,
        46,
        0.18
      );
  }

  50% {
    box-shadow:
      0 0 34px
      rgba(
        255,
        203,
        46,
        0.32
      );
  }
}


@media (
  prefers-reduced-motion:
  reduce
) {

  .battle-power-unlock.is-golden,
  .is-golden
  .battle-power-button,
  .is-golden
  .battle-power-button::before,
  .is-golden
  .battle-power-button::after {
    animation:
      none !important;
  }
}


/* ==========================================================
   GOLDEN BUZZ — PERSISTENT TRACK CELEBRATION
   Initial power reveal is followed by a lighter golden mode
   that stays active until the current song ends.
   ========================================================== */

.battle-playing.golden-buzz-active {
  position: relative;

  isolation: isolate;
}


.battle-playing.golden-buzz-active
> img {
  border-color:
    rgba(
      255,
      217,
      61,
      1
    );

  box-shadow:
    0 0 12px
    rgba(
      255,
      227,
      108,
      0.55
    ),
    0 0 34px
    rgba(
      255,
      186,
      19,
      0.30
    ),
    0 0 65px
    rgba(
      255,
      157,
      0,
      0.13
    );

  animation:
    golden-cover-breathe
    2.8s
    ease-in-out
    infinite;
}


.battle-golden-mode-badge {
  position: absolute;

  z-index: 53;

  top: 76px;
  left: 50%;

  transform:
    translateX(-50%);

  padding:
    6px
    12px;

  border:
    1px solid
    rgba(
      255,
      238,
      158,
      0.74
    );

  border-radius: 999px;

  background:
    rgba(
      32,
      22,
      3,
      0.84
    );

  color:
    #ffe66e;

  box-shadow:
    0 0 15px
    rgba(
      255,
      209,
      47,
      0.38
    );

  backdrop-filter:
    blur(8px);

  font-size: 0.58rem;
  font-weight: 950;

  letter-spacing: 0.13em;

  white-space: nowrap;

  pointer-events: none;

  animation:
    golden-badge-arrive
    0.45s
    cubic-bezier(
      0.2,
      0.95,
      0.25,
      1.2
    )
    both;
}


.battle-golden-ambient {
  position: absolute;

  z-index: 52;

  inset: 55px 0 34%;

  overflow: hidden;

  pointer-events: none;
}


.battle-golden-ambient i {
  position: absolute;

  left:
    var(
      --golden-star-x
    );

  top:
    var(
      --golden-star-y
    );

  color:
    #fff0a4;

  font-style: normal;

  font-size:
    clamp(
      0.65rem,
      2.4vw,
      1.2rem
    );

  opacity: 0;

  text-shadow:
    0 0 7px #fff,
    0 0 16px #ffd234;

  animation:
    golden-ambient-star
    var(
      --golden-star-duration,
      3s
    )
    ease-in-out
    var(
      --golden-star-delay,
      0s
    )
    infinite;
}


@keyframes golden-cover-breathe {

  0%,
  100% {
    filter:
      brightness(1)
      saturate(1);

    box-shadow:
      0 0 12px
      rgba(
        255,
        227,
        108,
        0.42
      ),
      0 0 30px
      rgba(
        255,
        186,
        19,
        0.22
      );
  }

  50% {
    filter:
      brightness(1.045)
      saturate(1.06);

    box-shadow:
      0 0 18px
      rgba(
        255,
        239,
        151,
        0.72
      ),
      0 0 46px
      rgba(
        255,
        190,
        23,
        0.38
      );
  }
}


@keyframes golden-ambient-star {

  0%,
  100% {
    opacity: 0;

    transform:
      translateY(8px)
      scale(0.45)
      rotate(0deg);
  }

  25% {
    opacity: 0.85;
  }

  55% {
    opacity: 0.38;

    transform:
      translateY(-10px)
      scale(1.25)
      rotate(35deg);
  }

  78% {
    opacity: 0.78;
  }
}


@keyframes golden-badge-arrive {

  from {
    opacity: 0;

    transform:
      translateX(-50%)
      translateY(-8px)
      scale(0.82);
  }

  to {
    opacity: 1;

    transform:
      translateX(-50%)
      translateY(0)
      scale(1);
  }
}


@media (
  prefers-reduced-motion:
  reduce
) {

  .battle-playing.golden-buzz-active
  > img,
  .battle-golden-mode-badge,
  .battle-golden-ambient i {
    animation:
      none !important;
  }

  .battle-golden-ambient i {
    opacity: 0.55;
  }
}


/* ==========================================================
   HOME — JUDGE POWERS RULE
   ========================================================== */

.home-power-rule {
  display: grid;

  grid-template-columns:
    auto
    minmax(
      0,
      1fr
    );

  gap: 14px;

  max-width: 760px;

  margin:
    28px
    auto;

  padding:
    16px
    18px;

  border:
    1px solid
    rgba(
      255,
      213,
      62,
      0.17
    );

  border-radius: 18px;

  background:
    rgba(
      255,
      213,
      62,
      0.035
    );
}


.home-power-rule-icon {
  font-size: 1.45rem;
}


.home-power-rule strong {
  display: block;

  margin-bottom: 5px;

  color:
    var(
      --accent
    );

  font-size: 0.76rem;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}


.home-power-rule p {
  margin: 0;

  color:
    var(
      --muted
    );

  font-size: 0.82rem;

  line-height: 1.5;
}


@media (max-width: 760px) {

  .home-power-rule {
    margin:
      20px
      0;

    padding:
      14px;

    border-radius: 15px;
  }

  .home-power-rule p {
    font-size: 0.76rem;
  }
}


/* ==========================================================
   EXPLORE — HISTORICAL POWER MOMENTS
   Golden Buzz / Kick Out replay at the exact historical time.
   ========================================================== */

.explore-floating-reaction.is-golden-buzz,
.explore-floating-reaction.is-kick-out {
  display: inline-flex;

  min-width: 150px;

  align-items: center;
  justify-content: center;

  gap: 8px;

  padding:
    9px
    13px;

  border-radius: 999px;

  font-size: 1.1rem;

  white-space: nowrap;

  backdrop-filter:
    blur(8px);

  -webkit-backdrop-filter:
    blur(8px);
}


.explore-floating-reaction.is-golden-buzz {
  border:
    1px solid
    rgba(
      255,
      231,
      128,
      0.88
    );

  background:
    linear-gradient(
      135deg,
      rgba(
        88,
        58,
        0,
        0.94
      ),
      rgba(
        191,
        133,
        0,
        0.90
      ),
      rgba(
        94,
        62,
        0,
        0.94
      )
    );

  color:
    #fff0a4;

  box-shadow:
    0 0 14px
    rgba(
      255,
      220,
      75,
      0.58
    ),
    0 0 34px
    rgba(
      255,
      171,
      0,
      0.30
    );

  animation-name:
    explore-golden-moment;

  animation-duration:
    2.8s;
}


.explore-floating-reaction.is-kick-out {
  border:
    1px solid
    rgba(
      255,
      84,
      84,
      0.72
    );

  background:
    rgba(
      45,
      3,
      3,
      0.94
    );

  color:
    #ff6161;

  box-shadow:
    0 0 18px
    rgba(
      255,
      40,
      40,
      0.34
    );

  animation-name:
    explore-kickout-moment;

  animation-duration:
    2.2s;
}


.explore-floating-reaction.is-golden-buzz b,
.explore-floating-reaction.is-kick-out b {
  font-size: 1.35rem;
}


.explore-floating-reaction.is-golden-buzz small,
.explore-floating-reaction.is-kick-out small {
  font-size: 0.62rem;
  font-weight: 950;

  letter-spacing: 0.11em;
}


@keyframes explore-golden-moment {

  0% {
    opacity: 0;

    transform:
      translate(
        -50%,
        25px
      )
      scale(0.55);
  }

  14% {
    opacity: 1;

    transform:
      translate(
        -50%,
        0
      )
      scale(1.08);
  }

  30% {
    filter:
      brightness(1.45);
  }

  62% {
    opacity: 1;

    transform:
      translate(
        -50%,
        -55px
      )
      scale(1);
  }

  100% {
    opacity: 0;

    transform:
      translate(
        calc(
          -50%
          + var(
            --reaction-drift,
            0px
          )
        ),
        -130px
      )
      scale(1.08);
  }
}


@keyframes explore-kickout-moment {

  0% {
    opacity: 0;

    transform:
      translate(
        -50%,
        18px
      )
      scale(0.7);
  }

  18% {
    opacity: 1;

    transform:
      translate(
        calc(
          -50%
          - 8px
        ),
        0
      )
      scale(1.05);
  }

  30% {
    transform:
      translate(
        calc(
          -50%
          + 9px
        ),
        -12px
      )
      scale(1);
  }

  48% {
    transform:
      translate(
        calc(
          -50%
          - 5px
        ),
        -24px
      )
      scale(1.02);
  }

  72% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;

    transform:
      translate(
        -50%,
        -105px
      )
      scale(0.95);
  }
}


@media (
  prefers-reduced-motion:
  reduce
) {

  .explore-floating-reaction.is-golden-buzz,
  .explore-floating-reaction.is-kick-out {
    animation-duration:
      0.8s !important;
  }
}


/* ==========================================================
   EXPLORE — HISTORICAL GOLDEN BUZZ / KICK OUT
   ========================================================== */

.explore-floating-reaction.is-golden-buzz,
.explore-floating-reaction.is-kick-out {
  display: inline-flex;

  min-width: 148px;

  align-items: center;
  justify-content: center;

  gap: 8px;

  padding:
    8px
    13px;

  border-radius: 999px;

  white-space: nowrap;

  backdrop-filter:
    blur(8px);

  -webkit-backdrop-filter:
    blur(8px);
}


.explore-floating-reaction.is-golden-buzz {
  border:
    1px solid
    rgba(
      255,
      234,
      137,
      0.9
    );

  background:
    linear-gradient(
      120deg,
      rgba(
        95,
        61,
        0,
        0.94
      ),
      rgba(
        217,
        159,
        13,
        0.92
      ),
      rgba(
        86,
        53,
        0,
        0.94
      )
    );

  color:
    #fff0a8;

  box-shadow:
    0 0 16px
    rgba(
      255,
      221,
      70,
      0.62
    ),
    0 0 34px
    rgba(
      255,
      170,
      0,
      0.30
    );

  animation:
    explore-golden-moment
    2.8s
    ease-out
    forwards;
}


.explore-floating-reaction.is-kick-out {
  border:
    1px solid
    rgba(
      255,
      81,
      81,
      0.75
    );

  background:
    rgba(
      47,
      3,
      3,
      0.95
    );

  color:
    #ff6666;

  box-shadow:
    0 0 20px
    rgba(
      255,
      36,
      36,
      0.36
    );

  animation:
    explore-kickout-moment
    2.2s
    steps(8)
    forwards;
}


.explore-floating-reaction.is-golden-buzz b,
.explore-floating-reaction.is-kick-out b {
  font-size: 1.35rem;
}


.explore-floating-reaction.is-golden-buzz small,
.explore-floating-reaction.is-kick-out small {
  font-size: 0.60rem;

  font-weight: 950;

  letter-spacing: 0.11em;
}


/* ---------- Persistent counters ---------- */

.explore-power-badges {
  display: flex;

  flex-wrap: wrap;

  gap: 7px;

  margin-top: 10px;
}


.explore-power-badges[hidden] {
  display: none;
}


.explore-power-badge {
  display: inline-flex;

  min-height: 28px;

  align-items: center;

  padding:
    0
    9px;

  border-radius: 999px;

  font-size: 0.66rem;

  font-weight: 850;

  letter-spacing: 0.025em;
}


.explore-power-badge.is-golden {
  border:
    1px solid
    rgba(
      255,
      219,
      80,
      0.34
    );

  background:
    rgba(
      255,
      205,
      39,
      0.08
    );

  color:
    #ffe37b;
}


.explore-power-badge.is-kickout {
  border:
    1px solid
    rgba(
      255,
      74,
      74,
      0.28
    );

  background:
    rgba(
      255,
      45,
      45,
      0.07
    );

  color:
    #ff8080;
}


@keyframes explore-golden-moment {

  0% {
    opacity: 0;

    transform:
      translate(
        -50%,
        30px
      )
      scale(0.55);
  }

  15% {
    opacity: 1;

    transform:
      translate(
        -50%,
        0
      )
      scale(1.10);
  }

  32% {
    filter:
      brightness(1.5);
  }

  65% {
    opacity: 1;

    transform:
      translate(
        -50%,
        -58px
      )
      scale(1);
  }

  100% {
    opacity: 0;

    transform:
      translate(
        calc(
          -50%
          + var(
            --reaction-drift,
            0px
          )
        ),
        -138px
      )
      scale(1.06);
  }
}


@keyframes explore-kickout-moment {

  0% {
    opacity: 0;

    transform:
      translate(
        -50%,
        18px
      )
      scale(0.7);
  }

  18% {
    opacity: 1;

    transform:
      translate(
        calc(
          -50%
          - 8px
        ),
        0
      )
      scale(1.06);
  }

  34% {
    transform:
      translate(
        calc(
          -50%
          + 9px
        ),
        -16px
      );
  }

  50% {
    transform:
      translate(
        calc(
          -50%
          - 6px
        ),
        -28px
      );
  }

  72% {
    opacity: 0.92;
  }

  100% {
    opacity: 0;

    transform:
      translate(
        -50%,
        -112px
      )
      scale(0.96);
  }
}


@media (max-width: 760px) {

  .explore-floating-reaction.is-golden-buzz,
  .explore-floating-reaction.is-kick-out {
    min-width: 136px;

    padding:
      7px
      11px;
  }

  .explore-power-badges {
    gap: 5px;

    margin-top: 8px;
  }

  .explore-power-badge {
    min-height: 26px;

    font-size: 0.61rem;
  }
}


@media (
  prefers-reduced-motion:
  reduce
) {

  .explore-floating-reaction.is-golden-buzz,
  .explore-floating-reaction.is-kick-out {
    animation-duration:
      0.8s !important;
  }
}


/* ==========================================================
   SYNTHARENA IDENTITY / MY ARENA
   ========================================================== */

.site-nav-account {
  color: var(--accent) !important;
}


.identity-page,
.my-arena-page {
  width: min(
    100%,
    980px
  );

  margin:
    0 auto;

  padding:
    56px
    20px
    90px;
}


.identity-card {
  width: min(
    100%,
    520px
  );

  margin:
    0 auto;

  padding:
    30px;

  border:
    1px solid
    var(--border);

  border-radius: 22px;

  background:
    rgba(
      12,
      13,
      15,
      0.86
    );
}


.identity-card h1,
.my-arena-hero h1 {
  margin:
    4px
    0
    12px;
}


.identity-form {
  display: grid;

  gap: 16px;

  margin-top: 28px;
}


.identity-form label {
  display: grid;

  gap: 7px;

  color:
    var(--muted);

  font-size: 0.74rem;

  font-weight: 800;

  letter-spacing: 0.04em;
}


.identity-form input {
  width: 100%;

  min-height: 48px;

  padding:
    0
    14px;

  border:
    1px solid
    var(--border);

  border-radius: 12px;

  background:
    rgba(
      255,
      255,
      255,
      0.04
    );

  color:
    var(--text);

  font-size: 1rem;
}


.identity-form input:focus {
  outline:
    1px solid
    var(--accent);

  border-color:
    var(--accent);
}


.identity-switch {
  margin:
    18px
    0
    0;

  color:
    var(--muted);

  font-size: 0.78rem;
}


.identity-switch a {
  color:
    var(--accent);
}


.my-arena-hero {
  margin-bottom: 30px;
}


.my-arena-grid {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(
        0,
        1fr
      )
    );

  gap: 14px;
}


.my-arena-card {
  min-width: 0;

  padding: 22px;

  border:
    1px solid
    var(--border);

  border-radius: 18px;

  background:
    rgba(
      12,
      13,
      15,
      0.76
    );
}


.my-arena-card span,
.my-arena-card strong {
  display: block;
}


.my-arena-card span {
  color:
    var(--accent);

  font-size: 0.62rem;

  font-weight: 900;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


.my-arena-card strong {
  margin-top: 8px;

  font-size: 1.2rem;
}


.my-arena-card p {
  margin:
    8px
    0
    0;

  color:
    var(--muted);

  font-size: 0.78rem;

  line-height: 1.45;
}


.my-arena-logout {
  margin-top: 28px;
}


@media (max-width: 760px) {

  .identity-page,
  .my-arena-page {
    padding:
      28px
      14px
      70px;
  }

  .identity-card {
    padding:
      22px
      18px;

    border-radius: 18px;
  }

  .my-arena-grid {
    grid-template-columns:
      1fr;
  }

  .my-arena-card {
    padding: 18px;
  }
}


/* ==========================================================
   SQUAD / SCOUTING
   ========================================================== */

.explore-squad-status,
.explore-squad-signin {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  margin: 18px 0 26px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.7rem;
}

.explore-squad-status > span {
  color: var(--accent);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.explore-squad-status > strong {
  color: var(--text);
  font-size: 0.78rem;
}

.explore-squad-status > em {
  color: #ffd860;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 900;
}

.explore-squad-signin a {
  color: var(--accent);
}

.song-squad-toggle {
  width: 100%;
  min-height: 40px;
  margin-top: 14px;
  padding: 0 12px;
  border: 1px solid rgba(205, 255, 30, 0.28);
  border-radius: 999px;
  background: rgba(205, 255, 30, 0.06);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  cursor: pointer;
}

.song-squad-toggle.is-selected {
  border-color: var(--accent);
  background: var(--accent);
  color: #08090a;
}

.song-squad-toggle:disabled {
  opacity: 0.55;
  cursor: default;
}

.my-arena-card-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}

.my-squad-section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

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

.my-squad-heading span {
  color: var(--accent);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.my-squad-heading h2 {
  margin: 4px 0 0;
}

.my-squad-heading > strong {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.my-squad-song {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(12, 13, 15, 0.8);
}

.my-squad-song img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.my-squad-song > div {
  padding: 10px;
}

.my-squad-song > div strong,
.my-squad-song > div span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-squad-song > div strong {
  font-size: 0.72rem;
}

.my-squad-song > div span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.62rem;
}

.my-squad-position {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 7px;
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(8, 9, 10, 0.8);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 900;
}

.my-squad-empty {
  padding: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  text-align: center;
}

.my-squad-empty p {
  margin: 8px auto 18px;
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 760px) {
  .explore-squad-status,
  .explore-squad-signin {
    flex-wrap: wrap;
    margin-bottom: 20px;
  }

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


/* Compact Squad control on Explore cover */

.song-media {
  position: relative;
}

.song-squad-chip {
  position: absolute;
  z-index: 8;

  top: 10px;
  right: 10px;

  display: inline-flex;

  width: 34px;
  height: 34px;

  align-items: center;
  justify-content: center;

  padding: 0;

  border:
    1px solid
    rgba(
      255,
      255,
      255,
      0.18
    );

  border-radius: 50%;

  background:
    rgba(
      7,
      8,
      10,
      0.72
    );

  color:
    var(--accent);

  font-size: 1.05rem;
  font-weight: 900;

  line-height: 1;

  cursor: pointer;

  backdrop-filter:
    blur(8px);

  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}


.song-squad-chip.is-selected {
  background:
    var(--accent);

  border-color:
    var(--accent);

  color:
    #08090a;
}


.song-squad-chip:disabled {
  opacity: 0.5;
  cursor: default;
}


@media (
  hover: hover
)
and (
  pointer: fine
) {

  .song-squad-chip:not(:disabled):hover {
    transform:
      scale(1.06);

    border-color:
      var(--accent);
  }
}

.song-squad-toggle {
  display: none !important;
}


/* ==========================================================
   ARENA PROGRESSION
   ========================================================== */

.arena-progress-card {
  margin-bottom: 28px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(12, 13, 15, 0.82);
}

.arena-progress-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.arena-progress-head span {
  color: var(--accent);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.arena-progress-head h2 {
  margin: 5px 0 0;
}

.arena-progress-head > strong {
  color: var(--text);
  font-size: 0.95rem;
}

.arena-progress-track {
  width: 100%;
  height: 7px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.arena-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.arena-progress-card > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.arena-progress-unlock {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.72rem;
}

.arena-progress-unlock strong {
  color: var(--accent);
}

@media (max-width: 760px) {
  .arena-progress-card {
    padding: 17px;
  }
}


/* ==========================================================
   MY ARENA — PROGRESSION ROADMAP
   ========================================================== */

.arena-progress-eyebrow {
  color: var(--accent);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.arena-next-unlock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.015)
    );
}

.arena-next-unlock h3 {
  margin: 5px 0 3px;
  font-size: 1.05rem;
}

.arena-next-unlock p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.arena-next-unlock-level {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 62px;
  padding: 0 12px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.arena-level-roadmap {
  margin-top: 38px;
}

.arena-level-roadmap-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.arena-level-roadmap-head h2 {
  margin: 5px 0 0;
}

.arena-level-roadmap-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.arena-level-list {
  display: grid;
  gap: 7px;
}

.arena-level-item {
  display: grid;
  grid-template-columns:
    42px
    minmax(120px, 1fr)
    minmax(160px, 1.2fr)
    52px;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(12, 13, 15, 0.68);
}

.arena-level-item--completed {
  opacity: 0.64;
}

.arena-level-item--current {
  border-color: var(--accent);
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.015)
    );
}

.arena-level-item--locked {
  opacity: 0.48;
}

.arena-level-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.arena-level-item--current
.arena-level-number {
  border-color: var(--accent);
  color: var(--accent);
}

.arena-level-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.arena-level-copy strong {
  font-size: 0.78rem;
}

.arena-level-copy span {
  color: var(--muted);
  font-size: 0.62rem;
}

.arena-level-reward {
  color: var(--muted);
  font-size: 0.68rem;
}

.arena-level-item--current
.arena-level-reward {
  color: var(--text);
}

.arena-level-state {
  justify-self: end;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
}

.arena-level-item--current
.arena-level-state {
  color: var(--accent);
}

@media (max-width: 760px) {
  .arena-next-unlock {
    padding: 15px;
  }

  .arena-next-unlock-level {
    min-width: 54px;
    height: 54px;
    font-size: 0.64rem;
  }

  .arena-level-roadmap-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .arena-level-item {
    grid-template-columns:
      36px
      1fr
      auto;
    gap: 10px;
    min-height: 58px;
    padding: 9px 11px;
  }

  .arena-level-number {
    width: 32px;
    height: 32px;
  }

  .arena-level-reward {
    grid-column: 2 / 4;
    margin-top: -5px;
  }

  .arena-level-state {
    grid-column: 3;
    grid-row: 1;
  }
}


/* ==========================================================
   SUBMIT — CONTROLLED GENRE PICKER
   ========================================================== */

.submit-genre-picker {
  margin: 28px 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.submit-genre-heading {
  margin-bottom: 20px;
}

.submit-genre-heading h2 {
  margin: 5px 0 6px;
  font-size: 1.05rem;
}

.submit-genre-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.submit-genre-fieldset {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.submit-genre-fieldset legend {
  margin-bottom: 9px;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
}

.submit-genre-fieldset legend small {
  margin-left: 5px;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 600;
}

.submit-genre-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.submit-genre-chip {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.submit-genre-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.submit-genre-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.64rem;
  font-weight: 800;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.submit-genre-chip:hover span {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
}

.submit-genre-chip input:checked + span {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.07);
}

.submit-genre-chip input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.submit-genre-chip input:disabled + span {
  opacity: 0.28;
  cursor: not-allowed;
}

.submit-genre-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.62rem;
}

@media (max-width: 760px) {
  .submit-genre-picker {
    padding: 16px;
  }

  .submit-genre-chip-grid {
    gap: 6px;
  }

  .submit-genre-chip span {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 0.6rem;
  }
}


/* ==========================================================
   EXPLORE — GENRE DISCOVERY
   ========================================================== */

.explore-genre-filter {
  display: flex;
  gap: 8px;
  margin: 18px 0 22px;
  padding: 2px 0 6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.explore-genre-filter::-webkit-scrollbar {
  display: none;
}

.explore-genre-filter-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.explore-genre-filter-chip:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.30);
}

.explore-genre-filter-chip.is-active {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.065);
}

.song-genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.song-genre-tag {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.018);
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
}

.song-genre-tag:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
}

.song-genre-tag.is-primary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.055);
  font-weight: 850;
}

.explore-empty-filter {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.explore-empty-filter strong {
  display: block;
  margin-bottom: 6px;
}

.explore-empty-filter p {
  margin: 0 0 14px;
  color: var(--muted);
}

.explore-empty-filter a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 760px) {
  .explore-genre-filter {
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .explore-genre-filter-chip {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 0.60rem;
  }

  .song-genre-tag {
    min-height: 22px;
    padding: 4px 7px;
    font-size: 0.53rem;
  }
}


/* ==========================================================
   CREATOR STUDIO
   ========================================================== */

.creator-studio-page {
  display: grid;
  gap: 28px;
}

.creator-studio-hero {
  padding: 8px 0;
}

.creator-studio-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.creator-bulk-coming {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.creator-track-section {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.creator-track-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.creator-track-heading span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
}

.creator-track-heading h2 {
  margin: 4px 0 0;
}

.creator-track-heading > strong {
  font-size: 1.2rem;
}

.creator-track-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fill,
      minmax(220px, 1fr)
    );
  gap: 14px;
}

.creator-track-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.creator-track-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.creator-track-copy {
  padding: 14px;
}

.creator-track-copy > span {
  color: var(--accent);
  font-size: 0.56rem;
  font-weight: 850;
}

.creator-track-copy h3 {
  margin: 6px 0 3px;
  font-size: 0.92rem;
}

.creator-track-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.creator-track-empty {
  padding: 28px 4px;
}

.creator-track-empty p {
  margin-bottom: 18px;
  color: var(--muted);
}

.creator-activate-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 760px) {
  .creator-track-section {
    padding: 16px;
  }

  .creator-track-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
   CREATOR CAREER
   ========================================================== */

.creator-career-card,
.creator-level-roadmap {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.creator-career-head,
.creator-career-level {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.creator-career-head h2 {
  margin: 4px 0 0;
}

.creator-career-head > strong {
  font-size: 1.05rem;
}

.creator-career-level {
  margin: 22px 0 14px;
}

.creator-career-level > div:first-child {
  display: grid;
  gap: 3px;
}

.creator-career-level > div:first-child > span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
}

.creator-career-level > div:first-child > strong {
  font-size: 1rem;
}

.creator-slot-count {
  text-align: right;
  font-size: 1.25rem;
  font-weight: 850;
}

.creator-slot-count span {
  display: block;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
}

.creator-career-next {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.creator-next-slot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.creator-next-slot span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
}

.creator-next-slot strong {
  text-align: right;
  font-size: 0.7rem;
}

.creator-level-list {
  display: grid;
  gap: 7px;
}

.creator-level-item {
  display: grid;
  grid-template-columns:
    34px
    minmax(0, 1fr)
    minmax(120px, auto)
    42px;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  opacity: 0.58;
}

.creator-level-item--completed,
.creator-level-item--current {
  opacity: 1;
}

.creator-level-item--current {
  background: rgba(255, 255, 255, 0.04);
}

.creator-level-number {
  font-size: 0.68rem;
  font-weight: 850;
}

.creator-level-copy {
  display: grid;
  gap: 2px;
}

.creator-level-copy strong {
  font-size: 0.76rem;
}

.creator-level-copy span {
  color: var(--muted);
  font-size: 0.6rem;
}

.creator-level-unlock {
  color: var(--muted);
  font-size: 0.62rem;
  text-align: right;
}

.creator-level-state {
  font-size: 0.62rem;
  font-weight: 850;
  text-align: right;
}

@media (max-width: 760px) {
  .creator-career-card,
  .creator-level-roadmap {
    padding: 16px;
  }

  .creator-career-head,
  .creator-career-level {
    align-items: flex-start;
  }

  .creator-level-item {
    grid-template-columns:
      28px
      minmax(0, 1fr)
      34px;
  }

  .creator-level-unlock {
    grid-column:
      2 / -1;
    text-align: left;
  }
}


/* ==========================================================
   CREATOR COMPETITION CONTROL
   ========================================================== */

.creator-competition-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.creator-competition-summary > span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.creator-competition-summary > strong {
  font-size: 0.72rem;
}

.creator-competition-summary > small {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.62rem;
}

.creator-track-competition {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--border);
}

.creator-track-competition > span {
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.creator-track-competition--available > span {
  color: var(--muted);
}

.creator-track-competition--waiting > span,
.creator-track-competition--qualified > span {
  color: var(--accent);
}

.creator-track-competition--qualification > span,
.creator-track-competition--competition > span {
  color: var(--accent);
}

.creator-track-competition form {
  margin: 0;
}

.creator-enter-button {
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 10px;
  font-size: 0.62rem;
  font-weight: 850;
  cursor: pointer;
}

@media (max-width: 640px) {
  .creator-competition-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .creator-competition-summary > small {
    margin-left: 0;
  }

  .creator-track-competition {
    align-items: stretch;
    flex-direction: column;
  }

  .creator-enter-button {
    width: 100%;
  }
}


/* ==========================================================
   CREATOR ANALYTICS
   ========================================================== */

.creator-stats-overview {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
}

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

.creator-stats-overview-head span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.creator-stats-overview-head h2 {
  margin: 4px 0 0;
}

.creator-stats-grid {
  display: grid;
  grid-template-columns:
    repeat(
      7,
      minmax(0, 1fr)
    );
  gap: 8px;
}

.creator-stat {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 12px 9px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.018);
}

.creator-stat strong {
  font-size: 1rem;
}

.creator-stat span {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-track-stats {
  display: grid;
  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );
  gap: 6px;
  margin-top: 12px;
}

.creator-track-stats > div {
  display: grid;
  gap: 1px;
  padding: 7px 5px;
  border: 1px solid var(--border);
  border-radius: 9px;
  text-align: center;
  background: rgba(255, 255, 255, 0.018);
}

.creator-track-stats strong {
  font-size: 0.68rem;
}

.creator-track-stats span {
  color: var(--muted);
  font-size: 0.49rem;
  font-weight: 750;
  text-transform: uppercase;
}

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

@media (max-width: 640px) {
  .creator-stats-overview {
    padding: 15px;
  }

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

  .creator-track-stats {
    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );
  }
}


/* Creator engagement metrics expansion */

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

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

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


/* ==========================================================
   CREATOR STUDIO · CAREER CINEMATIC BACKGROUND
   ========================================================== */

.creator-studio-cinematic {
  position: relative;
  isolation: isolate;

  min-height: 100vh;
}

.creator-career-background,
.creator-career-background-grade {
  position: fixed;
  inset: 0;

  pointer-events: none;
}

.creator-career-background {
  z-index: -3;

  background-image:
    var(--creator-career-image);

  background-repeat:
    no-repeat;

  background-position:
    center center;

  background-size:
    cover;

  transform:
    translate3d(0, 0, 0)
    scale(1.08);

  transform-origin:
    center center;

  will-change:
    transform;

  filter:
    saturate(1.06)
    contrast(1.03)
    brightness(0.90);
}

.creator-career-background-grade {
  z-index: 1;

  background:
    radial-gradient(
      circle at 74% 20%,
      rgba(173, 224, 255, 0.18) 0%,
      rgba(92, 161, 255, 0.08) 19%,
      transparent 42%
    ),
    radial-gradient(
      circle at 18% 42%,
      rgba(255, 194, 105, 0.17) 0%,
      rgba(255, 164, 73, 0.07) 20%,
      transparent 43%
    ),
    radial-gradient(
      circle at 63% 72%,
      rgba(188, 255, 92, 0.09) 0%,
      transparent 34%
    ),
    linear-gradient(
      180deg,
      rgba(5, 6, 7, 0.22) 0%,
      rgba(5, 6, 7, 0.38) 28%,
      rgba(5, 6, 7, 0.50) 62%,
      rgba(5, 6, 7, 0.68) 100%
    ),
    linear-gradient(
      90deg,
      rgba(6, 7, 8, 0.30) 0%,
      rgba(6, 7, 8, 0.10) 48%,
      rgba(6, 7, 8, 0.26) 100%
    );
}

.creator-studio-cinematic
> :not(
  .creator-career-background
):not(
  .creator-career-background-grade
) {
  position: relative;
  z-index: 1;
}


/*
 * Let the visual world breathe through the panels,
 * without sacrificing text readability.
 */

.creator-studio-cinematic
.creator-stats-overview,

.creator-studio-cinematic
.creator-career-card,

.creator-studio-cinematic
.creator-level-roadmap,

.creator-studio-cinematic
.creator-track-section {
  background:
    rgba(
      10,
      11,
      12,
      0.72
    );

  backdrop-filter:
    blur(13px);

  -webkit-backdrop-filter:
    blur(13px);
}


/*
 * Hero text sits directly in the cinematic scene.
 */

.creator-studio-cinematic
.creator-studio-hero h1 {
  text-shadow:
    0 3px 28px
    rgba(
      0,
      0,
      0,
      0.88
    );
}

.creator-studio-cinematic
.creator-studio-hero
.page-intro {
  text-shadow:
    0 2px 18px
    rgba(
      0,
      0,
      0,
      0.92
    );
}


@media (
  max-width: 760px
) {
  .creator-career-background {
    background-position:
      center center;

    transform:
      translate3d(0, 0, 0)
      scale(1.12);

    filter:
      saturate(1.02)
      contrast(1.03)
      brightness(0.82);
  }

  .creator-career-background-grade {
    background:
      radial-gradient(
        circle at 72% 18%,
        rgba(156, 214, 255, 0.15) 0%,
        transparent 38%
      ),
      radial-gradient(
        circle at 20% 42%,
        rgba(255, 183, 92, 0.13) 0%,
        transparent 38%
      ),
      linear-gradient(
        180deg,
        rgba(5, 6, 7, 0.30) 0%,
        rgba(5, 6, 7, 0.46) 30%,
        rgba(5, 6, 7, 0.60) 68%,
        rgba(5, 6, 7, 0.76) 100%
      );
  }
}


@media (
  prefers-reduced-motion: reduce
) {
  .creator-career-background {
    transform:
      translate3d(0, 0, 0)
      scale(1.08) !important;

    will-change:
      auto;
  }
}


/* ==========================================================
   MY ARENA · SCOUT CAREER CINEMATIC BACKGROUND
   ========================================================== */

.scout-career-cinematic {
  position: relative;
  isolation: isolate;

  min-height: 100vh;
}

.scout-career-background,
.scout-career-background-grade {
  position: fixed;
  inset: 0;

  pointer-events: none;
}

.scout-career-background {
  z-index: -3;

  background-image:
    var(--scout-career-image);

  background-repeat:
    no-repeat;

  background-position:
    center center;

  background-size:
    cover;

  transform:
    translate3d(0, 0, 0)
    scale(1.08);

  transform-origin:
    center center;

  will-change:
    transform;

  filter:
    saturate(1.06)
    contrast(1.03)
    brightness(0.90);
}

.scout-career-background-grade {
  z-index: -2;

  background:
    radial-gradient(
      circle at 76% 18%,
      rgba(132, 182, 255, 0.20) 0%,
      rgba(91, 105, 255, 0.08) 20%,
      transparent 43%
    ),
    radial-gradient(
      circle at 18% 40%,
      rgba(255, 185, 100, 0.17) 0%,
      rgba(255, 132, 73, 0.06) 20%,
      transparent 42%
    ),
    radial-gradient(
      circle at 60% 72%,
      rgba(151, 255, 214, 0.08) 0%,
      transparent 34%
    ),
    linear-gradient(
      180deg,
      rgba(5, 6, 8, 0.22) 0%,
      rgba(5, 6, 8, 0.38) 30%,
      rgba(5, 6, 8, 0.50) 62%,
      rgba(5, 6, 8, 0.68) 100%
    );
}

.scout-career-cinematic
> :not(
  .scout-career-background
):not(
  .scout-career-background-grade
) {
  position: relative;
  z-index: 1;
}


/*
 * My Arena panels stay readable while the
 * Scout world remains visible underneath.
 */

.scout-career-cinematic
.my-arena-card,

.scout-career-cinematic
.arena-progress-card {
  background:
    rgba(
      10,
      11,
      13,
      0.72
    );

  backdrop-filter:
    blur(13px);

  -webkit-backdrop-filter:
    blur(13px);
}

.scout-career-cinematic
.my-arena-hero h1 {
  text-shadow:
    0 3px 28px
    rgba(
      0,
      0,
      0,
      0.88
    );
}


@media (
  max-width: 760px
) {
  .scout-career-background {
    background-position:
      center center;

    transform:
      translate3d(0, 0, 0)
      scale(1.12);

    filter:
      saturate(1.02)
      contrast(1.03)
      brightness(0.82);
  }

  .scout-career-background-grade {
    background:
      radial-gradient(
        circle at 72% 18%,
        rgba(132, 182, 255, 0.16) 0%,
        transparent 38%
      ),
      radial-gradient(
        circle at 20% 44%,
        rgba(255, 175, 92, 0.13) 0%,
        transparent 38%
      ),
      linear-gradient(
        180deg,
        rgba(5, 6, 8, 0.30) 0%,
        rgba(5, 6, 8, 0.46) 32%,
        rgba(5, 6, 8, 0.60) 68%,
        rgba(5, 6, 8, 0.76) 100%
      );
  }
}


@media (
  prefers-reduced-motion: reduce
) {
  .scout-career-background {
    transform:
      translate3d(0, 0, 0)
      scale(1.08) !important;

    will-change:
      auto;
  }
}

/* ==========================================================
   EXPLORE · CINEMATIC DISCOVERY BACKGROUND
   ========================================================== */

.explore-cinematic {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
}

.explore-cinematic-background,
.explore-cinematic-grade {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.explore-cinematic-background {
  z-index: 0;

  background-image:
    url("/static/images/explore/explore-background.webp");

  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  transform:
    translate3d(0, 0, 0)
    scale(1.08);

  transform-origin:
    center center;

  will-change: transform;

  filter:
    saturate(1.04)
    contrast(1.03)
    brightness(0.82);
}

.explore-cinematic-grade {
  z-index: 1;

  background:
    radial-gradient(
      circle at 20% 22%,
      rgba(255, 174, 89, 0.12) 0%,
      transparent 38%
    ),
    radial-gradient(
      circle at 78% 30%,
      rgba(117, 145, 255, 0.13) 0%,
      transparent 40%
    ),
    linear-gradient(
      180deg,
      rgba(5, 6, 8, 0.22) 0%,
      rgba(5, 6, 8, 0.38) 34%,
      rgba(5, 6, 8, 0.56) 72%,
      rgba(5, 6, 8, 0.72) 100%
    );
}

.explore-cinematic-content {
  position: relative;
  z-index: 2;
}

.explore-cinematic .song-card {
  background:
    rgba(10, 11, 13, 0.76);

  backdrop-filter:
    blur(12px);

  -webkit-backdrop-filter:
    blur(12px);
}

.explore-cinematic .explore-squad-status,
.explore-cinematic .explore-squad-signin {
  backdrop-filter:
    blur(10px);

  -webkit-backdrop-filter:
    blur(10px);
}

@media (max-width: 760px) {
  .explore-cinematic-background {
    background-position:
      center center;

    transform:
      translate3d(0, 0, 0)
      scale(1.12);

    filter:
      saturate(1.02)
      contrast(1.03)
      brightness(0.76);
  }

  .explore-cinematic-grade {
    background:
      radial-gradient(
        circle at 20% 20%,
        rgba(255, 174, 89, 0.10) 0%,
        transparent 36%
      ),
      radial-gradient(
        circle at 76% 28%,
        rgba(117, 145, 255, 0.12) 0%,
        transparent 38%
      ),
      linear-gradient(
        180deg,
        rgba(5, 6, 8, 0.28) 0%,
        rgba(5, 6, 8, 0.44) 36%,
        rgba(5, 6, 8, 0.62) 74%,
        rgba(5, 6, 8, 0.78) 100%
      );
  }
}

@media (prefers-reduced-motion: reduce) {
  .explore-cinematic-background {
    transform:
      translate3d(0, 0, 0)
      scale(1.08) !important;

    will-change: auto;
  }
}


/* ==========================================================
   GLOBAL NAVIGATION STACKING
   Page-level cinematic layers must never cover the site chrome.
   ========================================================== */

body > header {
  position: relative;
  z-index: 7000;
}

body > main {
  position: relative;
  z-index: 0;
}

/*
 * Drawer already uses 9000 / 9100.
 * Keep it above the global header.
 */

/* ==========================================================
   EXPLORE — LANGUAGE DISCOVERY
   ========================================================== */

.explore-discovery-filters {
  display: grid;
  gap: 8px;
  margin: 18px 0 22px;
}

.explore-filter-group {
  min-width: 0;
}

.explore-filter-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.explore-discovery-filters .explore-genre-filter {
  margin: 0;
}

.explore-language-filter-chip {
  border-color: rgba(255, 255, 255, 0.12);
}

.song-language-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.song-language-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--accent);
  font-size: 0.52rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.song-language-tag:hover {
  border-color: var(--accent);
  color: var(--text);
}

@media (max-width: 760px) {
  .explore-discovery-filters {
    gap: 7px;
    margin-top: 16px;
    margin-bottom: 20px;
  }

  .explore-filter-label {
    margin-left: 1px;
    font-size: 0.5rem;
  }

  .song-language-tag {
    min-height: 21px;
    padding: 4px 7px;
    font-size: 0.51rem;
  }
}

/* ==========================================================
   SUBMIT / CREATOR CATALOG — CINEMATIC WORKSPACE
   ========================================================== */

.submit-cinematic {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
}

.submit-cinematic-background,
.submit-cinematic-grade {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.submit-cinematic-background {
  z-index: -3;
  background:
    radial-gradient(
      circle at 74% 14%,
      rgba(190, 255, 54, 0.08),
      transparent 28%
    ),
    radial-gradient(
      circle at 10% 40%,
      rgba(72, 125, 255, 0.08),
      transparent 32%
    ),
    #090a0b;
  background-size: cover;
  background-position: center top;
}

.submit-cinematic-grade {
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(7, 8, 9, 0.94) 0%,
      rgba(7, 8, 9, 0.82) 48%,
      rgba(7, 8, 9, 0.72) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 8, 9, 0.10),
      rgba(7, 8, 9, 0.82)
    );
}

.submit-cinematic-content {
  position: relative;
  z-index: 1;
}

.submit-hero {
  max-width: 820px;
  margin-bottom: 26px;
}

.submit-hero h1 {
  margin-bottom: 10px;
}

.submit-hero .page-intro {
  max-width: 660px;
  margin-bottom: 0;
}

.submit-workspace {
  display: grid;
  grid-template-columns:
    minmax(0, 1.7fr)
    minmax(280px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.submit-main-column {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.submit-details-card,
.submit-genre-picker,
.submit-language-picker,
.submit-sidebar-card,
.submit-sidebar-visual {
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    linear-gradient(
      180deg,
      rgba(18, 20, 22, 0.88),
      rgba(11, 12, 14, 0.88)
    );
  backdrop-filter: blur(12px);
}

.submit-details-card,
.submit-genre-picker,
.submit-language-picker {
  padding: 20px;
}

.submit-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.submit-step-number {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 999px;
  background: var(--accent);
  color: #090a0b;
  font-size: 0.72rem;
  font-weight: 950;
}

.submit-section-heading .eyebrow {
  margin: 1px 0 4px;
}

.submit-section-heading p,
.submit-genre-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

.submit-details-card > label {
  display: block;
  margin-top: 13px;
}

.submit-details-card > label:first-of-type {
  margin-top: 0;
}

.submit-details-card input[type="text"],
.submit-details-card input[type="url"] {
  margin-top: 7px;
}

.submit-genre-picker {
  margin: 0;
}

.submit-language-picker {
  margin: 0;
}

.submit-genre-fieldset {
  margin-top: 14px;
}

.submit-genre-chip-grid {
  gap: 6px;
}

.submit-genre-chip span {
  min-height: 31px;
  padding: 6px 10px;
}

.submit-genre-note {
  margin-top: 14px;
}

#submit-song-button {
  min-height: 50px;
  margin-top: 2px;
  padding-inline: 24px;
  font-weight: 900;
}

.submit-sidebar {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 118px;
}

.submit-sidebar-card {
  padding: 18px;
}

.submit-sidebar-card .eyebrow {
  margin-bottom: 10px;
}

.submit-sidebar-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.65;
}

.submit-sidebar-icon {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 1.2rem;
}

.submit-next-list,
.submit-tip-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.submit-next-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.45;
}

.submit-next-list li span {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.58rem;
  font-weight: 850;
}

.submit-tip-list li {
  position: relative;
  padding-left: 17px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.45;
}

.submit-tip-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.submit-sidebar-visual {
  position: relative;
  min-height: 265px;
  overflow: hidden;
  padding: 20px;
  background:
    linear-gradient(
      180deg,
      rgba(8, 9, 10, 0.10),
      rgba(8, 9, 10, 0.84)
    ),
    radial-gradient(
      circle at 70% 20%,
      rgba(190, 255, 54, 0.25),
      transparent 34%
    ),
    #101315;
}

.submit-sidebar-visual-copy {
  position: absolute;
  inset: auto 20px 20px;
  display: grid;
  gap: 9px;
}

.submit-sidebar-visual-copy strong {
  max-width: 240px;
  color: var(--accent);
  font-size: 1.15rem;
  line-height: 1.12;
  letter-spacing: 0.03em;
}

.submit-sidebar-visual-copy span {
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.45;
}

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

  .submit-sidebar {
    position: static;
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .submit-sidebar-visual {
    min-height: 220px;
  }
}

@media (max-width: 760px) {
  .submit-hero {
    margin-bottom: 18px;
  }

  .submit-hero h1 {
    margin-bottom: 8px;
  }

  .submit-hero .page-intro {
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .submit-workspace,
  .submit-main-column {
    gap: 10px;
  }

  .submit-details-card,
  .submit-genre-picker,
  .submit-language-picker,
  .submit-sidebar-card {
    padding: 15px;
    border-radius: 17px;
  }

  .submit-section-heading {
    gap: 10px;
    margin-bottom: 14px;
  }

  .submit-step-number {
    width: 27px;
    height: 27px;
    font-size: 0.62rem;
  }

  .submit-genre-fieldset {
    margin-top: 11px;
  }

  .submit-genre-chip-grid {
    gap: 5px;
  }

  .submit-genre-chip span {
    min-height: 29px;
    padding: 5px 8px;
    font-size: 0.56rem;
  }

  .submit-genre-note {
    margin-top: 11px;
  }

  #submit-song-button {
    width: 100%;
    min-height: 49px;
    margin-top: 4px;
  }

  .submit-sidebar {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .submit-sidebar-visual {
    min-height: 205px;
    border-radius: 17px;
  }
}

/* ==========================================================
   SUBMIT — CLEAN MUSIC STYLE / LANGUAGE STACK
   ========================================================== */

.submit-genre-picker,
.submit-language-picker {
  display: block;
}

.submit-genre-picker .submit-section-heading,
.submit-language-picker .submit-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.submit-genre-picker .submit-genre-heading,
.submit-language-picker .submit-genre-heading {
  display: block;
  min-width: 0;
}

.submit-genre-picker .submit-genre-heading h2,
.submit-language-picker .submit-genre-heading h2 {
  margin: 3px 0 5px;
}

.submit-genre-picker .submit-genre-heading p,
.submit-language-picker .submit-genre-heading p {
  max-width: 560px;
}

.submit-genre-picker .submit-genre-fieldset,
.submit-language-picker .submit-genre-fieldset {
  display: block;
  width: 100%;
  margin: 16px 0 0;
  padding: 0;
}

.submit-genre-picker .submit-genre-fieldset + .submit-genre-fieldset {
  margin-top: 18px;
}

.submit-genre-fieldset legend {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  margin-bottom: 9px;
}

.submit-genre-fieldset legend small {
  color: var(--muted);
  font-size: 0.54rem;
  font-weight: 700;
}

.submit-genre-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.submit-genre-chip {
  flex: 0 0 auto;
}

.submit-genre-chip span {
  width: auto;
}

.submit-language-picker .submit-genre-chip-grid {
  max-width: 100%;
}

@media (min-width: 761px) {
  .submit-genre-picker > .submit-genre-fieldset {
    width: 100%;
  }

  .submit-language-picker > .submit-genre-fieldset {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .submit-genre-picker .submit-section-heading,
  .submit-language-picker .submit-section-heading {
    gap: 10px;
    margin-bottom: 13px;
  }

  .submit-genre-picker .submit-genre-heading h2,
  .submit-language-picker .submit-genre-heading h2 {
    margin-top: 2px;
    margin-bottom: 4px;
  }

  .submit-genre-picker .submit-genre-heading p,
  .submit-language-picker .submit-genre-heading p {
    font-size: 0.62rem;
    line-height: 1.45;
  }

  .submit-genre-picker .submit-genre-fieldset,
  .submit-language-picker .submit-genre-fieldset {
    margin-top: 12px;
  }

  .submit-genre-picker .submit-genre-fieldset + .submit-genre-fieldset {
    margin-top: 15px;
  }

  .submit-genre-fieldset legend {
    margin-bottom: 8px;
  }

  .submit-genre-chip-grid {
    gap: 6px;
  }

  .submit-genre-chip span {
    min-height: 29px;
    padding: 5px 8px;
    font-size: 0.56rem;
  }
}

/* ==========================================================
   SUBMIT — FINAL CINEMATIC ASSETS
   ========================================================== */

.submit-cinematic-background {
  background:
    linear-gradient(
      90deg,
      rgba(7, 8, 9, 0.95) 0%,
      rgba(7, 8, 9, 0.80) 42%,
      rgba(7, 8, 9, 0.58) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 8, 9, 0.08) 0%,
      rgba(7, 8, 9, 0.56) 56%,
      rgba(7, 8, 9, 0.94) 100%
    ),
    url("/static/images/submit/submit-hero-bg.webp");

  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  filter:
    saturate(1.04)
    contrast(1.04)
    brightness(0.82);
}

.submit-cinematic-grade {
  background:
    linear-gradient(
      90deg,
      rgba(7, 8, 9, 0.26) 0%,
      rgba(7, 8, 9, 0.10) 50%,
      rgba(7, 8, 9, 0.20) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 8, 9, 0.04) 0%,
      rgba(7, 8, 9, 0.34) 48%,
      rgba(7, 8, 9, 0.90) 100%
    );
}

.submit-sidebar-visual {
  background:
    linear-gradient(
      180deg,
      rgba(8, 9, 10, 0.06) 0%,
      rgba(8, 9, 10, 0.30) 46%,
      rgba(8, 9, 10, 0.88) 100%
    ),
    url("/static/images/submit/submit-side-visual.webp");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

@media (max-width: 900px) {
  .submit-cinematic-background {
    background-position: 58% top;
  }
}

@media (max-width: 760px) {
  .submit-cinematic-background {
    background:
      linear-gradient(
        180deg,
        rgba(7, 8, 9, 0.72) 0%,
        rgba(7, 8, 9, 0.82) 38%,
        rgba(7, 8, 9, 0.96) 100%
      ),
      url("/static/images/submit/submit-hero-bg.webp");

    background-size: auto 72vh;
    background-position: 62% top;
    background-repeat: no-repeat;

    filter:
      saturate(1.02)
      contrast(1.04)
      brightness(0.76);
  }

  .submit-sidebar-visual {
    background-position: 56% center;
  }
}

/* ==========================================================
   SUBMIT — CINEMATIC STACKING FIX
   ========================================================== */

.submit-cinematic {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
}

.submit-cinematic-background {
  z-index: 0;
}

.submit-cinematic-grade {
  z-index: 1;
}

.submit-cinematic-content {
  position: relative;
  z-index: 2;
}

.submit-cinematic-background,
.submit-cinematic-grade {
  pointer-events: none;
}

.submit-cinematic-background {
  background:
    linear-gradient(
      90deg,
      rgba(7, 8, 9, 0.88) 0%,
      rgba(7, 8, 9, 0.66) 42%,
      rgba(7, 8, 9, 0.38) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 8, 9, 0.06) 0%,
      rgba(7, 8, 9, 0.34) 58%,
      rgba(7, 8, 9, 0.90) 100%
    ),
    url("/static/images/submit/submit-hero-bg.webp");

  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  filter:
    saturate(1.06)
    contrast(1.03)
    brightness(0.88);
}

.submit-cinematic-grade {
  background:
    linear-gradient(
      180deg,
      rgba(8, 9, 10, 0.04) 0%,
      rgba(8, 9, 10, 0.20) 38%,
      rgba(8, 9, 10, 0.72) 78%,
      rgba(8, 9, 10, 0.95) 100%
    );
}

@media (max-width: 760px) {
  .submit-cinematic-background {
    background:
      linear-gradient(
        180deg,
        rgba(7, 8, 9, 0.48) 0%,
        rgba(7, 8, 9, 0.66) 35%,
        rgba(7, 8, 9, 0.90) 72%,
        rgba(7, 8, 9, 0.98) 100%
      ),
      url("/static/images/submit/submit-hero-bg.webp");

    background-size: auto 76vh;
    background-position: 64% top;
    background-repeat: no-repeat;

    filter:
      saturate(1.04)
      contrast(1.03)
      brightness(0.82);
  }
}

/* ==========================================================
   SUBMIT — DIRECT HERO FALLBACK TEST
   ========================================================== */

.submit-cinematic {
  position: relative;
  isolation: isolate;

  background:
    linear-gradient(
      180deg,
      rgba(7, 8, 9, 0.30) 0%,
      rgba(7, 8, 9, 0.58) 28%,
      rgba(7, 8, 9, 0.88) 58%,
      rgba(7, 8, 9, 0.98) 100%
    ),
    url("/static/images/submit/submit-hero-bg.webp");

  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
}

.submit-cinematic-background {
  display: none;
}

.submit-cinematic-grade {
  display: none;
}

.submit-cinematic-content {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  .submit-cinematic {
    background:
      linear-gradient(
        180deg,
        rgba(7, 8, 9, 0.34) 0%,
        rgba(7, 8, 9, 0.68) 24%,
        rgba(7, 8, 9, 0.93) 52%,
        rgba(7, 8, 9, 1) 100%
      ),
      url("/static/images/submit/submit-hero-bg.webp");

    background-size: auto 620px;
    background-position: 61% top;
    background-repeat: no-repeat;
  }
}

/* ==========================================================
   SUBMIT — FULL PAGE CINEMATIC BACKGROUND
   ========================================================== */

/*
 * The root itself stays transparent.
 * The dedicated fixed layer becomes the actual page scenery.
 */
.submit-cinematic {
  position: relative;
  isolation: isolate;
  background: transparent;
}

/*
 * Re-enable the cinematic layers now that the template
 * actually contains them.
 */
.submit-cinematic-background,
.submit-cinematic-grade {
  display: block;
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.submit-cinematic-background {
  z-index: 0;

  background-image:
    url("/static/images/submit/submit-hero-bg.webp");

  background-size: cover;
  background-position: 58% center;
  background-repeat: no-repeat;

  filter:
    saturate(1.05)
    contrast(1.04)
    brightness(0.76);

  transform: scale(1.025);
}

.submit-cinematic-grade {
  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(7, 8, 9, 0.72) 0%,
      rgba(7, 8, 9, 0.48) 48%,
      rgba(7, 8, 9, 0.40) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 8, 9, 0.12) 0%,
      rgba(7, 8, 9, 0.30) 42%,
      rgba(7, 8, 9, 0.62) 100%
    );
}

.submit-cinematic-content {
  position: relative;
  z-index: 2;
}

/*
 * Cards keep enough density for readability while allowing
 * the cinematic scene to remain visible through the UI.
 */
.submit-details-card,
.submit-genre-picker,
.submit-language-picker,
.submit-sidebar-card {
  background:
    linear-gradient(
      180deg,
      rgba(15, 17, 19, 0.91),
      rgba(9, 10, 12, 0.93)
    );
}

/*
 * Mobile: use the right side of the artwork so the producer
 * and stage remain visible without fighting the text.
 */
@media (max-width: 760px) {
  .submit-cinematic-background {
    background-size: cover;
    background-position: 61% center;

    filter:
      saturate(1.03)
      contrast(1.04)
      brightness(0.66);

    transform: scale(1.04);
  }

  .submit-cinematic-grade {
    background:
      linear-gradient(
        180deg,
        rgba(7, 8, 9, 0.30) 0%,
        rgba(7, 8, 9, 0.52) 32%,
        rgba(7, 8, 9, 0.68) 100%
      ),
      linear-gradient(
        90deg,
        rgba(7, 8, 9, 0.60),
        rgba(7, 8, 9, 0.38)
      );
  }
}

/* ==========================================================
   SUBMIT — FINAL FULL-BLEED HERO BANNER
   ========================================================== */

.submit-cinematic {
  position: relative;
  isolation: isolate;
  background: transparent;
}

/*
 * Dedicated artwork is a HERO banner only.
 * It escapes <main>'s max-width/padding and reaches
 * the viewport edges.
 */
.submit-cinematic-background {
  display: block;
  position: absolute;

  top: -64px;
  left: 50%;

  width: 100vw;
  height: 430px;

  transform: translateX(-50%);

  z-index: 0;
  pointer-events: none;

  background-image:
    url("/static/images/submit/submit-hero-bg.webp");

  background-size: cover;
  background-position: 58% 42%;
  background-repeat: no-repeat;

  filter:
    saturate(1.05)
    contrast(1.04)
    brightness(0.80);
}

/*
 * Darken the left/text area and dissolve the banner
 * naturally into the form below.
 */
.submit-cinematic-grade {
  display: block;
  position: absolute;

  top: -64px;
  left: 50%;

  width: 100vw;
  height: 430px;

  transform: translateX(-50%);

  z-index: 1;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(7, 8, 9, 0.68) 0%,
      rgba(7, 8, 9, 0.34) 48%,
      rgba(7, 8, 9, 0.20) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 8, 9, 0.06) 0%,
      rgba(7, 8, 9, 0.08) 55%,
      rgba(7, 8, 9, 0.92) 100%
    );
}

.submit-cinematic-content {
  position: relative;
  z-index: 2;
}

/*
 * Keep the hero tall enough to let the artwork breathe,
 * without turning the whole page into a background scene.
 */
.submit-hero {
  position: relative;
  min-height: 215px;
  margin-bottom: 0;
  padding-top: 4px;
}

/*
 * Track Details can overlap the end of the cinematic
 * banner slightly, like the mockup.
 */
.submit-workspace {
  position: relative;
  z-index: 3;
}

/* MOBILE */
@media (max-width: 760px) {
  .submit-cinematic-background {
    top: -64px;
    height: 330px;

    background-size: cover;
    background-position: 61% center;

    filter:
      saturate(1.03)
      contrast(1.04)
      brightness(0.70);
  }

  .submit-cinematic-grade {
    top: -64px;
    height: 330px;

    background:
      linear-gradient(
        90deg,
        rgba(7, 8, 9, 0.64) 0%,
        rgba(7, 8, 9, 0.35) 100%
      ),
      linear-gradient(
        180deg,
        rgba(7, 8, 9, 0.10) 0%,
        rgba(7, 8, 9, 0.18) 52%,
        rgba(7, 8, 9, 0.94) 100%
      );
  }

  .submit-hero {
    min-height: 175px;
    padding-top: 0;
  }
}

/* ==========================================================
   SUBMIT — ROBUST FULL-BLEED HERO
   ========================================================== */

.submit-page.submit-cinematic {
  position: relative;
  isolation: isolate;
  background: transparent;
}

/*
 * Artwork.
 * Escape <main>'s max-width and padding and fill the viewport.
 */
.submit-page.submit-cinematic::before {
  content: "";
  position: absolute;

  top: -64px;
  left: 50%;

  width: 100vw;
  height: 470px;

  transform: translateX(-50%);

  z-index: 0;
  pointer-events: none;

  background-image:
    url("/static/images/submit/submit-hero-bg.webp");

  background-size: cover;
  background-position: 58% 45%;
  background-repeat: no-repeat;

  filter:
    saturate(1.06)
    contrast(1.04)
    brightness(0.82);
}

/*
 * Readability + bottom fade.
 */
.submit-page.submit-cinematic::after {
  content: "";
  position: absolute;

  top: -64px;
  left: 50%;

  width: 100vw;
  height: 470px;

  transform: translateX(-50%);

  z-index: 1;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(7, 8, 9, 0.62) 0%,
      rgba(7, 8, 9, 0.28) 52%,
      rgba(7, 8, 9, 0.12) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 8, 9, 0.02) 0%,
      rgba(7, 8, 9, 0.06) 48%,
      rgba(7, 8, 9, 0.55) 76%,
      rgba(7, 8, 9, 0.98) 100%
    );
}

/*
 * Real page content always above the two pseudo layers.
 */
.submit-page.submit-cinematic > * {
  position: relative;
  z-index: 2;
}

/*
 * Old experimental cinematic elements are irrelevant.
 */
.submit-cinematic-background,
.submit-cinematic-grade {
  display: none !important;
}

/*
 * Hero lives fully inside the artwork.
 */
.submit-page.submit-cinematic .submit-hero {
  min-height: 235px;
  margin-bottom: 0;
  padding-top: 0;
}

/*
 * Form overlaps the bottom fade slightly.
 */
.submit-page.submit-cinematic .submit-workspace {
  position: relative;
  z-index: 3;
}


/* MOBILE */

@media (max-width: 760px) {
  .submit-page.submit-cinematic::before {
    top: -64px;
    height: 370px;

    background-size: cover;
    background-position: 62% center;

    filter:
      saturate(1.04)
      contrast(1.04)
      brightness(0.72);
  }

  .submit-page.submit-cinematic::after {
    top: -64px;
    height: 370px;

    background:
      linear-gradient(
        90deg,
        rgba(7, 8, 9, 0.58) 0%,
        rgba(7, 8, 9, 0.25) 100%
      ),
      linear-gradient(
        180deg,
        rgba(7, 8, 9, 0.04) 0%,
        rgba(7, 8, 9, 0.14) 46%,
        rgba(7, 8, 9, 0.72) 76%,
        rgba(7, 8, 9, 0.98) 100%
      );
  }

  .submit-page.submit-cinematic .submit-hero {
    min-height: 185px;
  }
}


/* =========================================================
   RULES
   ========================================================= */

.rules-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.rules-hero {
  max-width: 820px;
  margin-bottom: 48px;
}

.rules-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

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

.rules-card {
  position: relative;
  min-height: 360px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.015)
    );
}

.rules-number {
  display: inline-block;
  margin-bottom: 46px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  opacity: 0.52;
}

.rules-card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.rules-card p {
  max-width: 620px;
  opacity: 0.76;
}

.rules-card ul {
  margin: 24px 0 0;
  padding-left: 20px;
}

.rules-card li {
  margin: 10px 0;
  line-height: 1.55;
  opacity: 0.78;
}

.rules-card-final {
  display: flex;
  flex-direction: column;
}

.rules-card-final blockquote {
  margin: auto 0 26px;
  max-width: 500px;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.rules-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 22px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
}

.rules-cta span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  opacity: 0.55;
}

.rules-cta h2 {
  margin: 0;
}

@media (max-width: 760px) {
  .rules-page {
    width: min(100% - 22px, 1180px);
    padding-top: 44px;
  }

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

  .rules-card {
    min-height: 0;
    padding: 24px;
  }

  .rules-number {
    margin-bottom: 28px;
  }

  .rules-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* =========================================================
   RULES — CINEMATIC HERO ARTWORK
   ========================================================= */

.rules-hero {
  position: relative;
  isolation: isolate;
  max-width: none;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 42px;
  padding: 58px 54px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  background:
    linear-gradient(
      90deg,
      rgba(7, 8, 9, 0.98) 0%,
      rgba(7, 8, 9, 0.92) 27%,
      rgba(7, 8, 9, 0.58) 52%,
      rgba(7, 8, 9, 0.16) 78%,
      rgba(7, 8, 9, 0.06) 100%
    ),
    url("../images/rules/rules-hero.webp")
    center center / cover no-repeat;
}

.rules-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      0deg,
      rgba(7, 8, 9, 0.42),
      transparent 35%
    );
}

.rules-hero .eyebrow,
.rules-hero h1,
.rules-hero .page-intro {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.rules-hero .page-intro {
  max-width: 610px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 760px) {
  .rules-hero {
    min-height: 520px;
    justify-content: flex-end;
    padding: 30px 24px;
    background:
      linear-gradient(
        0deg,
        rgba(7, 8, 9, 0.98) 0%,
        rgba(7, 8, 9, 0.88) 42%,
        rgba(7, 8, 9, 0.24) 78%
      ),
      url("../images/rules/rules-hero.webp")
      67% center / cover no-repeat;
  }

  .rules-hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }
}


/* =========================================================
   RULES — FULL-BLEED HERO
   ========================================================= */

.rules-page {
  overflow: visible;
}

.rules-hero {
  left: 50%;
  width: 100vw;
  max-width: none;
  margin-left: -50vw;
  margin-right: -50vw;
  border: 0;
  border-radius: 0;
  padding-left: max(
    24px,
    calc((100vw - 1180px) / 2 + 54px)
  );
  padding-right: max(
    24px,
    calc((100vw - 1180px) / 2 + 54px)
  );
}

@media (max-width: 760px) {
  .rules-hero {
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-left: 24px;
    padding-right: 24px;
  }
}


/* =========================================================
   RULES — MOBILE HERO ARTWORK
   ========================================================= */

@media (max-width: 760px) {
  .rules-hero {
    min-height: 560px;
    justify-content: flex-end;
    padding-top: 220px;
    padding-bottom: 34px;

    background:
      linear-gradient(
        0deg,
        rgba(7, 8, 9, 0.98) 0%,
        rgba(7, 8, 9, 0.90) 34%,
        rgba(7, 8, 9, 0.38) 66%,
        rgba(7, 8, 9, 0.08) 100%
      ),
      url("../images/rules/rules-hero-mobile.webp")
      center top / cover no-repeat;
  }

  .rules-hero .eyebrow,
  .rules-hero h1,
  .rules-hero .page-intro {
    max-width: 100%;
  }

  .rules-hero h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
    line-height: 0.94;
  }

  .rules-hero .page-intro {
    max-width: 32rem;
  }
}


/* =========================================================
   RULES — HERO FLUSH TO TOPBAR
   ========================================================= */

.rules-page {
  padding-top: 0;
}

.rules-hero {
  margin-top: 0;
  margin-bottom: 28px;
}

.rules-grid,
.rules-cta {
  position: relative;
}

@media (max-width: 760px) {
  .rules-page {
    padding-top: 0;
  }

  .rules-hero {
    margin-top: 0;
    margin-bottom: 20px;
  }
}


/* =========================================================
   RULES — ZERO GAP BELOW SEASON BAR
   ========================================================= */

main {
  padding-top: 0;
}

.rules-page {
  margin-top: 0;
  padding-top: 0;
}

.rules-hero {
  margin-top: 0 !important;
  top: 0;
}

.rules-page > .rules-hero:first-child {
  margin-top: 0 !important;
}

@media (max-width: 760px) {
  main {
    padding-top: 0;
  }

  .rules-page {
    margin-top: 0;
    padding-top: 0;
  }

  .rules-hero {
    margin-top: 0 !important;
  }
}

/* ==========================================================
   SUBMIT — CREATOR / SCOUT RELATIONSHIP
   ========================================================== */

.submit-role-picker {
  display: grid;
  gap: 1.25rem;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  background: rgba(7, 10, 18, 0.72);
  backdrop-filter: blur(18px);
}

.submit-role-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.submit-role-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.submit-role-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.submit-role-option > span {
  display: grid;
  gap: 0.45rem;
  min-height: 100%;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.submit-role-option strong {
  font-size: 0.96rem;
}

.submit-role-option small,
.submit-role-note {
  color: var(--muted);
  line-height: 1.5;
}

.submit-role-option input:checked + span {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.095);
  transform: translateY(-1px);
}

.submit-role-note {
  margin: 0;
  font-size: 0.86rem;
}

@media (max-width: 720px) {
  .submit-role-options {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   SUBMIT — QUALIFICATION ROUTING CARD
   ========================================================== */

.submit-week-routing {
  position: relative;
  width: min(1130px, calc(100% - 2rem));
  margin: 1.25rem auto 1.5rem;
  padding: 1.3rem 1.45rem 1.35rem;
  border: 1px solid rgba(204, 255, 0, 0.22);
  border-radius: 1.35rem;
  background:
    linear-gradient(
      135deg,
      rgba(204, 255, 0, 0.055),
      rgba(255, 255, 255, 0.018) 55%,
      rgba(255, 255, 255, 0.008)
    ),
    rgba(10, 13, 12, 0.92);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.submit-week-routing::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: rgba(204, 255, 0, 0.82);
}

.submit-week-routing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.submit-open-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(204, 255, 0, 0.42);
  border-radius: 999px;
  background: rgba(204, 255, 0, 0.09);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  color: var(--accent, #ccff00);
}

.submit-week-phase {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.44);
  text-transform: uppercase;
}

.submit-week-routing-copy {
  display: grid;
  gap: 0.28rem;
}

.submit-week-routing-copy > span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.submit-week-routing-copy > strong {
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.submit-week-routing-copy > p {
  max-width: 46rem;
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

@media (max-width: 720px) {
  .submit-week-routing {
    width: calc(100% - 1rem);
    margin: 0.75rem auto 1rem;
    padding: 1rem 1rem 1.05rem 1.15rem;
    border-radius: 1.05rem;
  }

  .submit-week-routing-head {
    align-items: flex-start;
    margin-bottom: 0.85rem;
  }

  .submit-week-phase {
    padding-top: 0.35rem;
  }

  .submit-week-routing-copy > strong {
    font-size: 1.25rem;
  }

  .submit-week-routing-copy > p {
    font-size: 0.88rem;
  }
}

/* ==========================================================
   SUBMIT — COMPACT QUALIFICATION ROUTING CARD
   ========================================================== */

.submit-week-routing {
  width: min(1080px, calc(100% - 2rem));
  margin: 0.8rem auto 1rem;
  padding: 0.9rem 1rem 0.95rem;
  border-radius: 1rem;
  background:
    rgba(10, 13, 12, 0.82);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.22);
}

.submit-week-routing::before {
  width: 2px;
  opacity: 0.55;
}

.submit-week-routing-head {
  margin-bottom: 0.55rem;
}

.submit-open-badge {
  padding: 0.3rem 0.58rem;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  background: rgba(204, 255, 0, 0.055);
}

.submit-week-phase {
  font-size: 0.58rem;
  opacity: 0.72;
}

.submit-week-routing-copy {
  gap: 0.16rem;
}

.submit-week-routing-copy > span {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.submit-week-routing-copy > strong {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.05;
}

.submit-week-routing-copy > p {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 720px) {
  .submit-week-routing {
    width: calc(100% - 1rem);
    margin: 0.45rem auto 0.7rem;
    padding: 0.72rem 0.8rem 0.78rem 0.9rem;
    border-radius: 0.9rem;
  }

  .submit-week-routing-head {
    margin-bottom: 0.42rem;
  }

  .submit-open-badge {
    padding: 0.26rem 0.5rem;
    font-size: 0.54rem;
  }

  .submit-week-phase {
    font-size: 0.52rem;
    padding-top: 0.2rem;
  }

  .submit-week-routing-copy > span {
    font-size: 0.54rem;
  }

  .submit-week-routing-copy > strong {
    font-size: 0.98rem;
  }

  .submit-week-routing-copy > p {
    display: none;
  }
}

/* ==========================================================
   GLOBAL FOOTER
   ========================================================== */

.site-footer {
  position: relative;
  z-index: 4;
  margin-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(
      180deg,
      rgba(8, 10, 12, 0.94),
      rgba(4, 5, 7, 0.99)
    );
}

.site-footer-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3rem 0 2.4rem;
  display: grid;
  grid-template-columns:
    minmax(240px, 1.7fr)
    repeat(3, minmax(120px, 1fr));
  gap: 2.5rem;
}

.site-footer-brand {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.site-footer-logo {
  width: fit-content;
  font-size: 1.18rem;
  font-weight: 850;
  color: inherit;
  text-decoration: none;
}

.site-footer-brand p {
  margin: 0;
  font-weight: 650;
}

.site-footer-brand small {
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.46);
  line-height: 1.55;
}

.site-footer-column {
  display: grid;
  align-content: start;
  gap: 0.72rem;
}

.site-footer-column strong {
  margin-bottom: 0.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.site-footer-column a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer-column a:hover {
  color: #fff;
}

.site-footer-bottom {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1rem 0 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.74rem;
}


/* ==========================================================
   PUBLIC / LEGAL PAGES
   ========================================================== */

.public-page {
  width: min(1060px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.5rem 0 2rem;
}

.public-page-hero {
  max-width: 760px;
  margin-bottom: 3rem;
}

.public-page-hero h1 {
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.public-page-hero > p:last-child {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 1.05rem;
  line-height: 1.65;
}

.public-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.public-info-card {
  min-height: 220px;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.025);
}

.public-info-card h2 {
  margin: 0.55rem 0 0.75rem;
  font-size: 1.18rem;
}

.public-info-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  line-height: 1.65;
}

.public-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.legal-copy {
  max-width: 780px;
}

.legal-copy h2 {
  margin: 2.4rem 0 0.65rem;
  font-size: 1.18rem;
}

.legal-copy p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.75;
}

.legal-copy a {
  color: inherit;
}

@media (max-width: 820px) {
  .site-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer-brand {
    grid-column: 1 / -1;
  }

  .public-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-footer {
    margin-top: 3.5rem;
  }

  .site-footer-inner {
    width: calc(100% - 2rem);
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
    padding-top: 2.2rem;
  }

  .site-footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer-column:last-child {
    grid-column: 1 / -1;
  }

  .site-footer-bottom {
    width: calc(100% - 2rem);
    flex-direction: column;
  }

  .public-page {
    padding-top: 2.8rem;
  }

  .public-page-hero {
    margin-bottom: 2rem;
  }

  .public-page-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.8rem);
  }
}

/* ==========================================================
   MOBILE FOOTER POLISH
   ========================================================== */

@media (max-width: 560px) {
  .site-footer {
    margin-top: 4rem;
  }

  .site-footer-inner {
    width: calc(100% - 1.5rem);
    padding: 2.4rem 0 1.8rem;
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem 1.35rem;
  }

  .site-footer-brand {
    grid-column: 1 / -1;
    gap: 0.7rem;
    padding-bottom: 0.25rem;
  }

  .site-footer-logo {
    font-size: 1.08rem;
    font-weight: 850;
    letter-spacing: -0.02em;
  }

  .site-footer-brand p {
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .site-footer-brand small {
    max-width: 24rem;
    font-size: 0.72rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.5);
  }

  .site-footer-column {
    gap: 0.78rem;
  }

  .site-footer-column strong {
    margin-bottom: 0.1rem;
    font-size: 0.62rem;
    letter-spacing: 0.13em;
  }

  .site-footer-column a {
    font-size: 0.78rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.72);
  }

  .site-footer-column:last-child {
    grid-column: 1 / -1;
    padding-top: 0.2rem;
  }

  .site-footer-bottom {
    width: calc(100% - 1.5rem);
    padding: 1.15rem 0 1.5rem;
    gap: 0.35rem;
    font-size: 0.68rem;
    line-height: 1.4;
  }

  .site-footer-bottom span:last-child {
    color: rgba(255, 255, 255, 0.28);
  }
}

@media (max-width: 380px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .site-footer-brand,
  .site-footer-column:last-child {
    grid-column: 1;
  }
}

/* ==========================================================
   MOBILE FOOTER — SIMPLE STACK
   ========================================================== */

@media (max-width: 560px) {
  .site-footer {
    margin-top: 3.5rem;
  }

  .site-footer-inner {
    width: calc(100% - 2rem);
    padding: 2rem 0 1.4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.45rem;
  }

  .site-footer-brand,
  .site-footer-column,
  .site-footer-column:last-child {
    grid-column: 1;
  }

  .site-footer-brand {
    gap: 0.45rem;
    padding-bottom: 0.6rem;
  }

  .site-footer-logo {
    font-size: 1rem;
  }

  .site-footer-brand p {
    font-size: 0.82rem;
  }

  .site-footer-brand small {
    max-width: 100%;
    font-size: 0.69rem;
    line-height: 1.5;
  }

  .site-footer-column {
    display: grid;
    gap: 0;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .site-footer-column strong {
    margin: 0 0 0.45rem;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .site-footer-column a {
    width: 100%;
    padding: 0.58rem 0;
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .site-footer-bottom {
    width: calc(100% - 2rem);
    margin: 0 auto;
    padding: 1rem 0 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    font-size: 0.64rem;
  }
}

/* ==========================================================
   MOBILE FOOTER — THREE COLUMNS
   ========================================================== */

@media (max-width: 560px) {
  .site-footer-inner {
    width: calc(100% - 1.5rem);
    padding: 2rem 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 0.7rem;
  }

  .site-footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 0.9rem;
    gap: 0.45rem;
  }

  .site-footer-column,
  .site-footer-column:last-child {
    grid-column: auto;
    padding-top: 0;
    border-top: 0;
    gap: 0.5rem;
  }

  .site-footer-column strong {
    margin: 0 0 0.2rem;
    font-size: 0.52rem;
    letter-spacing: 0.11em;
  }

  .site-footer-column a {
    width: auto;
    padding: 0;
    font-size: 0.66rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .site-footer-bottom {
    width: calc(100% - 1.5rem);
    margin: 0 auto;
    padding: 1rem 0 1.4rem;
    font-size: 0.62rem;
  }
}

@media (max-width: 360px) {
  .site-footer-inner {
    gap: 0.9rem 0.5rem;
  }

  .site-footer-column a {
    font-size: 0.62rem;
  }
}

/* ==========================================================
   COMMUNITY V1
   ========================================================== */

.community-page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.5rem 0 2rem;
}

.community-hero {
  max-width: 820px;
  padding-bottom: 3rem;
}

.community-hero h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.community-hero > p:last-of-type {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
}

.community-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.community-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 3rem;
}

.community-stat-strip > div {
  padding: 1.3rem 0;
  display: grid;
  gap: 0.2rem;
}

.community-stat-strip strong {
  font-size: 1.7rem;
}

.community-stat-strip span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
}

.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
  gap: 1rem;
}

.community-section {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1.25rem;
}

.community-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.community-section-head h2 {
  margin: 0.25rem 0 0;
  font-size: 1.45rem;
}

.community-live {
  color: var(--accent, #ccff00);
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  font-weight: 800;
}

.community-feed {
  display: grid;
}

.community-feed-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.community-feed-label {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.community-feed-item strong {
  display: block;
  font-size: 0.92rem;
}

.community-feed-item p {
  margin: 0.22rem 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
}

.community-scout-list {
  display: grid;
  gap: 0.8rem;
}

.community-scout {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.community-scout-avatar {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(204, 255, 0, 0.09);
  border: 1px solid rgba(204, 255, 0, 0.2);
  font-weight: 800;
}

.community-scout-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-scout-main {
  min-width: 0;
  display: grid;
}

.community-scout-main > strong {
  font-size: 0.9rem;
}

.community-scout-main > span {
  margin-top: 0.08rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.7rem;
}

.community-scout-metrics {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.64rem;
}

.community-scout-metrics b {
  color: rgba(255, 255, 255, 0.9);
}

.community-signals {
  margin-top: 1rem;
}

.community-signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.community-signal-card {
  min-height: 130px;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.065);
}

.community-signal-card > span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.56rem;
  letter-spacing: 0.11em;
}

.community-signal-card h3 {
  margin: 0.65rem 0;
  font-size: 1rem;
}

.community-signal-card small {
  color: var(--accent, #ccff00);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.community-empty {
  padding: 1rem 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

@media (max-width: 820px) {
  .community-page {
    padding-top: 3rem;
  }

  .community-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .community-page {
    width: calc(100% - 1rem);
    padding-top: 2.7rem;
  }

  .community-hero {
    padding: 0 0.5rem 2rem;
  }

  .community-hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .community-stat-strip {
    margin-bottom: 1rem;
  }

  .community-stat-strip > div {
    padding: 1rem 0.45rem;
  }

  .community-stat-strip strong {
    font-size: 1.25rem;
  }

  .community-stat-strip span {
    font-size: 0.48rem;
  }

  .community-section {
    border-radius: 1rem;
    padding: 1rem;
  }

  .community-feed-item {
    grid-template-columns: 72px 1fr;
    gap: 0.6rem;
  }

  .community-signal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .community-signal-card {
    min-height: 110px;
  }
}

/* ==========================================================
   COMMUNITY PUBLIC PROFILE
   ========================================================== */

.community-scout {
  color: inherit;
  text-decoration: none;
}

.community-scout:hover
.community-scout-main > strong {
  color: var(--accent, #ccff00);
}

.community-profile-page {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 2rem;
}

.community-profile-back {
  display: inline-block;
  margin-bottom: 2.2rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.74rem;
  font-weight: 750;
  text-decoration: none;
}

.community-profile-hero {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-bottom: 2.5rem;
}

.community-profile-avatar {
  flex: 0 0 104px;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(204, 255, 0, 0.25);
  border-radius: 50%;
  background: rgba(204, 255, 0, 0.08);
  font-size: 2.1rem;
  font-weight: 900;
}

.community-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-profile-identity {
  min-width: 0;
}

.community-profile-identity h1 {
  margin: 0.28rem 0 0;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.community-profile-handle {
  display: block;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
}

.community-profile-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.community-profile-roles span {
  padding: 0.32rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.community-profile-bio {
  max-width: 40rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
}

.community-profile-overview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.community-profile-overview article {
  padding: 1.2rem 0.5rem;
  display: grid;
  gap: 0.25rem;
}

.community-profile-overview strong {
  font-size: 1.45rem;
}

.community-profile-overview span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
}

.community-profile-section {
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.02);
}

.community-profile-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.community-profile-section-head h2 {
  margin: 0.25rem 0 0;
  font-size: 1.35rem;
}

.community-profile-section-head > strong {
  color: rgba(255, 255, 255, 0.4);
}

.community-profile-track-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fill,
      minmax(210px, 1fr)
    );
  gap: 0.8rem;
}

.community-profile-track {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.025);
}

.community-profile-track > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.community-profile-track > div {
  padding: 0.9rem;
}

.community-profile-track span {
  color: var(--accent, #ccff00);
  font-size: 0.54rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.community-profile-track h3 {
  margin: 0.45rem 0 0.2rem;
  font-size: 0.95rem;
}

.community-profile-track p,
.community-profile-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.7rem;
}

@media (max-width: 720px) {
  .community-profile-page {
    width: calc(100% - 1rem);
    padding-top: 2rem;
  }

  .community-profile-hero {
    align-items: flex-start;
    gap: 1rem;
  }

  .community-profile-avatar {
    flex-basis: 70px;
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
  }

  .community-profile-overview {
    grid-template-columns:
      repeat(5, minmax(0, 1fr));
  }

  .community-profile-overview article {
    padding: 0.9rem 0.2rem;
  }

  .community-profile-overview strong {
    font-size: 1.1rem;
  }

  .community-profile-overview span {
    font-size: 0.43rem;
  }

  .community-profile-track-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .community-profile-track-grid {
    grid-template-columns: 1fr;
  }
}

/* Community columns keep their natural content height. */
.community-layout {
  align-items: start;
}

.community-layout > .community-section {
  align-self: start;
}

/* ==========================================================
   COMMUNITY TRACK NETWORK
   ========================================================== */

.community-track-inline-link {
  color: inherit;
  text-decoration: none;
}

.community-track-inline-link:hover {
  color: var(--accent, #ccff00);
}

.community-profile-track {
  display: block;
  color: inherit;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.community-profile-track:hover {
  transform: translateY(-2px);
  border-color: rgba(204, 255, 0, 0.24);
}

.community-profile-creator-compact {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.community-profile-creator-compact > div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.community-profile-creator-compact span {
  color: var(--accent, #ccff00);
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.community-profile-creator-compact strong {
  font-size: 0.78rem;
}

.community-profile-creator-compact small {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.65rem;
}


.community-track-page {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 2rem;
}

.community-track-hero {
  display: grid;
  grid-template-columns:
    minmax(300px, 0.9fr)
    minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.community-track-art {
  overflow: hidden;
  border-radius: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.community-track-art img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.community-track-copy h1 {
  margin: 0.3rem 0 0.45rem;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.community-track-creator {
  color: rgba(255, 255, 255, 0.56);
  font-size: 1rem;
}

.community-track-creator a {
  color: inherit;
}

.community-track-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.community-track-badges span {
  padding: 0.34rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.community-track-badges .is-live {
  border-color: rgba(204, 255, 0, 0.22);
  color: var(--accent, #ccff00);
}

.community-track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.community-track-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.community-track-panel {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.02);
}

.community-track-panel h2 {
  margin: 0.3rem 0 1.2rem;
  font-size: 1.35rem;
}

.community-track-person {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.025);
  color: inherit;
  text-decoration: none;
}

.community-track-person-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(204, 255, 0, 0.2);
  background: rgba(204, 255, 0, 0.07);
  font-weight: 850;
}

.community-track-person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-track-person > span:last-child {
  display: grid;
  gap: 0.12rem;
}

.community-track-person small,
.community-track-creator-source small,
.community-track-meta small {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.53rem;
  letter-spacing: 0.1em;
}

.community-track-person em {
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.67rem;
  font-style: normal;
}

.community-track-creator-source {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 0.3rem;
}

.community-track-creator-source strong,
.community-track-creator-source a {
  color: inherit;
  font-size: 0.9rem;
}

.community-track-creator-source > span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.68rem;
}

.community-track-muted {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.76rem;
}

.community-track-path {
  display: grid;
}

.community-track-path article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.75rem;
  padding: 0.72rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  opacity: 0.42;
}

.community-track-path article.is-complete,
.community-track-path article.is-live {
  opacity: 1;
}

.community-track-path article > span {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.55rem;
}

.community-track-path article.is-live > span,
.community-track-path article.is-live strong {
  color: var(--accent, #ccff00);
}

.community-track-path article > div {
  display: grid;
  gap: 0.18rem;
}

.community-track-path strong {
  font-size: 0.8rem;
}

.community-track-path small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.66rem;
}

.community-track-meta {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.community-track-meta p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.4rem 0 0;
}

.community-track-meta p span {
  padding: 0.28rem 0.46rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  font-size: 0.62rem;
}


@media (max-width: 760px) {
  .community-track-page {
    width: calc(100% - 1rem);
    padding-top: 2rem;
  }

  .community-track-hero {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .community-track-copy {
    padding: 0 0.4rem;
  }

  .community-track-copy h1 {
    font-size: clamp(2.6rem, 14vw, 4.5rem);
  }

  .community-track-grid {
    grid-template-columns: 1fr;
  }

  .community-profile-creator-compact {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }
}

/* ==========================================================
   CREATOR CAREER SETTINGS
   ========================================================== */

.creator-career-settings {
  margin-top: 2rem;
  padding: 1.2rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.creator-career-settings > div {
  max-width: 620px;
}

.creator-career-settings span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.creator-career-settings h2 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1rem;
}

.creator-career-settings p {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.72rem;
  line-height: 1.55;
}

.creator-career-close-button {
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
}

.creator-career-close-button:hover {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

@media (max-width: 640px) {
  .creator-career-settings {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
}

/* Creator settings must remain inside the cinematic content layer. */
.creator-studio-cinematic .creator-career-settings {
  position: relative;
  z-index: 2;
  background: rgba(10, 11, 12, 0.76);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
}

/* ==========================================================
   MY ARENA ACCOUNT / DANGER ZONE
   ========================================================== */

.my-arena-account-settings {
  position: relative;
  z-index: 2;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.my-arena-account-settings-head > span,
.my-arena-danger-content > div > span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.my-arena-account-settings-head h2 {
  margin: 0.3rem 0 0.35rem;
  font-size: 1rem;
}

.my-arena-account-settings-head p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  line-height: 1.55;
}

.my-arena-danger-zone {
  margin-top: 1rem;
  border: 1px solid rgba(255, 105, 105, 0.18);
  border-radius: 1rem;
  background: rgba(255, 80, 80, 0.025);
}

.my-arena-danger-zone summary {
  padding: 0.9rem 1rem;
  color: rgba(255, 170, 170, 0.8);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  list-style-position: inside;
}

.my-arena-danger-content {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(280px, 0.7fr);
  gap: 1.5rem;
  padding: 0.2rem 1rem 1rem;
}

.my-arena-danger-content h3 {
  margin: 0.35rem 0 0.5rem;
  font-size: 0.95rem;
}

.my-arena-danger-content p {
  max-width: 570px;
  margin: 0 0 0.45rem;
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.69rem;
  line-height: 1.55;
}

.my-arena-delete-form {
  display: grid;
  gap: 0.75rem;
}

.my-arena-delete-form label {
  display: grid;
  gap: 0.35rem;
}

.my-arena-delete-form label > span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.my-arena-delete-form input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.7rem;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font: inherit;
}

.my-arena-delete-form input:focus {
  outline: none;
  border-color: rgba(255, 140, 140, 0.5);
}

.my-arena-delete-button {
  justify-self: start;
  padding: 0.68rem 0.85rem;
  border: 1px solid rgba(255, 110, 110, 0.38);
  border-radius: 999px;
  background: rgba(255, 80, 80, 0.07);
  color: rgba(255, 180, 180, 0.92);
  font: inherit;
  font-size: 0.67rem;
  font-weight: 800;
  cursor: pointer;
}

.my-arena-delete-button:hover {
  border-color: rgba(255, 110, 110, 0.7);
  background: rgba(255, 80, 80, 0.12);
  color: #fff;
}

@media (max-width: 720px) {
  .my-arena-danger-content {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   TRACK OWNERSHIP / SCOUT MANAGEMENT
   ========================================================== */

.community-track-management {
  margin-top: 1rem;
  padding: 1.25rem;
  display: grid;
  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(320px, 1.2fr);
  gap: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.02);
}

.community-track-management h2 {
  margin: 0.3rem 0 0.45rem;
  font-size: 1.15rem;
}

.community-track-management > div:first-child > p:last-child {
  max-width: 31rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.7rem;
  line-height: 1.55;
}

.community-track-management-actions {
  display: grid;
  gap: 0.65rem;
}

.community-track-management-actions form {
  padding: 0.9rem;
  display: grid;
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.02);
}

.community-track-management-actions form > span {
  color: var(--accent, #ccff00);
  font-size: 0.52rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.community-track-management-actions form > strong {
  font-size: 0.86rem;
}

.community-track-management-actions form > small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.65rem;
  line-height: 1.45;
}

.community-track-manage-button,
.creator-track-retire-button {
  justify-self: start;
  margin-top: 0.45rem;
  padding: 0.56rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.64rem;
  font-weight: 800;
  cursor: pointer;
}

.community-track-manage-button:hover,
.creator-track-retire-button:hover {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.community-track-manage-button.is-danger,
.creator-track-retire-button {
  border-color: rgba(255, 105, 105, 0.28);
  color: rgba(255, 180, 180, 0.88);
}

.community-track-manage-button.is-danger:hover,
.creator-track-retire-button:hover {
  border-color: rgba(255, 105, 105, 0.55);
  background: rgba(255, 80, 80, 0.06);
}

.creator-track-retire-form {
  margin-top: 0.8rem;
}

.creator-track-retired-state {
  display: inline-block;
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

@media (max-width: 760px) {
  .community-track-management {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   COMMUNITY DISCORD BRIDGE
   ========================================================== */

.community-discord-banner {
  position: relative;
  overflow: hidden;
  margin: 1rem 0;
  padding: 1.35rem 1.45rem;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto;
  gap: 2rem;
  align-items: center;
  border: 1px solid rgba(88, 101, 242, 0.32);
  border-radius: 1.2rem;
  background:
    linear-gradient(
      110deg,
      rgba(88, 101, 242, 0.12),
      rgba(204, 255, 0, 0.025) 55%,
      rgba(255, 255, 255, 0.015)
    );
}

.community-discord-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  right: -110px;
  top: -150px;
  border-radius: 50%;
  background: rgba(88, 101, 242, 0.18);
  filter: blur(65px);
  pointer-events: none;
}

.community-discord-copy,
.community-discord-action {
  position: relative;
  z-index: 1;
}

.community-discord-kicker,
.community-discord-action > span {
  display: block;
  color: var(--accent, #ccff00);
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.community-discord-copy h2 {
  margin: 0.35rem 0 0.4rem;
  max-width: 700px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  letter-spacing: -0.025em;
}

.community-discord-copy p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  line-height: 1.55;
}

.community-discord-action {
  min-width: 190px;
  display: grid;
  gap: 0.55rem;
  justify-items: end;
}

.community-discord-action > span {
  color: rgba(255, 255, 255, 0.35);
}

.community-discord-button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(88, 101, 242, 0.55);
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.14);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.community-discord-button:hover {
  transform: translateY(-1px);
  border-color: rgba(88, 101, 242, 0.9);
  background: rgba(88, 101, 242, 0.23);
}

.community-discord-button strong {
  color: var(--accent, #ccff00);
  font-size: 1rem;
}

@media (max-width: 720px) {
  .community-discord-banner {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding: 1.1rem;
  }

  .community-discord-action {
    min-width: 0;
    justify-items: start;
  }
}

/* ==========================================================
   SUBMIT · AI MUSIC ELIGIBILITY
   ========================================================== */

.submit-ai-eligibility {
  position: relative;
  margin: 1.1rem 0;
  padding: 1.25rem;
  border:
    1px solid
    rgba(204, 255, 0, 0.18);
  border-radius: 1rem;
  background:
    linear-gradient(
      135deg,
      rgba(204, 255, 0, 0.055),
      rgba(255, 255, 255, 0.015)
    );
}

.submit-ai-eligibility-copy h2 {
  margin:
    0.3rem
    0
    0.4rem;
  font-size:
    clamp(
      1.05rem,
      2vw,
      1.3rem
    );
}

.submit-ai-eligibility-copy p {
  margin: 0;
  max-width: 720px;
  color:
    rgba(
      255,
      255,
      255,
      0.55
    );
  line-height: 1.55;
  font-size: 0.78rem;
}

.submit-ai-confirmation {
  margin-top: 1rem;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.9rem;
  border:
    1px solid
    rgba(255, 255, 255, 0.1);
  border-radius: 0.8rem;
  cursor: pointer;
  background:
    rgba(
      0,
      0,
      0,
      0.16
    );
}

.submit-ai-confirmation input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  accent-color:
    var(
      --accent,
      #ccff00
    );
  flex: 0 0 auto;
}

.submit-ai-confirmation span {
  display: grid;
  gap: 0.25rem;
}

.submit-ai-confirmation strong {
  color: #fff;
  font-size: 0.78rem;
}

.submit-ai-confirmation small {
  color:
    rgba(
      255,
      255,
      255,
      0.48
    );
  line-height: 1.45;
}

.submit-rate-note {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.66rem;
}

.submit-rate-note strong {
  color:
    var(
      --accent,
      #ccff00
    );
  letter-spacing: 0.08em;
}

.submit-rate-note span {
  color:
    rgba(
      255,
      255,
      255,
      0.45
    );
}

/* ==========================================================
   SYNTHARENA · 429
   ========================================================== */

.rate-limit-page {
  min-height: 68vh;
  display: grid;
  place-items: center;
  padding:
    clamp(
      2rem,
      6vw,
      5rem
    )
    1rem;
}

.rate-limit-card {
  width:
    min(
      100%,
      680px
    );
  padding:
    clamp(
      1.4rem,
      4vw,
      2.4rem
    );
  border:
    1px solid
    rgba(204, 255, 0, 0.18);
  border-radius: 1.2rem;
  background:
    linear-gradient(
      145deg,
      rgba(204, 255, 0, 0.05),
      rgba(255, 255, 255, 0.02)
    );
}

.rate-limit-card h1 {
  margin:
    0.4rem
    0
    0.8rem;
  font-size:
    clamp(
      1.8rem,
      5vw,
      3.2rem
    );
  letter-spacing: -0.04em;
}

.rate-limit-card p {
  max-width: 580px;
  color:
    rgba(
      255,
      255,
      255,
      0.58
    );
  line-height: 1.65;
}

.rate-limit-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.rate-limit-secondary {
  padding: 0.7rem 0.9rem;
  color:
    rgba(
      255,
      255,
      255,
      0.65
    );
  text-decoration: none;
}

.rate-limit-secondary:hover {
  color: #fff;
}


/* Explore → public Track Signal */

.song-track-title-link {
  color: inherit;
  text-decoration: none;
}

.song-track-title-link:hover,
.song-track-title-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.song-track-signal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.song-track-signal-link span {
  transition: transform 160ms ease;
}

.song-track-signal-link:hover span,
.song-track-signal-link:focus-visible span {
  transform: translateX(0.2rem);
}


/* ==========================================================
   BRACKET LIVE COMPETITION HERO
   ========================================================== */

.bracket-hero {
  position: relative;
  overflow: hidden;

  min-height: 360px;

  margin:
    0
    0
    56px;

  border:
    1px solid
    rgba(255, 255, 255, 0.07);

  border-radius: 22px;

  background: #090a0b;
}

.bracket-hero-art {
  position: absolute;
  inset: 0;

  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;

  overflow: hidden;

  pointer-events: none;
}

.bracket-hero-image {
  position: relative;

  width: 100%;
  height: 100%;

  object-fit: cover;

  filter:
    blur(2px)
    saturate(0.95)
    contrast(1.08);

  opacity: 0.38;

  transform: scale(1.04);
}

.bracket-hero-grade {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 50% 10%,
      rgba(204, 255, 0, 0.07),
      transparent 42%
    ),
    linear-gradient(
      90deg,
      rgba(7, 8, 9, 0.80),
      rgba(7, 8, 9, 0.50),
      rgba(7, 8, 9, 0.80)
    ),
    linear-gradient(
      180deg,
      rgba(7, 8, 9, 0.18),
      #090a0b 100%
    );
}

.bracket-hero-content {
  position: relative;
  z-index: 2;

  padding:
    46px
    48px
    38px;
}

.bracket-hero h1 {
  margin:
    10px
    0
    10px;

  font-size:
    clamp(
      3.4rem,
      8vw,
      7rem
    );

  line-height: 0.92;
}

.bracket-track-link {
  color: inherit;
  text-decoration: none;
}

.bracket-track-link:hover,
.bracket-track-link:focus-visible {
  color: var(--accent);
  text-decoration: none;
}

.bracket-live-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-top: 22px;

  color: var(--accent);

  font-size: 0.69rem;
  font-weight: 900;

  letter-spacing: 0.13em;
}

.bracket-live-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--accent);

  box-shadow:
    0 0 14px
    rgba(204, 255, 0, 0.72);
}

.bracket-stat-strip {
  display: grid;

  grid-template-columns:
    repeat(
      5,
      minmax(0, 1fr)
    );

  margin-top: 34px;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.10);

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.10);

  background:
    rgba(
      5,
      6,
      7,
      0.40
    );

  backdrop-filter: blur(10px);
}

.bracket-stat-strip > div {
  display: flex;
  flex-direction: column;

  min-width: 0;

  padding:
    18px
    18px;

  border-right:
    1px solid
    rgba(255, 255, 255, 0.08);
}

.bracket-stat-strip > div:last-child {
  border-right: 0;
}

.bracket-stat-strip strong {
  color: #fff;

  font-size:
    clamp(
      1.2rem,
      2vw,
      1.7rem
    );

  line-height: 1;
}

.bracket-stat-strip span {
  margin-top: 8px;

  color: var(--muted);

  font-size: 0.61rem;
  font-weight: 800;

  letter-spacing: 0.12em;
}

@media (max-width: 760px) {
  .bracket-hero {
    min-height: 0;

    margin-bottom: 38px;
  }

  .bracket-hero-content {
    padding:
      32px
      22px
      24px;
  }

  .bracket-stat-strip {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .bracket-stat-strip > div {
    border-bottom:
      1px solid
      rgba(255, 255, 255, 0.08);
  }

  .bracket-stat-strip > div:nth-child(even) {
    border-right: 0;
  }

  .bracket-stat-strip > div:last-child {
    grid-column: 1 / -1;
  }

  .bracket-hero-image {
    width: 75%;
    opacity: 0.20;
  }
}


/* ==========================================================
   BRACKET FULL-PAGE CINEMATIC BACKGROUND
   ========================================================== */

.bracket-page {
  position: relative;
  isolation: isolate;

  padding-top: 24px;
}

/*
 * Full viewport width even though the page content
 * lives inside the normal SynthArena content container.
 */
.bracket-page::before,
.bracket-page::after {
  content: "";

  position: absolute;

  z-index: -2;

  top: 0;
  bottom: 0;

  left: 50%;

  width: 100vw;

  transform: translateX(-50%);

  pointer-events: none;
}

.bracket-page::before {
  background:
    #070809
    url("/static/images/bracket/bracket-desktop.webp")
    center top
    / cover
    no-repeat;

  filter:
    saturate(0.9)
    contrast(1.05);
}

/*
 * Dark cinematic veil:
 * keeps the competition data and bracket readable
 * while allowing the arena to remain visible.
 */
.bracket-page::after {
  z-index: -1;

  background:
    linear-gradient(
      180deg,
      rgba(5, 6, 7, 0.20) 0%,
      rgba(5, 6, 7, 0.48) 28%,
      rgba(5, 6, 7, 0.72) 58%,
      rgba(5, 6, 7, 0.92) 88%,
      #070809 100%
    );
}


/* Let the cinematic background breathe through the hero */

.bracket-hero {
  background:
    rgba(
      7,
      8,
      9,
      0.68
    );

  backdrop-filter:
    blur(6px);

  -webkit-backdrop-filter:
    blur(6px);
}


/* Match cards remain readable over the arena */

.bracket-match-card {
  background:
    rgba(
      10,
      11,
      12,
      0.88
    );

  backdrop-filter:
    blur(7px);

  -webkit-backdrop-filter:
    blur(7px);
}


@media (max-width: 760px) {
  .bracket-page {
    padding-top: 14px;
  }

  .bracket-page::before {
    background:
      #070809
      url("/static/images/bracket/bracket-mobile.webp")
      center top
      / cover
      no-repeat;
  }

  .bracket-page::after {
    background:
      linear-gradient(
        180deg,
        rgba(5, 6, 7, 0.12) 0%,
        rgba(5, 6, 7, 0.44) 32%,
        rgba(5, 6, 7, 0.72) 64%,
        rgba(5, 6, 7, 0.92) 90%,
        #070809 100%
      );
  }

  .bracket-hero {
    background:
      rgba(
        7,
        8,
        9,
        0.58
      );
  }
}


/* ==========================================================
   BRACKET FIXED CINEMATIC BACKDROP
   Content scrolls over a stationary arena.
   ========================================================== */

.bracket-page::before,
.bracket-page::after {
  position: fixed;

  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  width: auto;
  height: auto;

  transform: none;
}

.bracket-page::before {
  background:
    #070809
    url("/static/images/bracket/bracket-desktop.webp")
    center center
    / cover
    no-repeat;
}

.bracket-page::after {
  background:
    linear-gradient(
      180deg,
      rgba(5, 6, 7, 0.28) 0%,
      rgba(5, 6, 7, 0.40) 40%,
      rgba(5, 6, 7, 0.58) 100%
    );
}

@media (max-width: 760px) {
  .bracket-page::before {
    background:
      #070809
      url("/static/images/bracket/bracket-mobile.webp")
      center center
      / cover
      no-repeat;
  }

  .bracket-page::after {
    background:
      linear-gradient(
        180deg,
        rgba(5, 6, 7, 0.22) 0%,
        rgba(5, 6, 7, 0.38) 42%,
        rgba(5, 6, 7, 0.62) 100%
      );
  }
}


/* ==========================================================
   BRACKET CHAMPIONSHIP TUNNEL HERO
   ========================================================== */

.bracket-hero {
  background:
    linear-gradient(
      90deg,
      rgba(6, 7, 8, 0.94) 0%,
      rgba(6, 7, 8, 0.86) 34%,
      rgba(6, 7, 8, 0.63) 68%,
      rgba(6, 7, 8, 0.54) 100%
    ),
    linear-gradient(
      180deg,
      rgba(6, 7, 8, 0.14) 0%,
      rgba(6, 7, 8, 0.40) 100%
    ),
    url("/static/images/bracket/bracket-tunnel.webp")
    center center
    / cover
    no-repeat;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.bracket-stat-strip {
  background:
    rgba(
      5,
      6,
      7,
      0.62
    );

  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}


@media (max-width: 760px) {
  .bracket-hero {
    background:
      linear-gradient(
        180deg,
        rgba(6, 7, 8, 0.78) 0%,
        rgba(6, 7, 8, 0.70) 55%,
        rgba(6, 7, 8, 0.84) 100%
      ),
      url("/static/images/bracket/bracket-tunnel.webp")
      58% center
      / cover
      no-repeat;
  }
}


/* ==========================================================
   BRACKET LIGHT BALANCE PASS
   ========================================================== */

/* PAGE BACKGROUND:
   keep the arena alive across the whole viewport */
.bracket-page::before {
  filter:
    brightness(1.18)
    saturate(0.95)
    contrast(0.96);
}

.bracket-page::after {
  background:
    radial-gradient(
      circle at 50% 72%,
      rgba(190, 235, 0, 0.07) 0%,
      transparent 46%
    ),
    linear-gradient(
      180deg,
      rgba(5, 6, 7, 0.14) 0%,
      rgba(5, 6, 7, 0.20) 45%,
      rgba(5, 6, 7, 0.30) 100%
    );
}


/* BRACKET HERO:
   left remains readable, right side opens into the tunnel */
.bracket-hero {
  background:
    linear-gradient(
      90deg,
      rgba(6, 7, 8, 0.90) 0%,
      rgba(6, 7, 8, 0.78) 34%,
      rgba(6, 7, 8, 0.42) 61%,
      rgba(6, 7, 8, 0.14) 100%
    ),
    radial-gradient(
      circle at 82% 48%,
      rgba(204, 255, 0, 0.16) 0%,
      rgba(204, 255, 0, 0.06) 27%,
      transparent 55%
    ),
    url("/static/images/bracket/bracket-tunnel.webp")
    58% center
    / cover
    no-repeat;
}


/* stats still need contrast */
.bracket-stat-strip {
  background:
    rgba(
      5,
      6,
      7,
      0.52
    );
}


@media (max-width: 760px) {

  .bracket-page::before {
    filter:
      brightness(1.22)
      saturate(0.95)
      contrast(0.94);

    background-position:
      center 28%;
  }

  .bracket-page::after {
    background:
      radial-gradient(
        circle at 50% 62%,
        rgba(190, 235, 0, 0.08) 0%,
        transparent 48%
      ),
      linear-gradient(
        180deg,
        rgba(5, 6, 7, 0.10) 0%,
        rgba(5, 6, 7, 0.18) 48%,
        rgba(5, 6, 7, 0.28) 100%
      );
  }

  .bracket-hero {
    background:
      linear-gradient(
        180deg,
        rgba(6, 7, 8, 0.52) 0%,
        rgba(6, 7, 8, 0.58) 48%,
        rgba(6, 7, 8, 0.72) 100%
      ),
      radial-gradient(
        circle at 72% 45%,
        rgba(204, 255, 0, 0.13) 0%,
        transparent 48%
      ),
      url("/static/images/bracket/bracket-tunnel.webp")
      61% center
      / cover
      no-repeat;
  }
}


/* ==========================================================
   BRACKET HERO TROPHY REVEAL
   ========================================================== */

.bracket-hero {
  background:
    linear-gradient(
      90deg,
      rgba(6, 7, 8, 0.92) 0%,
      rgba(6, 7, 8, 0.82) 28%,
      rgba(6, 7, 8, 0.42) 46%,
      rgba(6, 7, 8, 0.16) 60%,
      rgba(6, 7, 8, 0.04) 76%,
      rgba(6, 7, 8, 0.00) 100%
    ),
    url("/static/images/bracket/bracket-tunnel.webp")
    66% center
    / cover
    no-repeat;
}

.bracket-stat-strip {
  background:
    rgba(
      5,
      6,
      7,
      0.48
    );
}

@media (max-width: 760px) {
  .bracket-hero {
    background:
      linear-gradient(
        180deg,
        rgba(6, 7, 8, 0.64) 0%,
        rgba(6, 7, 8, 0.48) 44%,
        rgba(6, 7, 8, 0.34) 68%,
        rgba(6, 7, 8, 0.52) 100%
      ),
      url("/static/images/bracket/bracket-tunnel.webp")
      64% center
      / cover
      no-repeat;
  }
}


/* ==========================================================
   BRACKET CHAMPIONSHIP AURA
   Slow ceremonial energy around the trophy.
   ========================================================== */

.bracket-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}


/* Breathing aura around the trophy */

.bracket-hero::before {
  content: "";

  position: absolute;
  z-index: 0;

  width: 42%;
  height: 125%;

  top: -14%;
  left: 63%;

  transform:
    translateX(-50%)
    scale(0.90);

  pointer-events: none;

  background:
    radial-gradient(
      ellipse at center,
      rgba(220, 255, 70, 0.28) 0%,
      rgba(190, 240, 20, 0.17) 18%,
      rgba(160, 215, 0, 0.08) 38%,
      transparent 68%
    );

  filter:
    blur(18px);

  opacity: 0.48;

  animation:
    bracket-trophy-aura
    7s
    ease-in-out
    infinite;
}


/* Ceremonial shaft of light */

.bracket-hero::after {
  content: "";

  position: absolute;
  z-index: 0;

  top: -24%;
  bottom: -12%;

  left: 63%;

  width: 18%;

  transform:
    translateX(-50%)
    scaleX(0.72);

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(225, 255, 135, 0.03) 12%,
      rgba(220, 255, 90, 0.13) 43%,
      rgba(205, 255, 40, 0.18) 58%,
      rgba(205, 255, 40, 0.05) 80%,
      transparent 100%
    );

  filter:
    blur(12px);

  opacity: 0.32;

  animation:
    bracket-trophy-beam
    7s
    ease-in-out
    infinite;
}


/* UI must stay above the light */

.bracket-hero-content {
  position: relative;
  z-index: 2;
}


@keyframes bracket-trophy-aura {
  0%,
  100% {
    opacity: 0.38;

    transform:
      translateX(-50%)
      scale(0.88);
  }

  45% {
    opacity: 0.76;

    transform:
      translateX(-50%)
      scale(1.10);
  }

  60% {
    opacity: 0.68;

    transform:
      translateX(-50%)
      scale(1.06);
  }
}


@keyframes bracket-trophy-beam {
  0%,
  100% {
    opacity: 0.20;

    transform:
      translateX(-50%)
      scaleX(0.64);
  }

  45% {
    opacity: 0.62;

    transform:
      translateX(-50%)
      scaleX(1);
  }

  65% {
    opacity: 0.46;

    transform:
      translateX(-50%)
      scaleX(0.86);
  }
}


/* Mobile trophy sits slightly more central */

@media (max-width: 760px) {

  .bracket-hero::before {
    left: 64%;

    width: 75%;
    height: 115%;

    opacity: 0.42;
  }

  .bracket-hero::after {
    left: 64%;

    width: 34%;
  }
}


/* Respect accessibility preferences */

@media (prefers-reduced-motion: reduce) {

  .bracket-hero::before,
  .bracket-hero::after {
    animation: none;
  }

  .bracket-hero::before {
    opacity: 0.58;
  }

  .bracket-hero::after {
    opacity: 0.38;
  }
}


/* ==========================================================
   RANKING V2
   ========================================================== */

.ranking-page {
  padding-bottom: 90px;
}

.ranking-hero {
  padding:
    34px
    0
    20px;
}

.ranking-hero h1 {
  margin:
    8px
    0
    10px;

  font-size:
    clamp(
      3.8rem,
      9vw,
      7.5rem
    );

  line-height: 0.9;
}

.ranking-tabs {
  display: inline-flex;
  gap: 6px;

  margin-top: 32px;

  padding: 5px;

  border:
    1px solid
    rgba(255, 255, 255, 0.09);

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.025);
}

.ranking-tab {
  padding:
    10px
    18px;

  border-radius: 999px;

  color: var(--muted);

  font-size: 0.70rem;
  font-weight: 900;

  letter-spacing: 0.10em;

  text-decoration: none;
}

.ranking-tab:hover,
.ranking-tab:focus-visible {
  color: #fff;
}

.ranking-tab.is-active {
  color: #080909;

  background:
    var(--accent);
}

.ranking-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;

  margin:
    44px
    0
    18px;

  padding-bottom: 16px;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.09);
}

.ranking-section-head span,
.ranking-section-head > strong {
  color: var(--accent);

  font-size: 0.64rem;
  font-weight: 900;

  letter-spacing: 0.12em;
}

.ranking-section-head h2 {
  margin:
    5px
    0
    0;

  font-size:
    clamp(
      1.8rem,
      4vw,
      2.8rem
    );
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ranking-row {
  display: grid;

  grid-template-columns:
    58px
    58px
    minmax(180px, 1fr)
    auto
    96px;

  gap: 16px;
  align-items: center;

  min-height: 86px;

  padding:
    12px
    18px;

  border:
    1px solid
    rgba(255, 255, 255, 0.07);

  border-radius: 15px;

  background:
    rgba(15, 16, 18, 0.72);
}

.ranking-row:hover {
  border-color:
    rgba(204, 255, 0, 0.22);
}

.ranking-position {
  color: var(--muted);

  font-size: 1.05rem;
  font-weight: 900;
}

.ranking-top-1 .ranking-position {
  color: var(--accent);

  font-size: 1.25rem;
}

.ranking-art,
.ranking-avatar {
  display: grid;
  place-items: center;

  width: 52px;
  height: 52px;

  overflow: hidden;

  border-radius: 10px;

  background:
    rgba(255, 255, 255, 0.06);

  color: var(--accent);

  font-weight: 900;

  text-decoration: none;
}

.ranking-art img,
.ranking-avatar img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.ranking-avatar {
  border-radius: 50%;
}

.ranking-identity {
  min-width: 0;
}

.ranking-identity strong {
  display: block;

  overflow: hidden;

  font-size: 1rem;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-identity a {
  color: inherit;
  text-decoration: none;
}

.ranking-identity a:hover {
  color: var(--accent);
}

.ranking-identity span {
  display: block;

  margin-top: 5px;

  color: var(--muted);

  font-size: 0.78rem;
}

.ranking-achievement {
  color: var(--accent);

  font-size: 0.68rem;
  font-weight: 900;

  letter-spacing: 0.10em;
}

.ranking-record {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;

  gap:
    6px
    12px;

  max-width: 330px;
}

.ranking-record span {
  color: var(--muted);

  font-size: 0.62rem;
  font-weight: 800;

  letter-spacing: 0.06em;
}

.ranking-points {
  text-align: right;
}

.ranking-points strong {
  display: block;

  color: var(--accent);

  font-size: 1.35rem;
}

.ranking-points span {
  color: var(--muted);

  font-size: 0.60rem;
  font-weight: 900;

  letter-spacing: 0.10em;
}

.ranking-track-row {
  grid-template-columns:
    58px
    58px
    minmax(180px, 1fr)
    auto;
}

@media (max-width: 760px) {

  .ranking-tabs {
    display: grid;

    grid-template-columns:
      repeat(3, 1fr);

    width: 100%;
  }

  .ranking-tab {
    padding:
      10px
      8px;

    text-align: center;
  }

  .ranking-section-head {
    align-items: flex-start;
    flex-direction: column;

    gap: 8px;
  }

  .ranking-row,
  .ranking-track-row {
    grid-template-columns:
      42px
      46px
      minmax(0, 1fr);

    gap: 10px;

    padding:
      12px;
  }

  .ranking-art,
  .ranking-avatar {
    width: 44px;
    height: 44px;
  }

  .ranking-record,
  .ranking-achievement,
  .ranking-points {
    grid-column:
      3 / -1;

    justify-content: flex-start;

    text-align: left;
  }

  .ranking-points {
    display: flex;
    align-items: baseline;
    gap: 6px;
  }
}


/* ==========================================================
   COMMUNITY PUBLIC CREATORS
   ========================================================== */

.community-stat-strip {
  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );
}

.community-creators {
  margin-top: 28px;
}

.community-people-label {
  color: var(--muted);

  font-size: 0.64rem;
  font-weight: 900;

  letter-spacing: 0.12em;
}

.community-creator-grid {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap: 12px;
}

.community-creator-card {
  display: grid;

  grid-template-columns:
    64px
    minmax(0, 1fr);

  gap: 16px;
  align-items: center;

  min-height: 120px;

  padding: 18px;

  border:
    1px solid
    rgba(255, 255, 255, 0.08);

  border-radius: 16px;

  background:
    rgba(15, 16, 18, 0.72);

  color: inherit;

  text-decoration: none;

  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.community-creator-card:hover,
.community-creator-card:focus-visible {
  border-color:
    rgba(204, 255, 0, 0.30);

  transform:
    translateY(-2px);
}

.community-creator-avatar {
  display: grid;
  place-items: center;

  width: 58px;
  height: 58px;

  overflow: hidden;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.06);

  color: var(--accent);

  font-size: 1.1rem;
  font-weight: 900;
}

.community-creator-avatar img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.community-creator-main {
  min-width: 0;
}

.community-creator-main > strong {
  display: block;

  font-size: 1rem;
}

.community-creator-main > span,
.community-creator-main > p,
.community-creator-main > small {
  display: block;

  color: var(--muted);
}

.community-creator-main > span {
  margin-top: 2px;

  font-size: 0.76rem;
}

.community-creator-main > p {
  margin:
    8px
    0
    0;

  font-size: 0.72rem;
  font-weight: 700;
}

.community-creator-main > small {
  margin-top: 9px;

  overflow: hidden;

  font-size: 0.68rem;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-creator-metrics {
  display: flex;

  gap: 16px;

  margin-top: 9px;
}

.community-creator-metrics span {
  color: var(--muted);

  font-size: 0.68rem;
}

.community-creator-metrics b {
  color: var(--accent);
}

@media (max-width: 760px) {
  .community-stat-strip {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .community-creator-grid {
    grid-template-columns:
      1fr;
  }

  .community-creator-card {
    grid-template-columns:
      54px
      minmax(0, 1fr);

    padding: 15px;
  }

  .community-creator-avatar {
    width: 50px;
    height: 50px;
  }
}


/* ==========================================================
   COMMUNITY V2 — CINEMATIC COMMUNITY
   ========================================================== */

.community-v2 {
  padding:
    28px
    0
    90px;
}


/* HERO */

.community-v2-hero {
  position: relative;

  min-height: 500px;

  display: flex;
  align-items: center;

  overflow: hidden;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.08);

  background:
    linear-gradient(
      90deg,
      rgba(7, 8, 9, 1) 0%,
      rgba(7, 8, 9, 0.97) 30%,
      rgba(7, 8, 9, 0.62) 50%,
      rgba(7, 8, 9, 0.14) 72%,
      rgba(7, 8, 9, 0.03) 100%
    ),
    radial-gradient(
      circle at 78% 42%,
      rgba(201, 255, 0, 0.08),
      transparent 36%
    ),
    url("/static/images/community/community-hero-desktop.webp")
    68% center
    / cover
    no-repeat;
}

.community-v2-hero::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      transparent 60%,
      rgba(7, 8, 9, 0.86) 100%
    );
}

.community-v2-hero-copy {
  position: relative;
  z-index: 2;

  width: min(
    620px,
    55%
  );

  padding:
    40px
    0;
}

.community-v2-hero h1 {
  margin:
    12px
    0
    20px;

  font-size:
    clamp(
      4rem,
      7.7vw,
      7.2rem
    );

  line-height: 0.88;

  letter-spacing: -0.055em;
}

.community-v2-hero h1 span {
  color: var(--accent);
}

.community-v2-hero-intro {
  max-width: 520px;

  color: rgba(
    255,
    255,
    255,
    0.74
  );

  font-size: 1rem;

  line-height: 1.55;
}

.community-v2-hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 26px;
}

.community-v2-manifesto {
  margin-top: 44px;

  color: rgba(
    255,
    255,
    255,
    0.35
  );

  font-size: 0.62rem;
  font-weight: 800;

  letter-spacing: 0.24em;
}

.community-v2-manifesto span {
  margin:
    0
    8px;

  color: var(--accent);
}


/* STATS */

.community-v2-stats {
  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.08);
}

.community-v2-stats > div {
  display: grid;

  grid-template-columns:
    44px
    1fr;

  grid-template-rows:
    auto
    auto;

  align-items: center;

  padding:
    24px
    12px;

  border-right:
    1px solid
    rgba(255, 255, 255, 0.055);
}

.community-v2-stats > div:last-child {
  border-right: 0;
}

.community-v2-stat-icon {
  grid-row:
    1 / 3;

  color: var(--accent);

  font-size: 1.75rem;
}

.community-v2-stats strong {
  font-size: 1.55rem;
}

.community-v2-stats small {
  margin-top: 2px;

  color: var(--muted);

  font-size: 0.58rem;
  font-weight: 800;

  letter-spacing: 0.13em;
}


/* DISCORD */

.community-v2-discord {
  position: relative;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 28px;

  min-height: 138px;

  margin-top: 28px;

  padding:
    24px
    30px;

  overflow: hidden;

  border:
    1px solid
    rgba(104, 92, 255, 0.35);

  border-radius: 18px;

  background:
    linear-gradient(
      90deg,
      rgba(11, 14, 31, 0.97) 0%,
      rgba(11, 14, 31, 0.78) 44%,
      rgba(11, 14, 31, 0.20) 100%
    ),
    url("/static/images/community/community-discord.webp")
    center
    / cover
    no-repeat;
}

.community-v2-discord::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 78% 50%,
      rgba(96, 75, 255, 0.16),
      transparent 38%
    );
}

.community-v2-discord-copy,
.community-v2-discord-action {
  position: relative;
  z-index: 2;
}

.community-v2-discord-copy {
  max-width: 690px;
}

.community-v2-discord-copy h2 {
  margin:
    4px
    0
    8px;

  font-size:
    clamp(
      1.4rem,
      3vw,
      2rem
    );
}

.community-v2-discord-copy > p:last-child {
  color: var(--muted);

  font-size: 0.82rem;
}

.community-v2-discord-action {
  display: flex;

  flex-direction: column;
  align-items: flex-end;

  gap: 10px;

  flex:
    0 0 auto;
}

.community-v2-discord-action > span {
  color: var(--muted);

  font-size: 0.56rem;
  font-weight: 900;

  letter-spacing: 0.13em;
}

.community-v2-discord-button {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding:
    12px
    18px;

  border:
    1px solid
    rgba(133, 117, 255, 0.60);

  border-radius: 999px;

  background:
    rgba(71, 55, 190, 0.40);

  color: white;

  font-size: 0.78rem;
  font-weight: 800;

  text-decoration: none;
}


/* GENERIC BLOCK */

.community-v2-block {
  margin-top: 34px;
}

.community-v2-heading {
  display: flex;

  align-items: end;
  justify-content: space-between;

  gap: 18px;

  margin-bottom: 15px;
}

.community-v2-heading h2 {
  margin:
    3px
    0
    0;

  font-size:
    clamp(
      1.5rem,
      3vw,
      2.1rem
    );
}

.community-v2-heading p:not(.eyebrow) {
  margin-top: 5px;

  color: var(--muted);

  font-size: 0.78rem;
}

.community-v2-heading > span,
.community-v2-heading > a {
  color: var(--accent);

  font-size: 0.63rem;
  font-weight: 900;

  letter-spacing: 0.10em;

  text-decoration: none;
}


/* CREATOR CARDS */

.community-v2-creators {
  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap: 12px;
}

.community-v2-creator {
  display: block;

  overflow: hidden;

  padding: 14px;

  border:
    1px solid
    rgba(255, 255, 255, 0.08);

  border-radius: 15px;

  background:
    rgba(14, 15, 17, 0.84);

  color: inherit;

  text-decoration: none;

  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.community-v2-creator:hover,
.community-v2-creator:focus-visible {
  transform:
    translateY(-3px);

  border-color:
    rgba(204, 255, 0, 0.32);
}

.community-v2-creator-head {
  display: flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 12px;
}

.community-v2-avatar {
  display: grid;

  place-items: center;

  width: 44px;
  height: 44px;

  flex:
    0 0 44px;

  overflow: hidden;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.07);

  color: var(--accent);

  font-weight: 900;
}

.community-v2-avatar img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.community-v2-creator-head strong,
.community-v2-creator-head span,
.community-v2-creator-head small {
  display: block;
}

.community-v2-creator-head span,
.community-v2-creator-head small {
  color: var(--muted);

  font-size: 0.68rem;
}

.community-v2-cover {
  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  border-radius: 9px;

  background:
    linear-gradient(
      135deg,
      rgba(204, 255, 0, 0.14),
      rgba(60, 30, 120, 0.18)
    );
}

.community-v2-cover img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.community-v2-cover-placeholder {
  display: grid;

  place-items: center;

  height: 100%;

  color: var(--accent);

  font-size: 0.64rem;
  font-weight: 900;

  letter-spacing: 0.14em;
}

.community-v2-creator-meta {
  display: flex;

  gap: 16px;

  margin-top: 11px;

  color: var(--muted);

  font-size: 0.72rem;
}

.community-v2-creator-meta b {
  color: var(--accent);
}

.community-v2-latest {
  display: block;

  margin-top: 8px;

  overflow: hidden;

  color: rgba(
    255,
    255,
    255,
    0.68
  );

  font-size: 0.64rem;

  text-overflow: ellipsis;
  white-space: nowrap;
}


/* PULSE + SCOUTS */

.community-v2-main-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.85fr)
    minmax(280px, 0.95fr);

  gap: 14px;

  margin-top: 18px;
}

.community-v2-side {
  display: grid;

  align-content: start;

  gap: 14px;
}

.community-v2-panel {
  padding:
    18px;

  border:
    1px solid
    rgba(255, 255, 255, 0.08);

  border-radius: 16px;

  background:
    rgba(13, 14, 16, 0.84);
}

.community-v2-live {
  color: var(--accent);

  font-size: 0.62rem;
  font-weight: 900;

  letter-spacing: 0.10em;
}

.community-v2-feed {
  border-top:
    1px solid
    rgba(255, 255, 255, 0.07);
}

.community-v2-feed-row {
  display: grid;

  grid-template-columns:
    52px
    minmax(0, 1fr)
    auto;

  gap: 12px;

  align-items: center;

  min-height: 68px;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.055);
}

.community-v2-feed-cover {
  display: grid;

  place-items: center;

  width: 44px;
  height: 44px;

  overflow: hidden;

  border-radius: 7px;

  background:
    rgba(255, 255, 255, 0.06);

  color: var(--accent);

  text-decoration: none;
}

.community-v2-feed-cover img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.community-v2-feed-copy {
  min-width: 0;
}

.community-v2-feed-copy strong,
.community-v2-feed-copy span {
  display: block;
}

.community-v2-feed-copy strong {
  overflow: hidden;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-v2-feed-copy a {
  color: inherit;

  text-decoration: none;
}

.community-v2-feed-copy span {
  margin-top: 2px;

  color: var(--muted);

  font-size: 0.70rem;
}

.community-v2-feed-type {
  color: var(--accent);

  font-size: 0.54rem;
  font-weight: 900;

  letter-spacing: 0.08em;
}


/* SCOUTS */

.community-v2-scout-list {
  border-top:
    1px solid
    rgba(255, 255, 255, 0.07);
}

.community-v2-scout {
  display: grid;

  grid-template-columns:
    22px
    34px
    minmax(0, 1fr)
    auto;

  gap: 9px;

  align-items: center;

  min-height: 54px;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.055);

  color: inherit;

  text-decoration: none;
}

.community-v2-scout > b {
  color: var(--muted);

  font-size: 0.72rem;
}

.community-v2-avatar-small {
  width: 30px;
  height: 30px;

  flex-basis: 30px;

  font-size: 0.68rem;
}

.community-v2-scout-name strong,
.community-v2-scout-name span {
  display: block;
}

.community-v2-scout-name strong {
  font-size: 0.78rem;
}

.community-v2-scout-name span {
  color: var(--muted);

  font-size: 0.61rem;
}

.community-v2-scout-score {
  text-align: right;
}

.community-v2-scout-score strong,
.community-v2-scout-score span {
  display: block;
}

.community-v2-scout-score strong {
  color: var(--accent);

  font-size: 0.78rem;
}

.community-v2-scout-score span {
  color: var(--muted);

  font-size: 0.55rem;
}


/* COMMUNITY CTA */

.community-v2-platform {
  position: relative;

  display: flex;

  min-height: 230px;

  align-items: center;

  overflow: hidden;

  padding: 24px;

  border:
    1px solid
    rgba(255, 255, 255, 0.10);

  border-radius: 16px;

  background:
    linear-gradient(
      90deg,
      rgba(6, 7, 8, 0.96) 0%,
      rgba(6, 7, 8, 0.72) 47%,
      rgba(6, 7, 8, 0.10) 100%
    ),
    url("/static/images/community/community-platform.webp")
    center
    / cover
    no-repeat;
}

.community-v2-platform > div {
  position: relative;
  z-index: 2;

  max-width: 300px;
}

.community-v2-platform h2 {
  margin:
    5px
    0
    10px;

  font-size:
    clamp(
      1.55rem,
      3vw,
      2rem
    );
}

.community-v2-platform h2 span {
  color: var(--accent);
}

.community-v2-platform p:not(.eyebrow) {
  margin-bottom: 16px;

  color: var(--muted);

  font-size: 0.78rem;
}


/* SIGNALS */

.community-v2-signals-block {
  margin-top: 20px;
}

.community-v2-signals {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 12px;
}

.community-v2-signal {
  position: relative;

  min-height: 170px;

  overflow: hidden;

  border:
    1px solid
    rgba(255, 255, 255, 0.08);

  border-radius: 14px;

  background:
    #111315;

  color: white;

  text-decoration: none;
}

.community-v2-signal > img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 300ms ease;
}

.community-v2-signal:hover > img {
  transform:
    scale(1.045);
}

.community-v2-signal-shade {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(5, 6, 7, 0.08) 10%,
      rgba(5, 6, 7, 0.92) 100%
    );
}

.community-v2-signal-copy {
  position: absolute;

  z-index: 2;

  left: 16px;
  right: 16px;
  bottom: 15px;
}

.community-v2-signal-copy > span {
  color: rgba(
    255,
    255,
    255,
    0.50
  );

  font-size: 0.55rem;
  font-weight: 900;

  letter-spacing: 0.11em;
}

.community-v2-signal-copy h3 {
  margin:
    5px
    0;
}

.community-v2-signal-copy small {
  color: var(--accent);

  font-weight: 800;
}


/* ==========================================================
   COMMUNITY V2 MOBILE
   ========================================================== */

@media (max-width: 760px) {

  .community-v2 {
    padding-top: 0;
  }

  .community-v2-hero {
    min-height: 720px;

    align-items: flex-start;

    padding-top: 34px;

    background:
      linear-gradient(
        180deg,
        rgba(7, 8, 9, 1) 0%,
        rgba(7, 8, 9, 0.96) 37%,
        rgba(7, 8, 9, 0.58) 57%,
        rgba(7, 8, 9, 0.10) 78%,
        rgba(7, 8, 9, 0.88) 100%
      ),
      url("/static/images/community/community-hero-mobile.webp")
      center 80%
      / cover
      no-repeat;
  }

  .community-v2-hero-copy {
    width: 100%;

    padding:
      18px
      0;
  }

  .community-v2-hero h1 {
    font-size:
      clamp(
        3.4rem,
        17vw,
        5rem
      );

    max-width: 100%;
  }

  .community-v2-hero-intro {
    max-width: 92%;

    font-size: 0.90rem;
  }

  .community-v2-manifesto {
    display: none;
  }


  .community-v2-stats {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

  .community-v2-stats > div {
    border-bottom:
      1px solid
      rgba(255, 255, 255, 0.055);
  }


  .community-v2-discord {
    display: block;

    min-height: 250px;

    padding:
      22px;

    background:
      linear-gradient(
        180deg,
        rgba(11, 14, 31, 0.96) 0%,
        rgba(11, 14, 31, 0.78) 55%,
        rgba(11, 14, 31, 0.30) 100%
      ),
      url("/static/images/community/community-discord-mobile.webp")
      center
      / cover
      no-repeat;
  }

  .community-v2-discord-copy {
    max-width: 100%;
  }

  .community-v2-discord-action {
    align-items: flex-start;

    margin-top: 22px;
  }


  .community-v2-creators {
    grid-template-columns:
      1fr;
  }

  .community-v2-main-grid {
    grid-template-columns:
      1fr;
  }

  .community-v2-heading {
    align-items: flex-start;
  }

  .community-v2-feed-row {
    grid-template-columns:
      48px
      minmax(0, 1fr);
  }

  .community-v2-feed-type {
    grid-column:
      2 / -1;

    margin-top: -8px;

    padding-bottom: 8px;
  }


  .community-v2-platform {
    min-height: 310px;

    align-items: flex-start;

    background:
      linear-gradient(
        180deg,
        rgba(6, 7, 8, 0.96) 0%,
        rgba(6, 7, 8, 0.70) 55%,
        rgba(6, 7, 8, 0.12) 100%
      ),
      url("/static/images/community/community-platform.webp")
      center
      / cover
      no-repeat;
  }


  .community-v2-signals {
    grid-template-columns:
      1fr;
  }

  .community-v2-signal {
    min-height: 190px;
  }

}


/* Reduce motion */

@media (prefers-reduced-motion: reduce) {

  .community-v2-creator,
  .community-v2-signal > img {
    transition: none;
  }

}


/* ==========================================================
   COMMUNITY V2 — MOBILE POLISH
   ========================================================== */

@media (max-width: 760px) {

  .community-v2 {
    padding-bottom: 54px;
  }

  .community-v2-hero {
    min-height: 650px;
    padding-top: 24px;
  }

  .community-v2-hero-copy {
    padding-top: 10px;
  }

  .community-v2-hero-actions {
    margin-top: 20px;
    gap: 9px;
  }

  .community-v2-stats > div {
    padding: 18px 10px;
  }


  /* Discord banner */

  .community-v2-discord {
    min-height: 220px;

    margin-top: 20px;

    padding:
      18px
      18px
      16px;
  }

  .community-v2-discord-copy h2 {
    max-width: 82%;

    font-size: 1.22rem;
    line-height: 1.1;
  }

  .community-v2-discord-copy > p:last-child {
    max-width: 90%;

    font-size: 0.70rem;
    line-height: 1.4;
  }

  .community-v2-discord-action {
    width: 100%;

    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;

    margin-top: 14px;
  }

  .community-v2-discord-action > span {
    display: none;
  }

  .community-v2-discord-button {
    margin-left: auto;

    padding:
      10px
      14px;

    font-size: 0.70rem;
  }


  /* Sections */

  .community-v2-block {
    margin-top: 24px;
  }

  .community-v2-heading {
    margin-bottom: 10px;
  }

  .community-v2-heading h2 {
    font-size: 1.45rem;
  }

  .community-v2-heading p:not(.eyebrow) {
    margin-top: 3px;
  }

  .community-v2-creators {
    gap: 10px;
  }

  .community-v2-main-grid {
    margin-top: 12px;
    gap: 12px;
  }

  .community-v2-side {
    gap: 12px;
  }

  .community-v2-panel {
    padding: 14px;
  }


  /* Pulse */

  .community-v2-feed-row {
    min-height: 62px;
    gap: 10px;
  }

  .community-v2-feed-cover {
    width: 40px;
    height: 40px;
  }


  /* Platform CTA */

  .community-v2-platform {
    min-height: 255px;

    padding: 18px;
  }

  .community-v2-platform h2 {
    font-size: 1.55rem;
  }


  /* Arena signals */

  .community-v2-signals-block {
    margin-top: 16px;
  }

  .community-v2-signals {
    gap: 10px;
  }

  .community-v2-signal {
    min-height: 170px;
  }

}


/* ==========================================================
   MOBILE GLOBAL CLOCK
   LIVE right aligned, NEXT DROP directly underneath.
   ========================================================== */

@media (max-width: 760px) {

  .season-clock-inner {
    display: grid;
    grid-template-columns:
      minmax(0, 1fr)
      auto;

    align-items: center;

    gap: 10px;

    min-height: 48px;
  }

  .season-clock-state {
    min-width: 0;
  }

  .season-clock-state strong {
    white-space: nowrap;

    font-size: 0.62rem;
  }


  .season-clock-meta {
    display: flex !important;

    flex-direction: column;
    align-items: flex-end;
    justify-content: center;

    gap: 3px;

    min-width: max-content;

    text-align: right;
  }


  .season-clock-event-driven {
    display: block !important;

    margin: 0 !important;

    color: rgba(255, 255, 255, 0.62);

    font-size: 0.66rem;
    font-weight: 500;

    line-height: 1;

    letter-spacing: 0.04em;
  }


  .season-clock-next-drop {
    display: flex !important;

    align-items: baseline;

    gap: 5px;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    color: rgba(255, 255, 255, 0.34);

    font-size: 0.43rem;
    font-weight: 800;

    line-height: 1;

    letter-spacing: 0.12em;

    white-space: nowrap;
  }


  .season-clock-next-drop strong,
  [data-global-drop-countdown] {
    display: inline !important;

    color: rgba(255, 255, 255, 0.80);

    font-size: 0.56rem;
    font-weight: 800;

    letter-spacing: 0.04em;
  }

}

/* ==========================================================
   HOME — SYNTHRADIO CINEMATIC PANEL
   ========================================================== */

.game-radio-copy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.game-radio-copy::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 0;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(7, 8, 9, 0.96) 0%,
      rgba(7, 8, 9, 0.84) 34%,
      rgba(7, 8, 9, 0.48) 58%,
      rgba(7, 8, 9, 0.12) 100%
    ),
    url("/static/images/home/home-synthradio-banner.webp")
    60% center
    / cover
    no-repeat;
}

.game-radio-copy > * {
  position: relative;
  z-index: 2;
}

@media (max-width: 760px) {

  .game-radio-copy::before {
    position: relative;
    z-index: 2;
  }

  .game-radio-copy::after {
    background:
      linear-gradient(
        180deg,
        rgba(7, 8, 9, 0.94) 0%,
        rgba(7, 8, 9, 0.72) 48%,
        rgba(7, 8, 9, 0.36) 100%
      ),
      url("/static/images/home/home-synthradio-banner.webp")
      70% center
      / cover
      no-repeat;
  }

}



/* ==========================================================
   HOME — SYNTHRADIO CTA ALIGNMENT
   ========================================================== */

.game-radio-copy {
  display: flex;
  flex-direction: column;
}

.game-radio-copy .game-secondary-button {
  align-self: flex-end;

  margin-top: auto;
}

@media (max-width: 760px) {
  .game-radio-copy .game-secondary-button {
    align-self: flex-end;
  }
}

/* ==========================================================
   MY ARENA — INLINE IDENTITY AVATAR
   ========================================================== */

.my-arena-identity-row {
  display: flex;
  align-items: center;
  gap: 22px;
}

.my-arena-identity-copy {
  min-width: 0;
}

.arena-avatar-inline-form {
  flex: 0 0 auto;
}

.arena-avatar-inline {
  position: relative;

  width: 96px;
  height: 96px;

  display: grid;
  place-items: center;

  overflow: visible;

  border:
    1px solid
    rgba(203, 255, 27, 0.45);

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(203, 255, 27, 0.16),
      rgba(10, 11, 13, 0.96) 68%
    );

  box-shadow:
    0 0 0 5px
      rgba(203, 255, 27, 0.035),
    0 12px 32px
      rgba(0, 0, 0, 0.35);

  cursor: pointer;

  transition:
    transform .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.arena-avatar-inline:hover {
  transform:
    translateY(-2px);

  border-color:
    var(--accent);

  box-shadow:
    0 0 0 6px
      rgba(203, 255, 27, 0.07),
    0 14px 36px
      rgba(0, 0, 0, 0.42);
}

.arena-avatar-inline img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  border-radius: 50%;
}

.arena-avatar-initials {
  color: var(--accent);

  font-size: 1.75rem;
  font-weight: 950;

  letter-spacing: -.05em;
}

.arena-avatar-edit {
  position: absolute;

  right: -5px;
  bottom: 3px;

  padding: 5px 7px;

  border-radius: 999px;

  background:
    var(--accent);

  color: #080909;

  font-size: .48rem;
  font-weight: 950;

  letter-spacing: .08em;

  box-shadow:
    0 4px 14px
    rgba(0, 0, 0, .45);
}

.arena-avatar-file {
  position: absolute;

  width: 1px;
  height: 1px;

  overflow: hidden;

  opacity: 0;

  pointer-events: none;
}


@media (max-width: 760px) {

  .my-arena-identity-row {
    gap: 16px;
    align-items: center;
  }

  .arena-avatar-inline {
    width: 72px;
    height: 72px;
  }

  .arena-avatar-initials {
    font-size: 1.35rem;
  }

  .arena-avatar-edit {
    right: -6px;
    bottom: -1px;

    padding: 4px 6px;

    font-size: .42rem;
  }

  .my-arena-identity-copy h1 {
    margin-top: 5px;

    font-size:
      clamp(
        2rem,
        10vw,
        3.4rem
      );
  }

  .my-arena-identity-copy
  .page-intro {
    margin-top: 8px;
  }

}



/* ==========================================================
   MY ARENA — IDENTITY NAME POLISH
   ========================================================== */

.my-arena-identity-copy h1 {
  max-width: 100%;

  margin:
    5px 0 8px;

  font-size:
    clamp(
      2.6rem,
      4.4vw,
      4.6rem
    ) !important;

  line-height: .94;

  letter-spacing:
    -.045em;

  white-space:
    normal !important;

  overflow-wrap:
    anywhere;

  word-break:
    break-word;
}


@media (max-width: 760px) {

  .my-arena-identity-row {
    align-items:
      flex-start;

    gap: 14px;
  }

  .arena-avatar-inline {
    width: 68px;
    height: 68px;

    margin-top: 8px;
  }

  .my-arena-identity-copy {
    flex: 1 1 auto;

    width: 0;
    min-width: 0;
  }

  .my-arena-identity-copy h1 {
    width: 100%;

    font-size:
      clamp(
        2rem,
        9vw,
        2.75rem
      ) !important;

    line-height:
      .96;

    letter-spacing:
      -.04em;
  }

  .my-arena-identity-copy
  .page-intro {
    max-width:
      260px;

    font-size:
      .88rem;

    line-height:
      1.4;
  }

}


/* ==========================================================
   GLOBAL USER AVATAR
   ========================================================== */

.user-avatar-initials {
  display: grid;
  width: 100%;
  height: 100%;

  place-items: center;

  color: var(--accent);

  font-weight: 900;
  line-height: 1;

  text-transform: uppercase;
  letter-spacing: -.04em;
}


/* Avatar initials inside My Arena identity */
.arena-avatar-inline
.user-avatar-initials {
  font-size: 1.75rem;
}

@media (max-width: 760px) {
  .arena-avatar-inline
  .user-avatar-initials {
    font-size: 1.35rem;
  }
}


/* ==========================================================
   COMMUNITY — AVATAR INITIALS CENTERING
   ========================================================== */

.community-v2-avatar
.user-avatar-initials {
  display: flex !important;

  width: 100% !important;
  height: 100% !important;

  align-items: center !important;
  justify-content: center !important;

  margin: 0 !important;
  padding: 0 !important;

  position: static !important;
  transform: none !important;

  line-height: 1 !important;
  text-align: center;
}

.community-v2-avatar:not(
  .community-v2-avatar-small
)
.user-avatar-initials {
  font-size: 1rem;
}

.community-v2-avatar-small
.user-avatar-initials {
  font-size: .72rem;
}


/* ==========================================================
   SYNTHRADIO V2 — LIVE ROOM
   ========================================================== */

.radio-v2 {
  width: 100%;
  max-width: 1180px;
}

.radio-v2-live-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.65fr)
    minmax(300px, .65fr);

  gap: 22px;

  align-items: stretch;
}

.radio-v2
.on-air-card {
  min-width: 0;
  margin: 0;
}

.radio-v2
.on-air-visual {
  position: relative;
  overflow: hidden;
}

.radio-reaction-stage {
  position: absolute;

  z-index: 8;
  inset: 0;

  overflow: hidden;

  pointer-events: none;
}

.radio-floating-reaction {
  position: absolute;

  left:
    var(
      --radio-reaction-left
    );

  bottom: 4%;

  font-size:
    var(
      --radio-reaction-size
    );

  line-height: 1;

  filter:
    drop-shadow(
      0 5px 12px
      rgba(0, 0, 0, .5)
    );

  animation:
    radio-reaction-rise
    var(
      --radio-reaction-duration
    )
    cubic-bezier(
      .16,
      .8,
      .25,
      1
    )
    forwards;

  will-change:
    transform,
    opacity;
}

@keyframes radio-reaction-rise {
  0% {
    opacity: 0;

    transform:
      translate3d(
        0,
        25px,
        0
      )
      scale(.7)
      rotate(-8deg);
  }

  12% {
    opacity: 1;
  }

  75% {
    opacity: .95;
  }

  100% {
    opacity: 0;

    transform:
      translate3d(
        var(
          --radio-reaction-drift
        ),
        -420px,
        0
      )
      scale(1.28)
      rotate(12deg);
  }
}


.radio-track-signal-link {
  display: inline-flex;

  width: fit-content;

  margin-top: 4px;

  color: var(--accent);

  font-size: .72rem;
  font-weight: 900;

  letter-spacing: .05em;

  text-decoration: none;
}


.radio-reaction-dock {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 8px;

  margin-top: 22px;
}

.radio-reaction-dock button {
  min-height: 50px;

  border:
    1px solid
    rgba(255, 255, 255, .10);

  border-radius: 14px;

  background:
    rgba(255, 255, 255, .045);

  font-size: 1.45rem;

  cursor: pointer;

  transition:
    transform .12s ease,
    border-color .12s ease,
    background .12s ease;
}

.radio-reaction-dock button:hover {
  border-color:
    rgba(203, 255, 27, .55);

  background:
    rgba(203, 255, 27, .07);
}

.radio-reaction-dock button:active {
  transform:
    scale(.90);
}


/* LIVE ROOM */

.radio-live-room {
  min-height: 100%;

  display: flex;
  flex-direction: column;

  padding: 22px;

  border:
    1px solid
    rgba(255, 255, 255, .10);

  border-radius: 24px;

  background:
    rgba(10, 11, 13, .82);

  backdrop-filter:
    blur(14px);
}

.radio-live-room-head {
  display: flex;

  justify-content:
    space-between;

  gap: 16px;

  align-items:
    flex-start;

  padding-bottom: 16px;

  border-bottom:
    1px solid
    rgba(255, 255, 255, .08);
}

.radio-live-room-head h2 {
  margin:
    5px 0 0;

  font-size:
    1.35rem;
}

.radio-live-room-head > span {
  color: var(--accent);

  font-size: .58rem;
  font-weight: 900;

  letter-spacing: .09em;
}

.radio-chat-feed {
  flex: 1;

  min-height: 360px;
  max-height: 610px;

  overflow-y: auto;

  padding:
    14px 2px;

  scrollbar-width: thin;
}

.radio-chat-message {
  display: grid;

  grid-template-columns:
    36px minmax(0, 1fr);

  gap: 10px;

  padding:
    9px 0;
}

.radio-chat-avatar {
  width: 36px;
  height: 36px;

  display: grid;
  place-items: center;

  overflow: hidden;

  border:
    1px solid
    rgba(203, 255, 27, .25);

  border-radius: 50%;

  background:
    rgba(255, 255, 255, .055);

  color: var(--accent);

  font-size: .66rem;
  font-weight: 900;
}

.radio-chat-avatar img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}

.radio-chat-message strong {
  color:
    rgba(255, 255, 255, .86);

  font-size: .68rem;
}

.radio-chat-message p {
  margin:
    3px 0 0;

  color:
    rgba(255, 255, 255, .67);

  font-size: .78rem;

  line-height: 1.4;

  overflow-wrap: anywhere;
}

.radio-chat-form {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  gap: 8px;

  padding-top: 14px;

  border-top:
    1px solid
    rgba(255, 255, 255, .08);
}

.radio-chat-form input {
  min-width: 0;

  padding:
    11px 13px;

  border:
    1px solid
    rgba(255, 255, 255, .11);

  border-radius: 12px;

  background:
    rgba(255, 255, 255, .045);

  color: var(--text);
}

.radio-chat-form button {
  padding:
    0 15px;

  border: 0;
  border-radius: 12px;

  background:
    var(--accent);

  color: #080909;

  font-size: .68rem;
  font-weight: 900;

  cursor: pointer;
}

.radio-chat-signin {
  padding-top: 14px;

  border-top:
    1px solid
    rgba(255, 255, 255, .08);
}

.radio-chat-signin a {
  color: var(--accent);

  font-size: .74rem;
  font-weight: 900;

  text-decoration: none;
}

.radio-chat-note {
  display: block;

  margin-top: 10px;

  color:
    rgba(255, 255, 255, .30);

  font-size: .57rem;
}


/* TABLET / MOBILE */

@media (max-width: 900px) {

  .radio-v2-live-grid {
    grid-template-columns: 1fr;
  }

  .radio-chat-feed {
    min-height: 260px;
    max-height: 420px;
  }
}


@media (max-width: 760px) {

  .radio-reaction-dock {
    grid-template-columns:
      repeat(4, 1fr);

    gap: 6px;
  }

  .radio-reaction-dock button {
    min-height: 46px;

    font-size: 1.3rem;
  }

  .radio-live-room {
    padding: 17px;

    border-radius: 20px;
  }

  .radio-chat-feed {
    min-height: 220px;
  }

  @keyframes radio-reaction-rise {
    0% {
      opacity: 0;

      transform:
        translate3d(
          0,
          20px,
          0
        )
        scale(.72);
    }

    12% {
      opacity: 1;
    }

    100% {
      opacity: 0;

      transform:
        translate3d(
          var(
            --radio-reaction-drift
          ),
          -300px,
          0
        )
        scale(1.2);
    }
  }

}


/* ==========================================================
   SYNTHRADIO — REACTION BAR POLISH
   ========================================================== */

.radio-reaction-dock {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;

  gap: 9px;

  width: fit-content;
  max-width: 100%;

  margin: 22px auto 0;
  padding: 8px 10px;

  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;

  background: rgba(0,0,0,.22);

  backdrop-filter: blur(8px);
}

.radio-reaction-dock button {
  width: 44px;
  height: 44px;
  min-height: 0;

  display: grid;
  place-items: center;

  flex: 0 0 44px;

  padding: 0;

  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;

  background: rgba(255,255,255,.045);

  font-size: 1.28rem;
  line-height: 1;

  cursor: pointer;

  transition:
    transform .12s ease,
    border-color .12s ease,
    background .12s ease;
}

.radio-reaction-dock button:hover {
  transform: translateY(-2px) scale(1.08);

  border-color: rgba(203,255,27,.55);

  background: rgba(203,255,27,.09);
}

.radio-reaction-dock button:active {
  transform: scale(.86);
}


@media (max-width: 760px) {

  .radio-reaction-dock {
    display: grid;

    grid-template-columns:
      repeat(4, 44px);

    width: fit-content;

    gap: 8px;

    padding: 9px;

    border-radius: 24px;
  }

  .radio-reaction-dock button {
    width: 44px;
    height: 44px;

    font-size: 1.25rem;
  }

}


/* ==========================================================
   SYNTHRADIO — CHAT IDENTITY LINKS
   ========================================================== */

.radio-chat-identity {
  color:
    rgba(255,255,255,.86);

  font-size: .68rem;
  font-weight: 900;

  text-decoration: none;

  transition:
    color .15s ease;
}

.radio-chat-identity:hover {
  color: var(--accent);
}

.radio-chat-message
.radio-chat-identity:focus-visible {
  outline:
    1px solid var(--accent);

  outline-offset: 3px;

  border-radius: 3px;
}


/* =========================================================
   ADMIN CONTROL ROOM
   ========================================================= */

.admin-dashboard {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 96px;
}

.admin-dashboard-hero {
  margin-bottom: 32px;
}

.admin-dashboard-hero h1 {
  margin: 8px 0;
  font-size: clamp(2.5rem, 7vw, 5rem);
}

.admin-dashboard-hero p {
  opacity: .72;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.admin-stat-card,
.admin-panel {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(8,9,12,.86);
  border-radius: 18px;
}

.admin-stat-card {
  padding: 24px;
}

.admin-stat-card span {
  display: block;
  margin-bottom: 12px;
  font-size: .72rem;
  letter-spacing: .12em;
  opacity: .64;
}

.admin-stat-card strong {
  font-size: 2.4rem;
}

.admin-panel {
  padding: 24px;
}

.admin-panel-heading {
  margin-bottom: 20px;
}

.admin-panel-heading h2 {
  margin: 6px 0 0;
}

.admin-user-list {
  display: grid;
}

.admin-user-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.admin-user-row > div:first-child {
  display: grid;
  gap: 4px;
}

.admin-user-row span {
  opacity: .7;
}

.admin-status-active,
.admin-status-banned {
  font-size: .72rem;
  letter-spacing: .1em;
  font-weight: 800;
}

.site-nav-admin {
  font-weight: 800;
}

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

@media (max-width: 520px) {
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-user-row {
    align-items: flex-start;
  }
}

.admin-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
}

.admin-dashboard-actions a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  text-decoration: none;
}

.admin-track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-track-actions form {
  margin: 0;
}
