@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.3100e775e8.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/geist-mono-latin.af61b969e7.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #fafafa;
  --ink: #0a0a0a;
  --red: #0a0a0a;
  --accent: #0a0a0a;
  --accent-hot: #2a2a2a;
  --white: #ffffff;
  --paper: #ffffff;
  --silver: #e5e5e5;
  --silver-deep: #d4d4d4;
  --muted: rgba(10, 10, 10, 0.55);
  --line: rgba(10, 10, 10, 0.15);
  --danger: #0a0a0a;
  --shadow: none;
  --spin: 0deg;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; color-scheme: light; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body[data-celebrate="1"] { background: var(--bg); }

img { max-width: 100%; height: auto; }

a { color: inherit; }

:focus { outline: none; }

:focus-visible {
  outline: 2px solid #0a0a0a;
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: #0a0a0a;
  color: #ffffff;
  padding: 10px 14px;
  z-index: 5;
  border-radius: 999px;
}

.skip:focus { top: 12px; }

.wrap {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 10px 16px 72px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
}

.logo .lockup {
  display: block;
  width: auto;
  height: 36px;
  max-width: min(178px, 56vw);
  object-fit: contain;
  object-position: left center;
}

.logo .logo-light { display: none; }

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1 1 auto;
}

.nav-link,
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
}

.nav-link {
  padding: 0 14px;
  border-radius: 999px;
}

.nav-link:hover { background: rgba(255, 255, 255, 0.08); }

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fafafa;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.sheet {
  width: 100%;
  max-width: 100%;
  margin: auto 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.sheet::backdrop { background: rgba(0, 0, 0, 0.62); }

.sheet-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: 24px 24px 0 0;
  border: 1px solid var(--line);
  padding: 8px 16px calc(16px + env(safe-area-inset-bottom));
  box-shadow: var(--shadow);
}

.sheet-card a,
.sheet-card button.linkish {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 8px 4px;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.sheet-card form { margin: 0; }

.sheet-card .who {
  max-width: none;
  white-space: normal;
  overflow: visible;
  padding: 12px 4px 4px;
}

.who {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.inline { margin: 0; }

h1, h2, .display {
  font-family: Inter, "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0;
}

.hero h1 {
  font-size: clamp(46px, 12vw, 84px);
  margin: 10px 0 12px;
}

.mark { color: var(--accent); }

.lede {
  margin: 0;
  max-width: 28ch;
  font-size: 20px;
  color: var(--muted);
}

.hero {
  position: relative;
  display: grid;
  gap: 22px;
  margin-top: 12px;
  align-items: center;
}

.stage-disc {
  width: 148px;
  height: 148px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fafafa;
  border: 1px solid var(--line);
}

.stage-disc img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.stage-disc-sm { width: 112px; height: 112px; }
.stage-disc-sm img { width: 88px; height: 88px; }

.showcase {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  text-decoration: none;
  gap: 2px;
  padding: 22px 18px 20px;
  border-radius: 28px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: none;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.28s ease;
}

.showcase:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 10, 10, 0.06);
}

.showcase::before { display: none; }

.showcase > * { position: relative; z-index: 1; }

.showcase h2 { font-size: 28px; margin-top: 8px; }

.showcase .kicker { margin: 10px 0 0; }

.showcase-price {
  margin: 2px 0;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: clamp(52px, 14vw, 72px);
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--ink);
}

.showcase .muted { margin: 0 0 4px; }

.showcase .btn { margin-top: 14px; width: 100%; }

.auth-layout {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.pass-stage {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 2px;
  padding: 20px 16px 16px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.pass-stage .kicker { margin: 12px 0 0; }
.pass-stage .showcase-price { font-size: 48px; }
.pass-stage .offer-price { font-size: 40px; margin-top: 6px; }
.pass-stage .stage-name {
  margin: 4px 0 0;
  max-width: 22ch;
  font-family: Inter, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.pass-stage .muted { margin: 0; }

.how { margin-top: 36px; }

.how h2 { font-size: clamp(32px, 8vw, 48px); }

.steps {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.steps li {
  display: grid;
  gap: 4px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
}

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

.kicker {
  margin: 0 0 8px;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background-color: #0a0a0a;
  color: #ffffff;
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover, button.btn:hover { background-color: #2a2a2a; }

.btn.ghost {
  background: transparent;
  color: inherit;
  border-color: rgba(10, 10, 10, 0.15);
}

.btn.ghost:hover { border-color: rgba(10, 10, 10, 0.4); background: rgba(10, 10, 10, 0.03); }

.btn:disabled { cursor: progress; opacity: 0.65; }

.panel, .ticket {
  margin-top: 22px;
  border-radius: 28px;
  padding: 22px 18px;
}

.panel {
  background: #ffffff;
  border: 1px solid var(--line);
}

.panel h1, .ticket h1, .ticket h2 {
  font-size: clamp(34px, 9vw, 56px);
  margin: 0 0 8px;
}

.muted { color: var(--muted); }
.ticket .muted { color: inherit; opacity: 0.86; }

.stack { display: grid; gap: 4px; }

label {
  display: block;
  margin: 16px 0 8px;
  font-size: 14px;
  font-weight: 500;
}

input, textarea, select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(10, 10, 10, 0.15);
  background: #ffffff;
  color: #0a0a0a;
  font: inherit;
  font-size: 16px;
}

input:focus, textarea:focus, select:focus {
  border-color: #0a0a0a;
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.12);
  outline: none;
}

textarea { min-height: 96px; resize: vertical; }

input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }

.alert {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(10, 10, 10, 0.2);
  border-radius: 12px;
  background: #fafafa;
  color: #0a0a0a;
  font-weight: 500;
}

.pass-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.ticket {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.28s ease;
}

.ticket > :not(.watermark):not(.halo) { position: relative; z-index: 2; }

.halo { display: none; }

.ticket.champion::before,
.ticket.double_champion::before { display: none; }

.watermark {
  position: absolute;
  top: 24px;
  right: 22px;
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

.ticket-top,
.ticket h1,
.ticket h2 { padding-right: 108px; }

.ticket.champion { background: #ffffff; }

.ticket.champion .watermark,
.ticket.double_champion .watermark { opacity: 0.12; }

.ticket.runner_up {
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
}

.ticket.runner_up .watermark { opacity: 1; }

.ticket.double_champion { background: #ffffff; }

.stripe {
  width: 72px;
  height: 8px;
  border-radius: 99px;
  background: var(--red);
  margin-bottom: 14px;
}

.ticket.runner_up .stripe { background: #0a0a0a; }

.ticket.double_champion .stripe { width: 72px; background: #0a0a0a; }

.ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  font-weight: 700;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 2px solid currentColor;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.power-xl {
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: clamp(42px, 12vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 12px 0 0;
}

.power-label {
  margin: 4px 0 0;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.won, .remain {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 700;
}

.claim-follow { margin-top: 36px; }

input[autocomplete="one-time-code"]:not(.otp-box) {
  letter-spacing: 0.42em;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
}

.panel a:not(.btn), .section a:not(.btn) { color: var(--accent); }
a.btn { color: #ffffff; }
a.btn.ghost { color: inherit; }

.meter {
  height: 12px;
  margin: 14px 0 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.ticket.runner_up .meter { background: rgba(255, 255, 255, 0.16); }

.meter span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--red);
}

.ticket.runner_up .meter span { background: var(--white); }

.ticket.double_champion .meter span { background: var(--white); }

.stub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.ticket.runner_up .stub { border-top-color: var(--line); }

.quiet {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.empty {
  margin-top: 28px;
  padding: 28px 18px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.empty .stage-disc { margin: 4px auto 16px; }

.meta {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-size: 15px;
}

.check { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.check input { width: auto; }

.trophy { display: grid; gap: 8px; }
.avatar-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--ink);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 32px;
}
.trophy h1 { margin: 0; }
.streak { font-weight: 700; }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.story-preview {
  width: min(270px, 70vw);
  height: auto;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.metering { margin-top: 40px; }
.metering h2 { font-size: 22px; margin: 0 0 8px; }
.facts { display: grid; gap: 4px; margin: 12px 0 16px; }
.scroll { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }

th, td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th { color: var(--muted); font-weight: 700; }

.copy { word-break: break-all; }

body.chat {
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
}

body.chat .wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
  overflow: hidden;
}

body.chat main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.chat-shell {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.chat-head h1 { font-size: 22px; margin: 2px 0 8px; }

.power-strip {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  background: var(--bg);
}

.power-strip p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.power-strip .meter {
  flex: 1;
  height: 6px;
  margin: 0;
  background: rgba(255, 255, 255, 0.12);
}

.power-strip .meter span { background: var(--red); }

.thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 0 12px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.bubble {
  max-width: min(100%, 34rem);
  padding: 12px 14px;
  border-radius: 18px;
}

.bubble.user { white-space: pre-wrap; }

.bubble.assistant p { margin: 0 0 8px; }
.bubble.assistant p:last-child { margin: 0; }
.bubble.assistant ul,
.bubble.assistant ol { margin: 0 0 8px; padding-left: 1.2em; }
.bubble.assistant pre {
  margin: 0 0 8px;
  padding: 10px;
  overflow-x: auto;
  border-radius: 10px;
  background: var(--bg);
}
.bubble.assistant code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }

.bubble.user {
  align-self: flex-end;
  background: var(--accent);
  color: var(--ink);
  border-bottom-right-radius: 6px;
}

.bubble.assistant, .bubble.error {
  align-self: flex-start;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}

.bubble.error { border-color: var(--red); color: var(--danger); }

.typing {
  display: inline-flex;
  gap: 6px;
  min-height: 24px;
  align-items: center;
}

.typing i {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--white);
  animation: blink 1s infinite;
}

.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }

.composer {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 0 calc(10px + env(safe-area-inset-bottom));
  background: var(--bg);
}

.composer textarea {
  flex: 1 1 auto;
  width: auto;
  min-height: 48px;
  height: 48px;
  max-height: 120px;
  resize: none;
}

.composer .btn,
.composer button.btn {
  width: auto;
  flex: 0 0 auto;
  min-width: 88px;
}

.celebrate {
  display: inline-block;
  margin: 0 0 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}

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

.skeleton {
  display: block;
  height: 14px;
  border-radius: 99px;
  background: #f0f0f0;
}

.twin .notice {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 15px;
}
.twin .notice.trial {
  border-color: rgba(10, 10, 10, 0.16);
  background: rgba(10, 10, 10, 0.08);
  color: var(--ink);
}
.twin .notice.trial a { color: var(--accent-hot); font-weight: 700; }
.twin .twin-preview {
  display: block;
  width: min(100%, 360px);
  margin: 12px auto;
  border-radius: 16px;
  background: var(--surface);
}
.twin.reveal .twin-preview {
  width: min(100%, 420px);
  border-radius: 18px;
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
  animation: twin-reveal 0.7s ease both;
}
@keyframes twin-reveal {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .twin.reveal .twin-preview { animation: none; }
}
.twin fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 12px 0;
}
.twin .share { display: grid; gap: 8px; }
.twin .share .btn.primary,
.twin .share .share-lead { width: 100%; min-height: 56px; font-size: 18px; }
.twin .check { align-items: flex-start; }
.twin .check a { color: inherit; }
.twin .remake { margin-top: 16px; }
.twin .remake summary { width: fit-content; list-style: none; cursor: pointer; }
.twin .remake summary::-webkit-details-marker { display: none; }
.twin .remake[open] summary { margin-bottom: 12px; }
body.twin-pages .logo .lockup { display: block; }
body.twin-pages .logo .logo-light { display: none; }
body.twin-pages .logo {
  background: transparent;
  padding: 0;
  line-height: 0;
}
body.twin-pages .logo img {
  position: static;
  display: block;
  width: 168px;
  max-width: min(168px, 52vw);
  height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
}
.skeleton.short { width: 62%; }

.skel-stack { display: grid; gap: 10px; width: min(100%, 220px); }

@media (min-width: 760px) {
  .wrap { padding: 18px 28px 80px; }
  body.chat .wrap { padding-bottom: 0; }
  .btn, button.btn { width: auto; }
  .showcase .btn { width: 100%; }
  .pass-list { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .panel, .ticket { padding: 28px; }
  .sheet { width: min(420px, 100%); margin-left: auto; margin-right: auto; }
  .auth-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: 22px;
  }
}

@media (min-width: 1080px) {
  .wrap { width: min(1120px, 100%); padding: 22px 32px 96px; }
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 380px);
    column-gap: 56px;
  }
  .logo .lockup { height: 40px; max-width: 198px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .typing i,
  .skeleton,
  .btn,
  button.btn,
  .ticket,
  .ticket.champion::before,
  .ticket.double_champion::before,
  .showcase,
  .showcase::before,
  .hero,
  .how,
  .panel,
  .steps li,
  .empty,
  .trophy,
  .studio-group,
  .studio-row,
  .toast,
  .celebrate { animation: none; }
  .ticket:hover, .studio-row:hover, .showcase:hover { transform: none; }
}

@keyframes blink {
  0%, 80%, 100% { opacity: 0.25; }
  40% { opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@keyframes rise {
  from { transform: translateY(14px); }
  to { transform: none; }
}

.hero,
.how,
.panel,
.ticket,
.empty,
.trophy,
.studio-group,
.steps li,
.studio-row,
.showcase,
.pass-stage {
  opacity: 1;
}

.hero,
.how,
.panel,
.ticket,
.empty,
.trophy,
.studio-group,
.showcase,
.pass-stage {
  animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.steps li { animation: rise 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.steps li:nth-child(2) { animation-delay: 0.08s; }
.steps li:nth-child(3) { animation-delay: 0.14s; }
.steps li:nth-child(4) { animation-delay: 0.2s; }
.pass-list .ticket:nth-child(2) { animation-delay: 0.08s; }
.pass-list .ticket:nth-child(3) { animation-delay: 0.14s; }
.pass-list .ticket:nth-child(4) { animation-delay: 0.2s; }

@media (hover: hover) {
  .ticket:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(10, 10, 10, 0.06);
  }
}

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

.otp-box {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  padding: 0;
  letter-spacing: 0;
}

.otp-source {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.toaster {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.toast {
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 500;
  background: #0a0a0a;
  color: #ffffff;
  animation: rise 0.25s ease both;
}

.studio-list, .studio-group { display: flex; flex-direction: column; gap: 8px; }
.studio-group { margin-top: 18px; }
.studio-group h2 { margin: 0; font-size: 18px; text-transform: capitalize; }
.studio-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #fafafa;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.studio-row:hover {
  transform: translateY(-2px);
  border-color: rgba(10, 10, 10, 0.16);
  background: rgba(10, 10, 10, 0.08);
}
.studio-name { font-weight: 700; }
.checks {
  margin: 16px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
.checks legend { font-weight: 700; padding: 0 6px; }
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  font-weight: 400;
}
.check input {
  width: 22px;
  height: 22px;
  min-height: 22px;
  padding: 0;
  flex: 0 0 auto;
}
.studio-layout { display: block; }
.preview {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fafafa;
}
.preview h2 { margin: 0 0 8px; font-size: 28px; }
.preview .price { margin: 8px 0 0; font-size: 28px; font-weight: 700; color: var(--accent); }
.audit { padding-left: 18px; }
.audit li { margin: 8px 0; }
.section { margin-top: 28px; }

@media (min-width: 800px) {
  .studio-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; }
  .checks { grid-template-columns: 1fr 1fr; }
  .preview { position: sticky; top: 12px; margin-top: 0; }
}

.phone-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: end;
}
.phone-field label { margin: 0; }
.phone-field select {
  width: auto;
  min-width: 7.2rem;
  padding-right: 28px;
}
