/* ==========================================================================
   456bd.homes - mobile-first base stylesheet
   Canvas: stable 320-430px phone frame, centered on wide screens
   Palette: #FFCC02 gold / #1E1E1E ink / #FF9500 amber / #FF4500 flame
   All classes and variables use the shell8f4ec- prefix.
   ========================================================================== */

:root {
  --shell8f4ec-ink: #1E1E1E;
  --shell8f4ec-void: #0D0C0A;
  --shell8f4ec-panel: #262523;
  --shell8f4ec-panel-2: #2E2B26;
  --shell8f4ec-gold: #FFCC02;
  --shell8f4ec-amber: #FF9500;
  --shell8f4ec-flame: #FF4500;
  --shell8f4ec-text: #F7F1E3;
  --shell8f4ec-muted: rgba(247, 241, 227, 0.68);
  --shell8f4ec-faint: rgba(247, 241, 227, 0.46);
  --shell8f4ec-line: rgba(255, 204, 2, 0.18);
  --shell8f4ec-line-soft: rgba(247, 241, 227, 0.10);
  --shell8f4ec-font-head: "Trebuchet MS", "Verdana", "Nirmala UI", "Noto Sans Bengali", sans-serif;
  --shell8f4ec-font-body: system-ui, -apple-system, "Segoe UI", "Noto Sans Bengali", "Nirmala UI", sans-serif;
  --shell8f4ec-radius-lg: 16px;
  --shell8f4ec-radius-md: 12px;
  --shell8f4ec-radius-sm: 9px;
  --shell8f4ec-radius-pill: 999px;
  --shell8f4ec-topbar-h: 58px;
  --shell8f4ec-dock-h: 62px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--shell8f4ec-void);
  color: var(--shell8f4ec-text);
  font-family: var(--shell8f4ec-font-body);
  font-size: 14px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--shell8f4ec-gold); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--shell8f4ec-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Phone canvas frame
   -------------------------------------------------------------------------- */

.shell8f4ec-page {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
  background: var(--shell8f4ec-ink);
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.55);
  overflow-x: clip;
}

.shell8f4ec-main {
  padding: calc(var(--shell8f4ec-topbar-h) + 10px) 12px calc(var(--shell8f4ec-dock-h) + 34px + env(safe-area-inset-bottom));
}

/* --------------------------------------------------------------------------
   Fixed top action bar (logo-led)
   -------------------------------------------------------------------------- */

.shell8f4ec-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--shell8f4ec-topbar-h);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: linear-gradient(180deg, #252421 0%, #1E1E1E 100%);
  border-bottom: 1px solid var(--shell8f4ec-line);
}

.shell8f4ec-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.shell8f4ec-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--shell8f4ec-line);
  object-fit: cover;
  flex: 0 0 auto;
}

.shell8f4ec-brandname {
  font-family: var(--shell8f4ec-font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.4px;
  color: var(--shell8f4ec-gold);
  line-height: 1.1;
  white-space: nowrap;
}

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

.shell8f4ec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--shell8f4ec-radius-sm);
  font-family: var(--shell8f4ec-font-head);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.shell8f4ec-btn:active { transform: translateY(-2px); }

.shell8f4ec-btn--gold {
  background: linear-gradient(135deg, var(--shell8f4ec-gold) 0%, var(--shell8f4ec-amber) 100%);
  color: #1E1E1E;
  box-shadow: 0 4px 14px rgba(255, 153, 0, 0.32);
}

.shell8f4ec-btn--ghost {
  background: transparent;
  color: var(--shell8f4ec-gold);
  border: 1px solid rgba(255, 204, 2, 0.5);
}

.shell8f4ec-btn--flame {
  background: linear-gradient(135deg, var(--shell8f4ec-amber) 0%, var(--shell8f4ec-flame) 100%);
  color: #FFF7E0;
  box-shadow: 0 4px 14px rgba(255, 69, 0, 0.34);
}

.shell8f4ec-menubtn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--shell8f4ec-panel);
  border: 1px solid var(--shell8f4ec-line-soft);
  border-radius: var(--shell8f4ec-radius-sm);
  color: var(--shell8f4ec-text);
}

.shell8f4ec-menubtn svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Slide-up route sheet + backdrop
   -------------------------------------------------------------------------- */

.shell8f4ec-mask {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(8, 8, 8, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.shell8f4ec-mask--on { opacity: 1; visibility: visible; }

.shell8f4ec-routes {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 105%);
  width: 100%;
  max-width: 430px;
  z-index: 75;
  background: #242320;
  border-top: 1px solid var(--shell8f4ec-line);
  border-radius: 18px 18px 0 0;
  padding: 14px 14px calc(16px + env(safe-area-inset-bottom));
  transition: transform 0.3s cubic-bezier(0.22, 0.9, 0.34, 1);
}

.shell8f4ec-routes--on { transform: translate(-50%, 0); }

.shell8f4ec-routes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.shell8f4ec-routes-title {
  font-family: var(--shell8f4ec-font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--shell8f4ec-gold);
  margin: 0;
}

.shell8f4ec-routes-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: var(--shell8f4ec-radius-pill);
  background: var(--shell8f4ec-panel-2);
  color: var(--shell8f4ec-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.shell8f4ec-routes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shell8f4ec-route {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  background: var(--shell8f4ec-panel);
  border: 1px solid var(--shell8f4ec-line-soft);
  border-radius: var(--shell8f4ec-radius-md);
  color: var(--shell8f4ec-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.shell8f4ec-route:hover { text-decoration: none; border-color: var(--shell8f4ec-line); }

.shell8f4ec-route svg {
  width: 16px;
  height: 16px;
  color: var(--shell8f4ec-amber);
  flex: 0 0 auto;
}

.shell8f4ec-route--now {
  background: linear-gradient(135deg, rgba(255, 204, 2, 0.16), rgba(255, 149, 0, 0.10));
  border-color: rgba(255, 204, 2, 0.42);
  color: var(--shell8f4ec-gold);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.shell8f4ec-hero { padding: 6px 0 4px; }

.shell8f4ec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--shell8f4ec-amber);
  background: rgba(255, 149, 0, 0.12);
  border: 1px solid rgba(255, 149, 0, 0.3);
  border-radius: var(--shell8f4ec-radius-pill);
  padding: 4px 10px;
  margin-bottom: 10px;
}

.shell8f4ec-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shell8f4ec-flame);
}

.shell8f4ec-hero h1 {
  font-family: var(--shell8f4ec-font-head);
  font-size: 24px;
  line-height: 1.28;
  font-weight: 800;
  color: var(--shell8f4ec-gold);
  margin: 0 0 8px;
  text-wrap: balance;
}

.shell8f4ec-hero p {
  margin: 0 0 12px;
  color: var(--shell8f4ec-muted);
  font-size: 13.5px;
}

.shell8f4ec-duo {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shell8f4ec-duo .shell8f4ec-btn { flex: 1 1 140px; }

.shell8f4ec-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 14px 0 4px;
}

.shell8f4ec-fact {
  background: var(--shell8f4ec-panel);
  border: 1px solid var(--shell8f4ec-line-soft);
  border-radius: var(--shell8f4ec-radius-md);
  padding: 8px 4px;
  text-align: center;
}

.shell8f4ec-fact b {
  display: block;
  font-family: var(--shell8f4ec-font-head);
  font-size: 15px;
  color: var(--shell8f4ec-gold);
  line-height: 1.2;
}

.shell8f4ec-fact span {
  display: block;
  font-size: 10px;
  color: var(--shell8f4ec-faint);
  line-height: 1.4;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Promo carousel
   -------------------------------------------------------------------------- */

.shell8f4ec-show {
  position: relative;
  margin: 14px 0 4px;
  border-radius: var(--shell8f4ec-radius-lg);
  overflow: hidden;
  border: 1px solid var(--shell8f4ec-line);
  background: var(--shell8f4ec-panel);
}

.shell8f4ec-track {
  display: flex;
  transition: transform 0.45s ease;
}

.shell8f4ec-slide {
  min-width: 100%;
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}

.shell8f4ec-slide img {
  width: 100%;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
}

.shell8f4ec-slide-txt {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: var(--shell8f4ec-radius-sm);
  background: linear-gradient(90deg, rgba(20, 18, 14, 0.88) 12%, rgba(20, 18, 14, 0.30) 100%);
}

.shell8f4ec-slide-txt b {
  font-family: var(--shell8f4ec-font-head);
  font-size: 13px;
  color: var(--shell8f4ec-gold);
  line-height: 1.3;
}

.shell8f4ec-slide-txt small {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--shell8f4ec-radius-pill);
  background: linear-gradient(135deg, var(--shell8f4ec-gold), var(--shell8f4ec-amber));
  color: #1E1E1E;
  font-family: var(--shell8f4ec-font-head);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.shell8f4ec-dots {
  position: absolute;
  top: 9px;
  right: 10px;
  display: flex;
  gap: 5px;
}

.shell8f4ec-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(247, 241, 227, 0.34);
  transition: transform 0.2s ease, background 0.2s ease;
}

.shell8f4ec-dot--on {
  background: var(--shell8f4ec-gold);
  transform: scale(1.28);
}

/* --------------------------------------------------------------------------
   Game bands (pure image card + short name below)
   -------------------------------------------------------------------------- */

.shell8f4ec-band {
  margin-top: 18px;
  animation: shell8f4ec-rise 0.45s ease both;
}

.shell8f4ec-bandhead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.shell8f4ec-bandhead::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--shell8f4ec-gold), var(--shell8f4ec-flame));
  flex: 0 0 auto;
}

.shell8f4ec-bandtitle {
  font-family: var(--shell8f4ec-font-head);
  font-size: 16.5px;
  font-weight: 800;
  color: var(--shell8f4ec-text);
  margin: 0;
  line-height: 1.3;
}

.shell8f4ec-chip {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--shell8f4ec-amber);
  border: 1px solid rgba(255, 149, 0, 0.38);
  border-radius: var(--shell8f4ec-radius-pill);
  padding: 2px 8px;
  white-space: nowrap;
}

.shell8f4ec-bandlead {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--shell8f4ec-muted);
}

.shell8f4ec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
}

.shell8f4ec-gcard {
  display: block;
  width: 100%;
  padding: 5px 5px 6px;
  background: var(--shell8f4ec-panel);
  border: 1px solid var(--shell8f4ec-line-soft);
  border-radius: var(--shell8f4ec-radius-md);
  text-align: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.shell8f4ec-gcard:active {
  transform: translateY(-2px);
  border-color: rgba(255, 204, 2, 0.4);
}

.shell8f4ec-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--shell8f4ec-radius-sm);
}

.shell8f4ec-gcard span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 5px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--shell8f4ec-text);
  min-height: 27px;
}

/* --------------------------------------------------------------------------
   Content modules after the game area
   -------------------------------------------------------------------------- */

.shell8f4ec-module {
  margin-top: 18px;
  background: var(--shell8f4ec-panel);
  border: 1px solid var(--shell8f4ec-line-soft);
  border-radius: var(--shell8f4ec-radius-lg);
  padding: 14px 13px;
  animation: shell8f4ec-rise 0.45s ease both;
}

.shell8f4ec-module h2 {
  font-family: var(--shell8f4ec-font-head);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--shell8f4ec-gold);
  margin: 0 0 8px;
}

.shell8f4ec-module h3 {
  font-family: var(--shell8f4ec-font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--shell8f4ec-text);
  margin: 12px 0 4px;
}

.shell8f4ec-module p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.72;
  color: var(--shell8f4ec-muted);
}

.shell8f4ec-module p:last-child { margin-bottom: 0; }

.shell8f4ec-checklist {
  list-style: none;
  margin: 10px 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.shell8f4ec-checklist li {
  position: relative;
  padding: 8px 10px 8px 30px;
  background: var(--shell8f4ec-panel-2);
  border-radius: var(--shell8f4ec-radius-sm);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--shell8f4ec-muted);
}

.shell8f4ec-checklist li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--shell8f4ec-gold), var(--shell8f4ec-amber));
}

.shell8f4ec-personas {
  display: grid;
  gap: 8px;
  margin: 10px 0 2px;
}

.shell8f4ec-persona {
  background: var(--shell8f4ec-panel-2);
  border-radius: var(--shell8f4ec-radius-md);
  border-left: 3px solid var(--shell8f4ec-amber);
  padding: 9px 11px;
}

.shell8f4ec-persona b {
  display: block;
  font-size: 13px;
  color: var(--shell8f4ec-gold);
  margin-bottom: 2px;
}

.shell8f4ec-persona p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--shell8f4ec-muted);
}

/* Winners board */

.shell8f4ec-winners {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.shell8f4ec-winrow {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  background: var(--shell8f4ec-panel-2);
  border-radius: var(--shell8f4ec-radius-md);
}

.shell8f4ec-wavatar {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 204, 2, 0.22), rgba(255, 69, 0, 0.22));
  border: 1px solid var(--shell8f4ec-line);
  color: var(--shell8f4ec-gold);
  font-family: var(--shell8f4ec-font-head);
  font-size: 12px;
  font-weight: 800;
}

.shell8f4ec-wmain {
  min-width: 0;
  flex: 1 1 auto;
}

.shell8f4ec-wgame {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shell8f4ec-text);
  line-height: 1.35;
}

.shell8f4ec-wtime {
  display: block;
  font-size: 10.5px;
  color: var(--shell8f4ec-faint);
  line-height: 1.4;
}

.shell8f4ec-wamt {
  flex: 0 0 auto;
  font-family: var(--shell8f4ec-font-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--shell8f4ec-gold);
  white-space: nowrap;
}

/* Scenario cards */

.shell8f4ec-scenes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.shell8f4ec-scene {
  background: var(--shell8f4ec-panel-2);
  border: 1px solid var(--shell8f4ec-line-soft);
  border-radius: var(--shell8f4ec-radius-md);
  padding: 10px 11px;
}

.shell8f4ec-scene b {
  display: block;
  font-family: var(--shell8f4ec-font-head);
  font-size: 12.5px;
  color: var(--shell8f4ec-gold);
  margin-bottom: 3px;
  line-height: 1.35;
}

.shell8f4ec-scene p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--shell8f4ec-muted);
}

/* --------------------------------------------------------------------------
   Extended homepage footer: directory > brand > promotions > disclaimer
   -------------------------------------------------------------------------- */

.shell8f4ec-directory {
  margin-top: 20px;
  border-top: 1px dashed var(--shell8f4ec-line);
  padding-top: 14px;
}

.shell8f4ec-dirgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 8px;
}

.shell8f4ec-diritem {
  display: block;
  background: var(--shell8f4ec-panel);
  border: 1px solid var(--shell8f4ec-line-soft);
  border-radius: var(--shell8f4ec-radius-md);
  padding: 9px 10px;
  min-height: 46px;
}

.shell8f4ec-diritem b {
  display: block;
  font-family: var(--shell8f4ec-font-head);
  font-size: 12.5px;
  color: var(--shell8f4ec-gold);
  line-height: 1.35;
}

.shell8f4ec-diritem span {
  display: block;
  font-size: 10.5px;
  color: var(--shell8f4ec-faint);
  line-height: 1.45;
  margin-top: 2px;
}

.shell8f4ec-diritem:hover { text-decoration: none; border-color: var(--shell8f4ec-line); }

.shell8f4ec-brandnote {
  margin-top: 18px;
  background: linear-gradient(135deg, rgba(255, 204, 2, 0.08), rgba(255, 69, 0, 0.06));
  border: 1px solid var(--shell8f4ec-line-soft);
  border-radius: var(--shell8f4ec-radius-lg);
  padding: 13px;
}

.shell8f4ec-brandnote h2 {
  font-family: var(--shell8f4ec-font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--shell8f4ec-gold);
  margin: 0 0 6px;
}

.shell8f4ec-brandnote p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--shell8f4ec-muted);
}

.shell8f4ec-promowall {
  margin-top: 18px;
}

.shell8f4ec-promowall h2 {
  font-family: var(--shell8f4ec-font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--shell8f4ec-gold);
  margin: 0 0 8px;
}

.shell8f4ec-promolist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.shell8f4ec-promoitem {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 8px 10px;
  border: 0;
  border-radius: var(--shell8f4ec-radius-md);
  background: linear-gradient(135deg, var(--shell8f4ec-panel-2), var(--shell8f4ec-panel));
  border-left: 3px solid var(--shell8f4ec-amber);
  color: var(--shell8f4ec-text);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  transition: transform 0.15s ease;
}

.shell8f4ec-promoitem:active { transform: translateY(-2px); }

.shell8f4ec-promoitem svg {
  width: 15px;
  height: 15px;
  color: var(--shell8f4ec-gold);
  flex: 0 0 auto;
}

.shell8f4ec-note {
  margin-top: 16px;
  padding: 10px 12px;
  background: rgba(255, 69, 0, 0.07);
  border: 1px solid rgba(255, 69, 0, 0.22);
  border-radius: var(--shell8f4ec-radius-md);
  font-size: 11px;
  line-height: 1.65;
  color: var(--shell8f4ec-faint);
}

/* --------------------------------------------------------------------------
   Common footer + fixed bottom dock (center-raised)
   -------------------------------------------------------------------------- */

.shell8f4ec-footer {
  border-top: 1px solid var(--shell8f4ec-line-soft);
  padding: 12px 14px calc(var(--shell8f4ec-dock-h) + 22px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 11px;
  color: var(--shell8f4ec-faint);
}

.shell8f4ec-footer b { color: var(--shell8f4ec-muted); font-weight: 700; }

.shell8f4ec-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 65;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 2px;
  height: calc(var(--shell8f4ec-dock-h) + env(safe-area-inset-bottom));
  padding: 5px 6px calc(5px + env(safe-area-inset-bottom));
  background: rgba(21, 20, 18, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--shell8f4ec-line);
}

.shell8f4ec-dockitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: var(--shell8f4ec-faint);
  border-radius: var(--shell8f4ec-radius-sm);
  padding: 3px 2px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.shell8f4ec-dockitem:hover { text-decoration: none; color: var(--shell8f4ec-text); }

.shell8f4ec-dockitem:active { transform: translateY(-2px); }

.shell8f4ec-dockitem svg {
  width: 21px;
  height: 21px;
  color: currentColor;
}

.shell8f4ec-docklabel {
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

.shell8f4ec-dockitem--now {
  color: var(--shell8f4ec-gold);
  background: rgba(255, 204, 2, 0.08);
  border-radius: var(--shell8f4ec-radius-sm);
}

.shell8f4ec-dockitem--now svg { color: var(--shell8f4ec-gold); }

/* Center raised play button */

.shell8f4ec-dockhub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-height: 44px;
  margin-top: -26px;
  padding-top: 0;
  color: var(--shell8f4ec-muted);
  background: none;
  border: 0;
  border-radius: var(--shell8f4ec-radius-pill);
  transition: transform 0.15s ease;
}

.shell8f4ec-dockhub:active { transform: translateY(-3px); }

.shell8f4ec-dockhub-coin {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--shell8f4ec-gold) 0%, var(--shell8f4ec-amber) 46%, var(--shell8f4ec-flame) 100%);
  border: 3px solid #171614;
  box-shadow: 0 8px 20px rgba(255, 120, 0, 0.42);
  color: #1E1E1E;
}

.shell8f4ec-dockhub-coin svg { width: 24px; height: 24px; color: #1E1E1E; }

.shell8f4ec-dockhub .shell8f4ec-docklabel { color: var(--shell8f4ec-gold); }

/* --------------------------------------------------------------------------
   Motion budget: restrained fade-in only
   -------------------------------------------------------------------------- */

@keyframes shell8f4ec-rise {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}

/* --------------------------------------------------------------------------
   Responsive ladder inside the 320-430px canvas
   -------------------------------------------------------------------------- */

@media (min-width: 360px) {
  .shell8f4ec-grid { gap: 9px 7px; }
  .shell8f4ec-gcard span { font-size: 11px; }
}

@media (min-width: 400px) {
  .shell8f4ec-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .shell8f4ec-hero h1 { font-size: 25px; }
  .shell8f4ec-facts { gap: 7px; }
}

/* Wide screens keep the phone canvas and dim the backdrop */
@media (min-width: 700px) {
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
      radial-gradient(circle at 20% 18%, rgba(255, 149, 0, 0.07), transparent 42%),
      radial-gradient(circle at 82% 80%, rgba(255, 69, 0, 0.06), transparent 46%);
    pointer-events: none;
  }
  .shell8f4ec-page { border-left: 1px solid rgba(255, 204, 2, 0.08); border-right: 1px solid rgba(255, 204, 2, 0.08); }
}

/* Small legacy phones: tighten type so nothing overflows a 320px canvas */
@media (max-width: 339px) {
  .shell8f4ec-hero h1 { font-size: 21px; }
  .shell8f4ec-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shell8f4ec-btn { padding: 0 10px; font-size: 12px; }
  .shell8f4ec-dirgrid, .shell8f4ec-promolist { grid-template-columns: minmax(0, 1fr); }
}
