/* JetBaron — Night & Gold Executive Styling (#05070d, #f5c451, #eef1f7, #8d96ab) */

:root {
  --bg-deep: #05070d;
  --bg-panel: rgba(11, 15, 25, 0.92);
  --bg-card: rgba(18, 24, 38, 0.9);
  --bg-elevated: rgba(26, 34, 52, 0.95);
  --gold: #f5c451;
  --gold-bright: #ffd978;
  --gold-dim: rgba(245, 196, 81, 0.16);
  --gold-border: rgba(245, 196, 81, 0.38);
  --text-main: #eef1f7;
  --text-muted: #8d96ab;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --emerald: #34d399;
  --danger: #f87171;
  --cyan: #38bdf8;
  --font-head: "Space Grotesk", "Twemoji Country Flags", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Twemoji Country Flags", system-ui, -apple-system, sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ---------- Top HUD Bar ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(5, 7, 13, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  gap: 12px;
  z-index: 40;
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-emblem {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f5c451 0%, #c89116 100%);
  color: #05070d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(245, 196, 81, 0.35);
  flex-shrink: 0;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.brand-sub {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.vip-pill {
  background: linear-gradient(135deg, #f5c451, #e09f1f);
  color: #05070d;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

/* View Switcher (Globe / 3D Map) */
.view-switcher {
  display: inline-flex;
  background: rgba(18, 24, 38, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.view-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.18s ease;
}

.view-btn.active {
  background: var(--gold);
  color: #05070d;
  box-shadow: 0 2px 10px rgba(245, 196, 81, 0.35);
}

/* Currencies */
.hud-currencies {
  display: flex;
  align-items: center;
  gap: 8px;
}

.currency-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 24, 38, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 5px 12px;
  font-family: var(--font-head);
}

.cash-pill {
  border-color: var(--gold-border);
}

.curr-symbol {
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
}

.curr-val {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-main);
}

.curr-rate {
  font-size: 11px;
  color: var(--emerald);
  background: rgba(52, 211, 153, 0.12);
  padding: 1px 6px;
  border-radius: 999px;
}

.gems-pill {
  cursor: pointer;
  border-color: rgba(56, 189, 248, 0.35);
}

.gems-pill:hover {
  border-color: var(--cyan);
}

.curr-plus {
  background: var(--gold);
  color: #05070d;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* HUD Navigation */
.hud-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-btn {
  background: rgba(18, 24, 38, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 6px 11px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.15s ease, transform 0.1s ease;
}

.nav-btn:hover {
  border-color: var(--gold-border);
}

.nav-btn-gold {
  background: var(--gold-dim);
  border-color: var(--gold-border);
  color: var(--gold-bright);
}

.nav-badge {
  background: rgba(245, 196, 81, 0.22);
  color: var(--gold);
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 11px;
}

.airline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  flex-shrink: 0;
}

.airline-name-short {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--gold);
  padding: 6px 9px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

/* ---------- Tutorial Banner ---------- */
.tutorial-banner {
  position: fixed;
  top: 68px;
  left: 16px;
  max-width: 520px;
  background: rgba(11, 15, 25, 0.94);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 35;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
}

.tut-steps-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.tut-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
}

.tut-dot.active {
  background: var(--gold);
  color: #05070d;
  border-color: var(--gold);
}

.tut-dot.done {
  background: rgba(52, 211, 153, 0.2);
  color: var(--emerald);
  border-color: var(--emerald);
}

.tut-line {
  width: 10px;
  height: 1px;
  background: var(--border-subtle);
}

.tut-content {
  flex: 1;
  min-width: 0;
}

.tut-content strong {
  display: block;
  font-family: var(--font-head);
  color: var(--gold);
  font-size: 13px;
}

.tut-content p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.tut-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* ---------- Main Stage & 3D Canvases ---------- */
.stage {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
}

.viewport-wrap {
  position: relative;
  flex: 1;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, #0b1120 0%, #05070d 75%);
  overflow: hidden;
}

.canvas-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.canvas-layer.active {
  opacity: 1;
  pointer-events: auto;
}

.viewport-footer {
  position: absolute;
  left: 14px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 15;
  pointer-events: auto;
  flex-wrap: wrap;
}

.utc-pill {
  background: rgba(5, 7, 13, 0.8);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 11px;
  color: var(--gold);
}

.footer-link, .attrib-text {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: none;
  background: rgba(5, 7, 13, 0.72);
  padding: 3px 8px;
  border-radius: 6px;
}

.footer-link:hover {
  color: var(--gold);
}

/* ---------- Side Panel ---------- */
.side-panel {
  width: 390px;
  height: 100%;
  background: var(--bg-panel);
  backdrop-filter: blur(16px);
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  z-index: 25;
}

.sheet-grabber {
  display: none;
}

.panel-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 12px;
  gap: 6px;
}

.panel-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  padding: 11px 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.panel-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.tab-count {
  background: var(--gold-dim);
  color: var(--gold);
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 11px;
}

.panel-view {
  display: none;
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  gap: 12px;
  flex-direction: column;
}

.panel-view.active {
  display: flex;
}

/* Inspector Card */
.inspector-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
}

.inspector-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.status-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  margin-bottom: 4px;
}

.status-tag-gold {
  background: var(--gold-dim);
  color: var(--gold);
}

.insp-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--text-main);
}

.insp-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.insp-quick-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.insp-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.section-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold);
  margin-bottom: 8px;
}

.route-endpoints {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 7, 13, 0.55);
  padding: 8px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.endpoint-box {
  flex: 1;
  min-width: 0;
}

.ep-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
}

.ep-val {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--text-main);
}

.ep-arrow {
  color: var(--gold);
  font-size: 16px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.metric-item {
  background: rgba(5, 7, 13, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 6px 8px;
}

.m-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
}

.m-val {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--text-main);
}

.field-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin: 10px 0 5px;
}

.select-input, .text-input, .search-input {
  width: 100%;
  background: rgba(5, 7, 13, 0.78);
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  padding: 8px 10px;
  color: var(--text-main);
  outline: none;
}

.select-input:focus, .text-input:focus, .search-input:focus {
  border-color: var(--gold);
}

/* Fare Tier Selector */
.fare-tier-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.fare-btn {
  background: rgba(5, 7, 13, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  padding: 7px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fare-btn strong {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  color: var(--text-main);
}

.fare-btn small {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}

.fare-btn.active {
  background: var(--gold-dim);
  border-color: var(--gold);
}

.fare-btn.active strong {
  color: var(--gold);
}

/* Economics Preview */
.econ-preview {
  background: rgba(5, 7, 13, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 10px;
}

.econ-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 3px 0;
  color: var(--text-muted);
}

.econ-row strong {
  font-family: var(--font-head);
  color: var(--text-main);
}

.econ-row-highlight {
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-main);
}

.gold-text {
  color: var(--gold) !important;
  font-size: 15px;
}

/* Directory & City List */
.city-directory {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 180px;
}

.filter-pills {
  display: flex;
  gap: 6px;
}

.filter-pill {
  background: rgba(18, 24, 38, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.filter-pill.active {
  background: var(--gold-dim);
  border-color: var(--gold-border);
  color: var(--gold);
}

.city-list, .routes-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.city-item, .route-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.city-item:hover, .route-item:hover, .city-item.selected, .route-item.selected {
  border-color: var(--gold);
  background: var(--bg-elevated);
}

.city-item-main strong, .route-item-main strong {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--text-main);
}

.city-item-main small, .route-item-main small {
  color: var(--text-muted);
  font-size: 11px;
}

.city-item-right, .route-item-right {
  text-align: right;
  font-family: var(--font-head);
  font-size: 12px;
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn-gold {
  background: linear-gradient(135deg, #f5c451 0%, #d49b1a 100%);
  color: #05070d;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.btn-gold:hover:not(:disabled) {
  filter: brightness(1.08);
}

.btn-gold:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-outline {
  background: rgba(18, 24, 38, 0.9);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  border-radius: 9px;
  padding: 8px 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
}

.btn-outline:hover:not(:disabled) {
  background: var(--gold-dim);
}

.btn-danger {
  background: rgba(248, 113, 113, 0.14);
  color: var(--danger);
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 9px;
  padding: 9px 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
}

.btn-block {
  width: 100%;
  display: block;
}

.btn-sm {
  padding: 6px 11px;
  font-size: 12px;
}

.btn-xs {
  padding: 4px 9px;
  font-size: 11px;
}

.icon-close, .modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}

/* ---------- Modals ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, 0.78);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 60;
}

.modal-Backdrop[hidden], .modal-backdrop[hidden] {
  display: none !important;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  background: #0b0f19;
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

.modal-lg {
  max-width: 820px;
}

.modal-sm {
  max-width: 400px;
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.modal-header h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 19px;
  color: var(--gold);
}

.modal-subtitle {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.modal-body {
  padding: 16px 20px;
  overflow-y: auto;
}

.sub-heading {
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--gold);
  margin: 14px 0 8px;
}

.sub-heading:first-child {
  margin-top: 0;
}

/* Fleet & Shop Grids */
.fleet-grid, .catalog-grid, .shop-grid, .gem-utils-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
}

.plane-card, .shop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.plane-card.highlight, .shop-card.highlight {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(245, 196, 81, 0.1), rgba(18, 24, 38, 0.92));
}

.plane-head, .shop-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
}

.plane-head strong, .shop-card-head strong {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--text-main);
}

.plane-specs {
  font-size: 12px;
  color: var(--text-muted);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.shop-desc {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.gem-tag {
  background: rgba(56, 189, 248, 0.16);
  color: var(--cyan);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
}

/* Ranking Table */
.my-rank-banner {
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.rank-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.rank-country-select {
  max-width: 220px;
}

.table-wrap {
  overflow-x: auto;
}

.rank-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.rank-table th, .rank-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.rank-table th {
  font-family: var(--font-head);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.rank-table tr.me-row {
  background: rgba(245, 196, 81, 0.14);
}

/* Forms */
.form-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.color-input {
  width: 100%;
  height: 36px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 16px 0;
}

.offline-big-cash {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  margin: 12px 0;
}

.text-center {
  text-align: center;
}

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

.order-banner {
  background: var(--gold-dim);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
}

/* Toasts */
.toast-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 90;
  pointer-events: none;
}

.toast {
  background: rgba(11, 15, 25, 0.96);
  border: 1px solid var(--gold);
  color: var(--text-main);
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 13px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7);
}

.toast.error {
  border-color: var(--danger);
  color: #fecaca;
}

/* ---------- Mobile Responsive (<= 820px / 390px phone) ---------- */
@media (max-width: 820px) {
  .topbar {
    height: auto;
    min-height: 54px;
    flex-wrap: wrap;
    padding: 6px 10px;
    gap: 6px;
  }

  .brand-sub {
    display: none;
  }

  .brand-emblem {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  .brand-title {
    font-size: 14px;
  }

  .view-btn {
    padding: 4px 8px;
    font-size: 11px;
  }

  .currency-pill {
    padding: 3px 8px;
  }

  .curr-val {
    font-size: 12px;
  }

  .curr-rate {
    display: none;
  }

  .hud-nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .nav-btn {
    padding: 5px 8px;
    font-size: 11px;
  }

  .airline-name-short {
    max-width: 72px;
  }

  .stage {
    top: 88px;
    flex-direction: column;
  }

  .tutorial-banner {
    top: 92px;
    left: 8px;
    right: 8px;
    max-width: none;
    padding: 8px 10px;
  }

  .tut-steps-indicator {
    display: none;
  }

  .side-panel {
    width: 100%;
    height: 46%;
    border-left: none;
    border-top: 1px solid var(--gold-border);
    border-radius: 16px 16px 0 0;
  }

  .sheet-grabber {
    display: flex;
    justify-content: center;
    padding: 6px 0 2px;
    cursor: pointer;
  }

  .sheet-grabber span {
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
  }

  .side-panel.sheet-expanded {
    height: 78%;
  }

  .viewport-footer {
    bottom: 8px;
    left: 8px;
  }

  .attrib-text {
    display: none;
  }
}

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