/* ==========================================================================
   3u3u apps — layer stylesheet
   Canvas: 320–430px phone frame, centred on wide screens (cap 430px).
   Prefix contract: every class and custom property starts with shell19dbf-.
   Palette: #3CB371 signal green over #1E1E1E ink.
   Direction: stroke-led restrained corners, technical headings, compact
   metric rhythm, square high-contrast CTAs, light press feedback only.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --shell19dbf-ink: #1e1e1e;            /* app canvas background            */
  --shell19dbf-ink-deep: #111113;       /* backdrop beyond the canvas       */
  --shell19dbf-raise: #242427;          /* raised surface                   */
  --shell19dbf-raise-2: #2b2b2f;        /* hovered / pressed surface        */
  --shell19dbf-line: #3a3a3f;           /* standard stroke                  */
  --shell19dbf-line-strong: #4c4c52;    /* emphasised stroke                */
  --shell19dbf-green: #3cb371;          /* signal green                     */
  --shell19dbf-green-deep: #2f8f5c;     /* pressed green                    */
  --shell19dbf-green-ink: #0b2114;      /* text on solid green              */
  --shell19dbf-green-tint: rgba(60, 179, 113, 0.12);
  --shell19dbf-paper: #edf2ee;          /* primary text                     */
  --shell19dbf-paper-dim: #a6b2a8;      /* secondary text                   */
  --shell19dbf-paper-faint: #7e8a82;    /* tertiary text                    */
  --shell19dbf-font-tech: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --shell19dbf-font-head: "Segoe UI", "SF Pro Display", system-ui, -apple-system, Arial, sans-serif;
  --shell19dbf-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell19dbf-radius: 3px;             /* restrained corners               */
  --shell19dbf-topbar-h: 104px;         /* fixed header reserve             */
  --shell19dbf-bottomnav-h: 66px;       /* fixed bottom bar reserve         */
  --shell19dbf-pad-x: 12px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--shell19dbf-ink-deep);
  color: var(--shell19dbf-paper);
  font-family: var(--shell19dbf-font-body);
  font-size: 15px;
  line-height: 1.62;
  padding-top: var(--shell19dbf-topbar-h);
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--shell19dbf-font-head);
  line-height: 1.28;
  margin: 0;
  color: var(--shell19dbf-paper);
}

p { margin: 0 0 12px; }

a { color: var(--shell19dbf-green); text-decoration: none; }
a:hover { text-decoration: underline; }

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

:focus-visible {
  outline: 2px solid var(--shell19dbf-green);
  outline-offset: 2px;
}

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

/* Canvas ---------------------------------------------------------------- */
.shell19dbf-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell19dbf-ink);
}

@media (min-width: 431px) {
  .shell19dbf-canvas {
    box-shadow:
      0 0 0 1px var(--shell19dbf-line),
      0 24px 60px rgba(0, 0, 0, 0.55);
  }
}

/* Body lock while the sectioned menu is open */
body.shell19dbf-menu-lock { overflow: hidden; }

/* --------------------------------------------------------------------------
   3. Top bar — asymmetric brand plate spanning both grid rows
   -------------------------------------------------------------------------- */
.shell19dbf-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: var(--shell19dbf-ink);
  border-bottom: 1px solid var(--shell19dbf-line-strong);
}

.shell19dbf-topgrid {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
}

/* Brand plate: the tall left column, logo + name only */
.shell19dbf-brand {
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--shell19dbf-raise);
  border-right: 1px solid var(--shell19dbf-line);
  border-bottom: 1px solid var(--shell19dbf-line);
  border-left: 3px solid var(--shell19dbf-green);
  min-height: var(--shell19dbf-topbar-h);
}

.shell19dbf-logo {
  width: 44px;
  height: 44px;
  border: 1px solid var(--shell19dbf-line-strong);
  border-radius: var(--shell19dbf-radius);
  background: var(--shell19dbf-ink);
  object-fit: cover;
  flex: 0 0 auto;
}

.shell19dbf-wordmark {
  font-family: var(--shell19dbf-font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: var(--shell19dbf-paper);
  white-space: nowrap;
}

.shell19dbf-wordmark b { color: var(--shell19dbf-green); font-weight: 700; }

/* Action row: register / login sit top-right, outside the brand zone */
.shell19dbf-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--shell19dbf-line);
  min-height: 56px;
}

/* Menu strip: the wide lower row, right of the brand plate */
.shell19dbf-menustrip {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 0 12px 0 14px;
  background: var(--shell19dbf-ink);
  color: var(--shell19dbf-paper-dim);
  font-family: var(--shell19dbf-font-tech);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.shell19dbf-menustrip:active {
  color: var(--shell19dbf-green);
  background: var(--shell19dbf-green-tint);
}

.shell19dbf-menustrip-ico {
  display: inline-flex;
  width: 20px; height: 20px;
  color: var(--shell19dbf-green);
}

.shell19dbf-menustrip-count {
  margin-left: auto;
  color: var(--shell19dbf-paper-faint);
  font-size: 11px;
}

/* Buttons: square, high contrast */
.shell19dbf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  font-family: var(--shell19dbf-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 0.12s ease, background-color 0.15s ease, color 0.15s ease;
}

.shell19dbf-btn:active { transform: scale(0.95); }

.shell19dbf-btn-solid {
  background: var(--shell19dbf-green);
  border: 1px solid var(--shell19dbf-green);
  color: var(--shell19dbf-green-ink);
}

.shell19dbf-btn-solid:active { background: var(--shell19dbf-green-deep); }

.shell19dbf-btn-ghost {
  background: transparent;
  border: 1px solid var(--shell19dbf-green);
  color: var(--shell19dbf-green);
}

.shell19dbf-btn-ghost:active { background: var(--shell19dbf-green-tint); }

/* --------------------------------------------------------------------------
   4. Sectioned site menu (full-canvas overlay)
   -------------------------------------------------------------------------- */
.shell19dbf-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 80;
  overflow-y: auto;
  background: var(--shell19dbf-ink-deep);
  border-left: 1px solid var(--shell19dbf-line);
  border-right: 1px solid var(--shell19dbf-line);
  padding: 0 0 calc(var(--shell19dbf-bottomnav-h) + 20px);
}

.shell19dbf-menu[hidden] { display: none; }

.shell19dbf-menu-head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--shell19dbf-ink);
  border-bottom: 1px solid var(--shell19dbf-line-strong);
  z-index: 2;
}

.shell19dbf-menu-title {
  font-family: var(--shell19dbf-font-tech);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shell19dbf-green);
}

.shell19dbf-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--shell19dbf-line-strong);
  border-radius: 2px;
  color: var(--shell19dbf-paper-dim);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.shell19dbf-menu-close:active {
  color: var(--shell19dbf-green);
  border-color: var(--shell19dbf-green);
  transform: scale(0.92);
}

.shell19dbf-menu-sub {
  padding: 12px 16px 4px;
  color: var(--shell19dbf-paper-faint);
  font-size: 12.5px;
}

.shell19dbf-menu-group { padding: 10px 0 4px; }

.shell19dbf-menu-label {
  padding: 8px 16px;
  font-family: var(--shell19dbf-font-tech);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--shell19dbf-paper-faint);
}

.shell19dbf-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--shell19dbf-line);
  color: var(--shell19dbf-paper);
  font-family: var(--shell19dbf-font-head);
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.shell19dbf-menu-link::after {
  content: "";
  width: 7px; height: 7px;
  border-top: 1.5px solid var(--shell19dbf-paper-faint);
  border-right: 1.5px solid var(--shell19dbf-paper-faint);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.shell19dbf-menu-link:active {
  background: var(--shell19dbf-green-tint);
  color: var(--shell19dbf-green);
  transform: scale(0.98);
}

.shell19dbf-menu-link[aria-current="page"] {
  color: var(--shell19dbf-green);
  box-shadow: inset 3px 0 0 var(--shell19dbf-green);
}

/* --------------------------------------------------------------------------
   5. Main column
   -------------------------------------------------------------------------- */
.shell19dbf-main {
  padding: 16px var(--shell19dbf-pad-x) calc(var(--shell19dbf-bottomnav-h) + 30px);
}

.shell19dbf-section { margin: 0 0 30px; }

/* Section heading pattern: kicker / title / rule */
.shell19dbf-kicker {
  display: block;
  font-family: var(--shell19dbf-font-tech);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--shell19dbf-green);
  margin-bottom: 6px;
}

.shell19dbf-h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--shell19dbf-line);
  margin-bottom: 10px;
}

.shell19dbf-h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shell19dbf-paper);
  margin: 16px 0 6px;
}

.shell19dbf-h3::before {
  content: "//";
  color: var(--shell19dbf-green);
  margin-right: 7px;
  font-family: var(--shell19dbf-font-tech);
}

.shell19dbf-count {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 7px;
  font-family: var(--shell19dbf-font-tech);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--shell19dbf-green);
  border: 1px solid var(--shell19dbf-green);
  border-radius: 2px;
  vertical-align: 3px;
}

/* Prose blocks */
.shell19dbf-prose { color: var(--shell19dbf-paper); }
.shell19dbf-prose p { margin: 0 0 12px; }
.shell19dbf-prose strong { color: var(--shell19dbf-paper); }
.shell19dbf-prose a { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.shell19dbf-hero {
  border: 1px solid var(--shell19dbf-line);
  border-left: 3px solid var(--shell19dbf-green);
  background:
    linear-gradient(160deg, var(--shell19dbf-raise) 0%, var(--shell19dbf-ink) 70%);
  padding: 16px 14px 14px;
  margin-bottom: 14px;
}

.shell19dbf-h1 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 0 0 10px;
}

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

/* Compact metric strip: the page's information rhythm in one row */
.shell19dbf-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--shell19dbf-line);
  margin-top: 14px;
}

.shell19dbf-metric {
  padding: 9px 10px;
  border-right: 1px solid var(--shell19dbf-line);
  border-bottom: 1px solid var(--shell19dbf-line);
  background: var(--shell19dbf-ink);
}

.shell19dbf-metric:nth-child(2n) { border-right: 0; }
.shell19dbf-metric:nth-last-child(-n + 2) { border-bottom: 0; }

.shell19dbf-metric-num {
  display: block;
  font-family: var(--shell19dbf-font-tech);
  font-size: 17px;
  font-weight: 700;
  color: var(--shell19dbf-green);
  line-height: 1.2;
}

.shell19dbf-metric-label {
  display: block;
  font-size: 11.5px;
  color: var(--shell19dbf-paper-faint);
  line-height: 1.4;
}

@media (min-width: 380px) {
  .shell19dbf-metrics { grid-template-columns: repeat(4, 1fr); }
  .shell19dbf-metric { border-bottom: 0; }
  .shell19dbf-metric:nth-child(2n) { border-right: 1px solid var(--shell19dbf-line); }
  .shell19dbf-metric:last-child { border-right: 0; }
  .shell19dbf-metric-label { font-size: 10.5px; }
}

/* --------------------------------------------------------------------------
   7. Banner carousel
   -------------------------------------------------------------------------- */
.shell19dbf-car {
  border: 1px solid var(--shell19dbf-line);
  background: var(--shell19dbf-ink);
  margin-bottom: 14px;
}

.shell19dbf-car-vp {
  overflow: hidden;
  touch-action: pan-y;
}

.shell19dbf-car-track {
  display: flex;
  transition: transform 0.42s ease;
}

.shell19dbf-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  background: var(--shell19dbf-ink);
  transition: transform 0.12s ease;
}

.shell19dbf-slide:active { transform: scale(0.99); }

.shell19dbf-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.shell19dbf-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(17, 17, 19, 0) 0%, rgba(17, 17, 19, 0.94) 68%);
}

.shell19dbf-slide-tag {
  display: block;
  font-family: var(--shell19dbf-font-tech);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--shell19dbf-green);
  margin-bottom: 3px;
}

.shell19dbf-slide-title {
  display: block;
  font-family: var(--shell19dbf-font-head);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--shell19dbf-paper);
}

.shell19dbf-slide-cta {
  flex: 0 0 auto;
  padding: 7px 12px;
  font-family: var(--shell19dbf-font-tech);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--shell19dbf-green-ink);
  background: var(--shell19dbf-green);
  border-radius: 2px;
}

/* Dots + arrows bar */
.shell19dbf-car-bar {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--shell19dbf-line);
  height: 44px;
}

.shell19dbf-car-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--shell19dbf-paper-dim);
  border-right: 1px solid var(--shell19dbf-line);
  transition: color 0.15s ease, transform 0.12s ease;
}

.shell19dbf-car-arrow:last-child {
  border-right: 0;
  border-left: 1px solid var(--shell19dbf-line);
  margin-left: auto;
}

.shell19dbf-car-arrow:active {
  color: var(--shell19dbf-green);
  transform: scale(0.88);
}

.shell19dbf-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.shell19dbf-dot {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shell19dbf-dot::before {
  content: "";
  width: 14px; height: 3px;
  background: var(--shell19dbf-line-strong);
  transition: background-color 0.2s ease;
}

.shell19dbf-dot[aria-current="true"]::before { background: var(--shell19dbf-green); }

/* --------------------------------------------------------------------------
   8. Category jump chips
   -------------------------------------------------------------------------- */
.shell19dbf-catnav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 10px;
  scrollbar-width: none;
  margin-bottom: 6px;
}

.shell19dbf-catnav::-webkit-scrollbar { display: none; }

.shell19dbf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--shell19dbf-line-strong);
  border-radius: 2px;
  background: var(--shell19dbf-raise);
  font-family: var(--shell19dbf-font-tech);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell19dbf-paper-dim);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.shell19dbf-chip b { color: var(--shell19dbf-green); }

.shell19dbf-chip:active {
  color: var(--shell19dbf-green);
  border-color: var(--shell19dbf-green);
  transform: scale(0.94);
}

/* --------------------------------------------------------------------------
   9. Game grids — image tiles with a bottom name bar
   -------------------------------------------------------------------------- */
.shell19dbf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (min-width: 400px) {
  .shell19dbf-grid { grid-template-columns: repeat(5, 1fr); gap: 9px; }
}

.shell19dbf-tile {
  display: flex;
  flex-direction: column;
  background: var(--shell19dbf-raise);
  border: 1px solid var(--shell19dbf-line);
  border-radius: var(--shell19dbf-radius);
  overflow: hidden;
  transition: transform 0.12s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.shell19dbf-tile:active {
  transform: scale(0.93);
  border-color: var(--shell19dbf-green);
  background: var(--shell19dbf-raise-2);
}

.shell19dbf-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--shell19dbf-ink);
}

.shell19dbf-tile-name {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 4px 5px 5px;
  border-top: 1px solid var(--shell19dbf-line);
  background: var(--shell19dbf-ink);
  font-size: 10.5px;
  line-height: 1.25;
  text-align: center;
  color: var(--shell19dbf-paper-dim);
  overflow-wrap: anywhere;
}

.shell19dbf-tile:active .shell19dbf-tile-name {
  color: var(--shell19dbf-green);
}

/* --------------------------------------------------------------------------
   10. Ruled lists — gates, ledger rows, bonus desk, apk rules
   -------------------------------------------------------------------------- */
.shell19dbf-rules { list-style: none; margin: 8px 0 12px; padding: 0; }

.shell19dbf-rules li {
  border: 1px solid var(--shell19dbf-line);
  border-left: 2px solid var(--shell19dbf-green);
  background: var(--shell19dbf-raise);
  padding: 8px 11px;
  margin-bottom: 7px;
  font-size: 13.5px;
  color: var(--shell19dbf-paper-dim);
}

.shell19dbf-rules b {
  display: block;
  font-family: var(--shell19dbf-font-tech);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell19dbf-green);
  margin-bottom: 2px;
}

/* Fact sheet: two-column key/value rows */
.shell19dbf-facts {
  border: 1px solid var(--shell19dbf-line);
  margin-top: 8px;
}

.shell19dbf-fact {
  display: grid;
  grid-template-columns: 92px 1fr;
  border-bottom: 1px solid var(--shell19dbf-line);
}

.shell19dbf-fact:last-child { border-bottom: 0; }

.shell19dbf-fact-key {
  padding: 9px 8px;
  font-family: var(--shell19dbf-font-tech);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shell19dbf-green);
  background: var(--shell19dbf-raise);
  border-right: 1px solid var(--shell19dbf-line);
  display: flex;
  align-items: center;
}

.shell19dbf-fact-val {
  padding: 9px 10px;
  font-size: 13.5px;
  color: var(--shell19dbf-paper-dim);
}

.shell19dbf-fact-val a { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   11. Extended footer: promotions > brand > directory > disclaimer
   -------------------------------------------------------------------------- */
.shell19dbf-xfoot {
  margin: 8px calc(var(--shell19dbf-pad-x) * -1) 0;
  border-top: 1px solid var(--shell19dbf-line-strong);
  background: var(--shell19dbf-ink-deep);
  padding: 4px var(--shell19dbf-pad-x) 16px;
}

.shell19dbf-xf-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 8px;
  font-family: var(--shell19dbf-font-tech);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--shell19dbf-paper-faint);
}

.shell19dbf-xf-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--shell19dbf-line);
}

.shell19dbf-promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.shell19dbf-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid var(--shell19dbf-green);
  border-radius: 2px;
  background: var(--shell19dbf-green-tint);
  color: var(--shell19dbf-paper);
  font-family: var(--shell19dbf-font-head);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  transition: transform 0.12s ease, background-color 0.15s ease;
}

.shell19dbf-promo:active {
  transform: scale(0.95);
  background: rgba(60, 179, 113, 0.22);
}

.shell19dbf-promo svg {
  width: 22px; height: 22px;
  flex: 0 0 auto;
  color: var(--shell19dbf-green);
}

.shell19dbf-xf-brand {
  font-size: 13.5px;
  color: var(--shell19dbf-paper-dim);
  margin: 0;
}

.shell19dbf-dir {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--shell19dbf-line);
}

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

.shell19dbf-dir a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 11px;
  border-bottom: 1px solid var(--shell19dbf-line);
  font-size: 12.5px;
  color: var(--shell19dbf-paper-dim);
  background: var(--shell19dbf-ink);
  transition: color 0.15s ease, background-color 0.15s ease, transform 0.12s ease;
}

.shell19dbf-dir a:nth-last-child(-n + 1) { border-bottom: 0; }

@media (min-width: 380px) {
  .shell19dbf-dir a:nth-child(2n) { border-right: 0; }
  .shell19dbf-dir a:nth-last-child(-n + 2) { border-bottom: 0; }
}

.shell19dbf-dir a:active {
  color: var(--shell19dbf-green);
  background: var(--shell19dbf-green-tint);
  transform: scale(0.97);
}

.shell19dbf-note {
  border: 1px solid var(--shell19dbf-line);
  border-left: 2px solid var(--shell19dbf-green);
  background: var(--shell19dbf-raise);
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--shell19dbf-paper-faint);
  margin: 0;
}

/* Common footer line: copyright only */
.shell19dbf-commonfoot {
  padding: 14px var(--shell19dbf-pad-x) 18px;
  border-top: 1px solid var(--shell19dbf-line);
  text-align: center;
  font-family: var(--shell19dbf-font-tech);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--shell19dbf-paper-faint);
}

/* --------------------------------------------------------------------------
   12. Bottom navigation — outlined function bar, underline active state
   -------------------------------------------------------------------------- */
.shell19dbf-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--shell19dbf-ink);
  border-top: 1px solid var(--shell19dbf-line-strong);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.shell19dbf-bnav {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--shell19dbf-bottomnav-h);
  padding: 8px 2px 10px;
  color: var(--shell19dbf-paper-faint);
  font-family: var(--shell19dbf-font-tech);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.15s ease, transform 0.12s ease;
}

.shell19dbf-bnav + .shell19dbf-bnav { border-left: 1px solid var(--shell19dbf-line); }

.shell19dbf-bnav svg {
  width: 21px; height: 21px;
}

.shell19dbf-bnav:active {
  color: var(--shell19dbf-green);
  transform: scale(0.9);
}

/* Active marker: underline bar pinned above the safe area */
.shell19dbf-bnav::after {
  content: "";
  position: absolute;
  left: 30%;
  right: 30%;
  bottom: 5px;
  height: 2px;
  background: transparent;
}

.shell19dbf-bnav[aria-current="page"] { color: var(--shell19dbf-green); }
.shell19dbf-bnav[aria-current="page"]::after { background: var(--shell19dbf-green); }

/* Promo roles get a hairline green tint to separate intent */
.shell19dbf-bnav--promo { color: var(--shell19dbf-paper-dim); }
.shell19dbf-bnav--promo svg { color: var(--shell19dbf-green); }

/* --------------------------------------------------------------------------
   13. Motion preferences and small screens
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 339px) {
  .shell19dbf-wordmark { font-size: 16px; }
  .shell19dbf-logo { width: 38px; height: 38px; }
  .shell19dbf-h1 { font-size: 20px; }
  .shell19dbf-h2 { font-size: 17px; }
}

/* --------------------------------------------------------------------------
   14. Help page patterns — question ledger and feature route map
   ------------------------------------------------------------------------ */
.shell19dbf-help-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  margin: 10px 0 0;
  border: 1px solid var(--shell19dbf-green);
  border-left-width: 3px;
  border-radius: 2px;
  background: var(--shell19dbf-green-tint);
  color: var(--shell19dbf-paper);
  font-family: var(--shell19dbf-font-head);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  transition: transform 0.12s ease, background-color 0.15s ease, color 0.15s ease;
}

.shell19dbf-help-cta::after {
  content: "->";
  flex: 0 0 auto;
  color: var(--shell19dbf-green);
  font-family: var(--shell19dbf-font-tech);
}

.shell19dbf-help-cta:active {
  transform: scale(0.97);
  background: rgba(60, 179, 113, 0.22);
  color: var(--shell19dbf-green);
}

.shell19dbf-faq-ledger {
  margin: 10px 0 0;
  border-top: 1px solid var(--shell19dbf-line-strong);
}

.shell19dbf-faq-entry {
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--shell19dbf-line);
}

.shell19dbf-faq-question {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 6px;
  color: var(--shell19dbf-paper);
  font-size: 14px;
  line-height: 1.35;
}

.shell19dbf-faq-question::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 1px solid var(--shell19dbf-green);
  color: var(--shell19dbf-green);
  font-family: var(--shell19dbf-font-tech);
  font-size: 11px;
  font-weight: 700;
}

.shell19dbf-faq-answer {
  margin: 0 0 0 31px;
  color: var(--shell19dbf-paper-dim);
  font-size: 13.5px;
}

.shell19dbf-step-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  counter-reset: shell19dbf-step;
}

.shell19dbf-step-item {
  position: relative;
  min-height: 58px;
  padding: 10px 10px 10px 45px;
  border-bottom: 1px solid var(--shell19dbf-line);
  color: var(--shell19dbf-paper-dim);
  font-size: 13.5px;
}

.shell19dbf-step-item::before {
  counter-increment: shell19dbf-step;
  content: counter(shell19dbf-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border: 1px solid var(--shell19dbf-line-strong);
  color: var(--shell19dbf-green);
  font-family: var(--shell19dbf-font-tech);
  font-size: 11px;
  font-weight: 700;
}

.shell19dbf-step-item b {
  display: block;
  margin-bottom: 2px;
  color: var(--shell19dbf-paper);
  font-size: 13px;
}

.shell19dbf-condition-grid {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.shell19dbf-condition {
  border: 1px solid var(--shell19dbf-line);
  border-left: 2px solid var(--shell19dbf-green);
  padding: 10px 11px;
  background: var(--shell19dbf-raise);
}

.shell19dbf-condition b {
  display: block;
  margin-bottom: 3px;
  color: var(--shell19dbf-green);
  font-family: var(--shell19dbf-font-tech);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shell19dbf-condition p { margin: 0; color: var(--shell19dbf-paper-dim); font-size: 13px; }

.shell19dbf-feature-rail {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.shell19dbf-feature-node {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--shell19dbf-line);
  padding: 10px;
  background: var(--shell19dbf-raise);
}

.shell19dbf-feature-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--shell19dbf-green);
  color: var(--shell19dbf-green);
  font-family: var(--shell19dbf-font-tech);
  font-size: 12px;
  font-weight: 700;
}

.shell19dbf-feature-node h3 { margin: 0 0 3px; font-size: 14px; }
.shell19dbf-feature-node p { margin: 0; color: var(--shell19dbf-paper-dim); font-size: 13px; }

.shell19dbf-term-list {
  margin: 10px 0 0;
  border-top: 1px solid var(--shell19dbf-line-strong);
}

.shell19dbf-term-row {
  display: grid;
  grid-template-columns: 104px 1fr;
  border-bottom: 1px solid var(--shell19dbf-line);
}

.shell19dbf-term-row dt {
  padding: 10px 8px;
  color: var(--shell19dbf-green);
  background: var(--shell19dbf-raise);
  border-right: 1px solid var(--shell19dbf-line);
  font-family: var(--shell19dbf-font-tech);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shell19dbf-term-row dd { margin: 0; padding: 10px; color: var(--shell19dbf-paper-dim); font-size: 13px; }

.shell19dbf-takeaway {
  margin-top: 10px;
  padding: 13px;
  border: 1px solid var(--shell19dbf-green);
  background: linear-gradient(145deg, var(--shell19dbf-green-tint), var(--shell19dbf-raise));
}

.shell19dbf-takeaway strong {
  display: block;
  margin-bottom: 5px;
  color: var(--shell19dbf-green);
  font-family: var(--shell19dbf-font-tech);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shell19dbf-takeaway p { margin: 0; color: var(--shell19dbf-paper); font-size: 13.5px; }

@media (max-width: 339px) {
  .shell19dbf-term-row { grid-template-columns: 88px 1fr; }
  .shell19dbf-feature-node { grid-template-columns: 40px 1fr; gap: 8px; }
}
