:root {
  --ink: #f8f3e5;
  --muted: #c8d0d4;
  --night: #06111d;
  --panel: rgba(3, 14, 23, 0.76);
  --panel-strong: rgba(3, 14, 23, 0.91);
  --gold: #d4af37;
  --gold-soft: #fff1b8;
  --teal: #14b8a6;
  --green: #22c55e;
  --orange: #f59e0b;
  --danger: #ef4444;
  --line: rgba(212, 175, 55, 0.36);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: #040a12 none center / cover no-repeat;
  color: var(--ink);
  font-family: Inter, Montserrat, "Segoe UI", Arial, sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  position: relative;
  display: grid;
  grid-template-rows: 116px 1fr;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  width: 100vw;
  height: 100vh;
  padding: 22px;
  background:
    linear-gradient(120deg, rgba(5, 11, 22, 0.9), rgba(5, 11, 22, 0.55) 45%, rgba(5, 11, 22, 0.86)),
    radial-gradient(circle at 56% 34%, rgba(20, 184, 166, 0.14), transparent 34%);
}

.app-shell::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: inset 0 0 100px rgba(212, 175, 55, 0.08);
  pointer-events: none;
}

.ambient {
  position: absolute;
  width: 390px;
  height: 390px;
  background: none center / contain no-repeat;
  opacity: 0.52;
  pointer-events: none;
}

.ambient-top {
  top: 0;
  right: 0;
}

.ambient-bottom {
  bottom: 0;
  left: 0;
  transform: rotate(180deg);
}

.topbar,
.stage,
.ticket {
  position: relative;
  z-index: 1;
}

.topbar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 88px 1fr minmax(420px, 640px) 138px;
  gap: 18px;
  align-items: center;
}

.brand-mark,
.official-stamp {
  border: 0;
  background: transparent;
  padding: 0;
}

.brand-mark img {
  width: 74px;
}

.brand-copy p {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-copy h1 {
  margin: 0;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  line-height: 0.95;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.dashboard-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dashboard-strip div {
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(10px);
}

.dashboard-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-strip strong {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: var(--gold-soft);
  font-size: 21px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.official-stamp img {
  width: 126px;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45));
}

.stage {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  min-height: 0;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}

.side-nav button {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  min-height: 82px;
  padding: 15px 16px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(4, 23, 31, 0.88), rgba(4, 23, 31, 0.45));
  color: var(--ink);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.side-nav button:hover,
.side-nav button.active {
  border-color: var(--gold);
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.2), inset 0 0 20px rgba(20, 184, 166, 0.1);
  transform: translateX(3px);
}

.side-nav span {
  color: var(--gold);
  font-size: 28px;
}

.side-nav b,
.side-nav small {
  display: block;
}

.side-nav b {
  font-size: 16px;
  line-height: 1.15;
}

.side-nav small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.screen {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.screen.hidden {
  display: none !important;
}

#depart {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 118px;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transform: scale(1.03);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.64));
}

.route-line {
  position: absolute;
  left: 16%;
  right: 18%;
  top: 52%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--teal), transparent);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.8);
  transform: rotate(-9deg);
}

.plane {
  position: absolute;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.65));
}

.plane-main {
  right: 18%;
  top: 38%;
  width: 94px;
  animation: float-plane 4.8s ease-in-out infinite;
}

@keyframes float-plane {
  50% {
    transform: translate(16px, -12px) rotate(4deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 780px;
  padding: 64px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 500;
  line-height: 0.98;
}

.lead {
  max-width: 600px;
  margin: 20px 0 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.45;
}

.hero-actions,
.camera-actions,
.form-footer > div:last-child,
.soft-invitation {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 32px;
}

.primary-action,
.secondary-action,
.admin-card button,
.soft-invitation button {
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 0 18px;
  color: var(--ink);
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-action {
  border: 0;
  background: linear-gradient(90deg, #b8751d, #fff0a8, #bd7b1f);
  color: #251603;
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.4);
}

.secondary-action,
.admin-card button,
.soft-invitation button {
  background: rgba(0, 0, 0, 0.34);
}

.primary-action:hover,
.secondary-action:hover,
.admin-card button:hover,
.soft-invitation button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.passport-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(9, minmax(72px, 1fr));
  gap: 8px;
  align-self: end;
  padding: 14px;
  border-top: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(3, 14, 23, 0.72);
}

.passport-stamp {
  min-width: 0;
  padding: 9px 8px;
  border: 1px dashed rgba(255, 241, 184, 0.3);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.passport-stamp.unlocked {
  border-color: var(--gold);
  color: var(--gold-soft);
  box-shadow: inset 0 0 16px rgba(212, 175, 55, 0.16);
}

.passport-stamp b {
  display: block;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.passport-stamp span {
  display: block;
  margin-bottom: 4px;
  font-size: 19px;
}

.section-head {
  padding: 38px 38px 0;
}

.section-head.compact {
  padding-top: 28px;
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(138px, 1fr));
  gap: 16px;
  padding: 34px 38px;
}

.memory-card {
  min-height: 340px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.02));
  transition: transform 180ms ease, border-color 180ms ease;
}

.memory-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.memory-art {
  height: 178px;
  background:
    linear-gradient(140deg, rgba(212, 175, 55, 0.22), rgba(20, 184, 166, 0.12)),
    none center / cover;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.memory-card:nth-child(2) .memory-art {
  background-position: 40% 35%;
}

.memory-card:nth-child(3) .memory-art,
.memory-card:nth-child(4) .memory-art {
  background-image:
    linear-gradient(140deg, rgba(245, 158, 11, 0.18), rgba(20, 184, 166, 0.16)),
    none;
}

.memory-card h3,
.memory-card p {
  margin: 0;
  padding: 0 18px;
}

.memory-card h3 {
  padding-top: 18px;
  color: var(--gold-soft);
  font-size: 20px;
}

.memory-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.4;
}

.soft-invitation {
  margin: 0 38px 32px;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
}

.soft-invitation p {
  margin: 0;
  font-size: 19px;
}

.journey-form {
  margin: 28px 38px 38px;
  padding: 28px;
  border: 1px solid rgba(212, 175, 55, 0.26);
  border-radius: 10px;
  background: var(--panel-strong);
}

.step-panel {
  display: none;
  min-height: 335px;
}

.step-panel.active {
  display: block;
}

.step-panel label {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-panel input[type="text"],
.step-panel input:not([type]),
.step-panel textarea {
  width: 100%;
  border: 1px solid rgba(212, 175, 55, 0.36);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.33);
  color: var(--ink);
  outline: none;
}

.step-panel input[type="text"],
.step-panel input:not([type]) {
  min-height: 58px;
  padding: 0 18px;
  font-size: 21px;
}

.step-panel textarea {
  min-height: 190px;
  padding: 16px;
  resize: none;
  font-size: 18px;
  line-height: 1.4;
}

.step-panel small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.inline-check {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

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

.choice-grid label {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}

.choice-grid input {
  margin-right: 10px;
  accent-color: var(--gold);
}

.deposit-step {
  display: none;
  place-items: center;
  text-align: center;
}

.deposit-step.active {
  display: grid;
}

.envelope-anim {
  width: 130px;
  height: 86px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  background:
    linear-gradient(145deg, transparent 49%, rgba(212, 175, 55, 0.65) 50%, transparent 51%),
    linear-gradient(35deg, transparent 49%, rgba(212, 175, 55, 0.55) 50%, transparent 51%),
    rgba(255, 241, 184, 0.12);
  box-shadow: 0 0 34px rgba(212, 175, 55, 0.34);
  animation: pulse-envelope 1.4s ease-in-out infinite;
}

@keyframes pulse-envelope {
  50% {
    transform: translateY(-8px);
    box-shadow: 0 0 52px rgba(212, 175, 55, 0.58);
  }
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 18px;
}

.step-dots {
  display: flex;
  gap: 8px;
}

.step-dots i {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.step-dots i.active,
.step-dots i.done {
  background: var(--gold);
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 330px;
  gap: 22px;
  padding: 28px 38px 38px;
}

.camera-box video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  background: #02060b;
}

.camera-actions {
  margin-top: 14px;
}

.gallery-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}

.gallery-panel h3,
.admin-card h3 {
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-size: 20px;
}

.media-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 57vh;
  overflow: auto;
}

.media-list img,
.media-list video {
  width: 100%;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 8px;
  background: #000;
}

.admin-screen {
  overflow: auto;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px 38px 38px;
}

.admin-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.24);
}

.admin-card.wide {
  grid-column: 1 / -1;
}

.admin-card button {
  margin: 0 8px 8px 0;
}

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

.admin-stats div {
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.admin-stats span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.admin-stats strong {
  display: block;
  margin-top: 4px;
  color: var(--gold-soft);
  font-size: 23px;
}

.records-table,
.log-list {
  max-height: 250px;
  overflow: auto;
  color: var(--muted);
}

.record-row,
.log-row {
  display: grid;
  grid-template-columns: 155px 140px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.ticket {
  grid-column: 2;
  grid-row: 2;
  align-self: stretch;
  min-height: 0;
  padding: 34px 26px 28px;
  border-radius: 6px;
  background: #e7d2aa url("../assets/tickets/paper.jpg") center / cover;
  color: #2c1a09;
  box-shadow: var(--shadow);
  font-family: "Courier New", monospace;
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  background: url("../assets/tickets/edge.svg") repeat-x;
}

.ticket::before {
  top: 0;
}

.ticket::after {
  bottom: 0;
  transform: rotate(180deg);
}

.ticket h2 {
  color: #2c1a09;
  font-size: 29px;
  text-align: center;
}

.ticket dl {
  margin: 20px 0 0;
}

.ticket dl div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px dashed rgba(44, 26, 9, 0.34);
}

.ticket dt {
  font-weight: 700;
}

.ticket dd {
  margin: 0;
  text-align: right;
  font-weight: 900;
}

.ticket p {
  min-height: 90px;
  margin: 18px 0;
  padding: 14px 0;
  border-top: 1px dashed rgba(44, 26, 9, 0.34);
  border-bottom: 1px dashed rgba(44, 26, 9, 0.34);
  line-height: 1.4;
  text-align: center;
}

.ticket img {
  display: block;
  width: 132px;
  margin: 10px auto;
  opacity: 0.72;
}

.valid {
  color: #047857;
}

.barcode {
  height: 38px;
  margin-top: 18px;
  background: repeating-linear-gradient(90deg, #1e1105 0 2px, transparent 2px 5px, #1e1105 5px 7px, transparent 7px 12px);
}

.toast {
  position: fixed;
  z-index: 200;
  left: var(--toast-left, var(--toast-x, 50%));
  top: var(--toast-top, var(--toast-y, 90%));
  bottom: auto;
  width: max-content;
  max-width: min(var(--toast-width, 38vw), calc(100vw - 44px));
  box-sizing: border-box;
  overflow-wrap: anywhere;
  border: 1px solid rgba(212, 175, 55, 0.36);
  border-radius: var(--toast-radius, 999px);
  padding: 14px 22px;
  background: rgba(var(--toast-bg-rgb, 255, 241, 184), var(--toast-bg-opacity, 0.96));
  color: rgba(var(--toast-text-rgb, 38, 23, 4), var(--toast-text-opacity, 1));
  font-family: var(--toast-font-family, Inter, Montserrat, "Segoe UI", Arial, sans-serif);
  font-size: var(--toast-font-size, 18px);
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.44);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.celebrate .plane-main {
  animation: takeoff 2.8s ease-in forwards;
}

@keyframes takeoff {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(260px, -470px) scale(2.6);
  }
}

@media (max-width: 1300px) {
  .app-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .ticket {
    display: none;
  }

  .topbar {
    grid-template-columns: 74px 1fr 420px 112px;
  }

  .stage {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .memory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  html,
  body {
    overflow: auto;
  }

  .app-shell {
    height: auto;
    min-height: 100vh;
    padding: 14px;
  }

  .topbar,
  .stage,
  .studio-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-strip,
  .passport-row,
  .memory-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .side-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-nav button {
    min-height: 72px;
  }

  .hero-content {
    padding: 34px 24px 160px;
  }

  .section-head,
  .journey-form,
  .studio-grid,
  .admin-grid,
  .memory-grid {
    margin: 0;
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* V2 visual direction: the supplied mockups carry the scene; HTML only adds interaction layers. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.app-shell {
  display: block;
  padding: 0;
  background: #03070c;
}

.app-shell::before,
.ambient,
.brand-mark,
.brand-copy,
.dashboard-strip,
.side-nav,
.ticket {
  display: none;
}

.topbar {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: block;
  pointer-events: none;
}

.official-stamp {
  position: absolute;
  top: 3.5%;
  right: 6.1%;
  width: 13.5%;
  aspect-ratio: 1;
  opacity: 0;
  pointer-events: auto;
}

.official-stamp img {
  width: 100%;
  height: 100%;
}

.stage {
  display: block;
  width: 100vw;
  height: 100vh;
}

.screen {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  border: 0;
  border-radius: 0;
  background: #03070c;
  box-shadow: none;
  backdrop-filter: none;
}

.screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--screen-bg) center / cover no-repeat;
}

#depart {
  display: block;
  --screen-bg: none;
}

#voyages {
  --screen-bg: none;
}

#participer {
  --screen-bg: none;
}

#studio {
  --screen-bg: none;
}

#admin {
  --screen-bg: none;
}

.screen.hidden {
  display: none !important;
}

.hotspot {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(255, 230, 150, 0);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.001);
  color: transparent;
  font-size: 1px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.hotspot:hover,
.hotspot:focus-visible {
  border-color: rgba(255, 218, 122, 0.74);
  background: rgba(0, 0, 0, 0.08);
  box-shadow: 0 0 34px rgba(212, 175, 55, 0.42), inset 0 0 22px rgba(255, 241, 184, 0.12);
  outline: none;
}

.depart-voyages {
  left: 22.4%;
  top: 64.8%;
  width: 27.5%;
  height: 21.8%;
}

.depart-participer {
  left: 51.2%;
  top: 64.8%;
  width: 28.9%;
  height: 21.8%;
}

.back-home {
  left: 1.2%;
  top: 2%;
  width: 7.4%;
  height: 11%;
}

.participer-photo {
  left: 44.8%;
  top: 30%;
  width: 14%;
  height: 39%;
}

.participer-video {
  left: 59.7%;
  top: 30%;
  width: 14.2%;
  height: 39%;
}

.live-chip {
  position: absolute;
  z-index: 5;
  min-width: 150px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 10px;
  padding: 8px 14px;
  background: rgba(2, 9, 16, 0.34);
  color: var(--gold-soft);
  text-align: center;
  backdrop-filter: blur(8px);
}

.live-chip span {
  display: block;
  color: rgba(255, 241, 184, 0.78);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-chip b {
  display: block;
  margin-top: 2px;
  font-size: 20px;
}

.distance-chip {
  left: 42.3%;
  top: 15.4%;
  transform: translateX(-50%);
}

.next-chip {
  left: 50%;
  top: 58.3%;
  transform: translateX(-50%);
}

.archive-hotspots {
  position: absolute;
  z-index: 5;
  right: 7.6%;
  bottom: 9.8%;
  display: flex;
  gap: 12px;
}

.glass-mini {
  min-height: 44px;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 8px;
  padding: 0 16px;
  background: rgba(0, 0, 0, 0.36);
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.journey-form {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 8.2%;
  width: min(760px, 52vw);
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 229, 154, 0.42);
  border-radius: 12px;
  background: rgba(5, 10, 13, 0.48);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.step-panel {
  min-height: 162px;
}

.step-panel label {
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-size: 12px;
}

.step-panel input[type="text"],
.step-panel input:not([type]) {
  min-height: 46px;
  font-size: 18px;
}

.step-panel textarea {
  min-height: 92px;
  font-size: 16px;
}

.choice-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.choice-grid label {
  display: flex;
  min-height: 72px;
  align-items: center;
  padding: 10px;
  font-size: 13px;
  line-height: 1.25;
  background: rgba(255, 255, 255, 0.1);
}

.deposit-step h3,
.deposit-step p {
  margin: 8px 0 0;
}

.envelope-anim {
  width: 96px;
  height: 62px;
}

.form-footer {
  padding-top: 12px;
}

.primary-action,
.secondary-action,
.admin-card button,
.soft-invitation button {
  min-height: 40px;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 13px;
}

.studio-grid {
  position: absolute;
  z-index: 5;
  left: 20.6%;
  top: 20.6%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 16px;
  width: 58.8%;
  padding: 0;
}

.camera-box {
  min-width: 0;
}

.camera-box video {
  border-color: rgba(255, 229, 154, 0.5);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.44);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
}

.camera-actions {
  justify-content: center;
  margin-top: 12px;
}

.gallery-panel {
  max-height: 54vh;
  border-color: rgba(212, 175, 55, 0.36);
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
}

.media-list {
  max-height: 44vh;
}

.admin-screen {
  overflow: auto;
}

.admin-screen::before {
  position: fixed;
}

.admin-screen .section-head,
.admin-grid {
  position: relative;
  z-index: 5;
}

.admin-screen .section-head {
  padding-top: 126px;
}

.admin-grid {
  max-width: 1120px;
  margin: 0 auto;
}

.admin-card {
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}

@media (max-width: 1100px) {
  .journey-form {
    width: min(880px, 84vw);
  }

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

  .studio-grid {
    left: 7vw;
    top: 20vh;
    width: 86vw;
    grid-template-columns: 1fr;
  }

  .gallery-panel {
    display: none;
  }
}
