/* =========================================================
   kb33.homes — base styles, mobile-first canvas 320-430px
   Class prefix: frame01471-
   Palette: #00FF7F | #008000 | #228B22 | #34495E | #F0FDFF
   Direction: tech titles + open body, near-square tool radius,
   bordered tile cards, scene-branch rhythm, icon micro-motion,
   solid primary + outlined secondary CTAs.
   ========================================================= */

/* ============ Design tokens ============ */
:root {
  --frame01471-jade-bright: #00FF7F;
  --frame01471-jade-deep: #008000;
  --frame01471-jade-mid: #228B22;
  --frame01471-slate-deep: #34495E;
  --frame01471-mist: #F0FDFF;
  --frame01471-ink: #0f1c27;
  --frame01471-slate-soft: #4a6076;
  --frame01471-line: rgba(240, 253, 255, 0.18);
  --frame01471-line-strong: rgba(0, 255, 127, 0.45);
  --frame01471-line-soft: rgba(240, 253, 255, 0.10);
  --frame01471-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  --frame01471-radius-sm: 4px;
  --frame01471-radius-md: 6px;
  --frame01471-radius-pill: 999px;
  --frame01471-touch: 44px;
  --frame01471-font-tech: 'Noto Sans Bengali', 'Hind Siliguri', 'SolaimanLipi', system-ui, -apple-system, sans-serif;
  --frame01471-font-body: 'Hind Siliguri', 'Noto Sans Bengali', 'SolaimanLipi', system-ui, -apple-system, sans-serif;
}

/* ============ Reset ============ */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

body {
  font-family: var(--frame01471-font-body);
  background: #141d27;
  color: var(--frame01471-mist);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

a { color: var(--frame01471-jade-bright); }

/* ============ Phone canvas (centered on wide screens) ============ */
.frame01471-page {
  max-width: 430px;
  margin: 0 auto;
  background: var(--frame01471-slate-deep);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

/* ============ Topbar (edge-aligned functional header) ============ */
.frame01471-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #2a3a4a 0%, #1f2c38 100%);
  border-bottom: 1px solid var(--frame01471-line-strong);
}

.frame01471-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
}

.frame01471-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: var(--frame01471-radius-sm);
  background: var(--frame01471-jade-bright);
  padding: 2px;
  flex-shrink: 0;
}

.frame01471-brand-name {
  font-family: var(--frame01471-font-tech);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1.5px;
  color: var(--frame01471-jade-bright);
  text-transform: lowercase;
  white-space: nowrap;
}

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

/* ============ Buttons (solid primary + outlined secondary) ============ */
.frame01471-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--frame01471-touch);
  padding: 8px 14px;
  font-family: var(--frame01471-font-tech);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
  border-radius: var(--frame01471-radius-sm);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
}

.frame01471-btn:active { transform: translateY(1px); }
.frame01471-btn:focus-visible {
  outline: 2px solid var(--frame01471-jade-bright);
  outline-offset: 2px;
}

.frame01471-btn--solid {
  background: var(--frame01471-jade-bright);
  color: var(--frame01471-ink);
  border-color: var(--frame01471-jade-bright);
}

.frame01471-btn--solid:hover { background: #1aff8c; }

.frame01471-btn--outline {
  background: transparent;
  color: var(--frame01471-jade-bright);
  border-color: var(--frame01471-line-strong);
}

.frame01471-btn--outline:hover { background: rgba(0, 255, 127, 0.08); }

/* Hamburger / route panel trigger */
.frame01471-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--frame01471-touch);
  height: var(--frame01471-touch);
  background: transparent;
  border: 1px solid var(--frame01471-line);
  border-radius: var(--frame01471-radius-sm);
  cursor: pointer;
  color: var(--frame01471-mist);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.frame01471-menu-btn:hover { border-color: var(--frame01471-jade-bright); color: var(--frame01471-jade-bright); }
.frame01471-menu-btn:focus-visible {
  outline: 2px solid var(--frame01471-jade-bright);
  outline-offset: 2px;
}

/* ============ Compact route panel (drawer) ============ */
.frame01471-drawer {
  position: absolute;
  top: calc(100% - 1px);
  right: 12px;
  width: 218px;
  max-height: 70vh;
  overflow-y: auto;
  background: #1f2c38;
  border: 1px solid var(--frame01471-line-strong);
  border-radius: var(--frame01471-radius-md);
  box-shadow: var(--frame01471-shadow);
  padding: 8px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 49;
}

.frame01471-drawer--open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.frame01471-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.frame01471-drawer-nav a {
  display: block;
  padding: 10px 12px;
  color: var(--frame01471-mist);
  text-decoration: none;
  font-size: 14px;
  border-radius: var(--frame01471-radius-sm);
  border-left: 2px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.frame01471-drawer-nav a:hover,
.frame01471-drawer-nav a:focus-visible {
  background: rgba(0, 255, 127, 0.08);
  border-left-color: var(--frame01471-jade-bright);
  color: var(--frame01471-jade-bright);
  outline: none;
}

/* ============ Hero carousel ============ */
.frame01471-hero {
  position: relative;
  margin: 0;
}

.frame01471-carousel {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--frame01471-line);
  background: #0f1c27;
}

.frame01471-slide {
  position: relative;
  display: none;
  width: 100%;
}

.frame01471-slide--active { display: block; }

.frame01471-slide-img {
  display: block;
  width: 100%;
  height: 184px;
  object-fit: cover;
  cursor: pointer;
}

.frame01471-slide-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(90deg, rgba(15, 28, 39, 0.92) 0%, rgba(15, 28, 39, 0.55) 100%);
  border-left: 3px solid var(--frame01471-jade-bright);
  border-radius: var(--frame01471-radius-sm);
}

.frame01471-slide-caption-text {
  font-family: var(--frame01471-font-tech);
  color: var(--frame01471-mist);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  flex: 1;
  min-width: 0;
}

.frame01471-slide-cta {
  background: var(--frame01471-jade-bright);
  color: var(--frame01471-ink);
  border: none;
  border-radius: var(--frame01471-radius-sm);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  min-height: 32px;
  white-space: nowrap;
}

.frame01471-slide-cta:active { transform: translateY(1px); }

.frame01471-slide-dots {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.frame01471-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(240, 253, 255, 0.40);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, width 0.2s ease;
}

.frame01471-dot--active {
  background: var(--frame01471-jade-bright);
  width: 22px;
  border-radius: var(--frame01471-radius-pill);
}

/* ============ Main content ============ */
.frame01471-main {
  padding: 18px 14px 120px;
}

/* Intro */
.frame01471-intro { margin-bottom: 22px; }

.frame01471-h1 {
  font-family: var(--frame01471-font-tech);
  font-size: 22px;
  line-height: 1.32;
  margin: 0 0 10px;
  color: var(--frame01471-mist);
  letter-spacing: 0.3px;
  font-weight: 700;
}

.frame01471-intro-text {
  margin: 0 0 10px;
  color: var(--frame01471-mist);
  font-size: 14.5px;
}

.frame01471-intro-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* ============ Section + game grid ============ */
.frame01471-section { margin-bottom: 28px; }

.frame01471-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--frame01471-line);
}

.frame01471-section-title {
  font-family: var(--frame01471-font-tech);
  font-size: 17px;
  margin: 0;
  color: var(--frame01471-jade-bright);
  letter-spacing: 0.4px;
  font-weight: 700;
}

.frame01471-section-tag {
  font-size: 11px;
  color: var(--frame01471-slate-soft);
  font-family: var(--frame01471-font-tech);
  letter-spacing: 0.3px;
}

.frame01471-section-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.frame01471-section-links a {
  color: var(--frame01471-mist);
  text-decoration: none;
  font-size: 11.5px;
  border: 1px solid var(--frame01471-line);
  padding: 4px 8px;
  border-radius: var(--frame01471-radius-sm);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.frame01471-section-links a:hover,
.frame01471-section-links a:focus-visible {
  border-color: var(--frame01471-jade-bright);
  color: var(--frame01471-jade-bright);
  outline: none;
}

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

/* Bordered tile card */
.frame01471-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(15, 28, 39, 0.6);
  border: 1px solid var(--frame01471-line);
  border-radius: var(--frame01471-radius-sm);
  padding: 4px;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.12s ease, background 0.18s ease;
  overflow: hidden;
  text-align: center;
  font: inherit;
  color: inherit;
}

.frame01471-tile:hover,
.frame01471-tile:focus-visible {
  border-color: var(--frame01471-jade-bright);
  background: rgba(0, 255, 127, 0.06);
  outline: none;
}

.frame01471-tile:active { transform: translateY(1px); }

.frame01471-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
  background: #0f1c27;
}

.frame01471-tile-name {
  display: -webkit-box;
  margin-top: 4px;
  padding: 0 2px 2px;
  font-size: 10.5px;
  line-height: 1.25;
  color: var(--frame01471-mist);
  text-align: center;
  min-height: 26px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.frame01471-tile-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  background: var(--frame01471-jade-bright);
  color: var(--frame01471-ink);
  border-radius: 2px;
  letter-spacing: 0.3px;
  font-family: var(--frame01471-font-tech);
}

/* ============ Content modules ============ */
.frame01471-module {
  margin-bottom: 26px;
  padding: 14px;
  background: rgba(15, 28, 39, 0.55);
  border: 1px solid var(--frame01471-line);
  border-left: 3px solid var(--frame01471-jade-mid);
  border-radius: var(--frame01471-radius-sm);
}

.frame01471-module--accent { border-left-color: var(--frame01471-jade-bright); }
.frame01471-module--soft { border-left-color: var(--frame01471-slate-soft); }

.frame01471-module-title {
  font-family: var(--frame01471-font-tech);
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--frame01471-jade-bright);
  letter-spacing: 0.4px;
  font-weight: 700;
}

.frame01471-module-lead {
  font-size: 13.5px;
  color: var(--frame01471-mist);
  margin: 0 0 10px;
}

.frame01471-module-body {
  font-size: 14px;
  color: var(--frame01471-mist);
}

.frame01471-module-body p { margin: 0 0 10px; }
.frame01471-module-body p:last-child { margin-bottom: 0; }

.frame01471-module-body a {
  color: var(--frame01471-jade-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.frame01471-module-body a:hover { color: #1aff8c; }

.frame01471-module-body strong {
  color: var(--frame01471-mist);
  background: rgba(0, 255, 127, 0.10);
  padding: 0 4px;
  border-radius: 2px;
  font-weight: 600;
}

/* Bullet list with line-marker */
.frame01471-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.frame01471-list li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 13.5px;
  border-bottom: 1px dashed var(--frame01471-line-soft);
}

.frame01471-list li:last-child { border-bottom: none; }

.frame01471-list li::before {
  content: '>';
  position: absolute;
  left: 4px;
  top: 7px;
  color: var(--frame01471-jade-bright);
  font-family: var(--frame01471-font-tech);
  font-weight: 700;
}

/* Numbered step list */
.frame01471-steps {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  counter-reset: step;
}

.frame01471-steps li {
  position: relative;
  padding: 8px 0 8px 32px;
  font-size: 13.5px;
  counter-increment: step;
  border-bottom: 1px dashed var(--frame01471-line-soft);
}

.frame01471-steps li:last-child { border-bottom: none; }

.frame01471-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--frame01471-jade-deep);
  color: var(--frame01471-mist);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--frame01471-font-tech);
}

.frame01471-callout {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(0, 128, 0, 0.16);
  border: 1px solid var(--frame01471-jade-mid);
  border-radius: var(--frame01471-radius-sm);
  font-size: 13px;
}

.frame01471-callout strong { color: var(--frame01471-jade-bright); }

/* Inline promo chip for body links */
.frame01471-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  margin: 0 2px;
  background: var(--frame01471-jade-bright);
  color: var(--frame01471-ink);
  border-radius: var(--frame01471-radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  vertical-align: baseline;
}

.frame01471-chip:hover { background: #1aff8c; color: var(--frame01471-ink); }

/* Two-column key/value summary */
.frame01471-kv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.frame01471-kv-item {
  padding: 8px 10px;
  border: 1px solid var(--frame01471-line);
  border-radius: var(--frame01471-radius-sm);
  background: rgba(15, 28, 39, 0.5);
}

.frame01471-kv-label {
  display: block;
  font-size: 11px;
  color: var(--frame01471-slate-soft);
  font-family: var(--frame01471-font-tech);
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.frame01471-kv-value {
  display: block;
  font-size: 13px;
  color: var(--frame01471-mist);
  font-weight: 600;
}

/* ============ Extended footer ============ */
.frame01471-extended {
  margin: 28px 0 14px;
  padding: 18px 14px;
  background: #1f2c38;
  border-top: 1px solid var(--frame01471-line-strong);
}

.frame01471-foot-block { margin-bottom: 18px; }
.frame01471-foot-block:last-child { margin-bottom: 0; }

.frame01471-foot-title {
  font-family: var(--frame01471-font-tech);
  font-size: 14px;
  margin: 0 0 8px;
  color: var(--frame01471-jade-bright);
  letter-spacing: 0.4px;
  font-weight: 700;
}

.frame01471-foot-block p {
  font-size: 13px;
  margin: 0 0 8px;
  color: var(--frame01471-mist);
  line-height: 1.55;
}

.frame01471-foot-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.frame01471-foot-list a {
  display: block;
  padding: 7px 8px;
  font-size: 12px;
  color: var(--frame01471-mist);
  text-decoration: none;
  border: 1px solid var(--frame01471-line);
  border-radius: var(--frame01471-radius-sm);
  transition: border-color 0.15s ease, color 0.15s ease;
  text-align: center;
}

.frame01471-foot-list a:hover,
.frame01471-foot-list a:focus-visible {
  border-color: var(--frame01471-jade-bright);
  color: var(--frame01471-jade-bright);
  outline: none;
}

/* Promotion action grid (7 entries) */
.frame01471-promo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.frame01471-promo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 9px 6px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  background: transparent;
  border: 1px solid var(--frame01471-jade-bright);
  color: var(--frame01471-jade-bright);
  border-radius: var(--frame01471-radius-sm);
  cursor: pointer;
  min-height: 42px;
  text-decoration: none;
  font-family: var(--frame01471-font-tech);
  letter-spacing: 0.3px;
  transition: background 0.15s ease, color 0.15s ease;
}

.frame01471-promo-link:hover { background: rgba(0, 255, 127, 0.10); }

.frame01471-promo-link--solid {
  background: var(--frame01471-jade-bright);
  color: var(--frame01471-ink);
  grid-column: 1 / -1;
}

.frame01471-promo-link--solid:hover { background: #1aff8c; color: var(--frame01471-ink); }

.frame01471-disclaimer {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px dashed var(--frame01471-line);
  border-radius: var(--frame01471-radius-sm);
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(240, 253, 255, 0.72);
}

/* ============ Copyright strip ============ */
.frame01471-copyright {
  padding: 10px 14px 86px;
  text-align: center;
  font-size: 11.5px;
  color: rgba(240, 253, 255, 0.6);
  border-top: 1px solid var(--frame01471-line);
}

/* ============ Bottom bar (compact icon rack, fixed) ============ */
.frame01471-bottombar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(0deg, #131c26 0%, #1f2c38 100%);
  border-top: 1px solid var(--frame01471-line-strong);
  z-index: 60;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.frame01471-bottombar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 2px 8px;
  background: transparent;
  border: none;
  color: var(--frame01471-mist);
  text-decoration: none;
  min-height: var(--frame01471-touch);
  cursor: pointer;
  position: relative;
  transition: color 0.15s ease, background 0.15s ease;
}

.frame01471-bottombar-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--frame01471-jade-bright);
  transition: width 0.22s ease;
}

.frame01471-bottombar-btn--active::before { width: 62%; }
.frame01471-bottombar-btn--active {
  background: rgba(0, 255, 127, 0.10);
  color: var(--frame01471-jade-bright);
}

.frame01471-bottombar-btn:hover { color: var(--frame01471-jade-bright); }
.frame01471-bottombar-btn:focus-visible {
  outline: 2px solid var(--frame01471-jade-bright);
  outline-offset: -2px;
}

.frame01471-bottombar-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.frame01471-bottombar-label {
  font-size: 10px;
  font-family: var(--frame01471-font-tech);
  letter-spacing: 0.3px;
  text-align: center;
}

/* ============ Help-page tools ============ */
.frame01471-help-hero {
  padding: 24px 14px 18px;
  background: linear-gradient(145deg, rgba(0, 128, 0, 0.24), rgba(15, 28, 39, 0.88)),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(0, 255, 127, 0.035) 22px 23px);
  border-bottom: 1px solid var(--frame01471-line-strong);
}

.frame01471-help-kicker {
  margin: 0 0 6px;
  color: var(--frame01471-jade-bright);
  font: 700 11px/1.4 var(--frame01471-font-tech);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.frame01471-help-summary { margin: 0; color: var(--frame01471-mist); font-size: 14px; }
.frame01471-help-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.frame01471-path {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px 10px;
  margin: 10px 0 0;
}

.frame01471-path-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--frame01471-jade-bright);
  color: var(--frame01471-jade-bright);
  font: 700 11px/1 var(--frame01471-font-tech);
}

.frame01471-path-copy { padding: 3px 0 10px; border-bottom: 1px dashed var(--frame01471-line-soft); }
.frame01471-path-copy strong { display: block; margin-bottom: 2px; color: var(--frame01471-mist); }
.frame01471-path-copy p { margin: 0; font-size: 13px; }

.frame01471-checks { display: grid; gap: 8px; margin-top: 10px; }
.frame01471-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  align-items: start;
  padding: 9px;
  border: 1px solid var(--frame01471-line);
  background: rgba(52, 73, 94, 0.38);
}
.frame01471-check::before { content: '✓'; color: var(--frame01471-jade-bright); font-weight: 700; }

.frame01471-branch { margin: 10px 0 0; border-left: 2px solid var(--frame01471-jade-mid); padding-left: 12px; }
.frame01471-branch + .frame01471-branch { margin-top: 14px; border-left-color: var(--frame01471-slate-soft); }
.frame01471-branch h3 { margin: 0 0 4px; color: var(--frame01471-mist); font-size: 14px; }
.frame01471-branch p { margin: 0; font-size: 13.5px; }

.frame01471-answer-stack { display: grid; gap: 9px; }
.frame01471-answer {
  border: 1px solid var(--frame01471-line);
  border-top-color: var(--frame01471-jade-mid);
  background: rgba(15, 28, 39, 0.56);
}
.frame01471-answer summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 9px 34px 9px 11px;
  color: var(--frame01471-mist);
  cursor: pointer;
  font-weight: 700;
  position: relative;
  list-style: none;
}
.frame01471-answer summary::-webkit-details-marker { display: none; }
.frame01471-answer summary::after { content: '+'; position: absolute; right: 12px; color: var(--frame01471-jade-bright); font-size: 20px; }
.frame01471-answer[open] summary::after { content: '−'; }
.frame01471-answer-copy { padding: 0 11px 11px; font-size: 13.5px; color: var(--frame01471-mist); }
.frame01471-answer-copy p { margin: 0 0 8px; }
.frame01471-answer-copy p:last-child { margin-bottom: 0; }

.frame01471-relation-map { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.frame01471-relation-node { border: 1px solid var(--frame01471-line); padding: 9px; min-height: 86px; }
.frame01471-relation-node strong { display: block; color: var(--frame01471-jade-bright); margin-bottom: 4px; }
.frame01471-relation-node span { font-size: 12.5px; }

.frame01471-inline-action {
  color: var(--frame01471-jade-bright);
  border: 0;
  border-bottom: 1px dashed currentColor;
  background: transparent;
  padding: 0;
  font: 700 inherit;
  cursor: pointer;
}
.frame01471-inline-action:focus-visible { outline: 2px solid var(--frame01471-jade-bright); outline-offset: 3px; }

/* ============ Breakpoints ============ */
@media (min-width: 360px) {
  .frame01471-game-grid { gap: 10px; }
  .frame01471-tile-name { font-size: 11px; }
  .frame01471-slide-img { height: 200px; }
}

/* 430px mobile upper bound — 5 tiles per row when canvas allows it */
@media (min-width: 430px) {
  .frame01471-game-grid { grid-template-columns: repeat(5, 1fr); }
  .frame01471-h1 { font-size: 24px; }
  .frame01471-slide-img { height: 220px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
