/* ============================================================
   ck444com mobile-first base stylesheet
   All classes and custom properties use the prefix shell4e0e7-
   Palette: #212F3D / #FFD700 / #FF4500 / #98FB98 / #20B2AA
   ============================================================ */

:root {
  --shell4e0e7-bg: #212F3D;
  --shell4e0e7-bg-deep: #17222d;
  --shell4e0e7-panel: #2a3b4c;
  --shell4e0e7-panel-2: #32465a;
  --shell4e0e7-line: rgba(255, 255, 255, 0.09);
  --shell4e0e7-line-gold: rgba(255, 215, 0, 0.28);
  --shell4e0e7-gold: #FFD700;
  --shell4e0e7-ember: #FF4500;
  --shell4e0e7-mint: #98FB98;
  --shell4e0e7-teal: #20B2AA;
  --shell4e0e7-text: #f2f6f9;
  --shell4e0e7-mut: #a9bac8;
  --shell4e0e7-ink: #141d26;
  --shell4e0e7-r-lg: 18px;
  --shell4e0e7-r-md: 12px;
  --shell4e0e7-r-sm: 8px;
  --shell4e0e7-font: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", "Kalpurush", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
}

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

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

body {
  background: var(--shell4e0e7-bg-deep);
  color: var(--shell4e0e7-text);
  font-family: var(--shell4e0e7-font);
  font-size: 14px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-wrap: break-word;
  word-break: normal;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--shell4e0e7-teal); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style-position: inside; }

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

/* ---------- centered phone canvas ---------- */

.shell4e0e7-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--shell4e0e7-bg);
  min-height: 100vh;
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
}

/* ---------- fixed identity mast ---------- */

.shell4e0e7-mast {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: linear-gradient(180deg, #23343f 0%, #1c2a36 100%);
  border-bottom: 1px solid var(--shell4e0e7-line-gold);
  padding-top: env(safe-area-inset-top, 0);
}

.shell4e0e7-mast-id {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 12px 5px;
}

.shell4e0e7-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1.5px solid var(--shell4e0e7-line-gold);
  object-fit: cover;
}

.shell4e0e7-brand {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--shell4e0e7-gold);
}

.shell4e0e7-mast-actions {
  display: grid;
  grid-template-columns: 1fr 1.25fr auto;
  gap: 8px;
  padding: 4px 12px 9px;
}

/* ---------- compact button pair ---------- */

.shell4e0e7-btn {
  min-height: 44px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.12s ease, filter 0.12s ease;
}

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

.shell4e0e7-btn--ghost {
  color: var(--shell4e0e7-teal);
  border: 1.5px solid rgba(32, 178, 170, 0.55);
  background: rgba(32, 178, 170, 0.08);
}

.shell4e0e7-btn--gold {
  color: var(--shell4e0e7-ink);
  background: linear-gradient(180deg, #ffe14d 0%, var(--shell4e0e7-gold) 55%, #e6bd00 100%);
  box-shadow: 0 3px 10px rgba(255, 215, 0, 0.25);
}

.shell4e0e7-btn--menu {
  color: var(--shell4e0e7-mint);
  border: 1.5px solid rgba(152, 251, 152, 0.4);
  padding: 0 12px;
  background: rgba(152, 251, 152, 0.06);
}

.shell4e0e7-btn--menu svg { width: 18px; height: 18px; }

/* ---------- compact route panel (expandable menu) ---------- */

.shell4e0e7-route {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  background: rgba(20, 29, 38, 0.97);
}

.shell4e0e7-route--open { max-height: 480px; }

.shell4e0e7-route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px 12px 14px;
}

.shell4e0e7-route-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 10px;
  border-radius: var(--shell4e0e7-r-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--shell4e0e7-text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--shell4e0e7-line);
  transition: background 0.12s ease, transform 0.12s ease;
}

.shell4e0e7-route-link:active { transform: scale(0.97); background: rgba(255, 215, 0, 0.12); }

.shell4e0e7-route-link svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--shell4e0e7-gold);
}

.shell4e0e7-route-link--on {
  border-color: var(--shell4e0e7-line-gold);
  background: rgba(255, 215, 0, 0.1);
}

/* ---------- main flow ---------- */

.shell4e0e7-main {
  padding: 122px 12px calc(92px + env(safe-area-inset-bottom, 0px));
}

.shell4e0e7-sec { margin-bottom: 24px; }

/* ---------- hero ---------- */

.shell4e0e7-hero {
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(255, 69, 0, 0.22), transparent 60%),
    radial-gradient(110% 100% at 10% 0%, rgba(32, 178, 170, 0.16), transparent 55%),
    linear-gradient(180deg, #26394a 0%, #223243 100%);
  border: 1px solid var(--shell4e0e7-line);
  border-radius: var(--shell4e0e7-r-lg);
  padding: 18px 15px 16px;
}

.shell4e0e7-hero-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--shell4e0e7-mint);
  border: 1px solid rgba(152, 251, 152, 0.35);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 10px;
}

.shell4e0e7-h1 {
  font-size: 20px;
  line-height: 1.45;
  font-weight: 800;
  color: var(--shell4e0e7-text);
  margin-bottom: 9px;
}

.shell4e0e7-hero-lead {
  font-size: 13.5px;
  font-weight: 400;
  color: #d7e2ea;
  margin-bottom: 14px;
}

.shell4e0e7-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.shell4e0e7-duo .shell4e0e7-btn { width: 100%; }

.shell4e0e7-duo--after { margin-top: 12px; }

/* ---------- promo slide (carousel) ---------- */

.shell4e0e7-slide-wrap {
  position: relative;
  border-radius: var(--shell4e0e7-r-md);
  overflow: hidden;
  aspect-ratio: 430 / 200;
  border: 1px solid var(--shell4e0e7-line);
  touch-action: pan-y;
}

.shell4e0e7-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.shell4e0e7-slide--on {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.shell4e0e7-slide-img { width: 100%; height: 100%; object-fit: cover; }

.shell4e0e7-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 29, 38, 0.88) 78%);
}

.shell4e0e7-slide-cap strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--shell4e0e7-gold);
}

.shell4e0e7-slide-cap span {
  font-size: 11.5px;
  color: #dfe8ee;
}

.shell4e0e7-slide-cap .shell4e0e7-slide-go {
  align-self: flex-start;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--shell4e0e7-ink);
  background: var(--shell4e0e7-gold);
  border-radius: 999px;
  padding: 5px 13px;
}

.shell4e0e7-dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 10px 0 0;
}

.shell4e0e7-dot {
  width: 34px;
  height: 22px;
  position: relative;
}

.shell4e0e7-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition: width 0.2s ease, background 0.2s ease;
}

.shell4e0e7-dot--on::before { width: 20px; background: var(--shell4e0e7-gold); }

/* ---------- quick route chips ---------- */

.shell4e0e7-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0 4px;
  margin-bottom: 22px;
}

.shell4e0e7-strip::-webkit-scrollbar { display: none; }

.shell4e0e7-chip {
  flex: none;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shell4e0e7-text);
  background: var(--shell4e0e7-panel);
  border: 1px solid var(--shell4e0e7-line);
  transition: transform 0.12s ease;
}

.shell4e0e7-chip:active { transform: scale(0.95); }

/* ---------- section headings ---------- */

.shell4e0e7-h2 {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 800;
  color: var(--shell4e0e7-text);
  margin-bottom: 8px;
}

.shell4e0e7-lead {
  font-size: 13.5px;
  color: #cdd9e2;
  margin-bottom: 14px;
}

.shell4e0e7-lead a, .shell4e0e7-faq-a a, .shell4e0e7-term dd a {
  color: var(--shell4e0e7-mint);
  font-weight: 700;
  border-bottom: 1px dashed rgba(152, 251, 152, 0.5);
}

/* ---------- game group cover head ---------- */

.shell4e0e7-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--shell4e0e7-r-md);
  padding: 9px 12px;
  margin-bottom: 11px;
  border: 1px solid var(--shell4e0e7-line);
}

.shell4e0e7-group-head--live { background: linear-gradient(90deg, rgba(255, 69, 0, 0.24), rgba(255, 69, 0, 0.05)); border-color: rgba(255, 69, 0, 0.4); }
.shell4e0e7-group-head--hot { background: linear-gradient(90deg, rgba(255, 215, 0, 0.22), rgba(255, 215, 0, 0.04)); border-color: var(--shell4e0e7-line-gold); }
.shell4e0e7-group-head--slot { background: linear-gradient(90deg, rgba(32, 178, 170, 0.22), rgba(32, 178, 170, 0.04)); border-color: rgba(32, 178, 170, 0.4); }
.shell4e0e7-group-head--fishing { background: linear-gradient(90deg, rgba(152, 251, 152, 0.18), rgba(152, 251, 152, 0.03)); border-color: rgba(152, 251, 152, 0.35); }
.shell4e0e7-group-head--poker { background: linear-gradient(90deg, rgba(255, 215, 0, 0.14), rgba(255, 69, 0, 0.12)); border-color: rgba(255, 215, 0, 0.3); }

.shell4e0e7-group-ico {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 29, 38, 0.55);
}

.shell4e0e7-group-ico svg { width: 19px; height: 19px; color: var(--shell4e0e7-gold); }
.shell4e0e7-group-head--fishing .shell4e0e7-group-ico svg,
.shell4e0e7-group-head--slot .shell4e0e7-group-ico svg { color: var(--shell4e0e7-mint); }
.shell4e0e7-group-head--live .shell4e0e7-group-ico svg { color: var(--shell4e0e7-ember); }

.shell4e0e7-group-head .shell4e0e7-h2 { margin-bottom: 0; font-size: 16.5px; }

.shell4e0e7-group-meta {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--shell4e0e7-mut);
  margin-top: 2px;
}

/* ---------- cover card grid (4 cols at 320px, 5 from 400px) ---------- */

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

.shell4e0e7-cover {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  border-radius: var(--shell4e0e7-r-md);
  background: var(--shell4e0e7-panel);
  border: 1px solid var(--shell4e0e7-line);
  color: var(--shell4e0e7-text);
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.shell4e0e7-cover:active {
  transform: scale(0.94);
  border-color: var(--shell4e0e7-line-gold);
}

.shell4e0e7-cover-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--shell4e0e7-r-sm);
  background: #1b2833;
}

.shell4e0e7-cover-name {
  font-size: 10.8px;
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
  color: #d9e4ec;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 29px;
}

/* ---------- tricks steps ---------- */

.shell4e0e7-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  counter-reset: shell4e0e7-step;
}

.shell4e0e7-step {
  counter-increment: shell4e0e7-step;
  position: relative;
  padding: 10px 12px 10px 44px;
  border-radius: var(--shell4e0e7-r-md);
  background: var(--shell4e0e7-panel);
  border: 1px solid var(--shell4e0e7-line);
  font-size: 13px;
  color: #d5e0e9;
}

.shell4e0e7-step::before {
  content: counter(shell4e0e7-step);
  position: absolute;
  left: 11px;
  top: 12px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--shell4e0e7-ink);
  background: var(--shell4e0e7-gold);
}

.shell4e0e7-step strong { color: var(--shell4e0e7-gold); font-weight: 700; }

/* ---------- quotes ---------- */

.shell4e0e7-quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.shell4e0e7-quote {
  border-radius: var(--shell4e0e7-r-md);
  background: var(--shell4e0e7-panel);
  border: 1px solid var(--shell4e0e7-line);
  border-left: 3px solid var(--shell4e0e7-teal);
  padding: 11px 12px;
  font-size: 13px;
  color: #d5e0e9;
}

.shell4e0e7-quote-who {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
  font-size: 12px;
  font-weight: 700;
  color: var(--shell4e0e7-mint);
}

.shell4e0e7-quote-ava {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--shell4e0e7-ink);
  background: var(--shell4e0e7-mint);
}

.shell4e0e7-quote-note {
  font-size: 11px;
  color: var(--shell4e0e7-mut);
  margin-top: 10px;
}

/* ---------- comparison table ---------- */

.shell4e0e7-scrollx { overflow-x: auto; border-radius: var(--shell4e0e7-r-md); border: 1px solid var(--shell4e0e7-line); }

.shell4e0e7-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  background: var(--shell4e0e7-panel);
  min-width: 300px;
}

.shell4e0e7-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 800;
  color: var(--shell4e0e7-gold);
  background: rgba(255, 215, 0, 0.08);
  padding: 9px 11px;
  border-bottom: 1px solid var(--shell4e0e7-line);
}

.shell4e0e7-table td {
  padding: 9px 11px;
  color: #d5e0e9;
  border-bottom: 1px solid var(--shell4e0e7-line);
  vertical-align: top;
}

.shell4e0e7-table tr:last-child td { border-bottom: 0; }

.shell4e0e7-table td:first-child { font-weight: 700; color: var(--shell4e0e7-text); white-space: nowrap; }

/* ---------- play style versus cards ---------- */

.shell4e0e7-versus {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.shell4e0e7-vs-card {
  border-radius: var(--shell4e0e7-r-md);
  background: var(--shell4e0e7-panel);
  border: 1px solid var(--shell4e0e7-line);
  padding: 11px 12px;
  font-size: 13px;
  color: #d5e0e9;
}

.shell4e0e7-vs-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--shell4e0e7-ink);
  background: var(--shell4e0e7-teal);
  border-radius: 999px;
  padding: 2px 9px;
  margin-bottom: 6px;
}

.shell4e0e7-vs-card:nth-child(2) .shell4e0e7-vs-tag { background: var(--shell4e0e7-gold); }
.shell4e0e7-vs-card:nth-child(3) .shell4e0e7-vs-tag { background: var(--shell4e0e7-mint); }
.shell4e0e7-vs-card:nth-child(4) .shell4e0e7-vs-tag { background: var(--shell4e0e7-ember); color: #fff; }

.shell4e0e7-vs-card strong { display: block; font-size: 13.5px; font-weight: 800; color: var(--shell4e0e7-text); margin-bottom: 3px; }

/* ---------- faq ---------- */

.shell4e0e7-faq { display: flex; flex-direction: column; gap: 8px; }

.shell4e0e7-faq-item {
  border-radius: var(--shell4e0e7-r-md);
  background: var(--shell4e0e7-panel);
  border: 1px solid var(--shell4e0e7-line);
  overflow: hidden;
}

.shell4e0e7-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 700;
  text-align: left;
  color: var(--shell4e0e7-text);
}

.shell4e0e7-faq-q::after {
  content: "+";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--shell4e0e7-gold);
  background: rgba(255, 215, 0, 0.12);
  transition: transform 0.2s ease;
}

.shell4e0e7-faq-item[open] .shell4e0e7-faq-q::after { content: "−"; transform: rotate(180deg); }

.shell4e0e7-faq-a {
  padding: 0 12px 12px;
  font-size: 13px;
  color: #ccd8e1;
}

/* ---------- term glossary ---------- */

.shell4e0e7-terms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.shell4e0e7-term {
  border-radius: var(--shell4e0e7-r-md);
  background: var(--shell4e0e7-panel);
  border: 1px solid var(--shell4e0e7-line);
  padding: 10px 12px;
}

.shell4e0e7-term-name {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--shell4e0e7-gold);
  margin-bottom: 3px;
}

.shell4e0e7-term dd { font-size: 12.8px; color: #ccd8e1; }

/* ---------- extended footer ---------- */

.shell4e0e7-ext {
  border-radius: var(--shell4e0e7-r-lg);
  border: 1px solid var(--shell4e0e7-line);
  background: linear-gradient(180deg, #243647 0%, #1e2c3a 100%);
  padding: 15px 13px;
}

.shell4e0e7-ext-brand { margin-bottom: 14px; }

.shell4e0e7-ext-brand p { font-size: 13px; color: #cfdbe4; }

.shell4e0e7-h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--shell4e0e7-gold);
  margin-bottom: 9px;
}

.shell4e0e7-ext-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 16px;
}

.shell4e0e7-ext-act {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 8px 11px;
  border-radius: var(--shell4e0e7-r-md);
  font-size: 13px;
  font-weight: 700;
  color: var(--shell4e0e7-text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--shell4e0e7-line);
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.shell4e0e7-ext-act:active { transform: scale(0.96); border-color: var(--shell4e0e7-line-gold); }

.shell4e0e7-ext-act svg { width: 19px; height: 19px; flex: none; color: var(--shell4e0e7-mint); }

.shell4e0e7-ext-act--gold { border-color: var(--shell4e0e7-line-gold); background: rgba(255, 215, 0, 0.1); }
.shell4e0e7-ext-act--gold svg { color: var(--shell4e0e7-gold); }

.shell4e0e7-ext-list {
  list-style: none;
  columns: 2;
  column-gap: 14px;
  margin-bottom: 15px;
}

.shell4e0e7-ext-list li {
  break-inside: avoid;
  margin-bottom: 3px;
}

.shell4e0e7-ext-list a {
  display: block;
  padding: 7px 9px;
  border-radius: var(--shell4e0e7-r-sm);
  font-size: 12.5px;
  font-weight: 600;
  color: #cfdbe4;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--shell4e0e7-line);
}

.shell4e0e7-ext-list a:active { background: rgba(32, 178, 170, 0.15); }

.shell4e0e7-ext-note {
  font-size: 11.8px;
  line-height: 1.7;
  color: var(--shell4e0e7-mut);
  border-top: 1px dashed var(--shell4e0e7-line);
  padding-top: 11px;
}

.shell4e0e7-ext-note strong { color: var(--shell4e0e7-mint); }

/* ---------- copyright ---------- */

.shell4e0e7-copy {
  text-align: center;
  font-size: 12px;
  color: var(--shell4e0e7-mut);
  padding: 4px 0 6px;
}

/* ---------- brand accent bottom dock ---------- */

.shell4e0e7-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(180deg, #22333f 0%, #16202a 100%);
  border-top: 2px solid var(--shell4e0e7-line-gold);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.35);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.shell4e0e7-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 60px;
  padding: 7px 2px 8px;
  font-size: 10.3px;
  font-weight: 700;
  color: var(--shell4e0e7-mut);
  transition: transform 0.14s ease, color 0.14s ease;
}

.shell4e0e7-dock-item:active { transform: scale(0.93); }

.shell4e0e7-dock-ico { height: 24px; display: flex; align-items: center; }

.shell4e0e7-dock-ico svg { width: 22px; height: 22px; }

.shell4e0e7-dock-item--on { color: var(--shell4e0e7-gold); }

.shell4e0e7-dock-item--on .shell4e0e7-dock-ico { transform: translateY(-3px); transition: transform 0.18s ease; }

.shell4e0e7-dock-item--on::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--shell4e0e7-gold);
}

.shell4e0e7-dock-item--promo .shell4e0e7-dock-ico svg { color: var(--shell4e0e7-teal); }

.shell4e0e7-dock-item--promo2 .shell4e0e7-dock-ico svg { color: var(--shell4e0e7-ember); }

/* ---------- restrained reveal motion ---------- */

.shell4e0e7-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.shell4e0e7-reveal--in { opacity: 1; transform: none; }

/* ---------- helpers ---------- */

.shell4e0e7-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- wider phone canvas ---------- */

@media (min-width: 400px) {
  .shell4e0e7-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .shell4e0e7-h1 { font-size: 21px; }
}

@media (min-width: 480px) {
  body { background: #10181f; }
  .shell4e0e7-canvas { border-left: 1px solid rgba(255, 255, 255, 0.06); border-right: 1px solid rgba(255, 255, 255, 0.06); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .shell4e0e7-reveal { opacity: 1; transform: none; }
}
