/* ==========================================================================
   nnph vp - mobile-first surface stylesheet for nnphvp.homes
   Palette: #C0C0C0 / #FFA500 / #3A3A3A / #FFC0CB / #4A4A4A / #FF5722
   Voice: rounded headings over compact body text, outline-led corners,
   tight square game tiles, question-driven rhythm, restrained fades.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --shelld74a9-bg: #3A3A3A;
  --shelld74a9-panel: #4A4A4A;
  --shelld74a9-text: #C0C0C0;
  --shelld74a9-silk: #FFC0CB;
  --shelld74a9-amber: #FFA500;
  --shelld74a9-ember: #FF5722;
  --shelld74a9-line: rgba(192, 192, 192, 0.24);
  --shelld74a9-line-soft: rgba(192, 192, 192, 0.14);
  --shelld74a9-amber-dim: rgba(255, 165, 0, 0.16);
  --shelld74a9-ember-dim: rgba(255, 87, 34, 0.18);
  --shelld74a9-ink: #3A3A3A;
  --shelld74a9-font-round: 'Baloo 2', 'Trebuchet MS', 'Segoe UI Rounded', 'Arial Rounded MT Bold', sans-serif;
  --shelld74a9-font-compact: 'Barlow Semi Condensed', 'Arial Narrow', 'Segoe UI', Arial, sans-serif;
  --shelld74a9-radius: 6px;
  --shelld74a9-radius-lg: 10px;
  --shelld74a9-headh: 100px;
  --shelld74a9-railh: 64px;
}

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

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

body {
  margin: 0 auto;
  max-width: 430px;
  min-height: 100vh;
  background: var(--shelld74a9-bg);
  color: var(--shelld74a9-text);
  font-family: var(--shelld74a9-font-compact);
  font-size: 14.5px;
  line-height: 1.55;
  padding-top: var(--shelld74a9-headh);
  /* keep clear space above the fixed bottom rail */
  padding-bottom: calc(var(--shelld74a9-railh) + 26px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--shelld74a9-font-round);
  color: var(--shelld74a9-text);
  margin: 0 0 6px;
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 21px; letter-spacing: 0.2px; }
h2 { font-size: 17px; }
h3 { font-size: 15px; color: var(--shelld74a9-silk); }

p { margin: 0 0 10px; }

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

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

ul, ol { margin: 0 0 10px; padding-left: 20px; }
li { margin: 0 0 5px; }

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

/* wide-screen: the phone canvas stays centered with a quiet frame */
@media (min-width: 430px) {
  body {
    border-left: 1px solid rgba(0, 0, 0, 0.5);
    border-right: 1px solid rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 42px rgba(0, 0, 0, 0.45);
  }
}

/* ==========================================================================
   Top bar: centered identity strip + separate action rail
   ========================================================================== */
.shelld74a9-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(58, 58, 58, 0.97);
  border-bottom: 1px solid var(--shelld74a9-line);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* identity strip shows ONLY logo + site name */
.shelld74a9-idstrip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 12px 5px;
}

.shelld74a9-idstrip img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1.5px solid var(--shelld74a9-amber);
  object-fit: cover;
  background: var(--shelld74a9-panel);
}

.shelld74a9-idstrip .shelld74a9-brand {
  font-family: var(--shelld74a9-font-round);
  font-size: 20px;
  font-weight: 700;
  color: var(--shelld74a9-text);
  letter-spacing: 0.4px;
}

/* action rail holds register / login / menu, never the brand */
.shelld74a9-actionrail {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 0 12px 9px;
}

.shelld74a9-duo {
  flex: 1;
  display: flex;
  border: 1.5px solid var(--shelld74a9-amber);
  border-radius: var(--shelld74a9-radius);
  overflow: hidden;
}

.shelld74a9-duo button {
  flex: 1;
  min-height: 44px;
  font-family: var(--shelld74a9-font-round);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: filter 0.18s ease;
}

.shelld74a9-duo button:hover { filter: brightness(1.12); }
.shelld74a9-duo button:active { filter: brightness(0.92); }

.shelld74a9-duo .shelld74a9-duo-first {
  background: var(--shelld74a9-amber);
  color: var(--shelld74a9-ink);
}

.shelld74a9-duo .shelld74a9-duo-next {
  background: transparent;
  color: var(--shelld74a9-amber);
  border-left: 1.5px dashed rgba(58, 58, 58, 0.65);
}

.shelld74a9-menubtn {
  width: 48px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--shelld74a9-line);
  border-radius: var(--shelld74a9-radius);
  background: var(--shelld74a9-panel);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.shelld74a9-menubtn:hover { border-color: var(--shelld74a9-amber); }
.shelld74a9-menubtn svg { width: 20px; height: 20px; stroke: var(--shelld74a9-silk); }
.shelld74a9-menubtn.is-open svg { stroke: var(--shelld74a9-amber); }

/* ==========================================================================
   Slide-up route panel
   ========================================================================== */
.shelld74a9-backdrop {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
}

.shelld74a9-backdrop.is-open { opacity: 1; pointer-events: auto; }

.shelld74a9-panel {
  position: fixed;
  left: 50%;
  bottom: calc(var(--shelld74a9-railh) + env(safe-area-inset-bottom));
  width: 100%;
  max-width: 430px;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
  z-index: 70;
  background: var(--shelld74a9-panel);
  border: 1px solid var(--shelld74a9-line);
  border-bottom: 0;
  border-radius: var(--shelld74a9-radius-lg) var(--shelld74a9-radius-lg) 0 0;
  padding: 12px 14px 14px;
  transform: translate(-50%, 108%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.25, 1);
  box-shadow: 0 -12px 34px rgba(0, 0, 0, 0.45);
}

.shelld74a9-panel.is-open { transform: translate(-50%, 0); }

.shelld74a9-panelhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 10px;
}

.shelld74a9-panelhead span {
  font-family: var(--shelld74a9-font-round);
  font-size: 15px;
  color: var(--shelld74a9-silk);
}

.shelld74a9-panelclose {
  min-width: 44px;
  min-height: 44px;
  margin: -8px -10px -8px 0;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--shelld74a9-text);
  line-height: 1;
}

.shelld74a9-routes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 12px;
}

.shelld74a9-route {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 6px 9px;
  border: 1px solid var(--shelld74a9-line-soft);
  border-radius: var(--shelld74a9-radius);
  background: rgba(58, 58, 58, 0.4);
  color: var(--shelld74a9-text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: border-color 0.18s ease;
}

.shelld74a9-route:hover { border-color: var(--shelld74a9-amber); }
.shelld74a9-route[aria-current="page"] {
  border-color: var(--shelld74a9-amber);
  color: var(--shelld74a9-amber);
}

.shelld74a9-glyph {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 165, 0, 0.55);
  border-radius: 7px;
  background: var(--shelld74a9-amber-dim);
}

.shelld74a9-glyph svg { width: 15px; height: 15px; stroke: var(--shelld74a9-amber); }

.shelld74a9-panelfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--shelld74a9-line-soft);
}

.shelld74a9-panelfoot p {
  margin: 0;
  font-size: 12px;
  color: var(--shelld74a9-silk);
}

/* ==========================================================================
   Hero + banner carousel
   ========================================================================== */
.shelld74a9-hero { padding: 12px 12px 2px; }

.shelld74a9-hero .shelld74a9-herokicker {
  display: inline-block;
  margin: 0 0 6px;
  padding: 3px 10px;
  border: 1px solid rgba(255, 192, 203, 0.5);
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--shelld74a9-silk);
}

.shelld74a9-hero .shelld74a9-herosub {
  color: var(--shelld74a9-text);
  opacity: 0.94;
  margin: 0 0 12px;
}

.shelld74a9-carousel {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px;
  border: 1px solid var(--shelld74a9-line-soft);
  border-radius: var(--shelld74a9-radius-lg);
  background: rgba(0, 0, 0, 0.2);
  scrollbar-width: none;
}

.shelld74a9-carousel::-webkit-scrollbar { display: none; }

.shelld74a9-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  border-radius: var(--shelld74a9-radius);
  overflow: hidden;
  border: 1px solid var(--shelld74a9-line-soft);
  background: var(--shelld74a9-panel);
  text-align: left;
}

.shelld74a9-slide img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.shelld74a9-slide .shelld74a9-slidecap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
}

.shelld74a9-slide .shelld74a9-slidecap strong {
  font-family: var(--shelld74a9-font-round);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--shelld74a9-text);
}

.shelld74a9-slide .shelld74a9-slidecap em {
  font-style: normal;
  font-size: 12px;
  color: var(--shelld74a9-ember);
  white-space: nowrap;
}

.shelld74a9-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 8px 0 2px;
}

.shelld74a9-dots button {
  width: 24px;
  height: 7px;
  border-radius: 4px;
  border: 1px solid var(--shelld74a9-amber);
  background: transparent;
  transition: background 0.25s ease;
}

.shelld74a9-dots button.is-on { background: var(--shelld74a9-amber); }

/* ==========================================================================
   Category quick strip
   ========================================================================== */
.shelld74a9-jump {
  position: sticky;
  top: var(--shelld74a9-headh);
  z-index: 40;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 9px 12px;
  background: rgba(58, 58, 58, 0.96);
  border-bottom: 1px solid var(--shelld74a9-line-soft);
  scrollbar-width: none;
}

.shelld74a9-jump::-webkit-scrollbar { display: none; }

.shelld74a9-jump a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 13px;
  border: 1px solid var(--shelld74a9-line);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.3px;
  color: var(--shelld74a9-silk);
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.shelld74a9-jump a:hover { color: var(--shelld74a9-amber); border-color: var(--shelld74a9-amber); }

/* ==========================================================================
   Game sections
   ========================================================================== */
.shelld74a9-sec { padding: 20px 12px 2px; }

.shelld74a9-qband {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 3px solid var(--shelld74a9-ember);
  padding: 1px 0 1px 10px;
  margin-bottom: 8px;
}

.shelld74a9-qband .shelld74a9-kick {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shelld74a9-ember);
}

.shelld74a9-qband h2 { margin: 0; }

.shelld74a9-seclead {
  margin: 0 0 4px;
  font-size: 13.8px;
  color: var(--shelld74a9-text);
  opacity: 0.94;
}

.shelld74a9-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px 12px 16px;
}

/* wider phones get a fifth column so tiles stay finger-sized */
@media (min-width: 375px) {
  .shelld74a9-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
}

.shelld74a9-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 5px 4px 6px;
  background: var(--shelld74a9-panel);
  border: 1px solid var(--shelld74a9-line-soft);
  border-radius: 8px;
  transition: transform 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
}

.shelld74a9-tile:hover { border-color: var(--shelld74a9-amber); }
.shelld74a9-tile:active { transform: scale(0.94); }

.shelld74a9-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid rgba(192, 192, 192, 0.13);
  background: rgba(0, 0, 0, 0.16);
}

.shelld74a9-tile span {
  font-size: 11px;
  line-height: 1.25;
  text-align: center;
  color: var(--shelld74a9-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 27px;
  word-break: break-word;
}

/* ==========================================================================
   Content modules (varied shapes, question-led)
   ========================================================================== */
.shelld74a9-block {
  margin: 22px 12px 0;
  padding: 14px 13px;
  background: var(--shelld74a9-panel);
  border: 1px solid var(--shelld74a9-line-soft);
  border-radius: var(--shelld74a9-radius-lg);
}

.shelld74a9-block > h2 { margin-bottom: 8px; }

.shelld74a9-block .shelld74a9-lead {
  margin: 0 0 12px;
  font-size: 13.8px;
  opacity: 0.95;
}

/* features: scannable label / value rows */
.shelld74a9-featrow {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 4px 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--shelld74a9-line-soft);
  font-size: 13.5px;
}

.shelld74a9-featrow:last-of-type { border-bottom: 0; }

.shelld74a9-featrow dt {
  font-family: var(--shelld74a9-font-round);
  font-size: 13px;
  color: var(--shelld74a9-amber);
}

.shelld74a9-featrow dd { margin: 0; color: var(--shelld74a9-text); }

/* security: numbered trust points */
.shelld74a9-trustlist { list-style: none; padding: 0; margin: 0; counter-reset: shelld74a9-trust; }

.shelld74a9-trustlist li {
  counter-increment: shelld74a9-trust;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px dashed var(--shelld74a9-line-soft);
  font-size: 13.5px;
}

.shelld74a9-trustlist li:last-child { border-bottom: 0; }

.shelld74a9-trustlist li::before {
  content: counter(shelld74a9-trust, decimal-leading-zero);
  flex: 0 0 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 87, 34, 0.6);
  border-radius: 7px;
  background: var(--shelld74a9-ember-dim);
  color: var(--shelld74a9-ember);
  font-family: var(--shelld74a9-font-round);
  font-size: 12px;
}

/* selection criteria: check items */
.shelld74a9-checklist { list-style: none; padding: 0; margin: 0; }

.shelld74a9-checklist li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 13.5px;
}

.shelld74a9-checklist li::before {
  content: '';
  flex: 0 0 16px;
  height: 16px;
  margin-top: 3px;
  border: 1.5px solid var(--shelld74a9-amber);
  border-radius: 4px;
  background: var(--shelld74a9-amber-dim);
}

/* testimonials: community notes */
.shelld74a9-note {
  margin: 0 0 10px;
  padding: 9px 11px;
  border-left: 3px solid var(--shelld74a9-silk);
  border-radius: 0 var(--shelld74a9-radius) var(--shelld74a9-radius) 0;
  background: rgba(255, 192, 203, 0.07);
  font-size: 13.4px;
}

.shelld74a9-note footer {
  margin-top: 5px;
  font-size: 12px;
  color: var(--shelld74a9-silk);
}

.shelld74a9-note footer b { font-family: var(--shelld74a9-font-round); }

/* faq: accordions */
.shelld74a9-faq { border: 1px solid var(--shelld74a9-line-soft); border-radius: var(--shelld74a9-radius); overflow: hidden; }

.shelld74a9-faq details { border-bottom: 1px dashed var(--shelld74a9-line-soft); }
.shelld74a9-faq details:last-child { border-bottom: 0; }

.shelld74a9-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 11px;
  min-height: 44px;
  font-family: var(--shelld74a9-font-round);
  font-size: 13.8px;
  font-weight: 600;
  color: var(--shelld74a9-text);
  cursor: pointer;
  list-style: none;
}

.shelld74a9-faq summary::-webkit-details-marker { display: none; }

.shelld74a9-faq summary::after {
  content: '+';
  font-size: 17px;
  color: var(--shelld74a9-amber);
  transition: transform 0.2s ease;
}

.shelld74a9-faq details[open] summary::after { transform: rotate(45deg); }

.shelld74a9-faq .shelld74a9-answer {
  padding: 0 11px 12px;
  font-size: 13.4px;
  opacity: 0.94;
  animation: shelld74a9-rise 0.3s ease both;
}

/* step summary: numbered ladder */
.shelld74a9-steps { list-style: none; padding: 0; margin: 0; counter-reset: shelld74a9-step; }

.shelld74a9-steps li {
  counter-increment: shelld74a9-step;
  position: relative;
  padding: 0 0 12px 36px;
  font-size: 13.6px;
}

.shelld74a9-steps li::before {
  content: counter(shelld74a9-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--shelld74a9-amber);
  border-radius: 50% 50% 50% 4px;
  background: var(--shelld74a9-amber-dim);
  color: var(--shelld74a9-amber);
  font-family: var(--shelld74a9-font-round);
  font-size: 12.5px;
}

.shelld74a9-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 12px;
  top: 27px;
  bottom: 2px;
  border-left: 1px dashed var(--shelld74a9-line);
}

.shelld74a9-steps b { color: var(--shelld74a9-silk); }

/* inline text CTA that still calls the promo helper */
.shelld74a9-tlink {
  display: inline;
  font: inherit;
  color: var(--shelld74a9-amber);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shelld74a9-tlink:hover { color: var(--shelld74a9-ember); }

/* segmented wide CTA */
.shelld74a9-ctaband {
  display: flex;
  border: 1.5px solid var(--shelld74a9-amber);
  border-radius: var(--shelld74a9-radius);
  overflow: hidden;
  margin: 12px 0 4px;
}

.shelld74a9-ctaband button {
  flex: 1;
  min-height: 46px;
  font-family: var(--shelld74a9-font-round);
  font-size: 14px;
  font-weight: 700;
}

.shelld74a9-ctaband .shelld74a9-duo-first { background: var(--shelld74a9-amber); color: var(--shelld74a9-ink); }
.shelld74a9-ctaband .shelld74a9-duo-next {
  background: transparent;
  color: var(--shelld74a9-amber);
  border-left: 1.5px dashed rgba(58, 58, 58, 0.65);
}

/* ==========================================================================
   Extended footer: brand > promotions > directory > disclaimer
   ========================================================================== */
.shelld74a9-xfoot {
  margin: 26px 0 0;
  padding: 18px 14px 16px;
  border-top: 1px solid var(--shelld74a9-line);
  background: rgba(0, 0, 0, 0.16);
}

.shelld74a9-xfhead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 8px;
  font-family: var(--shelld74a9-font-round);
  font-size: 14.5px;
  color: var(--shelld74a9-amber);
}

.shelld74a9-xfhead::after {
  content: '';
  flex: 1;
  border-top: 1px dashed var(--shelld74a9-line-soft);
}

.shelld74a9-xfoot > h2:first-of-type { margin-top: 0; }

.shelld74a9-xbrand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shelld74a9-xbrand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  border: 1.5px solid var(--shelld74a9-amber);
  object-fit: cover;
}

.shelld74a9-xbrand p { margin: 0; font-size: 13.2px; }

.shelld74a9-xbrand b {
  font-family: var(--shelld74a9-font-round);
  font-size: 15px;
  color: var(--shelld74a9-text);
}

.shelld74a9-promos { list-style: none; padding: 0; margin: 0; }

.shelld74a9-promos li { border-bottom: 1px dashed var(--shelld74a9-line-soft); }
.shelld74a9-promos li:last-child { border-bottom: 0; }

.shelld74a9-promos button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 9px 2px;
  text-align: left;
  font-size: 13.6px;
  color: var(--shelld74a9-text);
  transition: color 0.16s ease;
}

.shelld74a9-promos button:hover { color: var(--shelld74a9-amber); }

.shelld74a9-promos button::after {
  content: '\2192';
  color: var(--shelld74a9-ember);
  font-size: 16px;
}

.shelld74a9-directory { list-style: none; padding: 0; margin: 0; }

.shelld74a9-directory li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--shelld74a9-line-soft);
  font-size: 13.2px;
}

.shelld74a9-directory li:last-child { border-bottom: 0; }

.shelld74a9-directory a { text-decoration: none; font-weight: 600; }
.shelld74a9-directory a:hover { text-decoration: underline; text-underline-offset: 3px; }
.shelld74a9-directory span { color: var(--shelld74a9-text); opacity: 0.8; }

.shelld74a9-disclaimer {
  margin: 14px 0 0;
  padding: 10px 11px;
  border: 1px solid var(--shelld74a9-line-soft);
  border-left: 3px solid var(--shelld74a9-silk);
  border-radius: 0 var(--shelld74a9-radius) var(--shelld74a9-radius) 0;
  font-size: 11.8px;
  line-height: 1.5;
  color: var(--shelld74a9-silk);
  opacity: 0.92;
}

/* legal line of the shared footer */
.shelld74a9-legal {
  padding: 14px 16px 4px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--shelld74a9-text);
  opacity: 0.85;
}

/* ==========================================================================
   Bottom navigation rail
   ========================================================================== */
.shelld74a9-rail {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 7px 4px calc(7px + env(safe-area-inset-bottom));
  background: rgba(58, 58, 58, 0.98);
  border-top: 1.5px solid rgba(255, 165, 0, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.shelld74a9-railitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  padding: 2px 1px;
  text-decoration: none;
  color: var(--shelld74a9-text);
  opacity: 0.82;
  font-size: 10.5px;
  letter-spacing: 0.2px;
}

.shelld74a9-icontile {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(192, 192, 192, 0.4);
  border-radius: 9px;
  background: transparent;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.shelld74a9-icontile svg {
  width: 17px;
  height: 17px;
  stroke: var(--shelld74a9-text);
  fill: none;
  transition: stroke 0.22s ease, transform 0.22s ease;
}

.shelld74a9-railitem:hover .shelld74a9-icontile { border-color: var(--shelld74a9-amber); }
.shelld74a9-railitem:active .shelld74a9-icontile { transform: scale(0.9); }

/* active state: emphasized label + tile morph */
.shelld74a9-railitem.is-active { opacity: 1; }
.shelld74a9-railitem.is-active .shelld74a9-icontile {
  background: var(--shelld74a9-amber-dim);
  border-color: var(--shelld74a9-amber);
  transform: translateY(-2px);
}
.shelld74a9-railitem.is-active .shelld74a9-icontile svg { stroke: var(--shelld74a9-amber); }
.shelld74a9-railitem.is-active .shelld74a9-raillabel {
  color: var(--shelld74a9-amber);
  font-weight: 700;
}

/* promo rail buttons keep an ember hint */
.shelld74a9-railitem--promo .shelld74a9-icontile { border-color: rgba(255, 87, 34, 0.65); }
.shelld74a9-railitem--promo .shelld74a9-icontile svg { stroke: var(--shelld74a9-ember); }
.shelld74a9-railitem--promo:hover .shelld74a9-icontile { border-color: var(--shelld74a9-ember); background: var(--shelld74a9-ember-dim); }

/* ==========================================================================
   Motion budget: restrained fades only
   ========================================================================== */
.shelld74a9-rv {
  opacity: 0;
  transform: translateY(9px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.shelld74a9-rv.is-in { opacity: 1; transform: none; }

@keyframes shelld74a9-rise {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .shelld74a9-rv { opacity: 1; transform: none; transition: none; }
  .shelld74a9-panel, .shelld74a9-backdrop { transition: none; }
  .shelld74a9-tile, .shelld74a9-icontile, .shelld74a9-faq summary::after { transition: none; }
  .shelld74a9-faq .shelld74a9-answer { animation: none; }
}

/* shared article rhythm keeps long help pages readable without a desktop layout */
.shelld74a9-block p a { text-underline-offset: 3px; }
.shelld74a9-block > p:last-child { margin-bottom: 0; }
.shelld74a9-block .shelld74a9-featrow + p { margin-top: 12px; }
.shelld74a9-block .shelld74a9-note:last-child { margin-bottom: 0; }
.shelld74a9-block code {
  padding: 1px 4px;
  border: 1px solid var(--shelld74a9-line-soft);
  border-radius: 4px;
  color: var(--shelld74a9-amber);
  background: rgba(0, 0, 0, 0.18);
  font-family: var(--shelld74a9-font-compact);
}

