.hero-track {
  background: radial-gradient(ellipse at 82% 26%, #24192366, transparent 49%), var(--bg);
}
.hero-track.is-scroll::after {
  content: '';
  display: block;
  height: clamp(560px, 82vh, 850px);
}
.is-scroll .hero {
  position: sticky;
  top: var(--pin-top, 88px);
  min-height: calc(100svh - 88px);
}
.hero-scene {
  width: 100%;
  min-width: 0;
  margin: 0;
}
.scene-panel {
  --chat: 1;
  --message: 1;
  --voice: 0;
  --names: 0;
  --quote: 0;
  --stream: 0;
  --dock: 0;
  --ring-size: 1;
  --ring-opacity: 0;
  --gutter: clamp(14px, 1.5vw, 22px);
  overflow: hidden;
  isolation: isolate;
  background: #1c1b22;
  border: 1px solid #55424e;
  border-radius: 18px;
  box-shadow: 0 20px 55px -24px #000b;
  font-size: 1rem;
  line-height: 1.4;
}
.scene-chrome,
.scene-chrome > span,
.scene-banner,
.scene-online,
.scene-channels,
.scene-channels > span,
.scene-composer,
.scene-day,
.scene-callbar,
.scene-call-tools,
.scene-scroll-hint,
.stream-label {
  display: flex;
  align-items: center;
}
.scene-chrome {
  justify-content: space-between;
  padding: 9px 15px;
  background: #211e25;
  color: #e8e2e8;
  font-size: 0.8125rem;
  font-weight: 600;
}
.stream-label,
.game-health {
  opacity: var(--dock);
}
.scene-chrome > span {
  gap: 7px;
}
.scene-window-dots i {
  width: 5px;
  height: 5px;
  background: #655963;
  border-radius: 50%;
}
.scene-banner {
  min-height: clamp(104px, 8.5vw, 130px);
  justify-content: space-between;
  align-items: end;
  padding: 16px var(--gutter);
  background:
    linear-gradient(to top, #15101edd, transparent 62%),
    url('/assets/landing/after-hours.webp') center 48% / cover,
    #5c424f;
}
.scene-banner strong {
  font:
    700 clamp(1.5rem, 2.2vw, 2rem) / 1.1 'Manrope V5',
    sans-serif;
  letter-spacing: -0.035em;
  text-shadow: 0 1px 8px #21121c;
}
.scene-online {
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid #ffffff29;
  border-radius: 20px;
  background: #17141ddd;
  color: #f2edf2;
  font-size: 0.75rem;
}
.scene-online::before,
.stream-label i {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8bd9aa;
}
.scene-channels {
  gap: clamp(15px, 2vw, 32px);
  padding-inline: var(--gutter);
  background: #242129;
  box-shadow: inset 0 -1px #39343f;
}
.scene-channels > span {
  gap: 7px;
  padding-block: 12px;
  border-bottom: 2px solid transparent;
  color: #bdb5c2;
  font-size: 0.875rem;
  font-weight: 500;
}
.scene-channels b {
  font-size: 1.1rem;
  line-height: 1;
}
.scene-channels .icon {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
}
[data-stage='0'] .text-channel,
[data-stage='1'] .voice-channel,
[data-stage='2'] .voice-channel {
  border-color: #ff729b;
  color: #ffadc7;
}
.scene-stage {
  position: relative;
  display: flow-root;
  overflow: hidden;
}
.scene-chat,
.scene-composer {
  opacity: var(--chat);
}
.scene-day {
  gap: 11px;
  margin: 14px var(--gutter) 12px;
  color: #b6acbc;
  font-size: 0.75rem;
}
.scene-day::before,
.scene-day::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #39333e;
}
.scene-row {
  display: flex;
  align-items: start;
  gap: 11px;
  margin-inline: var(--gutter);
}
.scene-row b {
  font-size: 0.9375rem;
}
.scene-row small {
  margin-left: 8px;
  color: #aba1b1;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.scene-row p {
  margin: 3px 0 0;
}
.scene-history p {
  color: #cec7d2;
  font-size: 0.9375rem;
}
.chat-avatar,
.chat-seat,
.scene-person {
  width: 40px;
  height: 40px;
  flex: none;
}
.chat-avatar,
.scene-person {
  display: grid;
  place-items: center;
  border: 1px solid #fff2;
  border-radius: 50%;
  color: #fff6fa;
  font:
    600 1.1rem/1 'Manrope V5',
    sans-serif;
}
.person-mark {
  background: #923953;
}
.person-lera {
  background: #685182;
}
.person-artem {
  background: #3c6973;
}
.person-sonya {
  background: #876240;
}
.mark-row {
  margin-top: 18px;
}
.scene-message {
  opacity: var(--message);
  transform-origin: -22px 17px;
  transform: scale(calc(0.25 + 0.75 * var(--message)));
}
.scene-message b {
  color: #ffaec7;
}
.scene-message p,
.scene-quote {
  width: fit-content;
  border: 1px solid #754052;
  border-radius: 4px 12px 12px 12px;
  padding: 8px 12px;
  background: #3d2632;
  color: #fff1f5;
}
.scene-message p {
  animation: message-arrives 0.42s ease-out both;
}
@keyframes message-arrives {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.scene-composer {
  gap: 9px;
  margin: 18px var(--gutter) 15px;
  padding: 8px 12px;
  background: #25222b;
  border: 1px solid #443a48;
  border-radius: 9px;
  color: #b9adbe;
  font-size: 0.8125rem;
}
.scene-composer .icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}
.scene-composer .icon:last-child {
  margin-left: auto;
  color: #e39bb1;
}
.scene-room {
  position: absolute;
  inset: 0;
  opacity: var(--voice);
  background:
    radial-gradient(ellipse at 38% 47%, #492f414d, transparent 65%),
    radial-gradient(#ffffff12 0.7px, transparent 1px) 0 0 / 10px 10px,
    #1d1b23;
}
.scene-quote {
  position: absolute;
  left: 27%;
  bottom: 65%;
  opacity: var(--quote);
  transform: translateY(calc((1 - var(--quote)) * 5px));
  border-radius: 12px 12px 12px 3px;
}
.scene-quote::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 18%;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  background: #3d2632;
  border: solid #754052;
  border-width: 0 1px 1px 0;
}
.voice-seats {
  position: absolute;
  top: 43%;
  inset-inline: 4%;
  display: flex;
  justify-content: space-around;
}
.voice-seat {
  position: relative;
  width: clamp(42px, 3.8vw, 56px);
  aspect-ratio: 1;
}
.voice-seat::before {
  content: '';
  position: absolute;
  inset: -10px clamp(-22px, -1.3vw, -7px) -26px;
  border-radius: 12px;
  background: linear-gradient(150deg, #352d3b, #28242e);
  border: 1px solid #493f4d;
  opacity: var(--names);
}
.voice-seat:first-child::before {
  border-color: #96516c;
  background: linear-gradient(150deg, #4a2e40, #352835);
}
.voice-seat:nth-child(2),
.dock-seat:nth-child(2) {
  order: -1;
}
.scene-person {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  opacity: 0;
}
.scene-person.person-mark {
  opacity: 1;
}
.chat-seat {
  position: relative;
}
.person-mark::after {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1.5px solid #ff719c;
  border-radius: 50%;
  opacity: var(--ring-opacity);
  transform: scale(var(--ring-size));
}
.person-name {
  position: absolute;
  top: calc(100% + 7px);
  opacity: var(--names);
  font:
    500 0.8125rem/1 'Golos Text',
    sans-serif;
}
.preview-seat {
  position: absolute;
  top: 7%;
  left: 32%;
  width: 26%;
}
.scene-screen {
  position: absolute;
  inset: 8px 10px 55px;
  transform-origin: 0 0;
  overflow: hidden;
  opacity: var(--stream);
  border: 1px solid #486566;
  border-radius: 10px;
  background: #182b37 url('/assets/landing/game-frame.webp') center 60% / cover;
}
.stream-label {
  position: absolute;
  top: 10px;
  left: 10px;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 5px;
  background: #201822db;
  font-size: 0.75rem;
  font-weight: 600;
}
.stream-label i {
  background: #ff6a91;
}
.game-health {
  position: absolute;
  top: 10px;
  right: 12px;
  color: #ff8496;
  text-shadow: 1px 2px #332f4e;
  font-size: 1.125rem;
}
.scene-callbar {
  position: absolute;
  inset: auto 0 0;
  min-height: 49px;
  padding: 8px 14px;
  gap: 9px;
  border-top: 1px solid #3b343f;
  background: #25212a;
  opacity: var(--voice);
}
.dock-seats {
  display: flex;
  gap: 3px;
}
.dock-seat {
  width: 27px;
  height: 27px;
}
.scene-sharing {
  opacity: var(--dock);
  color: #ded4df;
  font-size: 0.8125rem;
}
.scene-count {
  position: absolute;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  color: #d2c7d4;
  opacity: var(--names);
}
.scene-count .icon {
  width: 17px;
  height: 17px;
}
.scene-call-tools {
  gap: 8px;
  margin-left: auto;
}
.scene-call-tools .icon {
  box-sizing: content-box;
  width: 15px;
  height: 15px;
  flex: none;
  padding: 5px;
  color: #c9bfce;
  border-radius: 7px;
  background: #39323e;
}
.scene-call-tools .icon:last-child {
  background: #873148;
  color: #fff;
}
.scene-caption {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 8px;
  margin-top: 13px;
  padding: 0 2px;
}
#scene-title {
  color: #e3dbe5;
  font-size: 0.9375rem;
  font-weight: 600;
}
.scene-controls {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  gap: 2px;
  border: 1px solid #3c343f;
  border-radius: 12px;
  padding: 3px;
  background: #1c191f;
}
.scene-controls button {
  min-height: 36px;
  padding: 5px 12px;
  background: transparent;
  color: #c9c0ce;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.875rem;
}
.scene-controls button[aria-pressed='true'] {
  background: #422633;
  color: #ffbbcf;
  border-color: #714051;
}
.scene-controls button:hover {
  color: white;
}
.scene-scroll-hint {
  display: none;
  gap: 5px;
  color: #b5a9b8;
  font-size: 0.75rem;
}
.is-scroll .scene-scroll-hint {
  display: flex;
}
.scene-scroll-hint .icon {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}
.scene-description {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
@media (min-width: 1001px) {
  .hero {
    grid-template-areas: 'copy scene' 'meta scene';
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
    align-content: center;
    gap: 0 clamp(32px, 4vw, 68px);
    padding-block: clamp(30px, 6vh, 74px);
  }
  .hero-copy {
    grid-area: copy;
    align-self: end;
  }
  .hero-meta {
    grid-area: meta;
    align-self: start;
  }
  .hero-scene {
    grid-area: scene;
  }
}
@media (max-width: 1000px) {
  .hero-meta > .fine {
    margin-top: 0;
  }
  .hero-scene {
    max-width: 650px;
  }
  .scene-controls button {
    min-height: 44px;
  }
}
@media (max-width: 760px) {
  .hero {
    padding-block: 26px 36px;
    gap: 22px;
  }
  .hero .eyebrow {
    margin-bottom: 12px;
  }
  .hero h1 {
    margin-bottom: 16px;
  }
  .hero .lead {
    font-size: 1rem;
    line-height: 1.5;
  }
  .hero .actions {
    flex-flow: row nowrap;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
  }
  .hero .button {
    min-height: 46px;
    padding: 12px 16px;
  }
  .hero .button:first-child {
    white-space: nowrap;
  }
  .hero .button.secondary {
    min-width: 0;
    padding: 3px 0;
    border: 0;
    background: transparent;
    color: #dacbd7;
    font-size: 0.875rem;
    text-align: left;
  }
  .scene-panel {
    border-radius: 14px;
  }
  .scene-banner {
    min-height: 94px;
  }
  .scene-caption {
    row-gap: 0;
  }
  .scene-controls button {
    padding-inline: 9px;
  }
}
@media (max-width: 380px) {
  .scene-callbar {
    gap: 6px;
    padding-inline: 9px;
  }
  .scene-call-tools {
    gap: 4px;
  }
  .scene-caption {
    grid-template-columns: auto 1fr;
  }
  .scene-controls {
    justify-self: end;
  }
}
