/* ==========================================================================
   888starz bet - mobile-first stylesheet
   Palette: dark base / mint primary / pink secondary / deep green fill / coral
   Direction: monospace accents over regular body text, stroke-dominant
   restrained corners, image cards with bottom name bars, compact dual CTAs
   ========================================================================== */

:root {
  --shell4ff2c-bg: #0d1117;
  --shell4ff2c-bg-2: #10161d;
  --shell4ff2c-panel: #151d26;
  --shell4ff2c-panel-2: #1a2430;
  --shell4ff2c-line: #25313d;
  --shell4ff2c-line-2: #31404f;
  --shell4ff2c-ink: #e9eff5;
  --shell4ff2c-ink-2: #a7b7c6;
  --shell4ff2c-ink-3: #6f8191;
  --shell4ff2c-mint: #00fa9a;
  --shell4ff2c-mint-ink: #03251a;
  --shell4ff2c-pink: #ffb3ff;
  --shell4ff2c-pink-ink: #2b0f2b;
  --shell4ff2c-green: #006400;
  --shell4ff2c-coral: #ff8a80;
  --shell4ff2c-coral-ink: #2d0f0c;
  --shell4ff2c-font-body: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --shell4ff2c-font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Courier New", monospace;
  --shell4ff2c-r-1: 4px;
  --shell4ff2c-r-2: 8px;
  --shell4ff2c-topbar-h: 62px;
  --shell4ff2c-dock-h: 60px;
  --shell4ff2c-ease: cubic-bezier(0.33, 0.85, 0.5, 1);
}

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

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

body {
  background: var(--shell4ff2c-bg);
  color: var(--shell4ff2c-ink);
  font-family: var(--shell4ff2c-font-body);
  font-size: 15px;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: var(--shell4ff2c-mint);
  text-decoration: none;
  transition: color 0.25s var(--shell4ff2c-ease);
}

a:hover { color: var(--shell4ff2c-pink); }

ul, ol { list-style: none; }

/* --------------------------------------------------------------------------
   Focus visibility (keyboard only)
   -------------------------------------------------------------------------- */

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--shell4ff2c-mint);
  outline-offset: 2px;
  border-radius: var(--shell4ff2c-r-1);
}

.shell4ff2c-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--shell4ff2c-mint);
  color: var(--shell4ff2c-mint-ink);
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--shell4ff2c-r-1);
  transition: top 0.2s var(--shell4ff2c-ease);
}

.shell4ff2c-skip:focus { top: 8px; }

/* --------------------------------------------------------------------------
   Asymmetric brand header
   -------------------------------------------------------------------------- */

.shell4ff2c-topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(13, 17, 23, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--shell4ff2c-line);
}

.shell4ff2c-topbar-inner {
  max-width: 560px;
  margin: 0 auto;
  min-height: var(--shell4ff2c-topbar-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

.shell4ff2c-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  min-width: 0;
}

.shell4ff2c-brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: var(--shell4ff2c-r-1);
  border: 1px solid var(--shell4ff2c-line-2);
  background: var(--shell4ff2c-panel);
  object-fit: cover;
}

.shell4ff2c-brand-text { min-width: 0; }

.shell4ff2c-brand-name {
  display: block;
  font-family: var(--shell4ff2c-font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--shell4ff2c-ink);
  white-space: nowrap;
}

.shell4ff2c-brand-name em {
  font-style: normal;
  color: var(--shell4ff2c-mint);
}


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

/* --------------------------------------------------------------------------
   Buttons - compact dual CTA groups
   -------------------------------------------------------------------------- */

.shell4ff2c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: var(--shell4ff2c-r-1);
  border: 1px solid var(--shell4ff2c-line-2);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition: background-color 0.25s var(--shell4ff2c-ease),
              border-color 0.25s var(--shell4ff2c-ease),
              color 0.25s var(--shell4ff2c-ease),
              transform 0.15s var(--shell4ff2c-ease);
}

.shell4ff2c-btn:active { transform: translateY(1px); }

.shell4ff2c-btn-mint {
  background: var(--shell4ff2c-mint);
  border-color: var(--shell4ff2c-mint);
  color: var(--shell4ff2c-mint-ink);
}

.shell4ff2c-btn-mint:hover {
  background: #4dffbe;
  border-color: #4dffbe;
  color: var(--shell4ff2c-mint-ink);
}

.shell4ff2c-btn-ghost {
  background: transparent;
  color: var(--shell4ff2c-ink);
}

.shell4ff2c-btn-ghost:hover {
  border-color: var(--shell4ff2c-mint);
  color: var(--shell4ff2c-mint);
}

.shell4ff2c-btn-pink {
  background: var(--shell4ff2c-pink);
  border-color: var(--shell4ff2c-pink);
  color: var(--shell4ff2c-pink-ink);
}

.shell4ff2c-btn-coral {
  background: transparent;
  border-color: var(--shell4ff2c-coral);
  color: var(--shell4ff2c-coral);
}

.shell4ff2c-btn-coral:hover {
  background: rgba(255, 138, 128, 0.12);
  color: var(--shell4ff2c-coral);
}

.shell4ff2c-btn-sm {
  min-height: 38px;
  padding: 6px 12px;
  font-size: 12.5px;
}

.shell4ff2c-btn-sm.shell4ff2c-btn-mint { padding: 6px 14px; }

.shell4ff2c-duo {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.shell4ff2c-duo .shell4ff2c-btn { flex: 1 1 50%; }

/* Hamburger toggle */

.shell4ff2c-burger {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--shell4ff2c-line-2);
  border-radius: var(--shell4ff2c-r-1);
  background: var(--shell4ff2c-panel);
  transition: border-color 0.25s var(--shell4ff2c-ease);
}

.shell4ff2c-burger span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: var(--shell4ff2c-ink);
  transition: transform 0.3s var(--shell4ff2c-ease), opacity 0.2s var(--shell4ff2c-ease);
}

.shell4ff2c-burger:hover { border-color: var(--shell4ff2c-mint); }

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

/* --------------------------------------------------------------------------
   Full-height menu layer
   -------------------------------------------------------------------------- */

.shell4ff2c-scrim {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 6, 10, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--shell4ff2c-ease), visibility 0.3s;
}

.shell4ff2c-scrim.shell4ff2c-on {
  opacity: 1;
  visibility: visible;
}

.shell4ff2c-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  width: min(84vw, 320px);
  display: flex;
  flex-direction: column;
  background: var(--shell4ff2c-bg-2);
  border-left: 1px solid var(--shell4ff2c-line-2);
  transform: translateX(102%);
  transition: transform 0.32s var(--shell4ff2c-ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.shell4ff2c-menu.shell4ff2c-open { transform: translateX(0); }

.shell4ff2c-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--shell4ff2c-line);
  position: sticky;
  top: 0;
  background: var(--shell4ff2c-bg-2);
}

.shell4ff2c-menu-title {
  font-family: var(--shell4ff2c-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--shell4ff2c-mint);
}

.shell4ff2c-menu-close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shell4ff2c-line-2);
  border-radius: var(--shell4ff2c-r-1);
  color: var(--shell4ff2c-ink-2);
  font-size: 18px;
  line-height: 1;
  transition: color 0.25s var(--shell4ff2c-ease), border-color 0.25s var(--shell4ff2c-ease);
}

.shell4ff2c-menu-close:hover {
  color: var(--shell4ff2c-coral);
  border-color: var(--shell4ff2c-coral);
}

.shell4ff2c-menu-list { padding: 8px 10px; }

.shell4ff2c-menu-item + .shell4ff2c-menu-item { border-top: 1px solid var(--shell4ff2c-line); }

.shell4ff2c-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 10px;
  border-radius: var(--shell4ff2c-r-1);
  color: var(--shell4ff2c-ink);
  font-size: 14.5px;
  font-weight: 600;
  transition: background-color 0.25s var(--shell4ff2c-ease), color 0.25s var(--shell4ff2c-ease);
}

.shell4ff2c-menu-num {
  font-family: var(--shell4ff2c-font-mono);
  font-size: 11px;
  color: var(--shell4ff2c-ink-3);
  flex: 0 0 24px;
}

.shell4ff2c-menu-link:hover {
  background: var(--shell4ff2c-panel);
  color: var(--shell4ff2c-mint);
}

.shell4ff2c-menu-link[aria-current="page"] {
  background: var(--shell4ff2c-mint);
  color: var(--shell4ff2c-mint-ink);
}

.shell4ff2c-menu-link[aria-current="page"] .shell4ff2c-menu-num { color: var(--shell4ff2c-mint-ink); }

.shell4ff2c-menu-foot {
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid var(--shell4ff2c-line);
  background: var(--shell4ff2c-bg-2);
}

.shell4ff2c-menu-note {
  font-size: 11.5px;
  color: var(--shell4ff2c-ink-3);
  line-height: 1.6;
  margin-top: 10px;
}

/* Body lock while menu is open */

.shell4ff2c-lock { overflow: hidden; }

/* --------------------------------------------------------------------------
   Main canvas
   -------------------------------------------------------------------------- */

.shell4ff2c-main {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 12px calc(var(--shell4ff2c-dock-h) + 30px + env(safe-area-inset-bottom));
}

.shell4ff2c-section {
  padding: 26px 0 8px;
  border-top: 1px solid var(--shell4ff2c-line);
  margin-top: 18px;
}

.shell4ff2c-section:first-of-type { border-top: 0; }

.shell4ff2c-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--shell4ff2c-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--shell4ff2c-mint);
  margin-bottom: 8px;
}

.shell4ff2c-kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.shell4ff2c-kicker-pink { color: var(--shell4ff2c-pink); }
.shell4ff2c-kicker-coral { color: var(--shell4ff2c-coral); }

.shell4ff2c-h2 {
  font-size: 19px;
  line-height: 1.5;
  font-weight: 800;
  color: var(--shell4ff2c-ink);
  margin-bottom: 10px;
}

.shell4ff2c-h2 b {
  color: var(--shell4ff2c-mint);
  font-weight: 800;
}

.shell4ff2c-sec-note {
  font-family: var(--shell4ff2c-font-mono);
  font-size: 11px;
  color: var(--shell4ff2c-ink-3);
  letter-spacing: 0.08em;
}

.shell4ff2c-lead {
  color: var(--shell4ff2c-ink-2);
  font-size: 14px;
  margin-bottom: 16px;
}

.shell4ff2c-lead a { border-bottom: 1px solid rgba(0, 250, 154, 0.4); }

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

.shell4ff2c-hero {
  padding: 26px 0 6px;
}

.shell4ff2c-hero-title {
  font-size: 26px;
  line-height: 1.42;
  font-weight: 800;
  margin: 6px 0 12px;
  letter-spacing: -0.01em;
}

.shell4ff2c-hero-title span { color: var(--shell4ff2c-mint); }

.shell4ff2c-hero-lead {
  color: var(--shell4ff2c-ink-2);
  font-size: 14.5px;
  margin-bottom: 18px;
  max-width: 46ch;
}

.shell4ff2c-hero-lead a { border-bottom: 1px solid rgba(0, 250, 154, 0.4); }

.shell4ff2c-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 16px;
  border: 1px solid var(--shell4ff2c-line);
  border-radius: var(--shell4ff2c-r-2);
  background: var(--shell4ff2c-panel);
  overflow: hidden;
}

.shell4ff2c-hero-stat {
  flex: 1 1 33.33%;
  padding: 10px 8px;
  text-align: center;
  border-left: 1px solid var(--shell4ff2c-line);
}

.shell4ff2c-hero-stat:first-child { border-left: 0; }

.shell4ff2c-hero-stat b {
  display: block;
  font-family: var(--shell4ff2c-font-mono);
  font-size: 16px;
  color: var(--shell4ff2c-mint);
  line-height: 1.4;
}

.shell4ff2c-hero-stat small {
  display: block;
  font-size: 10.5px;
  color: var(--shell4ff2c-ink-3);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Carousel
   -------------------------------------------------------------------------- */

.shell4ff2c-carousel {
  position: relative;
  margin-top: 20px;
  border: 1px solid var(--shell4ff2c-line-2);
  border-radius: var(--shell4ff2c-r-2);
  background: var(--shell4ff2c-panel);
  overflow: hidden;
}

.shell4ff2c-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.4s var(--shell4ff2c-ease);
}

.shell4ff2c-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
}

.shell4ff2c-slide-img {
  width: 100%;
  aspect-ratio: 1915 / 450;
  object-fit: cover;
  background: var(--shell4ff2c-green);
}

.shell4ff2c-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0) 0%, rgba(13, 17, 23, 0.92) 60%);
  font-size: 11.5px;
  color: var(--shell4ff2c-ink);
  font-weight: 600;
}

.shell4ff2c-slide-cap i {
  font-style: normal;
  font-family: var(--shell4ff2c-font-mono);
  font-size: 10px;
  color: var(--shell4ff2c-mint);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.shell4ff2c-carousel-dots {
  position: absolute;
  right: 10px;
  bottom: 34px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.shell4ff2c-dot {
  width: 22px;
  height: 8px;
  border-radius: 2px;
  border: 1px solid var(--shell4ff2c-mint);
  background: transparent;
  padding: 0;
  transition: background-color 0.25s var(--shell4ff2c-ease);
}

.shell4ff2c-dot[aria-current="true"] {
  background: var(--shell4ff2c-mint);
}

.shell4ff2c-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 32px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  background: rgba(13, 17, 23, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background-color 0.25s var(--shell4ff2c-ease);
}

.shell4ff2c-carousel-arrow:hover { background: rgba(13, 17, 23, 0.85); }

.shell4ff2c-arrow-prev { left: 0; border-radius: 0 var(--shell4ff2c-r-1) var(--shell4ff2c-r-1) 0; border-left: 0; }
.shell4ff2c-arrow-next { right: 0; border-radius: var(--shell4ff2c-r-1) 0 0 var(--shell4ff2c-r-1); border-right: 0; }

/* --------------------------------------------------------------------------
   Game grid - image card with bottom name bar
   -------------------------------------------------------------------------- */

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

.shell4ff2c-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--shell4ff2c-line);
  border-radius: var(--shell4ff2c-r-2);
  background: var(--shell4ff2c-panel);
  overflow: hidden;
  text-align: center;
  transition: border-color 0.25s var(--shell4ff2c-ease), background-color 0.25s var(--shell4ff2c-ease);
}

.shell4ff2c-card:hover,
.shell4ff2c-card:active {
  border-color: var(--shell4ff2c-mint);
  background: var(--shell4ff2c-panel-2);
}

.shell4ff2c-card-imgwrap {
  display: block;
  padding: 6px;
}

.shell4ff2c-card-imgwrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--shell4ff2c-r-1);
  background: var(--shell4ff2c-bg-2);
}

.shell4ff2c-card-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
  padding: 4px 5px 7px;
  font-size: 10.5px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--shell4ff2c-ink-2);
  border-top: 1px solid var(--shell4ff2c-line);
  background: var(--shell4ff2c-bg-2);
  transition: color 0.25s var(--shell4ff2c-ease);
}

.shell4ff2c-card:hover .shell4ff2c-card-name { color: var(--shell4ff2c-mint); }

/* --------------------------------------------------------------------------
   Category highlights - link chips with counts
   -------------------------------------------------------------------------- */

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

.shell4ff2c-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--shell4ff2c-line-2);
  border-radius: var(--shell4ff2c-r-2);
  background: var(--shell4ff2c-panel);
  color: var(--shell4ff2c-ink);
  font-size: 13.5px;
  font-weight: 700;
  transition: border-color 0.25s var(--shell4ff2c-ease), background-color 0.25s var(--shell4ff2c-ease);
}

.shell4ff2c-cat:hover {
  border-color: var(--shell4ff2c-mint);
  color: var(--shell4ff2c-mint);
  background: var(--shell4ff2c-panel-2);
}

.shell4ff2c-cat b {
  font-family: var(--shell4ff2c-font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--shell4ff2c-ink-3);
}

/* --------------------------------------------------------------------------
   FAQ - disclosure list
   -------------------------------------------------------------------------- */

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

.shell4ff2c-faq details + details { border-top: 1px solid var(--shell4ff2c-line); }

.shell4ff2c-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--shell4ff2c-ink);
  cursor: pointer;
  list-style: none;
  transition: background-color 0.25s var(--shell4ff2c-ease), color 0.25s var(--shell4ff2c-ease);
}

.shell4ff2c-faq summary::-webkit-details-marker { display: none; }

.shell4ff2c-faq summary::after {
  content: "+";
  font-family: var(--shell4ff2c-font-mono);
  font-size: 15px;
  color: var(--shell4ff2c-mint);
  flex: 0 0 auto;
  transition: transform 0.25s var(--shell4ff2c-ease);
}

.shell4ff2c-faq details[open] summary::after { transform: rotate(45deg); }

.shell4ff2c-faq details[open] summary {
  background: var(--shell4ff2c-panel-2);
  color: var(--shell4ff2c-mint);
}

.shell4ff2c-faq-a {
  padding: 0 14px 14px;
  font-size: 13.5px;
  color: var(--shell4ff2c-ink-2);
}

.shell4ff2c-faq-a a { border-bottom: 1px solid rgba(0, 250, 154, 0.4); }

/* --------------------------------------------------------------------------
   Selection guide - numbered steps
   -------------------------------------------------------------------------- */

.shell4ff2c-guide { display: grid; gap: 10px; }

.shell4ff2c-guide-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--shell4ff2c-line);
  border-left: 3px solid var(--shell4ff2c-mint);
  border-radius: var(--shell4ff2c-r-2);
  background: var(--shell4ff2c-panel);
}

.shell4ff2c-guide-item:nth-child(2n) { border-left-color: var(--shell4ff2c-pink); }
.shell4ff2c-guide-item:nth-child(3n) { border-left-color: var(--shell4ff2c-coral); }

.shell4ff2c-guide-num {
  font-family: var(--shell4ff2c-font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--shell4ff2c-mint);
  line-height: 1.7;
  flex: 0 0 auto;
}

.shell4ff2c-guide-item b {
  display: block;
  font-size: 13.5px;
  color: var(--shell4ff2c-ink);
  line-height: 1.6;
}

.shell4ff2c-guide-item p {
  font-size: 13px;
  color: var(--shell4ff2c-ink-2);
  line-height: 1.7;
}

.shell4ff2c-guide-item p a { border-bottom: 1px solid rgba(0, 250, 154, 0.4); }

/* --------------------------------------------------------------------------
   Tricks - compact tip cards with mono index
   -------------------------------------------------------------------------- */

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

.shell4ff2c-trick {
  padding: 12px;
  border: 1px solid var(--shell4ff2c-line);
  border-radius: var(--shell4ff2c-r-2);
  background: var(--shell4ff2c-panel);
}

.shell4ff2c-trick-num {
  display: inline-block;
  font-family: var(--shell4ff2c-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--shell4ff2c-pink);
  border: 1px solid rgba(255, 179, 255, 0.35);
  border-radius: 2px;
  padding: 1px 6px;
  margin-bottom: 8px;
}

.shell4ff2c-trick b {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 4px;
}

.shell4ff2c-trick p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--shell4ff2c-ink-2);
}

.shell4ff2c-trick p a { border-bottom: 1px solid rgba(255, 179, 255, 0.4); }

/* --------------------------------------------------------------------------
   Mobile access summary - key/value rows
   -------------------------------------------------------------------------- */

.shell4ff2c-rows {
  border: 1px solid var(--shell4ff2c-line);
  border-radius: var(--shell4ff2c-r-2);
  overflow: hidden;
}

.shell4ff2c-row {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  background: var(--shell4ff2c-panel);
}

.shell4ff2c-row + .shell4ff2c-row { border-top: 1px solid var(--shell4ff2c-line); }

.shell4ff2c-row-key {
  flex: 0 0 96px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shell4ff2c-mint);
  line-height: 1.7;
}

.shell4ff2c-row-val {
  flex: 1 1 auto;
  font-size: 13px;
  color: var(--shell4ff2c-ink-2);
  line-height: 1.7;
}

.shell4ff2c-row-val a { border-bottom: 1px solid rgba(0, 250, 154, 0.4); }

/* --------------------------------------------------------------------------
   Requirements summary - spec table
   -------------------------------------------------------------------------- */

.shell4ff2c-spec {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--shell4ff2c-line);
  border-radius: var(--shell4ff2c-r-2);
  overflow: hidden;
  font-size: 13px;
}

.shell4ff2c-spec caption {
  caption-side: top;
  text-align: left;
  font-family: var(--shell4ff2c-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--shell4ff2c-ink-3);
  padding-bottom: 8px;
}

.shell4ff2c-spec th,
.shell4ff2c-spec td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--shell4ff2c-line);
  vertical-align: top;
  line-height: 1.65;
}

.shell4ff2c-spec tr:last-child th,
.shell4ff2c-spec tr:last-child td { border-bottom: 0; }

.shell4ff2c-spec th {
  width: 34%;
  background: var(--shell4ff2c-panel-2);
  color: var(--shell4ff2c-ink);
  font-weight: 700;
  font-size: 12.5px;
}

.shell4ff2c-spec td {
  background: var(--shell4ff2c-panel);
  color: var(--shell4ff2c-ink-2);
}

/* --------------------------------------------------------------------------
   Prose blocks inside modules
   -------------------------------------------------------------------------- */

.shell4ff2c-note {
  font-size: 13.5px;
  color: var(--shell4ff2c-ink-2);
  margin-bottom: 14px;
}

.shell4ff2c-note a { border-bottom: 1px solid rgba(0, 250, 154, 0.4); }

.shell4ff2c-list {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.shell4ff2c-list li {
  position: relative;
  padding: 8px 10px 8px 26px;
  font-size: 13.5px;
  color: var(--shell4ff2c-ink-2);
  border: 1px solid var(--shell4ff2c-line);
  border-radius: var(--shell4ff2c-r-1);
  background: var(--shell4ff2c-panel);
  line-height: 1.7;
}

.shell4ff2c-list li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--shell4ff2c-mint);
}

.shell4ff2c-list li:nth-child(2n)::before { background: var(--shell4ff2c-pink); }
.shell4ff2c-list li:nth-child(3n)::before { background: var(--shell4ff2c-coral); }

.shell4ff2c-list a { border-bottom: 1px solid rgba(0, 250, 154, 0.4); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.shell4ff2c-footer {
  margin-top: 30px;
  border-top: 1px solid var(--shell4ff2c-line-2);
  background: var(--shell4ff2c-bg-2);
}

.shell4ff2c-footer-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 22px 12px 18px;
}

/* Promo shortcut rail - horizontal scroll */

.shell4ff2c-promorail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.shell4ff2c-promorail::-webkit-scrollbar { display: none; }

.shell4ff2c-promo-item {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--shell4ff2c-line-2);
  border-radius: 999px;
  background: var(--shell4ff2c-panel);
  font-size: 13px;
  font-weight: 700;
  color: var(--shell4ff2c-ink);
  white-space: nowrap;
  transition: border-color 0.25s var(--shell4ff2c-ease), color 0.25s var(--shell4ff2c-ease);
}

.shell4ff2c-promo-item:hover {
  border-color: var(--shell4ff2c-mint);
  color: var(--shell4ff2c-mint);
}

.shell4ff2c-promo-item i {
  font-style: normal;
  font-family: var(--shell4ff2c-font-mono);
  font-size: 10px;
  color: var(--shell4ff2c-mint);
}

/* Brand block */

.shell4ff2c-foot-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid var(--shell4ff2c-line);
}

.shell4ff2c-foot-brand img {
  width: 44px;
  height: 44px;
  border-radius: var(--shell4ff2c-r-1);
  border: 1px solid var(--shell4ff2c-line-2);
  background: var(--shell4ff2c-panel);
  flex: 0 0 auto;
}

.shell4ff2c-foot-brand h2 {
  font-size: 15px;
  margin-bottom: 4px;
}

.shell4ff2c-foot-brand p {
  font-size: 12.5px;
  color: var(--shell4ff2c-ink-2);
  line-height: 1.7;
}

/* Directory */

.shell4ff2c-dir {
  padding: 14px 0;
  border-top: 1px solid var(--shell4ff2c-line);
}

.shell4ff2c-dir-title {
  font-family: var(--shell4ff2c-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--shell4ff2c-mint);
  margin: 10px 0 6px;
}

.shell4ff2c-dir-title:first-child { margin-top: 0; }

.shell4ff2c-dir-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
}

.shell4ff2c-dir-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  font-size: 13px;
  color: var(--shell4ff2c-ink-2);
  border-bottom: 0;
}

.shell4ff2c-dir-links a::before {
  content: "\203A";
  font-family: var(--shell4ff2c-font-mono);
  color: var(--shell4ff2c-mint);
}

.shell4ff2c-dir-links a:hover { color: var(--shell4ff2c-mint); }

/* Disclaimer + copy */

.shell4ff2c-disclaimer {
  padding: 14px 0;
  border-top: 1px solid var(--shell4ff2c-line);
  font-size: 11.5px;
  color: var(--shell4ff2c-ink-3);
  line-height: 1.8;
}

.shell4ff2c-copy {
  padding: 14px 0 4px;
  border-top: 1px solid var(--shell4ff2c-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.shell4ff2c-copy p {
  font-family: var(--shell4ff2c-font-mono);
  font-size: 11px;
  color: var(--shell4ff2c-ink-3);
  letter-spacing: 0.04em;
}

.shell4ff2c-copy a {
  font-size: 12px;
  color: var(--shell4ff2c-ink-2);
}

.shell4ff2c-copy a:hover { color: var(--shell4ff2c-mint); }

/* --------------------------------------------------------------------------
   Segmented bottom action bar
   -------------------------------------------------------------------------- */

.shell4ff2c-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: rgba(16, 22, 29, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--shell4ff2c-line-2);
  padding-bottom: env(safe-area-inset-bottom);
}

.shell4ff2c-dock-inner {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: var(--shell4ff2c-dock-h);
}

.shell4ff2c-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--shell4ff2c-dock-h);
  padding: 6px 2px 8px;
  color: var(--shell4ff2c-ink-2);
  transition: color 0.25s var(--shell4ff2c-ease), background-color 0.25s var(--shell4ff2c-ease);
}

.shell4ff2c-dock-item:hover { color: var(--shell4ff2c-mint); }

.shell4ff2c-dock-ico {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shell4ff2c-dock-ico svg {
  width: 20px;
  height: 20px;
  display: block;
}

.shell4ff2c-dock-label {
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
}

/* Active role: contrast inversion */

.shell4ff2c-dock-item[aria-current="page"] {
  background: var(--shell4ff2c-mint);
  color: var(--shell4ff2c-mint-ink);
}

.shell4ff2c-dock-item.shell4ff2c-dock-promo {
  color: var(--shell4ff2c-pink);
}

.shell4ff2c-dock-item.shell4ff2c-dock-promo:hover {
  color: #ffd4ff;
  background: rgba(255, 179, 255, 0.08);
}

/* --------------------------------------------------------------------------
   Restrained fade-in
   -------------------------------------------------------------------------- */

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

.shell4ff2c-fade {
  animation: shell4ff2c-rise 0.4s var(--shell4ff2c-ease) both;
}

.shell4ff2c-fade-2 { animation-delay: 0.08s; }
.shell4ff2c-fade-3 { animation-delay: 0.16s; }

/* --------------------------------------------------------------------------
   Breakpoint: 430px
   -------------------------------------------------------------------------- */

@media (min-width: 430px) {
  body { font-size: 15.5px; }

  .shell4ff2c-main { padding-left: 16px; padding-right: 16px; }
  .shell4ff2c-footer-inner { padding-left: 16px; padding-right: 16px; }

  .shell4ff2c-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }

  .shell4ff2c-card-name { font-size: 11px; min-height: 34px; }

  .shell4ff2c-hero-title { font-size: 29px; }

  .shell4ff2c-h2 { font-size: 21px; }

  .shell4ff2c-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .shell4ff2c-tricks { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .shell4ff2c-dir-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .shell4ff2c-slide-cap { font-size: 12.5px; padding: 8px 14px; }
}

/* --------------------------------------------------------------------------
   Small phones: keep 4 columns but tighten type
   -------------------------------------------------------------------------- */

@media (max-width: 359px) {
  .shell4ff2c-grid { gap: 6px; }

  .shell4ff2c-card-name { font-size: 10px; }

  .shell4ff2c-hero-title { font-size: 23px; }

  .shell4ff2c-h2 { font-size: 18px; }

  .shell4ff2c-btn-sm { padding: 6px 9px; font-size: 12px; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

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

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