:root {
  color-scheme: dark;
}

[x-cloak] {
  display: none !important;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Space Grotesk", "Noto Sans Bengali", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.font-bengali {
  font-family: "Noto Sans Bengali", "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
}

.app-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 50% -30%, rgba(251, 191, 36, 0.12), transparent 55%),
    radial-gradient(90% 60% at 110% 110%, rgba(16, 185, 129, 0.08), transparent 60%),
    #020617;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  background: linear-gradient(145deg, #1e293b, #0b1220);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fbbf24;
  flex: none;
}

.lang-pill {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #e2e8f0;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.lang-pill:active,
.lang-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(251, 191, 36, 0.4);
}

.card {
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  border-radius: 1rem;
  background: linear-gradient(180deg, #fbbf24, #f59e0b);
  color: #431407;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1rem;
  box-shadow: 0 10px 30px -12px rgba(245, 158, 11, 0.55);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:disabled {
  opacity: 0.75;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.7rem 1.3rem;
}

.btn-secondary:active {
  background: rgba(255, 255, 255, 0.08);
}


@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}







.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.journey-empty {
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.02);
  padding: 1.75rem 1.25rem;
  text-align: center;
}

.quick-tile {
  position: relative;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  padding: 1rem 0.6rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  transition: background 0.15s ease;
}

.quick-tile:active,
.quick-tile:hover {
  background: rgba(255, 255, 255, 0.07);
}

.quick-tile-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.9rem;
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}


.lang-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  padding: 1.35rem 3.5rem 1.35rem 1.4rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.lang-card:active {
  transform: scale(0.98);
  border-color: rgba(251, 191, 36, 0.4);
}

.lang-card:hover {
  border-color: rgba(251, 191, 36, 0.4);
}

.lang-arrow {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: #475569;
  transition: color 0.15s ease;
}

.lang-card:hover .lang-arrow {
  color: #fbbf24;
}

.nav-shell {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.4rem;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.8);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  border-radius: 1.1rem;
  padding: 0.55rem 0.25rem;
  font-size: 0.68rem;
  color: #94a3b8;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-item-active {
  background: rgba(255, 255, 255, 0.08);
  color: #fbbf24;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
}

.chip-neutral {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.3);
}

.chip-success {
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.35);
}

.chip-warn {
  background: rgba(251, 191, 36, 0.12);
  color: #fcd34d;
  border-color: rgba(251, 191, 36, 0.4);
}

.chip-danger {
  background: rgba(244, 63, 94, 0.12);
  color: #fda4af;
  border-color: rgba(244, 63, 94, 0.4);
}

.chip-muted {
  background: rgba(100, 116, 139, 0.15);
  color: #94a3b8;
  border-color: rgba(100, 116, 139, 0.35);
}

.scan-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2rem;
  text-align: center;
}

.scan-ring {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  border: 3px solid rgba(251, 191, 36, 0.2);
  border-top-color: #fbbf24;
  animation: spin 0.9s linear infinite;
}

.flight-card-btn {
  display: block;
  width: 100%;
  text-align: left;
  border-radius: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  padding: 1rem 1.1rem;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.flight-card-btn:active {
  transform: scale(0.99);
  border-color: rgba(251, 191, 36, 0.4);
}

.flight-card-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(251, 191, 36, 0.4);
}

.error-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  border-radius: 1rem;
  border: 1px solid rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.1);
  color: #fecdd3;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  line-height: 1.5;
}

.info-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  border-radius: 1rem;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
  color: #fde68a;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  line-height: 1.5;
}

.route-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.route-code {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.now-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem;
  border: 1px solid rgba(251, 191, 36, 0.4);
  background: linear-gradient(165deg, rgba(251, 191, 36, 0.14), rgba(251, 191, 36, 0.03) 55%, rgba(255, 255, 255, 0.02));
  padding: 1.4rem 1.25rem;
  box-shadow: 0 18px 45px -22px rgba(245, 158, 11, 0.45);
}

.now-card-done {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(165deg, rgba(16, 185, 129, 0.14), rgba(255, 255, 255, 0.02));
  box-shadow: 0 18px 45px -22px rgba(16, 185, 129, 0.4);
}

.now-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fbbf24;
}

.tl {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tl-item {
  display: flex;
  gap: 0.85rem;
  position: relative;
  padding-bottom: 1.15rem;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-marker {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #64748b;
  flex: none;
  z-index: 1;
}

.tl-done .tl-marker {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
}

.tl-current .tl-marker {
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.14);
  color: #fbbf24;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.08);
}

.tl-line {
  position: absolute;
  left: 0.93rem;
  top: 2.05rem;
  bottom: 0.05rem;
  width: 2px;
  background: rgba(255, 255, 255, 0.07);
}

.tl-done .tl-line {
  background: rgba(16, 185, 129, 0.35);
}

.tl-label {
  padding-top: 0.32rem;
}

.count-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.count-cell {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 0.6rem;
  text-align: center;
}

.count-value {
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.terminal-map {
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b1220;
}

.tm-outline {
  fill: none;
  stroke: rgba(148, 163, 184, 0.35);
  stroke-width: 2;
}

.tm-zone {
  fill: rgba(30, 41, 59, 0.35);
  stroke: rgba(148, 163, 184, 0.18);
  stroke-width: 1.5;
}

.tm-zone-air {
  fill: rgba(16, 185, 129, 0.06);
  stroke: rgba(16, 185, 129, 0.25);
}

.tm-door {
  fill: #fbbf24;
  opacity: 0.8;
}

.tm-zone-label {
  fill: #64748b;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.tm-zone-sub {
  fill: #94a3b8;
  font-size: 15px;
  font-weight: 600;
}

.tm-block {
  fill: rgba(251, 191, 36, 0.07);
  stroke: rgba(251, 191, 36, 0.3);
  stroke-width: 1.5;
}

.tm-block-label {
  fill: rgba(251, 191, 36, 0.55);
  font-size: 34px;
  font-weight: 700;
}

.tm-counter {
  stroke: rgba(251, 191, 36, 0.4);
  stroke-width: 8;
  stroke-dasharray: 12 7;
  stroke-linecap: round;
}

.tm-imm {
  fill: rgba(56, 189, 248, 0.07);
  stroke: rgba(56, 189, 248, 0.3);
  stroke-width: 1.5;
}

.tm-sec {
  fill: rgba(244, 63, 94, 0.06);
  stroke: rgba(244, 63, 94, 0.28);
  stroke-width: 1.5;
}

.tm-route {
  fill: none;
  stroke: #fbbf24;
  stroke-width: 3.5;
  stroke-dasharray: 9 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
  animation: dashmove 1.4s linear infinite;
}

@keyframes dashmove {
  to {
    stroke-dashoffset: -32;
  }
}

.tm-dot {
  fill: #334155;
  stroke: #64748b;
  stroke-width: 1.5;
}

.tm-you {
  fill: #34d399;
}

.tm-you-pulse {
  fill: rgba(52, 211, 153, 0.25);
  animation: youpulse 2s ease-out infinite;
}

@keyframes youpulse {
  0% {
    opacity: 0.9;
  }
  70% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.tm-you-label {
  fill: #34d399;
  font-size: 15px;
  font-weight: 700;
  paint-order: stroke;
  stroke: #0b1220;
  stroke-width: 4px;
  stroke-linejoin: round;
}

.tm-target {
  fill: rgba(251, 191, 36, 0.2);
  stroke: #fbbf24;
  stroke-width: 2;
}

.tm-target-core {
  fill: #fbbf24;
}

.tm-label {
  fill: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
}

.tm-label-gate {
  fill: #e2e8f0;
}

.place-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.6rem 0.75rem;
  font-size: 0.78rem;
  color: #e2e8f0;
  transition: background 0.15s ease;
}

.place-row:active,
.place-row:hover {
  background: rgba(255, 255, 255, 0.07);
}

.step-row {
  display: flex;
  gap: 0.85rem;
  position: relative;
  padding-bottom: 1.1rem;
}

.step-row-line::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 1.9rem;
  bottom: 0.1rem;
  width: 2px;
  background: rgba(251, 191, 36, 0.25);
}

.step-num {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 700;
  flex: none;
  z-index: 1;
}

.signage {
  border-radius: 1.25rem;
  border: 2px solid rgba(251, 191, 36, 0.55);
  background: linear-gradient(160deg, #101a2e, #0a0f1e);
  padding: 1.1rem 1.25rem;
  box-shadow: 0 16px 40px -20px rgba(245, 158, 11, 0.5);
}

.signage-glass {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.signage-plane {
  width: 1.7rem;
  height: 1.7rem;
  color: #fbbf24;
  flex: none;
}

.signage-bn {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.35;
}

.signage-en {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 0.1rem;
}

.signage-arrow {
  width: 1.5rem;
  height: 1.5rem;
  color: #fbbf24;
  margin-left: auto;
  flex: none;
}







.suggestion-chip:active,
.suggestion-chip:hover {
  background: rgba(251, 191, 36, 0.18);
}







.voice-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.55rem 0.85rem;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.85);
}

.dock-mini-btn {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  flex: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.dock-mini-btn:active {
  background: rgba(255, 255, 255, 0.1);
}

.dock-mini-active {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
}

.dock-mini-end {
  border-color: rgba(244, 63, 94, 0.45);
  background: rgba(244, 63, 94, 0.1);
  color: #fda4af;
}

.dock-mini-end:active {
  background: rgba(244, 63, 94, 0.2);
}

.dock-mini-spacer {
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
}

.voice-mic-wrap {
  position: relative;
  width: 5.4rem;
  height: 5.4rem;
  display: grid;
  place-items: center;
  flex: none;
}

.voice-ring {
  position: absolute;
  inset: 0.45rem;
  border-radius: 9999px;
  border: 2px solid rgba(251, 191, 36, 0.4);
  opacity: 0;
  pointer-events: none;
}

.is-listening .voice-ring-1 {
  animation: voicering 1.8s ease-out infinite;
}

.is-listening .voice-ring-2 {
  animation: voicering 1.8s ease-out 0.9s infinite;
}

@keyframes voicering {
  0% {
    transform: scale(0.7);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.voice-mic {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fbbf24, #f59e0b);
  color: #431407;
  box-shadow: 0 14px 34px -12px rgba(245, 158, 11, 0.6);
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  z-index: 1;
}

.voice-mic:active {
  transform: scale(0.95);
}

.is-listening .voice-mic {
  background: linear-gradient(180deg, #fb7185, #e11d48);
  color: #fff8f8;
  box-shadow: 0 14px 34px -12px rgba(225, 29, 72, 0.65);
}

.is-thinking .voice-mic {
  background: linear-gradient(180deg, #475569, #334155);
  color: #cbd5e1;
  box-shadow: none;
}

.is-speaking .voice-mic {
  background: linear-gradient(180deg, #34d399, #059669);
  color: #052e1b;
  box-shadow: 0 14px 34px -12px rgba(5, 150, 105, 0.6);
}

.voice-caption {
  font-size: 0.75rem;
  color: #94a3b8;
}


.voice-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 0.9rem;
  margin-right: 0.4rem;
  vertical-align: middle;
}

.voice-bars span {
  width: 3px;
  border-radius: 2px;
  background: #6ee7b7;
  animation: voicebar 1s ease-in-out infinite;
}

.voice-bars span:nth-child(1) {
  height: 5px;
  animation-delay: 0s;
}

.voice-bars span:nth-child(2) {
  height: 11px;
  animation-delay: 0.12s;
}

.voice-bars span:nth-child(3) {
  height: 14px;
  animation-delay: 0.24s;
}

.voice-bars span:nth-child(4) {
  height: 9px;
  animation-delay: 0.36s;
}

.voice-bars span:nth-child(5) {
  height: 6px;
  animation-delay: 0.48s;
}

@keyframes voicebar {
  0%,
  100% {
    transform: scaleY(0.45);
    opacity: 0.6;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}




.kiosk-idle-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.kiosk-idle-overlay[hidden] {
  display: none;
}

.kiosk-idle-card {
  width: 100%;
  max-width: 22rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.95);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.85);
}

.toast-wrap {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 0.75rem);
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  border-radius: 1.1rem;
  border: 1px solid rgba(251, 191, 36, 0.4);
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.85rem 1rem;
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.85);
  animation: toastin 0.25s ease;
}

.toast-urgent {
  border-color: rgba(244, 63, 94, 0.6);
  box-shadow: 0 24px 48px -18px rgba(244, 63, 94, 0.45);
}

.toast-icon {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.8rem;
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  flex: none;
}

.toast-urgent .toast-icon {
  background: rgba(244, 63, 94, 0.18);
  color: #fda4af;
}

.toast-title {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fbbf24;
}

.toast-urgent .toast-title {
  color: #fda4af;
}

.toast-msg {
  margin-top: 0.2rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #e2e8f0;
}

.toast-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.toast-btn {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.3rem 0.65rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
}

.toast-btn:active {
  background: rgba(255, 255, 255, 0.08);
}

@keyframes toastin {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
}

.ops-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.45rem 0.8rem;
  transition: background 0.15s ease;
}

.ops-btn:hover,
.ops-btn:active {
  background: rgba(255, 255, 255, 0.1);
}

.ops-btn-go {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
}

.ops-btn-warn {
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.08);
  color: #fcd34d;
}

.ops-btn-urgent {
  border-color: rgba(244, 63, 94, 0.5);
  background: rgba(244, 63, 94, 0.12);
  color: #fda4af;
}

.ops-btn-danger {
  border-color: rgba(244, 63, 94, 0.4);
  color: #fda4af;
}

.ops-input {
  width: 100%;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(2, 6, 23, 0.6);
  color: #f1f5f9;
  font-size: 0.78rem;
  padding: 0.45rem 0.7rem;
}

.ops-input::placeholder {
  color: #64748b;
}

.ops-input-sm {
  max-width: 5rem;
}

.ops-inline {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-radius: 0.9rem;
  border: 1px dashed rgba(148, 163, 184, 0.25);
  padding: 0.6rem;
}








.assistant-stage {
  width: 100%;
  text-align: center;
}

.replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 9999px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
  color: #fcd34d;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.55rem 1.05rem;
  transition: background 0.15s ease;
}

.replay-btn:active {
  background: rgba(251, 191, 36, 0.18);
}

.session-stop-btn {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 63, 94, 0.45);
  background: rgba(244, 63, 94, 0.1);
  color: #fda4af;
  transition: background 0.15s ease;
}

.session-stop-btn:active {
  background: rgba(244, 63, 94, 0.2);
}

.session-stop-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

@media (min-width: 1024px) {
  .page-wide .app-shell,
  .page-wide .header-inner,
  .page-wide .nav-inner {
    max-width: 76rem;
  }
}
/* ============================================================
   NIGHT APPROACH — kiosk design system
   ============================================================ */

/* ---------- palette ---------- */
:root {
  --base: #050a09;
  --surface: rgba(16, 40, 34, 0.55);
  --surface-strong: rgba(9, 24, 20, 0.92);
  --hairline: rgba(110, 231, 183, 0.14);
  --text: #e6f0ec;
  --muted: #7b8f88;

  --accent: #10b981;
  --accent-ink: #a7f3d0;
  --accent-tint: rgba(6, 78, 59, 0.35);

  --beacon: #fbbf24;
  --beacon-ink: #fde68a;

  --cta-1: #fcd34d;
  --cta-2: #f59e0b;
  --cta-ink: #431407;

  --logo-1: #10352c;
  --logo-2: #06120e;
  --logo-ink: #fbbf24;
  --logo-border: rgba(52, 211, 153, 0.35);

  --aurora-1: rgba(16, 185, 129, 0.16);
  --aurora-2: rgba(251, 191, 36, 0.09);

  --orb-main-1: #6ee7b7;
  --orb-main-2: #10b981;
  --orb-main-3: #065f46;
  --orb-main-4: #032920;
  --orb-main-ink: #ecfdf5;

  --orb-bright-1: #a7f3d0;
  --orb-bright-2: #34d399;
  --orb-bright-3: #047857;
  --orb-bright-4: #022c22;
  --orb-bright-ink: #022c22;

  --orb-dim-1: #35564c;
  --orb-dim-2: #1f3b33;
  --orb-dim-3: #10201b;
  --orb-dim-ink: #9fb8af;

  --orb-beacon-1: #fde68a;
  --orb-beacon-2: #f59e0b;
  --orb-beacon-3: #b45309;
  --orb-beacon-4: #4a2503;
  --orb-beacon-ink: #2a1102;

  --glow-main: #10b981;
  --glow-beacon: #f59e0b;
}

/* ============================================================
   Component layer — everything consumes theme tokens
   ============================================================ */

body {
  color: var(--text);
  background-color: var(--base);
}

.app-bg {
  background:
    radial-gradient(90% 60% at 12% -10%, var(--aurora-1), transparent 60%),
    radial-gradient(80% 55% at 100% 110%, var(--aurora-2), transparent 65%),
    var(--base);
}

.app-header {
  border-bottom: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--base) 78%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px -24px rgba(0, 0, 0, 0.5);
}

.logo-mark {
  background: linear-gradient(150deg, var(--logo-1), var(--logo-2));
  border: 1px solid var(--logo-border);
  color: var(--logo-ink);
  box-shadow: 0 0 26px -8px color-mix(in srgb, var(--accent) 55%, transparent);
}

.lang-pill {
  border: 1px solid var(--hairline);
  background: var(--accent-tint);
  color: var(--text);
}

.lang-pill:active,
.lang-pill:hover {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 30px 70px -35px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.journey-empty {
  border: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.quick-tile {
  background: var(--surface);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.quick-tile:active,
.quick-tile:hover {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

.quick-tile-icon {
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  color: var(--beacon);
}

.btn-primary {
  background: linear-gradient(180deg, var(--cta-1), var(--cta-2));
  color: var(--cta-ink);
  box-shadow: 0 16px 44px -18px color-mix(in srgb, var(--cta-2) 65%, transparent);
}

.btn-secondary {
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--text);
}

.btn-secondary:active {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}

.chip-neutral {
  background: var(--accent-tint);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
  color: var(--accent-ink);
}

.chip-warn {
  background: color-mix(in srgb, var(--beacon) 13%, transparent);
  border-color: color-mix(in srgb, var(--beacon) 38%, transparent);
  color: var(--beacon-ink);
}

.chip-muted {
  background: color-mix(in srgb, var(--muted) 14%, transparent);
  border-color: color-mix(in srgb, var(--muted) 32%, transparent);
  color: var(--muted);
}

.nav-shell {
  border: 1px solid var(--hairline);
  background: var(--surface-strong);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.6);
}

.nav-item {
  position: relative;
  color: var(--muted);
}

.nav-item-active {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent-ink);
}

.nav-item-active::after {
  content: "";
  position: absolute;
  bottom: 0.28rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: var(--beacon);
  box-shadow: 0 0 10px color-mix(in srgb, var(--beacon) 85%, transparent);
}

.dash-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 1024px) {
  .dash-grid {
    grid-template-columns: 1.12fr 1fr;
    gap: 2rem;
  }
}

/* ---- the orb ---- */
.assistant-stage .voice-mic-wrap {
  animation: orb-wake 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes orb-wake {
  from {
    opacity: 0;
    transform: scale(0.86);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.voice-mic-wrap {
  width: 6.2rem;
  height: 6.2rem;
}

.voice-mic-wrap::before {
  content: "";
  position: absolute;
  inset: -0.7rem;
  border-radius: 9999px;
  background: conic-gradient(from 0deg, transparent 0deg 295deg, color-mix(in srgb, var(--beacon) 80%, transparent) 330deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: orb-orbit 40s linear infinite;
  pointer-events: none;
}

@keyframes orb-orbit {
  to {
    transform: rotate(360deg);
  }
}

.voice-mic {
  position: relative;
  overflow: hidden;
  width: 5.6rem;
  height: 5.6rem;
  background: radial-gradient(circle at 32% 28%, var(--orb-main-1) 0%, var(--orb-main-2) 38%, var(--orb-main-3) 76%, var(--orb-main-4) 100%);
  color: var(--orb-main-ink);
  box-shadow:
    0 0 36px -6px color-mix(in srgb, var(--glow-main) 60%, transparent),
    0 0 90px -18px color-mix(in srgb, var(--glow-main) 50%, transparent),
    inset 0 2px 8px rgba(255, 255, 255, 0.28),
    inset 0 -10px 22px rgba(0, 0, 0, 0.4);
  animation: orb-breathe 4.5s ease-in-out infinite;
}

@keyframes orb-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

.voice-mic::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.3) 50%, transparent 68%);
  transform: translateX(-130%);
  opacity: 0;
  pointer-events: none;
}

.is-thinking .voice-mic {
  animation: none;
  background: radial-gradient(circle at 32% 28%, var(--orb-dim-1) 0%, var(--orb-dim-2) 45%, var(--orb-dim-3) 100%);
  color: var(--orb-dim-ink);
  box-shadow:
    0 0 26px -10px color-mix(in srgb, var(--glow-main) 30%, transparent),
    inset 0 2px 8px rgba(255, 255, 255, 0.08);
}

.is-thinking .voice-mic::after {
  opacity: 1;
  animation: orb-shimmer 1.6s ease-in-out infinite;
}

@keyframes orb-shimmer {
  to {
    transform: translateX(130%);
  }
}

.is-listening .voice-mic {
  animation: none;
  background: radial-gradient(circle at 32% 28%, var(--orb-beacon-1) 0%, var(--orb-beacon-2) 42%, var(--orb-beacon-3) 78%, var(--orb-beacon-4) 100%);
  color: var(--orb-beacon-ink);
  box-shadow:
    0 0 48px -4px color-mix(in srgb, var(--glow-beacon) 70%, transparent),
    0 0 110px -18px color-mix(in srgb, var(--glow-beacon) 55%, transparent),
    inset 0 2px 8px rgba(255, 255, 255, 0.35),
    inset 0 -10px 22px rgba(0, 0, 0, 0.35);
  transform: scale(1.05);
}

.is-speaking .voice-mic {
  animation: none;
  background: radial-gradient(circle at 32% 28%, var(--orb-bright-1) 0%, var(--orb-bright-2) 38%, var(--orb-bright-3) 78%, var(--orb-bright-4) 100%);
  color: var(--orb-bright-ink);
  box-shadow:
    0 0 52px -4px color-mix(in srgb, var(--glow-main) 75%, transparent),
    0 0 120px -18px color-mix(in srgb, var(--glow-main) 60%, transparent),
    inset 0 2px 8px rgba(255, 255, 255, 0.4),
    inset 0 -10px 22px rgba(0, 0, 0, 0.35);
  transform: scale(1.05);
}

.voice-ring {
  inset: 0.1rem;
  border: 2px solid color-mix(in srgb, var(--beacon) 65%, transparent);
  box-shadow: 0 0 34px -6px color-mix(in srgb, var(--beacon) 55%, transparent);
}

.voice-caption {
  font-family: "Noto Sans Bengali", "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0;
  line-height: 1.5;
}

.replay-btn {
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent-ink);
}

.replay-btn:active {
  background: color-mix(in srgb, var(--accent) 20%, transparent);
}

.session-stop-btn {
  border: 1px solid rgba(225, 29, 72, 0.45);
  background: rgba(225, 29, 72, 0.12);
  color: #fda4af;
}

.session-stop-btn:active {
  background: rgba(225, 29, 72, 0.22);
}

.kiosk-idle-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .assistant-stage .voice-mic-wrap,
  .voice-mic,
  .voice-mic-wrap::before,
  .voice-mic::after,
  .voice-bars span,
  .is-listening .voice-ring-1,
  .is-listening .voice-ring-2 {
    animation: none !important;
  }
}

/* ============================================================
   Split Stage layout
   ============================================================ */

.stage-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 24rem;
  padding: 3rem 1.5rem;
}

@media (min-width: 1024px) {
  .stage-card {
    min-height: 34rem;
    padding: 3.5rem 2.5rem;
  }
}

.voice-mic-wrap {
  margin: 0 auto;
}

/* ============================================================
   Phase 2 — component polish (Night Approach everywhere)
   ============================================================ */

.flight-card-btn {
  background: var(--surface);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.flight-card-btn:hover,
.flight-card-btn:active {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}

.place-row {
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--text);
}

.place-row:hover,
.place-row:active {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.step-num {
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-ink);
}

.step-row-line::before {
  background: color-mix(in srgb, var(--accent) 30%, transparent);
}

.signage {
  border: 2px solid color-mix(in srgb, var(--beacon) 60%, transparent);
  background: linear-gradient(160deg, var(--surface), color-mix(in srgb, var(--base) 85%, transparent));
  box-shadow: 0 16px 40px -20px color-mix(in srgb, var(--beacon) 45%, transparent);
}

.signage-plane,
.signage-arrow {
  color: var(--beacon);
}

.now-card {
  border: 1px solid color-mix(in srgb, var(--beacon) 45%, transparent);
  background: linear-gradient(165deg, color-mix(in srgb, var(--beacon) 13%, transparent), color-mix(in srgb, var(--accent) 5%, transparent) 55%, transparent);
  box-shadow: 0 18px 45px -22px color-mix(in srgb, var(--beacon) 40%, transparent);
}

.now-card-done {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: linear-gradient(165deg, color-mix(in srgb, var(--accent) 13%, transparent), transparent);
  box-shadow: 0 18px 45px -22px color-mix(in srgb, var(--accent) 40%, transparent);
}

.now-label {
  color: var(--beacon);
}

.count-cell {
  background: var(--surface);
  border: 1px solid var(--hairline);
}

.tl-marker {
  border-color: var(--hairline);
  background: color-mix(in srgb, var(--text) 5%, transparent);
  color: var(--muted);
}

.tl-done .tl-marker {
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-ink);
}

.tl-current .tl-marker {
  border-color: color-mix(in srgb, var(--beacon) 45%, transparent);
  background: color-mix(in srgb, var(--beacon) 14%, transparent);
  color: var(--beacon);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--beacon) 8%, transparent);
}

.tl-line {
  background: color-mix(in srgb, var(--text) 8%, transparent);
}

.tl-done .tl-line {
  background: color-mix(in srgb, var(--accent) 35%, transparent);
}

.toast {
  background: var(--surface-strong);
  border-color: color-mix(in srgb, var(--beacon) 45%, transparent);
}

.toast-icon {
  background: color-mix(in srgb, var(--beacon) 15%, transparent);
  color: var(--beacon);
}

.toast-title {
  color: var(--beacon);
}

.toast-msg {
  color: var(--text);
}

.toast-btn {
  border-color: var(--hairline);
  color: var(--muted);
}

.toast-btn:active {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.toast-urgent {
  border-color: rgba(244, 63, 94, 0.55);
}

.toast-urgent .toast-icon {
  background: rgba(244, 63, 94, 0.18);
  color: #fda4af;
}

.toast-urgent .toast-title {
  color: #fda4af;
}

.ops-btn {
  background: color-mix(in srgb, var(--text) 4%, transparent);
  border: 1px solid var(--hairline);
  color: var(--text);
}

.ops-btn:hover,
.ops-btn:active {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.ops-btn-go {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-ink);
}

.ops-btn-warn {
  border-color: color-mix(in srgb, var(--beacon) 45%, transparent);
  background: color-mix(in srgb, var(--beacon) 10%, transparent);
  color: var(--beacon-ink);
}

.ops-btn-urgent {
  border-color: rgba(244, 63, 94, 0.5);
  background: rgba(244, 63, 94, 0.12);
  color: #fda4af;
}

.ops-btn-danger {
  border-color: rgba(244, 63, 94, 0.4);
  color: #fda4af;
}

.ops-input {
  background: color-mix(in srgb, var(--base) 70%, transparent);
  border: 1px solid var(--hairline);
  color: var(--text);
}

.ops-inline {
  border: 1px dashed color-mix(in srgb, var(--text) 16%, transparent);
}

.error-banner {
  border: 1px solid rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.1);
  color: #fecdd3;
}

.info-banner {
  border: 1px solid color-mix(in srgb, var(--beacon) 38%, transparent);
  background: color-mix(in srgb, var(--beacon) 9%, transparent);
  color: var(--beacon-ink);
}

.scan-overlay {
  background: color-mix(in srgb, var(--base) 92%, transparent);
}

.scan-ring {
  border-color: color-mix(in srgb, var(--beacon) 25%, transparent);
  border-top-color: var(--beacon);
}

.voice-bars span {
  background: var(--orb-bright-2);
}

.status-dot {
  background: var(--accent);
}

.tm-route {
  stroke: var(--beacon);
}

.tm-you {
  fill: var(--accent);
}

.tm-you-pulse {
  fill: color-mix(in srgb, var(--accent) 25%, transparent);
}

.tm-you-label {
  fill: var(--accent);
}

.tm-target {
  stroke: var(--beacon);
  fill: color-mix(in srgb, var(--beacon) 20%, transparent);
}

.tm-target-core {
  fill: var(--beacon);
}

.tm-zone-air {
  fill: color-mix(in srgb, var(--accent) 6%, transparent);
  stroke: color-mix(in srgb, var(--accent) 25%, transparent);
}

.tm-block {
  fill: color-mix(in srgb, var(--beacon) 7%, transparent);
  stroke: color-mix(in srgb, var(--beacon) 30%, transparent);
}

.tm-counter {
  stroke: color-mix(in srgb, var(--beacon) 40%, transparent);
}

/* ============================================================
   Single-page kiosk — bottom tiles dock + journey column
   ============================================================ */

.tiles-dock {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 30;
  padding: 0 1rem calc(env(safe-area-inset-bottom) + 0.75rem);
  pointer-events: none;
}

.tiles-dock-inner {
  pointer-events: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  max-width: 34rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .page-wide .tiles-dock-inner {
    max-width: 76rem;
  }
}

.dock-tile {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.5rem;
  border-radius: 1rem;
}

.dock-tile .quick-tile-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.7rem;
}

.dock-tile .quick-tile-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.dock-tile > span:last-child {
  display: none;
}

.quick-tile-active {
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  background: color-mix(in srgb, var(--accent) 15%, transparent);
}

.journey-col {
  min-width: 0;
}

@media (min-width: 1024px) {
  .journey-col {
    max-height: calc(100dvh - 11rem);
    overflow-y: auto;
    padding-right: 0.25rem;
  }
}

/* ============================================================
   Companion Band — persistent assistant (iframe) + panels
   ============================================================ */

.companion-band {
  min-height: 26rem;
  border-radius: 1.5rem;
  border: 1px solid var(--hairline);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 55%),
    var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px -35px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.assistant-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.assistant-shell {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: transparent;
}

@media (min-width: 1024px) {
  .companion-band {
    min-height: 0;
    height: calc(100dvh - 11rem);
  }
}

.content-panel {
  animation: viewin 0.28s ease;
}

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

.verified-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  padding: 0.7rem 0.9rem;
}

.verified-banner-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  color: var(--accent-bright, #34d399);
}

/* ============================================================
   Demo ticket modal (kiosk ticket panel)
   ============================================================ */

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.demo-modal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 42rem;
  max-height: min(82dvh, 42rem);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.97);
  padding: 1.25rem;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.85);
  animation: demoin 0.22s ease;
}

.demo-modal-list {
  margin-top: 1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* One button toggles the modal: full-width under the QR when closed,
   floating bottom-right (above the backdrop) when open. */
.demo-toggle-btn {
  width: 100%;
}

.demo-toggle-open {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  width: auto;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.8);
}

@keyframes demoin {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .content-panel {
    animation: none;
  }
  .demo-modal-card {
    animation: none;
  }
}
