/* ==========================================================================
   Ninong Gaming Casino - mobile display stylesheet
   File   : css/mobile-c042fc-display.css
   Prefix : every class and custom property uses "shell042fc-"
   Canvas : one 320-430px phone canvas, centered when the viewport is wider.
   Palette anchors: #004D40 / #333333 / #40E0D0 / #FAFAFA (dark = background,
   light = text). Design voice: rounded headings + compact body copy, low-corner
   zoned sections, light floating game tiles, question-driven rhythm, square
   high-contrast CTAs, micro icon-state motion only.
   ========================================================================== */

:root {
  --shell042fc-teal: #004D40;
  --shell042fc-ink: #333333;
  --shell042fc-glow: #40E0D0;
  --shell042fc-paper: #FAFAFA;
  --shell042fc-backdrop: #01201b;
  --shell042fc-canvas: #013029;
  --shell042fc-panel: #00453b;
  --shell042fc-panel-deep: #002a24;
  --shell042fc-line: rgba(64, 224, 208, 0.16);
  --shell042fc-line-strong: rgba(64, 224, 208, 0.42);
  --shell042fc-text: #FAFAFA;
  --shell042fc-text-dim: rgba(250, 250, 250, 0.76);
  --shell042fc-text-faint: rgba(250, 250, 250, 0.56);
  --shell042fc-radius-s: 4px;
  --shell042fc-radius-m: 8px;
  --shell042fc-head-stack: "Trebuchet MS", "Segoe UI", "Nunito", "Avenir Next Rounded", system-ui, sans-serif;
  --shell042fc-body-stack: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell042fc-header-h: 56px;
  --shell042fc-tabbar-h: 62px;
}

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

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

body.shell042fc-page {
  margin: 0;
  background: var(--shell042fc-backdrop);
  color: var(--shell042fc-text);
  font-family: var(--shell042fc-body-stack);
  font-size: 14px;
  line-height: 1.55;
}

body.shell042fc-no-scroll {
  overflow: hidden;
}

.shell042fc-app {
  position: relative;
  max-width: 430px;
  margin-inline: auto;
  min-height: 100vh;
  background: var(--shell042fc-canvas);
  overflow-x: clip;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--shell042fc-glow);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Header : logo-led action bar, pinned to the top of the phone canvas
   -------------------------------------------------------------------------- */
.shell042fc-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  height: var(--shell042fc-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 10px;
  background: linear-gradient(180deg, rgba(0, 77, 64, 0.98), rgba(1, 48, 41, 0.96));
  border-bottom: 1px solid var(--shell042fc-line-strong);
  backdrop-filter: blur(6px);
}

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

.shell042fc-brand-logo {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 6px;
  border: 1px solid var(--shell042fc-line-strong);
}

.shell042fc-brand-name {
  font-family: var(--shell042fc-head-stack);
  font-weight: 800;
  font-size: 12px;
  line-height: 1.12;
  letter-spacing: 0.01em;
  max-width: 116px;
}

.shell042fc-brand-accent {
  color: var(--shell042fc-glow);
}

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

/* Square, high-contrast CTAs -------------------------------------------- */
.shell042fc-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--shell042fc-head-stack);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 2px;
  transition: transform 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}

.shell042fc-btn--solid {
  background: var(--shell042fc-glow);
  color: var(--shell042fc-ink);
}

.shell042fc-btn--solid:active {
  transform: scale(0.94);
  background: #5ae8da;
}

.shell042fc-btn--ghost {
  background: transparent;
  color: var(--shell042fc-glow);
  border: 1px solid var(--shell042fc-line-strong);
}

.shell042fc-btn--ghost:active {
  transform: scale(0.94);
  background: rgba(64, 224, 208, 0.12);
}

.shell042fc-menu-btn {
  width: 42px;
  min-width: 42px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--shell042fc-panel-deep);
  border: 1px solid var(--shell042fc-line);
  border-radius: 2px;
  color: var(--shell042fc-glow);
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.shell042fc-menu-btn:active {
  transform: scale(0.9);
  border-color: var(--shell042fc-glow);
}

.shell042fc-menu-btn svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   Side drawer menu
   -------------------------------------------------------------------------- */
.shell042fc-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(1, 20, 16, 0.68);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.shell042fc-scrim--on {
  opacity: 1;
  visibility: visible;
}

.shell042fc-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(84vw, 320px);
  z-index: 80;
  background: var(--shell042fc-panel-deep);
  border-left: 1px solid var(--shell042fc-line-strong);
  transform: translateX(103%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
}

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

.shell042fc-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--shell042fc-line);
}

.shell042fc-drawer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--shell042fc-head-stack);
  font-weight: 800;
  font-size: 14px;
  min-width: 0;
}

.shell042fc-drawer-brand img {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  border: 1px solid var(--shell042fc-line-strong);
}

.shell042fc-drawer-close {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  background: none;
  border: 1px solid var(--shell042fc-line);
  border-radius: 2px;
  color: var(--shell042fc-glow);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.12s ease;
}

.shell042fc-drawer-close:active {
  transform: scale(0.9);
}

.shell042fc-drawer-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 6px 10px 12px;
  overscroll-behavior: contain;
}

.shell042fc-drawer-tag {
  margin: 14px 8px 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell042fc-glow);
}

.shell042fc-drawer-tag:first-child {
  margin-top: 6px;
}

.shell042fc-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 0 10px;
  border-radius: 3px;
  border: 1px solid transparent;
  color: var(--shell042fc-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}

.shell042fc-drawer-link:active {
  transform: scale(0.97);
  background: rgba(64, 224, 208, 0.12);
  border-color: var(--shell042fc-line-strong);
}

.shell042fc-drawer-link::after {
  content: "\203A";
  color: var(--shell042fc-glow);
  font-weight: 800;
}

.shell042fc-drawer-foot {
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--shell042fc-line);
}

.shell042fc-drawer-foot .shell042fc-btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Main column : clears the fixed header and the fixed bottom tab bar
   -------------------------------------------------------------------------- */
.shell042fc-main {
  padding: calc(var(--shell042fc-header-h) + 12px) 12px calc(var(--shell042fc-tabbar-h) + 30px + env(safe-area-inset-bottom));
}

.shell042fc-section {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--shell042fc-line);
  scroll-margin-top: calc(var(--shell042fc-header-h) + 14px);
}

.shell042fc-zone {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell042fc-glow);
  margin-bottom: 4px;
}

.shell042fc-section h2 {
  font-family: var(--shell042fc-head-stack);
  font-size: 19px;
  line-height: 1.24;
  letter-spacing: -0.01em;
  font-weight: 800;
  margin: 0 0 8px;
}

.shell042fc-h3 {
  font-family: var(--shell042fc-head-stack);
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--shell042fc-glow);
}

.shell042fc-p {
  margin: 0 0 12px;
  color: var(--shell042fc-text-dim);
}

.shell042fc-count {
  display: inline-block;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--shell042fc-text-faint);
  border: 1px solid var(--shell042fc-line);
  border-radius: 2px;
  padding: 2px 8px;
}

.shell042fc-inline {
  color: var(--shell042fc-glow);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(64, 224, 208, 0.5);
  text-underline-offset: 2px;
}

.shell042fc-inline:active {
  opacity: 0.75;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.shell042fc-hero {
  padding-top: 2px;
}

.shell042fc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shell042fc-glow);
  border: 1px solid var(--shell042fc-line-strong);
  border-radius: 2px;
  padding: 4px 8px;
}

.shell042fc-hero-title {
  font-family: var(--shell042fc-head-stack);
  font-size: 25px;
  line-height: 1.16;
  letter-spacing: -0.01em;
  font-weight: 800;
  margin: 10px 0;
}

.shell042fc-lede {
  color: var(--shell042fc-text-dim);
  margin: 0 0 14px;
}

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

.shell042fc-hero-cta .shell042fc-btn {
  flex: 1 1 140px;
}

/* --------------------------------------------------------------------------
   Fact strip
   -------------------------------------------------------------------------- */
.shell042fc-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 16px;
}

.shell042fc-fact {
  border: 1px solid var(--shell042fc-line);
  border-radius: var(--shell042fc-radius-s);
  background: rgba(0, 77, 64, 0.34);
  padding: 9px 4px 8px;
  text-align: center;
}

.shell042fc-fact-num {
  display: block;
  font-family: var(--shell042fc-head-stack);
  font-size: 16px;
  font-weight: 800;
  color: var(--shell042fc-glow);
  line-height: 1.1;
}

.shell042fc-fact-label {
  display: block;
  margin-top: 2px;
  font-size: 9.5px;
  line-height: 1.3;
  color: var(--shell042fc-text-faint);
}

/* --------------------------------------------------------------------------
   Promo banner carousel
   -------------------------------------------------------------------------- */
.shell042fc-carousel {
  position: relative;
  margin-top: 18px;
  border: 1px solid var(--shell042fc-line-strong);
  border-radius: var(--shell042fc-radius-m);
  overflow: hidden;
  background: var(--shell042fc-panel-deep);
}

.shell042fc-slides {
  display: flex;
  transition: transform 0.3s ease;
}

.shell042fc-slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
}

.shell042fc-slide-img {
  width: 100%;
  aspect-ratio: 20 / 9;
  object-fit: cover;
  cursor: pointer;
}

.shell042fc-slide-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 12px 10px;
  background: linear-gradient(180deg, rgba(1, 32, 27, 0), rgba(1, 32, 27, 0.94));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.shell042fc-slide-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shell042fc-ink);
  background: var(--shell042fc-glow);
  border-radius: 2px;
  padding: 2px 7px;
}

.shell042fc-slide-title {
  width: 100%;
  font-family: var(--shell042fc-head-stack);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  margin: 0;
}

.shell042fc-slide-line {
  width: 100%;
  font-size: 11px;
  line-height: 1.35;
  color: var(--shell042fc-text-dim);
  margin: 0;
}

.shell042fc-slide-cta {
  width: 100%;
  margin-top: 6px;
  min-height: 44px;
  font-size: 12.5px;
}

.shell042fc-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 56px;
  display: grid;
  place-items: center;
  background: rgba(1, 32, 27, 0.72);
  border: 0;
  border-radius: 2px;
  color: var(--shell042fc-glow);
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease;
}

.shell042fc-carousel-btn:active {
  transform: translateY(-50%) scale(0.9);
  background: rgba(64, 224, 208, 0.28);
}

.shell042fc-carousel-btn--prev {
  left: 0;
}

.shell042fc-carousel-btn--next {
  right: 0;
}

.shell042fc-carousel-btn svg {
  width: 16px;
  height: 16px;
}

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

.shell042fc-dot {
  appearance: none;
  min-width: 44px;
  min-height: 26px;
  background: none;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.shell042fc-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--shell042fc-line-strong);
  transition: transform 0.12s ease, background-color 0.12s ease;
}

.shell042fc-dot--cur::before {
  background: var(--shell042fc-glow);
  transform: scale(1.3);
}

/* --------------------------------------------------------------------------
   Game grids : light floating tiles, stable 4-column tracks
   -------------------------------------------------------------------------- */
.shell042fc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 6px;
  margin-top: 4px;
}

.shell042fc-tile {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 5px 5px 7px;
  background: linear-gradient(180deg, rgba(0, 77, 64, 0.6), rgba(0, 42, 36, 0.88));
  border: 1px solid var(--shell042fc-line);
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 18, 15, 0.35);
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.shell042fc-tile:active {
  transform: scale(0.93);
  border-color: var(--shell042fc-glow);
}

.shell042fc-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--shell042fc-radius-s);
  background: var(--shell042fc-panel-deep);
}

.shell042fc-tile-name {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.22;
  text-align: center;
  color: var(--shell042fc-text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 24px;
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.shell042fc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shell042fc-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid var(--shell042fc-line);
  border-radius: 6px;
  background: rgba(0, 77, 64, 0.3);
}

.shell042fc-step-num {
  flex: 0 0 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: var(--shell042fc-glow);
  color: var(--shell042fc-ink);
  border-radius: 2px;
  font-family: var(--shell042fc-head-stack);
  font-weight: 800;
  font-size: 12px;
}

.shell042fc-step-body {
  font-size: 12.5px;
  color: var(--shell042fc-text-dim);
}

/* --------------------------------------------------------------------------
   Category match cards
   -------------------------------------------------------------------------- */
.shell042fc-cats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.shell042fc-cat {
  border: 1px solid var(--shell042fc-line);
  border-left: 3px solid var(--shell042fc-glow);
  border-radius: 0 6px 6px 0;
  background: rgba(0, 77, 64, 0.3);
  padding: 10px 12px;
}

.shell042fc-cat p {
  margin: 0;
  font-size: 12px;
  color: var(--shell042fc-text-dim);
}

/* --------------------------------------------------------------------------
   Q&A blocks
   -------------------------------------------------------------------------- */
.shell042fc-qa {
  border: 1px solid var(--shell042fc-line);
  border-radius: 6px;
  background: rgba(0, 77, 64, 0.32);
  padding: 0 12px;
}

.shell042fc-qa + .shell042fc-qa {
  margin-top: 8px;
}

.shell042fc-qa-item {
  list-style: none;
  cursor: pointer;
  padding: 12px 0;
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.35;
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.shell042fc-qa-item::-webkit-details-marker {
  display: none;
}

.shell042fc-qa-item::before {
  content: "?";
  flex: 0 0 auto;
  color: var(--shell042fc-glow);
  font-family: var(--shell042fc-head-stack);
  font-weight: 800;
}

.shell042fc-qa[open] .shell042fc-qa-item {
  color: var(--shell042fc-glow);
}

.shell042fc-qa-a {
  margin: 0;
  padding: 0 2px 12px 18px;
  font-size: 12.5px;
  color: var(--shell042fc-text-dim);
}

/* --------------------------------------------------------------------------
   Common scenario callout
   -------------------------------------------------------------------------- */
.shell042fc-scene {
  border: 1px solid var(--shell042fc-line-strong);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(0, 77, 64, 0.6), rgba(0, 42, 36, 0.9));
  padding: 12px;
}

.shell042fc-scene-q {
  margin: 0 0 6px;
  font-family: var(--shell042fc-head-stack);
  font-weight: 800;
  font-size: 13px;
  color: var(--shell042fc-glow);
}

.shell042fc-scene-a {
  margin: 0;
  font-size: 12.5px;
  color: var(--shell042fc-text-dim);
}

/* --------------------------------------------------------------------------
   Key takeaways
   -------------------------------------------------------------------------- */
.shell042fc-takes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shell042fc-take {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--shell042fc-text-dim);
  padding: 8px 10px;
  border: 1px dashed var(--shell042fc-line);
  border-radius: 4px;
}

.shell042fc-take::before {
  content: "\2713";
  flex: 0 0 auto;
  color: var(--shell042fc-glow);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   Homepage extended footer : brand > directory > promotions > disclaimer
   -------------------------------------------------------------------------- */
.shell042fc-xfoot {
  margin: 28px -12px 0;
  padding: 6px 14px 18px;
  background: var(--shell042fc-panel-deep);
  border-top: 1px solid var(--shell042fc-line-strong);
}

.shell042fc-xzone {
  margin: 16px 0 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell042fc-glow);
}

.shell042fc-xbrand {
  margin: 0;
  font-size: 12.5px;
  color: var(--shell042fc-text-dim);
}

.shell042fc-xdir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.shell042fc-xlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--shell042fc-line);
  border-radius: 3px;
  background: rgba(0, 77, 64, 0.28);
  text-decoration: none;
  color: var(--shell042fc-text-dim);
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.shell042fc-xlink:active {
  transform: scale(0.96);
  border-color: var(--shell042fc-glow);
  color: var(--shell042fc-glow);
}

.shell042fc-xlink::after {
  content: "\203A";
  color: var(--shell042fc-glow);
  font-weight: 800;
}

.shell042fc-xpromo {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.shell042fc-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 2px;
  background: var(--shell042fc-glow);
  color: var(--shell042fc-ink);
  font-family: var(--shell042fc-head-stack);
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.12s ease;
}

.shell042fc-chip:active {
  transform: scale(0.94);
}

.shell042fc-chip--alt {
  background: transparent;
  color: var(--shell042fc-glow);
  border: 1px solid var(--shell042fc-line-strong);
}

.shell042fc-chip::before {
  content: "\25B8";
  font-size: 11px;
}

.shell042fc-xdisc {
  margin: 14px 0 0;
  padding-left: 10px;
  border-left: 2px solid var(--shell042fc-line-strong);
  font-size: 11px;
  line-height: 1.5;
  color: var(--shell042fc-text-faint);
}

/* --------------------------------------------------------------------------
   Common footer (copyright only)
   -------------------------------------------------------------------------- */
.shell042fc-foot {
  margin-top: 18px;
  text-align: center;
}

.shell042fc-foot-copy {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--shell042fc-text-faint);
}

/* --------------------------------------------------------------------------
   Bottom tab bar : outlined five-role function bar
   -------------------------------------------------------------------------- */
.shell042fc-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: linear-gradient(0deg, rgba(0, 77, 64, 0.98), rgba(1, 48, 41, 0.96));
  border-top: 1px solid var(--shell042fc-line-strong);
}

.shell042fc-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 2px 1px;
  background: rgba(0, 42, 36, 0.5);
  border: 1px solid var(--shell042fc-line);
  border-radius: 4px;
  color: var(--shell042fc-text-dim);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.shell042fc-tab:active {
  transform: scale(0.9);
}

.shell042fc-tab-ico {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.shell042fc-tab-txt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* Active state = full contrast inversion */
.shell042fc-tab--on,
.shell042fc-tab--on:active {
  background: var(--shell042fc-glow);
  border-color: var(--shell042fc-glow);
  color: var(--shell042fc-ink);
}

/* --------------------------------------------------------------------------
   Width steps
   -------------------------------------------------------------------------- */
@media (min-width: 375px) {
  .shell042fc-hero-title {
    font-size: 27px;
  }

  .shell042fc-section h2 {
    font-size: 20px;
  }

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

  .shell042fc-brand-name {
    max-width: 150px;
    font-size: 13px;
  }
}

/* Wider viewports: keep the same phone canvas centered, add canvas framing */
@media (min-width: 431px) {
  body.shell042fc-page {
    background: radial-gradient(1200px 600px at 50% -10%, #00352d, var(--shell042fc-backdrop));
  }

  .shell042fc-app {
    border-inline: 1px solid var(--shell042fc-line);
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.5);
  }
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Help: FAQ page uses a sheet, fork, branch, audit, timeline and fact rows.
   Help: guide page uses bands, stages, prep fields and a memo.
   These shells stay distinct from the homepage Q&A and step list.
   -------------------------------------------------------------------------- */
.shell042fc-qsheet {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shell042fc-qpair {
  border: 1px solid var(--shell042fc-line);
  border-radius: 2px;
  background: rgba(0, 42, 36, 0.55);
  padding: 10px 10px 8px;
}

.shell042fc-qpair dt {
  font-family: var(--shell042fc-head-stack);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.35;
  color: var(--shell042fc-paper);
}

.shell042fc-qpair dd {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--shell042fc-text-dim);
}

.shell042fc-fork {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.shell042fc-fork-col {
  border: 1px solid var(--shell042fc-line-strong);
  border-radius: 2px;
  padding: 10px;
  background: rgba(0, 77, 64, 0.22);
}

.shell042fc-fork-col p {
  margin: 0;
  font-size: 12.5px;
  color: var(--shell042fc-text-dim);
}

.shell042fc-branchbox {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shell042fc-branch {
  padding: 10px 10px 10px 12px;
  border-left: 3px solid var(--shell042fc-glow);
  background: rgba(0, 42, 36, 0.45);
}

.shell042fc-branch p {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--shell042fc-text-dim);
}

.shell042fc-audit {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shell042fc-audit li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--shell042fc-line);
  border-radius: 2px;
  font-size: 12.5px;
  color: var(--shell042fc-text-dim);
}

.shell042fc-audit li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 2px solid var(--shell042fc-glow);
  border-radius: 2px;
}

.shell042fc-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 4px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.shell042fc-timeitem {
  position: relative;
  padding: 0 0 14px 18px;
  border-left: 2px solid var(--shell042fc-line-strong);
  font-size: 12.5px;
  color: var(--shell042fc-text-dim);
}

.shell042fc-timeitem::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 4px;
  width: 8px;
  height: 8px;
  background: var(--shell042fc-glow);
  border-radius: 1px;
}

.shell042fc-timeitem strong {
  display: block;
  color: var(--shell042fc-paper);
  font-family: var(--shell042fc-head-stack);
  margin-bottom: 2px;
}

.shell042fc-factgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.shell042fc-factrow {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 8px;
  background: rgba(0, 77, 64, 0.28);
  border-radius: 2px;
}

.shell042fc-factrow b {
  font-family: var(--shell042fc-head-stack);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--shell042fc-glow);
}

.shell042fc-factrow span {
  font-size: 12.5px;
  color: var(--shell042fc-text-dim);
}

.shell042fc-actstack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.shell042fc-actstack .shell042fc-btn {
  width: 100%;
}

.shell042fc-band {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--shell042fc-line);
}

.shell042fc-band-k {
  font-family: var(--shell042fc-head-stack);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--shell042fc-ink);
  background: var(--shell042fc-glow);
  border-radius: 2px;
  min-height: 44px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4px;
}

.shell042fc-band p {
  margin: 0;
  font-size: 12.5px;
  color: var(--shell042fc-text-dim);
}

.shell042fc-stagecard {
  padding: 12px;
  margin-top: 8px;
  background: linear-gradient(180deg, rgba(0, 77, 64, 0.45), rgba(0, 42, 36, 0.2));
  border-bottom: 2px solid var(--shell042fc-glow);
}

.shell042fc-stagecard p {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--shell042fc-text-dim);
}

.shell042fc-prepgrid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shell042fc-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  border: 1px dashed var(--shell042fc-line-strong);
  border-radius: 2px;
}

.shell042fc-field b {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shell042fc-glow);
}

.shell042fc-field span {
  font-size: 12.5px;
  color: var(--shell042fc-text-dim);
}

.shell042fc-memopad {
  margin: 0;
  padding: 12px 12px 4px;
  list-style: none;
  background: var(--shell042fc-paper);
  color: var(--shell042fc-ink);
  border-radius: 2px;
}

.shell042fc-memopad li {
  margin: 0 0 10px;
  padding-left: 14px;
  border-left: 3px solid var(--shell042fc-teal);
  font-size: 12.5px;
  line-height: 1.45;
}

.shell042fc-helpcta {
  display: block;
  width: 100%;
  margin-top: 8px;
}

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

  .shell042fc-slides,
  .shell042fc-drawer,
  .shell042fc-scrim,
  .shell042fc-btn,
  .shell042fc-tile,
  .shell042fc-tab,
  .shell042fc-chip,
  .shell042fc-dot::before,
  .shell042fc-carousel-btn {
    transition: none;
  }
}
