/* ==========================================================================
   HvWatch — Login v5 · "Depth of Field"
   A tilted wall of drifting posters shot through a tilt-shift lens:
   a sharp band of titles beside the screen, everything else melting into
   a deep cinematic blur. Ink-black · ivory light · amber focus.
   Contrast (on --ink-0): ivory 18.4:1 · ivory-2 12.1:1 · ivory-3 6.6:1
   amber 12.6:1 · coral 9.3:1 · ink on ivory button 16.8:1
   ========================================================================== */

@font-face {
  font-family: 'NotoArabic';
  src: url('/assets/noto-arabic.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --ink-0: #050507;
  --ivory: #f7f1e6;
  --ivory-2: #cdc5b8;
  --ivory-3: #9a9387;
  --ink-on-light: #1a140c;

  --amber: #ffc46b;
  --amber-ring: rgba(255, 196, 107, 0.2);
  --coral: #ff9e92;
  --coral-line: rgba(255, 140, 128, 0.55);
  --coral-ring: rgba(255, 140, 128, 0.2);

  --hair: rgba(255, 240, 215, 0.1);
  --hair-2: rgba(255, 240, 215, 0.17);
  --hair-3: rgba(255, 240, 215, 0.28);

  --light: 255, 238, 205;

  /* Poster wall geometry */
  --tile-w: clamp(112px, 10.5vw, 196px);
  --tile-h: calc(var(--tile-w) * 1.5);
  --tile-gap: clamp(12px, 1.2vw, 22px);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body.lg {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--ink-0);
  color: var(--ivory);
  font-family: 'NotoArabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* :where() keeps these resets at zero specificity so component styles win */
:where(.lg) svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:where(.lg) button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.lg-skip {
  position: fixed;
  z-index: 50;
  top: -100px;
  inset-inline-start: 16px;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--ivory);
  color: var(--ink-on-light);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.lg-skip:focus { top: 16px; outline: 2px solid var(--amber); outline-offset: 3px; }

/* ==========================================================================
   The poster wall
   ========================================================================== */
.hall {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--ink-0);
}

.mosaic {
  position: absolute;
  inset: 0;
  overflow: hidden;
  perspective: 1500px;
  perspective-origin: 50% 40%;
}

/* One giant sheet of posters, hung at an angle inside the hall */
.mosaic__plane {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  gap: var(--tile-gap);
  transform: translate(-50%, -50%) rotateX(24deg) rotateZ(-11deg);
}

.col {
  display: flex;
  flex-direction: column;
  flex: none;
  animation: col-up 130s linear infinite;
  will-change: transform;
}
.col:nth-child(even) { animation-name: col-down; }
/* Stagger columns so rows never line up */
.col:nth-child(3n+2) { margin-top: calc(var(--tile-h) * -0.45); }
.col:nth-child(3n)   { margin-top: calc(var(--tile-h) * -0.8); }

/* The column holds its 6-poster pattern three times → shifting by a third loops seamlessly */
@keyframes col-up   { from { transform: translateY(0); }         to { transform: translateY(-33.3333%); } }
@keyframes col-down { from { transform: translateY(-33.3333%); } to { transform: translateY(0); } }

.col img {
  display: block;
  width: var(--tile-w);
  height: var(--tile-h);
  margin-bottom: var(--tile-gap); /* margin, not gap, so a third of the height is exactly one pattern */
  object-fit: cover;
  border-radius: 14px;
  background: #16151b;
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.9);
  user-select: none;
  -webkit-user-drag: none;
}

/* Out-of-focus layer: the whole wall, deeply blurred */
.mosaic--soft {
  filter: blur(14px) saturate(1.2) brightness(0.62);
  transform: scale(1.06); /* hides the soft edge the blur creates at the viewport border */
  transition: filter 0.8s var(--ease);
}

/* In-focus layer: identical wall, revealed only in a horizontal band (tilt-shift) */
.mosaic--focus {
  filter: saturate(1.05) brightness(0.8);
  -webkit-mask-image: linear-gradient(180deg, transparent 22%, #000 42%, #000 58%, transparent 78%);
          mask-image: linear-gradient(180deg, transparent 22%, #000 42%, #000 58%, transparent 78%);
  transition: opacity 0.8s var(--ease);
}

/* Colour grade + vignette: darkens edges and the area behind the form */
.hall__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(42% 40% at 50% 0%, rgba(var(--light), 0.14), rgba(var(--light), 0) 70%),
    radial-gradient(34% 46% at 50% 52%, rgba(5, 5, 7, 0.6) 0%, rgba(5, 5, 7, 0) 100%),
    linear-gradient(180deg, rgba(5, 5, 7, 0.82) 0%, rgba(5, 5, 7, 0) 20%, rgba(5, 5, 7, 0) 74%, rgba(5, 5, 7, 0.92) 100%),
    radial-gradient(120% 95% at 50% 50%, rgba(5, 5, 7, 0) 52%, rgba(5, 5, 7, 0.88) 100%);
  transition: opacity 0.8s var(--ease);
}

/* Film grain — own layer, transform-only animation */
.hall__grain {
  position: absolute;
  inset: -50%;
  opacity: 0.055;
  will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -4%); }
  60%  { transform: translate(-4%, -1%); }
  80%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* Gentle fade-in once posters are placed */
.mosaic__plane { opacity: 0; transition: opacity 1.4s ease; }
.is-ready .mosaic__plane { opacity: 1; }

/* ==========================================================================
   Top bar
   ========================================================================== */
.lg-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 22px clamp(16px, 4vw, 44px);
}
.lg-logo { display: inline-flex; border-radius: 8px; }
.lg-logo:focus-visible { outline: 2px solid var(--amber); outline-offset: 6px; }
.lg-logo img {
  display: block;
  width: 136px;
  height: auto;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.8));
  user-select: none;
  -webkit-user-drag: none;
}

/* ==========================================================================
   Stage & screen
   ========================================================================== */
.stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 16px 64px;
}

.screen {
  position: relative;
  width: min(100%, 468px);
  padding: clamp(26px, 3.4vw, 38px) clamp(26px, 3.4vw, 40px);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg,
      rgba(var(--light), 0.1) 0%,
      rgba(var(--light), 0.035) 36%,
      rgba(var(--light), 0.012) 100%),
    rgba(11, 10, 14, 0.9);
  border: 1px solid var(--hair-2);
  box-shadow:
    inset 0 1px 0 rgba(var(--light), 0.38),
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 60px 120px -30px rgba(0, 0, 0, 0.95),
    0 -30px 90px -40px rgba(var(--light), 0.25);
  animation: project 1s var(--ease) both;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), filter 0.55s var(--ease);
}

@keyframes project {
  0%   { opacity: 0; filter: brightness(1.8); transform: translateY(10px); }
  35%  { opacity: 0.6; }
  45%  { opacity: 0.35; }
  100% { opacity: 1; filter: none; transform: none; }
}

.screen__light {
  position: absolute;
  top: -1px;
  inset-inline: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--light), 0.95), transparent);
}
.screen__light::after {
  content: '';
  position: absolute;
  inset: -40px 10% auto;
  height: 80px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(var(--light), 0.16), transparent 70%);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--amber);
  font-size: 13px;
  font-weight: 600;
}
.kicker::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
}

.title {
  margin: 12px 0 8px;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.28;
  letter-spacing: -0.3px;
}
.title__soft { display: block; font-weight: 300; color: var(--ivory-2); }
.title__bold {
  display: block;
  font-weight: 800;
  color: var(--ivory);
  text-shadow: 0 0 34px rgba(var(--light), 0.18);
}

.lead {
  margin: 0 0 24px;
  color: var(--ivory-2);
  font-size: 15.5px;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--coral-line);
  border-radius: 14px;
  background: rgba(255, 120, 110, 0.08);
  color: var(--coral);
  font-size: 14px;
  line-height: 1.6;
  animation: nudge 0.35s ease;
}
.notice svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
@keyframes nudge {
  30% { transform: translateX(-4px); }
  70% { transform: translateX(4px); }
}

/* ---------- Fields ---------- */
.form { display: flex; flex-direction: column; gap: 14px; margin: 0; }

.fld__box {
  position: relative;
  padding: 10px 16px 4px;
  border: 1px solid var(--hair-2);
  border-radius: var(--r-md);
  background: rgba(6, 6, 9, 0.7);
  cursor: text;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.fld__box:hover { border-color: var(--hair-3); }
.fld__box:focus-within {
  border-color: var(--amber);
  background: rgba(14, 13, 18, 0.92);
  box-shadow: 0 0 0 4px var(--amber-ring);
}

.fld__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.fld__label {
  display: block;
  color: var(--ivory-2);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  cursor: text;
  transition: color 0.2s ease;
}
.fld__box:focus-within .fld__label { color: var(--amber); }

.fld__row { display: flex; align-items: center; gap: 8px; }

.fld__row input {
  flex: 1;
  min-width: 0;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ivory);
  font: inherit;
  font-size: 17px;
  caret-color: var(--amber);
}
.fld__row input:placeholder-shown { direction: rtl; }
.fld__row input::placeholder { color: var(--ivory-3); opacity: 1; font-size: 15px; }
.fld__row input[type="password"]::placeholder { letter-spacing: 0.1em; }
.fld__row input:-webkit-autofill {
  -webkit-text-fill-color: var(--ivory);
  -webkit-box-shadow: 0 0 0 100px #0e0d12 inset;
  caret-color: var(--amber);
  transition: background-color 9999s;
}

.fld__icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--ivory-3);
  transition: color 0.2s ease;
}
.fld__box:focus-within .fld__icon { color: var(--amber); }

.fld__eye {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: -4px 0 0;
  margin-inline-end: -10px;
  padding: 0;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ivory-2);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.fld__eye:hover { background: rgba(255, 255, 255, 0.07); color: var(--ivory); }
.fld__eye:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; }
.fld__eye svg { width: 20px; height: 20px; }
.fld__eye .eye-off { display: none; }
.fld__eye[aria-pressed="true"] .eye-on { display: none; }
.fld__eye[aria-pressed="true"] .eye-off { display: block; }

.fld.is-invalid .fld__box { border-color: var(--coral-line); }
.fld.is-invalid .fld__box:focus-within { border-color: var(--coral); box-shadow: 0 0 0 4px var(--coral-ring); }
.fld.is-invalid .fld__label,
.fld.is-invalid .fld__icon { color: var(--coral); }

.fld__msg {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 8px 4px 0;
  font-size: 13px;
  line-height: 1.55;
}
.fld__msg svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.fld__msg--error { color: var(--coral); }
.fld__msg--warn  { color: var(--amber); }

/* ---------- Text links ---------- */
.tlink {
  padding: 2px;
  margin: -2px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--amber);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: rgba(255, 196, 107, 0.4);
  text-underline-offset: 5px;
  cursor: pointer;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.tlink:hover { color: var(--ivory); text-decoration-color: currentColor; }
.tlink:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.tlink--strong { font-size: inherit; }
.tlink.tlink--sm { font-size: 12.5px; text-underline-offset: 4px; }

/* ---------- Ticket button ---------- */
.ticket {
  position: relative;
  margin-top: 8px;
  border-radius: 18px;
  filter: drop-shadow(0 16px 30px rgba(255, 220, 160, 0.2));
  transition: transform 0.15s ease;
}
.ticket:has(.ticket__btn:focus-visible) { outline: 2px solid var(--amber); outline-offset: 4px; }
.ticket:active { transform: scale(0.99); }

.ticket__btn {
  --stub: 68px;
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 62px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffaf0 0%, #efe3cc 100%);
  color: var(--ink-on-light);
  cursor: pointer;
  -webkit-mask:
    radial-gradient(circle 9px at var(--stub) 0, transparent 94%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 9px at var(--stub) 100%, transparent 94%, #000) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle 9px at var(--stub) 0, transparent 94%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 9px at var(--stub) 100%, transparent 94%, #000) bottom / 100% 51% no-repeat;
  transition: background 0.2s ease;
}
.ticket__btn:hover { background: linear-gradient(180deg, #ffffff 0%, #f6ecd9 100%); }
.ticket__btn:disabled { cursor: progress; }

.ticket__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16.5px;
  font-weight: 700;
}
.ticket__arrow { width: 18px; height: 18px; stroke-width: 2.2; transition: transform 0.25s var(--ease); }
.ticket__btn:hover .ticket__arrow { transform: translateX(-4px); }

.ticket__stub {
  flex: none;
  display: grid;
  place-items: center;
  width: var(--stub);
  border-inline-start: 2px dashed rgba(26, 20, 12, 0.28);
  background: rgba(26, 20, 12, 0.05);
}
.ticket__stub > * { grid-area: 1 / 1; }
.ticket__play { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.ticket__ok { width: 22px; height: 22px; stroke-width: 2.4; display: none !important; }
.ticket__spin {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(26, 20, 12, 0.22);
  border-top-color: var(--ink-on-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

#login-form[aria-busy="true"] .ticket__play,
#login-form[aria-busy="true"] .ticket__arrow { display: none; }
#login-form[aria-busy="true"] .ticket__spin { display: block; }
.is-entering #login-form .ticket__spin { display: none; }
.is-entering #login-form .ticket__ok { display: block !important; }

.signup {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
  color: var(--ivory-2);
  font-size: 14.5px;
  text-align: center;
}
.signup[hidden] { display: none; }
.signup__text { margin: 0 0 12px; }

/* Single-line heading (no kicker / lead above or below it). */
.title--single { margin: 4px 0 22px; }

/* Discord ticket link: the URL stays hidden behind a quiet pill button. */
.discord-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid rgba(88, 101, 242, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(88, 101, 242, 0.07));
  color: var(--ivory);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 6px 22px rgba(0, 0, 0, 0.28);
  transition: border-color .2s, background .2s, transform .2s;
}
.discord-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.discord-link .discord-link__out { width: 14px; height: 14px; opacity: .6; }
.discord-link:hover { border-color: rgba(120, 132, 255, 0.75); background: linear-gradient(135deg, rgba(88, 101, 242, 0.32), rgba(88, 101, 242, 0.12)); transform: translateY(-1px); }
.discord-link:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .discord-link { transition: none; } .discord-link:hover { transform: none; } }

.lg-foot {
  position: absolute;
  inset-inline: 16px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  color: var(--ivory-3);
  font-size: 12px;
  text-shadow: 0 1px 8px #000;
}

/* ---------- Success: the wall snaps into focus ---------- */
.is-entering .mosaic--soft { filter: blur(0) saturate(1.15) brightness(0.85); }
.is-entering .mosaic--focus { opacity: 0; }
.is-entering .hall__shade { opacity: 0.55; }
.is-entering .screen { opacity: 0.2; transform: scale(0.985); filter: brightness(1.3); }

/* ==========================================================================
   Help sheets (dialogs)
   ========================================================================== */
.sheet {
  width: min(calc(100vw - 32px), 440px);
  max-height: calc(100dvh - 32px);
  padding: 30px;
  border: 1px solid var(--hair-2);
  border-radius: 24px;
  background: linear-gradient(180deg, #19161d 0%, #0d0c11 100%);
  color: var(--ivory);
  font-family: inherit;
  box-shadow: inset 0 1px 0 rgba(var(--light), 0.3), 0 40px 100px -30px rgba(0, 0, 0, 0.95);
  overflow: auto;
}
.sheet[open] { animation: sheet-in 0.32s var(--ease) both; }
.sheet::backdrop {
  background: rgba(3, 3, 5, 0.74);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
@keyframes sheet-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.sheet__light {
  position: absolute;
  top: 0;
  inset-inline: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--light), 0.9), transparent);
}
.sheet h2 { margin: 10px 0 8px; font-size: 24px; font-weight: 800; line-height: 1.35; }
.sheet__lead { margin: 0 0 22px; color: var(--ivory-2); font-size: 15px; }

.steps {
  display: grid;
  gap: 14px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  counter-reset: s;
}
.steps li {
  counter-increment: s;
  position: relative;
  min-height: 28px;
  padding-inline-start: 40px;
  color: var(--ivory);
  font-size: 14.5px;
  line-height: 1.7;
}
.steps li::before {
  content: counter(s, arabic-indic);
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 196, 107, 0.45);
  border-radius: 50%;
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
}
.sheet form { margin: 0; }
.sheet__btn {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffaf0 0%, #efe3cc 100%);
  color: var(--ink-on-light);
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
}
.sheet__btn:hover { background: linear-gradient(180deg, #ffffff 0%, #f6ecd9 100%); }
.sheet__btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  /* Phones/tablets: a single blurred layer (cheaper), slightly brighter so posters read */
  .mosaic--focus { display: none; }
  .mosaic--soft { filter: blur(7px) saturate(1.3) brightness(0.78); }
  .mosaic__plane { transform: translate(-50%, -50%) rotateX(20deg) rotateZ(-9deg); }
  .hall__shade {
    background:
      linear-gradient(180deg, rgba(5, 5, 7, 0.55) 0%, rgba(5, 5, 7, 0) 18%, rgba(5, 5, 7, 0) 82%, rgba(5, 5, 7, 0.65) 100%),
      radial-gradient(140% 100% at 50% 50%, rgba(5, 5, 7, 0) 60%, rgba(5, 5, 7, 0.6) 100%);
  }
  /* The wall behind is already blurred, so a translucent card glows with poster colour at no extra cost */
  .screen {
    background:
      linear-gradient(180deg, rgba(var(--light), 0.1) 0%, rgba(var(--light), 0.03) 40%, rgba(var(--light), 0.01) 100%),
      rgba(10, 9, 13, 0.8);
  }
  .fld__box { background: rgba(6, 6, 9, 0.78); }
}

@media (max-width: 600px) {
  .lg-top { padding: 16px 16px 8px; }
  .lg-logo img { width: 112px; }
  .stage { padding-bottom: 52px; }
  .screen { padding: 28px 20px 24px; border-radius: 24px; }
  .title { font-size: 30px; }
  .lead { margin-bottom: 22px; font-size: 15px; }
  .sheet { padding: 24px 20px; }
}

@media (max-height: 760px) {
  .lg-top { padding-block: 14px 6px; }
  .stage { padding-bottom: 44px; }
}

@media (forced-colors: active) {
  .hall { display: none; }
  .fld__box:focus-within { outline: 2px solid Highlight; }
  .fld.is-invalid .fld__box { border: 2px solid Mark; }
  .ticket__btn { -webkit-mask: none; mask: none; border: 2px solid ButtonText; }
}

@media (prefers-reduced-motion: reduce) {
  .col, .hall__grain, .screen, .notice, .sheet[open] { animation: none !important; }
  .screen, .ticket, .ticket__arrow, .mosaic--soft, .mosaic--focus, .mosaic__plane { transition: none; }
}
