* { box-sizing: border-box; }
:root {
  --bg: #fff8fb;
  --bg2: #f7dce8;
  --paper: rgba(255, 255, 255, .74);
  --paper2: rgba(255, 249, 252, .90);
  --line: rgba(141, 71, 101, .16);
  --line2: rgba(141, 71, 101, .28);
  --rose: #cd7198;
  --rose2: #b85e86;
  --rose-dark: #884760;
  --plum: #60364c;
  --muted: rgba(96, 54, 76, .72);
  --shadow: 0 26px 80px rgba(139, 64, 96, .19);
}
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh;
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--plum);
  background:
    radial-gradient(circle at 14% 18%, rgba(255,255,255,.9), transparent 20%),
    radial-gradient(circle at 88% 12%, rgba(255, 223, 236, .92), transparent 25%),
    linear-gradient(145deg, #fff9fc 0%, #fae5ee 48%, #f6d7e4 100%);
  overflow-x: hidden;
}
button { font: inherit; -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .48; cursor: not-allowed; transform: none !important; }

/* Большие фото на фоне */
.artist-bg {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 50vw;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: .18;
  filter: saturate(.85) contrast(.95);
  pointer-events: none;
  z-index: 0;
}
.artist-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,248,251,.44), rgba(255,248,251,.76)),
    linear-gradient(180deg, rgba(255,248,251,.18), rgba(255,232,241,.5));
}
.artist-left {
  left: 0;
  background-image: url("./assets/bg-artist-1.png");
  background-position: 48% 16%;
}
.artist-right {
  right: 0;
  background-image: url("./assets/bg-artist-2.png");
  background-position: 52% 12%;
}
.bg-word {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  font-weight: 800;
  color: rgba(184, 94, 134, .06);
  letter-spacing: .22em;
  white-space: nowrap;
}
.word-a { top: 8%; left: -2%; font-size: clamp(42px, 11vw, 142px); transform: rotate(-12deg); }
.word-b { bottom: 10%; right: -3%; font-size: clamp(42px, 10vw, 126px); transform: rotate(-8deg); }
.soft-light { position: fixed; border-radius: 999px; filter: blur(18px); pointer-events: none; z-index: 0; }
.light-a { width: 340px; height: 340px; left: -120px; top: 20%; background: rgba(255,255,255,.56); }
.light-b { width: 380px; height: 380px; right: -130px; bottom: 10%; background: rgba(255,214,231,.55); }

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  z-index: 1;
}
.shell {
  position: relative;
  width: min(1120px, 100%);
  min-height: min(760px, calc(100vh - 48px));
  padding: 28px 30px 34px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.72);
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,250,252,.64));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.shell::before, .shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.shell::before { width: 230px; height: 230px; right: -75px; top: -75px; background: rgba(247, 205, 222, .64); }
.shell::after { width: 190px; height: 190px; left: -64px; bottom: -64px; background: rgba(255, 236, 244, .72); }
.shell-outline {
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  border: 1.5px dashed rgba(141, 71, 101, .15);
  pointer-events: none;
}
.topbar, .step { position: relative; z-index: 2; }
.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.badge {
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(141, 71, 101, .09);
  color: var(--rose-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.progress { height: 8px; border-radius: 999px; background: rgba(255,225,236,.78); overflow: hidden; }
.progress span {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f4aac6, var(--rose2));
  transition: width .62s cubic-bezier(.2,.8,.2,1);
}
.step-count {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.step {
  min-height: 610px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeUp .52s ease;
}
.grid-main, .grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 360px);
  gap: 30px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.58);
  color: var(--rose-dark);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}
h1, h2, h3 { margin: 0; color: var(--rose-dark); }
h1, h2 { font-family: 'Bad Script', cursive; line-height: 1.04; overflow-wrap: anywhere; }
h1 { margin-top: 18px; font-size: clamp(48px, 6.4vw, 78px); max-width: 720px; }
h2 { margin-top: 4px; font-size: clamp(42px, 5.4vw, 62px); max-width: 720px; }
.subtitle {
  margin: 16px 0 0;
  max-width: 650px;
  color: var(--muted);
  line-height: 1.68;
  font-size: 16px;
}
.note-block {
  width: fit-content;
  max-width: min(100%, 580px);
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(141,71,101,.11);
  background: rgba(255,255,255,.57);
  box-shadow: 0 14px 28px rgba(139,64,96,.07);
}
.note-block b { color: var(--rose-dark); }
.signature { margin-top: 16px; color: rgba(96,54,76,.86); font-size: 15px; }
.signature span { font-family: 'Bad Script', cursive; font-size: 26px; color: var(--rose-dark); }

.btn {
  border: 0;
  border-radius: 999px;
  padding: 16px 24px;
  background: var(--paper2);
  color: var(--rose-dark);
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(139,64,96,.12);
  transition: transform .28s ease, box-shadow .22s ease, opacity .22s ease, background .22s ease;
}
.btn:hover { box-shadow: 0 18px 34px rgba(139,64,96,.17); }
.btn.primary {
  background: linear-gradient(135deg, #ef9dbc, #c4648d);
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
}
.btn.primary:hover { transform: translateY(-3px) scale(1.018); }
.btn.wide { width: min(430px, 100%); margin-top: 24px; }
.back-btn {
  align-self: flex-start;
  border: 0;
  background: rgba(255,255,255,.58);
  color: var(--rose-dark);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  margin-bottom: 16px;
}
.button-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  min-height: 164px;
  padding: 8px 12px 34px 0;
}
.escape-btn {
  position: relative;
  min-width: 118px;
  will-change: transform;
  transition: transform .48s cubic-bezier(.18,.86,.2,1.15), box-shadow .2s ease;
}
.escape-btn small {
  display: none;
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  max-width: 190px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(141,71,101,.11);
  color: var(--rose-dark);
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(139,64,96,.09);
}
.escape-btn.is-active small { display: block; }

.photo-stack {
  position: relative;
  min-height: 430px;
}
.photo-card {
  position: absolute;
  width: 214px;
  padding: 10px 10px 14px;
  border-radius: 24px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 18px 48px rgba(128,60,89,.16);
  backdrop-filter: blur(8px);
}
.photo-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}
.photo-card .caption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
  text-transform: uppercase;
}
.photo-card:nth-child(1) { top: 4px; right: 42px; transform: rotate(7deg); }
.photo-card:nth-child(2) { top: 144px; left: 0; transform: rotate(-7deg); }
.photo-card:nth-child(3) { bottom: 0; right: 18px; transform: rotate(4deg); }

.side-cards { display: grid; gap: 14px; }
.panel {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(141,71,101,.11);
  box-shadow: 0 14px 28px rgba(139,64,96,.07);
}
.panel h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 10px;
}
.panel p { margin: 0; line-height: 1.68; color: var(--rose-dark); }

.place-area { margin-top: 24px; max-width: 660px; }
.car-disabled {
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(141,71,101,.13);
  background: rgba(255,255,255,.68);
  color: var(--plum);
  text-align: left;
  box-shadow: 0 14px 28px rgba(139,64,96,.08);
  cursor: default;
  position: relative;
  overflow: hidden;
  transition: background .22s ease, opacity .22s ease, filter .22s ease;
}
.car-disabled::after {
  content: "сори, права ещё не сделали";
  position: absolute;
  right: 18px;
  bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(141,71,101,.12);
  color: var(--rose-dark);
  font-size: 12px;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .2s ease, transform .2s ease;
}
.car-disabled:hover,
.car-disabled:focus {
  opacity: .62;
  filter: saturate(.75);
  background: rgba(255,255,255,.48);
}
.car-disabled:hover::after,
.car-disabled:focus::after {
  opacity: 1;
  transform: translateY(0);
}
.car-disabled .mini-note {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}
.place-list { display: grid; gap: 14px; margin-top: 14px; }
.place-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(141,71,101,.13);
  background: rgba(255,255,255,.66);
  color: var(--plum);
  text-align: left;
  box-shadow: 0 14px 28px rgba(139,64,96,.08);
  cursor: pointer;
  transition: transform .23s ease, border-color .23s ease, box-shadow .23s ease, background .23s ease;
}
.place-card:hover { transform: translateY(-3px); box-shadow: 0 18px 32px rgba(139,64,96,.12); }
.place-card.chosen {
  border-color: rgba(196,100,141,.6);
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,231,239,.88));
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: rgba(240,204,219,.58);
  color: var(--rose-dark);
  font-size: 20px;
}
.place-title { font-weight: 800; color: var(--rose-dark); }
.place-desc { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.38; }

.ticket {
  position: relative;
  margin-top: 24px;
  width: min(610px, 100%);
  min-height: 360px;
  perspective: 1100px;
}
.ticket.revealed .ticket-inner { transform: rotateY(180deg); }
.ticket-inner {
  position: relative;
  width: 100%;
  min-height: 360px;
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.22,.78,.14,1);
}
.ticket-face {
  position: absolute;
  inset: 0;
  min-height: 360px;
  padding: 26px;
  border-radius: 28px;
  backface-visibility: hidden;
  overflow: hidden;
  border: 1px solid rgba(141,71,101,.13);
  box-shadow: 0 22px 44px rgba(139,64,96,.12);
}
.ticket-face::before, .ticket-face::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #fae5ee;
  transform: translateY(-50%);
  box-shadow: inset 0 0 0 1px rgba(141,71,101,.1);
}
.ticket-face::before { left: -17px; }
.ticket-face::after { right: -17px; }
.ticket-front {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(90deg, transparent 0 84%, rgba(203,111,150,.08) 84% 85%, transparent 85%),
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,236,244,.82));
}
.ticket-back {
  transform: rotateY(180deg);
  background:
    radial-gradient(circle at 100% 0, rgba(203,111,150,.13), transparent 25%),
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,226,237,.86));
}
.ticket-kicker {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
}
.ticket-title {
  margin-top: 18px;
  font-family: 'Bad Script', cursive;
  font-size: clamp(38px, 4.4vw, 54px);
  line-height: 1.08;
  color: var(--rose-dark);
}
.ticket-text {
  margin-top: 12px;
  max-width: 470px;
  line-height: 1.62;
  color: var(--muted);
}
.ticket-front .btn {
  margin-top: auto;
  align-self: flex-start;
}
.ticket-data {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 500px;
}
.ticket-data div {
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(141,71,101,.1);
}
.ticket-data b {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.ticket-data span {
  font-family: 'Bad Script', cursive;
  font-size: 34px;
  line-height: 1;
  color: var(--rose-dark);
}
.summary-pass {
  margin-top: 22px;
  width: min(610px, 100%);
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(203,111,150,.12) 0 16px, transparent 16px),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,236,243,.86));
  border: 1px solid rgba(141,71,101,.13);
  box-shadow: 0 22px 42px rgba(139,64,96,.12);
}
.pass-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.pass-label {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pass-title {
  margin-top: 4px;
  font-family: 'Bad Script', cursive;
  font-size: clamp(34px, 4.8vw, 50px);
  line-height: 1.02;
  color: var(--rose-dark);
}
.pass-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(141,71,101,.12);
  color: var(--rose-dark);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.summary-list { display: grid; gap: 12px; }
.summary-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.64);
}
.summary-item b {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.summary-item span { color: var(--rose-dark); font-size: 16px; }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.link-btn {
  border: 0;
  background: transparent;
  color: var(--rose-dark);
  cursor: pointer;
  padding: 8px 0;
  text-decoration: underline;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 940px) {
  .topbar { grid-template-columns: 1fr; gap: 12px; }
  .step-count { justify-self: start; }
  .grid-main, .grid-two { grid-template-columns: 1fr; }
  .side-cards { order: -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-stack {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .photo-card {
    position: relative;
    width: 100%;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
  }
}
@media (max-width: 720px) {
  .page { padding: 10px; }
  .shell {
    min-height: calc(100dvh - 20px);
    padding: 18px 14px 20px;
    border-radius: 26px;
  }
  .shell-outline { inset: 9px; border-radius: 18px; }
  .badge { font-size: 10px; letter-spacing: .11em; padding: 10px 12px; }
  .step { min-height: auto; }
  h1 { font-size: clamp(40px, 12.8vw, 56px); line-height: 1.06; }
  h2 { font-size: clamp(38px, 11.8vw, 50px); line-height: 1.08; }
  .subtitle { font-size: 14px; line-height: 1.62; }
  .button-row { min-height: 226px; padding-right: 0; padding-bottom: 40px; }
  .button-row .primary { width: min(240px, 100%); }
  .btn { min-height: 52px; font-size: 14px; padding: 14px 18px; }
  .escape-btn small { white-space: normal; text-align: center; font-size: 11px; max-width: 158px; }
  .side-cards { grid-template-columns: 1fr; }
  .photo-stack { grid-template-columns: 1fr; }
  .photo-card:nth-child(n+2) { display: none; }
  .photo-card img { aspect-ratio: 16/12; object-position: center top; }
  .artist-bg { width: 60vw; opacity: .11; }
  .artist-left { left: -22vw; }
  .artist-right { right: -22vw; }
  .word-a, .word-b { letter-spacing: .16em; opacity: .6; }
  .car-disabled {
    min-height: 98px;
    padding: 16px;
    border-radius: 20px;
    align-items: flex-start;
  }
  .car-disabled::after {
    position: static;
    display: block;
    margin: 8px 0 0;
    width: fit-content;
    opacity: 0;
    transform: translateY(4px);
  }
  .car-disabled:hover::after,
  .car-disabled:focus::after { opacity: 1; transform: translateY(0); }
  .place-card { padding: 16px; border-radius: 20px; align-items: flex-start; }
  .ticket { min-height: 385px; }
  .ticket-inner, .ticket-face { min-height: 385px; }
  .ticket-face { padding: 20px; border-radius: 24px; }
  .ticket-kicker { flex-direction: column; gap: 5px; font-size: 11px; }
  .ticket-title { font-size: clamp(34px, 10vw, 44px); line-height: 1.12; }
  .ticket-text { font-size: 14px; line-height: 1.58; }
  .ticket-data { grid-template-columns: 1fr; }
  .ticket-data span { font-size: 31px; }
  .summary-pass { padding: 20px; border-radius: 24px; }
  .pass-top { flex-direction: column; align-items: flex-start; }
  .pass-chip { white-space: normal; }
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; }
}
@media (max-width: 390px) {
  .shell { padding: 16px 12px 18px; }
  h1 { font-size: clamp(38px, 12.4vw, 50px); }
  h2 { font-size: clamp(36px, 11.2vw, 46px); }
  .subtitle, .place-desc { font-size: 13px; }
  .icon { width: 40px; height: 40px; }
  .ticket { min-height: 410px; }
  .ticket-inner, .ticket-face { min-height: 410px; }
}

/* v5: аккуратная мобильная версия */
@media (max-width: 720px) {
  html, body { width: 100%; overflow-x: hidden; }
  body {
    background:
      radial-gradient(circle at 12% 0%, rgba(255,255,255,.92), transparent 26%),
      radial-gradient(circle at 95% 12%, rgba(255,224,237,.78), transparent 30%),
      linear-gradient(160deg, #fff9fc 0%, #fae7ef 58%, #f6dbe7 100%);
  }

  .artist-bg, .photo-stack, .bg-word { display: none !important; }

  .page {
    display: block;
    min-height: 100dvh;
    padding: max(8px, env(safe-area-inset-top)) 8px max(12px, env(safe-area-inset-bottom));
  }

  .shell {
    width: 100%;
    min-height: calc(100dvh - 20px);
    padding: 16px 13px 18px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,250,252,.72));
  }

  .shell::before { width: 118px; height: 118px; right: -42px; top: -34px; opacity: .55; }
  .shell::after { width: 92px; height: 92px; left: -36px; bottom: -30px; opacity: .55; }
  .shell-outline { inset: 8px; border-radius: 18px; opacity: .85; }

  .topbar { grid-template-columns: 1fr; gap: 10px; margin-bottom: 18px; }
  .badge {
    width: fit-content;
    max-width: 100%;
    padding: 9px 11px;
    font-size: 9.5px;
    letter-spacing: .09em;
    white-space: normal;
    line-height: 1.25;
  }
  .progress { width: 100%; height: 7px; }
  .step-count { font-size: 11px; justify-self: start; }

  .step { min-height: auto; justify-content: flex-start; }
  .grid-main, .grid-two { display: block; }

  .eyebrow {
    max-width: 100%;
    padding: 7px 10px;
    font-size: 10.5px;
    letter-spacing: .06em;
    line-height: 1.25;
    white-space: normal;
  }

  h1 {
    margin-top: 12px;
    max-width: 100%;
    font-size: clamp(38px, 12.2vw, 50px);
    line-height: 1.06;
    letter-spacing: -.02em;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(36px, 11.2vw, 46px);
    line-height: 1.08;
    letter-spacing: -.02em;
  }

  .subtitle {
    margin-top: 12px;
    max-width: 100%;
    font-size: 13.5px;
    line-height: 1.58;
  }

  .note-block {
    width: 100%;
    margin-top: 14px;
    padding: 13px 14px;
    border-radius: 18px;
    font-size: 13px;
    line-height: 1.5;
  }

  .signature { margin-top: 12px; font-size: 13px; }
  .signature span { font-size: 23px; }

  .button-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    width: 100%;
    min-height: 190px;
    margin-top: 20px;
    padding: 4px 4px 34px;
    align-items: start;
    overflow: visible;
  }

  .button-row .primary {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
  }

  .btn {
    width: 100%;
    min-height: 48px;
    padding: 13px 15px;
    font-size: 13.5px;
    line-height: 1.25;
  }

  .btn.wide { width: 100%; margin-top: 18px; }
  .escape-btn { min-width: 0; }

  .escape-btn small {
    top: calc(100% + 7px);
    max-width: 142px;
    padding: 6px 8px;
    font-size: 10.5px;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
  }

  .back-btn { margin: 0 0 12px; padding: 9px 12px; font-size: 13px; }
  .side-cards { display: none !important; }

  .place-area { margin-top: 18px; max-width: 100%; }

  .car-disabled {
    min-height: auto;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px;
    border-radius: 19px;
  }

  .car-disabled .mini-note { font-size: 12.5px; line-height: 1.35; }

  .car-disabled::after {
    grid-column: 2;
    position: static;
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin-top: 8px;
    padding: 6px 9px;
    opacity: 1;
    transform: none;
    font-size: 11px;
    line-height: 1.2;
  }

  .car-disabled:hover, .car-disabled:focus { opacity: .82; filter: none; }

  .place-list { margin-top: 11px; gap: 11px; }

  .place-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    min-height: 76px;
    padding: 14px;
    border-radius: 19px;
  }

  .icon { width: 40px; height: 40px; border-radius: 13px; font-size: 18px; }
  .place-title { display: block; font-size: 14px; line-height: 1.25; }
  .place-desc { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.35; }

  .ticket { width: 100%; min-height: 390px; margin-top: 18px; }
  .ticket-inner, .ticket-face { min-height: 390px; }

  .ticket-face {
    display: flex;
    flex-direction: column;
    padding: 18px;
    border-radius: 22px;
  }

  .ticket-face::before, .ticket-face::after { width: 26px; height: 26px; }
  .ticket-face::before { left: -13px; }
  .ticket-face::after { right: -13px; }

  .ticket-kicker {
    display: grid;
    gap: 4px;
    font-size: 10px;
    letter-spacing: .09em;
    line-height: 1.25;
  }

  .ticket-title {
    margin-top: 14px;
    font-size: clamp(32px, 9.6vw, 41px);
    line-height: 1.13;
  }

  .ticket-text {
    margin-top: 10px;
    max-width: 100%;
    font-size: 13px;
    line-height: 1.52;
  }

  .ticket-front .btn { margin-top: auto; }

  .ticket-data {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .ticket-data div { padding: 12px 13px; border-radius: 16px; }
  .ticket-data b { font-size: 10px; }
  .ticket-data span { font-size: 28px; }

  .summary-pass {
    width: 100%;
    margin-top: 18px;
    padding: 18px;
    border-radius: 22px;
  }

  .pass-top { display: grid; gap: 11px; margin-bottom: 14px; }
  .pass-label { font-size: 10px; }
  .pass-title { font-size: clamp(31px, 9.4vw, 40px); line-height: 1.08; }

  .pass-chip {
    width: fit-content;
    max-width: 100%;
    padding: 8px 10px;
    font-size: 10px;
    line-height: 1.25;
    white-space: normal;
  }

  .summary-list { gap: 10px; }
  .summary-item { padding: 12px 13px; border-radius: 16px; }
  .summary-item b { font-size: 10px; }
  .summary-item span { font-size: 14px; line-height: 1.35; }

  .actions { display: grid; gap: 10px; margin-top: 16px; }
  .actions .btn { width: 100%; }
  .link-btn { min-height: 42px; font-size: 13px; }
}

@media (max-width: 390px) {
  .shell { padding: 15px 11px 17px; }
  h1 { font-size: clamp(35px, 11.8vw, 45px); }
  h2 { font-size: clamp(33px, 10.6vw, 42px); }
  .subtitle, .note-block { font-size: 12.8px; }
  .button-row { min-height: 198px; }
  .ticket { min-height: 415px; }
  .ticket-inner, .ticket-face { min-height: 415px; }
  .ticket-title { font-size: clamp(30px, 9.2vw, 38px); }
}
