:root {
  --bg-primary: #121210;
  --bg-card: rgba(28, 28, 24, 0.92);
  --accent: #e5c158;
  --accent-2: #ff5252;
  --text-main: #f5f3eb;
  --text-muted: #b5b09c;
  --chassis-bg: #262520;
  --chassis-border: #b8973d;
  --chassis-radius: 18px;
  --screen-bg: #1e2a1e;
  --screen-text: #a5ff90;
  --font-heading: 'Chakra Petch', 'Kanit', sans-serif;
  --font-body: 'IBM Plex Sans Thai', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* 16 Unique Era Themes */
body[data-theme="era-1986"] { --bg-primary: #14130f; --bg-card: rgba(31,29,22,0.92); --accent: #e5c158; --accent-2: #ff3b30; --chassis-bg: #2a2922; --chassis-border: #d4af37; --screen-bg: #241212; --screen-text: #ff6b5b; }
body[data-theme="era-1991"] { --bg-primary: #181512; --bg-card: rgba(36,31,28,0.92); --accent: #ff7043; --accent-2: #ffd54f; --chassis-bg: #d7cfc2; --chassis-border: #8c8270; --screen-bg: #24100c; --screen-text: #ff6e40; }
body[data-theme="era-1995"] { --bg-primary: #0d171e; --bg-card: rgba(19,32,42,0.92); --accent: #00e5ff; --accent-2: #76ff03; --chassis-bg: #2b3844; --chassis-border: #607d8b; --screen-bg: #799c7f; --screen-text: #0d2111; }
body[data-theme="era-1998"] { --bg-primary: #1a1026; --bg-card: rgba(36,22,52,0.92); --accent: #ff5252; --accent-2: #b2ff59; --chassis-bg: #c62828; --chassis-border: #ff8a80; --screen-bg: #9bbc0f; --screen-text: #0f380f; }
body[data-theme="era-2000"] { --bg-primary: #0d1d16; --bg-card: rgba(18,38,30,0.92); --accent: #9ccc65; --accent-2: #29b6f6; --chassis-bg: #2c3e55; --chassis-border: #90a4ae; --screen-bg: #8bac0f; --screen-text: #0f380f; }
body[data-theme="era-2002"] { --bg-primary: #07162c; --bg-card: rgba(14,32,60,0.92); --accent: #00e5ff; --accent-2: #ff9100; --chassis-bg: #cfd8dc; --chassis-border: #00e5ff; --screen-bg: #e0f7fa; --screen-text: #01579b; }
body[data-theme="era-2003"] { --bg-primary: #141821; --bg-card: rgba(27,32,44,0.92); --accent: #42a5f5; --accent-2: #ab47bc; --chassis-bg: #373d47; --chassis-border: #b0bec5; --screen-bg: #102038; --screen-text: #e3f2fd; }
body[data-theme="era-2005"] { --bg-primary: #191020; --bg-card: rgba(36,22,46,0.92); --accent: #ff4081; --accent-2: #ff6d00; --chassis-bg: #262930; --chassis-border: #ff4081; --screen-bg: #0f141d; --screen-text: #80d8ff; }
body[data-theme="era-2007"] { --bg-primary: #0f1522; --bg-card: rgba(22,30,48,0.92); --accent: #38bdf8; --accent-2: #94a3b8; --chassis-bg: #1e2229; --chassis-border: #cbd5e1; --screen-bg: #0f172a; --screen-text: #f8fafc; }
body[data-theme="era-2009"] { --bg-primary: #0d1017; --bg-card: rgba(20,25,36,0.92); --accent: #ff1744; --accent-2: #60a5fa; --chassis-bg: #181a1f; --chassis-border: #94a3b8; --screen-bg: #1e293b; --screen-text: #f1f5f9; }
body[data-theme="era-2011"] { --bg-primary: #0c1c14; --bg-card: rgba(18,38,28,0.92); --accent: #00c300; --accent-2: #38bdf8; --chassis-bg: #141619; --chassis-border: #d1d5db; --screen-bg: #062814; --screen-text: #ecfdf5; }
body[data-theme="era-2013"] { --bg-primary: #121829; --bg-card: rgba(24,33,56,0.92); --accent: #ffeb3b; --accent-2: #ec4899; --chassis-bg: #f1f5f9; --chassis-border: #94a3b8; --screen-bg: #0c2d48; --screen-text: #ffffff; }
body[data-theme="era-2016"] { --bg-primary: #1f1318; --bg-card: rgba(42,26,33,0.92); --accent: #f48fb1; --accent-2: #ef5350; --chassis-bg: #f3c6c6; --chassis-border: #e5989b; --screen-bg: #1e1419; --screen-text: #fce4ec; }
body[data-theme="era-2019"] { --bg-primary: #0a0e1a; --bg-card: rgba(16,23,42,0.92); --accent: #00e5ff; --accent-2: #ff1744; --chassis-bg: #131826; --chassis-border: #00e5ff; --screen-bg: #0b1120; --screen-text: #e0f2fe; }
body[data-theme="era-2022"] { --bg-primary: #1a1226; --bg-card: rgba(35,24,52,0.92); --accent: #ce93d8; --accent-2: #f48fb1; --chassis-bg: #b39ddb; --chassis-border: #ede7f6; --screen-bg: #1e132d; --screen-text: #f3e5f5; }
body[data-theme="era-2025"] { --bg-primary: #080b14; --bg-card: rgba(15,23,42,0.92); --accent: #38bdf8; --accent-2: #ffd54f; --chassis-bg: #262933; --chassis-border: #ffd54f; --screen-bg: #090f1d; --screen-text: #f8fafc; }

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background-color 0.45s ease, color 0.35s ease;
  position: relative;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 22% 45%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 50%),
    radial-gradient(circle at 80% 35%, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 48%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
  pointer-events: none;
  z-index: 0;
}

/* 1. TOP CELLULAR STATUS BAR */
.cellular-topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 18px;
  background: rgba(10, 12, 18, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  flex-shrink: 0;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hub-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.hub-link:hover {
  background: var(--accent);
  color: #0b0e14;
  border-color: var(--accent);
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  font-size: 1.45rem;
}

.brand-title h1 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.15;
}

.year-span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.brand-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

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

.signal-widget {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 12px;
  border-radius: 10px;
}

.signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.signal-bars span {
  width: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  transition: background 0.3s ease;
}
.signal-bars span:nth-child(1) { height: 25%; }
.signal-bars span:nth-child(2) { height: 42%; }
.signal-bars span:nth-child(3) { height: 60%; }
.signal-bars span:nth-child(4) { height: 80%; }
.signal-bars span:nth-child(5) { height: 100%; }
.signal-bars span.active {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.network-meta {
  display: flex;
  flex-direction: column;
}

.network-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.network-name {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
}

.era-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  color: var(--accent);
  white-space: nowrap;
}

.topbar-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ctrl-btn {
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 11px;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--accent);
}

.ctrl-btn.accent-btn.playing {
  background: var(--accent);
  color: #0b0e14;
  border-color: var(--accent);
}

/* 2. MAIN STAGE LAYOUT */
.main-stage {
  position: relative;
  z-index: 5;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 22px;
  padding: 14px 24px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  align-items: center;
}

/* LEFT ZONE: MORPHING HANDSET CHASSIS */
.handset-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
}

.handset-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.handset-chassis {
  position: relative;
  width: 300px;
  background: var(--chassis-bg);
  border: 3px solid var(--chassis-border);
  border-radius: var(--chassis-radius);
  padding: 14px 14px 12px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.6),
    inset 0 2px 5px rgba(255, 255, 255, 0.22);
  transition: all 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Antenna morphing */
.handset-antenna {
  position: absolute;
  top: -34px;
  right: 26px;
  width: 12px;
  height: 36px;
  background: linear-gradient(90deg, #333, #777, #222);
  border-radius: 5px 5px 0 0;
  border: 1px solid var(--chassis-border);
  transition: all 0.35s ease;
  opacity: 0;
  transform: translateY(18px) scaleY(0.2);
  pointer-events: none;
}

.antenna-tip {
  width: 16px;
  height: 8px;
  background: var(--accent);
  border-radius: 4px;
  position: absolute;
  top: -5px;
  left: -3px;
  box-shadow: 0 0 8px var(--accent);
}

/* Show antenna only on 1986, 1991, 1995, 1998 eras */
.handset-chassis[data-chassis="brick"] .handset-antenna,
.handset-chassis[data-chassis="bone"] .handset-antenna,
.handset-chassis[data-chassis="candybar-mono"] .handset-antenna {
  opacity: 1;
  transform: translateY(0) scaleY(1);
}

/* Specific Chassis Morph Shapes */
.handset-chassis[data-chassis="brick"] { border-radius: 10px; border-width: 4px; }
.handset-chassis[data-chassis="bone"] { border-radius: 12px; color: #222; }
.handset-chassis[data-chassis="nokia-3310"] { border-radius: 38px 38px 32px 32px; border-width: 4px; }
.handset-chassis[data-chassis="flip-color"],
.handset-chassis[data-chassis="razr-slim"],
.handset-chassis[data-chassis="z-flip"] { border-radius: 24px; }
.handset-chassis[data-chassis="symbian-fat"] { border-radius: 44px 44px 36px 36px; width: 312px; }
.handset-chassis[data-chassis="blackberry"] { border-radius: 24px; width: 312px; }
.handset-chassis[data-chassis="ai-ultra"] { border-radius: 8px; border-width: 2.5px; padding: 10px 10px; }

.flip-hinge {
  display: none;
  height: 5px;
  background: linear-gradient(90deg, rgba(0,0,0,0.6), rgba(255,255,255,0.35), rgba(0,0,0,0.6));
  border-radius: 3px;
  margin: -2px -8px;
}

.handset-chassis[data-chassis="flip-color"] .flip-hinge,
.handset-chassis[data-chassis="razr-slim"] .flip-hinge,
.handset-chassis[data-chassis="z-flip"] .flip-hinge {
  display: block;
}

.handset-top-bezel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
}

.led-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 8px var(--accent-2);
  animation: pulseLed 1.8s infinite;
}

@keyframes pulseLed {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.earpiece-slot {
  width: 48px;
  height: 5px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.chassis-year-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.45);
  color: var(--accent);
}

/* INNER SCREEN */
.handset-screen {
  background: var(--screen-bg);
  color: var(--screen-text);
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.55);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.45);
  transition: background 0.35s ease, color 0.35s ease;
}

.screen-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  border-bottom: 1px dashed currentColor;
  padding-bottom: 3px;
  opacity: 0.9;
}

.screen-illustration {
  width: 100%;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
}

.screen-illustration svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Authentic Incoming SMS / BBM / LINE Chat Bubble */
.screen-chat-card {
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid currentColor;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 0.74rem;
  line-height: 1.35;
}

.chat-card-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  opacity: 0.85;
  margin-bottom: 2px;
}

.chat-sender {
  font-weight: 700;
  font-size: 0.74rem;
  margin-bottom: 2px;
}

.chat-message {
  font-size: 0.72rem;
  opacity: 0.95;
}

/* PHYSICAL KEYPAD & HARDWARE CONTROLS */
.handset-controls {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-deck {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 6px;
}

.hw-btn {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 4px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  transition: transform 0.12s ease, background 0.2s ease;
}

.hw-btn:hover {
  background: var(--accent);
  color: #000;
}

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

.keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.keypad-grid span {
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  border-radius: 6px;
  padding: 3px 4px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  user-select: none;
}

.keypad-grid span small {
  font-size: 0.54rem;
  opacity: 0.7;
  margin-left: 2px;
}

/* Morph keypad for BlackBerry QWERTY */
.handset-chassis[data-chassis="blackberry"] .keypad-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

/* Hide physical numpad on modern full-screen smartphones, show Home/Gesture bar instead */
.smartphone-bottom-bar {
  display: none;
  justify-content: center;
  align-items: center;
  padding-top: 2px;
}

.handset-chassis[data-chassis="iphone-classic"] .keypad-grid,
.handset-chassis[data-chassis="iphone-4"] .keypad-grid,
.handset-chassis[data-chassis="phablet"] .keypad-grid,
.handset-chassis[data-chassis="dual-cam"] .keypad-grid,
.handset-chassis[data-chassis="gaming-rgb"] .keypad-grid,
.handset-chassis[data-chassis="z-flip"] .keypad-grid,
.handset-chassis[data-chassis="ai-ultra"] .keypad-grid {
  display: none;
}

.handset-chassis[data-chassis="iphone-classic"] .smartphone-bottom-bar,
.handset-chassis[data-chassis="iphone-4"] .smartphone-bottom-bar,
.handset-chassis[data-chassis="phablet"] .smartphone-bottom-bar,
.handset-chassis[data-chassis="dual-cam"] .smartphone-bottom-bar,
.handset-chassis[data-chassis="gaming-rgb"] .smartphone-bottom-bar,
.handset-chassis[data-chassis="z-flip"] .smartphone-bottom-bar,
.handset-chassis[data-chassis="ai-ultra"] .smartphone-bottom-bar {
  display: flex;
}

.home-button-hw {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  cursor: pointer;
  font-size: 0.75rem;
}

.gesture-pill {
  display: none;
  width: 96px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.7);
  margin: 6px 0 2px;
}

.handset-chassis[data-chassis="gaming-rgb"] .home-button-hw,
.handset-chassis[data-chassis="z-flip"] .home-button-hw,
.handset-chassis[data-chassis="ai-ultra"] .home-button-hw {
  display: none;
}

.handset-chassis[data-chassis="gaming-rgb"] .gesture-pill,
.handset-chassis[data-chassis="z-flip"] .gesture-pill,
.handset-chassis[data-chassis="ai-ultra"] .gesture-pill {
  display: block;
}

.handset-caption {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
}

/* RIGHT ZONE: MBK CENTER 4TH FLOOR SPEC SHEET */
.mbk-spec-zone {
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
}

.mbk-card {
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, rgba(255,255,255,0.12));
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mbk-card-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 12px;
}

.mbk-shop-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shop-tag {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}

.era-index-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.mbk-year-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.year-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 6px 14px;
  min-width: 96px;
}

.year-ad {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.05;
}

.year-be {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}

.title-block h2 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.title-block .subtitle {
  font-size: 0.92rem;
  color: var(--accent);
  margin-top: 3px;
}

/* 4 SPECS GRID */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.spec-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 9px 12px;
}

.spec-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 3px;
}

.spec-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
}

/* STORY & HIGHLIGHTS */
.story-And-highlights {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}

.story-box,
.highlights-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
}

.story-box h3,
.highlights-box h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.story-box p {
  font-size: 0.88rem;
  line-height: 1.62;
  color: var(--text-main);
}

.highlights-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.highlights-box li {
  font-size: 0.82rem;
  line-height: 1.45;
  position: relative;
  padding-left: 16px;
  color: var(--text-main);
}

.highlights-box li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* 3. BOTTOM SIM CARD TIMELINE DOCK */
.sim-timeline-dock {
  position: relative;
  z-index: 10;
  background: rgba(8, 10, 15, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 16px;
  flex-shrink: 0;
}

.dock-track {
  display: grid;
  grid-template-columns: repeat(16, minmax(54px, 1fr));
  gap: 6px;
  max-width: 1440px;
  margin: 0 auto;
  overflow-x: auto;
}

.sim-slot-btn {
  cursor: pointer;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  /* Cut corner like a SIM Card */
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  border-radius: 5px;
  padding: 6px 4px 5px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.2s ease;
}

.sim-slot-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-main);
  transform: translateY(-2px);
}

.sim-slot-btn.active {
  background: var(--accent);
  color: #0b0e14;
  border-color: var(--accent);
  font-weight: 700;
  transform: translateY(-3px);
}

.sim-chip {
  width: 14px;
  height: 9px;
  border-radius: 2px;
  background: linear-gradient(135deg, #f6d365, #fda085);
  border: 1px solid rgba(0, 0, 0, 0.35);
}

.sim-year {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
}

.sim-model-short {
  font-size: 0.6rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.85;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  body {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }
  .cellular-topbar {
    flex-wrap: wrap;
  }
  .main-stage {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .story-And-highlights,
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .dock-track {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .sim-slot-btn {
    min-width: 68px;
  }
}
