/* ===========================================================
   v666.homes - surface6fd3f- design system
   Mobile-first 320-430px canvas; centered phone frame on wide screens
   Direction: round titles + compact body, small radius high density,
   big/small card mix, fact-summary-then-expand rhythm,
   state-color motion budget, solid primary + outlined secondary CTA.
   =========================================================== */

:root {
  --surface6fd3f-bg: #0D1117;
  --surface6fd3f-bg-2: #121922;
  --surface6fd3f-bg-3: #19222f;
  --surface6fd3f-bg-card: #1d2734;
  --surface6fd3f-bg-elev: #243042;
  --surface6fd3f-line: #2d3a4d;
  --surface6fd3f-line-soft: #233040;
  --surface6fd3f-text: #FFE4B5;
  --surface6fd3f-text-2: #ecd9b1;
  --surface6fd3f-muted: #95a3b6;
  --surface6fd3f-faint: #6b7787;
  --surface6fd3f-mid: #495057;
  --surface6fd3f-accent: #FFE4B5;
  --surface6fd3f-accent-2: #e6c47a;
  --surface6fd3f-gold-deep: #b0894a;
  --surface6fd3f-success: #5d9d6d;
  --surface6fd3f-warn: #cf913e;
  --surface6fd3f-danger: #bd5b3f;

  --surface6fd3f-radius-s: 6px;
  --surface6fd3f-radius-m: 10px;
  --surface6fd3f-radius-l: 16px;
  --surface6fd3f-radius-pill: 999px;

  --surface6fd3f-header-h: 56px;
  --surface6fd3f-bottomnav-h: 64px;

  --surface6fd3f-shadow-1: 0 4px 14px rgba(0, 0, 0, .35);
  --surface6fd3f-shadow-2: 0 10px 28px rgba(0, 0, 0, .5);
  --surface6fd3f-focus-ring: 0 0 0 2px rgba(255, 228, 181, .55);

  --surface6fd3f-font: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", "Segoe UI", system-ui, -apple-system, sans-serif;
  --surface6fd3f-font-display: "Nunito", "Hind Siliguri", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--surface6fd3f-font);
  background: #060a0f;
  color: var(--surface6fd3f-text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
:focus-visible { outline: none; box-shadow: var(--surface6fd3f-focus-ring); border-radius: var(--surface6fd3f-radius-s); }

/* ---------- Canvas: phone frame ---------- */
.surface6fd3f-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--surface6fd3f-bg);
  box-shadow: 0 0 40px rgba(0, 0, 0, .55);
  overflow: hidden;
}

/* ---------- Header (tabbed top bar) ---------- */
.surface6fd3f-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--surface6fd3f-header-h);
  padding: 0 12px;
  background: linear-gradient(180deg, #15202e 0%, #0e151f 100%);
  border-bottom: 1px solid var(--surface6fd3f-line);
}
.surface6fd3f-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 0 0 auto;
}
.surface6fd3f-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--surface6fd3f-accent-2);
  background: var(--surface6fd3f-bg-3);
  flex-shrink: 0;
}
.surface6fd3f-sitename {
  font-family: var(--surface6fd3f-font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .5px;
  color: var(--surface6fd3f-accent);
  line-height: 1;
  white-space: nowrap;
}
.surface6fd3f-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
}
.surface6fd3f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 0 14px;
  font-weight: 700;
  font-size: 13.5px;
  border-radius: var(--surface6fd3f-radius-pill);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.surface6fd3f-btn:active { transform: scale(.96); }
.surface6fd3f-btn-primary {
  background: linear-gradient(135deg, #FFE4B5 0%, #d6a85e 100%);
  color: #2a1d05;
  border-color: #f3cf85;
}
.surface6fd3f-btn-outline {
  background: transparent;
  color: var(--surface6fd3f-accent);
  border-color: var(--surface6fd3f-accent-2);
}
.surface6fd3f-btn-outline:active { background: rgba(255, 228, 181, .08); }
.surface6fd3f-btn-block { width: 100%; min-height: 42px; font-size: 14.5px; }
.surface6fd3f-menubtn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--surface6fd3f-bg-3);
  border: 1px solid var(--surface6fd3f-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--surface6fd3f-accent);
  flex-shrink: 0;
}
.surface6fd3f-menubtn svg { width: 18px; height: 18px; }

/* ---------- Expanded partitioned menu ---------- */
.surface6fd3f-menusheet {
  position: fixed;
  top: var(--surface6fd3f-header-h);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  max-height: calc(100vh - var(--surface6fd3f-header-h));
  overflow-y: auto;
  background: var(--surface6fd3f-bg-2);
  border-bottom: 1px solid var(--surface6fd3f-line);
  z-index: 49;
  padding: 14px 14px 22px;
  display: none;
  animation: surface6fd3f-slide .22s ease;
}
.surface6fd3f-menusheet.is-open { display: block; }
@keyframes surface6fd3f-slide {
  from { opacity: 0; transform: translate(-50%, -8px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
.surface6fd3f-menusheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 11, .65);
  z-index: 48;
  display: none;
}
.surface6fd3f-menusheet-backdrop.is-open { display: block; }
.surface6fd3f-menu-group { margin-bottom: 16px; }
.surface6fd3f-menu-group-label {
  font-size: 11.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--surface6fd3f-faint);
  font-weight: 700;
  padding: 4px 4px 8px;
}
.surface6fd3f-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--surface6fd3f-radius-m);
  background: var(--surface6fd3f-bg-card);
  border: 1px solid var(--surface6fd3f-line-soft);
  margin-bottom: 7px;
  color: var(--surface6fd3f-text);
  font-size: 14px;
  font-weight: 600;
}
.surface6fd3f-menu-link:active { background: var(--surface6fd3f-bg-elev); }
.surface6fd3f-menu-link-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--surface6fd3f-accent-2);
  flex-shrink: 0;
}
.surface6fd3f-menu-link-hint {
  margin-left: auto;
  font-size: 11px;
  color: var(--surface6fd3f-faint);
  font-weight: 500;
}

/* ---------- Main ---------- */
.surface6fd3f-main {
  padding: 14px 12px calc(var(--surface6fd3f-bottomnav-h) + 24px);
}
.surface6fd3f-intro {
  padding: 14px 4px 6px;
}
.surface6fd3f-intro h1 {
  font-family: var(--surface6fd3f-font-display);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--surface6fd3f-accent);
  margin-bottom: 9px;
}
.surface6fd3f-intro p {
  color: var(--surface6fd3f-text-2);
  font-size: 14px;
}
.surface6fd3f-lead-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.surface6fd3f-pillchip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--surface6fd3f-radius-pill);
  background: var(--surface6fd3f-bg-3);
  border: 1px solid var(--surface6fd3f-line);
  font-size: 12px;
  color: var(--surface6fd3f-text-2);
  font-weight: 600;
}
.surface6fd3f-pillchip::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--surface6fd3f-success);
  border-radius: 50%;
}

/* ---------- Hero carousel ---------- */
.surface6fd3f-hero {
  position: relative;
  margin: 4px 0 14px;
  border-radius: var(--surface6fd3f-radius-l);
  overflow: hidden;
  background: var(--surface6fd3f-bg-2);
  border: 1px solid var(--surface6fd3f-line);
}
.surface6fd3f-carousel { position: relative; }
.surface6fd3f-slides {
  display: flex;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.surface6fd3f-slides::-webkit-scrollbar { display: none; }
.surface6fd3f-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  cursor: pointer;
}
.surface6fd3f-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.surface6fd3f-slide-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 14px 12px;
  background: linear-gradient(0deg, rgba(8, 12, 18, .92) 0%, rgba(8, 12, 18, .35) 70%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.surface6fd3f-slide-title {
  font-family: var(--surface6fd3f-font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--surface6fd3f-accent);
}
.surface6fd3f-slide-sub {
  font-size: 12.5px;
  color: var(--surface6fd3f-text-2);
}
.surface6fd3f-carousel-cta {
  align-self: flex-start;
  margin-top: 4px;
  background: var(--surface6fd3f-accent);
  color: #2a1d05;
  font-weight: 700;
  font-size: 12.5px;
  padding: 6px 13px;
  border-radius: var(--surface6fd3f-radius-pill);
}
.surface6fd3f-carousel-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 5px;
  z-index: 3;
}
.surface6fd3f-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 228, 181, .4);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.surface6fd3f-carousel-dot.is-active { background: var(--surface6fd3f-accent); }

/* ---------- Game sections ---------- */
.surface6fd3f-gamesection { margin: 22px 0; }
.surface6fd3f-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
  padding: 0 2px;
}
.surface6fd3f-section-head h2 {
  font-family: var(--surface6fd3f-font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--surface6fd3f-accent);
  line-height: 1.3;
}
.surface6fd3f-section-head .surface6fd3f-section-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--surface6fd3f-faint);
  font-weight: 600;
  letter-spacing: .4px;
}
.surface6fd3f-section-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--surface6fd3f-accent-2);
  white-space: nowrap;
}
.surface6fd3f-gamegrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.surface6fd3f-gamecard {
  position: relative;
  background: var(--surface6fd3f-bg-card);
  border: 1px solid var(--surface6fd3f-line-soft);
  border-radius: var(--surface6fd3f-radius-m);
  padding: 6px 5px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
  overflow: hidden;
}
.surface6fd3f-gamecard:active {
  background: var(--surface6fd3f-bg-elev);
  border-color: var(--surface6fd3f-accent-2);
}
.surface6fd3f-gamecard-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  background: #0b121b;
}
.surface6fd3f-gamecard-name {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  color: var(--surface6fd3f-text-2);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 26px;
  width: 100%;
}
.surface6fd3f-gamecard-feat {
  grid-column: span 2;
  grid-row: span 2;
  padding: 10px;
  gap: 8px;
  background: linear-gradient(150deg, #243042 0%, #18212e 100%);
  border-color: var(--surface6fd3f-accent-deep, #b0894a);
}
.surface6fd3f-gamecard-feat .surface6fd3f-gamecard-img { border-radius: 10px; }
.surface6fd3f-gamecard-feat .surface6fd3f-gamecard-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--surface6fd3f-accent);
}
.surface6fd3f-gamecard-feat .surface6fd3f-gamecard-flag {
  position: absolute;
  top: 7px;
  left: 7px;
  background: var(--surface6fd3f-accent);
  color: #2a1d05;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .6px;
  padding: 3px 7px;
  border-radius: var(--surface6fd3f-radius-pill);
  text-transform: uppercase;
}

/* ---------- Content modules ---------- */
.surface6fd3f-module {
  margin: 22px 0;
  background: var(--surface6fd3f-bg-2);
  border: 1px solid var(--surface6fd3f-line-soft);
  border-left: 3px solid var(--surface6fd3f-accent-2);
  border-radius: var(--surface6fd3f-radius-m);
  padding: 15px 14px;
}
.surface6fd3f-module h2 {
  font-family: var(--surface6fd3f-font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--surface6fd3f-accent);
  margin-bottom: 9px;
  line-height: 1.35;
}
.surface6fd3f-module h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--surface6fd3f-text);
  margin: 12px 0 5px;
}
.surface6fd3f-module p {
  color: var(--surface6fd3f-text-2);
  font-size: 13.5px;
  margin-bottom: 8px;
}
.surface6fd3f-module p:last-child { margin-bottom: 0; }
.surface6fd3f-module ul {
  margin: 6px 0 4px;
  padding-left: 4px;
}
.surface6fd3f-module li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 13.2px;
  color: var(--surface6fd3f-text-2);
  border-bottom: 1px dashed var(--surface6fd3f-line-soft);
}
.surface6fd3f-module li:last-child { border-bottom: 0; }
.surface6fd3f-module li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--surface6fd3f-accent-2);
}
.surface6fd3f-module a {
  color: var(--surface6fd3f-accent);
  font-weight: 700;
  border-bottom: 1px dotted var(--surface6fd3f-accent-2);
}
.surface6fd3f-module-lead {
  font-weight: 700;
  color: var(--surface6fd3f-accent);
  font-size: 13.5px;
  display: block;
  margin-bottom: 8px;
}
.surface6fd3f-stepgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 8px 0 4px;
}
.surface6fd3f-step {
  background: var(--surface6fd3f-bg-3);
  border: 1px solid var(--surface6fd3f-line-soft);
  border-radius: var(--surface6fd3f-radius-s);
  padding: 9px 10px;
}
.surface6fd3f-step-num {
  display: inline-block;
  font-family: var(--surface6fd3f-font-display);
  font-weight: 800;
  font-size: 11px;
  color: #2a1d05;
  background: var(--surface6fd3f-accent);
  padding: 2px 7px;
  border-radius: var(--surface6fd3f-radius-pill);
  margin-bottom: 5px;
}
.surface6fd3f-step strong {
  display: block;
  font-size: 12.5px;
  color: var(--surface6fd3f-text);
  margin-bottom: 2px;
}
.surface6fd3f-step span {
  font-size: 11.5px;
  color: var(--surface6fd3f-muted);
}
.surface6fd3f-answer {
  background: var(--surface6fd3f-bg-3);
  border-radius: var(--surface6fd3f-radius-s);
  padding: 11px 12px;
  margin: 8px 0;
  border: 1px solid var(--surface6fd3f-line-soft);
}
.surface6fd3f-answer-q {
  display: block;
  font-weight: 700;
  color: var(--surface6fd3f-accent);
  font-size: 13px;
  margin-bottom: 4px;
}

/* ---------- Extended homepage footer ---------- */
.surface6fd3f-foot-extended {
  margin: 26px 0 14px;
  background: var(--surface6fd3f-bg-2);
  border: 1px solid var(--surface6fd3f-line-soft);
  border-radius: var(--surface6fd3f-radius-l);
  overflow: hidden;
}
.surface6fd3f-foot-block {
  padding: 14px;
  border-bottom: 1px solid var(--surface6fd3f-line-soft);
}
.surface6fd3f-foot-block:last-child { border-bottom: 0; }
.surface6fd3f-foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.surface6fd3f-foot-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--surface6fd3f-accent-2);
}
.surface6fd3f-foot-brand strong {
  font-family: var(--surface6fd3f-font-display);
  font-size: 16px;
  color: var(--surface6fd3f-accent);
}
.surface6fd3f-foot-block p {
  font-size: 12.8px;
  color: var(--surface6fd3f-muted);
  line-height: 1.55;
}
.surface6fd3f-foot-block-title {
  font-family: var(--surface6fd3f-font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--surface6fd3f-accent);
  margin-bottom: 9px;
  letter-spacing: .4px;
}
.surface6fd3f-foot-dir {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.surface6fd3f-foot-dir a {
  display: block;
  padding: 8px 10px;
  background: var(--surface6fd3f-bg-3);
  border: 1px solid var(--surface6fd3f-line-soft);
  border-radius: var(--surface6fd3f-radius-s);
  font-size: 12px;
  color: var(--surface6fd3f-text-2);
  font-weight: 600;
}
.surface6fd3f-foot-dir a:active { background: var(--surface6fd3f-bg-elev); }
.surface6fd3f-foot-promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.surface6fd3f-foot-promo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 11px;
  border-radius: var(--surface6fd3f-radius-m);
  background: linear-gradient(150deg, #2b2034 0%, #1b1622 100%);
  border: 1px solid var(--surface6fd3f-accent-deep, #b0894a);
  cursor: pointer;
}
.surface6fd3f-foot-promo:active { filter: brightness(1.15); }
.surface6fd3f-foot-promo strong {
  font-size: 13px;
  color: var(--surface6fd3f-accent);
  font-weight: 800;
}
.surface6fd3f-foot-promo span {
  font-size: 11.2px;
  color: var(--surface6fd3f-text-2);
}
.surface6fd3f-foot-disclaimer {
  font-size: 11.5px;
  color: var(--surface6fd3f-faint);
  line-height: 1.6;
}
.surface6fd3f-foot-disclaimer strong { color: var(--surface6fd3f-text-2); }

/* ---------- Bottom navigation (brand-stressed band) ---------- */
.surface6fd3f-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  height: var(--surface6fd3f-bottomnav-h);
  background: linear-gradient(180deg, #15202e 0%, #0a0f17 100%);
  border-top: 1px solid var(--surface6fd3f-line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 45;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.surface6fd3f-bottomnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10.5px;
  color: var(--surface6fd3f-muted);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding: 6px 2px 4px;
  transition: color .18s ease;
}
.surface6fd3f-bottomnav-item svg {
  width: 22px;
  height: 22px;
}
.surface6fd3f-bottomnav-item.is-active {
  color: var(--surface6fd3f-accent);
}
.surface6fd3f-bottomnav-item.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 3px;
  background: var(--surface6fd3f-accent);
  border-radius: 0 0 4px 4px;
}
.surface6fd3f-bottomnav-item.is-active::after {
  content: "";
  position: absolute;
  inset: 4px 18% 2px;
  background: rgba(255, 228, 181, .08);
  border-radius: 9px;
  z-index: -1;
}
.surface6fd3f-bottomnav-promo {
  color: var(--surface6fd3f-accent);
}
.surface6fd3f-bottomnav-promo strong {
  font-size: 9.5px;
  letter-spacing: .4px;
}
.surface6fd3f-bottomnav-promo svg { color: var(--surface6fd3f-accent); }

/* ---------- Universal footer ---------- */
.surface6fd3f-footer {
  background: #080c12;
  border-top: 1px solid var(--surface6fd3f-line);
  padding: 14px 12px calc(8px + env(safe-area-inset-bottom, 0));
  text-align: center;
}
.surface6fd3f-footer-copy {
  font-size: 11.5px;
  color: var(--surface6fd3f-faint);
  line-height: 1.6;
}
.surface6fd3f-footer-copy strong { color: var(--surface6fd3f-text-2); }

/* ---------- Skip link / a11y ---------- */
.surface6fd3f-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface6fd3f-accent);
  color: #2a1d05;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 13px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.surface6fd3f-skip:focus { left: 0; }

/* ---------- 430px breakpoint refinement ---------- */
@media (min-width: 430px) {
  .surface6fd3f-gamegrid { gap: 10px; }
}
/* Tighter 4-col on the smallest phones */
@media (max-width: 359px) {
  .surface6fd3f-gamecard-name { font-size: 10.2px; }
  .surface6fd3f-section-head h2 { font-size: 16px; }
  .surface6fd3f-intro h1 { font-size: 20px; }
}
/* Slightly wider cards on >=375px */
@media (min-width: 375px) {
  .surface6fd3f-gamegrid { grid-template-columns: repeat(4, 1fr); gap: 9px; }
  .surface6fd3f-gamecard-name { font-size: 11.4px; }
}

/* ---------- Help-page reading tools ---------- */
.surface6fd3f-callout {
  padding: 12px 13px;
  margin: 10px 0;
  background: linear-gradient(145deg, #263242 0%, #19232f 100%);
  border: 1px solid var(--surface6fd3f-accent-2);
  border-radius: var(--surface6fd3f-radius-m);
}
.surface6fd3f-callout strong { color: var(--surface6fd3f-accent); }
.surface6fd3f-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin: 10px 0; }
.surface6fd3f-fact { padding: 9px 10px; background: var(--surface6fd3f-bg-3); border: 1px solid var(--surface6fd3f-line-soft); border-radius: var(--surface6fd3f-radius-s); }
.surface6fd3f-fact b { display: block; color: var(--surface6fd3f-accent); font-size: 12px; margin-bottom: 2px; }
.surface6fd3f-fact span { color: var(--surface6fd3f-muted); font-size: 11.5px; }
.surface6fd3f-checklist { margin: 8px 0; }
.surface6fd3f-checklist li { padding-left: 25px; }
.surface6fd3f-checklist li::before { content: "✓"; width: auto; height: auto; background: transparent; color: var(--surface6fd3f-success); font-weight: 800; top: 4px; left: 3px; }
.surface6fd3f-help-links { display: grid; gap: 8px; margin-top: 10px; }
.surface6fd3f-help-links a { display: block; min-height: 44px; padding: 10px 12px; border: 1px solid var(--surface6fd3f-accent-2); border-radius: var(--surface6fd3f-radius-s); background: var(--surface6fd3f-bg-3); }
.surface6fd3f-help-links small { display: block; color: var(--surface6fd3f-muted); font-weight: 500; margin-top: 2px; }
.surface6fd3f-definition { border-left: 2px solid var(--surface6fd3f-success); padding: 8px 10px; margin: 8px 0; background: rgba(93,157,109,.08); color: var(--surface6fd3f-text-2); font-size: 13px; }
.surface6fd3f-definition b { color: var(--surface6fd3f-accent); }
.surface6fd3f-table { width: 100%; border-collapse: collapse; margin-top: 9px; font-size: 12px; }
.surface6fd3f-table th, .surface6fd3f-table td { padding: 7px 6px; border: 1px solid var(--surface6fd3f-line); text-align: left; vertical-align: top; }
.surface6fd3f-table th { color: var(--surface6fd3f-accent); background: var(--surface6fd3f-bg-3); }
.surface6fd3f-table td { color: var(--surface6fd3f-text-2); }
.surface6fd3f-mini-note { color: var(--surface6fd3f-muted); font-size: 12px; margin-top: 8px; }

