:root {
  --bg: #06110a;
  --panel: #0c1a12;
  --panel-2: #12261a;
  --text: #e8f7ee;
  --muted: #8aa897;
  --free: #3ddc84;
  --busy: #d4534a;
  --offline: #5c6b75;
  --selected: #a8e63a;
  --border: rgba(232, 247, 238, 0.1);
  --comfort: #3DDC84;
  --vip: #A8E63A;
  --bootcamp: #62D2A2;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --accent: #3ddc84;
  --accent-2: #2bb86a;
  --ink: #041208;
  --map-aspect: 2;
  --seat-size: 5.8%;
  --radius: 16px;
  --font-display: "Fraunces", "Sora", serif;
  --font-body: "Sora", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  height: 100%;
  overflow: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.atmosphere-wash {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(55% 40% at 12% 0%, rgba(61, 220, 132, 0.22), transparent 60%),
    radial-gradient(45% 35% at 92% 8%, rgba(168, 230, 58, 0.12), transparent 55%),
    radial-gradient(50% 40% at 70% 100%, rgba(98, 210, 162, 0.1), transparent 55%),
    linear-gradient(180deg, #0a1a10 0%, var(--bg) 45%, #040a06 100%);
  animation: washDrift 14s var(--ease) infinite alternate;
}

.atmosphere-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(238, 246, 248, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 246, 248, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
}

.atmosphere-noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes washDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, 1.5%, 0) scale(1.04); }
}

#wizard, #app, #pc-sheet { position: relative; z-index: 1; }

/* [hidden] иначе перебивается #app { display:flex } в WebView */
#app[hidden],
#wizard[hidden],
#pc-sheet[hidden] {
  display: none !important;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--accent);
  line-height: 1.2;
}

.title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-top: 2px;
}

.subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
}

.eyebrow { /* legacy */
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 700;
}

#app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  animation: screenIn 380ms var(--ease) both;
}

@keyframes screenIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.topbar, .wizard-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px 10px;
  background: linear-gradient(180deg, rgba(8, 20, 30, 0.92), rgba(8, 20, 30, 0.55));
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  flex-shrink: 0;
}

.icon-btn, .wizard-back {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(238, 246, 248, 0.04);
  color: var(--text);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 160ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease);
}
.icon-btn:active, .wizard-back:active { transform: scale(0.94); }
.icon-btn:hover, .wizard-back:hover {
  background: rgba(242, 196, 90, 0.1);
  border-color: rgba(242, 196, 90, 0.35);
}

.legend {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  padding: 8px 14px;
  font-size: 11px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  flex-shrink: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: rgba(6, 16, 24, 0.45);
}
.legend::-webkit-scrollbar { display: none; }
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 10px;
  background: rgba(238, 246, 248, 0.03);
  border: 1px solid transparent;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot.free { background: var(--free); }
.dot.busy { background: #c46a3a; }
.dot.offline { background: var(--offline); }
.dot.selected { background: var(--selected); }
.dot.hall-comfort { background: var(--comfort); }
.dot.hall-vip { background: var(--vip); }
.dot.hall-bootcamp { background: var(--bootcamp); }

.map-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: rgba(4, 12, 18, 0.65);
  touch-action: pan-x pan-y;
  padding: 8px;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.zoom-controls {
  position: fixed;
  right: 12px;
  bottom: calc(86px + env(safe-area-inset-bottom));
  z-index: 8;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}

.zoom-btn {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(12, 26, 36, 0.92);
  color: var(--text);
  font-family: inherit;
  font-size: 18px;
  font-weight: 800;
  backdrop-filter: blur(10px);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms var(--ease), border-color 140ms var(--ease);
}
.zoom-btn:active { transform: scale(0.94); }
#zoom-reset { font-size: 12px; font-family: var(--font-mono); }

.map-frame {
  position: relative;
  width: min(100%, 980px);
  margin: 0 auto;
  aspect-ratio: var(--map-aspect);
  background: #0a151d;
  border-radius: var(--radius);
  overflow: visible;
  border: 1px solid rgba(238, 246, 248, 0.06);
  animation: mapIn 480ms var(--ease) both;
}

@keyframes mapIn {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.map-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  min-height: 0;
  pointer-events: none;
}

.map-fallback {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(44, 135, 253, 0.1), transparent 42%),
    linear-gradient(225deg, rgba(242, 196, 90, 0.08), transparent 40%),
    #0a151d;
}

.pc-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.zone-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  overflow: visible;
}

.zone-box {
  position: absolute;
  border-radius: 14px;
  box-sizing: border-box;
  overflow: visible;
}

.zone-badge {
  position: absolute;
  z-index: 5;
  padding: 4px 9px;
  border-radius: 9px;
  backdrop-filter: blur(8px);
  max-width: 42%;
  white-space: nowrap;
  pointer-events: none;
}

.zone-badge-vip {
  background: rgba(18, 28, 52, 0.94);
  border: 1.5px solid #6f8cff;
  color: #d5e0ff;
}
.zone-badge-bootcamp {
  background: rgba(42, 20, 36, 0.94);
  border: 1.5px solid #E85A9B;
  color: #ffd0e6;
}
.zone-badge-comfort {
  background: rgba(18, 35, 58, 0.92);
  border: 1px solid rgba(44, 135, 253, 0.7);
  color: #8ec2ff;
}

.zone-title {
  font-family: var(--font-display);
  font-size: clamp(9px, 1.2vw, 12px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.zone-badge.badge-inside { z-index: 6; }
.zone-sub { display: none; }

.zone-vip {
  background: rgba(111, 140, 255, 0.14);
  border: 3px solid #8aa4ff;
}
.zone-bootcamp {
  background: rgba(232, 90, 155, 0.14);
  border: 3px solid #ff7ab5;
}
.zone-comfort {
  background: rgba(44, 135, 253, 0.07);
  border: 2px solid rgba(44, 135, 253, 0.45);
}

@media (max-width: 720px) {
  .zone-box { border-radius: 12px; }
  .zone-vip, .zone-bootcamp { border-width: 3px; }
  .zone-badge { padding: 4px 8px; }
  .zone-title { font-size: 11px; }
}

.pc-marker {
  position: absolute;
  pointer-events: auto;
  border: 0;
  border-radius: 10px;
  width: 4.7%;
  height: 8%;
  font-family: var(--font-mono);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 2px 1px;
  overflow: visible;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 160ms var(--ease), outline 160ms var(--ease), filter 160ms var(--ease);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  animation: seatIn 420ms var(--ease) both;
}

.pc-num {
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.pc-tag {
  font-size: clamp(7px, 0.72vw, 9px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  opacity: 0.95;
  max-width: 98%;
  white-space: nowrap;
}
.pc-meta {
  font-size: clamp(6px, 0.72vw, 9px);
  font-weight: 700;
  line-height: 1.05;
  opacity: 0.95;
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
}

@keyframes seatIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.72); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.pc-marker.hall-comfort { background: linear-gradient(160deg, #57a6ff 0%, #2C87FD 55%, #1f6fd6 100%); }
.pc-marker.hall-vip { background: linear-gradient(160deg, #9eb0ff 0%, #6f8cff 55%, #5474e8 100%); }
.pc-marker.hall-bootcamp { background: linear-gradient(160deg, #ff8ec1 0%, #E85A9B 55%, #d14586 100%); }

.pc-marker.free { filter: saturate(1.05); }
.pc-marker.busy { cursor: pointer; filter: none; opacity: 1; }
.pc-marker.busy.kind-session {
  background: linear-gradient(160deg, #66717c, #3d4650) !important;
}
.pc-marker.busy.kind-booking {
  background: linear-gradient(160deg, #d07a42, #9d4e27) !important;
}
.pc-marker.busy .pc-meta { color: #ffe9c9; }
.pc-marker.offline {
  opacity: 0.7;
  cursor: pointer;
  background: linear-gradient(160deg, #55616c, #323940) !important;
}
.pc-marker.dimmed { opacity: 0.22; cursor: default; }
.pc-marker.selected {
  outline: 2.5px solid var(--selected);
  outline-offset: 2px;
  transform: translate(-50%, -50%) scale(1.1);
  z-index: 3;
  filter: saturate(1.15) brightness(1.05);
}
.pc-marker.free:active { transform: translate(-50%, -50%) scale(0.94); }

.status-bar {
  padding: 9px 14px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: rgba(8, 18, 26, 0.95);
  flex-shrink: 0;
  min-height: 36px;
}

.bottom-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: rgba(5, 12, 18, 0.96);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  backdrop-filter: blur(14px);
}

.selected-info {
  flex: 1;
  font-size: 13px;
  line-height: 1.35;
  color: var(--text);
  font-weight: 600;
}

.confirm-btn {
  border: 0;
  border-radius: 14px;
  padding: 13px 18px;
  min-width: 132px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--ink);
  transition: transform 160ms var(--ease), opacity 160ms var(--ease), filter 160ms var(--ease);
  position: relative;
  overflow: hidden;
}
.confirm-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: translateX(-120%);
}
.confirm-btn:not(:disabled):hover::after {
  animation: btnSheen 900ms var(--ease);
}
@keyframes btnSheen {
  to { transform: translateX(120%); }
}
.confirm-btn:not(:disabled):active { transform: scale(0.97); }
.confirm-btn:disabled {
  opacity: 0.38;
  filter: grayscale(0.45);
}

.hint-chip {
  display: none;
}

@media (max-width: 720px) {
  .topbar, .wizard-top { padding: 10px 14px 8px; }
  .title { font-size: 18px; }
  .brand-mark { font-size: 10px; letter-spacing: 0.24em; }
  .subtitle { font-size: 11px; }
  .icon-btn, .wizard-back { width: 38px; height: 38px; border-radius: 12px; }

  .legend {
    padding: 6px 10px;
    font-size: 10px;
    gap: 6px;
  }

  .map-wrap {
    padding: 26px 0 0;
    overscroll-behavior: contain;
  }

  .map-frame {
    height: calc(100% - 22px);
    min-height: calc(100% - 22px);
    width: auto;
    min-width: 100%;
    aspect-ratio: var(--map-aspect);
    max-width: none;
    margin: 0;
    border-radius: 0;
    border: 0;
    animation: none;
    overflow: visible;
  }

  .zoom-controls {
    right: 10px;
    bottom: calc(78px + env(safe-area-inset-bottom));
  }
  .zoom-btn {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .pc-marker { border-radius: 9px; gap: 0; padding: 1px; }
  .pc-num { font-size: 11px; }
  .pc-tag { font-size: 7px; }
  .pc-meta { font-size: 8px; letter-spacing: -0.02em; }

  .status-bar { font-size: 12px; padding: 9px 12px; }
  .bottom-bar { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .confirm-btn { min-width: 120px; padding: 12px 14px; }

  .hint-chip {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 7px;
    border-radius: 8px;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .pc-num { font-size: 10px; }
  .pc-tag { font-size: 6.5px; }
  .pc-meta { font-size: 7px; }
}

/* Bottom sheet */
.pc-sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}
.pc-sheet.open { pointer-events: auto; }

.pc-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 12, 0.62);
  opacity: 0;
  transition: opacity 220ms var(--ease);
}
.pc-sheet.open .pc-sheet-backdrop { opacity: 1; }

.pc-sheet-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(72vh, 520px);
  background: linear-gradient(180deg, #152937 0%, #0b151d 100%);
  border-radius: 22px 22px 0 0;
  border: 1px solid var(--border);
  border-bottom: 0;
  padding: 10px 16px calc(16px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform 280ms var(--ease);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.pc-sheet.open .pc-sheet-panel { transform: translateY(0); }

.pc-sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0 auto 4px;
}

.pc-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.pc-sheet-eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.pc-sheet-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-top: 2px;
}

.pc-sheet-close {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.pc-sheet-status {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.pc-sheet-section-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.pc-sheet-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.event-empty {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 0 4px;
}

.event-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.event-row.session { border-color: rgba(160, 175, 190, 0.25); }
.event-row.booking { border-color: rgba(208, 122, 66, 0.35); }

.event-tag {
  flex-shrink: 0;
  min-width: 52px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #e8f0f4;
}
.event-row.session .event-tag { background: rgba(120, 135, 150, 0.3); }
.event-row.booking .event-tag { background: rgba(208, 122, 66, 0.3); color: #ffd2a8; }

.event-title { font-size: 13px; font-weight: 700; }
.event-time {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  font-family: var(--font-mono);
}
.event-who {
  font-size: 12px;
  color: #c5d5df;
  margin-top: 4px;
}

/* —— Wizard —— */
body:has(#wizard:not([hidden])) {
  overflow: auto;
}

#wizard.wizard {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  animation: screenIn 420ms var(--ease) both;
}
#wizard[hidden] { display: none !important; }

.wizard-brand { min-width: 0; }

.wizard-progress {
  display: flex;
  gap: 5px;
  padding: 12px 16px 0;
}

.wiz-dot {
  flex: 1;
  height: 3px;
  border-radius: 8px;
  background: rgba(238, 246, 248, 0.08);
  transition: background 280ms var(--ease), transform 280ms var(--ease);
}
.wiz-dot.on {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleY(1.35);
}

.wizard-body {
  flex: 1;
  padding: 16px 16px 32px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.step-intro {
  margin-bottom: 14px;
  animation: stepIn 360ms var(--ease) both;
}
.step-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.step-intro p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.chip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  animation: stepIn 420ms var(--ease) both;
}
.chip-grid.times {
  grid-template-columns: repeat(4, 1fr);
}

.chip {
  text-align: left;
  padding: 15px 13px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(238, 246, 248, 0.05), rgba(238, 246, 248, 0.02));
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  transition:
    transform 160ms var(--ease),
    border-color 160ms var(--ease),
    background 160ms var(--ease);
  min-height: 56px;
}
.chip:active { transform: scale(0.975); }
.chip.selected,
.chip:hover {
  border-color: rgba(242, 196, 90, 0.55);
  background:
    linear-gradient(180deg, rgba(242, 196, 90, 0.16), rgba(242, 196, 90, 0.06));
}
.chip-sub {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.chip.time-chip {
  text-align: center;
  min-height: 48px;
  padding: 12px 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

.chip.club-chip {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 64px;
  padding: 16px;
}
.chip.club-chip .chip-label {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.chip.club-chip .chip-sub {
  margin-top: 0;
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: 8px;
  border: 1px solid rgba(238, 246, 248, 0.12);
  color: var(--muted);
  background: rgba(238, 246, 248, 0.05);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.chip.club-chip .chip-sub.ok {
  border-color: rgba(47, 190, 123, 0.4);
  color: #7dffb5;
  background: rgba(47, 190, 123, 0.1);
}
.chip.club-chip .chip-sub.low {
  border-color: rgba(242, 196, 90, 0.45);
  color: #ffd88a;
  background: rgba(242, 196, 90, 0.1);
}
.chip.club-chip .chip-sub.warn {
  border-color: rgba(255, 180, 168, 0.35);
  color: #ffb4a8;
  background: rgba(212, 83, 74, 0.1);
}

@media (max-width: 420px) {
  .chip-grid.times { grid-template-columns: repeat(3, 1fr); }
}

.custom-time {
  margin-top: 18px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(238, 246, 248, 0.03);
  animation: stepIn 480ms var(--ease) both;
}
.custom-time label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.custom-time-row {
  display: flex;
  gap: 8px;
}
.custom-time-row input {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-size: 16px;
  font-family: var(--font-mono);
}

.contact-form {
  animation: stepIn 380ms var(--ease) both;
}
.contact-form label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 6px;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(242, 196, 90, 0.55);
  background: rgba(242, 196, 90, 0.05);
}
.contact-form textarea { resize: vertical; min-height: 76px; }

.summary-card {
  padding: 14px 15px;
  border-radius: 16px;
  border: 1px solid rgba(242, 196, 90, 0.22);
  background:
    linear-gradient(135deg, rgba(242, 196, 90, 0.1), rgba(44, 135, 253, 0.06));
  font-weight: 700;
  margin-bottom: 4px;
}
.summary-card .sum-club {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.summary-card .muted,
.muted { color: var(--muted); font-weight: 500; font-size: 13px; margin-top: 4px; }

.confirm-btn.full { width: 100%; margin-top: 18px; min-width: 0; }
.confirm-btn.compact { width: auto; padding: 0 18px; height: 44px; min-width: 0; }

.wiz-loading, .wiz-error {
  padding: 36px 12px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  animation: stepIn 300ms var(--ease) both;
}
.wiz-loading::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 2px solid rgba(242, 196, 90, 0.2);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.wiz-error { color: #ffb4a8; }
.wiz-error[hidden] { display: none; }

.done-card {
  text-align: center;
  padding: 36px 8px 8px;
  animation: stepIn 420ms var(--ease) both;
}
.done-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  animation: popIn 480ms var(--ease) both;
}
.done-mark.pending {
  background: linear-gradient(135deg, #ffd27a, #e09a3c);
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: none; }
}
.done-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}
.done-cost {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}
