/* ============================================================
   tongits pro apk - mobile shell stylesheet
   palette: #333333 ink / #BC8F8F rose / #FFEFD5 cream / #FAFAFA paper
   direction: mono accents + plain body text, stroke-led corners,
   image-only game tiles, compact metric rows, menu slide + card lift
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --shella554c-ink: #333333;
  --shella554c-ink-2: #3c3c3c;
  --shella554c-ink-3: #454545;
  --shella554c-rose: #bc8f8f;
  --shella554c-rose-dim: rgba(188, 143, 143, 0.38);
  --shella554c-rose-faint: rgba(188, 143, 143, 0.16);
  --shella554c-cream: #ffefd5;
  --shella554c-paper: #fafafa;
  --shella554c-paper-dim: rgba(250, 250, 250, 0.72);
  --shella554c-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --shella554c-body: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --shella554c-r: 6px;
  --shella554c-r-lg: 10px;
  --shella554c-topbar-h: 56px;
  --shella554c-dock-h: 66px;
  --shella554c-gap: 10px;
}

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

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

body {
  background: #262626;
  color: var(--shella554c-paper);
  font-family: var(--shella554c-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

a { color: var(--shella554c-cream); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--shella554c-cream);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection { background: var(--shella554c-rose); color: var(--shella554c-ink); }

/* ---------- phone canvas ---------- */
.shella554c-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shella554c-ink);
  border-inline: 1px solid rgba(188, 143, 143, 0.22);
  overflow-x: clip;
}

.shella554c-skip {
  position: absolute;
  left: 10px;
  top: -48px;
  z-index: 90;
  padding: 8px 14px;
  background: var(--shella554c-cream);
  color: var(--shella554c-ink);
  font-family: var(--shella554c-mono);
  font-size: 12px;
  border-radius: var(--shella554c-r);
  transition: top 0.2s ease;
}
.shella554c-skip:focus { top: 8px; text-decoration: none; }

/* ---------- top bar : compact brand strip ---------- */
.shella554c-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--shella554c-topbar-h);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: rgba(51, 51, 51, 0.97);
  border-bottom: 1px solid var(--shella554c-rose-dim);
  backdrop-filter: blur(6px);
}

.shella554c-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.shella554c-brandlogo {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: var(--shella554c-r);
  border: 1px solid var(--shella554c-rose-dim);
  padding: 2px;
  background: var(--shella554c-ink-2);
}

.shella554c-brandname {
  font-family: var(--shella554c-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: lowercase;
  color: var(--shella554c-cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

/* CTA shape: lightly rounded text button group */
.shella554c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--shella554c-r);
  font-family: var(--shella554c-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.shella554c-btn:active { transform: translateY(1px) scale(0.98); }

.shella554c-btn--solid {
  background: var(--shella554c-cream);
  color: var(--shella554c-ink);
  border-color: var(--shella554c-cream);
}
.shella554c-btn--solid:hover { background: #fff8ea; }

.shella554c-btn--ghost {
  background: transparent;
  color: var(--shella554c-cream);
  border-color: var(--shella554c-rose-dim);
}
.shella554c-btn--ghost:hover { border-color: var(--shella554c-rose); text-decoration: none; }

.shella554c-menubtn {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shella554c-rose-dim);
  border-radius: var(--shella554c-r);
  color: var(--shella554c-cream);
}
.shella554c-menubtn svg { width: 20px; height: 20px; }
.shella554c-menubtn:active { transform: scale(0.94); }
.shella554c-menubtn.shella554c-is-open { border-color: var(--shella554c-cream); }

/* ---------- full-height menu layer ---------- */
.shella554c-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  width: 100%;
  max-width: 430px;
  left: 50%;
  transform: translateX(-50%);
  visibility: hidden;
  pointer-events: none;
}
.shella554c-menu.shella554c-is-open { visibility: visible; pointer-events: auto; }

.shella554c-menu__scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.shella554c-menu.shella554c-is-open .shella554c-menu__scrim { opacity: 1; }

.shella554c-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  max-width: 320px;
  background: var(--shella554c-ink-2);
  border-left: 1px solid var(--shella554c-rose-dim);
  transform: translateX(102%);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: calc(var(--shella554c-dock-h) + 14px);
}
.shella554c-menu.shella554c-is-open .shella554c-menu__panel { transform: translateX(0); }

.shella554c-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--shella554c-rose-faint);
}
.shella554c-menu__title {
  font-family: var(--shella554c-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shella554c-rose);
}

.shella554c-closebtn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shella554c-rose-dim);
  border-radius: var(--shella554c-r);
  color: var(--shella554c-cream);
}
.shella554c-closebtn svg { width: 18px; height: 18px; }

.shella554c-menu__list { list-style: none; padding: 8px 0; }

.shella554c-menu__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 16px;
  border-left: 3px solid transparent;
  color: var(--shella554c-paper);
  font-size: 14.5px;
}
.shella554c-menu__link:hover,
.shella554c-menu__link:focus-visible {
  background: var(--shella554c-rose-faint);
  text-decoration: none;
  border-left-color: var(--shella554c-rose);
}
.shella554c-menu__link[aria-current="page"] {
  border-left-color: var(--shella554c-cream);
  color: var(--shella554c-cream);
  background: var(--shella554c-rose-faint);
}

.shella554c-menu__num {
  font-family: var(--shella554c-mono);
  font-size: 11px;
  color: var(--shella554c-rose);
  flex: 0 0 22px;
}

.shella554c-menu__foot {
  margin-top: auto;
  padding: 14px 16px 18px;
  border-top: 1px solid var(--shella554c-rose-faint);
}
.shella554c-menu__foot p {
  font-size: 11.5px;
  color: var(--shella554c-paper-dim);
  margin-bottom: 10px;
}

/* ---------- main column ---------- */
.shella554c-main {
  padding: calc(var(--shella554c-topbar-h) + 12px) 12px
           calc(var(--shella554c-dock-h) + 26px);
}

.shella554c-sec { margin-top: 26px; }

.shella554c-sec__tag {
  display: inline-block;
  font-family: var(--shella554c-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shella554c-rose);
  border: 1px solid var(--shella554c-rose-dim);
  border-radius: 3px;
  padding: 3px 8px;
  margin-bottom: 8px;
}

.shella554c-sec__title {
  font-size: 19px;
  line-height: 1.3;
  color: var(--shella554c-cream);
  margin-bottom: 8px;
}

.shella554c-lede {
  color: var(--shella554c-paper-dim);
  font-size: 14.5px;
}

/* ---------- hero ---------- */
.shella554c-hero {
  border: 1px solid var(--shella554c-rose-dim);
  border-radius: var(--shella554c-r-lg);
  background:
    linear-gradient(160deg, rgba(188, 143, 143, 0.18), rgba(51, 51, 51, 0) 58%),
    var(--shella554c-ink-2);
  padding: 16px 14px 14px;
}

.shella554c-hero__kicker {
  font-family: var(--shella554c-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shella554c-rose);
  margin-bottom: 6px;
}

.shella554c-hero__title {
  font-size: 24px;
  line-height: 1.22;
  color: var(--shella554c-cream);
  margin-bottom: 8px;
}

.shella554c-hero__lede { font-size: 14px; color: var(--shella554c-paper-dim); }

.shella554c-ctagroup {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.shella554c-ctagroup .shella554c-btn { flex: 1 1 130px; }

/* compact metric strip */
.shella554c-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 12px;
}
.shella554c-metric {
  border: 1px solid var(--shella554c-rose-faint);
  border-radius: var(--shella554c-r);
  padding: 7px 4px 6px;
  text-align: center;
  background: rgba(51, 51, 51, 0.5);
}
.shella554c-metric__num {
  font-family: var(--shella554c-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--shella554c-cream);
  display: block;
}
.shella554c-metric__label {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shella554c-rose);
  display: block;
  margin-top: 2px;
}

/* ---------- carousel ---------- */
.shella554c-carousel { margin-top: 18px; }

.shella554c-slides {
  position: relative;
  aspect-ratio: 2 / 1;
  border: 1px solid var(--shella554c-rose-dim);
  border-radius: var(--shella554c-r-lg);
  overflow: hidden;
  background: var(--shella554c-ink-2);
}

.shella554c-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  opacity: 0;
  transition: opacity 0.45s ease;
  text-align: left;
}
.shella554c-slide.shella554c-is-on { opacity: 1; z-index: 2; }

.shella554c-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shella554c-slide__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(38, 38, 38, 0), rgba(38, 38, 38, 0.92));
  font-family: var(--shella554c-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--shella554c-cream);
}
.shella554c-slide__go {
  flex: 0 0 auto;
  border: 1px solid var(--shella554c-cream);
  border-radius: 4px;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.shella554c-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.shella554c-dot {
  width: 26px;
  height: 6px;
  border-radius: 3px;
  border: 1px solid var(--shella554c-rose-dim);
  background: transparent;
}
.shella554c-dot.shella554c-is-on { background: var(--shella554c-cream); border-color: var(--shella554c-cream); }

/* ---------- game lobby ---------- */
.shella554c-lobby { margin-top: 26px; }

.shella554c-cat {
  margin-top: 20px;
  border: 1px solid var(--shella554c-rose-faint);
  border-radius: var(--shella554c-r-lg);
  padding: 12px 10px 12px;
  background: rgba(60, 60, 60, 0.42);
}

.shella554c-cat__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 2px;
}

.shella554c-cat__title {
  font-family: var(--shella554c-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shella554c-cream);
}

.shella554c-cat__count {
  font-family: var(--shella554c-mono);
  font-size: 10px;
  color: var(--shella554c-rose);
  border: 1px solid var(--shella554c-rose-dim);
  border-radius: 3px;
  padding: 1px 6px;
}

.shella554c-cat__note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--shella554c-paper-dim);
  margin: 6px 2px 10px;
}
.shella554c-cat__note a {
  color: var(--shella554c-cream);
  border-bottom: 1px solid var(--shella554c-rose-dim);
}

/* pure image tile grid : 4 cols at 320px, 5 cols from 375px */
.shella554c-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 6px;
}

.shella554c-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  border-radius: var(--shella554c-r);
  padding: 0;
  text-align: center;
  transition: transform 0.18s ease;
}
.shella554c-tile:active { transform: translateY(-2px) scale(0.97); }

.shella554c-tile__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--shella554c-rose-faint);
  border-radius: var(--shella554c-r);
  background: var(--shella554c-ink-3);
}

.shella554c-tile__name {
  font-size: 10.5px;
  line-height: 1.25;
  color: var(--shella554c-paper);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 26px;
}

/* ---------- module : feature rows (compact metric-explanation) ---------- */
.shella554c-fr {
  list-style: none;
  border: 1px solid var(--shella554c-rose-faint);
  border-radius: var(--shella554c-r-lg);
  overflow: hidden;
}
.shella554c-frow {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--shella554c-rose-faint);
  background: rgba(60, 60, 60, 0.35);
}
.shella554c-frow:last-child { border-bottom: 0; }
.shella554c-frow__k {
  font-family: var(--shella554c-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--shella554c-rose);
  padding-top: 2px;
}
.shella554c-frow__v { font-size: 13px; line-height: 1.5; color: var(--shella554c-paper); }

/* ---------- module : numbered tricks ---------- */
.shella554c-steps { list-style: none; counter-reset: shella554c-step; }

.shella554c-step {
  counter-increment: shella554c-step;
  position: relative;
  padding: 0 0 12px 40px;
  border-left: 1px solid var(--shella554c-rose-faint);
  margin-left: 12px;
}
.shella554c-step:last-child { padding-bottom: 2px; }
.shella554c-step::before {
  content: counter(shella554c-step, decimal-leading-zero);
  position: absolute;
  left: -13px;
  top: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shella554c-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--shella554c-cream);
  background: var(--shella554c-ink-2);
  border: 1px solid var(--shella554c-rose-dim);
  border-radius: 50%;
}
.shella554c-step__t { font-size: 13.5px; line-height: 1.55; color: var(--shella554c-paper); }
.shella554c-step__t strong { color: var(--shella554c-cream); }

/* ---------- module : payment rows ---------- */
.shella554c-pays { display: grid; gap: 8px; margin-top: 10px; }

.shella554c-pay {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 10px 12px;
  border: 1px solid var(--shella554c-rose-faint);
  border-left: 3px solid var(--shella554c-rose);
  border-radius: var(--shella554c-r);
  background: rgba(60, 60, 60, 0.35);
}
.shella554c-pay__name {
  font-family: var(--shella554c-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shella554c-cream);
  flex: 1 1 auto;
}
.shella554c-pay__meta { font-size: 12px; color: var(--shella554c-paper-dim); flex: 1 1 100%; }

.shella554c-chip {
  font-family: var(--shella554c-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shella554c-rose);
  border: 1px solid var(--shella554c-rose-dim);
  border-radius: 3px;
  padding: 2px 6px;
  white-space: nowrap;
}

/* ---------- module : prose + audience tags ---------- */
.shella554c-prose p { margin-bottom: 10px; font-size: 14px; color: var(--shella554c-paper); }
.shella554c-prose p:last-child { margin-bottom: 0; }

.shella554c-tagrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.shella554c-tag {
  font-family: var(--shella554c-mono);
  font-size: 10.5px;
  color: var(--shella554c-cream);
  border: 1px solid var(--shella554c-rose-dim);
  border-radius: 3px;
  padding: 3px 8px;
}

/* ---------- module : checklist ---------- */
.shella554c-checks { list-style: none; display: grid; gap: 8px; }

.shella554c-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px dashed var(--shella554c-rose-dim);
  border-radius: var(--shella554c-r);
  font-size: 13px;
  line-height: 1.5;
  color: var(--shella554c-paper);
  background: rgba(60, 60, 60, 0.28);
}
.shella554c-check__box {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid var(--shella554c-rose);
  border-radius: 4px;
  position: relative;
}
.shella554c-check__box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 7px;
  height: 10px;
  border: solid var(--shella554c-cream);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}
.shella554c-check strong { color: var(--shella554c-cream); }

/* ---------- folded mini Q&A ---------- */
.shella554c-qa {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--shella554c-rose-faint);
  border-radius: var(--shella554c-r);
  background: rgba(188, 143, 143, 0.08);
}
.shella554c-qa__q {
  font-family: var(--shella554c-mono);
  font-size: 12px;
  color: var(--shella554c-cream);
  margin-bottom: 4px;
}
.shella554c-qa__a { font-size: 13px; color: var(--shella554c-paper-dim); }

/* ---------- extended footer : compact groups ---------- */
.shella554c-xfoot {
  margin-top: 28px;
  border: 1px solid var(--shella554c-rose-dim);
  border-radius: var(--shella554c-r-lg);
  background: var(--shella554c-ink-2);
  padding: 14px 12px;
  display: grid;
  gap: 16px;
}

.shella554c-xfoot__h {
  font-family: var(--shella554c-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shella554c-rose);
  margin-bottom: 8px;
}

.shella554c-promos { display: flex; flex-wrap: wrap; gap: 7px; }

.shella554c-promo {
  font-family: var(--shella554c-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--shella554c-cream);
  border: 1px solid var(--shella554c-rose-dim);
  border-radius: var(--shella554c-r);
  padding: 8px 11px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.shella554c-promo:hover { border-color: var(--shella554c-cream); text-decoration: none; }
.shella554c-promo:active { transform: scale(0.96); }

.shella554c-xfoot__brand { font-size: 13px; line-height: 1.6; color: var(--shella554c-paper-dim); }

.shella554c-dir { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }

.shella554c-dir__link {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 6px 9px;
  border: 1px solid var(--shella554c-rose-faint);
  border-radius: var(--shella554c-r);
  font-size: 12px;
  color: var(--shella554c-paper);
}
.shella554c-dir__link:hover { border-color: var(--shella554c-rose); text-decoration: none; }
.shella554c-dir__mark {
  font-family: var(--shella554c-mono);
  font-size: 9px;
  color: var(--shella554c-rose);
  flex: 0 0 auto;
}

.shella554c-xfoot__note {
  font-size: 11px;
  line-height: 1.55;
  color: var(--shella554c-paper-dim);
  border-top: 1px solid var(--shella554c-rose-faint);
  padding-top: 10px;
}
.shella554c-xfoot__note strong { color: var(--shella554c-cream); }

/* ---------- common footer ---------- */
.shella554c-footer {
  margin-top: 20px;
  padding: 14px 4px 4px;
  border-top: 1px solid var(--shella554c-rose-faint);
  text-align: center;
}
.shella554c-footer__copy {
  font-family: var(--shella554c-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--shella554c-paper-dim);
}
.shella554c-footer__sub {
  font-size: 10.5px;
  color: var(--shella554c-rose);
  margin-top: 4px;
}

/* ---------- layered bottom dock ---------- */
.shella554c-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 75;
  background: rgba(44, 44, 44, 0.98);
  border-top: 1px solid var(--shella554c-rose-dim);
  box-shadow: 0 -8px 18px rgba(0, 0, 0, 0.28);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
/* layered rail strip above the buttons */
.shella554c-dock::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg,
    rgba(188, 143, 143, 0) 0%,
    var(--shella554c-rose) 35%,
    var(--shella554c-cream) 50%,
    var(--shella554c-rose) 65%,
    rgba(188, 143, 143, 0) 100%);
  opacity: 0.55;
}

.shella554c-dock__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: var(--shella554c-dock-h);
  align-items: stretch;
}

/* containerized symbol tile + label, underline marks active */
.shella554c-dockbtn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 44px;
  padding: 7px 2px 6px;
}
.shella554c-dockbtn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--shella554c-cream);
  transform: translateX(-50%);
  transition: width 0.2s ease;
}
.shella554c-dockbtn.shella554c-is-active::after { width: 26px; }

.shella554c-docktile {
  width: 34px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shella554c-rose-dim);
  border-radius: var(--shella554c-r);
  color: var(--shella554c-rose);
  background: rgba(51, 51, 51, 0.65);
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.shella554c-dockbtn.shella554c-is-active .shella554c-docktile {
  color: var(--shella554c-ink);
  background: var(--shella554c-cream);
  border-color: var(--shella554c-cream);
  transform: translateY(-2px);
}
/* micro-interaction : icon morphs on press */
.shella554c-dockbtn:active .shella554c-docktile { transform: scale(0.85) rotate(-4deg); }

.shella554c-docktile svg { width: 17px; height: 17px; }

.shella554c-docklabel {
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--shella554c-paper-dim);
}
.shella554c-dockbtn.shella554c-is-active .shella554c-docklabel { color: var(--shella554c-cream); }

/* ---------- scroll reveal (JS adds .shella554c-is-in; hidden only when JS runs) ---------- */
.shella554c-lift { transition: opacity 0.4s ease, transform 0.4s ease; }
html.shella554c-js .shella554c-lift { opacity: 0; transform: translateY(12px); }
html.shella554c-js .shella554c-lift.shella554c-is-in { opacity: 1; transform: none; }

/* ---------- responsive ladder ---------- */
@media (min-width: 375px) {
  .shella554c-grid { grid-template-columns: repeat(5, 1fr); }
  .shella554c-hero__title { font-size: 26px; }
  .shella554c-metric__num { font-size: 16px; }
}

@media (min-width: 414px) {
  .shella554c-tile__name { font-size: 11px; }
  .shella554c-hero { padding: 20px 18px 16px; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html.shella554c-js .shella554c-lift { opacity: 1; transform: none; }
}

/* ---------- help-page compositions ---------- */
.shella554c-helpintro {
  border-left: 3px solid var(--shella554c-cream);
  padding: 10px 12px;
  background: rgba(188, 143, 143, 0.1);
}
.shella554c-helpintro p { color: var(--shella554c-paper); font-size: 14px; }
.shella554c-statline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
}
.shella554c-statline__item {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7px 5px;
  border-top: 2px solid var(--shella554c-rose);
  background: rgba(60, 60, 60, 0.5);
  text-align: center;
}
.shella554c-statline__value { font-family: var(--shella554c-mono); color: var(--shella554c-cream); font-size: 15px; font-weight: 700; }
.shella554c-statline__label { color: var(--shella554c-paper-dim); font-size: 10px; margin-top: 2px; }
.shella554c-rail { display: grid; gap: 8px; counter-reset: rail; }
.shella554c-rail__item {
  counter-increment: rail;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  align-items: start;
  padding: 10px 10px 10px 7px;
  border-bottom: 1px solid var(--shella554c-rose-faint);
}
.shella554c-rail__item::before {
  content: counter(rail, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--shella554c-rose);
  border-radius: 50%;
  color: var(--shella554c-cream);
  font-family: var(--shella554c-mono);
  font-size: 10px;
}
.shella554c-rail__item strong { display: block; color: var(--shella554c-cream); font-size: 13.5px; margin-bottom: 2px; }
.shella554c-rail__item span { color: var(--shella554c-paper); font-size: 13px; line-height: 1.5; }
.shella554c-callout {
  padding: 12px;
  border: 1px solid var(--shella554c-rose-dim);
  border-radius: var(--shella554c-r);
  background: linear-gradient(135deg, rgba(188, 143, 143, 0.16), rgba(51, 51, 51, 0.18));
}
.shella554c-callout strong { color: var(--shella554c-cream); }
.shella554c-callout p { color: var(--shella554c-paper); font-size: 13.5px; }
.shella554c-table { display: grid; gap: 1px; border: 1px solid var(--shella554c-rose-faint); border-radius: var(--shella554c-r); overflow: hidden; }
.shella554c-table__row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 8px; padding: 9px 10px; background: rgba(60, 60, 60, 0.45); }
.shella554c-table__row:nth-child(even) { background: rgba(51, 51, 51, 0.75); }
.shella554c-table__key { color: var(--shella554c-rose); font-family: var(--shella554c-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; }
.shella554c-table__value { color: var(--shella554c-paper); font-size: 12.5px; line-height: 1.45; }
.shella554c-choice { display: grid; gap: 8px; }
.shella554c-choice__item { padding: 10px 12px; border-left: 3px solid var(--shella554c-rose); background: rgba(60, 60, 60, 0.42); }
.shella554c-choice__item h3 { color: var(--shella554c-cream); font-size: 14px; margin-bottom: 3px; }
.shella554c-choice__item p { color: var(--shella554c-paper); font-size: 13px; }
.shella554c-promo-line { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.shella554c-promo-line .shella554c-btn { flex: 1 1 132px; }
.shella554c-faq { display: grid; gap: 8px; }
.shella554c-faq__item { padding: 10px 12px; border: 1px solid var(--shella554c-rose-faint); border-radius: var(--shella554c-r); }
.shella554c-faq__item h3 { color: var(--shella554c-cream); font-size: 13.5px; margin-bottom: 3px; }
.shella554c-faq__item p { color: var(--shella554c-paper-dim); font-size: 13px; }
.shella554c-compactnote { color: var(--shella554c-paper-dim); font-size: 12px; line-height: 1.5; }
