/**
 * StarLive BAT Edition Design System (ByteDance × Tencent × Alibaba)
 * 1. 字节系：动态应援色极光场 (--brand-star-accent) + 弹性过冲微交互
 * 2. 阿里系：大麦/淘票票双舱打孔纪念票根 (.ticket-stub-card) + 票档色阶聚光灯
 * 3. 腾讯系：0.5px 光学内高光毛玻璃 + 微信级未登录隐私留白 + QQ音乐黑胶流光数字通行证 (.vip-pass-card)
 */

:root {
  --bg-canvas: #090C14;
  --bg-surface-1: #121826;
  --bg-surface-2: #1C2539;
  --bg-glass: rgba(18, 24, 38, 0.78);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  /* 动态应援主色（随所选明星实时切换） */
  --brand-star-accent: #3B82F6;
  --accent-primary: #3B82F6;
  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;
  --accent-danger: #EF4444;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.16);
  --shadow-card: inset 0 1px 1px 0 rgba(255, 255, 255, 0.08), 0 8px 24px -4px rgba(0, 0, 0, 0.42);

  /* 物理动效曲线库 */
  --ease-fluid-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-micro: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-overshoot: cubic-bezier(0.34, 1.56, 0.64, 1);

  --topbar-h: 60px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html, body {
  min-height: 100%;
  min-height: 100dvh;
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 铁律：数字强制等宽，防跳动重排 */
.tabular {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* 字节汽水音乐风：顶部动态应援色极光背景场 */
.ambient-aura {
  position: fixed;
  top: -180px;
  left: 50%;
  width: 960px;
  height: 420px;
  transform: translate3d(-50%, 0, 0);
  background: radial-gradient(ellipse at center, var(--brand-star-accent) 0%, rgba(9, 12, 20, 0) 70%);
  opacity: 0.18;
  filter: blur(64px);
  pointer-events: none;
  z-index: 0;
  transition: background 450ms var(--ease-fluid-out);
}

.modern-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-lg);
}

/* ==================== 模块 ①：字节系沉浸唱片风「首次进入选星门户」 ==================== */
.onboarding-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 12, 20, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: gateEnter 320ms var(--ease-fluid-out) both;
}

@keyframes gateEnter {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.onboarding-card {
  width: 100%;
  max-width: 820px;
  padding: 36px;
  background: rgba(18, 24, 38, 0.92);
  border: 1px solid var(--border-highlight);
}

.onboarding-card__header {
  text-align: center;
  margin-bottom: 28px;
}

.onboarding-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.38);
  color: #60A5FA;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.onboarding-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.onboarding-subtitle {
  color: var(--text-secondary);
  font-size: 14px;
}

.artist-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.artist-option-card {
  position: relative;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(18, 24, 38, 0.65) 100%);
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  transition: transform 200ms var(--ease-overshoot), border-color 180ms ease, box-shadow 180ms ease;
}

.artist-option-card:hover {
  border-color: var(--star-color, #3B82F6);
  transform: translate3d(0, -3px, 0) scale(1.01);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.55);
}

.artist-option-card:active {
  transform: scale(0.96);
}

.artist-option-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--star-color, #3B82F6);
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 6px 16px rgba(0, 0, 0, 0.35);
}

.artist-option-card__body {
  flex: 1;
  min-width: 0;
}

.artist-option-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.artist-option-card__name {
  font-size: 19px;
  font-weight: 800;
}

.artist-option-card__count {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  font-weight: 600;
  color: #93C5FD;
}

.artist-option-card__tour {
  font-size: 13px;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 3px;
}

.artist-option-card__tag {
  font-size: 12px;
  color: var(--text-secondary);
}

.artist-option-card--more {
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  cursor: default;
  opacity: 0.88;
}

.artist-option-card--more:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.3);
}

.artist-option-card__avatar--more {
  background: rgba(255, 255, 255, 0.06);
  color: #FBBF24;
  box-shadow: none;
  font-size: 26px;
}

.onboarding-footer {
  margin-top: 24px;
  text-align: center;
}

.onboarding-hint {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==================== 顶部全局栏 ==================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--topbar-h);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(9, 12, 20, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.brand-logo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.brand-info {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.brand-info__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-info__tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(59, 130, 246, 0.16);
  color: #60A5FA;
}

.current-star-pill {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border-highlight);
  background: var(--bg-surface-1);
  color: var(--text-primary);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 150ms var(--ease-micro), background-color 150ms var(--ease-micro);
}

.current-star-pill:hover {
  background: var(--bg-surface-2);
}

.current-star-pill:active {
  transform: scale(0.96);
}

.current-star-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-star-accent);
  box-shadow: 0 0 8px var(--brand-star-accent);
}

.current-star-pill__label {
  color: var(--text-secondary);
  font-size: 12px;
}

.viewport-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
}

.vp-btn {
  min-height: 32px;
  padding: 0 12px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 150ms var(--ease-micro), background-color 150ms var(--ease-micro), color 150ms var(--ease-micro);
}

.vp-btn.is-active {
  background: var(--bg-surface-2);
  color: var(--text-primary);
}

.device-indicator {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  color: #60A5FA;
}

/* ==================== 跨端主布局容器 ==================== */
.viewport-frame-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: calc(100vh - var(--topbar-h));
  min-height: calc(100dvh - var(--topbar-h));
  display: flex;
  justify-content: center;
}

.viewport-frame-wrapper[data-device="pad"] {
  padding: 20px;
}

.viewport-frame-wrapper[data-device="pad"] .app-layout {
  width: 880px;
  max-width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 16px;
  background: #0C111C;
}

.viewport-frame-wrapper[data-device="mobile"] {
  padding: 20px 12px;
}

.viewport-frame-wrapper[data-device="mobile"] .app-layout {
  width: 396px;
  max-width: 100%;
  border: 3px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  padding: 12px 12px 76px 12px;
  background: #0C111C;
  position: relative;
}

.app-layout {
  width: 100%;
  max-width: 1480px;
  padding: 20px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

/* ==================== 主导航栏 ==================== */
.primary-nav {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: calc(var(--topbar-h) + 20px);
}

.nav-item {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 150ms var(--ease-micro), background-color 150ms var(--ease-micro), color 150ms var(--ease-micro);
}

.nav-item svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.nav-item:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav-item:active {
  transform: scale(0.97);
}

.nav-item.is-active {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(59, 130, 246, 0.42);
  color: #60A5FA;
}

.nav-item--star {
  margin-top: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 8px;
}

/* ==================== 主内容视图 ==================== */
.main-content {
  min-width: 0;
}

.tab-view {
  display: none;
  flex-direction: column;
  gap: 24px;
  animation: viewFade 240ms var(--ease-fluid-out) both;
}

.tab-view.is-active {
  display: flex;
}

@keyframes viewFade {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ==================== 模块 ②：首页 & 阿里大麦风「双舱打孔纪念票根」 ==================== */
.tour-hero {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(18, 24, 38, 0.75) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.tour-hero__main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.tour-hero__avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--brand-star-accent);
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}

.tour-hero__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.tour-hero__title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tour-hero__badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pill-tag {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.pill-tag--accent {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.42);
  color: #60A5FA;
}

.tour-hero__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-switch-star {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border-highlight);
  background: var(--bg-surface-1);
  color: var(--text-primary);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 150ms var(--ease-micro), background-color 150ms ease;
  flex-shrink: 0;
}

.btn-switch-star:hover {
  background: var(--bg-surface-2);
}

.btn-switch-star:active {
  transform: scale(0.96);
}

.btn-add-stop {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.16);
  color: #34D399;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 150ms var(--ease-micro), background-color 150ms ease;
  flex-shrink: 0;
}

.btn-add-stop:hover {
  background: rgba(16, 185, 129, 0.28);
}

.btn-add-stop:active {
  transform: scale(0.96);
}

.smart-paste-box {
  padding: 12px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px dashed rgba(59, 130, 246, 0.35);
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.smart-paste-label {
  font-size: 12px;
  font-weight: 700;
  color: #93C5FD;
}

.smart-textarea {
  min-height: 54px;
  font-size: 12.5px;
  line-height: 1.45;
  resize: vertical;
}

.btn-parse-smart {
  align-self: flex-start;
  height: 32px;
  padding: 0 12px;
  font-size: 11.5px;
  border-color: rgba(59, 130, 246, 0.4);
  color: #60A5FA;
}

.schedule-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}

.section-header__left {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.status-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-pulse--upcoming {
  background: var(--accent-emerald);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.85);
}

.status-pulse--completed {
  background: var(--text-muted);
}

.section-header__title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.section-header__count {
  font-size: 15px;
  font-weight: 800;
  color: #34D399;
}

.status-pulse--completed + .section-header__title + .section-header__count {
  color: var(--text-secondary);
}

.section-header__note {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* 阿里大麦 & 淘票票风：双舱打孔纪念票根网格 */
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ticket-stub-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(18, 24, 38, 0.72) 100%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  border-radius: 16px;
  overflow: hidden;
  animation: viewFade 280ms var(--ease-fluid-out) both;
  animation-delay: calc(var(--stagger-idx, 0) * 35ms);
  transition: transform 200ms var(--ease-fluid-out), border-color 200ms ease, opacity 200ms ease;
}

.ticket-stub-card:hover {
  transform: translate3d(0, -3px, 0);
  border-color: var(--border-highlight);
  opacity: 1;
}

.ticket-stub-card--upcoming {
  border-color: rgba(16, 185, 129, 0.38);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(18, 24, 38, 0.78) 70%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 8px 24px -4px rgba(16, 185, 129, 0.12);
}

.ticket-stub-card--completed {
  opacity: 0.88;
}

.ticket-stub-card__main {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.ticket-stub-card__header {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ticket-city-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticket-city {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.ticket-status-pill {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ticket-status-pill--upcoming {
  background: rgba(16, 185, 129, 0.16);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.38);
}

.ticket-status-pill--completed {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.ticket-venue {
  font-size: 14.5px;
  font-weight: 700;
  color: #60A5FA;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.ticket-meta__sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
}

.ticket-highlight {
  font-size: 12px;
  color: #CBD5E1;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  line-height: 1.45;
}

/* 票根副券舱 */
.ticket-stub-card__stub {
  position: relative;
  border-left: 1px dashed rgba(255, 255, 255, 0.16);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  background: rgba(9, 12, 20, 0.32);
}

.ticket-stub-card__stub::before,
.ticket-stub-card__stub::after {
  content: '';
  position: absolute;
  left: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  pointer-events: none;
  z-index: 2;
}

.ticket-stub-card__stub::before {
  top: -10px;
}

.ticket-stub-card__stub::after {
  bottom: -10px;
}

.stub-shows-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stub-shows-num {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}

.stub-action-btn {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 150ms var(--ease-micro), opacity 150ms ease;
}

.stub-action-btn--upcoming {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.28);
}

.stub-action-btn--completed {
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93C5FD;
}

.stub-action-btn:active {
  transform: scale(0.96);
}

/* ==================== 模块 ③：探索 (双层分级控制中枢 + 情境驱动 FSM) ==================== */
.explore-header-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Level 1: 顶层主控制栏 (场馆选择 + 模式切换) */
.explore-master-bar {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.master-bar__venue {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 240px;
  min-width: 0;
}

/* Level 2: 坐席定位子栏 (仅在「座位视角」下展开于切换器正下方！) */
.seat-sub-bar {
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(18, 24, 38, 0.94);
  border: 1px solid rgba(16, 185, 129, 0.42);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  animation: subBarSlideDown 240ms var(--ease-fluid-out) both;
}

@keyframes subBarSlideDown {
  from {
    opacity: 0;
    transform: translate3d(0, -8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.seat-sub-bar__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.seat-sub-badge {
  font-size: 12.5px;
  font-weight: 700;
  color: #34D399;
  white-space: nowrap;
}

.bar-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.bar-select {
  flex: 1;
  min-width: 120px;
  height: 38px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid var(--border-highlight);
  background: var(--bg-surface-1);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  outline: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar-select--zone {
  flex: 2 1 200px;
}

.bar-num-wrap {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 8px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-1);
  gap: 4px;
}

.bar-num {
  width: 38px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  outline: none;
}

.bar-unit {
  font-size: 12px;
  color: var(--text-muted);
}

.bar-go-btn {
  height: 38px;
  padding: 0 16px;
  border: none;
  border-radius: 9px;
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.35);
  transition: transform 150ms var(--ease-micro), opacity 150ms ease;
}

.bar-go-btn:active {
  transform: scale(0.96);
}

.explore-bar__mode {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 3px;
  border-radius: 9px;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.mode-pill {
  height: 34px;
  padding: 0 14px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.mode-pill.is-active {
  background: var(--accent-primary);
  color: #FFFFFF;
}

.explore-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
  transition: grid-template-columns 320ms var(--ease-fluid-out);
}

/* 核心架构特性：座位视角下舞台自动扩展为全画幅宽屏巨幕 */
.explore-workspace--full {
  grid-template-columns: 1fr !important;
}

.render-stage {
  position: relative;
  overflow: hidden;
  background: #070A12;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

/* 顶部单一极简状态胶囊栏 */
.stage-top-bar {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  z-index: 12;
  display: flex;
  justify-content: flex-start;
  pointer-events: none;
}

.stage-title-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(12, 17, 29, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: #E2E8F0;
}

.stage-title-pill__sep {
  color: var(--text-muted);
}

.stage-title-pill__song {
  color: #60A5FA;
  font-weight: 600;
}

/* 第一人称座位视角专属：规整两行磨砂测距微卡片 (彻底消除 3 行 sausage 胶囊与重复数字) */
.pov-hud-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(12, 17, 29, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  min-width: 260px;
  max-width: 420px;
}

.pov-hud-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pov-hud-card__seat {
  font-size: 13.5px;
  font-weight: 800;
  color: #34D399;
  white-space: nowrap;
}

.pov-hud-card__price {
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 4px;
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.38);
  color: #FBBF24;
  white-space: nowrap;
}

.pov-hud-card__metrics {
  font-size: 11.5px;
  color: #CBD5E1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.canvas-wrapper {
  width: 100%;
  height: 480px;
  position: relative;
}

.venue-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
}

.venue-canvas:active {
  cursor: grabbing;
}

.venue-2d-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 16px 20px 16px;
}

.venue-2d-svg {
  width: 100%;
  max-width: 720px;
  max-height: 440px;
}

/* 座位视角底部：iOS 相机风变焦轮盘 + 右侧双按钮 */
.pov-bottom-dock {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 14;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  pointer-events: none;
}

.zoom-dial,
.pov-quick-btns,
.orbit-bottom-dock {
  pointer-events: auto;
}

.zoom-dial {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(9, 12, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.zoom-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: transform 200ms var(--ease-overshoot), background-color 150ms ease, color 150ms ease;
}

.zoom-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.12);
}

.zoom-btn.is-active {
  background: #F59E0B;
  color: #090C14;
  border-color: #FDE68A;
  transform: scale(1.12);
}

.pov-quick-btns {
  display: inline-flex;
  gap: 6px;
}

.orbit-bottom-dock {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 14;
  display: inline-flex;
  gap: 6px;
}

.cam-mini-btn {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 150ms var(--ease-micro), background-color 150ms ease;
}

.cam-mini-btn:hover {
  background: var(--bg-surface-2);
}

.cam-mini-btn:active {
  transform: scale(0.95);
}

.cam-mini-btn--exit {
  border-color: rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
}

/* 右侧紧凑 7 档票价栏 */
.venue-inspector {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inspector-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.inspector-title {
  font-size: 15px;
  font-weight: 800;
}

.inspector-tip {
  font-size: 11px;
  color: var(--text-muted);
}

.tier-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-card {
  padding: 9px 11px;
  border-radius: 10px;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 150ms var(--ease-micro), border-color 150ms ease, background-color 150ms ease;
}

.tier-card:hover,
.tier-card.is-highlighted {
  border-color: var(--tier-color, #3B82F6);
  background: rgba(255, 255, 255, 0.05);
  transform: translate3d(2px, 0, 0);
}

.tier-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.tier-card__name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  min-width: 0;
}

.tier-swatch {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--tier-color, #3B82F6);
  flex-shrink: 0;
}

.tier-card__price {
  padding: 1px 7px;
  border-radius: 5px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.32);
  font-size: 11.5px;
  font-weight: 800;
  color: #FBBF24;
  white-space: nowrap;
  flex-shrink: 0;
}

.tier-card__codes {
  font-size: 11px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.schematic-preview {
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.schematic-preview__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.schematic-preview__img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  display: block;
}

/* ==================== 模块 ④：我的 (腾讯 QQ音乐黑胶流光通行证 & 微信隐私态) ==================== */
.profile-container {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}

/* 我的页面内嵌：追星艺人与切换设置卡片 */
.profile-star-card {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(18, 24, 38, 0.85) 100%);
  border: 1px solid var(--border-highlight);
}

.profile-star-card__left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-star-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-star-accent);
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
  flex-shrink: 0;
}

.profile-star-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-star-label {
  font-size: 11px;
  font-weight: 700;
  color: #60A5FA;
}

.profile-star-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
}

.profile-star-tour {
  font-size: 12px;
  color: var(--text-secondary);
}

.btn-switch-star-my {
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.vip-pass-card {
  position: relative;
  padding: 30px;
  border-radius: 22px;
  background: linear-gradient(135deg, #162038 0%, #0E1525 55%, #1D2846 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.18),
    0 20px 50px -10px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vip-pass-card__shimmer {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: passShimmer 6s infinite;
  pointer-events: none;
}

@keyframes passShimmer {
  0% {
    transform: translate3d(0, 0, 0) skewX(-25deg);
  }
  40%, 100% {
    transform: translate3d(420%, 0, 0) skewX(-25deg);
  }
}

.vip-pass-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vip-pass-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vip-pass-brand__chip {
  width: 38px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.vip-pass-brand__title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #FDE68A;
}

.vip-pass-brand__sub {
  font-size: 11px;
  color: var(--text-secondary);
}

.vip-pass-status {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.42);
  color: #34D399;
  font-size: 11px;
  font-weight: 700;
}

.vip-pass-card__body {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-avatar {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--brand-star-accent) 0%, #8B5CF6 100%);
  font-size: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 10px 26px rgba(0, 0, 0, 0.4);
}

.profile-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-info__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.profile-info__nickname {
  font-size: 24px;
  font-weight: 800;
}

.uid-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.uid-code {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(9, 12, 20, 0.65);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #93C5FD;
  font-size: 14px;
  font-weight: 700;
}

.uid-copy-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border-highlight);
  background: var(--bg-surface-2);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.vip-pass-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.unauth-card {
  padding: 32px;
}

.unauth-card__header {
  margin-bottom: 22px;
}

.unauth-card__title {
  font-size: 22px;
  font-weight: 800;
  margin: 10px 0 6px 0;
}

.unauth-card__desc {
  font-size: 13px;
  color: var(--text-secondary);
}

.login-form,
.upload-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-1);
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
}

.form-input:focus {
  border-color: var(--accent-primary);
}

.avatar-picker {
  display: flex;
  gap: 10px;
}

.avatar-option {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-1);
  font-size: 22px;
  cursor: pointer;
  transition: transform 150ms var(--ease-overshoot), border-color 150ms ease;
}

.avatar-option.is-selected {
  border-color: var(--accent-primary);
  background: rgba(59, 130, 246, 0.2);
  transform: scale(1.08);
}

/* ==================== 弹窗 Modal 与 Toast ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(9, 12, 20, 0.84);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  width: 100%;
  max-width: 560px;
  padding: 24px;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-highlight);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.toast-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast-item {
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(18, 24, 38, 0.96);
  border: 1px solid var(--border-highlight);
  color: var(--text-primary);
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

/* ==================== PAD 平板端响应式适配 (768px~1023px 或 data-device="pad") ==================== */
@media (max-width: 1023px) and (min-width: 768px) {
  .app-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .primary-nav {
    position: static;
    flex-direction: row;
  }

  .nav-item {
    flex: 1;
    justify-content: center;
  }

  .nav-item--star {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
  }

  .explore-workspace {
    grid-template-columns: 1fr;
  }
}

.viewport-frame-wrapper[data-device="pad"] .app-layout {
  grid-template-columns: 1fr;
  gap: 16px;
}

.viewport-frame-wrapper[data-device="pad"] .primary-nav {
  position: static;
  flex-direction: row;
}

.viewport-frame-wrapper[data-device="pad"] .nav-item {
  flex: 1;
  justify-content: center;
}

.viewport-frame-wrapper[data-device="pad"] .nav-item--star {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.viewport-frame-wrapper[data-device="pad"] .explore-workspace {
  grid-template-columns: 1fr;
}

/* ==================== MOBILE 手机端响应式适配 (<768px 或 data-device="mobile") ==================== */
@media (max-width: 767px) {
  .topbar {
    padding: 0 12px;
  }

  .brand-info__tag,
  .viewport-switcher,
  .device-indicator {
    display: none;
  }

  .app-layout {
    grid-template-columns: 1fr;
    padding: 12px 12px 84px 12px;
  }

  .primary-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    top: auto;
    z-index: 90;
    flex-direction: row;
    padding: 6px;
    background: rgba(15, 23, 42, 0.94);
  }

  .nav-item {
    flex: 1;
    flex-direction: column;
    gap: 3px;
    font-size: 11px;
    padding: 6px 4px;
    min-height: 50px;
  }

  .nav-item--star {
    margin-top: 0;
    border-top: none;
    padding-top: 6px;
  }

  .artist-select-grid,
  .ticket-grid,
  .explore-workspace,
  .form-row {
    grid-template-columns: 1fr;
  }

  .ticket-stub-card {
    grid-template-columns: 1fr;
  }

  .ticket-stub-card__main {
    padding: 16px;
    gap: 8px;
  }

  .ticket-stub-card__stub {
    border-left: none;
    border-top: 1px dashed rgba(255, 255, 255, 0.16);
    flex-direction: row;
    padding: 12px 16px;
    justify-content: space-between;
  }

  .ticket-stub-card__stub::before {
    top: -9px;
    left: -9px;
    bottom: auto;
    right: auto;
  }

  .ticket-stub-card__stub::after {
    top: -9px;
    right: -9px;
    left: auto;
    bottom: auto;
  }

  .stub-action-btn {
    width: auto;
    min-height: 36px;
    padding: 0 16px;
  }

  .tour-hero {
    padding: 14px 16px;
    gap: 12px;
  }

  .tour-hero__title {
    font-size: 17px;
  }

  .tour-hero__avatar {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 20px;
  }

  .explore-master-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 10px;
  }

  .master-bar__venue,
  .explore-bar__mode {
    flex: none;
    width: 100%;
  }

  .seat-sub-bar {
    padding: 10px 12px;
  }

  .seat-sub-bar__inner {
    gap: 8px;
  }

  .seat-sub-bar__inner .bar-go-btn {
    width: 100%;
    margin-top: 4px;
  }

  /* 解决 iOS Safari 表单聚焦时强制放大视口导致布局漂移的核心防线 */
  input, select, .bar-select, .bar-num, .seat-input, .form-input {
    font-size: 16px !important;
  }

  .stage-top-bar {
    top: 8px;
    left: 8px;
    right: 8px;
  }

  .stage-title-pill {
    padding: 5px 10px;
    font-size: 11px;
    gap: 4px;
    max-width: 100%;
    line-height: 1.35;
  }

  .pov-hud-card {
    padding: 6px 10px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .pov-hud-card__seat {
    font-size: 12.5px;
  }

  .pov-hud-card__metrics {
    font-size: 11px;
  }

  .canvas-wrapper {
    height: 320px;
  }

  .orbit-bottom-dock {
    bottom: 10px;
    right: 10px;
  }

  .pov-bottom-dock {
    bottom: 10px;
  }
}

.viewport-frame-wrapper[data-device="mobile"] .app-layout {
  grid-template-columns: 1fr;
}

.viewport-frame-wrapper[data-device="mobile"] .explore-workspace {
  grid-template-columns: 1fr;
  gap: 12px;
}

.viewport-frame-wrapper[data-device="mobile"] .render-stage {
  min-height: unset;
}

.viewport-frame-wrapper[data-device="mobile"] .canvas-wrapper {
  height: 320px;
}

.viewport-frame-wrapper[data-device="mobile"] .orbit-bottom-dock {
  bottom: 10px;
  right: 10px;
}

.viewport-frame-wrapper[data-device="mobile"] .pov-bottom-dock {
  bottom: 10px;
}

.viewport-frame-wrapper[data-device="mobile"] .stage-top-bar {
  top: 8px;
  left: 8px;
  right: 8px;
}

.viewport-frame-wrapper[data-device="mobile"] .stage-title-pill {
  padding: 5px 10px;
  font-size: 11px;
  gap: 4px;
  max-width: 100%;
  line-height: 1.35;
}

.viewport-frame-wrapper[data-device="mobile"] .pov-hud-card {
  padding: 6px 10px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.viewport-frame-wrapper[data-device="mobile"] .pov-hud-card__seat {
  font-size: 12.5px;
}

.viewport-frame-wrapper[data-device="mobile"] .pov-hud-card__metrics {
  font-size: 11px;
}

.viewport-frame-wrapper[data-device="mobile"] input,
.viewport-frame-wrapper[data-device="mobile"] select,
.viewport-frame-wrapper[data-device="mobile"] .bar-select,
.viewport-frame-wrapper[data-device="mobile"] .bar-num,
.viewport-frame-wrapper[data-device="mobile"] .seat-input,
.viewport-frame-wrapper[data-device="mobile"] .form-input {
  font-size: 16px !important;
}

.viewport-frame-wrapper[data-device="mobile"] .explore-master-bar {
  flex-direction: column;
  align-items: stretch;
  padding: 12px;
  gap: 10px;
}

.viewport-frame-wrapper[data-device="mobile"] .master-bar__venue,
.viewport-frame-wrapper[data-device="mobile"] .explore-bar__mode {
  flex: none;
  width: 100%;
}

.viewport-frame-wrapper[data-device="mobile"] .seat-sub-bar {
  padding: 10px 12px;
}

.viewport-frame-wrapper[data-device="mobile"] .seat-sub-bar__inner {
  gap: 8px;
}

.viewport-frame-wrapper[data-device="mobile"] .seat-sub-bar__inner .bar-go-btn {
  width: 100%;
  margin-top: 4px;
}

.viewport-frame-wrapper[data-device="mobile"] .primary-nav {
  position: sticky;
  bottom: 0;
  top: auto;
  z-index: 40;
  flex-direction: row;
  padding: 6px;
  background: rgba(15, 23, 42, 0.95);
  order: 2;
}

.viewport-frame-wrapper[data-device="mobile"] .nav-item {
  flex: 1;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
  padding: 6px 4px;
}

.viewport-frame-wrapper[data-device="mobile"] .nav-item--star {
  margin-top: 0;
  border-top: none;
  padding-top: 6px;
}

.viewport-frame-wrapper[data-device="mobile"] .ticket-grid,
.viewport-frame-wrapper[data-device="mobile"] .explore-workspace,
.viewport-frame-wrapper[data-device="mobile"] .form-row {
  grid-template-columns: 1fr;
}

.viewport-frame-wrapper[data-device="mobile"] .ticket-stub-card {
  grid-template-columns: 1fr;
}

.viewport-frame-wrapper[data-device="mobile"] .ticket-stub-card__main {
  padding: 16px;
  gap: 8px;
}

.viewport-frame-wrapper[data-device="mobile"] .ticket-stub-card__stub {
  border-left: none;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
  flex-direction: row;
  padding: 12px 16px;
  justify-content: space-between;
}

.viewport-frame-wrapper[data-device="mobile"] .ticket-stub-card__stub::before {
  top: -9px;
  left: -9px;
  bottom: auto;
  right: auto;
}

.viewport-frame-wrapper[data-device="mobile"] .ticket-stub-card__stub::after {
  top: -9px;
  right: -9px;
  left: auto;
  bottom: auto;
}

.viewport-frame-wrapper[data-device="mobile"] .stub-action-btn {
  width: auto;
  min-height: 36px;
  padding: 0 16px;
}

.viewport-frame-wrapper[data-device="mobile"] .tour-hero {
  padding: 14px 16px;
  gap: 12px;
}

.viewport-frame-wrapper[data-device="mobile"] .tour-hero__title {
  font-size: 17px;
}

.viewport-frame-wrapper[data-device="mobile"] .tour-hero__avatar {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 20px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
