/* ============================================================
   ok33.homes — compact mobile-first stylesheet
   Prefix system : shell83762-
   Canvas        : 320-430px phone frame, centered on wide screens
   Palette       : #0E1621 / #FAF0E6 / #2C3E50 / #A0522D / #CED4DA / #3C3C3C
   Voice         : humanist serif headings + clear sans body,
                   square cover-card groups, rounded utility buttons,
                   square high-contrast CTAs, short-distance motion.
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --shell83762-bg: #0E1621;
  --shell83762-ink: #FAF0E6;
  --shell83762-panel: #2C3E50;
  --shell83762-ember: #A0522D;
  --shell83762-mist: #CED4DA;
  --shell83762-graphite: #3C3C3C;

  --shell83762-void: #070C13;          /* page surround behind canvas   */
  --shell83762-raise: #16222F;         /* raised surface inside canvas  */
  --shell83762-seam: rgba(250, 240, 230, 0.14);
  --shell83762-seam-soft: rgba(250, 240, 230, 0.08);
  --shell83762-ember-hi: #C26A3F;      /* hover / pressed ember         */
  --shell83762-ember-dim: rgba(160, 82, 45, 0.22);
  --shell83762-ink-dim: rgba(250, 240, 230, 0.72);
  --shell83762-ink-faint: rgba(250, 240, 230, 0.5);

  --shell83762-head-font: Georgia, "Times New Roman", "Palatino Linotype", serif;
  --shell83762-body-font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shell83762-topbar-h: 58px;
  --shell83762-bottomnav-h: 64px;
  --shell83762-tap: 44px;              /* minimum touch target           */
  --shell83762-step: 12px;             /* short-distance motion budget   */
}

/* ---------- reset & base ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--shell83762-void);
  color: var(--shell83762-ink);
  font-family: var(--shell83762-body-font);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--shell83762-mist); text-decoration: none; }
a:hover { color: var(--shell83762-ink); }

h1, h2, h3, h4 {
  font-family: var(--shell83762-head-font);
  color: var(--shell83762-ink);
  line-height: 1.28;
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

p { margin: 0 0 12px; }

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

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

:focus-visible {
  outline: 2px solid var(--shell83762-ember-hi);
  outline-offset: 2px;
}

/* ---------- phone canvas ---------- */
.shell83762-page {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell83762-bg);
  box-shadow: 0 0 0 1px rgba(250, 240, 230, 0.06), 0 0 48px rgba(0, 0, 0, 0.55);
  overflow-x: hidden;
}

.shell83762-main {
  padding: 12px 14px calc(var(--shell83762-bottomnav-h) + 30px + env(safe-area-inset-bottom, 0px));
}

/* ---------- top tab bar ---------- */
.shell83762-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--shell83762-topbar-h);
  background: linear-gradient(180deg, #121C29 0%, var(--shell83762-bg) 100%);
  border-bottom: 1px solid var(--shell83762-seam);
  padding: 8px 12px 0;
}

.shell83762-toprow {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* brand zone: logo image + site name ONLY */
.shell83762-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--shell83762-tap);
  flex: 1;
  min-width: 0;
}

.shell83762-brand img {
  width: 36px;
  height: 36px;
  border: 1px solid var(--shell83762-seam);
  flex: none;
}

.shell83762-brand-name {
  font-family: var(--shell83762-head-font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--shell83762-ink);
  white-space: nowrap;
}

.shell83762-brand-name em {
  font-style: normal;
  color: var(--shell83762-ember-hi);
}

/* action zone: register / login / menu */
.shell83762-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.shell83762-btn-register {
  min-height: 44px;
  padding: 0 14px;
  background: var(--shell83762-ember);
  color: var(--shell83762-ink);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  border-radius: 0;                 /* square-corner high-contrast CTA */
  border: 1px solid var(--shell83762-ember);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.28);
  white-space: nowrap;
}

.shell83762-btn-register:hover,
.shell83762-btn-register:active {
  background: var(--shell83762-ember-hi);
  color: #FFFFFF;
}

.shell83762-btn-login {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--shell83762-seam);
  border-radius: 19px;              /* rounded utility button */
  color: var(--shell83762-mist);
  font-size: 13px;
  font-weight: 600;
  background: rgba(250, 240, 230, 0.04);
  white-space: nowrap;
}

.shell83762-btn-login:hover,
.shell83762-btn-login:active {
  border-color: var(--shell83762-ember-hi);
  color: var(--shell83762-ink);
}

.shell83762-menu-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shell83762-seam);
  border-radius: 10px;
  color: var(--shell83762-mist);
}

.shell83762-menu-btn:hover { color: var(--shell83762-ink); border-color: var(--shell83762-ember-hi); }

/* hamburger lines morph into an X when open */
.shell83762-menu-btn .shell83762-lines {
  width: 18px;
  height: 14px;
  position: relative;
}

.shell83762-menu-btn .shell83762-lines i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.18s ease, top 0.22s ease;
}

.shell83762-menu-btn .shell83762-lines i:nth-child(1) { top: 0; }
.shell83762-menu-btn .shell83762-lines i:nth-child(2) { top: 6px; }
.shell83762-menu-btn .shell83762-lines i:nth-child(3) { top: 12px; }

.shell83762-menu-open .shell83762-menu-btn .shell83762-lines i:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
  background: var(--shell83762-ember-hi);
}

.shell83762-menu-open .shell83762-menu-btn .shell83762-lines i:nth-child(2) { opacity: 0; }

.shell83762-menu-open .shell83762-menu-btn .shell83762-lines i:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
  background: var(--shell83762-ember-hi);
}

/* ---------- layered dropdown menu ---------- */
.shell83762-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #101B27;
  border-bottom: 1px solid var(--shell83762-seam);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.5);
  padding: 6px 12px 14px;
  max-height: calc(100vh - var(--shell83762-topbar-h));
  overflow-y: auto;
  opacity: 0;
  transform: translateY(calc(var(--shell83762-step) * -1));
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.shell83762-menu-open .shell83762-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.shell83762-menu-layer { padding: 8px 0 2px; }

.shell83762-menu-layer + .shell83762-menu-layer {
  border-top: 1px dashed var(--shell83762-seam-soft);
}

.shell83762-menu-tag {
  display: block;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell83762-ember-hi);
  padding: 4px 0 6px;
  font-weight: 700;
}

.shell83762-menu-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.shell83762-menu-items a {
  display: flex;
  align-items: center;
  min-height: var(--shell83762-tap);
  padding: 6px 10px;
  font-size: 13.5px;
  color: var(--shell83762-ink-dim);
  border-bottom: 2px solid transparent;   /* underline marker slot */
}

.shell83762-menu-items a:hover { color: var(--shell83762-ink); }

.shell83762-menu-items a.shell83762-menu-now {
  color: var(--shell83762-ink);
  border-bottom-color: var(--shell83762-ember-hi);
  font-weight: 700;
}

/* ---------- hero ---------- */
.shell83762-hero {
  padding: 18px 2px 6px;
}

.shell83762-hero h1 {
  font-size: 27px;
  margin-bottom: 8px;
}

.shell83762-hero h1 .shell83762-h1-ember { color: var(--shell83762-ember-hi); }

.shell83762-hero p {
  color: var(--shell83762-ink-dim);
  font-size: 14.5px;
  margin-bottom: 14px;
}

.shell83762-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.shell83762-cta-main {
  flex: 1 1 auto;
  min-height: var(--shell83762-tap);
  background: var(--shell83762-ember);
  border: 1px solid var(--shell83762-ember);
  border-radius: 0;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.4px;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.3);
  padding: 0 16px;
}

.shell83762-cta-main:hover, .shell83762-cta-main:active {
  background: var(--shell83762-ember-hi);
}

.shell83762-cta-ghost {
  flex: 0 1 auto;
  min-height: var(--shell83762-tap);
  border: 1px solid var(--shell83762-seam);
  border-radius: 22px;
  color: var(--shell83762-mist);
  font-weight: 600;
  font-size: 14px;
  padding: 0 18px;
}

.shell83762-cta-ghost:hover { border-color: var(--shell83762-ember-hi); color: var(--shell83762-ink); }

/* ---------- banner carousel ---------- */
.shell83762-carousel {
  position: relative;
  margin: 14px 0 4px;
  border: 1px solid var(--shell83762-seam);
  background: var(--shell83762-raise);
}

.shell83762-track {
  display: flex;
  transition: transform 0.34s cubic-bezier(0.33, 0.9, 0.35, 1);
  touch-action: pan-y;
}

.shell83762-slide {
  flex: 0 0 100%;
  display: block;
  width: 100%;
  padding: 0;
  cursor: pointer;
}

.shell83762-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.shell83762-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--shell83762-ink);
  background: rgba(14, 22, 33, 0.62);
  border: 1px solid var(--shell83762-seam-soft);
}

.shell83762-carousel-btn:hover { background: var(--shell83762-ember); }

.shell83762-carousel-prev { left: 0; border-right: none; }
.shell83762-carousel-next { right: 0; border-left: none; }

.shell83762-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

/* 26px hit area with an 11px visual dot inside */
.shell83762-dot {
  width: 26px;
  height: 26px;
  padding: 0;
  background: none;
  border: none;
  position: relative;
}

.shell83762-dot::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: rgba(250, 240, 230, 0.38);
  border: 1px solid rgba(14, 22, 33, 0.5);
}

.shell83762-dot-on::after {
  background: var(--shell83762-ember-hi);
  border-color: var(--shell83762-ink);
}

/* ---------- grouped cover-card game sections ---------- */
.shell83762-gamegroup {
  margin: 20px 0;
  border: 1px solid var(--shell83762-seam);
  border-top: 3px solid var(--shell83762-ember);
  background: linear-gradient(180deg, var(--shell83762-raise) 0%, rgba(22, 34, 47, 0.35) 100%);
}

.shell83762-gamegroup-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 12px 8px;
  border-bottom: 1px dashed var(--shell83762-seam-soft);
}

.shell83762-gamegroup-head h2 {
  font-size: 18.5px;
  margin: 0;
  flex: 1;
  min-width: 0;
}

.shell83762-gamegroup-head h2 small {
  display: block;
  font-family: var(--shell83762-body-font);
  font-size: 11px;
  font-weight: 400;
  color: var(--shell83762-ink-faint);
  letter-spacing: 0.4px;
  margin-top: 2px;
}

.shell83762-chip {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  color: var(--shell83762-ink);
  background: var(--shell83762-ember-dim);
  border: 1px solid rgba(160, 82, 45, 0.5);
  padding: 2px 8px;
  white-space: nowrap;
}

.shell83762-hall {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--shell83762-ember-hi);
  border-bottom: 2px solid var(--shell83762-ember-hi);
  padding: 2px 0;
  white-space: nowrap;
}

.shell83762-hall:hover { color: var(--shell83762-ink); border-color: var(--shell83762-ink); }

.shell83762-gamegrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.shell83762-gametile {
  text-align: center;
  color: var(--shell83762-ink-dim);
  border: 1px solid var(--shell83762-seam-soft);
  padding: 5px 4px 7px;
  background: rgba(14, 22, 33, 0.45);
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.shell83762-gametile:hover,
.shell83762-gametile:active {
  border-color: var(--shell83762-ember-hi);
  color: var(--shell83762-ink);
  transform: translateY(-2px);
}

.shell83762-gametile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--shell83762-seam-soft);
  margin-bottom: 6px;
}

.shell83762-gametile span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.35;
  min-height: 31px;
}

/* short intro line inside a game group frame */
.shell83762-groupnote {
  margin: 0;
  padding: 10px 12px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--shell83762-ink-dim);
}

.shell83762-groupnote b { color: var(--shell83762-ink); }

/* ---------- article modules ---------- */
.shell83762-module {
  margin: 24px 0;
  padding: 14px 2px 4px;
  border-top: 1px solid var(--shell83762-seam);
}

.shell83762-module > h2 {
  font-size: 20px;
}

.shell83762-module h3 {
  font-size: 16px;
  margin: 14px 0 6px;
}

.shell83762-module > p {
  color: var(--shell83762-ink-dim);
  font-size: 14.5px;
}

.shell83762-lede {
  color: var(--shell83762-ink) !important;
}

.shell83762-inlink {
  color: var(--shell83762-ember-hi);
  border-bottom: 1px dotted var(--shell83762-ember-hi);
  font-weight: 600;
}

.shell83762-inlink:hover { color: var(--shell83762-ink); border-bottom-style: solid; }

/* promotions: sectioned list rows with ember notch */
.shell83762-promolist { margin: 10px 0 6px; }

.shell83762-promorow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 12px;
  border: 1px solid var(--shell83762-seam-soft);
  border-left: 3px solid var(--shell83762-ember);
  background: rgba(22, 34, 47, 0.5);
  margin-bottom: 8px;
  min-height: var(--shell83762-tap);
}

.shell83762-promorow:hover { border-left-color: var(--shell83762-ember-hi); background: rgba(160, 82, 45, 0.14); }

.shell83762-promorow-txt { flex: 1; min-width: 0; }

.shell83762-promorow-txt strong {
  display: block;
  font-size: 13.5px;
  color: var(--shell83762-ink);
  line-height: 1.35;
}

.shell83762-promorow-txt span {
  display: block;
  font-size: 12px;
  color: var(--shell83762-ink-faint);
  line-height: 1.4;
}

.shell83762-promorow-go {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--shell83762-ember);
  border: 1px solid var(--shell83762-ember);
  border-radius: 0;
  min-height: 40px;
  padding: 0 12px;
  letter-spacing: 0.3px;
}

.shell83762-promorow-go:hover { background: var(--shell83762-ember-hi); }

/* scenario-branch rows: condition chip -> advice */
.shell83762-branch {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed var(--shell83762-seam-soft);
}

.shell83762-branch:last-child { border-bottom: none; }

.shell83762-branch-cond {
  flex: none;
  max-width: 42%;
  font-size: 11.5px;
  font-weight: 700;
  color: #17212C;
  background: var(--shell83762-mist);
  border-radius: 12px;
  padding: 4px 10px;
  line-height: 1.35;
}

.shell83762-branch-txt {
  flex: 1;
  font-size: 13.5px;
  color: var(--shell83762-ink-dim);
  line-height: 1.55;
}

.shell83762-branch-txt b { color: var(--shell83762-ink); }

/* quotes */
.shell83762-quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 10px 0 4px;
}

.shell83762-quote {
  border: 1px solid var(--shell83762-seam-soft);
  background: var(--shell83762-raise);
  padding: 12px 12px 10px;
  position: relative;
}

.shell83762-quote::before {
  content: "\201C";
  position: absolute;
  top: -4px;
  right: 10px;
  font-family: var(--shell83762-head-font);
  font-size: 44px;
  color: var(--shell83762-ember-dim);
  line-height: 1;
}

.shell83762-quote p {
  font-size: 13.5px;
  color: var(--shell83762-ink-dim);
  margin-bottom: 8px;
}

.shell83762-quote footer {
  font-size: 11.5px;
  color: var(--shell83762-ink-faint);
  border-top: 1px dashed var(--shell83762-seam-soft);
  padding-top: 6px;
}

.shell83762-quote footer b {
  color: var(--shell83762-ember-hi);
  font-size: 12px;
  letter-spacing: 0.3px;
}

/* verdict panels: pros vs limits */
.shell83762-verdict {
  display: grid;
  gap: 10px;
  margin: 10px 0;
}

.shell83762-verdict-panel {
  border: 1px solid var(--shell83762-seam-soft);
  padding: 10px 12px;
  background: rgba(22, 34, 47, 0.4);
}

.shell83762-verdict-panel h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.shell83762-verdict-yes { border-left: 3px solid var(--shell83762-ember-hi); }
.shell83762-verdict-no { border-left: 3px solid var(--shell83762-mist); }

.shell83762-verdict-panel li {
  font-size: 13px;
  color: var(--shell83762-ink-dim);
  padding: 4px 0 4px 16px;
  position: relative;
  line-height: 1.5;
}

.shell83762-verdict-yes li::before {
  content: "+";
  position: absolute;
  left: 2px;
  color: var(--shell83762-ember-hi);
  font-weight: 700;
}

.shell83762-verdict-no li::before {
  content: "\2013";
  position: absolute;
  left: 2px;
  color: var(--shell83762-mist);
  font-weight: 700;
}

/* numbered scenario steps */
.shell83762-cases { counter-reset: shell83762-case; }

.shell83762-case {
  counter-increment: shell83762-case;
  padding: 10px 0 10px 40px;
  position: relative;
  border-bottom: 1px dashed var(--shell83762-seam-soft);
}

.shell83762-case:last-child { border-bottom: none; }

.shell83762-case::before {
  content: counter(shell83762-case, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 12px;
  font-family: var(--shell83762-head-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--shell83762-ember-hi);
  border: 1px solid rgba(160, 82, 45, 0.5);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shell83762-case h3 {
  font-size: 14.5px;
  margin-bottom: 4px;
}

.shell83762-case p {
  font-size: 13px;
  color: var(--shell83762-ink-dim);
  margin-bottom: 4px;
}

/* ---------- extended footer (index only) ---------- */
.shell83762-extfoot {
  margin: 26px 0 0;
  border-top: 3px double var(--shell83762-seam);
  padding-top: 14px;
}

.shell83762-extfoot-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.shell83762-extfoot-brand img {
  width: 40px;
  height: 40px;
  border: 1px solid var(--shell83762-seam);
  flex: none;
}

.shell83762-extfoot-brand p {
  font-size: 12.5px;
  color: var(--shell83762-ink-faint);
  margin: 0;
  line-height: 1.5;
}

.shell83762-extfoot-tag {
  display: block;
  font-family: var(--shell83762-head-font);
  font-size: 16px;
  color: var(--shell83762-ink);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.shell83762-extsect {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--shell83762-seam-soft);
}

.shell83762-extsect h3 {
  font-size: 13px;
  font-family: var(--shell83762-body-font);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shell83762-ember-hi);
  margin-bottom: 8px;
}

/* 7 promo short-label rows */
.shell83762-extpromo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.shell83762-extpromo button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--shell83762-tap);
  padding: 0 12px;
  border: 1px solid var(--shell83762-seam-soft);
  background: rgba(22, 34, 47, 0.45);
  color: var(--shell83762-ink);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.shell83762-extpromo button i {
  flex: none;
  font-style: normal;
  color: var(--shell83762-ember-hi);
  font-weight: 700;
}

.shell83762-extpromo button:hover {
  border-color: var(--shell83762-ember-hi);
  background: var(--shell83762-ember-dim);
}

/* page directory: two compact columns */
.shell83762-dirgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}

.shell83762-dirgrid a {
  font-size: 12.5px;
  color: var(--shell83762-ink-dim);
  padding: 6px 0 6px 10px;
  border-left: 2px solid var(--shell83762-seam);
  line-height: 1.4;
}

.shell83762-dirgrid a:hover {
  color: var(--shell83762-ink);
  border-left-color: var(--shell83762-ember-hi);
}

.shell83762-extnote {
  font-size: 11.5px;
  color: var(--shell83762-ink-faint);
  line-height: 1.55;
  border: 1px dashed var(--shell83762-seam-soft);
  padding: 10px;
  margin-top: 12px;
}

/* ---------- common footer ---------- */
.shell83762-footer {
  border-top: 1px solid var(--shell83762-seam);
  padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  background: #0B1219;
}

.shell83762-footer p {
  margin: 0;
  font-size: 12px;
  color: var(--shell83762-ink-faint);
  letter-spacing: 0.3px;
}

.shell83762-footer b { color: var(--shell83762-mist); }

/* ---------- segmented action bottom nav ---------- */
.shell83762-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: flex;
  background: #0B1219;
  border-top: 1px solid var(--shell83762-seam);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.shell83762-bn {
  flex: 1;
  min-height: var(--shell83762-bottomnav-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--shell83762-ink-faint);
  position: relative;
  padding: 6px 2px 5px;
}

.shell83762-bn + .shell83762-bn { border-left: 1px solid var(--shell83762-seam-soft); }

.shell83762-bn span {
  font-size: 10.5px;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.shell83762-bn-ic {
  width: 23px;
  height: 23px;
}

/* linear icons: stroke by default, filled when active */
.shell83762-bn-ic path,
.shell83762-bn-ic circle,
.shell83762-bn-ic rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.18s ease, stroke 0.18s ease;
}

.shell83762-bn:hover { color: var(--shell83762-mist); }

/* underline marker for the current segment */
.shell83762-bn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 3px;
  background: transparent;
}

.shell83762-bn-on { color: var(--shell83762-ink); }

.shell83762-bn-on::after { background: var(--shell83762-ember-hi); }

.shell83762-bn-on .shell83762-bn-ic path,
.shell83762-bn-on .shell83762-bn-ic circle,
.shell83762-bn-on .shell83762-bn-ic rect {
  fill: var(--shell83762-ember-hi);
  stroke: var(--shell83762-ember-hi);
}

/* promo segments keep a subtle ember tint */
.shell83762-bn-promo .shell83762-bn-ic path,
.shell83762-bn-promo .shell83762-bn-ic circle,
.shell83762-bn-promo .shell83762-bn-ic rect {
  stroke: var(--shell83762-ember-hi);
}

.shell83762-bn-promo span { color: var(--shell83762-ember-hi); font-weight: 700; }

/* ---------- reveal-on-scroll (short-distance transitions) ----------
   Hidden state applies only when JS is present, so content stays
   visible with scripts disabled or while crawling. */
html.shell83762-js .shell83762-rv {
  opacity: 0;
  transform: translateY(var(--shell83762-step));
  transition: opacity 0.4s ease, transform 0.4s ease;
}

html.shell83762-js .shell83762-rv-on { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html.shell83762-js .shell83762-rv { opacity: 1; transform: none; transition: none; }
  .shell83762-track { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- 320px hardening ---------- */
@media (max-width: 339px) {
  .shell83762-brand-name { font-size: 19px; letter-spacing: 0.8px; }
  .shell83762-btn-register { padding: 0 9px; font-size: 12px; }
  .shell83762-btn-login { padding: 0 8px; font-size: 12px; }
  .shell83762-hero h1 { font-size: 23px; }
  .shell83762-gamegrid { gap: 7px; padding: 9px; }
  .shell83762-gametile span { font-size: 10.5px; }
  .shell83762-branch-cond { max-width: 46%; font-size: 10.5px; }
}

/* ---------- 375px and up: roomier rhythm ---------- */
@media (min-width: 375px) {
  .shell83762-quotes { grid-template-columns: 1fr; }
  .shell83762-gamegrid { gap: 12px; }
  .shell83762-module > h2 { font-size: 21px; }
}

/* ---------- 400px and up: quotes go two-up ---------- */
@media (min-width: 400px) {
  .shell83762-quotes { grid-template-columns: 1fr 1fr; }
}

/* ---------- wide screen: keep phone canvas centered ---------- */
@media (min-width: 480px) {
  body { background: radial-gradient(1200px 600px at 50% -10%, #101B27 0%, var(--shell83762-void) 60%); }
}
