/* ==========================================================================
   uc jili - native canvas stylesheet (ucjili.homes)
   Mobile-first styling for a 320-430px phone canvas kept centered on wide
   screens. All class names and custom properties carry the shell2da6c- prefix.
   Palette: #E8F5E8 mint ink | #FF8A80 coral accent | #E0E0E0 muted text |
   #0F0F23 deep navy canvas.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --shell2da6c-bg: #0F0F23;
  --shell2da6c-bg-deep: #070714;
  --shell2da6c-panel: #171733;
  --shell2da6c-panel-2: #1d1d3d;
  --shell2da6c-panel-3: #232348;
  --shell2da6c-ink: #E8F5E8;
  --shell2da6c-mute: #E0E0E0;
  --shell2da6c-mute-soft: rgba(224, 224, 224, 0.78);
  --shell2da6c-mute-dim: rgba(224, 224, 224, 0.55);
  --shell2da6c-mint-soft: rgba(232, 245, 232, 0.9);
  --shell2da6c-coral: #FF8A80;
  --shell2da6c-coral-deep: #d96a5f;
  --shell2da6c-coral-ink: #251117;
  --shell2da6c-line: rgba(224, 224, 224, 0.16);
  --shell2da6c-line-soft: rgba(224, 224, 224, 0.09);
  --shell2da6c-font-head: "Cascadia Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --shell2da6c-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --shell2da6c-r-xs: 6px;
  --shell2da6c-r-sm: 9px;
  --shell2da6c-r-md: 12px;
  --shell2da6c-r-lg: 16px;
  --shell2da6c-r-xl: 20px;
  --shell2da6c-top-h: 58px;
  --shell2da6c-nav-h: 60px;
  --shell2da6c-pad-x: 12px;
}

/* --------------------------------------------------------------------------
   1. Reset and canvas
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--shell2da6c-bg-deep);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0 auto;
  max-width: 430px;
  min-height: 100vh;
  background:
    radial-gradient(120% 46% at 50% -6%, rgba(255, 138, 128, 0.14), transparent 60%),
    radial-gradient(90% 34% at 88% 12%, rgba(232, 245, 232, 0.05), transparent 55%),
    var(--shell2da6c-bg);
  color: var(--shell2da6c-ink);
  font-family: var(--shell2da6c-font-body);
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: break-word;
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
}

body.shell2da6c-lock {
  overflow: hidden;
}

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

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

a {
  color: var(--shell2da6c-coral);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #ffb3ac;
}

:focus-visible {
  outline: 2px solid var(--shell2da6c-coral);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: rgba(255, 138, 128, 0.35);
}

/* Shared layout */
.shell2da6c-main {
  padding: calc(var(--shell2da6c-top-h) + 12px) var(--shell2da6c-pad-x) 10px;
}

.shell2da6c-section {
  margin-top: 26px;
}

.shell2da6c-reveal {
  /* Hidden only when JS flags the document, so no-JS visitors see content */
}

.shell2da6c-js .shell2da6c-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.shell2da6c-js .shell2da6c-reveal.shell2da6c-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   2. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--shell2da6c-font-head);
  color: var(--shell2da6c-ink);
  margin: 0;
}

h1 {
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 16.5px;
  line-height: 1.38;
}

h3 {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--shell2da6c-mint-soft);
}

p {
  margin: 0 0 12px;
}

.shell2da6c-kicker {
  font-family: var(--shell2da6c-font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell2da6c-coral);
  margin: 0 0 6px;
}

.shell2da6c-prose {
  font-size: 13.5px;
  color: var(--shell2da6c-mute-soft);
}

.shell2da6c-prose p + p {
  margin-top: 10px;
}

.shell2da6c-prose strong {
  color: var(--shell2da6c-ink);
}

/* --------------------------------------------------------------------------
   3. Top action band
   -------------------------------------------------------------------------- */
.shell2da6c-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--shell2da6c-top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  background: rgba(11, 11, 26, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--shell2da6c-line-soft);
  z-index: 60;
}

.shell2da6c-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  color: var(--shell2da6c-ink);
}

.shell2da6c-brand img {
  width: 30px;
  height: 30px;
  border-radius: var(--shell2da6c-r-sm);
  box-shadow: 0 2px 10px rgba(255, 138, 128, 0.25);
}

.shell2da6c-brand-name {
  font-family: var(--shell2da6c-font-head);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.shell2da6c-topacts {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Segmented action buttons */
.shell2da6c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--shell2da6c-r-sm);
  font-family: var(--shell2da6c-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

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

.shell2da6c-btn-coral {
  background: linear-gradient(160deg, var(--shell2da6c-coral), var(--shell2da6c-coral-deep));
  color: var(--shell2da6c-coral-ink);
  box-shadow: 0 4px 14px rgba(255, 138, 128, 0.28);
}

.shell2da6c-btn-ghost {
  background: rgba(232, 245, 232, 0.04);
  border-color: var(--shell2da6c-line);
  color: var(--shell2da6c-ink);
}

.shell2da6c-btn-mint {
  background: var(--shell2da6c-ink);
  color: var(--shell2da6c-bg);
}

.shell2da6c-btn-wide {
  width: 100%;
  min-height: 44px;
  font-size: 13px;
}

.shell2da6c-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--shell2da6c-line-soft);
  border-radius: var(--shell2da6c-r-sm);
  background: rgba(232, 245, 232, 0.04);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease;
}

.shell2da6c-menu-btn:active {
  transform: scale(0.9);
}

.shell2da6c-menu-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--shell2da6c-mint-soft);
}

/* --------------------------------------------------------------------------
   4. Side drawer menu
   -------------------------------------------------------------------------- */
.shell2da6c-scrim {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 14, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 70;
}

.shell2da6c-scrim.shell2da6c-show {
  opacity: 1;
  visibility: visible;
}

.shell2da6c-drawerport {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  pointer-events: none;
  z-index: 80;
}

.shell2da6c-drawer {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(84%, 314px);
  display: flex;
  flex-direction: column;
  padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(190deg, #1b1b3a, #12122a 62%);
  border-left: 1px solid var(--shell2da6c-line-soft);
  transform: translateX(105%);
  transition: transform 0.28s cubic-bezier(0.22, 0.9, 0.3, 1);
  pointer-events: auto;
  overflow-y: auto;
}

.shell2da6c-drawerport.shell2da6c-open .shell2da6c-drawer {
  transform: none;
}

.shell2da6c-drawer-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--shell2da6c-line-soft);
}

.shell2da6c-drawer-head img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.shell2da6c-drawer-head span {
  font-family: var(--shell2da6c-font-head);
  font-weight: 700;
  font-size: 14px;
  flex: 1;
}

.shell2da6c-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--shell2da6c-line-soft);
  border-radius: var(--shell2da6c-r-sm);
  background: transparent;
  cursor: pointer;
}

.shell2da6c-drawer-close svg {
  width: 16px;
  height: 16px;
  fill: var(--shell2da6c-mute-soft);
}

.shell2da6c-drawer-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 6px;
}

.shell2da6c-drawer-nav {
  margin-top: 6px;
}

.shell2da6c-drawer-label {
  font-family: var(--shell2da6c-font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--shell2da6c-mute-dim);
  margin: 14px 2px 6px;
}

.shell2da6c-drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 10px;
  border-radius: var(--shell2da6c-r-sm);
  font-size: 13.5px;
  color: var(--shell2da6c-mute-soft);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.shell2da6c-drawer-nav a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.5;
}

.shell2da6c-drawer-nav a:hover,
.shell2da6c-drawer-nav a.shell2da6c-here {
  background: rgba(255, 138, 128, 0.12);
  color: var(--shell2da6c-ink);
}

.shell2da6c-drawer-nav a.shell2da6c-here {
  box-shadow: inset 2.5px 0 0 var(--shell2da6c-coral);
}

.shell2da6c-drawer-foot {
  margin-top: auto;
  padding-top: 16px;
  font-size: 11px;
  color: var(--shell2da6c-mute-dim);
}

/* --------------------------------------------------------------------------
   5. Hero carousel
   -------------------------------------------------------------------------- */
.shell2da6c-hero {
  position: relative;
  margin-top: 2px;
}

.shell2da6c-hero-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.3, 0.8, 0.3, 1);
}

.shell2da6c-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--shell2da6c-line-soft);
  border-radius: var(--shell2da6c-r-lg);
  overflow: hidden;
  background: var(--shell2da6c-panel);
  aspect-ratio: 16 / 9;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.shell2da6c-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell2da6c-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 30px 12px 10px;
  background: linear-gradient(180deg, rgba(7, 7, 20, 0), rgba(7, 7, 20, 0.92));
  text-align: left;
}

.shell2da6c-slide-cap strong {
  font-family: var(--shell2da6c-font-head);
  font-size: 13px;
  line-height: 1.35;
  color: var(--shell2da6c-ink);
}

.shell2da6c-slide-cap em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--shell2da6c-mute-soft);
}

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

.shell2da6c-dot {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.shell2da6c-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--shell2da6c-mute-dim);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.shell2da6c-dot.shell2da6c-on::before {
  background: var(--shell2da6c-coral);
  transform: scale(1.35);
}

/* --------------------------------------------------------------------------
   6. Lead block and category chips
   -------------------------------------------------------------------------- */
.shell2da6c-lead {
  margin-top: 20px;
}

.shell2da6c-lead p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--shell2da6c-mute-soft);
}

.shell2da6c-chips {
  display: flex;
  gap: 8px;
  margin: 14px 0 4px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shell2da6c-chips::-webkit-scrollbar {
  display: none;
}

.shell2da6c-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--shell2da6c-line);
  border-radius: 999px;
  background: rgba(232, 245, 232, 0.04);
  font-family: var(--shell2da6c-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--shell2da6c-mint-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.shell2da6c-chip:hover {
  border-color: var(--shell2da6c-coral);
  color: var(--shell2da6c-coral);
}

/* --------------------------------------------------------------------------
   7. Category sections and game grid
   -------------------------------------------------------------------------- */
.shell2da6c-cat {
  margin-top: 28px;
}

.shell2da6c-cat-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 8px;
}

.shell2da6c-cat-head h2 {
  flex-basis: 100%;
}

.shell2da6c-count {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid var(--shell2da6c-line);
  border-radius: 999px;
  font-family: var(--shell2da6c-font-head);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--shell2da6c-mute-soft);
}

.shell2da6c-cat-intro {
  font-size: 13px;
  color: var(--shell2da6c-mute-soft);
  margin: 0 0 12px;
}

.shell2da6c-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 8px;
}

/* Game card: image with a bottom name strip */
.shell2da6c-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.16s ease;
}

.shell2da6c-card:active {
  transform: scale(0.93);
}

.shell2da6c-card-frame {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--shell2da6c-r-md);
  border: 1px solid var(--shell2da6c-line-soft);
  background:
    linear-gradient(150deg, rgba(255, 138, 128, 0.1), rgba(232, 245, 232, 0.03) 55%),
    var(--shell2da6c-panel);
  overflow: hidden;
  transition: border-color 0.16s ease;
}

.shell2da6c-card-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell2da6c-card:hover .shell2da6c-card-frame,
.shell2da6c-card:focus-visible .shell2da6c-card-frame {
  border-color: var(--shell2da6c-coral);
}

.shell2da6c-card-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 27px;
  font-family: var(--shell2da6c-font-head);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--shell2da6c-mint-soft);
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   8. Content modules (RTP tiles, shortcuts, steps, Q&A)
   -------------------------------------------------------------------------- */
.shell2da6c-module {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--shell2da6c-line-soft);
}

.shell2da6c-module-lead {
  font-size: 13.5px;
  color: var(--shell2da6c-mute-soft);
}

.shell2da6c-module h3 {
  margin: 16px 0 6px;
}

.shell2da6c-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 4px;
}

.shell2da6c-tile {
  padding: 12px 10px;
  border: 1px solid var(--shell2da6c-line-soft);
  border-radius: var(--shell2da6c-r-md);
  background: linear-gradient(165deg, var(--shell2da6c-panel-2), var(--shell2da6c-panel));
  text-align: center;
}

.shell2da6c-tile-val {
  display: block;
  font-family: var(--shell2da6c-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--shell2da6c-coral);
  line-height: 1.25;
}

.shell2da6c-tile-label {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--shell2da6c-mute-soft);
}

/* Horizontal scroll row of guide shortcut tiles */
.shell2da6c-shorts {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(158px, 1fr);
  gap: 8px;
  margin: 14px 0 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.shell2da6c-shorts::-webkit-scrollbar {
  display: none;
}

.shell2da6c-short {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--shell2da6c-line-soft);
  border-radius: var(--shell2da6c-r-md);
  background: var(--shell2da6c-panel);
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 0.15s ease;
}

.shell2da6c-short:hover {
  border-color: var(--shell2da6c-coral);
}

.shell2da6c-short svg {
  width: 20px;
  height: 20px;
  fill: var(--shell2da6c-coral);
}

.shell2da6c-short strong {
  font-family: var(--shell2da6c-font-head);
  font-size: 12px;
  color: var(--shell2da6c-ink);
}

.shell2da6c-short span {
  font-size: 11px;
  line-height: 1.45;
  color: var(--shell2da6c-mute-soft);
}

/* Numbered steps */
.shell2da6c-steps {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  counter-reset: shell2da6c-step;
}

.shell2da6c-steps li {
  position: relative;
  counter-increment: shell2da6c-step;
  padding: 12px 12px 12px 46px;
  border: 1px solid var(--shell2da6c-line-soft);
  border-left: 3px solid var(--shell2da6c-coral);
  border-radius: var(--shell2da6c-r-md);
  background: var(--shell2da6c-panel);
  font-size: 12.5px;
  color: var(--shell2da6c-mute-soft);
}

.shell2da6c-steps li::before {
  content: counter(shell2da6c-step, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 138, 128, 0.16);
  font-family: var(--shell2da6c-font-head);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--shell2da6c-coral);
}

.shell2da6c-steps strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--shell2da6c-font-head);
  font-size: 12px;
  color: var(--shell2da6c-ink);
}

/* Q&A blocks */
.shell2da6c-qa {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.shell2da6c-qa-item {
  padding: 13px 14px;
  border: 1px solid var(--shell2da6c-line-soft);
  border-radius: var(--shell2da6c-r-lg);
  background: linear-gradient(170deg, var(--shell2da6c-panel-2), var(--shell2da6c-panel));
}

.shell2da6c-qa-item h3 {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--shell2da6c-ink);
}

.shell2da6c-qa-item p {
  margin: 0;
  font-size: 12.5px;
  color: var(--shell2da6c-mute-soft);
}

/* Checklist (inner pages) */
.shell2da6c-checklist {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shell2da6c-checklist li {
  position: relative;
  padding: 10px 12px 10px 34px;
  border: 1px solid var(--shell2da6c-line-soft);
  border-radius: var(--shell2da6c-r-sm);
  background: rgba(232, 245, 232, 0.03);
  font-size: 12.5px;
  color: var(--shell2da6c-mute-soft);
}

.shell2da6c-checklist li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 13px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--shell2da6c-coral);
  border-bottom: 2px solid var(--shell2da6c-coral);
  transform: rotate(-45deg);
}

/* Note / callout */
.shell2da6c-note {
  margin: 14px 0 0;
  padding: 12px 13px;
  border: 1px dashed rgba(255, 138, 128, 0.45);
  border-radius: var(--shell2da6c-r-md);
  background: rgba(255, 138, 128, 0.06);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--shell2da6c-mute-soft);
}

.shell2da6c-note strong {
  font-family: var(--shell2da6c-font-head);
  color: var(--shell2da6c-coral);
}

/* Comparison table (inner pages) */
.shell2da6c-table-wrap {
  margin: 14px 0 0;
  border: 1px solid var(--shell2da6c-line-soft);
  border-radius: var(--shell2da6c-r-md);
  overflow: hidden;
}

.shell2da6c-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.shell2da6c-table th,
.shell2da6c-table td {
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid var(--shell2da6c-line-soft);
  color: var(--shell2da6c-mute-soft);
  vertical-align: top;
}

.shell2da6c-table th {
  font-family: var(--shell2da6c-font-head);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shell2da6c-ink);
  background: var(--shell2da6c-panel-2);
}

.shell2da6c-table tr:last-child td {
  border-bottom: 0;
}

/* Screenshot row for app/download pages */
.shell2da6c-shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 72%);
  gap: 8px;
  margin: 14px 0 0;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shell2da6c-shots::-webkit-scrollbar {
  display: none;
}

.shell2da6c-shots img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--shell2da6c-r-md);
  border: 1px solid var(--shell2da6c-line-soft);
  scroll-snap-align: center;
}

/* --------------------------------------------------------------------------
   9. Inner page scaffolding (used by game and feature pages)
   -------------------------------------------------------------------------- */
.shell2da6c-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 10px;
  font-family: var(--shell2da6c-font-head);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--shell2da6c-mute-dim);
}

.shell2da6c-crumb a {
  color: var(--shell2da6c-mute-soft);
  text-decoration: none;
}

.shell2da6c-page-head {
  margin-top: 14px;
}

.shell2da6c-game-hero {
  margin-top: 14px;
  padding: 16px 14px;
  border: 1px solid var(--shell2da6c-line-soft);
  border-radius: var(--shell2da6c-r-xl);
  background:
    radial-gradient(90% 70% at 82% 0%, rgba(255, 138, 128, 0.14), transparent 60%),
    var(--shell2da6c-panel);
}

.shell2da6c-game-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shell2da6c-game-icon {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  border-radius: var(--shell2da6c-r-md);
  border: 1px solid var(--shell2da6c-line);
  background: var(--shell2da6c-bg);
  object-fit: cover;
}

.shell2da6c-game-top h1 {
  font-size: 18px;
}

.shell2da6c-game-tag {
  display: block;
  margin-top: 4px;
  font-family: var(--shell2da6c-font-head);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell2da6c-coral);
}

.shell2da6c-game-intro {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--shell2da6c-mute-soft);
}

.shell2da6c-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   10. Extended footer (home) and common footer
   -------------------------------------------------------------------------- */
.shell2da6c-extfoot {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--shell2da6c-line);
}

.shell2da6c-ext-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.shell2da6c-ext-brand img {
  width: 36px;
  height: 36px;
  border-radius: var(--shell2da6c-r-sm);
}

.shell2da6c-ext-brand div {
  flex: 1;
}

.shell2da6c-ext-brand strong {
  display: block;
  font-family: var(--shell2da6c-font-head);
  font-size: 14px;
}

.shell2da6c-ext-brand p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--shell2da6c-mute-soft);
}

.shell2da6c-ext-promos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 16px;
}

.shell2da6c-ext-promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 74px;
  padding: 11px 4px;
  border: 1px solid rgba(255, 138, 128, 0.4);
  border-radius: var(--shell2da6c-r-md);
  background: linear-gradient(170deg, rgba(255, 138, 128, 0.14), rgba(255, 138, 128, 0.04));
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.shell2da6c-ext-promo:active {
  transform: scale(0.94);
}

.shell2da6c-ext-promo svg {
  width: 19px;
  height: 19px;
  fill: var(--shell2da6c-coral);
}

.shell2da6c-ext-promo span {
  font-family: var(--shell2da6c-font-head);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-align: center;
  color: var(--shell2da6c-ink);
}

.shell2da6c-ext-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.shell2da6c-ext-item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid var(--shell2da6c-line-soft);
  border-radius: var(--shell2da6c-r-md);
  background: var(--shell2da6c-panel);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.shell2da6c-ext-item:hover {
  border-color: var(--shell2da6c-coral);
}

.shell2da6c-ext-item svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  fill: var(--shell2da6c-coral);
}

.shell2da6c-ext-item strong {
  display: block;
  font-family: var(--shell2da6c-font-head);
  font-size: 11.5px;
  color: var(--shell2da6c-ink);
}

.shell2da6c-ext-item span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--shell2da6c-mute-soft);
}

.shell2da6c-ext-note {
  margin-top: 16px;
}

.shell2da6c-ext-note p {
  margin: 0;
}

.shell2da6c-foot {
  padding: 18px 0 calc(var(--shell2da6c-nav-h) + 26px + env(safe-area-inset-bottom));
  text-align: center;
  font-family: var(--shell2da6c-font-head);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--shell2da6c-mute-dim);
}

/* --------------------------------------------------------------------------
   11. Mobile bottom navigation
   -------------------------------------------------------------------------- */
.shell2da6c-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--shell2da6c-nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(10, 10, 24, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--shell2da6c-line);
  z-index: 60;
}

.shell2da6c-bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  border: 0;
  background: none;
  padding: 0;
  text-decoration: none;
  color: var(--shell2da6c-mute-dim);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.15s ease, transform 0.15s ease;
}

.shell2da6c-bn-item:active {
  transform: scale(0.9);
}

.shell2da6c-bn-item svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.shell2da6c-bn-txt {
  font-family: var(--shell2da6c-font-head);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.shell2da6c-bn-item.shell2da6c-bn-on,
.shell2da6c-bn-item:hover {
  color: var(--shell2da6c-coral);
}

.shell2da6c-bn-item.shell2da6c-bn-on .shell2da6c-bn-txt {
  font-weight: 700;
}

.shell2da6c-bn-item.shell2da6c-bn-on svg {
  filter: drop-shadow(0 0 6px rgba(255, 138, 128, 0.5));
}

/* --------------------------------------------------------------------------
   12. Narrow canvas polish (320px)
   -------------------------------------------------------------------------- */
@media (max-width: 359px) {
  .shell2da6c-brand img {
    width: 26px;
    height: 26px;
  }

  .shell2da6c-brand-name {
    font-size: 14px;
  }

  .shell2da6c-btn {
    padding: 0 9px;
    font-size: 11px;
  }

  .shell2da6c-ext-dir {
    grid-template-columns: 1fr;
  }

  .shell2da6c-tiles {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
  }

  .shell2da6c-card-name {
    font-size: 9.5px;
  }
}

/* --------------------------------------------------------------------------
   13. Wider phone canvas (430px breakpoint)
   -------------------------------------------------------------------------- */
@media (min-width: 430px) {
  :root {
    --shell2da6c-pad-x: 16px;
  }

  body {
    border-left: 1px solid var(--shell2da6c-line-soft);
    border-right: 1px solid var(--shell2da6c-line-soft);
  }

  .shell2da6c-main {
    padding-top: calc(var(--shell2da6c-top-h) + 16px);
  }

  h1 {
    font-size: 21px;
  }

  h2 {
    font-size: 17.5px;
  }

  /* Five game tiles per row on the wider canvas */
  .shell2da6c-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px 10px;
  }

  .shell2da6c-card-name {
    font-size: 10.5px;
  }

  .shell2da6c-tiles {
    gap: 10px;
  }

  .shell2da6c-ext-dir {
    gap: 10px;
  }

  .shell2da6c-slide-cap strong {
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   14. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .shell2da6c-js .shell2da6c-reveal {
    opacity: 1;
    transform: none;
  }
}
