/* ==========================================================================
   da888.cfd - mobile chrome stylesheet
   File   : css/da888-chrome-f719b7.css
   Prefix : ui19b74- (every class and custom property)
   Canvas : 320-430px phone frame, centered on wide screens
   Motif  : amber "ticket stub" chrome, square high-contrast CTAs,
            mixed radii, image card with bottom name bar
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --ui19b74-ink: #171512;            /* page backdrop outside the canvas */
  --ui19b74-base: #2C2C2C;           /* canvas surface */
  --ui19b74-panel: #33302c;          /* raised blocks */
  --ui19b74-panel-2: #3a362f;        /* hover / pressed blocks */
  --ui19b74-well: #242220;           /* sunken strips */
  --ui19b74-line: #4a443c;           /* hairlines */
  --ui19b74-cream: #f6efe3;          /* primary text */
  --ui19b74-mute: #c9bfae;           /* body text */
  --ui19b74-faint: #968d7f;          /* tertiary text */
  --ui19b74-amber: #FFB74D;          /* primary accent */
  --ui19b74-amber-deep: #c9802a;     /* pressed shadow for CTAs */
  --ui19b74-sun: #FFEB3B;            /* highlight accent */
  --ui19b74-rose: #BC8F8F;           /* secondary accent */
  --ui19b74-rose-soft: #d9bcbc;      /* readable tint of rose */
  --ui19b74-a-slot: #FFB74D;
  --ui19b74-a-card: #BC8F8F;
  --ui19b74-a-live: #FFEB3B;
  --ui19b74-a-hot: #ffc069;
  --ui19b74-a-fish: #d9bcbc;
  --ui19b74-font-head: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --ui19b74-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ui19b74-r-lg: 14px;
  --ui19b74-r-md: 9px;
  --ui19b74-r-sm: 4px;
  --ui19b74-dock-h: 62px;
}

/* --------------------------------------------------------------------------
   2. Reset + base canvas
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ui19b74-ink);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 183, 77, 0.03) 0 10px,
    rgba(0, 0, 0, 0) 10px 22px
  );
  color: var(--ui19b74-cream);
  font-family: var(--ui19b74-font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

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

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

a { color: var(--ui19b74-sun); }

:focus-visible {
  outline: 2px solid var(--ui19b74-sun);
  outline-offset: 2px;
}

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

/* Phone canvas: hard-capped at 430px and centered when the screen is wider */
.ui19b74-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--ui19b74-base);
  background-image: linear-gradient(180deg, #2f2d29 0%, #2C2C2C 42%, #262523 100%);
  box-shadow: 0 0 46px rgba(0, 0, 0, 0.62);
}

/* --------------------------------------------------------------------------
   3. Topbar: dual-layer brand + action rows, layered dropdown
   -------------------------------------------------------------------------- */
.ui19b74-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, #26231f 0%, #201d1a 100%);
  border-bottom: 2px solid var(--ui19b74-amber);
}

.ui19b74-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 7px;
}

.ui19b74-brand__logo {
  width: 36px; height: 36px;
  flex: none;
  object-fit: cover;
  border: 2px solid var(--ui19b74-amber);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 78% 100%, 0 100%);
}

.ui19b74-brand__name {
  font-family: var(--ui19b74-font-head);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--ui19b74-cream);
  line-height: 1;
}

.ui19b74-brand__name b { color: var(--ui19b74-amber); font-weight: 800; }

.ui19b74-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 0 12px 10px;
}

.ui19b74-btn {
  flex: 1 1 auto;
  min-height: 44px;
  border: 0;
  border-radius: 2px;                 /* square CTA corners by design */
  font-family: var(--ui19b74-font-head);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.ui19b74-btn--primary {
  background: var(--ui19b74-amber);
  color: #221b10;
  box-shadow: 0 3px 0 var(--ui19b74-amber-deep);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.ui19b74-btn--primary:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--ui19b74-amber-deep);
}

.ui19b74-btn--ghost {
  background: transparent;
  border: 2px solid var(--ui19b74-rose);
  color: var(--ui19b74-rose-soft);
}

.ui19b74-burger {
  flex: none;
  width: 46px;
  min-height: 44px;
  display: grid;
  place-items: center;
  background: var(--ui19b74-panel);
  border: 1px solid var(--ui19b74-line);
  border-radius: 2px;
  color: var(--ui19b74-amber);
}

.ui19b74-burger svg { width: 22px; height: 22px; fill: currentColor; }

/* Dropdown panel: two layers (group rail -> links), slides in from above */
.ui19b74-menu {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  max-height: calc(100vh - 118px);
  overflow-y: auto;
  background: #231f1b;
  border-bottom: 3px solid var(--ui19b74-amber);
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.55);
  padding: 6px 12px 14px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: transform 0.26s ease, opacity 0.26s ease, visibility 0.26s;
}

.ui19b74-menu--open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.ui19b74-menu__group { margin-top: 10px; }

.ui19b74-menu__rail {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-family: var(--ui19b74-font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ui19b74-rose);
}

.ui19b74-menu__rail::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--ui19b74-line), transparent);
}

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

.ui19b74-menu__list a {
  display: block;
  min-height: 40px;
  padding: 9px 8px 9px 10px;
  border-left: 3px solid transparent;
  border-bottom: 1px solid #2e2a25;
  color: var(--ui19b74-cream);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: #282420;
}

.ui19b74-menu__list a:active,
.ui19b74-menu__list a:hover {
  border-left-color: var(--ui19b74-amber);
  background: #322c26;
}

/* --------------------------------------------------------------------------
   4. Main column
   -------------------------------------------------------------------------- */
.ui19b74-main {
  padding: 14px 12px calc(var(--ui19b74-dock-h) + 34px + env(safe-area-inset-bottom));
}

/* --------------------------------------------------------------------------
   5. Hero: H1 + lead + quick facts + banner carousel
   -------------------------------------------------------------------------- */
.ui19b74-hero { margin-bottom: 6px; }

.ui19b74-hero h1 {
  margin: 0 0 10px;
  font-family: var(--ui19b74-font-head);
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--ui19b74-cream);
  padding-bottom: 8px;
  border-bottom: 3px double var(--ui19b74-amber);
}

.ui19b74-hero h1 span { color: var(--ui19b74-amber); }

.ui19b74-lead {
  margin: 0 0 12px;
  padding-left: 10px;
  border-left: 3px solid var(--ui19b74-rose);
  color: var(--ui19b74-mute);
  font-size: 13.5px;
}

.ui19b74-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.ui19b74-facts li {
  padding: 7px 8px;
  background: var(--ui19b74-well);
  border: 1px solid var(--ui19b74-line);
  border-radius: 3px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ui19b74-mute);
}

.ui19b74-facts b { color: var(--ui19b74-sun); }

/* Carousel viewport */
.ui19b74-view {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ui19b74-line);
  border-radius: var(--ui19b74-r-md) var(--ui19b74-r-md) 0 0;
  background: var(--ui19b74-well);
}

.ui19b74-track {
  display: flex;
  transition: transform 0.45s ease;
}

.ui19b74-banner {
  position: relative;
  flex: 0 0 100%;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
}

.ui19b74-banner img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.ui19b74-banner__tag {
  position: absolute;
  left: 8px; top: 8px;
  max-width: calc(100% - 60px);
  padding: 4px 9px;
  background: var(--ui19b74-amber);
  color: #241d12;
  font-family: var(--ui19b74-font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  text-align: left;
}

.ui19b74-dots {
  position: absolute;
  right: 10px; bottom: 9px;
  display: flex;
  gap: 7px;
}

.ui19b74-dots__dot {
  width: 12px; height: 12px;
  padding: 0;
  border: 1px solid var(--ui19b74-cream);
  background: rgba(23, 21, 18, 0.55);
}

.ui19b74-dots__dot--on {
  background: var(--ui19b74-sun);
  border-color: var(--ui19b74-sun);
}

/* --------------------------------------------------------------------------
   6. Game sections: ticket-stub header + compact card grid
   -------------------------------------------------------------------------- */
.ui19b74-sechead {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 22px 0 8px;
}

.ui19b74-sechead__tag {
  flex: none;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  font-family: var(--ui19b74-font-head);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #241d12;
  transform: rotate(-2deg);
  clip-path: polygon(0 0, 100% 0, 100% 74%, 76% 100%, 0 100%);
}

.ui19b74-sechead__tag--slot { background: var(--ui19b74-a-slot); }
.ui19b74-sechead__tag--card { background: var(--ui19b74-a-card); color: #2b1d1d; }
.ui19b74-sechead__tag--live { background: var(--ui19b74-a-live); }
.ui19b74-sechead__tag--hot  { background: var(--ui19b74-a-hot); }
.ui19b74-sechead__tag--fish { background: var(--ui19b74-a-fish); color: #2b1d1d; }

.ui19b74-sechead h2 {
  flex: 1;
  margin: 0;
  font-family: var(--ui19b74-font-head);
  font-size: 16px;
  line-height: 1.32;
  font-weight: 800;
  color: var(--ui19b74-cream);
}

.ui19b74-sechead__count {
  flex: none;
  padding: 3px 7px;
  border: 1px solid var(--ui19b74-line);
  border-radius: 2px;
  font-family: var(--ui19b74-font-head);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ui19b74-mute);
  white-space: nowrap;
}

.ui19b74-blurb {
  margin: 0 0 10px;
  color: var(--ui19b74-mute);
  font-size: 13px;
}

/* 4 columns from 320px up, 5 columns once the canvas reaches 400px */
.ui19b74-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 7px;
}

/* Game card: image on top, name bar below, category accent on the bar */
.ui19b74-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #3e3933;
  border-radius: 10px 10px 2px 2px;
  background: #2a2723;
  overflow: hidden;
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.ui19b74-card:hover,
.ui19b74-card:active {
  transform: translateY(-3px);       /* light lift */
  border-color: var(--ui19b74-amber);
}

.ui19b74-card__frame {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: #1d1b19;
}

.ui19b74-card__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.ui19b74-card--hot .ui19b74-card__frame::after {
  content: "HOT";
  position: absolute;
  right: 0; top: 0;
  padding: 2px 4px;
  background: var(--ui19b74-sun);
  color: #241d12;
  font-family: var(--ui19b74-font-head);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.ui19b74-card__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
  padding: 5px 4px 6px 7px;
  background: #211f1b;
  border-left: 3px solid var(--ui19b74-a-slot);
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: #e9e1d3;
}

.ui19b74-card--card  .ui19b74-card__name { border-left-color: var(--ui19b74-a-card); }
.ui19b74-card--live  .ui19b74-card__name { border-left-color: var(--ui19b74-a-live); }
.ui19b74-card--hot   .ui19b74-card__name { border-left-color: var(--ui19b74-a-hot); }
.ui19b74-card--fish  .ui19b74-card__name { border-left-color: var(--ui19b74-a-fish); }

/* --------------------------------------------------------------------------
   7. Article modules after the game area
   -------------------------------------------------------------------------- */
.ui19b74-doc {
  margin: 24px 0 0;
  padding: 13px 12px 15px;
  border: 1px solid var(--ui19b74-line);
  border-top: 3px solid var(--ui19b74-rose);
  border-radius: var(--ui19b74-r-md) var(--ui19b74-r-md) 0 0;
  background: linear-gradient(180deg, #302c28 0%, #292622 100%);
}

.ui19b74-doc h2 {
  margin: 0 0 8px;
  font-family: var(--ui19b74-font-head);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--ui19b74-cream);
}

.ui19b74-doc h2::before {
  content: "";
  display: inline-block;
  width: 9px; height: 9px;
  margin-right: 8px;
  margin-bottom: 1px;
  background: var(--ui19b74-amber);
  transform: rotate(45deg);
}

.ui19b74-doc h3 {
  margin: 14px 0 6px;
  font-family: var(--ui19b74-font-head);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--ui19b74-sun);
}

.ui19b74-doc p {
  margin: 0 0 9px;
  color: var(--ui19b74-mute);
  font-size: 13.5px;
}

.ui19b74-doc p:last-child { margin-bottom: 0; }

.ui19b74-doc strong { color: var(--ui19b74-cream); }

.ui19b74-doc a {
  color: var(--ui19b74-sun);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  font-weight: 700;
}

/* M1: play style comparison rows */
.ui19b74-styles { margin: 4px 0 10px; }

.ui19b74-styles__row {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed #413c35;
}

.ui19b74-styles__row:last-child { border-bottom: 0; }

.ui19b74-styles__chip {
  flex: none;
  width: 88px;
  align-self: flex-start;
  padding: 5px 4px;
  background: var(--ui19b74-well);
  border: 1px solid var(--ui19b74-line);
  border-left: 3px solid var(--ui19b74-rose);
  font-family: var(--ui19b74-font-head);
  font-size: 10.5px;
  font-weight: 800;
  text-align: center;
  color: var(--ui19b74-rose-soft);
}

.ui19b74-styles__row p {
  flex: 1;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
}

/* M2: numbered trick squares */
.ui19b74-tricks {
  margin: 4px 0 10px;
  padding: 0;
  list-style: none;
  counter-reset: ui19b74-trick;
}

.ui19b74-tricks li {
  position: relative;
  counter-increment: ui19b74-trick;
  padding: 8px 0 8px 36px;
  border-bottom: 1px solid #37322c;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ui19b74-mute);
}

.ui19b74-tricks li:last-child { border-bottom: 0; }

.ui19b74-tricks li::before {
  content: counter(ui19b74-trick, decimal-leading-zero);
  position: absolute;
  left: 0; top: 9px;
  width: 26px; height: 22px;
  display: grid;
  place-items: center;
  background: var(--ui19b74-amber);
  color: #241d12;
  font-family: var(--ui19b74-font-head);
  font-size: 11px;
  font-weight: 800;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
}

/* M3: mobile access rows with corner marks */
.ui19b74-mob {
  margin: 4px 0 10px;
  padding: 0;
  list-style: none;
}

.ui19b74-mob li {
  padding: 8px 10px;
  margin-bottom: 6px;
  background: var(--ui19b74-well);
  border: 1px solid var(--ui19b74-line);
  border-left: 4px solid var(--ui19b74-amber);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ui19b74-mute);
}

.ui19b74-mob li:last-child { margin-bottom: 0; }

/* M4: category highlight table */
.ui19b74-catz {
  margin: 4px 0 10px;
  border: 1px solid var(--ui19b74-line);
}

.ui19b74-catz__row {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 8px 9px;
  border-bottom: 1px solid #37322c;
}

.ui19b74-catz__row:last-child { border-bottom: 0; }

.ui19b74-catz__dot {
  flex: none;
  width: 10px; height: 10px;
  margin-top: 5px;
  transform: rotate(45deg);
}

.ui19b74-catz__row:nth-child(1) .ui19b74-catz__dot { background: var(--ui19b74-a-slot); }
.ui19b74-catz__row:nth-child(2) .ui19b74-catz__dot { background: var(--ui19b74-a-card); }
.ui19b74-catz__row:nth-child(3) .ui19b74-catz__dot { background: var(--ui19b74-a-live); }
.ui19b74-catz__row:nth-child(4) .ui19b74-catz__dot { background: var(--ui19b74-a-hot); }
.ui19b74-catz__row:nth-child(5) .ui19b74-catz__dot { background: var(--ui19b74-a-fish); }

.ui19b74-catz__row p { flex: 1; margin: 0; font-size: 12.5px; line-height: 1.55; }

.ui19b74-catz__row b { color: var(--ui19b74-cream); }

/* M5: vertical step timeline */
.ui19b74-flow {
  margin: 4px 0 10px;
  padding: 2px 0 0 14px;
  list-style: none;
  border-left: 2px solid var(--ui19b74-amber);
}

.ui19b74-flow li {
  position: relative;
  padding: 7px 0 9px 16px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ui19b74-mute);
}

.ui19b74-flow li::before {
  content: "";
  position: absolute;
  left: -21px; top: 13px;
  width: 10px; height: 10px;
  background: var(--ui19b74-base);
  border: 2px solid var(--ui19b74-sun);
  transform: rotate(45deg);
}

.ui19b74-flow b { color: var(--ui19b74-cream); }

/* M6: checklist with empty squares */
.ui19b74-check {
  margin: 4px 0 10px;
  padding: 0;
  list-style: none;
}

.ui19b74-check li {
  position: relative;
  padding: 6px 0 6px 28px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ui19b74-mute);
}

.ui19b74-check li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 13px; height: 13px;
  border: 2px solid var(--ui19b74-rose);
  background: #241f1c;
}

.ui19b74-check b { color: var(--ui19b74-cream); }

/* --------------------------------------------------------------------------
   8. Extended footer (homepage only)
   -------------------------------------------------------------------------- */
.ui19b74-xfoot {
  margin-top: 28px;
  background: #221f1c;
  border-top: 3px solid var(--ui19b74-amber);
  padding: 16px 12px 14px;
}

.ui19b74-xfoot__label {
  margin: 0 0 8px;
  font-family: var(--ui19b74-font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--ui19b74-rose);
}

.ui19b74-xfoot__brand {
  margin: 0 0 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ui19b74-mute);
}

.ui19b74-xfoot__brand b { color: var(--ui19b74-cream); }

.ui19b74-promos {
  display: grid;
  gap: 7px;
  margin: 0 0 16px;
  padding: 0;
}

.ui19b74-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 8px 11px;
  border: 1px solid var(--ui19b74-line);
  border-left: 4px solid var(--ui19b74-amber);
  border-radius: 3px;
  background: #2b2723;
  color: var(--ui19b74-cream);
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ui19b74-promo:hover,
.ui19b74-promo:active {
  border-color: var(--ui19b74-amber);
  background: #343029;
}

.ui19b74-promo svg {
  flex: none;
  width: 19px; height: 19px;
  fill: var(--ui19b74-amber);
}

.ui19b74-promo span {
  flex: 1;
  font-family: var(--ui19b74-font-head);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.ui19b74-promo i {
  flex: none;
  font-style: normal;
  color: var(--ui19b74-sun);
  font-weight: 800;
}

/* Two-column page directory */
.ui19b74-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 12px;
  margin: 0 0 14px;
}

.ui19b74-dir a {
  display: block;
  padding: 6px 2px;
  border-bottom: 1px dashed #3d382f;
  text-decoration: none;
}

.ui19b74-dir b {
  display: block;
  font-size: 12px;
  color: var(--ui19b74-cream);
}

.ui19b74-dir small {
  display: block;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--ui19b74-faint);
}

.ui19b74-xfoot__note {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--ui19b74-line);
  font-size: 11px;
  line-height: 1.65;
  color: var(--ui19b74-faint);
}

/* --------------------------------------------------------------------------
   9. Common footer
   -------------------------------------------------------------------------- */
.ui19b74-foot {
  padding: 12px 14px 10px;
  text-align: center;
}

.ui19b74-foot p {
  margin: 0 0 3px;
  font-size: 11.5px;
  color: var(--ui19b74-faint);
}

.ui19b74-foot b { color: var(--ui19b74-amber); }

/* --------------------------------------------------------------------------
   10. Bottom dock: 5 roles + sliding ink indicator
   -------------------------------------------------------------------------- */
.ui19b74-dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom));
  background: #1c1a17;
  border-top: 2px solid var(--ui19b74-amber);
}

/* Ink bar slides between the five slots via --ui19b74-ink */
.ui19b74-dock::before {
  content: "";
  position: absolute;
  top: -2px; left: 4px;
  width: calc((100% - 8px) / 5);
  height: 3px;
  background: var(--ui19b74-sun);
  transform: translateX(calc(var(--ui19b74-ink, 0) * 100%));
  transition: transform 0.28s ease;
}

.ui19b74-dock__item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 5px 2px;
  border: 0;
  background: none;
  border-radius: 7px;
  color: #9a9184;                     /* restrained inactive state */
  font-family: var(--ui19b74-font-head);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-decoration: none;
  text-align: center;
}

.ui19b74-dock__item svg {
  width: 21px; height: 21px;
  fill: currentColor;
}

.ui19b74-dock__item--on {
  background: var(--ui19b74-amber);  /* background support block */
  color: #241d12;
}

.ui19b74-dock__item:active { transform: scale(0.96); }

/* --------------------------------------------------------------------------
   11. Responsive tiers inside the 320-430px phone canvas
   -------------------------------------------------------------------------- */
@media (min-width: 375px) {
  .ui19b74-hero h1 { font-size: 22px; }
  .ui19b74-card__name { font-size: 11px; }
  .ui19b74-dir b { font-size: 12.5px; }
}

@media (min-width: 400px) {
  /* room for a 5th grid column between 400px and 430px */
  .ui19b74-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ui19b74-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Wide screens: keep the exact 430px phone canvas centered */
@media (min-width: 431px) {
  .ui19b74-shell {
    border-left: 1px solid #3b3731;
    border-right: 1px solid #3b3731;
  }
}

/* --------------------------------------------------------------------------
   12. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .ui19b74-track,
  .ui19b74-card,
  .ui19b74-menu,
  .ui19b74-dock::before,
  .ui19b74-promo {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   13. Help page reading tools
   -------------------------------------------------------------------------- */
.ui19b74-help-main { padding-top: 16px; }

.ui19b74-help-hero {
  margin-bottom: 14px;
  padding: 14px 12px 15px;
  border-left: 4px solid var(--ui19b74-amber);
  border-bottom: 1px solid var(--ui19b74-line);
  background: linear-gradient(135deg, #35312b, #262421);
}

.ui19b74-help-hero h1 {
  margin: 0 0 8px;
  font-family: var(--ui19b74-font-head);
  font-size: 22px;
  line-height: 1.25;
  color: var(--ui19b74-cream);
}

.ui19b74-help-hero p { margin: 0; color: var(--ui19b74-mute); font-size: 13.5px; }

.ui19b74-help-panel {
  margin: 14px 0;
  padding: 13px 12px;
  border: 1px solid var(--ui19b74-line);
  background: #2a2723;
}

.ui19b74-help-panel h2 {
  margin: 0 0 8px;
  font-family: var(--ui19b74-font-head);
  font-size: 16px;
  line-height: 1.35;
  color: var(--ui19b74-cream);
}

.ui19b74-help-panel h3 {
  margin: 13px 0 4px;
  font-family: var(--ui19b74-font-head);
  font-size: 13px;
  color: var(--ui19b74-sun);
}

.ui19b74-help-panel p { margin: 0 0 9px; color: var(--ui19b74-mute); font-size: 13px; }
.ui19b74-help-panel p:last-child { margin-bottom: 0; }
.ui19b74-help-panel a { color: var(--ui19b74-sun); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.ui19b74-answer-list,
.ui19b74-checklist,
.ui19b74-verify-list,
.ui19b74-safety-list,
.ui19b74-mistake-list,
.ui19b74-step-rail {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.ui19b74-answer-list li {
  margin: 6px 0;
  padding: 9px 10px;
  border-right: 3px solid var(--ui19b74-rose);
  background: var(--ui19b74-well);
  color: var(--ui19b74-mute);
  font-size: 12.5px;
}
.ui19b74-answer-list b,
.ui19b74-checklist b,
.ui19b74-verify-list b,
.ui19b74-safety-list b,
.ui19b74-mistake-list b,
.ui19b74-step-rail b { color: var(--ui19b74-cream); }

.ui19b74-checklist li,
.ui19b74-verify-list li,
.ui19b74-safety-list li,
.ui19b74-mistake-list li {
  position: relative;
  margin: 7px 0;
  padding: 7px 8px 7px 29px;
  color: var(--ui19b74-mute);
  font-size: 12.5px;
  line-height: 1.55;
}
.ui19b74-checklist li::before {
  content: "";
  position: absolute;
  left: 3px; top: 10px;
  width: 12px; height: 12px;
  border: 2px solid var(--ui19b74-amber);
}
.ui19b74-verify-list li { border-left: 3px solid var(--ui19b74-sun); background: #25231f; }
.ui19b74-safety-list li { border-left: 3px solid var(--ui19b74-rose); background: #292322; }
.ui19b74-mistake-list li { border-bottom: 1px dashed var(--ui19b74-line); padding-left: 9px; }

.ui19b74-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 9px;
}
.ui19b74-fact-grid div { padding: 9px 8px; background: var(--ui19b74-well); border-top: 2px solid var(--ui19b74-amber); }
.ui19b74-fact-grid strong { display: block; color: var(--ui19b74-sun); font-family: var(--ui19b74-font-head); font-size: 12px; }
.ui19b74-fact-grid span { display: block; margin-top: 3px; color: var(--ui19b74-mute); font-size: 11.5px; line-height: 1.4; }

.ui19b74-help-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}
.ui19b74-help-action {
  min-height: 48px;
  padding: 8px 9px;
  border: 1px solid var(--ui19b74-amber);
  border-radius: 2px;
  background: #302a20;
  color: var(--ui19b74-cream);
  font-family: var(--ui19b74-font-head);
  font-size: 11.5px;
  font-weight: 800;
  text-align: left;
}
.ui19b74-help-action:hover,
.ui19b74-help-action:active { background: var(--ui19b74-amber); color: #241d12; }

.ui19b74-step-rail { counter-reset: ui19b74-step; border-top: 1px solid var(--ui19b74-line); }
.ui19b74-step-rail li {
  counter-increment: ui19b74-step;
  position: relative;
  min-height: 56px;
  padding: 10px 8px 10px 43px;
  border-bottom: 1px solid var(--ui19b74-line);
  color: var(--ui19b74-mute);
  font-size: 12.5px;
}
.ui19b74-step-rail li::before {
  content: counter(ui19b74-step);
  position: absolute;
  left: 8px; top: 11px;
  width: 23px; height: 23px;
  display: grid; place-items: center;
  background: var(--ui19b74-rose);
  color: #2b1d1d;
  font-family: var(--ui19b74-font-head);
  font-weight: 800;
}

.ui19b74-decision-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 9px 0 0;
  padding: 2px 0 7px;
  scrollbar-width: thin;
}
.ui19b74-decision-strip span {
  flex: 0 0 132px;
  padding: 9px 8px;
  border-bottom: 3px solid var(--ui19b74-amber);
  background: var(--ui19b74-well);
  color: var(--ui19b74-mute);
  font-size: 11.5px;
}
.ui19b74-decision-strip b { display: block; margin-bottom: 3px; color: var(--ui19b74-cream); }

.ui19b74-note {
  margin-top: 10px !important;
  padding: 9px 10px;
  border: 1px solid var(--ui19b74-rose);
  background: #302526;
  color: var(--ui19b74-rose-soft) !important;
}

@media (min-width: 375px) {
  .ui19b74-help-hero h1 { font-size: 23px; }
}
