/* ==========================================================================
   rs8.homes - interface stylesheet
   Class prefix    : shell2d2c9-
   Variable prefix : --shell2d2c9-
   Canvas strategy : 320-430px mobile canvas, wide screens keep the centred
                     canvas with a darker backdrop, no desktop redesign.
   Visual tone     : border-led restrained radius, outlined game tiles,
                     compact metric-explainer rhythm, light press feedback.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --shell2d2c9-void: #232326;
  --shell2d2c9-canvas: #2d2d2d;
  --shell2d2c9-raise: #343438;
  --shell2d2c9-deep: #2a2a2d;
  --shell2d2c9-line: #4a4a52;
  --shell2d2c9-hairline: rgba(224, 224, 224, 0.14);
  --shell2d2c9-text: #e0e0e0;
  --shell2d2c9-muted: #b9b9c4;
  --shell2d2c9-violet: #6a5acd;
  --shell2d2c9-turq: #40e0d0;
  --shell2d2c9-thistle: #d8bfd8;
  --shell2d2c9-ice: #afeeee;
  --shell2d2c9-ink: #20202a;
  --shell2d2c9-font-head: "Trebuchet MS", "Segoe UI", Verdana, system-ui, sans-serif;
  --shell2d2c9-font-body: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell2d2c9-r-s: 6px;
  --shell2d2c9-r-m: 9px;
  --shell2d2c9-r-l: 13px;
  --shell2d2c9-bar-h: 57px;
  --shell2d2c9-dock-h: 60px;
  --shell2d2c9-touch: 44px;
}

/* ---------- reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body.shell2d2c9-body {
  margin: 0;
  font-family: var(--shell2d2c9-font-body);
  font-size: 15px;
  line-height: 1.62;
  color: var(--shell2d2c9-text);
  background: var(--shell2d2c9-canvas);
  overflow-x: hidden;
}

body.shell2d2c9-noscroll { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: var(--shell2d2c9-ice); text-decoration: none; }
a:hover { color: var(--shell2d2c9-turq); }

button { font-family: inherit; }

h1, h2, h3, h4 { font-family: var(--shell2d2c9-font-head); line-height: 1.3; margin: 0 0 8px; }
h1 { font-size: 21px; letter-spacing: 0.2px; }
h2 { font-size: 17.5px; }
h3 { font-size: 15px; }
p { margin: 0 0 10px; }

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

:focus-visible {
  outline: 2px solid var(--shell2d2c9-turq);
  outline-offset: 2px;
  border-radius: 3px;
}

.shell2d2c9-skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--shell2d2c9-turq);
  color: var(--shell2d2c9-ink);
  padding: 10px 16px;
  border-radius: 0 0 var(--shell2d2c9-r-m) 0;
  font-weight: 700;
}
.shell2d2c9-skip:focus { left: 0; color: var(--shell2d2c9-ink); }

/* ---------- shared shell: centred phone canvas ---------- */
.shell2d2c9-topbar__in,
.shell2d2c9-main,
.shell2d2c9-extend,
.shell2d2c9-common {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.shell2d2c9-main {
  padding: calc(var(--shell2d2c9-bar-h) + 12px) 13px calc(var(--shell2d2c9-dock-h) + 46px);
}

.shell2d2c9-main section { scroll-margin-top: calc(var(--shell2d2c9-bar-h) + 12px); }

/* ---------- top action bar ---------- */
.shell2d2c9-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(38, 38, 41, 0.96);
  border-bottom: 1px solid var(--shell2d2c9-line);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.shell2d2c9-topbar__in {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--shell2d2c9-bar-h);
  padding: 0 12px;
}

.shell2d2c9-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  color: var(--shell2d2c9-text);
}

.shell2d2c9-brand__mark {
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  border: 1px solid var(--shell2d2c9-turq);
  border-radius: var(--shell2d2c9-r-m);
  padding: 2px;
  background: var(--shell2d2c9-deep);
  box-shadow: inset 0 0 0 1px rgba(64, 224, 208, 0.18);
}

.shell2d2c9-brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.shell2d2c9-brand__name {
  font-family: var(--shell2d2c9-font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--shell2d2c9-ice);
}

.shell2d2c9-topbar__acts {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* ---------- buttons: solid primary + outlined secondary ---------- */
.shell2d2c9-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--shell2d2c9-touch);
  padding: 9px 15px;
  border-radius: var(--shell2d2c9-r-m);
  border: 1px solid var(--shell2d2c9-turq);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease,
    transform 0.12s ease;
}

.shell2d2c9-btn:active { transform: scale(0.97); }

.shell2d2c9-btn--solid {
  background: var(--shell2d2c9-turq);
  color: var(--shell2d2c9-ink);
}
.shell2d2c9-btn--solid:hover { background: var(--shell2d2c9-ice); color: var(--shell2d2c9-ink); border-color: var(--shell2d2c9-ice); }

.shell2d2c9-btn--line {
  background: transparent;
  color: var(--shell2d2c9-ice);
}
.shell2d2c9-btn--line:hover { background: rgba(64, 224, 208, 0.1); color: var(--shell2d2c9-turq); }

.shell2d2c9-btn--sm { min-height: 37px; padding: 7px 11px; font-size: 12.5px; }

.shell2d2c9-btn--wide { width: 100%; }

.shell2d2c9-btn--violet {
  background: var(--shell2d2c9-violet);
  border-color: var(--shell2d2c9-violet);
  color: #f4f2ff;
}
.shell2d2c9-btn--violet:hover { background: #7d6fd8; border-color: #7d6fd8; color: #ffffff; }

/* ---------- burger ---------- */
.shell2d2c9-burger {
  width: 40px;
  height: 37px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: var(--shell2d2c9-deep);
  border: 1px solid var(--shell2d2c9-line);
  border-radius: var(--shell2d2c9-r-m);
  cursor: pointer;
  transition: border-color 0.22s ease;
}
.shell2d2c9-burger:hover { border-color: var(--shell2d2c9-turq); }
.shell2d2c9-burger span {
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--shell2d2c9-ice);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

/* ---------- side drawer + scrim ---------- */
.shell2d2c9-scrim {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(12, 12, 14, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.shell2d2c9-scrim--show { opacity: 1; pointer-events: auto; }

.shell2d2c9-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 96;
  width: min(82vw, 300px);
  background: var(--shell2d2c9-deep);
  border-left: 1px solid var(--shell2d2c9-line);
  transform: translateX(103%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  padding: 16px 14px 18px;
  overflow-y: auto;
}
.shell2d2c9-drawer--open { transform: translateX(0); }

.shell2d2c9-drawer__lead {
  font-family: var(--shell2d2c9-font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--shell2d2c9-thistle);
  border-bottom: 2px solid var(--shell2d2c9-violet);
  padding-bottom: 9px;
  margin-bottom: 8px;
}

.shell2d2c9-drawer__cap {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--shell2d2c9-muted);
  padding: 13px 4px 5px;
}

.shell2d2c9-drawer__link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 6px 4px;
  border-bottom: 1px solid var(--shell2d2c9-hairline);
  color: var(--shell2d2c9-text);
  font-size: 14.5px;
  transition: color 0.2s ease;
}
.shell2d2c9-drawer__link:hover { color: var(--shell2d2c9-turq); }

/* active marker = underline */
.shell2d2c9-drawer__link--on {
  color: var(--shell2d2c9-turq);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.shell2d2c9-drawer__foot { margin-top: 16px; }

/* ---------- hero carousel ---------- */
.shell2d2c9-hero {
  position: relative;
  border: 1px solid var(--shell2d2c9-line);
  border-radius: var(--shell2d2c9-r-l);
  overflow: hidden;
  background: var(--shell2d2c9-deep);
  margin-bottom: 14px;
}

.shell2d2c9-hero__slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: var(--shell2d2c9-deep);
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
  text-align: left;
}
.shell2d2c9-hero__slide--on { opacity: 1; position: relative; }
.shell2d2c9-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 8;
}
.shell2d2c9-hero__slide--on img { aspect-ratio: auto; height: auto; }

.shell2d2c9-hero__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(20, 20, 23, 0) 0%, rgba(20, 20, 23, 0.88) 78%);
  color: #ffffff;
  font-family: var(--shell2d2c9-font-head);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.shell2d2c9-hero__cap em {
  font-style: normal;
  font-size: 11px;
  font-weight: 400;
  color: var(--shell2d2c9-ice);
  white-space: nowrap;
  border: 1px solid rgba(175, 238, 238, 0.55);
  border-radius: 999px;
  padding: 3px 10px;
}

.shell2d2c9-hero__dots {
  position: absolute;
  right: 11px;
  bottom: 46px;
  display: flex;
  gap: 6px;
  z-index: 3;
}
.shell2d2c9-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid var(--shell2d2c9-ice);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: width 0.22s ease, background-color 0.22s ease;
}
.shell2d2c9-hero__dot--on { width: 22px; background: var(--shell2d2c9-turq); border-color: var(--shell2d2c9-turq); }

/* ---------- headline block ---------- */
.shell2d2c9-head { margin-bottom: 12px; }

.shell2d2c9-head h1 { color: #ffffff; }

.shell2d2c9-head h1 b {
  color: var(--shell2d2c9-turq);
  font-weight: 700;
}

.shell2d2c9-lead { color: var(--shell2d2c9-muted); font-size: 14px; }

/* compact metric strip */
.shell2d2c9-meters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 4px;
}
.shell2d2c9-meter {
  border: 1px solid var(--shell2d2c9-line);
  border-radius: var(--shell2d2c9-r-m);
  background: var(--shell2d2c9-raise);
  padding: 9px 8px;
  text-align: center;
  transition: border-color 0.22s ease;
}
.shell2d2c9-meter:hover { border-color: var(--shell2d2c9-violet); }
.shell2d2c9-meter b {
  display: block;
  font-family: var(--shell2d2c9-font-head);
  font-size: 17px;
  color: var(--shell2d2c9-turq);
  line-height: 1.15;
}
.shell2d2c9-meter span { display: block; font-size: 11px; color: var(--shell2d2c9-muted); }

/* ---------- category chip rail ---------- */
.shell2d2c9-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.shell2d2c9-rail::-webkit-scrollbar { display: none; }
.shell2d2c9-rail a,
.shell2d2c9-rail button {
  scroll-snap-align: start;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--shell2d2c9-line);
  background: var(--shell2d2c9-deep);
  color: var(--shell2d2c9-text);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.shell2d2c9-rail a:hover,
.shell2d2c9-rail button:hover { border-color: var(--shell2d2c9-turq); color: var(--shell2d2c9-turq); }
.shell2d2c9-rail i {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--shell2d2c9-muted);
}

/* ---------- generic section frame ---------- */
.shell2d2c9-sec {
  border: 1px solid var(--shell2d2c9-line);
  border-radius: var(--shell2d2c9-r-l);
  background: linear-gradient(180deg, var(--shell2d2c9-raise) 0%, var(--shell2d2c9-canvas) 100%);
  padding: 14px 12px 15px;
  margin-bottom: 14px;
}

.shell2d2c9-sec__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.shell2d2c9-sec__head h2 {
  margin: 0;
  padding-left: 10px;
  border-left: 3px solid var(--shell2d2c9-turq);
  color: #ffffff;
}

.shell2d2c9-sec__count {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--shell2d2c9-ink);
  background: var(--shell2d2c9-thistle);
  border-radius: 999px;
  padding: 3px 9px;
  letter-spacing: 0.4px;
}

.shell2d2c9-sec__note { color: var(--shell2d2c9-muted); font-size: 13.5px; margin: 0 0 10px; }

/* related internal links under a game category */
.shell2d2c9-aside-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px dashed var(--shell2d2c9-line);
  font-size: 12.5px;
  color: var(--shell2d2c9-muted);
}
.shell2d2c9-aside-links a {
  border: 1px solid var(--shell2d2c9-line);
  border-radius: 999px;
  padding: 5px 11px;
  color: var(--shell2d2c9-ice);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.shell2d2c9-aside-links a:hover { border-color: var(--shell2d2c9-turq); color: var(--shell2d2c9-turq); }

/* ---------- game grid + outlined tile ---------- */
.shell2d2c9-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px 7px;
}

.shell2d2c9-tile {
  display: block;
  width: 100%;
  padding: 5px 5px 7px;
  background: var(--shell2d2c9-deep);
  border: 1px solid var(--shell2d2c9-line);
  border-radius: var(--shell2d2c9-r-m);
  box-shadow: inset 0 0 0 1px rgba(224, 224, 224, 0.05);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.12s ease, background-color 0.2s ease;
}
.shell2d2c9-tile:hover { border-color: var(--shell2d2c9-turq); background: var(--shell2d2c9-raise); }
.shell2d2c9-tile:active { transform: scale(0.96); }

.shell2d2c9-tile__frame {
  display: block;
  border: 1px solid var(--shell2d2c9-hairline);
  border-radius: var(--shell2d2c9-r-s);
  overflow: hidden;
  margin-bottom: 6px;
  background: var(--shell2d2c9-void);
}
.shell2d2c9-tile__frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.shell2d2c9-tile__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.35;
  color: var(--shell2d2c9-text);
  min-height: 30px;
  word-break: break-word;
}

/* ---------- checklist rows (compact explainer rhythm) ---------- */
.shell2d2c9-checks { display: grid; gap: 8px; }

.shell2d2c9-check {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--shell2d2c9-line);
  border-left: 3px solid var(--shell2d2c9-violet);
  border-radius: var(--shell2d2c9-r-m);
  background: var(--shell2d2c9-deep);
  padding: 10px 11px;
}
.shell2d2c9-check b { display: block; font-size: 13.5px; color: #ffffff; margin-bottom: 2px; }
.shell2d2c9-check p { margin: 0; font-size: 13px; color: var(--shell2d2c9-muted); }

.shell2d2c9-check__glyph {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shell2d2c9-turq);
  border-radius: var(--shell2d2c9-r-s);
  color: var(--shell2d2c9-turq);
  font-weight: 700;
  font-size: 14px;
  margin-top: 1px;
}

/* ---------- feature tiles: metric + explanation ---------- */
.shell2d2c9-feats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}
.shell2d2c9-feat {
  border: 1px solid var(--shell2d2c9-line);
  border-radius: var(--shell2d2c9-r-m);
  background: var(--shell2d2c9-deep);
  padding: 11px 10px;
  transition: border-color 0.2s ease;
}
.shell2d2c9-feat:hover { border-color: var(--shell2d2c9-violet); }
.shell2d2c9-feat b {
  display: block;
  font-family: var(--shell2d2c9-font-head);
  font-size: 19px;
  color: var(--shell2d2c9-turq);
  line-height: 1.1;
  margin-bottom: 5px;
}
.shell2d2c9-feat span { display: block; font-size: 12.5px; line-height: 1.5; color: var(--shell2d2c9-muted); }

/* ---------- numbered steps ---------- */
.shell2d2c9-steps { display: grid; gap: 9px; counter-reset: shell2d2c9step; }

.shell2d2c9-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 11px;
  border: 1px solid var(--shell2d2c9-line);
  border-radius: var(--shell2d2c9-r-m);
  background: var(--shell2d2c9-deep);
}
.shell2d2c9-step::before {
  counter-increment: shell2d2c9step;
  content: counter(shell2d2c9step);
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shell2d2c9-turq);
  border-radius: 999px;
  color: var(--shell2d2c9-turq);
  font-family: var(--shell2d2c9-font-head);
  font-weight: 700;
  font-size: 14px;
}
.shell2d2c9-step p { margin: 0; font-size: 13.5px; }
.shell2d2c9-step p b { color: #ffffff; }

/* ---------- fact rows ---------- */
.shell2d2c9-facts { display: grid; gap: 0; }

.shell2d2c9-fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 2px;
  border-bottom: 1px dotted var(--shell2d2c9-line);
  font-size: 13px;
}
.shell2d2c9-fact:last-child { border-bottom: 0; }
.shell2d2c9-fact dt { flex: 0 0 auto; color: var(--shell2d2c9-muted); }
.shell2d2c9-fact dd { margin: 0; text-align: right; color: var(--shell2d2c9-ice); font-weight: 600; }

/* ---------- mini Q&A ---------- */
.shell2d2c9-qa { display: grid; gap: 8px; margin-top: 12px; }
.shell2d2c9-qa__row {
  border: 1px solid var(--shell2d2c9-line);
  border-radius: var(--shell2d2c9-r-m);
  background: var(--shell2d2c9-deep);
  padding: 10px 11px;
}
.shell2d2c9-qa__row q {
  display: block;
  font-weight: 700;
  color: var(--shell2d2c9-thistle);
  quotes: none;
  margin-bottom: 4px;
  font-size: 13.5px;
}
.shell2d2c9-qa__row p { margin: 0; font-size: 13px; color: var(--shell2d2c9-muted); }

/* ---------- promo shortcuts (horizontal) ---------- */
.shell2d2c9-shorts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.shell2d2c9-shorts::-webkit-scrollbar { display: none; }
.shell2d2c9-shorts button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--shell2d2c9-turq);
  background: var(--shell2d2c9-deep);
  color: var(--shell2d2c9-ice);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.12s ease;
}
.shell2d2c9-shorts button:hover { background: var(--shell2d2c9-turq); color: var(--shell2d2c9-ink); }
.shell2d2c9-shorts button:active { transform: scale(0.96); }

/* ---------- inline promo line ---------- */
.shell2d2c9-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--shell2d2c9-violet);
  border-radius: var(--shell2d2c9-r-m);
  background: rgba(106, 90, 205, 0.14);
  padding: 10px 12px;
  margin-top: 12px;
}
.shell2d2c9-inline-cta p { margin: 0; font-size: 12.5px; color: var(--shell2d2c9-thistle); }

/* ---------- extended footer ---------- */
.shell2d2c9-extend {
  padding: 4px 13px 10px;
}

.shell2d2c9-extend__block {
  border: 1px solid var(--shell2d2c9-line);
  border-radius: var(--shell2d2c9-r-l);
  background: var(--shell2d2c9-deep);
  padding: 13px 12px;
  margin-bottom: 12px;
}
.shell2d2c9-extend__block h3 {
  color: var(--shell2d2c9-turq);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 12.5px;
  margin-bottom: 9px;
}
.shell2d2c9-extend__brand p { font-size: 13px; color: var(--shell2d2c9-muted); }

.shell2d2c9-extend__dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}
.shell2d2c9-extend__dir h4 {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shell2d2c9-muted);
}
.shell2d2c9-extend__dir a {
  font-size: 13px;
  border-bottom: 1px solid var(--shell2d2c9-hairline);
  padding-bottom: 3px;
}

.shell2d2c9-extend__note { font-size: 12px; color: var(--shell2d2c9-muted); }

/* ---------- common footer ---------- */
.shell2d2c9-common {
  padding: 0 13px 12px;
  text-align: center;
}
.shell2d2c9-common p {
  margin: 0;
  font-size: 11.5px;
  color: var(--shell2d2c9-muted);
  border-top: 1px solid var(--shell2d2c9-hairline);
  padding-top: 11px;
}

/* ---------- layered bottom dock ---------- */
.shell2d2c9-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 92;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  min-height: var(--shell2d2c9-dock-h);
  padding: 4px 4px calc(4px + env(safe-area-inset-bottom, 0px));
  background: rgba(33, 33, 36, 0.97);
  border: 1px solid var(--shell2d2c9-line);
  border-bottom: 0;
  border-radius: var(--shell2d2c9-r-l) var(--shell2d2c9-r-l) 0 0;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}
/* layered top accent strip */
.shell2d2c9-dock::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  right: 10px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--shell2d2c9-violet), var(--shell2d2c9-turq), var(--shell2d2c9-violet));
  opacity: 0.85;
}

.shell2d2c9-dock__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  color: var(--shell2d2c9-muted);
  font-size: 10.5px;
  font-weight: 700;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px 2px;
  transition: color 0.2s ease;
}
.shell2d2c9-dock__item svg { width: 22px; height: 22px; }
.shell2d2c9-dock__item:hover { color: var(--shell2d2c9-turq); }

/* active marker = underline */
.shell2d2c9-dock__item--on {
  color: var(--shell2d2c9-turq);
}
.shell2d2c9-dock__item--on span {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* elevated central promo disc */
.shell2d2c9-dock__cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 52px;
  color: var(--shell2d2c9-turq);
  font-size: 10px;
  font-weight: 700;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px 2px;
}
.shell2d2c9-dock__cta i {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid var(--shell2d2c9-turq);
  background: radial-gradient(circle at 32% 28%, #3a3a44, #232327 72%);
  box-shadow: 0 -4px 14px rgba(64, 224, 208, 0.35);
  transform: translateY(-12px);
  transition: transform 0.12s ease, box-shadow 0.2s ease;
}
.shell2d2c9-dock__cta i svg { width: 21px; height: 21px; }
.shell2d2c9-dock__cta:active i { transform: translateY(-12px) scale(0.93); }
.shell2d2c9-dock__cta:hover i { box-shadow: 0 -4px 18px rgba(64, 224, 208, 0.6); }
.shell2d2c9-dock__cta span { margin-top: -8px; }

/* ---------- utilities ---------- */
.shell2d2c9-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.shell2d2c9-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--shell2d2c9-violet);
  border: 1px solid var(--shell2d2c9-violet);
  border-radius: 999px;
  padding: 2px 9px;
  margin-bottom: 7px;
}

/* ---------- breakpoints ---------- */
/* 375px and up: game grids may stretch to 5 columns */
@media (min-width: 375px) {
  .shell2d2c9-grid { grid-template-columns: repeat(5, 1fr); gap: 10px 8px; }
  .shell2d2c9-feats { gap: 10px; }
}

/* phone canvas ceiling: fine-tuning inside the 430px canvas */
@media (max-width: 430px) {
  .shell2d2c9-topbar__in { padding: 0 10px; gap: 6px; }
  .shell2d2c9-brand__name { font-size: 18px; }
  .shell2d2c9-btn--sm { padding: 7px 9px; font-size: 12px; }
  .shell2d2c9-hero__cap { font-size: 13.5px; }
  .shell2d2c9-hero__cap em { font-size: 10px; padding: 2px 8px; }
  .shell2d2c9-main { padding-left: 11px; padding-right: 11px; }
  .shell2d2c9-dock__item { font-size: 10px; }
}

/* wide screens: keep the centred phone canvas, darker backdrop, no redesign */
@media (min-width: 431px) {
  body.shell2d2c9-body {
    background: radial-gradient(1200px 600px at 50% -10%, #2f2f34 0%, var(--shell2d2c9-void) 62%);
  }
  .shell2d2c9-topbar { background: rgba(30, 30, 33, 0.98); }
  .shell2d2c9-main,
  .shell2d2c9-extend,
  .shell2d2c9-common {
    border-left: 1px solid rgba(224, 224, 224, 0.07);
    border-right: 1px solid rgba(224, 224, 224, 0.07);
  }
}

/* honour reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- help-page reading patterns ---------- */
.shell2d2c9-page-intro {
  border-left: 3px solid var(--shell2d2c9-turq);
  padding: 3px 0 3px 12px;
  margin-bottom: 14px;
}
.shell2d2c9-page-intro h1 { color: #ffffff; }
.shell2d2c9-page-intro p { color: var(--shell2d2c9-muted); font-size: 14px; }
.shell2d2c9-kicker {
  display: block;
  color: var(--shell2d2c9-thistle);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.shell2d2c9-accordion { display: grid; gap: 8px; }
.shell2d2c9-accordion details {
  border: 1px solid var(--shell2d2c9-line);
  border-radius: var(--shell2d2c9-r-m);
  background: var(--shell2d2c9-deep);
  overflow: hidden;
}
.shell2d2c9-accordion summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--shell2d2c9-thistle);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  list-style-position: inside;
}
.shell2d2c9-accordion summary::marker { color: var(--shell2d2c9-turq); }
.shell2d2c9-accordion details[open] summary { border-bottom: 1px solid var(--shell2d2c9-line); }
.shell2d2c9-accordion details p { padding: 10px 12px 2px; color: var(--shell2d2c9-muted); font-size: 13px; }
.shell2d2c9-accordion details p:last-child { padding-bottom: 11px; }
.shell2d2c9-callout {
  border: 1px solid var(--shell2d2c9-violet);
  border-radius: var(--shell2d2c9-r-m);
  background: rgba(106, 90, 205, 0.13);
  padding: 12px;
  margin: 10px 0 12px;
}
.shell2d2c9-callout strong { color: var(--shell2d2c9-ice); }
.shell2d2c9-callout p { margin: 0; color: var(--shell2d2c9-text); font-size: 13.5px; }
.shell2d2c9-signal-list { display: grid; gap: 7px; }
.shell2d2c9-signal-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  padding: 8px 9px;
  border-bottom: 1px dotted var(--shell2d2c9-line);
  color: var(--shell2d2c9-muted);
  font-size: 13px;
}
.shell2d2c9-signal-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border: 2px solid var(--shell2d2c9-turq);
  border-radius: 2px;
}
.shell2d2c9-promo-ribbon {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--shell2d2c9-turq);
  border-bottom: 1px solid var(--shell2d2c9-line);
  padding: 11px 0;
  margin: 8px 0 14px;
}
.shell2d2c9-promo-ribbon p { margin: 0; color: var(--shell2d2c9-muted); font-size: 12.5px; }
.shell2d2c9-promo-ribbon .shell2d2c9-btn { white-space: nowrap; }
.shell2d2c9-compare {
  display: grid;
  gap: 8px;
}
.shell2d2c9-compare__row {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px dotted var(--shell2d2c9-line);
  font-size: 12.5px;
}
.shell2d2c9-compare__row b { color: var(--shell2d2c9-ice); }
.shell2d2c9-compare__row span { color: var(--shell2d2c9-muted); }
@media (max-width: 340px) {
  .shell2d2c9-promo-ribbon { grid-template-columns: 1fr; }
  .shell2d2c9-promo-ribbon .shell2d2c9-btn { width: 100%; }
}
