/* =====================================================================
   bd games - bdgames.cfd - shell stylesheet
   File   : css/shell-native-57a887.css
   Prefix : shell57a88-
   Canvas : 320-430px mobile-first, centered phone canvas on wide screens
   Palette: #273746 base | #00FF00 accent | #FFE135 gold | #BDB76B muted
            | #98FB98 soft green
   Direction: poster-weight headings over narrow body text, near-square
            corners, grouped cover cards, short-list rhythm, drawer
            slide-in + card lift motion, full-width primary CTA.
   ===================================================================== */

/* ---------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------- */
:root {
  --shell57a88-bg: #273746;
  --shell57a88-bg-deep: #1b2634;
  --shell57a88-bg-outer: #141d27;
  --shell57a88-surface: #2f4152;
  --shell57a88-surface-2: #3a4f63;
  --shell57a88-line: #46596c;
  --shell57a88-line-soft: #3b4d5f;
  --shell57a88-ink: #eef6ec;
  --shell57a88-ink-dim: #aebcb1;
  --shell57a88-green: #00ff00;
  --shell57a88-mint: #98fb98;
  --shell57a88-gold: #ffe135;
  --shell57a88-khaki: #bdb76b;
  --shell57a88-danger: #ffb199;
  --shell57a88-radius: 3px;
  --shell57a88-radius-lg: 5px;
  --shell57a88-topbar-h: 56px;
  --shell57a88-bnav-h: 78px;
  --shell57a88-canvas: 430px;
  --shell57a88-gap: 14px;
  --shell57a88-pad: 14px;
  --shell57a88-font-body: "Noto Sans Bengali", "Hind Siliguri",
    "SolaimanLipi", "Kalpurush", system-ui, -apple-system, "Segoe UI",
    Roboto, sans-serif;
  --shell57a88-font-head: "Anek Bangla", "Noto Sans Bengali",
    "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shell57a88-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

/* ---------------------------------------------------------------
   2. Base / reset
   --------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--shell57a88-font-body);
  font-size: 14px;
  line-height: 1.75;
  color: var(--shell57a88-ink);
  background: var(--shell57a88-bg-outer);
  /* Phone canvas: fixed to 430px max, centered on wide screens */
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  background: var(--shell57a88-bg);
  box-shadow: 0 0 42px rgba(0, 0, 0, 0.55);
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

button,
a {
  font-family: inherit;
  touch-action: manipulation;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--shell57a88-mint);
  text-decoration: none;
  border-bottom: 1px solid rgba(152, 251, 152, 0.35);
}

a:hover {
  color: var(--shell57a88-green);
  border-bottom-color: var(--shell57a88-green);
}

:focus-visible {
  outline: 2px dashed var(--shell57a88-mint);
  outline-offset: 2px;
}

::selection {
  background: var(--shell57a88-green);
  color: #10240f;
}

body.shell57a88-lock {
  overflow: hidden;
}

/* ---------------------------------------------------------------
   3. Top action bar (logo-led, fixed to canvas top)
   --------------------------------------------------------------- */
.shell57a88-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 430px;
  width: 100%;
  height: var(--shell57a88-topbar-h);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  background: linear-gradient(180deg, #22303e 0%, #1e2b38 100%);
  border-bottom: 1px solid var(--shell57a88-line);
}

.shell57a88-topbar::after {
  /* thin gold hairline layering the bar */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--shell57a88-gold) 0%,
    var(--shell57a88-green) 55%,
    transparent 100%
  );
  opacity: 0.85;
}

.shell57a88-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border-bottom: 0;
}

.shell57a88-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: var(--shell57a88-radius);
  background: #101a24;
  border: 1px solid var(--shell57a88-line);
  padding: 2px;
  flex: none;
}

.shell57a88-brand-name {
  font-family: var(--shell57a88-font-head);
  font-weight: 900;
  font-style: italic;
  font-size: 19px;
  letter-spacing: -0.4px;
  color: var(--shell57a88-gold);
  line-height: 1.1;
  white-space: nowrap;
}

.shell57a88-top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Buttons - near-square tool feel, full press feedback */
.shell57a88-btn {
  min-height: 36px;
  min-width: 44px;
  padding: 7px 12px;
  border-radius: var(--shell57a88-radius);
  border: 1px solid transparent;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.08s ease, filter 0.15s ease,
    background-color 0.15s ease;
}

.shell57a88-btn:active {
  transform: translateY(1px) scale(0.97);
}

.shell57a88-btn-primary {
  background: var(--shell57a88-gold);
  color: #231d02;
  border-color: #c8b02a;
  box-shadow: 0 2px 0 #6f6117;
}

.shell57a88-btn-primary:hover {
  filter: brightness(1.08);
}

.shell57a88-btn-ghost {
  background: transparent;
  color: var(--shell57a88-mint);
  border-color: var(--shell57a88-green);
}

.shell57a88-btn-ghost:hover {
  background: rgba(0, 255, 0, 0.09);
}

/* Burger - borderless symbol button */
.shell57a88-burger {
  width: 40px;
  height: 36px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 0;
  border-radius: var(--shell57a88-radius);
  cursor: pointer;
}

.shell57a88-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--shell57a88-mint);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.shell57a88-burger:active span {
  background: var(--shell57a88-green);
}

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

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

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

/* ---------------------------------------------------------------
   4. Sectioned drawer menu (slides in under the top bar)
   --------------------------------------------------------------- */
.shell57a88-scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(10, 16, 23, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.shell57a88-scrim[data-open="true"] {
  opacity: 1;
  visibility: visible;
}

.shell57a88-drawer {
  position: fixed;
  top: calc(var(--shell57a88-topbar-h) + 2px);
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 430px;
  z-index: 58;
  background: var(--shell57a88-bg-deep);
  border-bottom: 3px solid var(--shell57a88-green);
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.5);
  padding: 14px 14px 18px;
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.22s ease-out, opacity 0.22s ease-out,
    visibility 0.22s;
  max-height: calc(100vh - var(--shell57a88-topbar-h));
  overflow-y: auto;
}

.shell57a88-drawer[data-open="true"] {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.shell57a88-drawer-cap {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--shell57a88-khaki);
  border-bottom: 1px solid var(--shell57a88-line-soft);
  padding: 4px 2px 5px;
  margin-bottom: 7px;
}

.shell57a88-drawer-sec {
  margin-bottom: 14px;
}

.shell57a88-drawer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.shell57a88-drawer-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 10px;
  background: var(--shell57a88-surface);
  border: 1px solid var(--shell57a88-line-soft);
  border-bottom: 1px solid var(--shell57a88-line-soft);
  border-radius: var(--shell57a88-radius);
  color: var(--shell57a88-ink);
  font-size: 13px;
  font-weight: 600;
  position: relative;
  transition: transform 0.08s ease, background-color 0.15s ease;
}

.shell57a88-drawer-link:active {
  transform: translateY(1px) scale(0.98);
}

.shell57a88-drawer-link:hover {
  color: var(--shell57a88-green);
  background: var(--shell57a88-surface-2);
}

/* Active route marker: mint underline tab */
.shell57a88-drawer-link.shell57a88-is-active {
  color: var(--shell57a88-green);
  border-color: var(--shell57a88-green);
}

.shell57a88-drawer-link.shell57a88-is-active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  background: var(--shell57a88-green);
}

.shell57a88-drawer-tag {
  margin-left: auto;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--shell57a88-khaki);
  border: 1px solid var(--shell57a88-line);
  padding: 1px 5px;
  border-radius: 2px;
  white-space: nowrap;
}

/* ---------------------------------------------------------------
   5. Main canvas
   --------------------------------------------------------------- */
.shell57a88-main {
  padding: calc(var(--shell57a88-topbar-h) + 12px) var(--shell57a88-pad)
    calc(var(--shell57a88-bnav-h) + 34px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------------------------------------------------------------
   6. Hero - poster heading block
   --------------------------------------------------------------- */
.shell57a88-hero {
  position: relative;
  padding: 18px 14px 16px;
  background:
    linear-gradient(158deg, rgba(0, 255, 0, 0.07), rgba(255, 225, 53, 0.05)),
    var(--shell57a88-surface);
  border: 1px solid var(--shell57a88-line);
  border-left: 4px solid var(--shell57a88-green);
  border-radius: var(--shell57a88-radius-lg);
  overflow: hidden;
}

.shell57a88-hero::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border: 14px solid rgba(255, 225, 53, 0.12);
  transform: rotate(35deg);
  pointer-events: none;
}

.shell57a88-hero-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell57a88-khaki);
  border: 1px solid var(--shell57a88-line);
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.shell57a88-hero-title {
  font-family: var(--shell57a88-font-head);
  font-size: clamp(21px, 6.2vw, 27px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -0.3px;
  color: var(--shell57a88-ink);
  text-wrap: balance;
  margin-bottom: 10px;
}

.shell57a88-hero-title em {
  font-style: italic;
  color: var(--shell57a88-gold);
}

.shell57a88-hero-lead {
  font-size: 13.5px;
  color: var(--shell57a88-ink-dim);
  max-width: 40ch;
  margin-bottom: 14px;
}

.shell57a88-cta-main {
  display: block;
  width: 100%;
  min-height: 48px;
  background: var(--shell57a88-green);
  color: #0c240c;
  font-family: var(--shell57a88-font-head);
  font-size: 15.5px;
  font-weight: 900;
  letter-spacing: 0.2px;
  border: 0;
  border-radius: var(--shell57a88-radius);
  box-shadow: 0 3px 0 #128a12;
  cursor: pointer;
  transition: transform 0.08s ease, filter 0.15s ease;
}

.shell57a88-cta-main:hover {
  filter: brightness(1.06);
}

.shell57a88-cta-main:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #128a12;
}

.shell57a88-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.shell57a88-hero-facts li {
  font-size: 11px;
  font-weight: 700;
  color: var(--shell57a88-mint);
  background: rgba(0, 255, 0, 0.08);
  border: 1px solid rgba(0, 255, 0, 0.28);
  padding: 3px 9px;
  border-radius: 2px;
  white-space: nowrap;
}

/* ---------------------------------------------------------------
   7. Promo carousel
   --------------------------------------------------------------- */
.shell57a88-carousel {
  position: relative;
  border-radius: var(--shell57a88-radius-lg);
  border: 1px solid var(--shell57a88-line);
  background: var(--shell57a88-bg-deep);
  overflow: hidden;
}

.shell57a88-carousel-track {
  position: relative;
  aspect-ratio: 430 / 190;
  overflow: hidden;
}

.shell57a88-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #101a24;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.shell57a88-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.shell57a88-slide.shell57a88-slide-on {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  position: relative;
}

.shell57a88-slide-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #10240f;
  background: var(--shell57a88-gold);
  padding: 2px 7px;
  border-radius: 2px;
}

.shell57a88-carousel-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 6px;
  z-index: 3;
}

.shell57a88-dot {
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.shell57a88-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.shell57a88-dot.shell57a88-dot-on::before {
  background: var(--shell57a88-green);
  transform: scale(1.25);
}

.shell57a88-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 30px;
  height: 40px;
  min-width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 26, 36, 0.66);
  border: 0;
  color: var(--shell57a88-mint);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.shell57a88-carousel-arrow:active {
  color: var(--shell57a88-green);
  background: rgba(16, 26, 36, 0.9);
}

.shell57a88-arrow-prev {
  left: 0;
  border-radius: 0 var(--shell57a88-radius) var(--shell57a88-radius) 0;
}

.shell57a88-arrow-next {
  right: 0;
  border-radius: var(--shell57a88-radius) 0 0 var(--shell57a88-radius);
}

/* ---------------------------------------------------------------
   8. Game category groups (grouped cover cards)
   --------------------------------------------------------------- */
.shell57a88-group {
  border: 1px solid var(--shell57a88-line-soft);
  border-left: 3px solid var(--shell57a88-khaki);
  border-radius: var(--shell57a88-radius-lg);
  background: linear-gradient(180deg, #2a3a49 0%, #263544 100%);
  padding: 13px 11px 14px;
}

.shell57a88-group-head {
  margin-bottom: 11px;
}

.shell57a88-group-title {
  font-family: var(--shell57a88-font-head);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.2px;
  color: var(--shell57a88-ink);
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.shell57a88-idx {
  font-family: var(--shell57a88-font-head);
  font-size: 12px;
  font-weight: 800;
  color: #231d02;
  background: var(--shell57a88-gold);
  border-radius: 2px;
  padding: 1px 6px;
  letter-spacing: 0.5px;
  transform: translateY(-1px);
}

.shell57a88-group-note {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--shell57a88-ink-dim);
  max-width: 44ch;
}

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

/* Game cover card - image + Bengali name only, promo entry */
.shell57a88-game {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: center;
  transition: transform 0.14s ease;
}

.shell57a88-game:hover,
.shell57a88-game:focus-visible {
  transform: translateY(-2px);
}

.shell57a88-game:active {
  transform: translateY(1px) scale(0.96);
}

.shell57a88-game-frame {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--shell57a88-radius);
  border: 1px solid var(--shell57a88-line);
  border-top: 2px solid var(--shell57a88-khaki);
  background: #17222e;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.shell57a88-game:hover .shell57a88-game-frame {
  border-color: var(--shell57a88-green);
  border-top-color: var(--shell57a88-green);
}

.shell57a88-game-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell57a88-game-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--shell57a88-ink);
  overflow-wrap: anywhere;
}

.shell57a88-game:hover .shell57a88-game-name {
  color: var(--shell57a88-mint);
}

.shell57a88-group-more {
  margin-top: 12px;
  text-align: center;
}

.shell57a88-group-more a {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--shell57a88-khaki);
  border-bottom: 1px dashed var(--shell57a88-khaki);
  padding-bottom: 1px;
}

.shell57a88-group-more a:hover {
  color: var(--shell57a88-gold);
  border-bottom-color: var(--shell57a88-gold);
}

/* ---------------------------------------------------------------
   9. Editorial modules (short-list rhythm)
   --------------------------------------------------------------- */
.shell57a88-module {
  border-top: 1px solid var(--shell57a88-line-soft);
  padding-top: 16px;
}

.shell57a88-module-title {
  font-family: var(--shell57a88-font-head);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--shell57a88-ink);
  margin-bottom: 9px;
  padding-left: 10px;
  position: relative;
}

.shell57a88-module-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 4px;
  background: var(--shell57a88-green);
}

.shell57a88-module-lead {
  font-size: 13.5px;
  color: var(--shell57a88-ink);
  max-width: 46ch;
  margin-bottom: 10px;
}

.shell57a88-module p {
  font-size: 13.5px;
  color: var(--shell57a88-ink-dim);
  max-width: 46ch;
  margin-bottom: 10px;
}

.shell57a88-module p strong,
.shell57a88-module-lead strong {
  color: var(--shell57a88-ink);
  font-weight: 700;
}

/* Compact square-bullet list */
.shell57a88-checklist {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 10px;
}

.shell57a88-checklist li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--shell57a88-ink-dim);
  line-height: 1.65;
}

.shell57a88-checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--shell57a88-green);
}

.shell57a88-checklist li strong {
  color: var(--shell57a88-ink);
}

/* Winner sample feed rows */
.shell57a88-winlist {
  border: 1px solid var(--shell57a88-line-soft);
  border-radius: var(--shell57a88-radius);
  overflow: hidden;
  margin-bottom: 10px;
}

.shell57a88-winrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--shell57a88-surface);
  border-bottom: 1px solid var(--shell57a88-line-soft);
  font-size: 12.5px;
}

.shell57a88-winrow:last-child {
  border-bottom: 0;
}

.shell57a88-winrow:nth-child(even) {
  background: #2b3c4b;
}

.shell57a88-winname {
  font-weight: 700;
  color: var(--shell57a88-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.shell57a88-wintag {
  margin-left: auto;
  flex: none;
  font-size: 10.5px;
  font-weight: 800;
  color: #231d02;
  background: var(--shell57a88-khaki);
  padding: 1px 6px;
  border-radius: 2px;
}

.shell57a88-wintime {
  flex: none;
  font-size: 10.5px;
  color: var(--shell57a88-ink-dim);
  width: 62px;
  text-align: right;
}

/* Glossary - definition list */
.shell57a88-dl {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 10px;
}

.shell57a88-dl dt {
  font-family: var(--shell57a88-font-head);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--shell57a88-gold);
}

.shell57a88-dl dd {
  font-size: 13px;
  color: var(--shell57a88-ink-dim);
  padding-left: 12px;
  border-left: 2px solid var(--shell57a88-line);
  max-width: 46ch;
}

/* Inline follow-up question blocks */
.shell57a88-q {
  font-family: var(--shell57a88-font-head);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--shell57a88-mint);
  margin: 14px 0 5px;
}

.shell57a88-q::before {
  content: "? ";
  color: var(--shell57a88-gold);
  font-weight: 900;
}

/* Text CTA row inside modules */
.shell57a88-module-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.shell57a88-cta-quiet {
  display: block;
  width: 100%;
  min-height: 44px;
  background: rgba(255, 225, 53, 0.1);
  color: var(--shell57a88-gold);
  border: 1px solid var(--shell57a88-gold);
  border-radius: var(--shell57a88-radius);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.08s ease, background-color 0.15s ease;
}

.shell57a88-cta-quiet:hover {
  background: rgba(255, 225, 53, 0.18);
}

.shell57a88-cta-quiet:active {
  transform: translateY(1px) scale(0.98);
}

/* ---------------------------------------------------------------
   10. Extended footer (page directory > brand > promos > note)
   --------------------------------------------------------------- */
.shell57a88-ext {
  border-top: 3px solid var(--shell57a88-green);
  background: var(--shell57a88-bg-deep);
  padding: 18px var(--shell57a88-pad) 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.shell57a88-ext-title {
  font-family: var(--shell57a88-font-head);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: var(--shell57a88-khaki);
  text-transform: uppercase;
  margin-bottom: 9px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--shell57a88-line);
}

.shell57a88-ext-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.shell57a88-ext-dir li {
  min-width: 0;
}

.shell57a88-ext-dir a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  background: var(--shell57a88-surface);
  border: 1px solid var(--shell57a88-line-soft);
  border-radius: var(--shell57a88-radius);
  color: var(--shell57a88-ink);
  font-size: 12.5px;
  font-weight: 600;
  border-bottom: 1px solid var(--shell57a88-line-soft);
  transition: transform 0.08s ease, color 0.15s ease;
}

.shell57a88-ext-dir a:hover {
  color: var(--shell57a88-green);
  border-bottom-color: var(--shell57a88-green);
}

.shell57a88-ext-dir a:active {
  transform: translateY(1px) scale(0.98);
}

.shell57a88-ext-dir span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shell57a88-ext-brand p {
  font-size: 12.5px;
  color: var(--shell57a88-ink-dim);
  max-width: 46ch;
}

.shell57a88-ext-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shell57a88-ext-promo {
  min-height: 46px;
  padding: 9px 8px;
  border-radius: var(--shell57a88-radius);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.08s ease, filter 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
}

.shell57a88-ext-promo:active {
  transform: translateY(1px) scale(0.97);
}

.shell57a88-ext-promo-a {
  background: var(--shell57a88-green);
  color: #0c240c;
  border: 0;
  box-shadow: 0 2px 0 #128a12;
}

.shell57a88-ext-promo-b {
  background: var(--shell57a88-gold);
  color: #231d02;
  border: 0;
  box-shadow: 0 2px 0 #6f6117;
}

.shell57a88-ext-promo-c {
  background: transparent;
  color: var(--shell57a88-gold);
  border: 1px solid var(--shell57a88-gold);
}

.shell57a88-ext-promo-d {
  background: transparent;
  color: var(--shell57a88-mint);
  border: 1px solid var(--shell57a88-green);
}

.shell57a88-ext-note {
  border: 1px solid rgba(255, 177, 153, 0.4);
  border-left: 3px solid var(--shell57a88-danger);
  border-radius: var(--shell57a88-radius);
  background: rgba(255, 177, 153, 0.06);
  padding: 10px 11px;
}

.shell57a88-ext-note p {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--shell57a88-ink-dim);
}

/* ---------------------------------------------------------------
   11. Common footer strip
   --------------------------------------------------------------- */
.shell57a88-foot {
  background: #16202b;
  border-top: 1px solid var(--shell57a88-line-soft);
  padding: 14px var(--shell57a88-pad) 16px;
  text-align: center;
}

.shell57a88-foot-copy {
  font-size: 11.5px;
  color: var(--shell57a88-ink-dim);
  letter-spacing: 0.3px;
}

.shell57a88-foot-copy strong {
  color: var(--shell57a88-khaki);
}

/* ---------------------------------------------------------------
   12. Mobile bottom navigation (layered bar, 5 roles)
   --------------------------------------------------------------- */
.shell57a88-bottomnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 430px;
  z-index: 50;
  background: var(--shell57a88-bg-deep);
  border-top: 2px solid var(--shell57a88-gold);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.45);
}

.shell57a88-bnav-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  padding: 2px 12px;
  background: linear-gradient(
    90deg,
    rgba(0, 255, 0, 0.14),
    rgba(255, 225, 53, 0.1)
  );
  border-bottom: 1px solid var(--shell57a88-line-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--shell57a88-mint);
  overflow: hidden;
  white-space: nowrap;
}

.shell57a88-bnav-hint b {
  color: var(--shell57a88-gold);
  font-weight: 800;
}

.shell57a88-bnav-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  height: 56px;
}

.shell57a88-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 6px 2px 8px;
  background: transparent;
  border: 0;
  border-bottom: 0;
  color: var(--shell57a88-ink-dim);
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.08s ease;
}

.shell57a88-bnav-item:hover {
  color: var(--shell57a88-mint);
}

.shell57a88-bnav-item:active {
  transform: translateY(1px) scale(0.95);
}

.shell57a88-bnav-item svg {
  width: 22px;
  height: 22px;
  flex: none;
}

/* Active route: mint text + green underline marker */
.shell57a88-bnav-item.shell57a88-bnav-on {
  color: var(--shell57a88-green);
}

.shell57a88-bnav-item.shell57a88-bnav-on::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 3px;
  height: 3px;
  border-radius: 2px;
  background: var(--shell57a88-green);
}

/* Center promo role: raised gold pill layer */
.shell57a88-bnav-go {
  color: #231d02;
}

.shell57a88-bnav-go .shell57a88-bnav-chip {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--shell57a88-gold);
  border: 3px solid var(--shell57a88-bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}

.shell57a88-bnav-go .shell57a88-bnav-chip svg {
  width: 21px;
  height: 21px;
}

.shell57a88-bnav-go span.shell57a88-bnav-label {
  margin-top: 30px;
}

.shell57a88-bnav-go:active .shell57a88-bnav-chip {
  transform: translateX(-50%) scale(0.92);
}

/* ---------------------------------------------------------------
   13. Utility + motion preferences
   --------------------------------------------------------------- */
.shell57a88-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--shell57a88-green);
  color: #0c240c;
  padding: 8px 14px;
  font-weight: 800;
  z-index: 100;
}

.shell57a88-skip:focus {
  left: 8px;
  top: 8px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---------------------------------------------------------------
   14. Breakpoints inside the phone canvas
   --------------------------------------------------------------- */

/* Slightly wider phones: denser 5-column game grid */
@media (min-width: 396px) {
  .shell57a88-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px 8px;
  }

  .shell57a88-ext-dir {
    gap: 8px;
  }
}

/* Upper edge of the canvas and desktop phone-frame view */
@media (min-width: 430px) {
  .shell57a88-main {
    padding-left: 18px;
    padding-right: 18px;
  }

  .shell57a88-ext,
  .shell57a88-foot {
    padding-left: 18px;
    padding-right: 18px;
  }

  .shell57a88-hero {
    padding: 22px 18px 18px;
  }

  .shell57a88-group {
    padding: 15px 13px 16px;
  }
}

/* Very narrow devices: tighten type without dropping columns */
/* Help-page writing rhythm keeps long guidance scannable without changing the shell. */
.shell57a88-module ol.shell57a88-checklist {
  counter-reset: shell57a88-step;
}

.shell57a88-module ol.shell57a88-checklist li {
  padding-left: 26px;
}

.shell57a88-module ol.shell57a88-checklist li::before {
  counter-increment: shell57a88-step;
  content: counter(shell57a88-step, decimal-leading-zero);
  top: 2px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #10240f;
  background: var(--shell57a88-gold);
  font-size: 10px;
  font-weight: 900;
}

@media (max-width: 340px) {
  .shell57a88-brand-name {
    font-size: 17px;
  }

  .shell57a88-btn {
    padding: 7px 9px;
    font-size: 11.5px;
  }

  .shell57a88-grid {
    gap: 6px 5px;
  }

  .shell57a88-game-name {
    font-size: 10.5px;
  }

  .shell57a88-wintime {
    width: 52px;
  }
}
