/* ============================================================
   vlr.homes lobby chrome
   Mobile-first shell tuned for a 320-430px phone canvas.
   Palette: deep slate #212F3D / khaki light #F0E68C / amber #FFB347
   Voice: poster-weight headings, narrow body text, compact
   segmented CTAs, image tiles with bottom name bars.
   All hooks use the shelld8e8c- prefix.
   ============================================================ */

:root {
  --shelld8e8c-ink: #212F3D;
  --shelld8e8c-ink-deep: #18222C;
  --shelld8e8c-ink-mid: #1C2833;
  --shelld8e8c-ink-raise: #243444;
  --shelld8e8c-line: rgba(240, 230, 140, 0.16);
  --shelld8e8c-line-soft: rgba(240, 230, 140, 0.09);
  --shelld8e8c-paper: #F0E68C;
  --shelld8e8c-paper-dim: rgba(240, 230, 140, 0.74);
  --shelld8e8c-paper-faint: rgba(240, 230, 140, 0.5);
  --shelld8e8c-amber: #FFB347;
  --shelld8e8c-amber-ink: #1D2833;
  --shelld8e8c-glow: 0 0 0 1px rgba(255, 179, 71, 0.35), 0 0 14px rgba(255, 179, 71, 0.22);
  --shelld8e8c-font-poster: "Avenir Next Condensed", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --shelld8e8c-font-narrow: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --shelld8e8c-canvas: 430px;
  --shelld8e8c-bar: 54px;
  --shelld8e8c-dock: 62px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--shelld8e8c-ink-deep);
  color: var(--shelld8e8c-paper);
  font-family: var(--shelld8e8c-font-narrow);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

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

a { color: var(--shelld8e8c-amber); text-decoration: none; }

ul, ol { list-style: none; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--shelld8e8c-amber);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--shelld8e8c-amber); color: var(--shelld8e8c-amber-ink); }

/* Hidden SVG symbol sheet */
.shelld8e8c-sprite { display: none; }

/* Accessible skip link */
.shelld8e8c-skip {
  position: absolute;
  left: 10px;
  top: -48px;
  z-index: 90;
  background: var(--shelld8e8c-amber);
  color: var(--shelld8e8c-amber-ink);
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 0 0 9px 9px;
  transition: top 0.15s linear;
}
.shelld8e8c-skip:focus { top: 0; }

/* Phone canvas, centered on wide screens */
.shelld8e8c-page {
  position: relative;
  max-width: var(--shelld8e8c-canvas);
  margin: 0 auto;
  background: var(--shelld8e8c-ink);
  min-height: 100vh;
  overflow-x: clip;
  padding-bottom: calc(var(--shelld8e8c-dock) + 24px);
}
@media (min-width: 480px) {
  .shelld8e8c-page { box-shadow: 0 0 46px rgba(0, 0, 0, 0.55); }
}

/* Icon sizing used across the shell */
.shelld8e8c-ic { width: 18px; height: 18px; flex: 0 0 auto; }

/* ------------------------------------------------------------
   Top action bar - LOGO leads, actions sit outside the brand
   ------------------------------------------------------------ */
.shelld8e8c-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shelld8e8c-canvas);
  z-index: 60;
  background: var(--shelld8e8c-ink-raise);
  border-bottom: 1px solid var(--shelld8e8c-line);
}
.shelld8e8c-topbar-in {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--shelld8e8c-bar);
  padding: 0 10px;
}
.shelld8e8c-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-height: 44px;
}
.shelld8e8c-brand-tile {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--shelld8e8c-line);
  background: var(--shelld8e8c-ink-deep);
  box-shadow: inset 0 0 9px rgba(255, 179, 71, 0.18);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.shelld8e8c-brand-img { width: 100%; height: 100%; object-fit: cover; }
.shelld8e8c-brand-word {
  font-family: var(--shelld8e8c-font-poster);
  font-weight: 900;
  font-size: 23px;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--shelld8e8c-paper);
}
.shelld8e8c-actions { display: flex; align-items: center; gap: 7px; }

/* Segmented action pair - Register filled, Login outlined */
.shelld8e8c-seg {
  display: inline-flex;
  border: 1px solid var(--shelld8e8c-amber);
  border-radius: 9px;
  overflow: hidden;
  flex: 0 0 auto;
}
.shelld8e8c-seg-main,
.shelld8e8c-seg-alt {
  font-family: var(--shelld8e8c-font-narrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 12.5px;
  padding: 9px 12px;
  min-height: 38px;
}
.shelld8e8c-seg-main {
  background: var(--shelld8e8c-amber);
  color: var(--shelld8e8c-amber-ink);
  transition: background-color 0.18s, color 0.18s;
}
.shelld8e8c-seg-main:hover { background: var(--shelld8e8c-paper); }
.shelld8e8c-seg-alt {
  background: transparent;
  color: var(--shelld8e8c-amber);
  border-left: 1px solid var(--shelld8e8c-amber);
  transition: background-color 0.18s, color 0.18s;
}
.shelld8e8c-seg-alt:hover { background: rgba(255, 179, 71, 0.14); }

/* Menu trigger - containerized lines, no emoji */
.shelld8e8c-burger {
  width: 40px;
  height: 38px;
  display: grid;
  place-content: center;
  gap: 4px;
  border: 1px solid var(--shelld8e8c-line);
  border-radius: 9px;
  flex: 0 0 auto;
  transition: border-color 0.18s, background-color 0.18s;
}
.shelld8e8c-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--shelld8e8c-paper);
  transition: background-color 0.18s;
}
.shelld8e8c-burger:hover { border-color: var(--shelld8e8c-amber); background: rgba(255, 179, 71, 0.08); }
.shelld8e8c-topbar.shelld8e8c-is-open .shelld8e8c-burger span { background: var(--shelld8e8c-amber); }

/* Compact route panel */
.shelld8e8c-routes {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #20303F;
  border-bottom: 1px solid var(--shelld8e8c-line);
  padding: 10px 12px 14px;
  z-index: 59;
}
.shelld8e8c-topbar.shelld8e8c-is-open .shelld8e8c-routes { display: block; }
.shelld8e8c-routes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 8px;
}
.shelld8e8c-routes-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--shelld8e8c-paper);
  background: var(--shelld8e8c-ink);
  border: 1px solid var(--shelld8e8c-line-soft);
  font-size: 14px;
  transition: border-color 0.18s, color 0.18s;
}
.shelld8e8c-routes-list a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--shelld8e8c-amber);
  border-right: 2px solid var(--shelld8e8c-amber);
  transform: rotate(45deg);
  flex: 0 0 auto;
}
.shelld8e8c-routes-list a:hover { border-color: var(--shelld8e8c-amber); color: var(--shelld8e8c-amber); }
.shelld8e8c-routes-cta {
  margin-top: 10px;
  display: block;
  width: 100%;
  text-align: center;
  background: var(--shelld8e8c-amber);
  color: var(--shelld8e8c-amber-ink);
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 13px;
  min-height: 44px;
  border-radius: 9px;
  transition: background-color 0.18s;
}
.shelld8e8c-routes-cta:hover { background: var(--shelld8e8c-paper); }

/* ------------------------------------------------------------
   Main column
   ------------------------------------------------------------ */
.shelld8e8c-main {
  padding: calc(var(--shelld8e8c-bar) + 14px) 12px 8px;
  display: grid;
  gap: 24px;
}

/* Hero */
.shelld8e8c-eyebrow {
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--shelld8e8c-amber);
  font-weight: 700;
  margin-bottom: 8px;
}
.shelld8e8c-hero-title {
  font-family: var(--shelld8e8c-font-poster);
  font-weight: 900;
  font-size: clamp(26px, 8.2vw, 34px);
  line-height: 1.08;
  letter-spacing: 0.2px;
  color: var(--shelld8e8c-paper);
  margin-bottom: 10px;
  text-wrap: balance;
}
.shelld8e8c-hero-lede {
  color: var(--shelld8e8c-paper-dim);
  font-size: 15px;
  max-width: 42ch;
}
.shelld8e8c-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.shelld8e8c-chips li {
  font-size: 12px;
  letter-spacing: 0.3px;
  color: var(--shelld8e8c-amber);
  border: 1px solid var(--shelld8e8c-line);
  background: var(--shelld8e8c-ink-mid);
  padding: 6px 11px;
  border-radius: 999px;
  font-weight: 700;
}

/* Banner carousel */
.shelld8e8c-banner { margin-top: 2px; }
.shelld8e8c-banner-clip {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--shelld8e8c-line);
  background: var(--shelld8e8c-ink-deep);
}
.shelld8e8c-banner-track {
  display: flex;
  touch-action: pan-y;
  transition: transform 0.45s ease;
  will-change: transform;
}
.shelld8e8c-banner-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  display: block;
  text-align: left;
}
.shelld8e8c-banner-slide img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}
.shelld8e8c-banner-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 12px 10px;
  background: linear-gradient(180deg, rgba(24, 34, 44, 0), rgba(24, 34, 44, 0.94) 58%);
  font-size: 13.5px;
  color: var(--shelld8e8c-paper);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.shelld8e8c-banner-cap strong {
  color: var(--shelld8e8c-amber-ink);
  background: var(--shelld8e8c-amber);
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: 0.5px;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.shelld8e8c-banner-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 6px;
}
.shelld8e8c-dot {
  min-width: 44px;
  height: 30px;
  display: grid;
  place-items: center;
}
.shelld8e8c-dot i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--shelld8e8c-line);
  transition: background-color 0.18s;
}
.shelld8e8c-dot[aria-current="true"] i { background: var(--shelld8e8c-amber); }

/* Category quick-jump rail */
.shelld8e8c-rail {
  position: sticky;
  top: calc(var(--shelld8e8c-bar) + 6px);
  z-index: 40;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 6px;
  margin: -6px;
  scrollbar-width: none;
  background: rgba(33, 47, 61, 0.95);
}
.shelld8e8c-rail::-webkit-scrollbar { display: none; }
.shelld8e8c-rail-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--shelld8e8c-line);
  background: var(--shelld8e8c-ink-mid);
  color: var(--shelld8e8c-paper);
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.18s, color 0.18s;
}
.shelld8e8c-rail-chip .shelld8e8c-ic { color: var(--shelld8e8c-amber); }
.shelld8e8c-rail-chip small {
  color: var(--shelld8e8c-paper-faint);
  font-weight: 400;
  font-size: 12px;
}
.shelld8e8c-rail-chip.shelld8e8c-is-active {
  border-color: var(--shelld8e8c-amber);
  color: var(--shelld8e8c-amber);
  box-shadow: var(--shelld8e8c-glow);
}

/* ------------------------------------------------------------
   Game sections - image tiles with bottom name bars
   ------------------------------------------------------------ */
.shelld8e8c-cat { scroll-margin-top: 112px; }
.shelld8e8c-cat-head {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.shelld8e8c-cat-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--shelld8e8c-ink-mid);
  border: 1px solid var(--shelld8e8c-line);
  display: grid;
  place-items: center;
  color: var(--shelld8e8c-amber);
  flex: 0 0 auto;
}
.shelld8e8c-cat-head h2 {
  font-family: var(--shelld8e8c-font-poster);
  font-weight: 900;
  font-size: 21px;
  line-height: 1.12;
  color: var(--shelld8e8c-paper);
  letter-spacing: 0.2px;
}
.shelld8e8c-cat-count {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shelld8e8c-amber);
  border: 1px solid var(--shelld8e8c-line);
  border-radius: 999px;
  padding: 3px 9px;
  margin-left: auto;
}
.shelld8e8c-cat-note {
  color: var(--shelld8e8c-paper-dim);
  font-size: 13.5px;
  margin-bottom: 11px;
  max-width: 46ch;
}
.shelld8e8c-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
@media (min-width: 390px) {
  .shelld8e8c-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
}
.shelld8e8c-tile {
  display: block;
  width: 100%;
  border-radius: 11px;
  overflow: hidden;
  background: var(--shelld8e8c-ink-deep);
  border: 1px solid var(--shelld8e8c-line-soft);
  text-align: center;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.shelld8e8c-tile:hover,
.shelld8e8c-tile:active {
  border-color: var(--shelld8e8c-amber);
  box-shadow: var(--shelld8e8c-glow);
}
.shelld8e8c-tile-art { display: block; }
.shelld8e8c-tile-art img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.shelld8e8c-tile-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.3;
  padding: 5px 4px 6px;
  color: var(--shelld8e8c-paper-dim);
  background: var(--shelld8e8c-ink-deep);
  border-top: 1px solid var(--shelld8e8c-line-soft);
  min-height: 34px;
}

/* ------------------------------------------------------------
   Reading modules below the game area
   ------------------------------------------------------------ */
.shelld8e8c-module {
  border-top: 1px solid var(--shelld8e8c-line);
  padding-top: 20px;
  display: grid;
  gap: 11px;
}
.shelld8e8c-module h2 {
  font-family: var(--shelld8e8c-font-poster);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.14;
  color: var(--shelld8e8c-paper);
  letter-spacing: 0.2px;
}
.shelld8e8c-copy {
  color: var(--shelld8e8c-paper-dim);
  font-size: 14.5px;
}
.shelld8e8c-inline-link {
  color: var(--shelld8e8c-amber);
  border-bottom: 1px dashed rgba(255, 179, 71, 0.55);
  font-weight: 700;
}
.shelld8e8c-inline-link:hover { color: var(--shelld8e8c-paper); border-bottom-color: var(--shelld8e8c-paper); }

/* Guide rows */
.shelld8e8c-guide-list { display: grid; gap: 8px; }
.shelld8e8c-guide-list li {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  background: var(--shelld8e8c-ink-mid);
  border: 1px solid var(--shelld8e8c-line-soft);
  border-left: 3px solid var(--shelld8e8c-amber);
  border-radius: 0 12px 12px 0;
}
.shelld8e8c-guide-goal {
  font-weight: 700;
  color: var(--shelld8e8c-amber);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.shelld8e8c-guide-text {
  color: var(--shelld8e8c-paper-dim);
  font-size: 13.5px;
}

/* Play-style comparison */
.shelld8e8c-styles-table {
  border: 1px solid var(--shelld8e8c-line);
  border-radius: 12px;
  overflow: hidden;
}
.shelld8e8c-style-row {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  background: var(--shelld8e8c-ink-mid);
}
.shelld8e8c-style-row + .shelld8e8c-style-row { border-top: 1px solid var(--shelld8e8c-line-soft); }
.shelld8e8c-style-row dt {
  font-family: var(--shelld8e8c-font-poster);
  font-size: 15.5px;
  color: var(--shelld8e8c-paper);
  font-weight: 700;
}
.shelld8e8c-style-row dt::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--shelld8e8c-amber);
  transform: rotate(45deg);
  margin-right: 8px;
}
.shelld8e8c-style-row dd {
  color: var(--shelld8e8c-paper-dim);
  font-size: 13.5px;
}

/* About drop cap */
.shelld8e8c-drop::first-letter {
  font-family: var(--shelld8e8c-font-poster);
  font-weight: 900;
  font-size: 34px;
  float: left;
  line-height: 0.9;
  padding: 3px 8px 0 0;
  color: var(--shelld8e8c-amber);
}

/* Fact grid */
.shelld8e8c-facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
@media (max-width: 359px) {
  .shelld8e8c-facts-grid { grid-template-columns: 1fr; }
}
.shelld8e8c-facts-grid li {
  display: grid;
  gap: 7px;
  align-content: start;
  padding: 11px 10px;
  background: var(--shelld8e8c-ink-mid);
  border: 1px solid var(--shelld8e8c-line-soft);
  border-radius: 12px;
  font-size: 12.5px;
  color: var(--shelld8e8c-paper-dim);
  line-height: 1.45;
}
.shelld8e8c-facts-grid .shelld8e8c-ic {
  color: var(--shelld8e8c-amber);
  width: 20px;
  height: 20px;
}

/* Numbered takeaways */
.shelld8e8c-take-list {
  counter-reset: shelld8e8c-take;
  display: grid;
  gap: 8px;
}
.shelld8e8c-take-list li {
  counter-increment: shelld8e8c-take;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-left: 3px solid var(--shelld8e8c-amber);
  background: var(--shelld8e8c-ink-mid);
  border-radius: 0 12px 12px 0;
  color: var(--shelld8e8c-paper-dim);
  font-size: 13.5px;
}
.shelld8e8c-take-list li::before {
  content: counter(shelld8e8c-take, decimal-leading-zero);
  font-family: var(--shelld8e8c-font-poster);
  font-size: 20px;
  font-weight: 900;
  color: var(--shelld8e8c-amber);
  line-height: 1.1;
}

/* ------------------------------------------------------------
   Extended footer - sectioned list:
   directory > brand > promotions > disclaimer
   ------------------------------------------------------------ */
.shelld8e8c-ext {
  display: grid;
  gap: 22px;
  border-top: 2px solid var(--shelld8e8c-amber);
  margin: 6px 12px 0;
  padding-top: 20px;
}
.shelld8e8c-ext-block { display: grid; gap: 10px; }
.shelld8e8c-ext-block h2 {
  font-family: var(--shelld8e8c-font-poster);
  font-weight: 900;
  font-size: 19px;
  line-height: 1.15;
  color: var(--shelld8e8c-paper);
}
.shelld8e8c-ext-note-line {
  color: var(--shelld8e8c-paper-faint);
  font-size: 13px;
}
.shelld8e8c-dir-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
@media (min-width: 380px) {
  .shelld8e8c-dir-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.shelld8e8c-dir-link {
  display: grid;
  gap: 6px;
  justify-items: start;
  align-content: start;
  padding: 10px;
  min-height: 44px;
  background: var(--shelld8e8c-ink-mid);
  border: 1px solid var(--shelld8e8c-line-soft);
  border-radius: 10px;
  color: var(--shelld8e8c-paper);
  font-size: 12.5px;
  line-height: 1.3;
  transition: border-color 0.18s, color 0.18s;
}
.shelld8e8c-dir-link .shelld8e8c-ic { color: var(--shelld8e8c-amber); }
.shelld8e8c-dir-link:hover { border-color: var(--shelld8e8c-amber); color: var(--shelld8e8c-amber); }

/* Promo action rows */
.shelld8e8c-promo-list { display: grid; gap: 6px; }
.shelld8e8c-promo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid var(--shelld8e8c-line);
  border-radius: 10px;
  background: var(--shelld8e8c-ink-mid);
  color: var(--shelld8e8c-paper);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  transition: border-color 0.18s, color 0.18s, box-shadow 0.18s;
}
.shelld8e8c-promo-item .shelld8e8c-ic { color: var(--shelld8e8c-amber); }
.shelld8e8c-promo-item:hover {
  border-color: var(--shelld8e8c-amber);
  color: var(--shelld8e8c-amber);
  box-shadow: var(--shelld8e8c-glow);
}
.shelld8e8c-promo-item:nth-child(odd) { border-left: 3px solid rgba(255, 179, 71, 0.55); }

/* Responsible entertainment note */
.shelld8e8c-ext-note-p {
  font-size: 12.5px;
  color: var(--shelld8e8c-paper-faint);
  line-height: 1.6;
  background: var(--shelld8e8c-ink-mid);
  border: 1px dashed var(--shelld8e8c-line);
  border-radius: 12px;
  padding: 12px;
}

/* Common footer */
.shelld8e8c-foot {
  text-align: center;
  padding: 16px 12px 6px;
}
.shelld8e8c-copy {
  font-size: 12px;
  color: var(--shelld8e8c-paper-dim);
  letter-spacing: 0.4px;
}
.shelld8e8c-foot-sub {
  font-size: 11px;
  color: var(--shelld8e8c-paper-faint);
  margin-top: 3px;
}

/* ------------------------------------------------------------
   Floating dock - 5 roles, active marked by a top indicator
   ------------------------------------------------------------ */
.shelld8e8c-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shelld8e8c-canvas);
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: #20303F;
  border-top: 1px solid var(--shelld8e8c-line);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
}
.shelld8e8c-dock-item {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 3px;
  min-height: 48px;
  padding: 5px 2px;
  color: var(--shelld8e8c-paper-faint);
  border-radius: 10px;
  font-family: var(--shelld8e8c-font-narrow);
}
.shelld8e8c-dock-tile {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--shelld8e8c-ink-deep);
  border: 1px solid var(--shelld8e8c-line-soft);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.shelld8e8c-dock-tile .shelld8e8c-ic { width: 18px; height: 18px; }
.shelld8e8c-dock-label {
  font-size: 10.5px;
  letter-spacing: 0.3px;
  font-weight: 700;
}
.shelld8e8c-dock-item::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: transparent;
}
.shelld8e8c-dock-item:hover { color: var(--shelld8e8c-paper); }
.shelld8e8c-dock-item.shelld8e8c-is-on { color: var(--shelld8e8c-amber); }
.shelld8e8c-dock-item.shelld8e8c-is-on::before { background: var(--shelld8e8c-amber); }
.shelld8e8c-dock-item.shelld8e8c-is-on .shelld8e8c-dock-tile {
  border-color: var(--shelld8e8c-amber);
  box-shadow: var(--shelld8e8c-glow);
}

/* Motion budget: honor reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shelld8e8c-banner-track { transition: none; }
  .shelld8e8c-skip { transition: none; }
}

/* Comfort tweaks inside the phone band */
@media (min-width: 375px) {
  .shelld8e8c-main { padding-left: 14px; padding-right: 14px; }
  .shelld8e8c-ext { margin-left: 14px; margin-right: 14px; }
  .shelld8e8c-copy { font-size: 15px; }
}

/* Help-page layouts: editorial rails and practical checklists */
.shelld8e8c-help-main {
  gap: 18px;
  padding-top: calc(var(--shelld8e8c-bar) + 18px);
}
.shelld8e8c-help-hero {
  display: grid;
  gap: 10px;
  padding: 15px 14px 17px;
  border: 1px solid var(--shelld8e8c-line);
  border-radius: 16px 5px 16px 5px;
  background: linear-gradient(135deg, #243444, #1B2732 68%, #273B4A);
}
.shelld8e8c-help-hero h1 {
  font-family: var(--shelld8e8c-font-poster);
  font-size: clamp(26px, 8vw, 34px);
  line-height: 1.08;
  color: var(--shelld8e8c-paper);
}
.shelld8e8c-help-lede { color: var(--shelld8e8c-paper-dim); font-size: 15px; }
.shelld8e8c-help-mark {
  color: var(--shelld8e8c-amber);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
}
.shelld8e8c-help-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.shelld8e8c-help-action {
  min-height: 44px;
  padding: 9px 13px;
  border-radius: 8px;
  border: 1px solid var(--shelld8e8c-amber);
  color: var(--shelld8e8c-amber-ink);
  background: var(--shelld8e8c-amber);
  font-size: 13px;
  font-weight: 700;
}
.shelld8e8c-help-action-alt { color: var(--shelld8e8c-amber); background: transparent; }
.shelld8e8c-help-action:hover { background: var(--shelld8e8c-paper); }
.shelld8e8c-signal-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.shelld8e8c-signal {
  min-height: 104px;
  padding: 10px 8px;
  display: grid;
  align-content: start;
  gap: 6px;
  border-top: 3px solid var(--shelld8e8c-amber);
  background: var(--shelld8e8c-ink-mid);
  border-radius: 0 0 10px 10px;
}
.shelld8e8c-signal strong { font-family: var(--shelld8e8c-font-poster); color: var(--shelld8e8c-paper); font-size: 14px; }
.shelld8e8c-signal span { color: var(--shelld8e8c-paper-dim); font-size: 12px; line-height: 1.4; }
.shelld8e8c-branch-list { display: grid; gap: 8px; }
.shelld8e8c-branch {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  align-items: start;
  padding: 11px 10px;
  background: var(--shelld8e8c-ink-mid);
  border: 1px solid var(--shelld8e8c-line-soft);
  border-radius: 10px;
}
.shelld8e8c-branch-index {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--shelld8e8c-amber-ink);
  background: var(--shelld8e8c-amber);
  font-weight: 900;
  font-size: 12px;
}
.shelld8e8c-branch h3 { color: var(--shelld8e8c-paper); font-size: 15px; line-height: 1.25; }
.shelld8e8c-branch p { color: var(--shelld8e8c-paper-dim); font-size: 13.5px; margin-top: 3px; }
.shelld8e8c-callout {
  padding: 12px;
  border-left: 4px solid var(--shelld8e8c-amber);
  background: #263949;
  color: var(--shelld8e8c-paper-dim);
  border-radius: 0 11px 11px 0;
  font-size: 14px;
}
.shelld8e8c-callout strong { color: var(--shelld8e8c-paper); }
.shelld8e8c-help-table { display: grid; gap: 6px; }
.shelld8e8c-help-table-row {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 8px;
  padding: 10px;
  background: var(--shelld8e8c-ink-mid);
  border-bottom: 1px solid var(--shelld8e8c-line-soft);
}
.shelld8e8c-help-table-row strong { color: var(--shelld8e8c-amber); font-size: 13px; }
.shelld8e8c-help-table-row span { color: var(--shelld8e8c-paper-dim); font-size: 13px; }
.shelld8e8c-fact-band {
  display: grid;
  gap: 7px;
  padding: 13px;
  background: repeating-linear-gradient(135deg, #243444 0, #243444 9px, #263949 9px, #263949 18px);
  border: 1px solid var(--shelld8e8c-line);
  border-radius: 13px;
}
.shelld8e8c-fact-band p { color: var(--shelld8e8c-paper-dim); font-size: 13.5px; }
.shelld8e8c-fact-band strong { color: var(--shelld8e8c-paper); }
.shelld8e8c-detail-stack { display: grid; gap: 7px; }
.shelld8e8c-detail-stack details { background: var(--shelld8e8c-ink-mid); border: 1px solid var(--shelld8e8c-line-soft); border-radius: 10px; }
.shelld8e8c-detail-stack summary { cursor: pointer; min-height: 44px; padding: 11px 12px; color: var(--shelld8e8c-paper); font-weight: 700; }
.shelld8e8c-detail-stack p { padding: 0 12px 12px; color: var(--shelld8e8c-paper-dim); font-size: 13.5px; }
.shelld8e8c-timeline { display: grid; gap: 0; counter-reset: shelld8e8c-step; }
.shelld8e8c-timeline li { counter-increment: shelld8e8c-step; position: relative; padding: 0 0 18px 42px; border-left: 1px solid var(--shelld8e8c-line); margin-left: 14px; }
.shelld8e8c-timeline li::before { content: counter(shelld8e8c-step, decimal-leading-zero); position: absolute; left: -15px; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--shelld8e8c-amber-ink); background: var(--shelld8e8c-amber); font-size: 11px; font-weight: 900; }
.shelld8e8c-timeline h3 { color: var(--shelld8e8c-paper); font-size: 16px; }
.shelld8e8c-timeline p { color: var(--shelld8e8c-paper-dim); font-size: 14px; margin-top: 4px; }
.shelld8e8c-term-grid { display: grid; gap: 7px; }
.shelld8e8c-term-grid div { padding: 10px 11px; border-right: 3px solid var(--shelld8e8c-amber); background: var(--shelld8e8c-ink-mid); }
.shelld8e8c-term-grid dt { color: var(--shelld8e8c-paper); font-weight: 800; font-size: 14px; }
.shelld8e8c-term-grid dd { color: var(--shelld8e8c-paper-dim); font-size: 13.5px; margin-top: 3px; }
.shelld8e8c-route-card { display: grid; gap: 7px; padding: 13px; background: var(--shelld8e8c-ink-mid); border: 1px solid var(--shelld8e8c-line); border-radius: 13px; }
.shelld8e8c-route-card p { color: var(--shelld8e8c-paper-dim); font-size: 14px; }
.shelld8e8c-route-card .shelld8e8c-help-action { justify-self: start; }
.shelld8e8c-issue-list { display: grid; gap: 8px; }
.shelld8e8c-issue { padding: 11px 12px; background: var(--shelld8e8c-ink-mid); border-left: 3px solid var(--shelld8e8c-paper); border-radius: 0 10px 10px 0; }
.shelld8e8c-issue h3 { color: var(--shelld8e8c-amber); font-size: 15px; }
.shelld8e8c-issue p { color: var(--shelld8e8c-paper-dim); font-size: 13.5px; margin-top: 3px; }
@media (max-width: 350px) {
  .shelld8e8c-signal-strip { grid-template-columns: 1fr; }
  .shelld8e8c-help-table-row { grid-template-columns: 1fr; gap: 3px; }
}
