/* ==========================================================================
   arenalive nba live - viewport stylesheet
   Mobile-first 320-430px phone canvas; wide screens keep the same centered
   canvas. Class prefix: shell976fb-  |  custom properties: --shell976fb-*
   Palette anchors: #6F4E37 / #D2B48C / #48D1CC / #8B7355 / #34495E
   Design notes: monospace accents over a regular body face, low-radius
   sectioned zones, floating image tiles, fact-lead rhythm, sliding focus
   indicators, staggered primary/secondary CTAs.
   ========================================================================== */

/* ---------- tokens ------------------------------------------------------ */
:root {
  --shell976fb-canvas: #34495E;          /* deep slate page field */
  --shell976fb-canvas-deep: #2A3B4D;     /* darker slab under panels */
  --shell976fb-panel: #3D5266;           /* slate panel tint */
  --shell976fb-panel-soft: #43596E;      /* hovered panel tint */
  --shell976fb-brown: #6F4E37;           /* coffee panel */
  --shell976fb-brown-soft: #7C5A42;      /* lighter coffee edge */
  --shell976fb-line: #8B7355;            /* taupe hairline */
  --shell976fb-ink: #D2B48C;             /* tan body text */
  --shell976fb-cream: #F4E8D2;           /* high-emphasis text */
  --shell976fb-teal: #48D1CC;            /* accent / CTA / focus */
  --shell976fb-teal-deep: #2FA8A5;       /* pressed accent */
  --shell976fb-shadow: rgba(21, 30, 40, 0.42);
  --shell976fb-mono: "Cascadia Mono", "SF Mono", ui-monospace, Consolas, Menlo, monospace;
  --shell976fb-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell976fb-radius: 6px;
  --shell976fb-stage-max: 480px;
}

/* ---------- reset & base ------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--shell976fb-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--shell976fb-ink);
  background: var(--shell976fb-canvas-deep);
  overflow-x: hidden;
}

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

h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }

ul, ol { padding: 0; list-style: none; }

a { color: var(--shell976fb-teal); text-decoration: none; }

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

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

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

/* every interactive target keeps a comfortable touch area */
.shell976fb-topbar a,
.shell976fb-topbar button,
.shell976fb-drawer a,
.shell976fb-dock > a,
.shell976fb-dock > button,
.shell976fb-btn,
.shell976fb-tile { min-height: 44px; }

/* ---------- phone canvas ------------------------------------------------ */
.shell976fb-page {
  position: relative;
  width: 100%;
  max-width: var(--shell976fb-stage-max);
  margin: 0 auto;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(111, 78, 55, 0.34) 0%, rgba(52, 73, 94, 0) 240px),
    var(--shell976fb-canvas);
  box-shadow: 0 0 0 1px rgba(139, 115, 85, 0.35);
}

/* wide screens: same navigation experience inside a centered phone frame */
@media (min-width: 760px) {
  body { background: #1E2C3A; }
  .shell976fb-page {
    box-shadow: 0 0 0 1px rgba(139, 115, 85, 0.5), 0 24px 60px rgba(10, 16, 22, 0.55);
  }
}

/* ---------- top action band -------------------------------------------- */
.shell976fb-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell976fb-stage-max);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 62px;
  padding: 8px 12px;
  background: linear-gradient(180deg, rgba(42, 59, 77, 0.98), rgba(42, 59, 77, 0.92));
  border-bottom: 1px solid var(--shell976fb-line);
  backdrop-filter: blur(6px);
}

.shell976fb-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.shell976fb-logo {
  width: 38px;
  height: 38px;
  border-radius: 5px;
  border: 1px solid var(--shell976fb-line);
  object-fit: cover;
  flex: 0 0 auto;
}

.shell976fb-brandname {
  font-family: var(--shell976fb-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--shell976fb-cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

/* staggered CTA pair: fat register, slim login */
.shell976fb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shell976fb-mono);
  font-weight: 700;
  border-radius: var(--shell976fb-radius);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.shell976fb-btn:active { transform: translateY(1px); }

.shell976fb-btn-register {
  padding: 0 16px;
  min-height: 42px;
  font-size: 14px;
  color: #1F3A3A;
  background: linear-gradient(180deg, #5FE0DC, var(--shell976fb-teal));
  box-shadow: 0 3px 0 var(--shell976fb-teal-deep);
}

.shell976fb-btn-login {
  padding: 0 12px;
  min-height: 36px;
  font-size: 12.5px;
  color: var(--shell976fb-cream);
  border: 1px solid var(--shell976fb-line);
  background: rgba(111, 78, 55, 0.55);
}

.shell976fb-menubtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 44px;
  border-radius: var(--shell976fb-radius);
  border: 1px solid var(--shell976fb-line);
  background: rgba(111, 78, 55, 0.4);
  transition: background-color 0.25s ease;
}

.shell976fb-menubtn svg { width: 22px; height: 22px; fill: var(--shell976fb-cream); }

.shell976fb-menubtn[aria-expanded="true"] {
  background: var(--shell976fb-teal);
  border-color: var(--shell976fb-teal);
}

.shell976fb-menubtn[aria-expanded="true"] svg { fill: #1F3A3A; }

/* ---------- sectioned menu drawer --------------------------------------- */
.shell976fb-drawer {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell976fb-stage-max);
  height: 100dvh;
  z-index: 80;
  padding: 66px 14px 96px;
  overflow-y: auto;
  background: linear-gradient(180deg, #2A3B4D 0%, #31435A 100%);
  border-top: 3px solid var(--shell976fb-teal);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.shell976fb-drawer.shell976fb-open { visibility: visible; opacity: 1; }

.shell976fb-drawer-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--shell976fb-radius);
  border: 1px solid var(--shell976fb-line);
}

.shell976fb-drawer-close svg { width: 18px; height: 18px; fill: var(--shell976fb-cream); }

.shell976fb-drawer-lead {
  font-family: var(--shell976fb-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell976fb-teal);
  margin-bottom: 4px;
}

.shell976fb-drawer-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--shell976fb-cream);
  margin-bottom: 14px;
}

.shell976fb-drawer-group {
  border: 1px solid var(--shell976fb-line);
  border-radius: var(--shell976fb-radius);
  background: rgba(52, 73, 94, 0.55);
  margin-bottom: 12px;
  overflow: hidden;
}

.shell976fb-drawer-heading {
  font-family: var(--shell976fb-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell976fb-ink);
  padding: 10px 14px 6px;
}

.shell976fb-drawer-group ul li + li { border-top: 1px solid rgba(139, 115, 85, 0.4); }

.shell976fb-drawer-group a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  color: var(--shell976fb-cream);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.shell976fb-drawer-group a:hover,
.shell976fb-drawer-group a:focus-visible {
  background: rgba(111, 78, 55, 0.55);
  text-decoration: none;
  color: #FFFFFF;
}

.shell976fb-drawer-group a span:first-child { font-size: 15px; }

.shell976fb-drawer-tag {
  font-family: var(--shell976fb-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--shell976fb-teal);
  text-transform: uppercase;
}

.shell976fb-drawer-cta {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.shell976fb-drawer-cta .shell976fb-btn { flex: 1; }

/* ---------- main column -------------------------------------------------- */
.shell976fb-main {
  padding: 74px 12px 26px;
}

.shell976fb-section { margin-bottom: 22px; }

.shell976fb-kicker {
  font-family: var(--shell976fb-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shell976fb-teal);
}

.shell976fb-h1,
.shell976fb-h2 {
  font-family: var(--shell976fb-sans);
  color: var(--shell976fb-cream);
  line-height: 1.28;
}

.shell976fb-h1 { font-size: 25px; font-weight: 800; margin: 6px 0 10px; }

.shell976fb-h2 {
  font-size: 19.5px;
  font-weight: 700;
  margin: 4px 0 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(139, 115, 85, 0.55);
}

.shell976fb-h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--shell976fb-teal);
  margin-bottom: 3px;
}

.shell976fb-lead { font-size: 15px; }

.shell976fb-p + .shell976fb-p { margin-top: 9px; }

/* ---------- hero ---------------------------------------------------------- */
.shell976fb-hero {
  padding: 18px 14px 16px;
  border: 1px solid var(--shell976fb-line);
  border-left: 4px solid var(--shell976fb-teal);
  border-radius: var(--shell976fb-radius);
  background: linear-gradient(160deg, rgba(111, 78, 55, 0.62), rgba(61, 82, 102, 0.85));
}

.shell976fb-hero-facts {
  margin: 12px 0 14px;
  border: 1px dashed rgba(139, 115, 85, 0.75);
  border-radius: var(--shell976fb-radius);
  background: rgba(42, 59, 77, 0.5);
}

.shell976fb-hero-facts li {
  display: flex;
  gap: 8px;
  padding: 8px 11px;
  font-size: 13px;
  color: var(--shell976fb-cream);
}

.shell976fb-hero-facts li + li { border-top: 1px dashed rgba(139, 115, 85, 0.6); }

.shell976fb-hero-facts .shell976fb-tagchip {
  flex: 0 0 auto;
  font-family: var(--shell976fb-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1F3A3A;
  background: var(--shell976fb-teal);
  border-radius: 3px;
  padding: 2px 6px;
  margin-top: 2px;
}

.shell976fb-ctarow {
  display: flex;
  align-items: stretch;
  gap: 9px;
  flex-wrap: wrap;
}

/* staggered hero CTAs */
.shell976fb-ctarow .shell976fb-btn-register { flex: 1 1 150px; min-height: 48px; font-size: 15px; }

.shell976fb-ctarow .shell976fb-btn-ghost {
  flex: 0 1 auto;
  min-height: 42px;
  padding: 0 16px;
  font-size: 13.5px;
  color: var(--shell976fb-cream);
  border: 1px solid var(--shell976fb-line);
  border-radius: var(--shell976fb-radius);
  background: rgba(42, 59, 77, 0.4);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.shell976fb-ctarow .shell976fb-btn-ghost:hover { background: rgba(111, 78, 55, 0.6); text-decoration: none; }

/* ---------- promo carousel ----------------------------------------------- */
.shell976fb-carousel {
  position: relative;
  border: 1px solid var(--shell976fb-line);
  border-radius: var(--shell976fb-radius);
  overflow: hidden;
  background: var(--shell976fb-canvas-deep);
}

.shell976fb-track {
  position: relative;
  aspect-ratio: 2 / 1;
  width: 100%;
}

.shell976fb-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(6%);
  transition: opacity 0.45s ease, transform 0.45s ease;
  visibility: hidden;
  cursor: pointer;
}

.shell976fb-slide.shell976fb-active {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}

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

.shell976fb-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 22px 12px 9px;
  font-family: var(--shell976fb-mono);
  font-size: 12px;
  color: var(--shell976fb-cream);
  background: linear-gradient(180deg, rgba(21, 30, 40, 0), rgba(21, 30, 40, 0.88));
  text-align: left;
}

.shell976fb-slide-caption strong { color: var(--shell976fb-teal); }

.shell976fb-dots {
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  gap: 6px;
}

.shell976fb-dot {
  width: 26px;
  height: 10px;
  padding: 0;
  border-radius: 5px;
  background: rgba(210, 180, 140, 0.4);
  border: 1px solid rgba(21, 30, 40, 0.5);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.shell976fb-dot.shell976fb-on { background: var(--shell976fb-teal); transform: scaleX(1.15); }

/* ---------- category rail ------------------------------------------------- */
.shell976fb-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}

.shell976fb-rail::-webkit-scrollbar { display: none; }

.shell976fb-rail a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-family: var(--shell976fb-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--shell976fb-cream);
  border: 1px solid var(--shell976fb-line);
  border-radius: var(--shell976fb-radius);
  background: rgba(111, 78, 55, 0.45);
  position: relative;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.shell976fb-rail a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 1px;
  background: var(--shell976fb-teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.shell976fb-rail a:hover { text-decoration: none; border-color: var(--shell976fb-teal); }

.shell976fb-rail a:hover::after { transform: scaleX(1); }

/* ---------- game blocks ---------------------------------------------------- */
.shell976fb-gblock {
  margin-bottom: 24px;
  padding: 14px 12px 16px;
  border: 1px solid rgba(139, 115, 85, 0.6);
  border-radius: var(--shell976fb-radius);
  background: rgba(42, 59, 77, 0.42);
}

.shell976fb-gblock-alt { background: rgba(111, 78, 55, 0.30); }

.shell976fb-ghead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.shell976fb-gcount {
  flex: 0 0 auto;
  font-family: var(--shell976fb-mono);
  font-size: 11px;
  color: var(--shell976fb-ink);
  border: 1px solid var(--shell976fb-line);
  border-radius: 3px;
  padding: 2px 7px;
}

.shell976fb-gintro { font-size: 13.5px; margin: 8px 0 12px; }

.shell976fb-gboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

/* roomier phones gain a fifth column */
@media (min-width: 400px) {
  .shell976fb-gboard { grid-template-columns: repeat(5, 1fr); }
}

/* floating image tile */
.shell976fb-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 6px 7px;
  border-radius: var(--shell976fb-radius);
  border: 1px solid rgba(139, 115, 85, 0.7);
  background: linear-gradient(180deg, var(--shell976fb-panel-soft), var(--shell976fb-panel));
  box-shadow: 0 4px 10px var(--shell976fb-shadow);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.shell976fb-tile:hover,
.shell976fb-tile:focus-visible {
  border-color: var(--shell976fb-teal);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px var(--shell976fb-shadow);
}

.shell976fb-tile:active { transform: translateY(0); }

.shell976fb-tile-art {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  background: var(--shell976fb-canvas-deep);
}

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

.shell976fb-tile-name {
  font-family: var(--shell976fb-mono);
  font-size: 10.5px;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--shell976fb-cream);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* ---------- content panels ------------------------------------------------- */
.shell976fb-panel {
  padding: 15px 14px 17px;
  margin-bottom: 18px;
  border: 1px solid rgba(139, 115, 85, 0.6);
  border-radius: var(--shell976fb-radius);
  background: rgba(42, 59, 77, 0.42);
}

.shell976fb-panel-brown { background: rgba(111, 78, 55, 0.34); }

.shell976fb-anslead {
  font-size: 15px;
  font-weight: 700;
  color: var(--shell976fb-cream);
}

/* comparison rows: fact summary first, then the expand */
.shell976fb-rows { border-top: 1px solid rgba(139, 115, 85, 0.55); }

.shell976fb-rows li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(139, 115, 85, 0.55);
}

.shell976fb-rows dt,
.shell976fb-rowterm {
  flex: 0 0 86px;
  font-family: var(--shell976fb-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--shell976fb-teal);
  letter-spacing: 0.03em;
  padding-top: 2px;
}

.shell976fb-rows dd,
.shell976fb-rowtext { flex: 1 1 auto; font-size: 13.5px; }

/* numbered steps */
.shell976fb-steps { counter-reset: shell976fb-step; }

.shell976fb-steps li {
  counter-increment: shell976fb-step;
  position: relative;
  padding: 9px 0 9px 42px;
  border-bottom: 1px dashed rgba(139, 115, 85, 0.5);
}

.shell976fb-steps li:last-child { border-bottom: 0; }

.shell976fb-steps li::before {
  content: counter(shell976fb-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 11px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shell976fb-mono);
  font-size: 12px;
  font-weight: 700;
  color: #1F3A3A;
  background: var(--shell976fb-teal);
  border-radius: 4px;
}

/* trick cards, two per row on wider phones */
.shell976fb-tips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

@media (min-width: 375px) {
  .shell976fb-tips { grid-template-columns: repeat(2, 1fr); }
}

.shell976fb-tip {
  padding: 10px 11px;
  border: 1px solid rgba(139, 115, 85, 0.7);
  border-left: 3px solid var(--shell976fb-teal);
  border-radius: var(--shell976fb-radius);
  background: rgba(42, 59, 77, 0.6);
}

.shell976fb-tip h3 { font-size: 13.5px; }

.shell976fb-tip p { font-size: 12.5px; }

/* key-value feature table */
.shell976fb-kv {
  font-family: var(--shell976fb-mono);
  border: 1px solid rgba(139, 115, 85, 0.6);
  border-radius: var(--shell976fb-radius);
  overflow: hidden;
}

.shell976fb-kv li {
  display: flex;
  gap: 10px;
  padding: 9px 11px;
  font-size: 12px;
  background: rgba(42, 59, 77, 0.55);
}

.shell976fb-kv li:nth-child(even) { background: rgba(111, 78, 55, 0.35); }

.shell976fb-kv li + li { border-top: 1px solid rgba(139, 115, 85, 0.45); }

.shell976fb-kv b { flex: 0 0 96px; color: var(--shell976fb-teal); font-weight: 700; }

.shell976fb-kv span { color: var(--shell976fb-cream); }

/* Q&A blocks */
.shell976fb-faq-q {
  font-family: var(--shell976fb-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell976fb-teal);
  margin-bottom: 2px;
}

/* inline text link emphasis inside copy */
.shell976fb-bodylink {
  color: var(--shell976fb-teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}

.shell976fb-bodylink:hover { color: #7FE7E3; }

/* ---------- extended footer ------------------------------------------------- */
.shell976fb-xfooter {
  margin: 26px 12px 0;
  padding: 16px 14px;
  border: 1px solid var(--shell976fb-line);
  border-radius: var(--shell976fb-radius);
  background: linear-gradient(180deg, rgba(111, 78, 55, 0.5), rgba(42, 59, 77, 0.9));
}

.shell976fb-xf-title {
  font-family: var(--shell976fb-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shell976fb-teal);
  margin-bottom: 9px;
}

/* four staggered promo actions */
.shell976fb-promos { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 16px; }

.shell976fb-promos .shell976fb-btn-register { flex: 1 1 100%; min-height: 46px; }

.shell976fb-promos .shell976fb-btn-side {
  flex: 1 1 44%;
  min-height: 40px;
  padding: 0 8px;
  font-size: 12px;
  color: var(--shell976fb-cream);
  border: 1px solid var(--shell976fb-line);
  border-radius: var(--shell976fb-radius);
  background: rgba(42, 59, 77, 0.55);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.shell976fb-promos .shell976fb-btn-side:hover { border-color: var(--shell976fb-teal); background: rgba(111, 78, 55, 0.6); }

.shell976fb-brandnote { font-size: 13px; margin-bottom: 16px; }

/* two-column directory */
.shell976fb-directory {
  columns: 2;
  column-gap: 16px;
  margin-bottom: 16px;
}

.shell976fb-dirgroup { break-inside: avoid; margin-bottom: 12px; }

.shell976fb-dirgroup p {
  font-family: var(--shell976fb-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell976fb-ink);
  margin-bottom: 5px;
}

.shell976fb-dirgroup a {
  display: block;
  font-size: 12.5px;
  color: var(--shell976fb-cream);
  padding: 4px 0;
  transition: color 0.25s ease;
}

.shell976fb-dirgroup a:hover { color: var(--shell976fb-teal); }

.shell976fb-disclaimer {
  font-size: 11.5px;
  color: var(--shell976fb-ink);
  border-top: 1px dashed rgba(139, 115, 85, 0.7);
  padding-top: 10px;
}

/* ---------- common footer ---------------------------------------------------- */
.shell976fb-foot {
  margin-top: 14px;
  padding: 14px 12px 108px;
  text-align: center;
  font-family: var(--shell976fb-mono);
  font-size: 11.5px;
  color: var(--shell976fb-ink);
  border-top: 1px solid rgba(139, 115, 85, 0.55);
}

/* ---------- layered bottom dock ------------------------------------------------ */
.shell976fb-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell976fb-stage-max);
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(42, 59, 77, 0.96), rgba(30, 44, 58, 0.99));
  border-top: 2px solid var(--shell976fb-line);
}

.shell976fb-dock a,
.shell976fb-dock button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 5px 2px 7px;
  border-radius: var(--shell976fb-radius);
  transition: color 0.25s ease, background-color 0.25s ease;
}

.shell976fb-dock svg {
  width: 22px;
  height: 22px;
  fill: rgba(210, 180, 140, 0.8);   /* restrained inactive fill */
  transition: fill 0.25s ease, transform 0.25s ease;
}

.shell976fb-docklabel {
  font-family: var(--shell976fb-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--shell976fb-ink);
}

/* sliding focus indicator above the active role */
.shell976fb-dock a::before,
.shell976fb-dock button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--shell976fb-teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.shell976fb-dock a:hover svg,
.shell976fb-dock button:hover svg { fill: var(--shell976fb-cream); }

.shell976fb-dock a[aria-current="page"]::before { transform: scaleX(1); }

.shell976fb-dock a[aria-current="page"] svg { fill: var(--shell976fb-teal); transform: translateY(-1px); }

.shell976fb-dock a[aria-current="page"] .shell976fb-docklabel {
  color: var(--shell976fb-teal);
  font-weight: 700;
}

/* ---------- motion & readability guards ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* keep long words inside the 320px canvas without overflow */
.shell976fb-main,
.shell976fb-hero,
.shell976fb-panel,
.shell976fb-xfooter { overflow-wrap: break-word; }

/* small phone (320-359px): trim display type so nothing clips */
@media (max-width: 359px) {
  .shell976fb-h1 { font-size: 21.5px; }
  .shell976fb-h2 { font-size: 17.5px; }
  .shell976fb-brandname { font-size: 13px; max-width: 118px; }
  .shell976fb-btn-register { padding: 0 11px; font-size: 12.5px; }
  .shell976fb-btn-login { padding: 0 9px; font-size: 11.5px; }
}

/* 430px-class phones: slightly airier gutters, canvas stays phone-shaped */
@media (min-width: 430px) {
  .shell976fb-main { padding-left: 16px; padding-right: 16px; }
  .shell976fb-xfooter { margin-left: 16px; margin-right: 16px; }
  .shell976fb-tile-name { font-size: 11px; }
}

/* ---------- deposit cashier sheet --------------------------------------- */
.shell976fb-cashier {
  margin-bottom: 18px;
  padding: 14px 12px 16px;
  border: 1px solid var(--shell976fb-line);
  border-top: 4px solid var(--shell976fb-teal);
  border-radius: var(--shell976fb-radius);
  background: rgba(42, 59, 77, 0.5);
}

.shell976fb-stamp {
  display: inline-block;
  margin: 0 0 8px;
  padding: 2px 8px;
  font-family: var(--shell976fb-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1F3A3A;
  background: var(--shell976fb-teal);
  border-radius: 3px;
}

.shell976fb-pesorow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.shell976fb-peso {
  flex: 1 1 90px;
  min-height: 44px;
  padding: 8px 8px 7px;
  border: 1px solid rgba(139, 115, 85, 0.7);
  border-radius: var(--shell976fb-radius);
  background: rgba(111, 78, 55, 0.35);
}

.shell976fb-peso b {
  display: block;
  font-family: var(--shell976fb-mono);
  font-size: 13px;
  color: var(--shell976fb-cream);
}

.shell976fb-peso span { font-size: 12px; }

.shell976fb-timeline { margin-top: 8px; }

.shell976fb-timeline li strong { color: var(--shell976fb-cream); }

.shell976fb-checkline {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid rgba(139, 115, 85, 0.45);
  font-size: 14px;
}

.shell976fb-checkline i {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 2px solid var(--shell976fb-teal);
  border-radius: 3px;
  font-style: normal;
}

.shell976fb-cashier .shell976fb-btn-side,
.shell976fb-dossier .shell976fb-btn-side,
.shell976fb-cashier .shell976fb-btn-ghost,
.shell976fb-dossier .shell976fb-btn-ghost {
  margin-top: 10px;
  padding: 0 14px;
  min-height: 44px;
  color: var(--shell976fb-cream);
  border: 1px solid var(--shell976fb-line);
  border-radius: var(--shell976fb-radius);
  background: rgba(42, 59, 77, 0.55);
}

/* ---------- about dossier ------------------------------------------------ */
.shell976fb-dossier {
  margin-bottom: 18px;
  padding: 14px 12px 16px;
  background: rgba(111, 78, 55, 0.28);
  border-left: 4px solid var(--shell976fb-line);
  border-right: 4px solid var(--shell976fb-line);
}

.shell976fb-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}

.shell976fb-band {
  padding: 10px 10px 12px;
  border-radius: var(--shell976fb-radius);
  background: rgba(42, 59, 77, 0.72);
  border: 1px solid rgba(72, 209, 204, 0.45);
}

.shell976fb-band-limit {
  background: rgba(52, 73, 94, 0.35);
  border-color: rgba(139, 115, 85, 0.8);
}

.shell976fb-fields { margin-top: 8px; }

.shell976fb-field {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(139, 115, 85, 0.55);
  font-size: 13.5px;
}

.shell976fb-field b {
  font-family: var(--shell976fb-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shell976fb-teal);
}

.shell976fb-meter {
  height: 8px;
  margin: 8px 0 12px;
  background: rgba(42, 59, 77, 0.8);
  border: 1px solid var(--shell976fb-line);
  border-radius: 3px;
  overflow: hidden;
}

.shell976fb-meter span {
  display: block;
  height: 100%;
  width: 42%;
  background: var(--shell976fb-teal);
}

@media (max-width: 359px) {
  .shell976fb-field { grid-template-columns: 1fr; gap: 2px; }
}
