/* ==========================================================================
   phdream7.click - mobile canvas stylesheet
   Prefix contract: every class / variable uses "shell36746-"
   Palette: #212F3D ink | #3C3C3C slate | #4A4A4A slate-2 | #FFD700 gold | #EEE8AA cream
   Direction: humanist headings + clear body, near-square tool corners,
   pure-image game cards, short-list info rhythm, color-only state motion,
   staggered primary/secondary CTAs, edge-aligned header, slide-up route
   panel, full-width bottom rail with containerized icon tiles.
   ========================================================================== */

/* ---------- 1. Tokens & reset ---------- */

:root {
  --shell36746-ink: #212f3d;
  --shell36746-ink-deep: #182430;
  --shell36746-slate: #3c3c3c;
  --shell36746-slate-2: #4a4a4a;
  --shell36746-gold: #ffd700;
  --shell36746-gold-dim: #d9b600;
  --shell36746-cream: #eee8aa;
  --shell36746-paper: #f6f3e4;
  --shell36746-mute: #b9b49a;
  --shell36746-line: #55503f;
  --shell36746-line-soft: #454f5c;
  --shell36746-r: 3px;
  --shell36746-r-lg: 4px;
  --shell36746-topbar-h: 58px;
  --shell36746-rail-h: 64px;
  --shell36746-font-head: "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shell36746-font-body: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--shell36746-font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--shell36746-paper);
  background: var(--shell36746-ink-deep);
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

a {
  color: var(--shell36746-cream);
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ---------- 2. Phone canvas ---------- */

.shell36746-stage {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--shell36746-ink);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  overflow-x: clip;
}

.shell36746-main {
  padding-top: calc(var(--shell36746-topbar-h) + 6px);
  padding-bottom: calc(var(--shell36746-rail-h) + env(safe-area-inset-bottom, 0px) + 30px);
}

.shell36746-sec {
  padding: 22px 14px 6px;
}

/* ---------- 3. Top bar (edge-aligned functional header) ---------- */

.shell36746-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--shell36746-topbar-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: rgba(24, 36, 48, 0.97);
  border-bottom: 1px solid var(--shell36746-slate-2);
  z-index: 80;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.shell36746-topbar.shell36746-is-scrolled {
  background: rgba(24, 36, 48, 1);
  border-bottom-color: var(--shell36746-line);
}

.shell36746-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin-right: auto;
}

.shell36746-brand-img {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 1px solid var(--shell36746-line);
  border-radius: var(--shell36746-r);
  object-fit: cover;
  display: block;
}

.shell36746-brand-name {
  font-family: var(--shell36746-font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--shell36746-paper);
  white-space: nowrap;
}

.shell36746-brand-name b {
  color: var(--shell36746-gold);
  font-weight: 700;
}

.shell36746-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* Staggered header CTAs: big gold register, slim outline login, icon menu */
.shell36746-btn-register {
  min-height: 44px;
  padding: 0 13px;
  background: var(--shell36746-gold);
  color: #1d1a10;
  font-family: var(--shell36746-font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  border-radius: var(--shell36746-r);
  text-transform: uppercase;
  transition: background-color 0.15s ease;
}

.shell36746-btn-register:active {
  background: var(--shell36746-cream);
}

.shell36746-btn-login {
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--shell36746-line);
  color: var(--shell36746-cream);
  font-size: 12.5px;
  font-weight: 600;
  border-radius: var(--shell36746-r);
  background: rgba(60, 60, 60, 0.4);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.shell36746-btn-login:active {
  border-color: var(--shell36746-gold);
  color: var(--shell36746-gold);
}

.shell36746-burger {
  width: 38px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--shell36746-line);
  border-radius: var(--shell36746-r);
  background: rgba(60, 60, 60, 0.4);
  transition: border-color 0.15s ease;
}

.shell36746-burger i {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--shell36746-cream);
  transition: background-color 0.15s ease;
}

.shell36746-burger:active {
  border-color: var(--shell36746-gold);
}

.shell36746-burger:active i {
  background: var(--shell36746-gold);
}

/* ---------- 4. Slide-up route panel ---------- */

.shell36746-veil {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 21, 0.66);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 90;
}

.shell36746-veil.shell36746-is-shown {
  opacity: 1;
  pointer-events: auto;
}

.shell36746-sheet {
  position: fixed;
  left: 50%;
  bottom: calc(var(--shell36746-rail-h) + env(safe-area-inset-bottom, 0px));
  width: 100%;
  max-width: 430px;
  max-height: 74vh;
  overflow-y: auto;
  background: var(--shell36746-ink);
  border-top: 2px solid var(--shell36746-gold);
  border-left: 1px solid var(--shell36746-slate-2);
  border-right: 1px solid var(--shell36746-slate-2);
  border-radius: var(--shell36746-r-lg) var(--shell36746-r-lg) 0 0;
  padding: 14px 14px 20px;
  transform: translate(-50%, 105%);
  transition: transform 0.28s ease;
  z-index: 95;
}

.shell36746-sheet.shell36746-is-open {
  transform: translate(-50%, 0);
}

.shell36746-sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--shell36746-line-soft);
}

.shell36746-sheet-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--shell36746-font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--shell36746-gold);
  text-transform: uppercase;
}

.shell36746-sheet-title img {
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 1px solid var(--shell36746-line);
  object-fit: cover;
}

.shell36746-sheet-x {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--shell36746-line);
  border-radius: var(--shell36746-r);
  color: var(--shell36746-cream);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.shell36746-sheet-x:active {
  color: var(--shell36746-gold);
  border-color: var(--shell36746-gold);
}

.shell36746-sheet-cta {
  display: flex;
  gap: 8px;
  margin: 12px 0 4px;
}

.shell36746-sheet-cta .shell36746-btn-register {
  flex: 1.3;
}

.shell36746-sheet-cta .shell36746-btn-login {
  flex: 1;
}

.shell36746-sheet-group {
  margin-top: 14px;
}

.shell36746-sheet-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shell36746-mute);
  padding: 0 2px 6px;
}

.shell36746-route {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 4px;
  border-bottom: 1px solid rgba(69, 79, 92, 0.5);
  color: var(--shell36746-paper);
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.shell36746-route:last-child {
  border-bottom: 0;
}

.shell36746-route i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--shell36746-slate-2);
  border-radius: 1px;
  transition: background-color 0.15s ease;
}

.shell36746-route:active,
.shell36746-route:hover {
  color: var(--shell36746-gold);
}

.shell36746-route:active i,
.shell36746-route:hover i {
  background: var(--shell36746-gold);
}

.shell36746-route small {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--shell36746-mute);
}

.shell36746-route.shell36746-is-here {
  color: var(--shell36746-gold);
}

.shell36746-route.shell36746-is-here i {
  background: var(--shell36746-gold);
}

/* ---------- 5. Hero ---------- */

.shell36746-hero {
  padding: 16px 14px 8px;
}

.shell36746-hero-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell36746-gold);
  border: 1px solid var(--shell36746-line);
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.shell36746-hero h1 {
  font-family: var(--shell36746-font-head);
  font-size: clamp(23px, 6.8vw, 29px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--shell36746-paper);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--shell36746-gold);
  margin-bottom: 12px;
}

.shell36746-hero p {
  font-size: 13.5px;
  color: var(--shell36746-paper);
  margin-bottom: 10px;
}

.shell36746-hero p b {
  color: var(--shell36746-gold);
  font-weight: 700;
}

.shell36746-hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 12px 0 14px;
}

.shell36746-fact {
  border: 1px solid var(--shell36746-slate-2);
  background: rgba(60, 60, 60, 0.35);
  border-radius: var(--shell36746-r);
  padding: 7px 4px;
  text-align: center;
}

.shell36746-fact b {
  display: block;
  font-family: var(--shell36746-font-head);
  font-size: 15px;
  color: var(--shell36746-gold);
  line-height: 1.1;
}

.shell36746-fact span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--shell36746-mute);
  margin-top: 2px;
}

/* ---------- 6. CTA rows (staggered sizes) ---------- */

.shell36746-cta-row {
  display: flex;
  align-items: stretch;
  gap: 9px;
}

.shell36746-cta-main {
  flex: 1.35;
  min-height: 48px;
  background: var(--shell36746-gold);
  color: #1d1a10;
  font-family: var(--shell36746-font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--shell36746-r);
  transition: background-color 0.15s ease;
}

.shell36746-cta-main:active {
  background: var(--shell36746-cream);
}

.shell36746-cta-sub {
  flex: 1;
  min-height: 42px;
  align-self: flex-end;
  border: 1px solid var(--shell36746-line);
  color: var(--shell36746-cream);
  font-size: 12.5px;
  font-weight: 600;
  border-radius: var(--shell36746-r);
  background: rgba(60, 60, 60, 0.35);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.shell36746-cta-sub:active {
  border-color: var(--shell36746-gold);
  color: var(--shell36746-gold);
}

/* Inline promo text link inside paragraphs */
.shell36746-go {
  display: inline;
  color: var(--shell36746-gold);
  font-weight: 600;
  border-bottom: 1px dashed rgba(255, 215, 0, 0.55);
  padding: 1px 0;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.shell36746-go:active {
  color: var(--shell36746-cream);
  border-color: var(--shell36746-cream);
}

/* ---------- 7. Banner carousel ---------- */

.shell36746-carousel {
  position: relative;
  margin: 14px 14px 4px;
}

.shell36746-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.shell36746-track::-webkit-scrollbar {
  display: none;
}

.shell36746-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: block;
  width: 100%;
  border: 1px solid var(--shell36746-slate-2);
  border-radius: var(--shell36746-r-lg);
  overflow: hidden;
  background: var(--shell36746-slate);
}

.shell36746-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.shell36746-slide:active img {
  filter: brightness(1.12);
}

.shell36746-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.shell36746-dot {
  width: 18px;
  height: 6px;
  border-radius: 1px;
  background: var(--shell36746-slate-2);
  transition: background-color 0.2s ease;
}

.shell36746-dot.shell36746-is-live {
  background: var(--shell36746-gold);
}

/* ---------- 8. Trust strip ---------- */

.shell36746-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 12px 14px 4px;
}

.shell36746-trust li {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 6px 9px;
  border: 1px solid var(--shell36746-line-soft);
  border-left: 3px solid var(--shell36746-gold);
  border-radius: var(--shell36746-r);
  background: rgba(60, 60, 60, 0.3);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--shell36746-cream);
  line-height: 1.35;
}

.shell36746-trust li svg {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  color: var(--shell36746-gold);
}

/* ---------- 9. Section headings ---------- */

.shell36746-h2 {
  font-family: var(--shell36746-font-head);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--shell36746-paper);
  margin-bottom: 10px;
  padding-left: 11px;
  position: relative;
}

.shell36746-h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--shell36746-gold);
  border-radius: 1px;
}

.shell36746-lead {
  font-size: 13.5px;
  color: var(--shell36746-paper);
  margin-bottom: 12px;
}

.shell36746-lead b,
.shell36746-p b {
  color: var(--shell36746-gold);
  font-weight: 700;
}

.shell36746-p {
  font-size: 13px;
  color: var(--shell36746-paper);
  margin-bottom: 10px;
}

.shell36746-mute {
  color: var(--shell36746-mute);
}

/* ---------- 10. Game shelves ---------- */

.shell36746-shelf {
  padding: 6px 14px 20px;
}

.shell36746-shelf-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.shell36746-shelf-head h3 {
  font-family: var(--shell36746-font-head);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--shell36746-gold);
  text-transform: uppercase;
}

.shell36746-count {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--shell36746-mute);
  border: 1px solid var(--shell36746-line-soft);
  padding: 1px 6px;
  border-radius: 2px;
}

.shell36746-shelf-note {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--shell36746-mute);
  margin-bottom: 10px;
}

.shell36746-shelf-note a {
  color: var(--shell36746-cream);
  border-bottom: 1px solid rgba(238, 232, 170, 0.4);
}

.shell36746-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px 8px;
}

.shell36746-cell {
  min-width: 0;
}

.shell36746-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  text-align: center;
}

.shell36746-tile-frame {
  display: block;
  position: relative;
  border: 1px solid var(--shell36746-line);
  border-radius: var(--shell36746-r);
  overflow: hidden;
  background: var(--shell36746-slate);
  transition: border-color 0.15s ease;
}

.shell36746-tile-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0);
  transition: box-shadow 0.15s ease;
}

.shell36746-tile:hover .shell36746-tile-frame,
.shell36746-tile:active .shell36746-tile-frame {
  border-color: var(--shell36746-gold);
}

.shell36746-tile:hover .shell36746-tile-frame::after,
.shell36746-tile:active .shell36746-tile-frame::after {
  box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.8);
}

.shell36746-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.shell36746-tile-name {
  font-size: 10px;
  line-height: 1.25;
  color: var(--shell36746-cream);
  min-height: 25px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.shell36746-tile:active .shell36746-tile-name {
  color: var(--shell36746-gold);
}

/* ---------- 11. Prose modules ---------- */

.shell36746-block {
  padding: 24px 14px 10px;
  border-top: 1px solid var(--shell36746-line-soft);
}

.shell36746-block-no {
  font-family: var(--shell36746-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--shell36746-gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.shell36746-points {
  margin: 4px 0 12px;
}

.shell36746-points li {
  position: relative;
  padding: 7px 0 7px 16px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shell36746-paper);
  border-bottom: 1px dashed rgba(69, 79, 92, 0.6);
}

.shell36746-points li:last-child {
  border-bottom: 0;
}

.shell36746-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 7px;
  height: 7px;
  background: var(--shell36746-gold);
  border-radius: 1px;
}

.shell36746-points li b {
  color: var(--shell36746-gold);
}

.shell36746-points a,
.shell36746-p a,
.shell36746-lead a {
  color: var(--shell36746-cream);
  font-weight: 600;
  border-bottom: 1px solid rgba(238, 232, 170, 0.45);
}

.shell36746-qa {
  border: 1px solid var(--shell36746-line-soft);
  border-radius: var(--shell36746-r);
  background: rgba(60, 60, 60, 0.28);
  padding: 10px 11px;
  margin: 10px 0;
}

.shell36746-qa h3 {
  font-family: var(--shell36746-font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shell36746-gold);
  margin-bottom: 4px;
}

.shell36746-qa p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--shell36746-paper);
}

/* ---------- 12. Extended footer ---------- */

.shell36746-xfoot {
  margin-top: 22px;
  border-top: 2px solid var(--shell36746-gold);
  background: var(--shell36746-slate);
  padding: 20px 14px 8px;
}

.shell36746-xsec {
  margin-bottom: 20px;
}

.shell36746-xsec h3 {
  font-family: var(--shell36746-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell36746-gold);
  margin-bottom: 9px;
}

.shell36746-xbrand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.shell36746-xbrand img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--shell36746-line);
  border-radius: var(--shell36746-r);
  object-fit: cover;
}

.shell36746-xbrand p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--shell36746-paper);
}

.shell36746-xpromo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shell36746-xpromo li:first-child {
  grid-column: 1 / -1;
}

.shell36746-xact {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  padding: 8px 11px;
  border: 1px solid var(--shell36746-line);
  border-radius: var(--shell36746-r);
  background: rgba(33, 47, 61, 0.6);
  text-align: left;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.shell36746-xpromo li:first-child .shell36746-xact {
  border-color: var(--shell36746-gold);
  background: var(--shell36746-gold);
  color: #1d1a10;
  min-height: 52px;
}

.shell36746-xact:active {
  border-color: var(--shell36746-gold);
}

.shell36746-xact-ic {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 2px;
  background: rgba(74, 74, 74, 0.8);
  color: var(--shell36746-gold);
}

.shell36746-xpromo li:first-child .shell36746-xact-ic {
  background: #1d1a10;
  color: var(--shell36746-gold);
}

.shell36746-xact b {
  display: block;
  font-family: var(--shell36746-font-head);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
}

.shell36746-xact small {
  display: block;
  font-size: 10px;
  line-height: 1.3;
  color: var(--shell36746-mute);
}

.shell36746-xpromo li:first-child .shell36746-xact small {
  color: #4a442c;
}

.shell36746-dir li {
  border-bottom: 1px solid rgba(69, 79, 92, 0.55);
}

.shell36746-dir li:last-child {
  border-bottom: 0;
}

.shell36746-dir a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 6px 2px;
}

.shell36746-dir a b {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--shell36746-paper);
}

.shell36746-dir a small {
  font-size: 10px;
  color: var(--shell36746-mute);
  text-align: right;
  max-width: 52%;
}

.shell36746-dir a:active b,
.shell36746-dir a:hover b {
  color: var(--shell36746-gold);
}

.shell36746-note {
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--shell36746-mute);
  border: 1px solid var(--shell36746-line-soft);
  border-radius: var(--shell36746-r);
  padding: 10px 11px;
  background: rgba(24, 36, 48, 0.5);
}

.shell36746-note b {
  color: var(--shell36746-cream);
}

/* ---------- 13. Legal bar ---------- */

.shell36746-legal {
  text-align: center;
  font-size: 10.5px;
  color: var(--shell36746-mute);
  padding: 14px 14px 6px;
  background: var(--shell36746-slate);
}

.shell36746-legal b {
  color: var(--shell36746-cream);
}

/* ---------- 14. Bottom rail ---------- */

.shell36746-rail {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: calc(var(--shell36746-rail-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(24, 36, 48, 0.98);
  border-top: 1px solid var(--shell36746-slate-2);
  z-index: 85;
}

.shell36746-rail-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding-top: 4px;
}

.shell36746-rail-slot {
  width: 30px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 2px;
  background: rgba(74, 74, 74, 0.55);
  color: var(--shell36746-cream);
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.shell36746-rail-slot svg {
  width: 17px;
  height: 17px;
}

.shell36746-rail-word {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--shell36746-mute);
  transition: color 0.18s ease;
}

.shell36746-rail-link:active .shell36746-rail-slot {
  color: var(--shell36746-gold);
}

.shell36746-rail-link:active .shell36746-rail-word {
  color: var(--shell36746-gold);
}

/* Active state: icon fill flips to gold + short vertical lift */
.shell36746-rail-link.shell36746-is-live .shell36746-rail-slot {
  background: var(--shell36746-gold);
  color: #1d1a10;
  transform: translateY(-2px);
}

.shell36746-rail-link.shell36746-is-live .shell36746-rail-word {
  color: var(--shell36746-gold);
}

/* ---------- 15. Accessibility ---------- */

:focus-visible {
  outline: 2px solid var(--shell36746-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.shell36746-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--shell36746-gold);
  color: #1d1a10;
  font-weight: 700;
  padding: 8px 12px;
  z-index: 200;
}

.shell36746-skip:focus {
  left: 8px;
  top: 8px;
}

::selection {
  background: var(--shell36746-gold);
  color: #1d1a10;
}

/* ---------- 16. Responsive fine-tuning ---------- */

@media (min-width: 360px) {
  .shell36746-hero-facts {
    gap: 7px;
  }

  .shell36746-tile-name {
    font-size: 10.5px;
  }
}

/* Wider phones inside the canvas: denser game grid */
@media (min-width: 400px) {
  .shell36746-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .shell36746-points li {
    font-size: 13px;
  }
}

/* Desktop: keep the phone canvas centered with side air */
@media (min-width: 480px) {
  body {
    background: #10161d;
  }

  .shell36746-stage {
    border-left: 1px solid var(--shell36746-slate-2);
    border-right: 1px solid var(--shell36746-slate-2);
  }
}

/* ---------- Part1 compatibility and help-page layouts ---------- */
.shell36746-skip { min-height: 44px; }
.shell36746-brand { min-height: 44px; }
.shell36746-topbar { gap: 5px; padding-inline: 8px; }
.shell36746-actions { gap: 4px; }
.shell36746-btn-register { padding-inline: 9px; letter-spacing: 0; }
.shell36746-btn-login { min-width: 44px; padding-inline: 7px; }
.shell36746-burger, .shell36746-sheet-x { width: 44px; height: 44px; }
.shell36746-cta-sub { min-height: 44px; }
.shell36746-sheet { visibility: hidden; transition: none; }
.shell36746-sheet.shell36746-is-open { visibility: visible; }
.shell36746-veil { transition: background-color .2s; }
.shell36746-dot { width: 44px; height: 44px; border: 14px solid var(--shell36746-ink); }
.shell36746-dots { margin-top: 0; align-items: center; gap: 0; flex-wrap: wrap; }
.shell36746-rotation { min-height: 44px; padding: 4px 8px; color: var(--shell36746-cream); border: 1px solid var(--shell36746-line); font-size: 12px; }
.shell36746-slide img { height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
.shell36746-tile img { height: auto; aspect-ratio: 1 / 1; }
.shell36746-slide:active img { filter: none; }
.shell36746-rail-slot { transition: background-color .18s, color .18s; }
.shell36746-p a, .shell36746-lead a, .shell36746-points a { display: inline-block; min-height: 44px; padding: 10px 2px; text-decoration: underline; text-underline-offset: 3px; }
.shell36746-copy p, .shell36746-copy li, .shell36746-copy dd { font-size: 14px; line-height: 1.65; }
.shell36746-copy p { margin: 0 0 12px; }
.shell36746-copy h3 { font-family: var(--shell36746-font-head); color: var(--shell36746-cream); font-size: 16px; line-height: 1.35; margin: 18px 0 8px; }
.shell36746-copy a { display: inline-block; min-height: 44px; padding: 10px 2px; text-decoration: underline; text-underline-offset: 3px; }
.shell36746-copy ul { list-style: square; padding-left: 19px; margin-bottom: 14px; }
.shell36746-copy li { padding: 4px 0; }
.shell36746-copy strong { color: var(--shell36746-cream); }
.shell36746-action { display: block; min-height: 48px; padding: 10px 14px; width: 100%; border-left: 4px solid var(--shell36746-gold); background: var(--shell36746-slate); text-align: left; color: var(--shell36746-cream); margin: 16px 0; }
.shell36746-action:active { background: var(--shell36746-slate-2); }
.shell36746-steps { counter-reset: shell36746-step; margin: 12px 0; }
.shell36746-steps > li { counter-increment: shell36746-step; border-left: 2px solid var(--shell36746-gold); padding: 10px 12px; margin: 12px 0; background: var(--shell36746-slate); }
.shell36746-steps > li::before { content: counter(shell36746-step, decimal-leading-zero); font-family: var(--shell36746-font-head); font-size: 21px; color: var(--shell36746-gold); }
.shell36746-steps h3 { margin-top: 3px; }
.shell36746-diagnose { margin: 14px 0; }
.shell36746-diagnose dt { border-top: 1px solid var(--shell36746-line); padding: 12px 0 4px; color: var(--shell36746-cream); font-weight: 700; }
.shell36746-diagnose dd { padding-bottom: 12px; margin: 0; }
.shell36746-compare { border-block: 1px solid var(--shell36746-line); padding: 4px 0 10px; margin-block: 12px; }
.shell36746-receipt { margin: 12px 0; padding: 12px; background: var(--shell36746-slate); border-top: 3px solid var(--shell36746-gold); }
.shell36746-receipt dt { font-size: 12px; color: var(--shell36746-cream); margin-top: 9px; text-transform: uppercase; letter-spacing: .5px; }
.shell36746-receipt dd { margin: 3px 0 10px; border-bottom: 1px dashed var(--shell36746-line); padding-bottom: 10px; }
.shell36746-answer { padding: 14px 0; border-top: 1px solid var(--shell36746-line); }
.shell36746-answer h3 { margin-top: 0; }
.shell36746-legal { padding-bottom: 10px; }
@media (max-width: 340px) {
  .shell36746-brand { gap: 4px; }
  .shell36746-brand-name { font-size: 16px; letter-spacing: 0; }
  .shell36746-brand-img { width: 28px; height: 28px; }
  .shell36746-btn-register { padding-inline: 7px; font-size: 12px; }
}

/* ---------- 17. Motion budget: color-only transitions ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .shell36746-rail-link.shell36746-is-live .shell36746-rail-slot {
    transform: none;
  }
}
