/* ==========================================================================
   47777.cyou - mobile canvas stylesheet
   Prefix contract: every class and CSS variable uses "shell17408-".
   Palette anchors: ink #212F3D (background) / paper #F0F0F0 (text) / mist #E6E6FA (accent)
   Canvas: fixed 430px max width, centered on wide screens.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --shell17408-ink: #212F3D;
  --shell17408-ink-deep: #17222c;
  --shell17408-ink-raise: #2a3b4d;
  --shell17408-ink-soft: #24333f;
  --shell17408-paper: #F0F0F0;
  --shell17408-mist: #E6E6FA;
  --shell17408-mist-dim: rgba(230, 230, 250, 0.62);
  --shell17408-mist-faint: rgba(230, 230, 250, 0.10);
  --shell17408-line: rgba(230, 230, 250, 0.16);
  --shell17408-line-strong: rgba(230, 230, 250, 0.34);
  --shell17408-font-bn: 'Hind Siliguri', 'Noto Sans Bengali', 'SolaimanLipi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shell17408-font-mono: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', 'Roboto Mono', Consolas, monospace;
  --shell17408-r-xs: 6px;
  --shell17408-r-sm: 8px;
  --shell17408-r-md: 12px;
  --shell17408-r-lg: 16px;
  --shell17408-touch: 44px;
  --shell17408-dock-h: 64px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 128px;
}

body {
  margin: 0;
  padding: 0;
  background: var(--shell17408-ink-deep);
  color: var(--shell17408-paper);
  font-family: var(--shell17408-font-bn);
  font-size: 15px;
  line-height: 1.78;
  overflow-x: hidden;
}

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

a {
  color: var(--shell17408-mist);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

h1, h2, h3 {
  font-family: inherit;
  color: var(--shell17408-paper);
  margin: 0;
  line-height: 1.42;
}

p {
  margin: 0 0 12px;
}

ul, ol {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--shell17408-mist);
  outline-offset: 2px;
  border-radius: var(--shell17408-r-xs);
}

::selection {
  background: var(--shell17408-mist);
  color: var(--shell17408-ink);
}

.shell17408-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- page canvas (mobile first, 430px max) ---------- */
.shell17408-page {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(420px 260px at 88% -60px, rgba(230, 230, 250, 0.07), transparent 70%),
    radial-gradient(360px 300px at -70px 38%, rgba(230, 230, 250, 0.05), transparent 72%),
    var(--shell17408-ink);
  overflow-x: clip;
}

.shell17408-main {
  padding: 0 0 calc(var(--shell17408-dock-h) + 40px + env(safe-area-inset-bottom));
}

/* ---------- fixed top bar ---------- */
.shell17408-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  background: rgba(23, 34, 44, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--shell17408-line);
}

/* brand row: only the real logo image + site name live here */
.shell17408-brandrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 6px;
  min-height: 54px;
}

.shell17408-logo {
  width: 38px;
  height: 38px;
  border-radius: var(--shell17408-r-sm);
  border: 1px solid var(--shell17408-line-strong);
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--shell17408-ink-raise);
}

.shell17408-wordmark {
  font-family: var(--shell17408-font-mono);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--shell17408-paper);
  line-height: 1;
}

.shell17408-wordmark small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--shell17408-mist-dim);
  margin-top: 3px;
}

/* hamburger sits on the far right of the brand row */
.shell17408-menubtn {
  margin-left: auto;
  width: var(--shell17408-touch);
  height: var(--shell17408-touch);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--shell17408-mist-faint);
  border: 1px solid var(--shell17408-line);
  border-radius: var(--shell17408-r-md);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.shell17408-menubtn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--shell17408-mist);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.shell17408-menubtn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.shell17408-menubtn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.shell17408-menubtn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* action strip: register / login live outside the brand zone */
.shell17408-actionrow {
  display: flex;
  gap: 8px;
  padding: 0 14px 10px;
}

.shell17408-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--shell17408-touch);
  padding: 9px 16px;
  border-radius: var(--shell17408-r-md);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.shell17408-btn:active {
  transform: scale(0.97);
}

.shell17408-btn--register {
  flex: 1.35;
  background: var(--shell17408-mist);
  color: var(--shell17408-ink);
  font-weight: 700;
}

.shell17408-btn--login {
  flex: 1;
  background: transparent;
  color: var(--shell17408-mist);
  border-color: var(--shell17408-line-strong);
}

.shell17408-btn--big {
  min-height: 54px;
  font-size: 16px;
  padding: 12px 22px;
  border-radius: 14px;
}

.shell17408-btn--quiet {
  background: var(--shell17408-mist-faint);
  color: var(--shell17408-paper);
  border-color: var(--shell17408-line);
}

/* ---------- layered dropdown menu ---------- */
.shell17408-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  background: var(--shell17408-ink-deep);
  border-bottom: 1px solid transparent;
  transition: max-height 0.38s ease, border-color 0.3s ease;
}

.shell17408-menu--open {
  max-height: 560px;
  overflow-y: auto;
  border-bottom-color: var(--shell17408-line);
}

.shell17408-mgroup {
  border-top: 1px solid var(--shell17408-line);
}

.shell17408-mgroup:first-child {
  border-top: 0;
}

.shell17408-mgroup summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  min-height: var(--shell17408-touch);
  font-family: var(--shell17408-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--shell17408-mist-dim);
  text-transform: uppercase;
  cursor: pointer;
}

.shell17408-mgroup summary::-webkit-details-marker {
  display: none;
}

.shell17408-mgroup summary::after {
  content: '';
  margin-left: auto;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--shell17408-mist-dim);
  border-bottom: 2px solid var(--shell17408-mist-dim);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.shell17408-mgroup[open] summary::after {
  transform: rotate(-135deg);
}

.shell17408-mlinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 14px 14px;
}

.shell17408-mlink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--shell17408-line);
  border-radius: var(--shell17408-r-md);
  background: var(--shell17408-mist-faint);
  color: var(--shell17408-paper);
  font-size: 12.5px;
  line-height: 1.4;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.shell17408-mlink i {
  font-family: var(--shell17408-font-mono);
  font-style: normal;
  font-size: 10px;
  color: var(--shell17408-mist-dim);
}

.shell17408-mlink:hover {
  background: rgba(230, 230, 250, 0.16);
  text-decoration: none;
  border-color: var(--shell17408-line-strong);
}

.shell17408-mlink--now {
  border-color: var(--shell17408-mist);
  background: rgba(230, 230, 250, 0.18);
}

/* ---------- hero carousel ---------- */
.shell17408-hero {
  padding: 122px 16px 4px;
}

.shell17408-carousel {
  position: relative;
  border-radius: var(--shell17408-r-lg);
  overflow: hidden;
  border: 1px solid var(--shell17408-line);
  background: var(--shell17408-ink-raise);
}

.shell17408-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.33, 0.9, 0.3, 1);
}

.shell17408-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--shell17408-ink-raise);
  text-align: left;
}

.shell17408-slide img {
  width: 100%;
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
}

.shell17408-slidecaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(23, 34, 44, 0.92));
  color: var(--shell17408-paper);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}

.shell17408-slidecaption b {
  color: var(--shell17408-mist);
  font-family: var(--shell17408-font-mono);
  letter-spacing: 0.04em;
}

.shell17408-dots {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.shell17408-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 99px;
  border: 1px solid var(--shell17408-mist-dim);
  background: transparent;
  transition: width 0.25s ease, background 0.25s ease;
}

.shell17408-dot--on {
  width: 20px;
  background: var(--shell17408-mist);
  border-color: var(--shell17408-mist);
}

/* quick mono stat chips under the carousel */
.shell17408-statline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.shell17408-stat {
  border: 1px solid var(--shell17408-line);
  border-radius: var(--shell17408-r-md);
  background: var(--shell17408-mist-faint);
  padding: 8px 4px 7px;
  text-align: center;
}

.shell17408-stat b {
  display: block;
  font-family: var(--shell17408-font-mono);
  font-size: 13px;
  color: var(--shell17408-mist);
  line-height: 1.2;
}

.shell17408-stat span {
  display: block;
  font-size: 10px;
  color: var(--shell17408-mist-dim);
  line-height: 1.5;
}

/* ---------- lead / H1 block ---------- */
.shell17408-lead {
  padding: 18px 16px 6px;
}

.shell17408-eyebrow {
  font-family: var(--shell17408-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  color: var(--shell17408-mist-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.shell17408-h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.shell17408-leaddrop {
  font-size: 14.5px;
  color: var(--shell17408-paper);
}

.shell17408-leaddrop a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shell17408-ctarow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin: 14px 0 4px;
}

.shell17408-ctanote {
  font-size: 11.5px;
  color: var(--shell17408-mist-dim);
}

/* ---------- generic section shell (step-forward rhythm) ---------- */
.shell17408-sec {
  padding: 26px 16px 4px;
  scroll-margin-top: 128px;
}

.shell17408-sechead {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.shell17408-secidx {
  flex: 0 0 auto;
  font-family: var(--shell17408-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--shell17408-ink);
  background: var(--shell17408-mist);
  border-radius: var(--shell17408-r-xs);
  padding: 3px 7px;
  line-height: 1.3;
  margin-top: 4px;
}

.shell17408-h2 {
  font-size: 18.5px;
  font-weight: 700;
  flex: 1;
}

.shell17408-secline {
  height: 1px;
  background: linear-gradient(90deg, var(--shell17408-line-strong), transparent);
  margin: 2px 0 12px;
}

.shell17408-secintro {
  font-size: 13.5px;
  color: var(--shell17408-paper);
  margin-bottom: 14px;
}

.shell17408-secintro a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- game grid: big lead tile + small tiles ---------- */
.shell17408-games {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.shell17408-game {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 6px 7px;
  background: var(--shell17408-ink-raise);
  border: 1px solid var(--shell17408-line);
  border-radius: var(--shell17408-r-md);
  text-align: center;
  transition: transform 0.15s ease, border-color 0.25s ease, background 0.25s ease;
}

.shell17408-game:hover {
  border-color: var(--shell17408-line-strong);
}

.shell17408-game:active {
  transform: scale(0.95);
}

.shell17408-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--shell17408-r-sm);
  background: var(--shell17408-ink-soft);
}

.shell17408-gamename {
  font-size: 11px;
  line-height: 1.45;
  color: var(--shell17408-paper);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

/* the wide "lead" tile mixes card sizes inside each category */
.shell17408-game--lead {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 10px;
  padding: 10px;
  background: linear-gradient(135deg, var(--shell17408-ink-raise), rgba(230, 230, 250, 0.10));
  border-color: var(--shell17408-line-strong);
}

.shell17408-game--lead img {
  width: 86px;
  flex: 0 0 86px;
  border-radius: var(--shell17408-r-md);
}

.shell17408-game--lead .shell17408-gamename {
  font-size: 13px;
  font-weight: 700;
  -webkit-line-clamp: 3;
  min-height: 0;
}

.shell17408-game--lead .shell17408-gamename::after {
  content: 'খেলতে ট্যাপ করুন';
  display: block;
  margin-top: 6px;
  font-family: var(--shell17408-font-mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--shell17408-mist-dim);
}

/* per-category accent tint keeps sections visually distinct */
.shell17408-sec--casino .shell17408-game--lead { background: linear-gradient(135deg, var(--shell17408-ink-raise), rgba(230, 230, 250, 0.16)); }
.shell17408-sec--poker .shell17408-game--lead { background: linear-gradient(200deg, var(--shell17408-ink-raise), rgba(230, 230, 250, 0.12)); }
.shell17408-sec--slot .shell17408-game--lead { background: linear-gradient(115deg, rgba(230, 230, 250, 0.14), var(--shell17408-ink-raise)); }
.shell17408-sec--hot .shell17408-game--lead { background: linear-gradient(45deg, var(--shell17408-ink-raise), rgba(230, 230, 250, 0.18)); }
.shell17408-sec--fishing .shell17408-game--lead { background: linear-gradient(160deg, rgba(230, 230, 250, 0.12), var(--shell17408-ink-raise)); }

/* ---------- step list (module rhythm) ---------- */
.shell17408-steps {
  list-style: none;
  counter-reset: shell17408-step;
}

.shell17408-step {
  counter-increment: shell17408-step;
  position: relative;
  padding: 0 0 16px 44px;
}

.shell17408-step::before {
  content: counter(shell17408-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shell17408-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--shell17408-ink);
  background: var(--shell17408-mist);
  border-radius: var(--shell17408-r-sm);
}

.shell17408-step::after {
  content: '';
  position: absolute;
  left: 14.5px;
  top: 36px;
  bottom: 2px;
  width: 1px;
  background: var(--shell17408-line);
}

.shell17408-step:last-child::after {
  display: none;
}

.shell17408-step h3 {
  font-size: 14.5px;
  margin-bottom: 4px;
}

.shell17408-step p {
  font-size: 13px;
  color: var(--shell17408-paper);
  margin: 0;
}

/* ---------- comparison rows ---------- */
.shell17408-compare {
  border: 1px solid var(--shell17408-line);
  border-radius: var(--shell17408-r-md);
  overflow: hidden;
}

.shell17408-crow {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 11px 12px;
  background: var(--shell17408-mist-faint);
  border-top: 1px solid var(--shell17408-line);
}

.shell17408-crow:first-child {
  border-top: 0;
}

.shell17408-crow dt {
  margin: 0;
  font-family: var(--shell17408-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--shell17408-mist);
  text-transform: uppercase;
  padding-top: 3px;
}

.shell17408-crow dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

/* ---------- winners timeline ---------- */
.shell17408-timeline {
  list-style: none;
  position: relative;
  padding-left: 20px;
}

.shell17408-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--shell17408-line-strong);
}

.shell17408-tl {
  position: relative;
  padding: 0 0 14px;
}

.shell17408-tl::before {
  content: '';
  position: absolute;
  left: -19px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--shell17408-mist);
  box-shadow: 0 0 0 3px rgba(230, 230, 250, 0.14);
}

.shell17408-tltime {
  font-family: var(--shell17408-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--shell17408-mist-dim);
  display: block;
  margin-bottom: 2px;
}

.shell17408-tl p {
  font-size: 13px;
  margin: 0;
}

/* ---------- fact sheet ---------- */
.shell17408-facts {
  display: grid;
  gap: 8px;
}

.shell17408-fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px dashed var(--shell17408-line-strong);
  border-radius: var(--shell17408-r-md);
  background: var(--shell17408-mist-faint);
}

.shell17408-fact dt {
  font-size: 12.5px;
  color: var(--shell17408-paper);
  margin: 0;
}

.shell17408-fact dd {
  margin: 0;
  font-family: var(--shell17408-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--shell17408-mist);
  text-align: right;
  white-space: nowrap;
}

/* ---------- decision checklist ---------- */
.shell17408-check {
  list-style: none;
  display: grid;
  gap: 8px;
}

.shell17408-check li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--shell17408-line);
  border-radius: var(--shell17408-r-md);
  background: var(--shell17408-ink-raise);
  font-size: 13px;
}

.shell17408-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--shell17408-mist);
  flex: 0 0 auto;
}

/* ---------- inline promo text links ---------- */
.shell17408-golink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 99px;
  border: 1px solid var(--shell17408-line-strong);
  background: var(--shell17408-mist-faint);
  color: var(--shell17408-mist);
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

.shell17408-golink:hover {
  background: rgba(230, 230, 250, 0.18);
  text-decoration: none;
}

.shell17408-golink:active {
  transform: scale(0.97);
}

.shell17408-golink::after {
  content: '→';
  font-family: var(--shell17408-font-mono);
}

/* ---------- extended footer (index only) ---------- */
.shell17408-xfoot {
  margin-top: 30px;
  padding: 22px 16px 8px;
  border-top: 1px solid var(--shell17408-line-strong);
  background: linear-gradient(180deg, rgba(230, 230, 250, 0.045), transparent 240px);
}

.shell17408-xfoot-h2 {
  font-size: 17px;
  margin-bottom: 12px;
}

.shell17408-xfoot h3 {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--shell17408-mist);
  margin: 18px 0 8px;
  font-family: var(--shell17408-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10.5px;
}

.shell17408-brandnote {
  font-size: 13px;
}

.shell17408-directory {
  list-style: none;
  display: grid;
  gap: 6px;
}

.shell17408-directory li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--shell17408-line);
  border-radius: var(--shell17408-r-md);
  background: var(--shell17408-mist-faint);
}

.shell17408-directory i {
  font-family: var(--shell17408-font-mono);
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: var(--shell17408-mist-dim);
}

.shell17408-directory a {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
}

.shell17408-directory a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* six staggered promo actions */
.shell17408-promofan {
  display: grid;
  gap: 8px;
}

.shell17408-promofan .shell17408-btn {
  width: 100%;
}

.shell17408-promofan .shell17408-btn--duo {
  display: flex;
  gap: 8px;
  width: 100%;
}

.shell17408-promofan .shell17408-btn--duo .shell17408-btn {
  flex: 1;
  width: auto;
}

.shell17408-promotext {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.shell17408-disclaimer {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--shell17408-mist-dim);
  background: var(--shell17408-mist-faint);
  border-radius: 0 var(--shell17408-r-sm) var(--shell17408-r-sm) 0;
  font-size: 11.5px;
  color: var(--shell17408-mist-dim);
  line-height: 1.7;
}

/* ---------- common footer ---------- */
.shell17408-footer {
  padding: 18px 16px 10px;
  text-align: center;
}

.shell17408-copy {
  font-family: var(--shell17408-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--shell17408-mist-dim);
}

/* ---------- fixed bottom dock (5 roles) ---------- */
.shell17408-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);
  height: calc(var(--shell17408-dock-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(23, 34, 44, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--shell17408-line);
}

.shell17408-dockbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--shell17408-dock-h);
  padding: 6px 2px 4px;
  background: none;
  border: 0;
  color: var(--shell17408-mist-dim);
  font-size: 10px;
  line-height: 1.3;
  transition: color 0.25s ease;
}

.shell17408-dockbtn svg {
  width: 22px;
  height: 22px;
  display: block;
}

.shell17408-dockbtn:active {
  color: var(--shell17408-paper);
}

.shell17408-dockbtn--home,
.shell17408-dockbtn--page {
  text-decoration: none;
}

.shell17408-dockbtn--home:hover,
.shell17408-dockbtn--page:hover {
  text-decoration: none;
}

/* active state = soft background block hugging the icon */
.shell17408-dockbtn--now {
  color: var(--shell17408-paper);
}

.shell17408-dockbtn--now::before {
  content: '';
  position: absolute;
}

.shell17408-dockcell {
  position: relative;
  display: flex;
  justify-content: center;
}

.shell17408-dockcell--now::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 34px;
  border-radius: 12px;
  background: rgba(230, 230, 250, 0.16);
  border: 1px solid rgba(230, 230, 250, 0.22);
  transition: background 0.25s ease;
}

.shell17408-dockcell--now .shell17408-dockbtn {
  color: var(--shell17408-mist);
  font-weight: 700;
}

/* ---------- reveal-on-scroll flourish (light budget) ---------- */
.shell17408-rv {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.shell17408-rv.shell17408-in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive: keep 4 columns at 320, step to 5 near 400 ---------- */
@media (min-width: 375px) {
  .shell17408-h1 {
    font-size: 25px;
  }
}

@media (min-width: 400px) {
  .shell17408-games {
    grid-template-columns: repeat(5, 1fr);
  }

  .shell17408-game--lead {
    grid-column: span 2;
  }

  .shell17408-h2 {
    font-size: 19.5px;
  }

  .shell17408-stat b {
    font-size: 14px;
  }
}

/* very narrow phones: keep everything readable without overflow */
@media (max-width: 339px) {
  .shell17408-games {
    gap: 6px;
  }

  .shell17408-gamename {
    font-size: 10.5px;
  }

  .shell17408-actionrow {
    flex-direction: column;
  }

  .shell17408-mlinks {
    grid-template-columns: 1fr;
  }
}

/* Keep promotional and game controls comfortably tappable on the narrowest phones. */
.shell17408-btn,
.shell17408-golink,
.shell17408-game,
.shell17408-dockbtn {
  -webkit-tap-highlight-color: rgba(230, 230, 250, 0.18);
}

.shell17408-btn--duo {
  flex-wrap: wrap;
}

@media (max-width: 359px) {
  .shell17408-statline {
    grid-template-columns: repeat(2, 1fr);
  }

  .shell17408-game--lead {
    grid-column: span 4;
  }
}

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

  .shell17408-rv {
    opacity: 1;
    transform: none;
  }
}
