/* ============================================================
   ccc7.click - adaptive layer stylesheet
   Prefix contract: every class uses "shell00824-"
   Canvas: 320-430px phone frame, centered on wide screens
   Palette: #0F0F23 base / #20B2AA teal / #9AFF9A mint / #808080 muted
   ============================================================ */

:root {
  --shell00824-ink: #0F0F23;
  --shell00824-ink-deep: #0A0A1B;
  --shell00824-ink-panel: #171733;
  --shell00824-ink-card: #1B1B3A;
  --shell00824-teal: #20B2AA;
  --shell00824-teal-soft: rgba(32, 178, 170, 0.18);
  --shell00824-teal-line: rgba(32, 178, 170, 0.32);
  --shell00824-mint: #9AFF9A;
  --shell00824-mint-dim: rgba(154, 255, 154, 0.14);
  --shell00824-gray: #808080;
  --shell00824-paper: #E9F6EF;
  --shell00824-paper-dim: #B9CCD2;
  --shell00824-font-head: 'Chakra Petch', 'Segoe UI', system-ui, sans-serif;
  --shell00824-font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --shell00824-topbar-h: 104px;
  --shell00824-dock-h: 92px;
  --shell00824-radius-s: 8px;
  --shell00824-radius-m: 10px;
  --shell00824-radius-l: 14px;
}

/* ---------- reset-ish base ---------- */

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

body.shell00824-body {
  margin: 0;
  background: #06060F;
  color: var(--shell00824-paper);
  font-family: var(--shell00824-font-body);
  font-size: 14px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
}

body.shell00824-noscroll {
  overflow: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

/* ---------- phone canvas ---------- */

.shell00824-canvas {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(32, 178, 170, 0.10), transparent 60%),
    var(--shell00824-ink);
  overflow: hidden;
}

/* ---------- fixed top bar (tab style) ---------- */

.shell00824-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 480px;
  z-index: 40;
  background: rgba(15, 15, 35, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--shell00824-teal-line);
}

.shell00824-barrow {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 8px 10px;
}

.shell00824-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 2px 4px;
}

.shell00824-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--shell00824-radius-s);
  border: 1px solid var(--shell00824-teal-line);
  object-fit: cover;
}

.shell00824-brandname {
  font-family: var(--shell00824-font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: var(--shell00824-mint);
}

.shell00824-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.shell00824-btnreg,
.shell00824-btnlog {
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--shell00824-radius-s);
  font-family: var(--shell00824-font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  border: 1px solid transparent;
  transition: filter 0.2s ease, border-color 0.25s ease, color 0.25s ease;
}

.shell00824-btnreg {
  background: linear-gradient(135deg, #20B2AA, #167D78);
  color: #04110F;
}

.shell00824-btnlog {
  background: transparent;
  border-color: var(--shell00824-mint-dim);
  color: var(--shell00824-mint);
}

.shell00824-btnreg:active,
.shell00824-btnlog:active {
  transform: scale(0.96);
}

.shell00824-menubtn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--shell00824-ink-card);
  border: 1px solid var(--shell00824-mint-dim);
  border-radius: var(--shell00824-radius-s);
}

.shell00824-menuline {
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--shell00824-mint);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.shell00824-menubtn[aria-expanded="true"] .shell00824-menuline:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.shell00824-menubtn[aria-expanded="true"] .shell00824-menuline:nth-child(2) {
  opacity: 0;
}

.shell00824-menubtn[aria-expanded="true"] .shell00824-menuline:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* quick tab strip under the brand row */

.shell00824-toptabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 10px 8px;
  scrollbar-width: none;
}

.shell00824-toptabs::-webkit-scrollbar {
  display: none;
}

.shell00824-tab {
  flex: 0 0 auto;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--shell00824-radius-s);
  background: var(--shell00824-ink-card);
  border: 1px solid var(--shell00824-mint-dim);
  color: var(--shell00824-paper-dim);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.shell00824-tab.shell00824-on {
  background: var(--shell00824-teal-soft);
  border-color: var(--shell00824-teal-line);
  color: var(--shell00824-mint);
}

/* ---------- main column ---------- */

.shell00824-main {
  padding-top: var(--shell00824-topbar-h);
  padding-bottom: calc(var(--shell00824-dock-h) + 26px);
}

/* ---------- hero ---------- */

.shell00824-hero {
  padding: 18px 14px 4px;
}

.shell00824-kicker {
  margin: 0 0 8px;
  font-family: var(--shell00824-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--shell00824-teal);
}

.shell00824-hero h1 {
  margin: 0 0 10px;
  font-family: var(--shell00824-font-head);
  font-size: clamp(21px, 6.2vw, 28px);
  line-height: 1.18;
  font-weight: 700;
  color: #F4FFF6;
}

.shell00824-hero h1 .shell00824-h1mark {
  color: var(--shell00824-mint);
  border-bottom: 3px solid var(--shell00824-teal);
}

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

.shell00824-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
}

.shell00824-fact {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--shell00824-mint);
  background: rgba(154, 255, 154, 0.07);
  border: 1px solid var(--shell00824-mint-dim);
  border-radius: var(--shell00824-radius-s);
  padding: 5px 9px;
}

/* segmented action buttons */

.shell00824-seg {
  display: inline-flex;
  align-items: stretch;
  border-radius: var(--shell00824-radius-s);
  overflow: hidden;
  min-height: 44px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, filter 0.2s ease;
}

.shell00824-seg:active {
  transform: scale(0.97);
}

.shell00824-segmain {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  font-family: var(--shell00824-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.shell00824-segtail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  border-left: 1px solid rgba(4, 17, 15, 0.35);
  font-size: 14px;
}

.shell00824-seg.shell00824-segmain-c {
  background: linear-gradient(135deg, #20B2AA, #157A75);
  color: #04110F;
}

.shell00824-seg.shell00824-segmain-c .shell00824-segtail {
  background: rgba(4, 17, 15, 0.16);
}

.shell00824-seg.shell00824-seghost {
  background: transparent;
  border-color: var(--shell00824-teal-line);
  color: var(--shell00824-mint);
}

.shell00824-seg.shell00824-seghost .shell00824-segtail {
  border-left-color: var(--shell00824-teal-line);
  background: var(--shell00824-teal-soft);
}

.shell00824-heroc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 6px;
}

/* ---------- carousel ---------- */

.shell00824-carousel {
  margin: 12px 14px 4px;
}

.shell00824-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--shell00824-radius-m);
  -webkit-overflow-scrolling: touch;
}

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

.shell00824-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  border-radius: var(--shell00824-radius-m);
  overflow: hidden;
  border: 1px solid var(--shell00824-teal-line);
  min-height: 152px;
}

.shell00824-slide img {
  width: 100%;
  height: 152px;
  object-fit: cover;
}

.shell00824-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(6, 6, 15, 0.92));
  color: #F4FFF6;
}

.shell00824-slidecap b {
  font-family: var(--shell00824-font-head);
  font-size: 15px;
  letter-spacing: 0.4px;
  color: var(--shell00824-mint);
}

.shell00824-slidecap small {
  font-size: 11px;
  color: var(--shell00824-paper-dim);
}

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

.shell00824-dot {
  width: 20px;
  height: 5px;
  border-radius: 3px;
  border: none;
  padding: 0;
  background: rgba(154, 255, 154, 0.22);
  transition: background 0.25s ease, width 0.25s ease;
}

.shell00824-dot.shell00824-on {
  width: 30px;
  background: var(--shell00824-teal);
}

/* ---------- game rooms ---------- */

.shell00824-room {
  padding: 16px 14px 4px;
}

.shell00824-roomhead {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.shell00824-roomkick {
  margin: 0 0 3px;
  font-family: var(--shell00824-font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--shell00824-teal);
}

.shell00824-roomtitle {
  margin: 0 0 4px;
  font-family: var(--shell00824-font-head);
  font-size: 16.5px;
  line-height: 1.25;
  font-weight: 700;
  color: #F4FFF6;
}

.shell00824-roomsub {
  margin: 0;
  font-size: 12px;
  color: var(--shell00824-paper-dim);
}

.shell00824-roomgo {
  flex: 0 0 auto;
  margin-left: auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  border-radius: var(--shell00824-radius-s);
  background: var(--shell00824-teal-soft);
  border: 1px solid var(--shell00824-teal-line);
  color: var(--shell00824-mint);
  font-family: var(--shell00824-font-head);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.25s ease;
}

.shell00824-roomgo:active {
  transform: scale(0.95);
}

.shell00824-roomnote {
  margin: 8px 0 10px;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--shell00824-paper-dim);
  background: rgba(23, 23, 51, 0.65);
  border-left: 3px solid var(--shell00824-teal);
  border-radius: 0 var(--shell00824-radius-s) var(--shell00824-radius-s) 0;
}

.shell00824-roomnote a {
  color: var(--shell00824-mint);
  font-weight: 600;
  border-bottom: 1px dotted rgba(154, 255, 154, 0.5);
}

/* game grid: 4 columns at 320px, 5 columns from 380px up */

.shell00824-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.shell00824-tile {
  display: block;
  padding: 6px 5px 7px;
  text-align: center;
  background: var(--shell00824-ink-panel);
  border: 1px solid rgba(154, 255, 154, 0.10);
  border-radius: var(--shell00824-radius-m);
  transition: transform 0.15s ease, border-color 0.25s ease, background 0.25s ease;
}

.shell00824-tile:active {
  transform: scale(0.95);
  border-color: var(--shell00824-teal);
}

.shell00824-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--shell00824-radius-s);
  background: #12122A;
}

.shell00824-tname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 5px;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: #CFEEDF;
}

/* compact tip lines (room and panel notes) */

.shell00824-tips {
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.shell00824-tips li {
  position: relative;
  padding: 8px 10px 8px 26px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--shell00824-paper);
  background: var(--shell00824-ink-card);
  border: 1px solid rgba(154, 255, 154, 0.10);
  border-radius: var(--shell00824-radius-s);
}

.shell00824-tips li::before {
  content: "\203A";
  position: absolute;
  left: 11px;
  top: 7px;
  color: var(--shell00824-teal);
  font-family: var(--shell00824-font-head);
  font-weight: 700;
}

/* direct answer callout */

.shell00824-answer {
  margin: 10px 0 12px;
  padding: 12px;
  background: var(--shell00824-mint-dim);
  border: 1px solid var(--shell00824-teal-line);
  border-left: 4px solid var(--shell00824-teal);
  border-radius: var(--shell00824-radius-m);
  font-size: 13px;
  line-height: 1.55;
  color: #F4FFF6;
}

.shell00824-answer b {
  color: var(--shell00824-mint);
  font-family: var(--shell00824-font-head);
}

/* numbered step timeline */

.shell00824-steps {
  list-style: none;
  margin: 10px 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
  counter-reset: shell00824-stepcount;
}

.shell00824-steps li {
  position: relative;
  counter-increment: shell00824-stepcount;
  padding: 10px 10px 10px 44px;
  background: var(--shell00824-ink-card);
  border: 1px solid rgba(154, 255, 154, 0.10);
  border-radius: var(--shell00824-radius-m);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--shell00824-paper);
}

.shell00824-steps li::before {
  content: counter(shell00824-stepcount, decimal-leading-zero);
  position: absolute;
  left: 10px;
  top: 10px;
  font-family: var(--shell00824-font-head);
  font-size: 12px;
  font-weight: 700;
  color: #04110F;
  background: var(--shell00824-teal);
  border-radius: 6px;
  padding: 2px 5px;
}

.shell00824-steps li b {
  display: block;
  font-family: var(--shell00824-font-head);
  font-size: 13px;
  color: var(--shell00824-mint);
  margin-bottom: 2px;
}

/* device / browser key-value matrix */

.shell00824-matrix {
  margin: 10px 0 12px;
  display: grid;
  gap: 6px;
}

.shell00824-mrow {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 8px;
  align-items: start;
  padding: 9px 10px;
  background: var(--shell00824-ink-card);
  border: 1px solid rgba(154, 255, 154, 0.10);
  border-radius: var(--shell00824-radius-s);
}

.shell00824-mkey {
  font-family: var(--shell00824-font-head);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--shell00824-teal);
  padding-top: 1px;
}

.shell00824-mval {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--shell00824-paper);
}

/* pros vs limits split */

.shell00824-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 10px 0 12px;
}

@media (min-width: 380px) {
  .shell00824-split {
    grid-template-columns: 1fr 1fr;
  }
}

.shell00824-half {
  padding: 11px;
  border-radius: var(--shell00824-radius-m);
  background: var(--shell00824-ink-card);
  border: 1px solid var(--shell00824-teal-line);
}

.shell00824-half.shell00824-halfdim {
  border-color: rgba(128, 128, 128, 0.35);
}

.shell00824-halfhead {
  display: block;
  font-family: var(--shell00824-font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shell00824-mint);
  margin-bottom: 6px;
}

.shell00824-halfdim .shell00824-halfhead {
  color: var(--shell00824-paper-dim);
}

.shell00824-half ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.shell00824-half ul li {
  position: relative;
  padding-left: 16px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--shell00824-paper);
}

.shell00824-half ul li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--shell00824-teal);
  font-weight: 700;
}

.shell00824-halfdim ul li::before {
  content: "\2013";
  color: var(--shell00824-gray);
}

/* ---------- content panels ---------- */

.shell00824-panel {
  margin: 16px 14px 0;
  padding: 14px;
  background: linear-gradient(180deg, #15152E, #111128);
  border: 1px solid rgba(32, 178, 170, 0.20);
  border-radius: var(--shell00824-radius-l);
}

.shell00824-paneltitle {
  margin: 0 0 4px;
  font-family: var(--shell00824-font-head);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  color: #F4FFF6;
}

.shell00824-panelsub {
  margin: 0 0 12px;
  font-size: 11.5px;
  color: var(--shell00824-gray);
}

.shell00824-panel p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--shell00824-paper);
}

.shell00824-panel p a,
.shell00824-prose a {
  color: var(--shell00824-mint);
  font-weight: 600;
  border-bottom: 1px dotted rgba(154, 255, 154, 0.5);
}

/* promotions rows */

.shell00824-promos {
  display: grid;
  gap: 8px;
  margin: 4px 0 12px;
}

.shell00824-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--shell00824-ink-card);
  border: 1px solid var(--shell00824-mint-dim);
  border-radius: var(--shell00824-radius-m);
}

.shell00824-promoic {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--shell00824-radius-s);
  background: var(--shell00824-teal-soft);
  color: var(--shell00824-teal);
  font-family: var(--shell00824-font-head);
  font-weight: 700;
  font-size: 13px;
}

.shell00824-promotxt {
  min-width: 0;
}

.shell00824-promotxt b {
  display: block;
  font-family: var(--shell00824-font-head);
  font-size: 13px;
  color: var(--shell00824-mint);
}

.shell00824-promotxt small {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  color: var(--shell00824-paper-dim);
}

.shell00824-promo .shell00824-seg {
  margin-left: auto;
  min-height: 40px;
}

.shell00824-promo .shell00824-seg .shell00824-segmain {
  padding: 0 10px;
  font-size: 12px;
}

/* feature grid */

.shell00824-feats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 4px 0 12px;
  padding: 0;
}

.shell00824-feat {
  padding: 10px;
  background: var(--shell00824-ink-card);
  border: 1px solid rgba(154, 255, 154, 0.10);
  border-radius: var(--shell00824-radius-m);
}

.shell00824-featnum {
  display: inline-block;
  margin-bottom: 5px;
  font-family: var(--shell00824-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #04110F;
  background: var(--shell00824-teal);
  border-radius: 4px;
  padding: 1px 6px;
}

.shell00824-feat b {
  display: block;
  font-family: var(--shell00824-font-head);
  font-size: 12.5px;
  color: var(--shell00824-mint);
  margin-bottom: 3px;
}

.shell00824-feat small {
  font-size: 11px;
  line-height: 1.45;
  color: var(--shell00824-paper-dim);
}

/* rtp stat strip */

.shell00824-rtpstats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 4px 0 12px;
}

.shell00824-rtpstat {
  padding: 10px 8px;
  text-align: center;
  background: var(--shell00824-ink-card);
  border: 1px solid var(--shell00824-teal-line);
  border-radius: var(--shell00824-radius-m);
}

.shell00824-rtpstat b {
  display: block;
  font-family: var(--shell00824-font-head);
  font-size: 15px;
  color: var(--shell00824-mint);
}

.shell00824-rtpstat small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.35;
  color: var(--shell00824-paper-dim);
}

/* checklist */

.shell00824-check {
  list-style: none;
  margin: 4px 0 12px;
  padding: 0;
  display: grid;
  gap: 7px;
}

.shell00824-checkitem {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  background: var(--shell00824-ink-card);
  border: 1px solid rgba(154, 255, 154, 0.10);
  border-radius: var(--shell00824-radius-m);
  font-size: 12.5px;
  color: var(--shell00824-paper);
}

.shell00824-box {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  border: 2px solid var(--shell00824-teal);
  background:
    linear-gradient(135deg, rgba(154, 255, 154, 0.22), rgba(32, 178, 170, 0.10)),
    var(--shell00824-ink-panel);
  box-shadow: inset 0 0 0 2px var(--shell00824-ink-panel);
}

/* glossary */

.shell00824-gloss {
  margin: 4px 0 6px;
  display: grid;
  gap: 8px;
}

.shell00824-term {
  padding: 10px;
  background: var(--shell00824-ink-card);
  border: 1px solid rgba(154, 255, 154, 0.10);
  border-radius: var(--shell00824-radius-m);
}

.shell00824-term dt {
  font-family: var(--shell00824-font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shell00824-mint);
}

.shell00824-term dd {
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--shell00824-paper-dim);
}

/* ---------- extended footer ---------- */

.shell00824-xfoot {
  margin: 18px 14px 0;
  padding: 14px;
  background: #12122A;
  border: 1px solid var(--shell00824-mint-dim);
  border-radius: var(--shell00824-radius-l);
  display: grid;
  gap: 14px;
}

.shell00824-xlabel {
  margin: 0 0 7px;
  font-family: var(--shell00824-font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--shell00824-teal);
}

.shell00824-xdir {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.shell00824-xlink {
  display: block;
  min-height: 44px;
  padding: 8px 9px;
  background: var(--shell00824-ink-card);
  border: 1px solid rgba(154, 255, 154, 0.10);
  border-radius: var(--shell00824-radius-s);
}

.shell00824-xlink b {
  display: block;
  font-family: var(--shell00824-font-head);
  font-size: 12px;
  color: var(--shell00824-mint);
}

.shell00824-xlink small {
  display: block;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--shell00824-paper-dim);
}

.shell00824-xbrand {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--shell00824-paper-dim);
}

.shell00824-xpromo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.shell00824-xbtn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  border-radius: var(--shell00824-radius-s);
  background: var(--shell00824-teal-soft);
  border: 1px solid var(--shell00824-teal-line);
  color: var(--shell00824-mint);
  font-family: var(--shell00824-font-head);
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  transition: background 0.25s ease, transform 0.15s ease;
}

.shell00824-xbtn:active {
  transform: scale(0.96);
  background: rgba(32, 178, 170, 0.30);
}

.shell00824-xnote {
  margin: 0;
  padding: 10px;
  font-size: 11px;
  line-height: 1.55;
  color: var(--shell00824-gray);
  background: rgba(128, 128, 128, 0.08);
  border-radius: var(--shell00824-radius-s);
}

/* copyright bar (common bottom text; dock nav below) */

.shell00824-copy {
  margin-top: 16px;
  padding: 12px 16px 8px;
  text-align: center;
  font-size: 11px;
  color: var(--shell00824-gray);
  border-top: 1px solid rgba(154, 255, 154, 0.08);
}

.shell00824-copy b {
  color: var(--shell00824-paper-dim);
  font-weight: 600;
}

/* ---------- side drawer menu ---------- */

.shell00824-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(84%, 316px);
  z-index: 60;
  background: #12122A;
  border-left: 1px solid var(--shell00824-teal-line);
  transform: translateX(105%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 14px 12px calc(14px + env(safe-area-inset-bottom));
  max-width: 480px;
}

.shell00824-drawer.shell00824-open {
  transform: translateX(0);
}

.shell00824-drawerhead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(154, 255, 154, 0.10);
}

.shell00824-drawerhead img {
  width: 30px;
  height: 30px;
  border-radius: var(--shell00824-radius-s);
  border: 1px solid var(--shell00824-teal-line);
}

.shell00824-drawertitle {
  font-family: var(--shell00824-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--shell00824-mint);
}

.shell00824-drawerclose {
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: var(--shell00824-radius-s);
  background: var(--shell00824-ink-card);
  border: 1px solid var(--shell00824-mint-dim);
  color: var(--shell00824-mint);
  font-size: 16px;
  line-height: 1;
}

.shell00824-drawergroup {
  margin: 14px 0 0;
}

.shell00824-grouplabel {
  margin: 0 0 6px;
  font-family: var(--shell00824-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--shell00824-teal);
}

.shell00824-dlink {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  margin-bottom: 4px;
  border-radius: var(--shell00824-radius-m);
  background: var(--shell00824-ink-card);
  border: 1px solid rgba(154, 255, 154, 0.08);
  color: var(--shell00824-paper);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.shell00824-dlink span {
  margin-left: auto;
  color: var(--shell00824-teal);
  font-size: 11px;
}

.shell00824-drawercta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(154, 255, 154, 0.10);
}

.shell00824-scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(4, 4, 12, 0.66);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.shell00824-scrim.shell00824-show {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- floating dock nav (fixed bottom) ---------- */

.shell00824-dock {
  position: fixed;
  bottom: calc(10px + env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  margin: 0 auto;
  width: calc(100% - 20px);
  max-width: 460px;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 6px;
  background: rgba(23, 23, 51, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--shell00824-teal-line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.shell00824-dockitem {
  position: relative;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 2px;
  border-radius: 12px;
  color: var(--shell00824-gray);
  transition: color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.shell00824-dockitem svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.shell00824-dockitem span {
  font-family: var(--shell00824-font-head);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.shell00824-dockitem:active {
  transform: scale(0.94);
}

.shell00824-dockitem.shell00824-on {
  color: var(--shell00824-mint);
  background: linear-gradient(180deg, rgba(32, 178, 170, 0.26), rgba(32, 178, 170, 0.10));
  border: 1px solid var(--shell00824-teal-line);
  transform: translateY(-2px);
}

.shell00824-dockitem.shell00824-on::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--shell00824-teal);
}

/* ---------- breakpoints ---------- */

/* 5-column game grid from 380px phones */
@media (min-width: 380px) {
  .shell00824-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .shell00824-tname {
    font-size: 10.8px;
  }
}

/* comfort layer for 430px and larger phones */
@media (min-width: 430px) {
  .shell00824-hero,
  .shell00824-room,
  .shell00824-carousel,
  .shell00824-panel,
  .shell00824-xfoot {
    margin-left: auto;
    margin-right: auto;
  }

  .shell00824-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .shell00824-room {
    padding-left: 20px;
    padding-right: 20px;
  }

  .shell00824-carousel,
  .shell00824-panel,
  .shell00824-xfoot {
    margin-left: 20px;
    margin-right: 20px;
  }

  .shell00824-grid {
    gap: 10px;
  }

  .shell00824-slide img,
  .shell00824-slide {
    min-height: 172px;
  }

  .shell00824-slide img {
    height: 172px;
  }

  .shell00824-dock {
    max-width: 440px;
  }

  .shell00824-lead {
    font-size: 14px;
  }
}

/* wide screens keep the centered phone canvas with edge glow */
@media (min-width: 520px) {
  .shell00824-canvas {
    box-shadow: 0 0 0 1px rgba(154, 255, 154, 0.08), 0 0 60px rgba(32, 178, 170, 0.12);
  }
}

/* ---------- motion preferences ---------- */

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

  .shell00824-tile,
  .shell00824-seg,
  .shell00824-dockitem,
  .shell00824-drawer,
  .shell00824-scrim,
  .shell00824-tab,
  .shell00824-dot {
    transition: none;
  }
}
