/* ==========================================================================
   2222222.click - shell-responsive-b35804.css
   Mobile-first (320-430px canvas) shell styles for the 2222222 lobby.
   Design language: rounded display type over compact body text, near-square
   corners (tool feel), image tiles with bottom name bars, dark navy canvas,
   mint/oamber accents, slide-in menu, subtle card lift.
   ========================================================================== */

/* ---------- design tokens ---------- */
:root {
  --shell35804-bg: #0E1621;
  --shell35804-bg-raise: #131f2d;
  --shell35804-bg-sink: #0a121b;
  --shell35804-line: rgba(102, 205, 170, 0.20);
  --shell35804-line-strong: rgba(102, 205, 170, 0.42);
  --shell35804-ink: #FFEF94;
  --shell35804-ink-dim: rgba(255, 239, 148, 0.74);
  --shell35804-ink-faint: rgba(255, 239, 148, 0.52);
  --shell35804-mint: #66CDAA;
  --shell35804-mint-soft: #98FB98;
  --shell35804-ember: #FF8C00;
  --shell35804-ember-deep: #d97400;
  --shell35804-radius: 4px;
  --shell35804-radius-lg: 6px;
  --shell35804-gap: 6px;
  --shell35804-pad: 14px;
  --shell35804-topbar-h: 54px;
  --shell35804-bnav-h: 58px;
  --shell35804-font-display: "Arial Rounded MT Bold", ui-rounded, "Baloo 2", "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --shell35804-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell35804-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--shell35804-bg-sink);
  color: var(--shell35804-ink);
  font-family: var(--shell35804-font-body);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
}

body.shell35804-lock {
  overflow: hidden;
}

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

a {
  color: var(--shell35804-mint-soft);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

button {
  font-family: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--shell35804-mint-soft);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection {
  background: var(--shell35804-ember);
  color: #0E1621;
}

/* ---------- phone canvas ---------- */
.shell35804-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--shell35804-bg);
  background-image:
    radial-gradient(120% 52% at 50% -8%, rgba(255, 140, 0, 0.16), transparent 62%),
    radial-gradient(90% 40% at 88% 4%, rgba(102, 205, 170, 0.10), transparent 58%);
  box-shadow: 0 0 0 1px rgba(102, 205, 170, 0.14);
  overflow-x: hidden;
}

.shell35804-page {
  padding-top: var(--shell35804-topbar-h);
  padding-bottom: calc(var(--shell35804-bnav-h) + 26px + env(safe-area-inset-bottom, 0px));
}

.shell35804-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Top bar - logo-led action strip
   ========================================================================== */
.shell35804-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  height: var(--shell35804-topbar-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: rgba(14, 22, 33, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--shell35804-line);
}

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

.shell35804-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--shell35804-radius);
  border: 1px solid var(--shell35804-line-strong);
  background: var(--shell35804-bg-raise);
  object-fit: contain;
  padding: 2px;
  flex: none;
}

.shell35804-brand-name {
  font-family: var(--shell35804-font-display);
  font-size: 19px;
  letter-spacing: 1.2px;
  color: var(--shell35804-ink);
  white-space: nowrap;
  line-height: 1;
}

.shell35804-topbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

/* compact icon+text CTA buttons */
.shell35804-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: var(--shell35804-radius);
  border: 1px solid transparent;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.12s var(--shell35804-ease), filter 0.12s var(--shell35804-ease);
}

.shell35804-btn:active {
  transform: scale(0.94);
}

.shell35804-btn-register {
  background: linear-gradient(180deg, var(--shell35804-ember) 0%, var(--shell35804-ember-deep) 100%);
  color: #16100a;
  box-shadow: 0 3px 10px rgba(255, 140, 0, 0.28);
}

.shell35804-btn-register:hover {
  filter: brightness(1.08);
}

.shell35804-btn-login {
  background: transparent;
  color: var(--shell35804-mint-soft);
  border-color: var(--shell35804-line-strong);
}

.shell35804-btn-login:hover {
  background: rgba(102, 205, 170, 0.10);
}

.shell35804-btn-ico {
  width: 15px;
  height: 15px;
  flex: none;
}

.shell35804-burger {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shell35804-line);
  border-radius: var(--shell35804-radius);
  background: var(--shell35804-bg-raise);
  cursor: pointer;
  transition: transform 0.12s var(--shell35804-ease);
}

.shell35804-burger:active {
  transform: scale(0.92);
}

.shell35804-burger svg {
  width: 18px;
  height: 18px;
  stroke: var(--shell35804-ink);
}

/* ==========================================================================
   Full-height menu layer (slides from the right)
   ========================================================================== */
.shell35804-menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(5, 9, 14, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--shell35804-ease), visibility 0.22s;
}

.shell35804-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(100%);
  z-index: 80;
  margin-left: 0;
  width: 100%;
  max-width: 430px;
  margin-left: auto;
  background: var(--shell35804-bg);
  background-image: linear-gradient(190deg, rgba(255, 140, 0, 0.08), transparent 40%), linear-gradient(0deg, rgba(102, 205, 170, 0.07), transparent 34%);
  border-left: 1px solid var(--shell35804-line-strong);
  display: flex;
  flex-direction: column;
  transition: transform 0.26s var(--shell35804-ease), visibility 0.26s;
  visibility: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.shell35804-menu-open .shell35804-menu {
  transform: translateX(0);
  visibility: visible;
}

.shell35804-menu-open .shell35804-menu-scrim {
  opacity: 1;
  visibility: visible;
}

.shell35804-menu-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--shell35804-line);
  position: sticky;
  top: 0;
  background: rgba(14, 22, 33, 0.97);
  z-index: 2;
}

.shell35804-menu-close {
  margin-left: auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--shell35804-line);
  border-radius: var(--shell35804-radius);
  background: var(--shell35804-bg-raise);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s var(--shell35804-ease);
}

.shell35804-menu-close:active {
  transform: scale(0.92);
}

.shell35804-menu-close svg {
  width: 16px;
  height: 16px;
  stroke: var(--shell35804-ink);
}

.shell35804-menu-eyebrow {
  margin: 16px 16px 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell35804-ink-faint);
}

.shell35804-menu-list {
  list-style: none;
  margin: 0;
  padding: 0 10px 8px;
}

.shell35804-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 10px;
  border-radius: var(--shell35804-radius);
  color: var(--shell35804-ink);
  font-size: 14.5px;
  font-weight: 600;
  border-bottom: 1px solid rgba(102, 205, 170, 0.10);
  transition: background 0.12s var(--shell35804-ease);
}

.shell35804-menu-link:hover,
.shell35804-menu-link:focus-visible {
  background: rgba(102, 205, 170, 0.10);
  text-decoration: none;
}

.shell35804-menu-link .shell35804-menu-ico {
  width: 17px;
  height: 17px;
  stroke: var(--shell35804-mint);
  flex: none;
}

.shell35804-menu-link.shell35804-is-active {
  color: var(--shell35804-mint-soft);
  box-shadow: inset 3px 0 0 var(--shell35804-mint);
  background: rgba(102, 205, 170, 0.08);
}

.shell35804-menu-cta {
  margin: 14px 16px 26px;
  display: grid;
  gap: 8px;
}

.shell35804-menu-cta .shell35804-btn {
  width: 100%;
  min-height: 44px;
  font-size: 14px;
}

/* ==========================================================================
   Hero / H1 block
   ========================================================================== */
.shell35804-hero {
  padding: 18px var(--shell35804-pad) 4px;
}

.shell35804-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shell35804-mint-soft);
  border: 1px solid var(--shell35804-line-strong);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(102, 205, 170, 0.07);
}

.shell35804-hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shell35804-ember);
}

.shell35804-hero-title {
  font-family: var(--shell35804-font-display);
  font-size: 25px;
  line-height: 1.18;
  letter-spacing: 0.2px;
  margin: 10px 0 8px;
  color: var(--shell35804-ink);
}

.shell35804-hero-title em {
  font-style: normal;
  color: var(--shell35804-ember);
}

.shell35804-hero-lead {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--shell35804-ink-dim);
}

.shell35804-hero-cta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shell35804-hero-cta .shell35804-btn {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 13px;
}

/* compact fact strip */
.shell35804-factstrip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 14px 0 0;
  list-style: none;
  padding: 0;
}

.shell35804-fact {
  border: 1px solid var(--shell35804-line);
  border-radius: var(--shell35804-radius);
  background: var(--shell35804-bg-raise);
  padding: 8px 8px 9px;
  min-width: 0;
}

.shell35804-fact b {
  display: block;
  font-family: var(--shell35804-font-display);
  font-size: 15px;
  color: var(--shell35804-mint-soft);
  line-height: 1.1;
  margin-bottom: 3px;
}

.shell35804-fact span {
  display: block;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--shell35804-ink-faint);
}

/* ==========================================================================
   Banner carousel
   ========================================================================== */
.shell35804-carousel {
  position: relative;
  margin: 16px 0 0;
  overflow: hidden;
  border-radius: var(--shell35804-radius-lg);
  border: 1px solid var(--shell35804-line);
  background: var(--shell35804-bg-raise);
}

.shell35804-carousel-track {
  display: flex;
  transition: transform 0.34s var(--shell35804-ease);
  touch-action: pan-y;
}

.shell35804-banner {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: var(--shell35804-bg-raise);
  cursor: pointer;
  overflow: hidden;
}

.shell35804-banner img {
  width: 100%;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
  transition: transform 0.3s var(--shell35804-ease);
}

.shell35804-banner:active img {
  transform: scale(0.985);
}

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

.shell35804-dot {
  width: 22px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 239, 148, 0.34);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s var(--shell35804-ease);
}

.shell35804-dot:active {
  transform: scaleY(1.6);
}

.shell35804-dot[aria-current="true"] {
  background: var(--shell35804-ember);
}

/* ==========================================================================
   Generic section frame
   ========================================================================== */
.shell35804-sec {
  padding: 22px var(--shell35804-pad) 0;
}

.shell35804-sec-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 4px;
}

.shell35804-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell35804-ember);
  white-space: nowrap;
}

.shell35804-sec-title {
  font-family: var(--shell35804-font-display);
  font-size: 18.5px;
  line-height: 1.22;
  margin: 2px 0 6px;
  color: var(--shell35804-ink);
}

.shell35804-sec-intro {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--shell35804-ink-dim);
}

.shell35804-sec-intro a,
.shell35804-fold-body a,
.shell35804-xfoot-brand a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   Game grids - image tile with bottom name bar
   ========================================================================== */
.shell35804-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px 6px;
}

.shell35804-tile {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--shell35804-line);
  border-radius: var(--shell35804-radius);
  background: var(--shell35804-bg-raise);
  overflow: hidden;
  cursor: pointer;
  min-width: 0;
  text-align: center;
  transition: transform 0.13s var(--shell35804-ease), border-color 0.13s, box-shadow 0.13s;
}

.shell35804-tile:hover,
.shell35804-tile:focus-visible {
  transform: translateY(-2px);
  border-color: var(--shell35804-line-strong);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.38);
}

.shell35804-tile:active {
  transform: translateY(0) scale(0.965);
}

.shell35804-tile-art {
  display: block;
  position: relative;
  width: 100%;
  background: var(--shell35804-bg-sink);
}

.shell35804-tile-art img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.shell35804-tile-bar {
  display: block;
  padding: 4px 3px 5px;
  min-height: 30px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.1px;
  color: var(--shell35804-ink-dim);
  background: linear-gradient(180deg, rgba(19, 31, 45, 0.6), rgba(10, 18, 27, 0.92));
  border-top: 1px solid rgba(102, 205, 170, 0.14);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shell35804-tile-flag {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #16100a;
  background: var(--shell35804-ember);
  border-radius: 2px;
  padding: 2px 4px;
}

.shell35804-grid-note {
  margin: 10px 0 0;
  font-size: 11.5px;
  color: var(--shell35804-ink-faint);
}

/* ==========================================================================
   Fact-first folds (summary = fact, body = expansion)
   ========================================================================== */
.shell35804-folds {
  display: grid;
  gap: 7px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.shell35804-fold {
  border: 1px solid var(--shell35804-line);
  border-radius: var(--shell35804-radius);
  background: var(--shell35804-bg-raise);
  overflow: hidden;
}

.shell35804-fold-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--shell35804-ink);
  list-style: none;
  transition: background 0.12s;
}

.shell35804-fold-summary::-webkit-details-marker {
  display: none;
}

.shell35804-fold-summary:hover {
  background: rgba(102, 205, 170, 0.07);
}

.shell35804-fold-summary .shell35804-fold-glyph {
  flex: none;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shell35804-line-strong);
  border-radius: 3px;
  color: var(--shell35804-mint);
  font-size: 11px;
  font-weight: 800;
}

.shell35804-fold[open] > .shell35804-fold-summary {
  box-shadow: inset 0 -1px 0 var(--shell35804-line);
  color: var(--shell35804-mint-soft);
}

.shell35804-fold-body {
  padding: 10px 12px 12px;
  font-size: 12.5px;
  color: var(--shell35804-ink-dim);
}

.shell35804-fold-body p {
  margin: 0 0 8px;
}

.shell35804-fold-body p:last-child {
  margin-bottom: 0;
}

.shell35804-fold-body ul {
  margin: 0 0 8px;
  padding-left: 16px;
}

.shell35804-fold-body li {
  margin: 0 0 5px;
}

/* ==========================================================================
   Editorial modules (highlights / guidance / relationships)
   ========================================================================== */
.shell35804-mod {
  border: 1px solid var(--shell35804-line);
  border-left: 3px solid var(--shell35804-ember);
  border-radius: var(--shell35804-radius);
  background: var(--shell35804-bg-raise);
  padding: 12px 12px 13px;
  margin: 0 0 10px;
}

.shell35804-mod:last-child {
  margin-bottom: 0;
}

.shell35804-mod-fact {
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 3px;
  border: 1px dashed var(--shell35804-line-strong);
  background: rgba(102, 205, 170, 0.06);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--shell35804-mint-soft);
}

.shell35804-mod p {
  margin: 0 0 8px;
  font-size: 12.5px;
  color: var(--shell35804-ink-dim);
}

.shell35804-mod p:last-child {
  margin-bottom: 0;
}

.shell35804-scene-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 10px 0 0;
}

.shell35804-scene {
  border: 1px solid var(--shell35804-line);
  border-radius: var(--shell35804-radius);
  background: var(--shell35804-bg-sink);
  padding: 9px 9px 10px;
  min-width: 0;
}

.shell35804-scene b {
  display: block;
  font-family: var(--shell35804-font-display);
  font-size: 12.5px;
  color: var(--shell35804-ink);
  margin-bottom: 4px;
}

.shell35804-scene span {
  display: block;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--shell35804-ink-faint);
}

.shell35804-steps {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  counter-reset: shell35804-step;
}

.shell35804-steps li {
  position: relative;
  counter-increment: shell35804-step;
  padding: 7px 0 7px 30px;
  font-size: 12.5px;
  color: var(--shell35804-ink-dim);
  border-top: 1px solid rgba(102, 205, 170, 0.10);
}

.shell35804-steps li:first-child {
  border-top: 0;
}

.shell35804-steps li::before {
  content: counter(shell35804-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 8px;
  font-family: var(--shell35804-font-display);
  font-size: 11px;
  color: var(--shell35804-ember);
  border: 1px solid rgba(255, 140, 0, 0.45);
  border-radius: 3px;
  padding: 1px 4px;
}

/* ==========================================================================
   Extended site footer (homepage only)
   ========================================================================== */
.shell35804-xfoot {
  margin-top: 24px;
  border-top: 1px solid var(--shell35804-line-strong);
  background:
    linear-gradient(180deg, rgba(102, 205, 170, 0.05), transparent 30%),
    var(--shell35804-bg-sink);
  padding: 18px var(--shell35804-pad) 16px;
}

.shell35804-xfoot-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell35804-ink-faint);
  margin: 0 0 6px;
}

.shell35804-xfoot-brand {
  margin: 0 0 16px;
}

.shell35804-xfoot-brand p {
  margin: 0;
  font-size: 12.5px;
  color: var(--shell35804-ink-dim);
}

.shell35804-xpromos {
  display: grid;
  gap: 7px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.shell35804-xpromo {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  padding: 9px 11px;
  border-radius: var(--shell35804-radius);
  border: 1px solid var(--shell35804-line-strong);
  background: linear-gradient(100deg, rgba(255, 140, 0, 0.12), rgba(102, 205, 170, 0.07));
  cursor: pointer;
  text-align: left;
  transition: transform 0.12s var(--shell35804-ease), border-color 0.12s;
}

.shell35804-xpromo:hover {
  border-color: var(--shell35804-ember);
}

.shell35804-xpromo:active {
  transform: scale(0.975);
}

.shell35804-xpromo-ico {
  flex: none;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: rgba(255, 140, 0, 0.16);
  color: var(--shell35804-ember);
}

.shell35804-xpromo-ico svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.shell35804-xpromo-text b {
  display: block;
  font-size: 13px;
  color: var(--shell35804-ink);
  line-height: 1.25;
}

.shell35804-xpromo-text span {
  display: block;
  font-size: 11px;
  color: var(--shell35804-ink-faint);
  line-height: 1.3;
}

.shell35804-dir-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell35804-dir-grid li {
  min-width: 0;
}

.shell35804-dir-link {
  display: block;
  padding: 8px 9px;
  min-height: 42px;
  border: 1px solid var(--shell35804-line);
  border-radius: var(--shell35804-radius);
  background: var(--shell35804-bg-raise);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--shell35804-ink-dim);
}

.shell35804-dir-link:hover,
.shell35804-dir-link:focus-visible {
  color: var(--shell35804-mint-soft);
  border-color: var(--shell35804-line-strong);
  text-decoration: none;
}

.shell35804-xfoot-note {
  margin: 16px 0 0;
  padding: 10px 11px;
  border: 1px dashed var(--shell35804-line);
  border-radius: var(--shell35804-radius);
  font-size: 11px;
  line-height: 1.5;
  color: var(--shell35804-ink-faint);
}

/* ==========================================================================
   Common copyright footer + fixed bottom nav
   ========================================================================== */
.shell35804-footer {
  padding: 14px var(--shell35804-pad) 10px;
  border-top: 1px solid var(--shell35804-line);
  text-align: center;
}

.shell35804-footer p {
  margin: 0;
  font-size: 11px;
  color: var(--shell35804-ink-faint);
}

.shell35804-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: flex;
  align-items: stretch;
  height: calc(var(--shell35804-bnav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(14, 22, 33, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--shell35804-line-strong);
}

.shell35804-bnav-item {
  flex: 1 1 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  padding: 4px 2px 6px;
  border: 0;
  border-left: 1px solid rgba(102, 205, 170, 0.12);
  background: transparent;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.shell35804-bnav-item:first-child {
  border-left: 0;
}

.shell35804-bnav-item:active .shell35804-bicon {
  transform: scale(0.86);
}

.shell35804-bicon {
  width: 21px;
  height: 21px;
  flex: none;
  transition: transform 0.12s var(--shell35804-ease);
}

.shell35804-bicon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--shell35804-ink-dim);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shell35804-bnav-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1;
  color: var(--shell35804-ink-faint);
  white-space: nowrap;
}

.shell35804-bnav-item.shell35804-is-active .shell35804-bicon svg {
  fill: var(--shell35804-mint);
  stroke: var(--shell35804-mint);
}

.shell35804-bnav-item.shell35804-is-active .shell35804-bnav-label {
  color: var(--shell35804-mint-soft);
}

.shell35804-bnav-item.shell35804-is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: var(--shell35804-ember);
}

.shell35804-bnav-item[data-shell35804-role="promo-center"] .shell35804-bnav-label {
  color: var(--shell35804-ember);
}

.shell35804-bnav-item[data-shell35804-role="promo-center"] .shell35804-bicon svg {
  stroke: var(--shell35804-ember);
}

.shell35804-bnav-item[data-shell35804-role="promo-center"]:active .shell35804-bicon {
  transform: scale(0.86) translateY(-1px);
}

/* ==========================================================================
   Small-screen tuning (320px first)
   ========================================================================== */
@media (max-width: 359px) {
  .shell35804-brand-name {
    font-size: 16.5px;
  }

  .shell35804-hero-title {
    font-size: 22px;
  }

  .shell35804-tile-bar {
    font-size: 9px;
    min-height: 27px;
  }

  .shell35804-scene-grid,
  .shell35804-dir-grid {
    grid-template-columns: 1fr;
  }
}

/* wider phones - keep 4 columns but breathe */
@media (min-width: 375px) {
  .shell35804-grid {
    gap: 8px 7px;
  }

  .shell35804-tile-bar {
    font-size: 10.5px;
  }
}

/* largest phone canvas - fifth column for the game grid */
@media (min-width: 430px) {
  .shell35804-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .shell35804-hero-title {
    font-size: 27px;
  }

  .shell35804-sec-title {
    font-size: 20px;
  }
}

/* beyond the phone canvas - frame the shell */
@media (min-width: 431px) {
  .shell35804-canvas {
    box-shadow: 0 0 0 1px rgba(102, 205, 170, 0.22), 0 24px 60px rgba(0, 0, 0, 0.5);
  }
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .shell35804-carousel-track,
  .shell35804-menu,
  .shell35804-tile,
  .shell35804-tile img,
  .shell35804-btn,
  .shell35804-dot,
  .shell35804-burger,
  .shell35804-menu-close,
  .shell35804-bicon,
  .shell35804-xpromo {
    transition: none;
  }

  .shell35804-tile:hover,
  .shell35804-tile:focus-visible {
    transform: none;
  }
}
