@font-face {
  font-family: "Aeroport";
  src: url("/assets/fonts/aeroport-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

@font-face {
  font-family: "Aeroport";
  src: url("/assets/fonts/aeroport-light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: block;
}

@font-face {
  font-family: "Aeroport";
  src: url("/assets/fonts/aeroport-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: block;
}

@font-face {
  font-family: "Aeroport";
  src: url("/assets/fonts/aeroport-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: block;
}

:root {
  color-scheme: dark;
  --ink: #000000;
  --ink-soft: #0e0b14;
  --violet: #6c5ee0;
  --violet-bright: #9589f5;
  --violet-deep: #2a1851;
  --violet-shadow: #171026;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.58);
  --line: rgba(255, 255, 255, 0.14);
  --glass: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.045));
  --content: min(1304px, calc(100vw - 96px));
  --radius: 18px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --chat-panel-width: clamp(420px, 38vw, 520px);
  font-family: Aeroport, Inter, Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--white);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.event-page {
  overflow-x: hidden;
}

body.chat-open-mobile {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.content-width {
  width: var(--content);
  margin: 0 auto;
}

.section-black {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 79% 20%, rgba(131, 119, 241, 0.22), transparent 31%),
    radial-gradient(circle at 12% 74%, rgba(131, 119, 241, 0.1), transparent 28%),
    var(--ink);
}

.ambient {
  position: absolute;
  width: 55vw;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(3px);
  opacity: 0.58;
  background:
    radial-gradient(circle at 42% 46%, transparent 0 24%, rgba(149, 137, 245, 0.22) 25%, transparent 53%),
    radial-gradient(circle at 50% 50%, rgba(131, 119, 241, 0.22), transparent 66%);
  box-shadow:
    0 0 0 56px rgba(131, 119, 241, 0.035),
    0 0 0 112px rgba(131, 119, 241, 0.018);
}

.ambient-one {
  top: -29vw;
  right: -15vw;
}

.ambient-two {
  bottom: -33vw;
  left: -18vw;
}

.ambient-three {
  top: -8vw;
  right: -24vw;
}

.glass-panel {
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--shadow);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  border-radius: var(--radius);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--violet-bright);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.primary-button {
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(115deg, #5e50d6, #6c5ee0);
  box-shadow: 0 12px 34px rgba(131, 119, 241, 0.33), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.primary-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(131, 119, 241, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.primary-button:active:not(:disabled) {
  transform: translateY(0);
}

.primary-button:focus-visible,
.icon-button:focus-visible,
.receiver-button:focus-visible,
.attach-button:focus-visible,
.remove-attachment:focus-visible,
.topbar-link:focus-visible,
.footer-link:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(149, 137, 245, 0.75);
  outline-offset: 3px;
}

.primary-button:disabled,
.footer-link:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--white);
  background: rgba(0, 0, 0, 0.44);
  cursor: pointer;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

input {
  height: 60px;
  padding: 0 18px;
}

textarea {
  min-height: 48px;
  max-height: 268px;
  padding: 13px 16px;
  line-height: 1.45;
  overflow-y: hidden;
  resize: none;
}

textarea.is-overflowing {
  overflow-y: auto;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.form-error,
.module-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: #d9d4ff;
  font-size: 14px;
  line-height: 1.45;
}

.brand-lockup {
  display: grid;
  grid-template-columns: auto auto auto auto;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}

.brand-wordmark {
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.brand-subtitle {
  align-self: end;
  margin-bottom: 4px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.brand-divider {
  width: 1px;
  height: 25px;
  background: rgba(255, 255, 255, 0.58);
}

.brand-years {
  color: #e6e1ff;
  font-size: 15px;
  font-weight: 700;
}

/* Password screen */

.login-page {
  min-height: 100vh;
  overflow-x: hidden;
}

.login-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(131, 119, 241, 0.18), transparent 35%),
    #000;
}

.login-scene {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100vw - 80px));
  min-height: 720px;
}

.brand-lockup-login {
  position: absolute;
  top: 32px;
  left: 0;
}

.login-art {
  position: absolute;
  inset: 95px -80px auto auto;
  width: min(830px, 66vw);
  transform: rotate(-4deg);
  opacity: 0.96;
  filter: drop-shadow(0 50px 70px rgba(0, 0, 0, 0.8));
}

.login-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #000 0%, transparent 32% 72%, #000 100%);
  pointer-events: none;
}

.login-panel {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 50%;
  width: 430px;
  padding: 34px;
  transform: translateY(-42%);
}

.login-panel h1 {
  margin: 0 0 34px;
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: -0.055em;
}

.input-shell {
  position: relative;
}

.input-shell input {
  padding-right: 62px;
}

.reveal-button {
  position: absolute;
  right: 9px;
  top: 9px;
}

.login-button {
  position: relative;
  width: 100%;
  margin-top: 6px;
}

.button-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.is-loading .button-loader {
  display: inline-block;
  margin-left: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Event */

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 max(48px, calc((100vw - 1304px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.88);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-link {
  min-width: 76px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.hero {
  min-height: 929px;
  padding: 68px 0 84px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(330px, 0.85fr) minmax(460px, 1.4fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: 24px;
  min-height: 740px;
}

.hero-copy h1,
.section-copy h2 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero-copy h1 {
  font-size: clamp(72px, 7vw, 104px);
  line-height: 0.91;
}

.hero-etg {
  color: var(--violet);
}

.hero-kicker-etg {
  color: var(--violet);
}

.schedule-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  min-width: 284px;
  margin-top: 60px;
  padding: 19px 23px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(18px);
}

.schedule-label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.schedule-block strong {
  margin: 5px 0;
  color: var(--violet-bright);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.schedule-block span:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.hero-stage {
  position: relative;
  min-height: 630px;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 25% -16% 3% -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(131, 119, 241, 0.24), transparent 65%);
  filter: blur(28px);
}

.receiver-button {
  position: absolute;
  z-index: 2;
  top: 143px;
  left: 50%;
  width: min(650px, 52vw);
  aspect-ratio: 1.435;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 32px;
  background: transparent;
  transform: translateX(-50%);
  cursor: pointer;
  transition: transform 180ms ease;
}

.receiver-button:hover {
  transform: translateX(-50%) translateY(-3px);
}

.receiver-button:active {
  transform: translateX(-50%) translateY(0);
}

.receiver-button:not(.is-playing) {
  animation: none;
}

@keyframes receiver-pulse {
  50% { filter: drop-shadow(0 0 24px rgba(149, 137, 245, 0.38)); }
}

.radio-art {
  position: absolute;
  top: -21.12%;
  left: -33.2%;
  width: 164.44%;
  max-width: none;
  filter: drop-shadow(0 46px 52px rgba(0, 0, 0, 0.66));
  pointer-events: none;
  transition: opacity 220ms ease;
}

.radio-art.is-playing {
  top: -10.91%;
  left: -4.18%;
  width: 106.16%;
}

.player-card {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 92%;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  transform: translateX(-50%);
}

.player-separator {
  color: rgba(255, 255, 255, 0.36);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f6bb51;
  box-shadow: 0 0 0 5px rgba(246, 187, 81, 0.1);
}

.status-dot.online,
.status-dot.is-playing {
  background: #8cf7bd;
  box-shadow: 0 0 0 5px rgba(140, 247, 189, 0.1);
}

.status-dot.is-error {
  background: #ff8f98;
  box-shadow: 0 0 0 5px rgba(255, 143, 152, 0.1);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.join-card {
  padding: 24px;
}

.join-card.is-attention {
  animation: join-attention 760ms ease-out;
}

@keyframes join-attention {
  45% {
    border-color: rgba(149, 137, 245, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 0 8px rgba(131, 119, 241, 0.11), var(--shadow);
  }
}

.join-card h2 {
  margin: 0 0 19px;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.join-card .primary-button {
  width: 100%;
  margin-top: 14px;
}

#chat-name::placeholder {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11.5px;
  letter-spacing: -0.01em;
  opacity: 1;
}

#chat-name {
  padding-inline: 12px;
}

.studio-button {
  width: 100%;
}

.studio-note {
  margin: -7px 8px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

/* Bingo */

.bingo-section {
  position: relative;
  min-height: 1040px;
  overflow: hidden;
  padding: 92px 0;
  background:
    radial-gradient(circle at 86% 34%, rgba(149, 137, 245, 0.3), transparent 28%),
    linear-gradient(155deg, #2a1851, #21133f 55%, #120b24);
}

.bingo-backdrop {
  position: absolute;
  inset: auto -16vw -30vw auto;
  width: 88vw;
  aspect-ratio: 1;
  opacity: 0.34;
  background: url("/assets/pixel-globe.webp") center / contain no-repeat;
  filter: saturate(125%);
}

.bingo-grid-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(410px, 0.85fr) minmax(520px, 1.15fr);
  align-items: center;
  gap: 72px;
}

.section-copy h2 {
  font-size: clamp(76px, 8vw, 112px);
  font-family: "Aeroport", sans-serif;
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
}

.section-copy > .primary-button {
  margin-top: 36px;
}

.how-to-card {
  max-width: 560px;
  margin-top: 38px;
  padding: 24px;
}

.how-to-card h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.how-to-card ol {
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.how-to-card li + li {
  margin-top: 8px;
}

.how-to-card p {
  margin: 17px 0 0;
  color: #dcd7ff;
  font-weight: 700;
}

.bingo-card-wrap {
  display: grid;
  place-items: center;
  min-height: 690px;
}

.bingo-card-placeholder,
.bingo-card {
  width: min(650px, 100%);
  aspect-ratio: 1;
}

.bingo-card-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border-radius: 42px;
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 50% 45%, rgba(149, 137, 245, 0.32), transparent 55%),
    var(--glass);
}

.bingo-card-placeholder span {
  color: var(--violet-bright);
  font-size: 74px;
  font-weight: 300;
  letter-spacing: -0.08em;
}

.bingo-card-placeholder strong {
  font-size: 18px;
}

.bingo-card {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 84px repeat(5, 1fr) 70px;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.16), transparent 26%),
    linear-gradient(145deg, #171022, #5f52c6 130%);
  box-shadow: 0 45px 100px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.bingo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background: url("/assets/pixel-globe.webp") center / 125% no-repeat;
  pointer-events: none;
}

.bingo-card-header {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.bingo-card-header strong {
  font-size: 28px;
  letter-spacing: -0.04em;
}

.bingo-card-header span {
  color: #dcd7ff;
  font-size: 14px;
  font-weight: 700;
}

.bingo-cell {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(131, 119, 241, 0.32);
  font-size: clamp(8px, 0.78vw, 11px);
  line-height: 1.2;
  text-align: center;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.bingo-download {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  align-self: center;
  justify-self: center;
  min-height: 42px;
  padding: 0 22px;
}

.bingo-song-list {
  display: none;
}

/* Lucky ticket */

.ticket-section {
  min-height: 900px;
  padding: 96px 0 116px;
}

.ticket-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 50px;
}

.ticket-section .section-copy h2 {
  font-family: "Aeroport", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.ticket-form {
  max-width: 430px;
  margin-top: 38px;
}

.ticket-form label {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

.ticket-form .primary-button {
  width: 100%;
  margin-top: 14px;
}

.winner-note {
  max-width: 430px;
  margin-top: 26px;
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.ticket-result {
  position: relative;
  min-height: 610px;
}

.ticket-result::before {
  content: "";
  position: absolute;
  inset: 13% 0 7%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(131, 119, 241, 0.24), transparent 66%);
  filter: blur(25px);
}

.ticket-result img {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(760px, 60vw);
  transform: translate(-50%, -50%) rotate(-3deg);
  filter: grayscale(0.4) brightness(0.64) contrast(1.08) drop-shadow(0 40px 44px rgba(0, 0, 0, 0.7));
}

.ticket-number-wrap {
  position: absolute;
  z-index: 2;
  top: 49%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%) rotate(-3deg);
  color: white;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
}

.ticket-number-wrap span {
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ticket-number-wrap strong {
  font-size: clamp(80px, 10vw, 142px);
  font-family: "Aeroport", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.ticket-result.has-number .ticket-number-wrap {
  animation: ticket-reveal 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes ticket-reveal {
  from { opacity: 0; transform: translate(-50%, -42%) rotate(-3deg) scale(0.82); }
}

/* Footer */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  padding: 22px max(48px, calc((100vw - 1304px) / 2));
  background: var(--violet);
}

.footer-brand {
  grid-template-columns: auto auto;
}

.footer-event-name {
  font-size: 24px;
  letter-spacing: -0.035em;
}

.footer-link {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.72);
}

/* Chat */

.chat-drawer {
  position: fixed;
  z-index: 80;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.chat-drawer.is-open {
  visibility: visible;
  opacity: 1;
}

.chat-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(8px);
  pointer-events: auto;
}

.chat-panel {
  position: absolute;
  top: auto;
  right: max(3vw, 28px);
  bottom: 24px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: var(--chat-panel-width);
  height: min(760px, calc(100svh - 112px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(13, 10, 20, 0.94);
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.66);
  transform: translateX(40px);
  pointer-events: auto;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.is-open .chat-panel {
  transform: translateX(0);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px 18px 14px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(131, 119, 241, 0.12);
}

.chat-header > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
}

.chat-connection-status {
  color: var(--muted);
  font-size: 12px;
}

.chat-messages {
  min-height: 0;
  overflow: auto;
  overscroll-behavior-y: contain;
  padding: 24px;
}

.chat-empty {
  display: grid;
  min-height: 100%;
  margin: 0;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.message {
  position: relative;
  max-width: 82%;
  margin: 0 0 16px;
  padding: 14px 16px 12px;
  border: 1px solid var(--line);
  border-radius: 18px 18px 18px 5px;
  background: rgba(255, 255, 255, 0.08);
}

.message.own {
  margin-left: auto;
  border-radius: 18px 18px 5px 18px;
  background: rgba(131, 119, 241, 0.32);
}

.message-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 5px;
}

.message-meta strong {
  color: #c8c0ff;
  font-size: 13px;
}

.message-meta time {
  color: var(--muted);
  font-size: 11px;
}

.message p {
  margin: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.message-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 360px;
  margin: 10px auto 0;
  border-radius: 0;
  object-fit: contain;
}

.like-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 62px;
  min-height: 36px;
  margin-top: 10px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #ded9ff;
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.like-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  overflow: visible;
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 160ms ease, stroke 160ms ease;
}

.like-count {
  min-width: 1ch;
  text-align: center;
}

.like-button.is-liked {
  color: white;
  background: rgba(131, 119, 241, 0.6);
}

.like-button.is-liked .like-icon {
  fill: currentColor;
}

.chat-composer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.74);
}

.chat-attachment-preview {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.chat-attachment-preview[hidden] {
  display: none;
}

.chat-attachment-preview img {
  width: 52px;
  height: 52px;
  border-radius: 0;
  object-fit: contain;
}

.chat-attachment-preview > div {
  min-width: 0;
}

.chat-attachment-preview strong,
.chat-attachment-preview span {
  display: block;
}

.chat-attachment-preview strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-attachment-preview span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.remove-attachment {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.attach-button,
.send-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.send-button {
  border: 0;
  background: var(--violet);
  font-size: 25px;
}

.send-button:disabled,
.like-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.chat-send-status {
  grid-column: 1 / -1;
  min-height: 16px;
  margin: -2px 4px 0;
  color: #d9d4ff;
  font-size: 12px;
}

@media (min-width: 1024px) {
  .content-width,
  .topbar {
    transition: width 240ms cubic-bezier(0.16, 1, 0.3, 1),
      margin 240ms cubic-bezier(0.16, 1, 0.3, 1),
      padding 240ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  body.chat-open-desktop .content-width {
    width: min(1304px, calc(100vw - var(--chat-panel-width) - max(6vw, 64px)));
    margin-right: auto;
    margin-left: max(28px, calc((100vw - var(--chat-panel-width) - 1360px) / 2));
  }

  body.chat-open-desktop .topbar {
    padding-right: calc(var(--chat-panel-width) + max(6vw, 64px));
  }

  body.chat-open-desktop .hero-grid {
    grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1.15fr);
  }

  body.chat-open-desktop .hero-copy h1 {
    font-size: clamp(54px, 4.6vw, 68px);
  }

  body.chat-open-desktop .hero-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  body.chat-open-desktop .receiver-button {
    width: min(500px, calc(100% - 8px));
  }

  body.chat-open-desktop .hero-stage {
    min-height: 540px;
  }

  body.chat-open-desktop .bingo-grid-layout,
  body.chat-open-desktop .ticket-layout {
    gap: 34px;
  }

  .chat-backdrop {
    display: none;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  body.chat-open-desktop .hero-grid,
  body.chat-open-desktop .bingo-grid-layout,
  body.chat-open-desktop .ticket-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body.chat-open-desktop .hero-actions {
    grid-column: auto;
    display: flex;
  }
}

@media (max-width: 1100px) {
  :root { --content: min(940px, calc(100vw - 56px)); }

  .hero-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .hero-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .studio-note {
    grid-column: 2;
  }

  .bingo-grid-layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 38px;
  }

  .ticket-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --content: calc(100vw - 48px);
    --radius: 16px;
  }

  .brand-wordmark { font-size: 20px; }
  .brand-subtitle { font-size: 6px; }
  .brand-years { font-size: 12px; }
  .brand-divider { height: 20px; }

  .login-scene {
    width: 100%;
    min-height: 100svh;
    padding: 24px;
  }

  .brand-lockup-login {
    top: 24px;
    left: 24px;
  }

  .login-art {
    top: 78px;
    right: -230px;
    width: 690px;
    opacity: 0.62;
  }

  .login-panel {
    top: auto;
    right: 24px;
    bottom: 32px;
    left: 24px;
    width: auto;
    padding: 24px;
    transform: none;
  }

  .login-panel h1 {
    margin-bottom: 26px;
    font-size: clamp(46px, 14vw, 62px);
  }

  .topbar {
    height: 60px;
    padding: 0 20px;
  }

  .topbar .brand-subtitle,
  .topbar .brand-years,
  .topbar .brand-divider {
    display: none;
  }

  .topbar-link {
    min-width: auto;
    height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    min-height: 0;
    padding: 48px 0 64px;
  }

  .hero-grid,
  .bingo-grid-layout,
  .ticket-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
  }

  .hero-copy,
  .hero-actions,
  .bingo-grid-layout > .section-copy {
    display: contents;
  }

  .hero-copy > .eyebrow {
    order: 1;
    margin: 0;
    color: var(--white);
    font-size: clamp(42px, 12.8vw, 50px);
    font-weight: 400;
    letter-spacing: -0.055em;
    line-height: 1;
    text-transform: none;
  }

  .hero-stage { order: 2; }
  .schedule-block { order: 3; }
  .hero-copy h1 { order: 4; }
  .join-card { order: 5; }
  .studio-button { order: 2; z-index: 4; align-self: end; width: min(160px, 52%); }
  .studio-note { order: 3; }

  .hero-copy h1 {
    font-size: clamp(40px, 12.2vw, 52px);
    line-height: 0.92;
  }

  .schedule-block {
    min-width: 0;
    width: 100%;
    margin-top: 30px;
    padding: 16px 18px;
  }

  .schedule-block strong {
    font-size: 24px;
  }

  .hero-stage {
    min-height: 420px;
  }

  .receiver-button {
    top: 72px;
    width: min(490px, 140vw);
  }

  .player-card {
    bottom: 4px;
  }

  .join-card h2 {
    font-size: 25px;
  }

  .bingo-section,
  .ticket-section {
    min-height: 0;
    padding: 64px 0 72px;
  }

  .section-copy h2 {
    font-size: clamp(52px, 16vw, 72px);
    line-height: 0.9;
  }

  .bingo-grid-layout > .section-copy > .eyebrow { display: none; }
  .bingo-grid-layout > .section-copy > h2 { order: 1; }
  .bingo-grid-layout > .section-copy > .primary-button { order: 2; justify-self: start; margin-top: 0; }
  .bingo-grid-layout > .section-copy > .module-status { order: 3; margin: -24px 0 0; }
  .bingo-grid-layout > .bingo-card-wrap { order: 4; }
  .bingo-grid-layout > .section-copy > .how-to-card { order: 5; margin-top: 0; }

  .bingo-backdrop {
    inset: 15% -64vw auto auto;
    width: 190vw;
  }

  .bingo-card-wrap {
    min-height: 0;
  }

  .bingo-card-placeholder,
  .bingo-card {
    width: 100%;
  }

  .bingo-card {
    min-height: 456px;
    aspect-ratio: auto;
    grid-template-rows: 54px repeat(5, minmax(58px, 1fr)) 52px;
    gap: 5px;
    padding: 10px;
    border-radius: 24px;
  }

  .bingo-card-header strong {
    font-size: 20px;
  }

  .bingo-cell {
    padding: 3px;
    border-radius: 8px;
    font-size: clamp(8px, 1.8vw, 9px);
    line-height: 1.15;
  }

  .ticket-result {
    min-height: 310px;
    order: -1;
  }

  .ticket-result img {
    width: 620px;
    max-width: none;
  }

  .ticket-number-wrap strong {
    font-size: 82px;
  }

  .footer {
    min-height: 76px;
    padding: 16px 24px;
  }

  .footer-brand .brand-subtitle {
    display: none;
  }

  .footer-event-name { display: none; }

  .chat-panel {
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .chat-header {
    padding-top: calc(14px + env(safe-area-inset-top));
  }

  .chat-composer {
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }

  .bingo-song-list {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    background: rgba(18, 11, 32, 0.78);
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    line-height: 1.45;
  }

  .bingo-song-list summary {
    min-height: 44px;
    padding: 11px 2px;
    cursor: pointer;
    font-weight: 700;
  }

  .bingo-song-list ol {
    columns: 2;
    column-gap: 30px;
    margin: 10px 0 2px;
    padding-left: 24px;
  }

  .bingo-song-list li {
    break-inside: avoid;
    margin-bottom: 7px;
  }

  .message {
    max-width: 92%;
  }
}

@media (max-width: 360px) {
  :root { --content: calc(100vw - 32px); }

  .brand-lockup { gap: 7px; }
  .topbar { padding: 0 14px; }
  .topbar-actions { gap: 6px; }
  .topbar-link { padding: 0 11px; }
  .login-scene { padding: 16px; }
  .brand-lockup-login { left: 16px; }
  .login-panel { right: 16px; bottom: 20px; left: 16px; padding: 20px; }
  .login-panel h1 { font-size: 45px; }
  .input-shell input { font-size: 12px; }
  .player-card {
    max-width: calc(100% - 16px);
    padding-inline: 11px;
    font-size: 11px;
  }
  .join-card { padding: 20px; }
  .how-to-card { padding: 20px; }
  .ticket-number-wrap strong { font-size: 72px; }
  .footer { padding-inline: 16px; }
  .footer-link { padding-inline: 14px; }
  .chat-composer {
    gap: 6px;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  }
  .chat-composer textarea {
    padding-inline: 12px;
    font-size: 15px;
  }
  .attach-button,
  .send-button {
    width: 44px;
    height: 44px;
  }
}

/* Current Figma implementation and tested interaction states */

.brand-lockup {
  display: block;
}

.brand-logo {
  width: 254px;
  height: auto;
}

.login-shell {
  background: #000 url("/assets/background-hero.jpg") center / cover no-repeat;
}

.login-shell > .ambient {
  display: none;
}

.login-scene {
  width: min(1180px, calc(100vw - 64px));
  min-height: min(900px, 100svh);
}

.login-title {
  position: absolute;
  z-index: 4;
  top: 11%;
  left: 4%;
  max-width: 650px;
  margin: 0;
  font-size: clamp(58px, 6.1vw, 92px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.login-title span,
.is-pre-event #hero-title span {
  color: var(--violet-bright);
}

.login-panel {
  top: 49%;
  left: 50%;
  width: min(430px, calc(100vw - 48px));
  padding: 28px;
  transform: translate(-50%, -50%);
  background: linear-gradient(145deg, rgba(45, 42, 54, 0.96), rgba(27, 24, 34, 0.94));
}

.login-panel .input-shell input {
  min-height: 66px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.9);
}

.login-button {
  min-height: 58px;
  margin-top: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.login-art {
  inset: 0;
  width: auto;
  transform: none;
  opacity: 1;
  filter: none;
  pointer-events: none;
}

.login-art::after {
  display: none;
}

.login-art > img {
  position: absolute;
  max-width: none;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.6));
}

.login-keycaps {
  top: 30%;
  right: -2%;
  width: 330px;
  transform: rotate(12deg);
}

.login-stone {
  bottom: 7%;
  left: -2%;
  width: 330px;
  transform: rotate(-11deg);
}

.login-globe {
  right: -1%;
  bottom: 2%;
  width: 360px;
}

.login-cupcake {
  bottom: -22%;
  left: 50%;
  width: 430px;
  transform: translateX(-50%);
}

.login-candles {
  z-index: 2;
  bottom: 4%;
  left: 50%;
  width: 220px;
  transform: translateX(-50%);
}

.hero {
  background: #000 url("/assets/background-hero.jpg") center / cover no-repeat;
  padding: 56px 0 52px;
}

.hero-copy h1,
.hero-copy > .eyebrow {
  font-weight: 700;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero-copy > .eyebrow {
  color: var(--white);
}

.hero-copy > #hero-kicker {
  display: none;
}

.schedule-block {
  position: absolute;
  z-index: 4;
  top: 0;
  left: clamp(720px, 52vw, 830px);
  width: max-content;
  min-width: 0;
  padding: 13px 18px 16px;
}

.schedule-block .schedule-label {
  align-self: stretch;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
}

.schedule-block strong {
  margin: 7px 0 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

.hero-grid {
  display: block;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(665px, 54%);
  padding-top: 18px;
}

.hero-stage {
  position: absolute;
  z-index: 2;
  top: 132px;
  right: 0;
  width: min(660px, calc(100% - 340px));
  min-height: 0;
}

.hero-stage::before {
  inset: 8% -4% -2%;
}

.receiver-button,
body.chat-open-desktop .receiver-button {
  top: 0;
  width: min(700px, 100%);
  aspect-ratio: 1024 / 824;
}

.radio-art {
  inset: 0;
  width: 100%;
  max-width: 100%;
  filter: drop-shadow(0 38px 42px rgba(0, 0, 0, 0.58));
}

.receiver-screen {
  position: absolute;
  z-index: 2;
  top: 51.66%;
  left: 70.24%;
  display: grid;
  place-items: center;
  width: 19%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #110a16;
  box-shadow: inset 0 0 20px rgba(131, 119, 241, 0.2);
  pointer-events: none;
}

.receiver-button:disabled {
  cursor: default;
}

.receiver-button:disabled:hover,
.receiver-button:disabled:active {
  transform: translateX(-50%);
}

.receiver-icon {
  width: 42%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 8px rgba(184, 167, 255, 0.95));
}

.receiver-symbol {
  fill: #c1b2ff;
  transition: opacity 140ms ease;
}

.receiver-play-symbol {
  opacity: 1;
}

.receiver-pause-symbol {
  opacity: 0;
}

.receiver-button.is-playing .receiver-play-symbol {
  opacity: 0;
}

.receiver-button.is-playing .receiver-pause-symbol {
  opacity: 1;
}

.receiver-button.is-loading .receiver-screen {
  animation: receiver-loading 900ms ease-in-out infinite alternate;
}

.receiver-button:not(.is-playing):not(.is-loading) .receiver-screen {
  animation: receiver-hint 2.3s ease-in-out infinite;
}

@keyframes receiver-loading {
  to { box-shadow: inset 0 0 28px rgba(149, 137, 245, 0.42), 0 0 24px rgba(149, 137, 245, 0.28); }
}

@keyframes receiver-hint {
  50% { box-shadow: inset 0 0 28px rgba(149, 137, 245, 0.38), 0 0 22px rgba(149, 137, 245, 0.32); }
}

.player-card {
  top: 450px;
  bottom: auto;
}

@media (min-width: 761px) {
  .hero {
    min-height: max(calc(100svh - 76px), 820px);
  }

  .hero-grid {
    min-height: 712px;
  }

  .hero-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
  }

  .receiver-button,
  body.chat-open-desktop .receiver-button {
    position: relative;
    top: auto;
    left: auto;
    flex: 0 0 auto;
    transform: none;
  }

  .receiver-button:hover {
    transform: translateY(-3px);
  }

  .receiver-button:active,
  .receiver-button:disabled:hover,
  .receiver-button:disabled:active {
    transform: none;
  }

  .player-card {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    flex: 0 0 auto;
    margin-top: 16px;
    transform: none;
  }
}

@media (min-width: 761px) and (max-width: 1199px) {
  .hero-grid {
    min-height: 662px;
  }

  .schedule-block {
    top: -46px;
    left: clamp(556px, 54vw, 610px);
    padding: 12px 18px 15px;
  }

  .schedule-block .schedule-label {
    font-size: 14px;
  }

  .schedule-block strong {
    font-size: 28px;
  }

  .hero-stage {
    top: 92px;
    width: min(560px, calc(100% - 300px));
  }

  .receiver-button,
  body.chat-open-desktop .receiver-button {
    width: min(560px, 100%);
  }

  .player-card {
    margin-top: 12px;
  }

}

.hero-actions {
  display: contents;
}

.join-card {
  position: absolute;
  z-index: 5;
  top: 535px;
  left: 0;
  width: 298px;
  padding: 22px;
}

@media (min-width: 761px) and (max-width: 1199px) {
  .join-card {
    top: 384px;
  }
}

.join-card[hidden] {
  display: none;
}

.join-card h2 {
  margin-bottom: 14px;
  font-size: 27px;
}

.join-card .primary-button {
  min-height: 48px;
  margin-top: 12px;
}

#chat-name {
  height: 54px;
}

.studio-button {
  position: absolute;
  z-index: 6;
  top: 0;
  right: 0;
  width: 324px;
}

.studio-note {
  position: absolute;
  z-index: 6;
  top: 64px;
  right: 0;
  width: 324px;
}

.bingo-section {
  min-height: 1114px;
  padding: 40px 0 72px;
  background: #30205d url("/assets/background-bingo.jpg") center / cover no-repeat;
}

.bingo-backdrop {
  display: none;
}

.bingo-grid-layout,
body.chat-open-desktop .bingo-grid-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  width: min(1069px, var(--content));
}

.bingo-grid-layout > .section-copy {
  display: contents;
}

.bingo-grid-layout > .section-copy > .eyebrow {
  display: none;
}

.bingo-grid-layout > .section-copy > h2 {
  order: 1;
  justify-self: center;
  text-align: center;
}

.bingo-grid-layout > .section-copy > .primary-button {
  order: 2;
  justify-self: center;
  margin-top: -4px;
}

.bingo-grid-layout > .section-copy > .module-status {
  order: 3;
  margin: -8px 0 0;
  text-align: center;
}

.bingo-card-wrap {
  order: 4;
  min-height: 0;
  margin-top: 8px;
}

.bingo-card-placeholder,
.bingo-card {
  width: min(597px, 100%);
}

.bingo-card-data {
  display: none;
}

.bingo-card.bingo-image-card {
  display: block;
  aspect-ratio: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.bingo-card.bingo-image-card::before {
  display: none;
}

.bingo-save-image {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  object-fit: contain;
  -webkit-touch-callout: default;
  user-select: none;
}

.bingo-image-card figcaption {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.bingo-card-wrap > .bingo-download {
  margin-top: 14px;
}

.how-to-card {
  order: 5;
  justify-self: center;
  width: min(597px, 100%);
  max-width: none;
  margin-top: 8px;
}

.ticket-section {
  min-height: 820px;
  padding: 92px 0 76px;
  background: #000 url("/assets/background-randomizer.jpg") center / cover no-repeat;
}

.ticket-layout,
body.chat-open-desktop .ticket-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  justify-items: center;
}

.ticket-layout > .section-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.ticket-section .section-copy h2 {
  letter-spacing: 0;
}

.ticket-section .section-copy h2 span {
  display: block;
}

.ticket-layout > .section-copy > .eyebrow {
  display: none;
}

.ticket-layout .ticket-form,
.ticket-layout .winner-note {
  width: min(429px, 100%);
}

.ticket-form {
  margin-top: 38px;
  text-align: left;
}

.winner-note {
  text-align: left;
}

.ticket-result {
  width: min(708px, 100%);
  min-height: 0;
}

.ticket-result[hidden] {
  display: none;
}

.ticket-paper {
  position: relative;
  display: grid;
  grid-template-columns: 26% 1fr 18%;
  align-items: center;
  width: 100%;
  aspect-ratio: 708 / 301;
  overflow: hidden;
  border-radius: 28px;
  color: #6f5bd0;
  background: #f7f5ff;
  box-shadow: 0 34px 85px rgba(0, 0, 0, 0.48), inset 0 0 0 1px rgba(111, 91, 208, 0.12);
}

.ticket-paper::before,
.ticket-paper::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 38px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #0b0810;
  transform: translateY(-50%);
}

.ticket-paper::before { left: -19px; }
.ticket-paper::after { right: -19px; }

.ticket-mark {
  display: grid;
  place-items: center;
  width: 94px;
  aspect-ratio: 1;
  justify-self: center;
  border-radius: 50%;
  background: #8170dd;
}

.ticket-mark img {
  position: static;
  width: 56%;
  max-width: 56%;
  transform: none;
  filter: brightness(0) invert(1);
}

.ticket-number-wrap {
  position: static;
  transform: none;
  color: #6f5bd0;
  text-shadow: none;
}

.ticket-number-wrap span {
  font-size: 13px;
}

.ticket-number-wrap strong {
  font-size: clamp(78px, 8vw, 116px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.9;
}

.ticket-barcode {
  width: 66px;
  height: 126px;
  justify-self: center;
  background: repeating-linear-gradient(90deg, #6f5bd0 0 2px, transparent 2px 5px, #6f5bd0 5px 6px, transparent 6px 9px);
}

.ticket-return-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-align: center;
}

.ticket-result.has-number .ticket-paper {
  animation: ticket-reveal 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes ticket-reveal {
  from { opacity: 0; transform: translateY(28px) scale(0.94); }
}

.attach-button img {
  width: 22px;
  height: 22px;
  filter: invert(1);
}

.send-button img {
  width: 100%;
  height: 100%;
}

.is-pre-event #chat-trigger,
.is-pre-event .join-card,
.is-pre-event .bingo-section,
.is-pre-event .ticket-section {
  display: none;
}

.is-pre-event .hero {
  min-height: max(calc(100svh - 76px), 1152px);
}

.is-event-live .schedule-block {
  display: none;
}

.is-pre-event #hero-title {
  font-size: clamp(64px, 7.3vw, 108px);
}

.is-pre-event .receiver-screen {
  opacity: 0.72;
  filter: grayscale(0.35);
}

.is-pre-event .receiver-screen,
.is-pre-event .receiver-button:not(.is-playing):not(.is-loading) .receiver-screen {
  animation: none;
}

@media (min-width: 1024px) {
  body.chat-open-desktop .content-width {
    width: min(836px, calc(100vw - var(--chat-panel-width) - 88px));
    margin-right: auto;
    margin-left: 28px;
  }

  body.chat-open-desktop .hero-grid {
    display: block;
  }

  body.chat-open-desktop .hero-copy {
    width: min(620px, 74%);
  }

  body.chat-open-desktop .hero-stage {
    right: 0;
    width: min(620px, calc(100% - 220px));
  }

  body.chat-open-desktop .hero-actions {
    display: contents;
  }

  body.chat-open-desktop .bingo-card-placeholder,
  body.chat-open-desktop .bingo-card,
  body.chat-open-desktop .how-to-card {
    width: min(597px, 100%);
  }
}

@media (max-width: 760px) {
  .brand-logo {
    width: min(178px, 48vw);
  }

  .login-shell {
    min-height: 100svh;
    background-image: url("/assets/background-hero-mobile.jpg");
    background-position: center top;
  }

  .login-scene {
    width: 100%;
    min-height: max(100svh, 700px);
    padding: 0;
  }

  .brand-lockup-login {
    display: none;
  }

  .login-title {
    top: 7.5%;
    left: 24px;
    max-width: calc(100% - 48px);
    font-size: clamp(40px, 12vw, 52px);
    line-height: 0.93;
  }

  .login-panel {
    top: 36%;
    right: 24px;
    bottom: auto;
    left: 24px;
    width: auto;
    padding: 22px;
    transform: none;
  }

  .login-panel .input-shell input {
    min-height: 64px;
    padding-right: 58px;
  }

  .login-button {
    min-height: 56px;
    margin-top: 14px;
  }

  .login-art {
    inset: 0;
    width: auto;
  }

  .login-keycaps {
    top: 31%;
    right: -54px;
    width: 190px;
  }

  .login-stone {
    bottom: 25%;
    left: 8px;
    width: 185px;
  }

  .login-globe {
    right: -8px;
    bottom: 21%;
    width: 190px;
  }

  .login-cupcake {
    bottom: -44px;
    width: 260px;
  }

  .login-candles {
    bottom: 98px;
    width: 150px;
  }

  .hero {
    padding: 38px 0 62px;
    background-image: url("/assets/background-login-mobile.jpg");
    background-position: center top;
  }

  .hero-grid {
    display: flex;
    min-height: 0;
  }

  .hero-copy,
  .hero-actions {
    display: contents;
    width: auto;
  }

  .hero-stage {
    position: relative;
    top: auto;
    right: auto;
    order: 2;
    width: 100%;
    min-height: min(370px, 93vw);
  }

  .receiver-button,
  body.chat-open-desktop .receiver-button {
    top: 0;
    width: 100%;
  }

  .player-card {
    top: auto;
    bottom: 0;
    width: calc(100% - 32px);
    max-width: 360px;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .studio-button {
    position: static;
    order: 3;
    align-self: stretch;
    width: 100%;
    min-height: 48px;
  }

  .studio-note {
    position: static;
    order: 4;
    width: 100%;
    margin: -22px 0 0;
    text-align: center;
  }

  .schedule-block {
    position: static;
    order: 5;
    width: max-content;
    max-width: 88%;
    min-width: 0;
    align-self: center;
    margin-top: 0;
    padding: 15px 20px 18px;
  }

  .schedule-block .schedule-label {
    font-size: 15px;
  }

  .schedule-block strong {
    font-size: 28px;
  }

  .hero-copy > #hero-kicker {
    display: block;
  }

  .hero-copy > .eyebrow {
    font-size: clamp(38px, 11.5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.035em;
    text-transform: uppercase;
  }

  .hero-copy h1 {
    order: 6;
    font-size: clamp(42px, 12.5vw, 54px);
    font-weight: 700;
    letter-spacing: -0.04em;
    text-transform: uppercase;
  }

  .join-card {
    position: static;
    order: 7;
    width: 100%;
  }

  .bingo-section {
    padding-top: 54px;
    background-image: url("/assets/background-bingo-mobile.jpg");
  }

  .bingo-grid-layout,
  body.chat-open-desktop .bingo-grid-layout {
    width: var(--content);
  }

  .bingo-grid-layout > .section-copy > .primary-button {
    margin-top: 0;
    width: 100%;
  }

  .bingo-card.bingo-image-card,
  .bingo-card-wrap > .bingo-download {
    width: 100%;
  }

  .bingo-save-image,
  .bingo-song-list,
  .how-to-card {
    border-radius: 16px;
  }

  .bingo-image-card figcaption {
    font-size: 14px;
  }

  .ticket-section {
    padding: 54px 0 42px;
    background-image: url("/assets/background-randomizer-mobile.jpg");
  }

  .ticket-layout,
  body.chat-open-desktop .ticket-layout {
    gap: 24px;
  }

  .ticket-paper {
    grid-template-columns: 1fr;
    grid-template-rows: 30% 1fr 22%;
    width: min(238px, 76vw);
    aspect-ratio: 229 / 281;
    margin: 0 auto;
    border-radius: 24px;
  }

  .ticket-result {
    order: initial;
  }

  .ticket-mark {
    width: 62px;
  }

  .ticket-number-wrap strong {
    font-size: 72px;
  }

  .ticket-barcode {
    width: 112px;
    height: 45px;
  }

  .is-pre-event .hero {
    min-height: calc(100svh - 60px);
    padding-bottom: 42px;
  }

  .is-pre-event .hero-copy h1 {
    order: 1;
    font-size: clamp(43px, 13vw, 56px);
  }

  .is-pre-event .schedule-block {
    order: 2;
    align-self: flex-end;
  }

  .is-pre-event .studio-button {
    order: 3;
    align-self: flex-end;
  }

  .is-pre-event .studio-note {
    order: 4;
  }

  .is-pre-event .hero-stage {
    order: 5;
  }
}

@media (max-width: 360px), (max-height: 720px) and (max-width: 760px) {
  .login-title {
    top: 5%;
    font-size: 38px;
  }

  .login-panel {
    top: 32%;
    right: 16px;
    left: 16px;
    padding: 18px;
  }

  .login-stone {
    bottom: 22%;
    width: 160px;
  }

  .login-globe {
    bottom: 18%;
    width: 166px;
  }

  .login-cupcake {
    width: 220px;
  }

  .login-candles {
    bottom: 78px;
    width: 130px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.privacy-page {
  min-height: 100vh;
  margin: 0;
  color: #f7f5ff;
  background:
    radial-gradient(circle at 78% 12%, rgba(112, 83, 232, 0.3), transparent 34%),
    #050409;
}

.privacy-topbar {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 4, 9, 0.88);
  backdrop-filter: blur(18px);
}

.privacy-topbar .brand-logo {
  width: clamp(184px, 18vw, 250px);
}

.privacy-topbar .topbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  color: #fff;
  text-decoration: none;
}

.privacy-main {
  width: min(100% - 40px, 960px);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) 0 120px;
}

.privacy-document {
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid rgba(184, 166, 255, 0.26);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(34, 28, 62, 0.94), rgba(11, 9, 20, 0.96));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.privacy-document h1,
.privacy-document h2 {
  margin: 0;
  color: #fff;
  line-height: 1.04;
}

.privacy-document h1 {
  margin-bottom: 40px;
  font-size: clamp(42px, 7vw, 76px);
  letter-spacing: -0.045em;
}

.privacy-document h2 {
  margin-top: 44px;
  margin-bottom: 16px;
  font-size: clamp(25px, 3.2vw, 36px);
  letter-spacing: -0.025em;
}

.privacy-document p,
.privacy-document li {
  color: rgba(247, 245, 255, 0.84);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.7;
}

.privacy-document p {
  margin: 0 0 22px;
}

.privacy-document ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding-left: 24px;
}

@media (max-width: 600px) {
  .privacy-topbar {
    min-height: 68px;
    padding: 12px 16px;
  }

  .privacy-topbar .brand-logo {
    width: 150px;
  }

  .privacy-topbar .topbar-link {
    min-height: 42px;
    padding: 0 16px;
    font-size: 14px;
  }

  .privacy-main {
    width: min(100% - 24px, 960px);
    padding: 28px 0 72px;
  }

  .privacy-document {
    border-radius: 22px;
  }
}

@media (max-width: 760px) and (max-height: 520px) {
  .chat-header {
    min-height: 48px;
    padding: 4px 10px;
  }

  .chat-header h2 {
    font-size: 20px;
  }

  .chat-header .icon-button {
    width: 36px;
    height: 36px;
  }

  .chat-messages {
    min-height: 44px;
    padding: 8px 10px;
  }

  .chat-composer {
    max-height: calc(100dvh - 92px);
    gap: 6px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    overflow-y: auto;
  }

  .chat-composer textarea {
    max-height: min(96px, 30dvh);
    overflow-y: auto;
  }

  .chat-attachment-preview {
    grid-template-columns: 36px 1fr auto;
    gap: 6px;
    padding: 4px 6px;
  }

  .chat-attachment-preview img {
    width: 36px;
    height: 36px;
  }

  .chat-attachment-preview span {
    display: none;
  }

  .chat-send-status {
    min-height: 12px;
    font-size: 11px;
  }
}
