/* ============================================================
   77 jili - mobile canvas stylesheet (class prefix: shell13e1d-)
   Palette anchors: #F4A460 accent / #8B4513 stroke-brown /
   #2C2C2C canvas / #FFEFD5 cream text.
   Direction: tech-feel headings + open body text, stroke-led
   restrained corners, image-only game cards with short names,
   step-driven info rhythm, color-only state motion, segmented
   action buttons.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --shell13e1d-canvas: #2C2C2C;
  --shell13e1d-canvas-deep: #232323;
  --shell13e1d-panel: #333333;
  --shell13e1d-panel-soft: #3a3a3a;
  --shell13e1d-line: #57452f;
  --shell13e1d-line-soft: #474747;
  --shell13e1d-brown: #8B4513;
  --shell13e1d-accent: #F4A460;
  --shell13e1d-accent-soft: #ffd9a8;
  --shell13e1d-cream: #FFEFD5;
  --shell13e1d-dim: #d8c6ad;
  --shell13e1d-faint: #a5977f;
  --shell13e1d-focus: #F4A460;
  --shell13e1d-radius: 6px;
  --shell13e1d-radius-lg: 10px;
  --shell13e1d-tap: 44px;
  --shell13e1d-font-head: "Segoe UI", "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
  --shell13e1d-font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell13e1d-font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Courier New", monospace;
  --shell13e1d-nav-h: 58px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #191919;
  color: var(--shell13e1d-cream);
  font-family: var(--shell13e1d-font-body);
  font-size: 14px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: var(--shell13e1d-accent); text-decoration: none; }
a:hover, a:focus { color: var(--shell13e1d-accent-soft); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--shell13e1d-focus); outline-offset: 2px; }
.shell13e1d-scrolllock { overflow: hidden; }

/* phone canvas: centered column, capped at 430px on wide screens */
.shell13e1d-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell13e1d-canvas);
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.55);
}

/* ---------- top action bar ---------- */
.shell13e1d-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--shell13e1d-nav-h);
  padding: 8px 12px;
  background: var(--shell13e1d-canvas-deep);
  border-bottom: 1px solid var(--shell13e1d-line);
}
.shell13e1d-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-right: auto;
}
.shell13e1d-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--shell13e1d-radius);
  border: 1px solid var(--shell13e1d-line);
  object-fit: cover;
  flex: none;
}
.shell13e1d-brand-name {
  font-family: var(--shell13e1d-font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--shell13e1d-cream);
  white-space: nowrap;
}
.shell13e1d-brand-name small {
  display: block;
  font-family: var(--shell13e1d-font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 1.6px;
  color: var(--shell13e1d-faint);
  text-transform: uppercase;
}

/* segmented action pair */
.shell13e1d-seg {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--shell13e1d-brown);
  border-radius: var(--shell13e1d-radius);
  overflow: hidden;
  flex: none;
}
.shell13e1d-segbtn {
  min-height: var(--shell13e1d-tap);
  padding: 0 12px;
  background: var(--shell13e1d-canvas-deep);
  border: 0;
  border-right: 1px solid var(--shell13e1d-brown);
  color: var(--shell13e1d-accent);
  font-family: var(--shell13e1d-font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.shell13e1d-segbtn:last-child { border-right: 0; }
.shell13e1d-segbtn:hover, .shell13e1d-segbtn:focus-visible {
  background: var(--shell13e1d-brown);
  color: var(--shell13e1d-cream);
  text-decoration: none;
}
.shell13e1d-segbtn--primary {
  background: var(--shell13e1d-accent);
  color: #26190d;
}
.shell13e1d-segbtn--primary:hover, .shell13e1d-segbtn--primary:focus-visible {
  background: var(--shell13e1d-accent-soft);
  color: #26190d;
}

/* menu trigger */
.shell13e1d-menubtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--shell13e1d-tap);
  height: var(--shell13e1d-tap);
  background: var(--shell13e1d-canvas-deep);
  border: 1px solid var(--shell13e1d-line);
  border-radius: var(--shell13e1d-radius);
  color: var(--shell13e1d-accent);
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.shell13e1d-menubtn:hover, .shell13e1d-menubtn:focus-visible,
.shell13e1d-menubtn--open {
  border-color: var(--shell13e1d-accent);
  color: var(--shell13e1d-accent-soft);
}
.shell13e1d-menubtn svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- full-height menu layer ---------- */
.shell13e1d-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(430px, 100vw);
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: var(--shell13e1d-canvas-deep);
  border-left: 1px solid var(--shell13e1d-line);
  border-right: 1px solid var(--shell13e1d-line);
  visibility: hidden;
}
.shell13e1d-menu--open { visibility: visible; }
.shell13e1d-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--shell13e1d-line);
}
.shell13e1d-menu-title {
  margin: 0;
  font-family: var(--shell13e1d-font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shell13e1d-accent);
}
.shell13e1d-menu-close {
  width: var(--shell13e1d-tap);
  height: var(--shell13e1d-tap);
  background: transparent;
  border: 1px solid var(--shell13e1d-line-soft);
  border-radius: var(--shell13e1d-radius);
  color: var(--shell13e1d-dim);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.shell13e1d-menu-close:hover, .shell13e1d-menu-close:focus-visible {
  border-color: var(--shell13e1d-accent);
  color: var(--shell13e1d-accent);
}
.shell13e1d-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px 14px 18px;
}
.shell13e1d-menu-group { margin: 14px 0 4px; }
.shell13e1d-menu-group-title {
  margin: 0 0 6px;
  font-family: var(--shell13e1d-font-mono);
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--shell13e1d-faint);
}
.shell13e1d-menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--shell13e1d-tap);
  padding: 10px 12px;
  border: 1px solid var(--shell13e1d-line-soft);
  border-radius: var(--shell13e1d-radius);
  margin-bottom: 6px;
  background: var(--shell13e1d-canvas);
  color: var(--shell13e1d-dim);
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}
.shell13e1d-menu-link:hover, .shell13e1d-menu-link:focus-visible {
  border-color: var(--shell13e1d-accent);
  color: var(--shell13e1d-cream);
  text-decoration: none;
  background: var(--shell13e1d-panel);
}
.shell13e1d-menu-link[aria-current="page"] {
  border-color: var(--shell13e1d-accent);
  color: var(--shell13e1d-cream);
  background: var(--shell13e1d-panel);
}
.shell13e1d-menu-link span:first-child {
  font-family: var(--shell13e1d-font-mono);
  font-size: 11px;
  color: var(--shell13e1d-accent);
}
.shell13e1d-menu-cta {
  margin: 14px 14px calc(14px + env(safe-area-inset-bottom));
  display: block;
  width: calc(100% - 28px);
  min-height: 48px;
  background: var(--shell13e1d-accent);
  border: 1px solid var(--shell13e1d-brown);
  border-radius: var(--shell13e1d-radius);
  color: #26190d;
  font-family: var(--shell13e1d-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.shell13e1d-menu-cta:hover, .shell13e1d-menu-cta:focus-visible {
  background: var(--shell13e1d-accent-soft);
}

/* ---------- main flow ---------- */
.shell13e1d-main {
  padding: 16px 14px calc(var(--shell13e1d-nav-h) + 26px + env(safe-area-inset-bottom));
}

/* hero */
.shell13e1d-hero {
  padding: 6px 0 4px;
  border-bottom: 1px dashed var(--shell13e1d-line);
  margin-bottom: 16px;
}
.shell13e1d-kicker {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 8px;
  border: 1px solid var(--shell13e1d-brown);
  border-radius: 3px;
  font-family: var(--shell13e1d-font-mono);
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--shell13e1d-accent);
}
.shell13e1d-h1 {
  margin: 0 0 10px;
  font-family: var(--shell13e1d-font-head);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--shell13e1d-cream);
}
.shell13e1d-lede {
  margin: 0 0 14px;
  color: var(--shell13e1d-dim);
  font-size: 14px;
}
.shell13e1d-herosteps {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.shell13e1d-herosteps li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  padding: 9px 10px;
  border: 1px solid var(--shell13e1d-line-soft);
  border-radius: var(--shell13e1d-radius);
  background: var(--shell13e1d-canvas-deep);
  font-size: 13px;
  color: var(--shell13e1d-dim);
}
.shell13e1d-herosteps b {
  display: block;
  font-family: var(--shell13e1d-font-mono);
  font-size: 12px;
  color: var(--shell13e1d-accent);
  font-weight: 700;
}

/* ---------- promo carousel ---------- */
.shell13e1d-carousel { margin: 0 0 22px; }
.shell13e1d-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.shell13e1d-track::-webkit-scrollbar { display: none; }
.shell13e1d-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  padding: 0;
  border: 1px solid var(--shell13e1d-line);
  border-radius: var(--shell13e1d-radius-lg);
  overflow: hidden;
  background: var(--shell13e1d-canvas-deep);
  cursor: pointer;
  transition: border-color 0.25s ease;
}
.shell13e1d-slide:hover, .shell13e1d-slide:focus-visible { border-color: var(--shell13e1d-accent); }
.shell13e1d-slide-img {
  width: 100%;
  aspect-ratio: 2.05 / 1;
  object-fit: cover;
}
.shell13e1d-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 12px 10px;
  background: linear-gradient(180deg, rgba(35, 35, 35, 0) 0%, rgba(35, 35, 35, 0.94) 78%);
  text-align: left;
}
.shell13e1d-slide-cap strong {
  font-family: var(--shell13e1d-font-head);
  font-size: 13px;
  color: var(--shell13e1d-cream);
  font-weight: 700;
}
.shell13e1d-slide-cap span {
  font-family: var(--shell13e1d-font-mono);
  font-size: 9px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shell13e1d-accent);
  border: 1px solid var(--shell13e1d-brown);
  border-radius: 3px;
  padding: 2px 6px;
  background: rgba(43, 43, 43, 0.6);
  white-space: nowrap;
}
.shell13e1d-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.shell13e1d-dot {
  width: var(--shell13e1d-tap);
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.shell13e1d-dot::before {
  content: "";
  width: 22px;
  height: 5px;
  border-radius: 3px;
  background: var(--shell13e1d-line-soft);
  transition: background-color 0.25s ease;
}
.shell13e1d-dot--on::before { background: var(--shell13e1d-accent); }

/* ---------- section shells ---------- */
.shell13e1d-section { margin: 0 0 26px; }
.shell13e1d-sechead {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 6px;
}
.shell13e1d-idx {
  font-family: var(--shell13e1d-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--shell13e1d-brown);
  letter-spacing: 1px;
}
.shell13e1d-h2 {
  margin: 0;
  font-family: var(--shell13e1d-font-head);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--shell13e1d-cream);
}
.shell13e1d-count {
  margin-left: auto;
  flex: none;
  font-family: var(--shell13e1d-font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--shell13e1d-faint);
  border: 1px solid var(--shell13e1d-line-soft);
  border-radius: 3px;
  padding: 2px 6px;
}
.shell13e1d-secintro {
  margin: 0 0 12px;
  color: var(--shell13e1d-dim);
  font-size: 13px;
}

/* ---------- game grid: image-only cards, name below ---------- */
.shell13e1d-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
}
.shell13e1d-gamecard {
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: center;
  min-width: 0;
}
.shell13e1d-gameframe {
  display: block;
  border: 1px solid var(--shell13e1d-line);
  border-radius: var(--shell13e1d-radius);
  overflow: hidden;
  background: var(--shell13e1d-canvas-deep);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.shell13e1d-gamecard:hover .shell13e1d-gameframe,
.shell13e1d-gamecard:focus-visible .shell13e1d-gameframe {
  border-color: var(--shell13e1d-accent);
  background: var(--shell13e1d-panel);
}
.shell13e1d-gameframe img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.shell13e1d-gametag {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.3;
  color: var(--shell13e1d-dim);
  transition: color 0.25s ease;
  word-break: break-word;
}
.shell13e1d-gamecard:hover .shell13e1d-gametag,
.shell13e1d-gamecard:focus-visible .shell13e1d-gametag {
  color: var(--shell13e1d-cream);
}

/* ---------- editorial modules ---------- */
.shell13e1d-panelbox {
  border: 1px solid var(--shell13e1d-line-soft);
  border-radius: var(--shell13e1d-radius-lg);
  background: var(--shell13e1d-canvas-deep);
  padding: 14px 12px;
}
.shell13e1d-h3 {
  margin: 16px 0 8px;
  font-family: var(--shell13e1d-font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--shell13e1d-accent-soft);
}

/* step rail (mobile access) */
.shell13e1d-steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.shell13e1d-steps-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding-bottom: 18px;
}
.shell13e1d-steps-item::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 36px;
  bottom: 2px;
  width: 2px;
  background: var(--shell13e1d-line);
}
.shell13e1d-steps-item:last-child { padding-bottom: 4px; }
.shell13e1d-steps-item:last-child::before { display: none; }
.shell13e1d-steps-num {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shell13e1d-accent);
  border-radius: var(--shell13e1d-radius);
  background: var(--shell13e1d-canvas-deep);
  font-family: var(--shell13e1d-font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--shell13e1d-accent);
}
.shell13e1d-steps-body h3, .shell13e1d-steps-body .shell13e1d-steptitle {
  margin: 4px 0 4px;
  font-family: var(--shell13e1d-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--shell13e1d-cream);
}
.shell13e1d-steps-body p { margin: 0; font-size: 13px; color: var(--shell13e1d-dim); }

/* conditional note */
.shell13e1d-note {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px dashed var(--shell13e1d-brown);
  border-left: 3px solid var(--shell13e1d-brown);
  border-radius: var(--shell13e1d-radius);
  background: rgba(139, 69, 19, 0.12);
  font-size: 12.5px;
  color: var(--shell13e1d-dim);
}
.shell13e1d-note b { color: var(--shell13e1d-accent); font-weight: 700; }

/* tricks grid */
.shell13e1d-tips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.shell13e1d-tip {
  border: 1px solid var(--shell13e1d-line-soft);
  border-radius: var(--shell13e1d-radius);
  background: var(--shell13e1d-canvas-deep);
  padding: 10px 12px;
}
.shell13e1d-tip-kicker {
  display: block;
  margin: 0 0 4px;
  font-family: var(--shell13e1d-font-mono);
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell13e1d-brown);
  transition: color 0.25s ease;
}
.shell13e1d-tip b { display: block; font-size: 13px; color: var(--shell13e1d-cream); margin-bottom: 3px; }
.shell13e1d-tip p { margin: 0; font-size: 12.5px; color: var(--shell13e1d-dim); }

/* feature comparison rows */
.shell13e1d-spec {
  margin: 12px 0 0;
  border: 1px solid var(--shell13e1d-line-soft);
  border-radius: var(--shell13e1d-radius-lg);
  overflow: hidden;
}
.shell13e1d-spec-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--shell13e1d-line-soft);
  background: var(--shell13e1d-canvas-deep);
}
.shell13e1d-spec-row:last-child { border-bottom: 0; }
.shell13e1d-spec-row:nth-child(even) { background: #2b2b2b; }
.shell13e1d-spec-key {
  font-family: var(--shell13e1d-font-mono);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--shell13e1d-accent);
  align-self: start;
  padding-top: 2px;
}
.shell13e1d-spec-val { font-size: 13px; color: var(--shell13e1d-dim); }

/* milestone track */
.shell13e1d-milestones {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.shell13e1d-milestone {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid var(--shell13e1d-line-soft);
  border-left: 3px solid var(--shell13e1d-brown);
  border-radius: var(--shell13e1d-radius);
  background: var(--shell13e1d-canvas-deep);
  transition: border-color 0.25s ease;
}
.shell13e1d-milestone:hover { border-left-color: var(--shell13e1d-accent); }
.shell13e1d-milestone-dot {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border: 2px solid var(--shell13e1d-accent);
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--shell13e1d-canvas-deep);
}
.shell13e1d-milestone b { display: block; font-size: 13px; color: var(--shell13e1d-cream); margin-bottom: 2px; }
.shell13e1d-milestone p { margin: 0; font-size: 12.5px; color: var(--shell13e1d-dim); }

/* fact sheet */
.shell13e1d-facts {
  margin: 12px 0 0;
  border-top: 1px solid var(--shell13e1d-line-soft);
}
.shell13e1d-facts > div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 10px;
  padding: 9px 2px;
  border-bottom: 1px dotted var(--shell13e1d-line);
}
.shell13e1d-facts dt {
  margin: 0;
  font-family: var(--shell13e1d-font-mono);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--shell13e1d-brown);
  padding-top: 2px;
}
.shell13e1d-facts dd { margin: 0; font-size: 13px; color: var(--shell13e1d-cream); }

/* pros and limits */
.shell13e1d-pl {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
}
.shell13e1d-pl-panel {
  border: 1px solid var(--shell13e1d-line-soft);
  border-radius: var(--shell13e1d-radius-lg);
  background: var(--shell13e1d-canvas-deep);
  padding: 12px;
}
.shell13e1d-pl-panel--good { border-top: 3px solid var(--shell13e1d-accent); }
.shell13e1d-pl-panel--bad { border-top: 3px solid var(--shell13e1d-brown); }
.shell13e1d-pl-title {
  margin: 0 0 8px;
  font-family: var(--shell13e1d-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--shell13e1d-accent);
}
.shell13e1d-pl-panel--bad .shell13e1d-pl-title { color: var(--shell13e1d-accent-soft); }
.shell13e1d-pl-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.shell13e1d-pl-list li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 12.5px;
  color: var(--shell13e1d-dim);
}
.shell13e1d-pl-list li::before {
  position: absolute;
  left: 0;
  top: 5px;
  font-family: var(--shell13e1d-font-mono);
  font-size: 12px;
  font-weight: 700;
}
.shell13e1d-pl-panel--good .shell13e1d-pl-list li::before { content: "+"; color: var(--shell13e1d-accent); }
.shell13e1d-pl-panel--bad .shell13e1d-pl-list li::before { content: "-"; color: var(--shell13e1d-brown); }

/* inline promo text link */
.shell13e1d-golink {
  display: inline-block;
  min-height: 24px;
  padding: 2px 0;
  color: var(--shell13e1d-accent);
  border-bottom: 1px dashed var(--shell13e1d-brown);
  cursor: pointer;
  background: transparent;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  font-size: inherit;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.shell13e1d-golink:hover, .shell13e1d-golink:focus-visible {
  color: var(--shell13e1d-accent-soft);
  border-bottom-color: var(--shell13e1d-accent);
}

/* ---------- extended footer (home only) ---------- */
.shell13e1d-extfooter {
  margin: 26px -14px 0;
  padding: 18px 14px 6px;
  border-top: 1px solid var(--shell13e1d-line);
  background: var(--shell13e1d-canvas-deep);
}
.shell13e1d-ext-brand {
  margin: 0 0 14px;
  font-size: 12.5px;
  color: var(--shell13e1d-dim);
}
.shell13e1d-ext-title {
  margin: 0 0 8px;
  font-family: var(--shell13e1d-font-mono);
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--shell13e1d-accent);
}
.shell13e1d-ext-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.shell13e1d-ext-links a {
  display: block;
  min-height: 24px;
  font-size: 12.5px;
  color: var(--shell13e1d-dim);
  text-decoration: none;
  border-bottom: 1px dotted var(--shell13e1d-line);
  padding: 4px 0;
  transition: color 0.25s ease;
}
.shell13e1d-ext-links a:hover, .shell13e1d-ext-links a:focus-visible { color: var(--shell13e1d-accent); }
.shell13e1d-ext-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.shell13e1d-ext-promos button {
  min-height: 38px;
  padding: 8px 12px;
  background: var(--shell13e1d-canvas);
  border: 1px solid var(--shell13e1d-brown);
  border-radius: 999px;
  color: var(--shell13e1d-accent);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.shell13e1d-ext-promos button:hover, .shell13e1d-ext-promos button:focus-visible {
  background: var(--shell13e1d-accent);
  border-color: var(--shell13e1d-accent);
  color: #26190d;
}
.shell13e1d-ext-note {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px dashed var(--shell13e1d-line);
  border-radius: var(--shell13e1d-radius);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--shell13e1d-faint);
}

/* ---------- common footer ---------- */
.shell13e1d-footer {
  padding: 12px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--shell13e1d-line);
  text-align: center;
  font-size: 11.5px;
  color: var(--shell13e1d-faint);
}

/* ---------- fixed bottom nav ---------- */
.shell13e1d-bottomnav {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: min(430px, 100vw);
  transform: translateX(-50%);
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--shell13e1d-canvas-deep);
  border-top: 2px solid var(--shell13e1d-brown);
  padding-bottom: env(safe-area-inset-bottom);
}
.shell13e1d-navitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--shell13e1d-nav-h);
  padding: 6px 2px 4px;
  background: transparent;
  border: 0;
  color: var(--shell13e1d-faint);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease;
}
.shell13e1d-navitem svg { width: 21px; height: 21px; fill: currentColor; }
.shell13e1d-navlabel {
  font-family: var(--shell13e1d-font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4px;
}
.shell13e1d-navitem:hover, .shell13e1d-navitem:focus-visible {
  color: var(--shell13e1d-accent-soft);
  background: var(--shell13e1d-panel);
  text-decoration: none;
}
.shell13e1d-navitem--active {
  color: var(--shell13e1d-accent);
  background: linear-gradient(180deg, rgba(244, 164, 96, 0.14) 0%, rgba(244, 164, 96, 0) 100%);
}
.shell13e1d-navitem--active .shell13e1d-navlabel {
  font-weight: 800;
  border-bottom: 2px solid var(--shell13e1d-accent);
  padding-bottom: 1px;
}

/* ---------- responsive tuning ---------- */
@media (min-width: 380px) {
  .shell13e1d-tips { grid-template-columns: 1fr 1fr; }
  .shell13e1d-ext-links { grid-template-columns: 1fr 1fr 1fr; }
}
/* wider phone canvas: fifth column for the game grid */
@media (min-width: 430px) {
  .shell13e1d-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 10px; }
  .shell13e1d-main { padding-left: 18px; padding-right: 18px; }
  .shell13e1d-extfooter { margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; }
  .shell13e1d-h1 { font-size: 26px; }
}

/* Compatible help layouts and mobile safety refinements. */
.shell13e1d-topbar { position: fixed; left: 50%; transform: translateX(-50%); width: min(430px, 100vw); padding: 7px 8px; gap: 5px; }
.shell13e1d-brand { gap: 5px; }
.shell13e1d-brand-name { font-size: 15px; }
.shell13e1d-segbtn { padding: 0 8px; letter-spacing: 0.2px; }
.shell13e1d-main { padding-top: 82px; }
.shell13e1d-main p { overflow-wrap: break-word; }
.shell13e1d-idx, .shell13e1d-tip-kicker, .shell13e1d-facts dt { color: var(--shell13e1d-accent); }
.shell13e1d-faint, .shell13e1d-footer, .shell13e1d-ext-note { color: var(--shell13e1d-dim); }
.shell13e1d-extfooter { margin-left: 0; margin-right: 0; }
.shell13e1d-spec-val { margin: 0; }
.shell13e1d-count, .shell13e1d-menu-group-title, .shell13e1d-navitem { color: var(--shell13e1d-dim); }
.shell13e1d-navitem--active { color: var(--shell13e1d-accent); }
.shell13e1d-sechead { flex-wrap: wrap; }
.shell13e1d-sechead .shell13e1d-h2 { flex: 1; min-width: 180px; }
.shell13e1d-dot { height: 44px; }
.shell13e1d-golink, .shell13e1d-ext-links a, .shell13e1d-ext-promos button { min-height: 44px; }
.shell13e1d-main a { display: inline-flex; align-items: center; min-height: 44px; }
.shell13e1d-gamecard { min-height: 44px; }
.shell13e1d-gameframe img { height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.shell13e1d-slide-img { height: auto; }
.shell13e1d-gametag { display: block; height: auto; min-height: 29px; overflow: visible; -webkit-line-clamp: unset; line-clamp: unset; }
.shell13e1d-menu-link svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.shell13e1d-menu-link[aria-current="page"] span:last-child { font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.shell13e1d-menu-title { font-size: 14px; }
.shell13e1d-ext-title { line-height: 1.5; }
.shell13e1d-tips { grid-template-columns: 1fr; }
.shell13e1d-helprail { margin: 14px 0; padding-left: 23px; border-left: 2px solid var(--shell13e1d-brown); }
.shell13e1d-helprail > li { padding: 0 0 18px 7px; }
.shell13e1d-helprail > li::marker { color: var(--shell13e1d-accent); font-weight: 700; }
.shell13e1d-helprail p { margin: 5px 0; }
.shell13e1d-choice { margin: 12px 0; border-top: 1px solid var(--shell13e1d-brown); padding-top: 12px; }
.shell13e1d-choice strong { color: var(--shell13e1d-accent-soft); }
.shell13e1d-qa { margin: 14px 0; }
.shell13e1d-qa dt { color: var(--shell13e1d-accent-soft); font-weight: 700; padding: 12px 0 4px; }
.shell13e1d-qa dd { margin: 0; padding-bottom: 12px; border-bottom: 1px dotted var(--shell13e1d-line); }
.shell13e1d-route { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; list-style: none; padding: 0; }
.shell13e1d-route li { border: 1px solid var(--shell13e1d-line); padding: 9px; }
.shell13e1d-route p { margin: 4px 0; font-size: 12.5px; }
.shell13e1d-terms { margin: 12px 0; }
.shell13e1d-terms dt { font-weight: 700; color: var(--shell13e1d-accent); }
.shell13e1d-terms dd { margin: 4px 0 16px; }
.shell13e1d-editorial { margin: 12px 0; }
.shell13e1d-editorial li { margin: 8px 0; }
.shell13e1d-final { border-left: 3px solid var(--shell13e1d-accent); padding: 8px 12px; margin-top: 14px; }
.shell13e1d-slide-cap { position: static; padding: 8px; background: var(--shell13e1d-canvas-deep); }
.shell13e1d-slide-img { aspect-ratio: 2 / 1; object-fit: contain; }
.shell13e1d-slide-cap strong { font-size: 12px; }
.shell13e1d-footer { margin-bottom: 70px; }
@media (min-width: 430px) { .shell13e1d-extfooter { margin-left: 0; margin-right: 0; } }
@media (min-width: 375px) { .shell13e1d-topbar { padding: 8px 12px; gap: 8px; } .shell13e1d-brand-name { font-size: 17px; } .shell13e1d-segbtn { padding: 0 12px; } }

/* reduced motion: keep color-only feedback everywhere */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
