/* ============================================================
   bey.homes — compact viewport stylesheet
   Mobile-first canvas: 320px -> 430px phone frame, centered
   Class prefix: shella76ed- / CSS variables: --shella76ed-*
   Palette: ink #1C2833, rust #BF360C, amber #FF8000,
            tomato #FF6347, copper #D2691E on warm paper text
   ============================================================ */

:root {
  --shella76ed-ink: #1c2833;
  --shella76ed-ink-deep: #121a21;
  --shella76ed-ink-panel: #223140;
  --shella76ed-ink-raise: #2a3b4c;
  --shella76ed-rust: #bf360c;
  --shella76ed-ember: #ff6347;
  --shella76ed-amber: #ff8000;
  --shella76ed-copper: #d2691e;
  --shella76ed-paper: #f5efe6;
  --shella76ed-paper-dim: #c8bfaf;
  --shella76ed-paper-faint: #948d7f;
  --shella76ed-line: rgba(255, 128, 0, 0.26);
  --shella76ed-line-soft: rgba(245, 239, 230, 0.12);
  --shella76ed-radius-s: 5px;
  --shella76ed-radius: 8px;
  --shella76ed-font-head: "Trebuchet MS", "Gill Sans", "Segoe UI", Verdana, sans-serif;
  --shella76ed-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --shella76ed-topbar-h: 56px;
  --shella76ed-bottomnav-h: 62px;
  --shella76ed-gap: 10px;
}

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

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

body {
  background: #0b1116;
  color: var(--shella76ed-paper);
  font-family: var(--shella76ed-font-body);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; border: 0; }

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

a { color: var(--shella76ed-amber); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--shella76ed-font-head);
  line-height: 1.28;
  font-weight: 700;
  color: var(--shella76ed-paper);
  overflow-wrap: break-word;
}

ul, ol { list-style: none; }

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

/* ---------- phone canvas ---------- */
.shella76ed-page {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 46% at 50% 0%, rgba(255, 99, 71, 0.14), transparent 60%),
    var(--shella76ed-ink);
  overflow-x: clip;
}

@media (min-width: 480px) {
  .shella76ed-page {
    box-shadow: 0 0 0 1px var(--shella76ed-line), 0 26px 70px rgba(0, 0, 0, 0.6);
  }
}

/* skip link */
.shella76ed-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 120;
  background: var(--shella76ed-amber);
  color: #241202;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--shella76ed-radius-s);
  transition: top 0.18s ease;
}
.shella76ed-skip:focus { top: 8px; text-decoration: none; }

/* ---------- fixed top bar ---------- */
.shella76ed-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--shella76ed-topbar-h);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: linear-gradient(180deg, rgba(18, 26, 33, 0.97), rgba(18, 26, 33, 0.9));
  border-bottom: 1px solid var(--shella76ed-line);
  backdrop-filter: blur(8px);
}

.shella76ed-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  flex: 1 1 auto;
  min-width: 0;
}
.shella76ed-brand img {
  width: 32px;
  height: 32px;
  border-radius: var(--shella76ed-radius-s);
  border: 1px solid var(--shella76ed-line);
  flex: 0 0 auto;
}
.shella76ed-brand-name {
  font-family: var(--shella76ed-font-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--shella76ed-paper);
  white-space: nowrap;
}
.shella76ed-brand-name em {
  font-style: normal;
  color: var(--shella76ed-amber);
}

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

/* compact icon+text CTA buttons */
.shella76ed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--shella76ed-radius-s);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.15s ease;
}
.shella76ed-btn svg { width: 15px; height: 15px; flex: 0 0 auto; }
.shella76ed-btn:active { transform: translateY(1px); }

.shella76ed-btn-cta {
  background: linear-gradient(135deg, var(--shella76ed-amber), var(--shella76ed-copper));
  color: #241202;
  box-shadow: 0 3px 10px rgba(255, 128, 0, 0.3);
}
.shella76ed-btn-cta:hover { background: linear-gradient(135deg, #ff9126, #e0762a); }

.shella76ed-btn-ghost {
  border: 1px solid var(--shella76ed-line);
  color: var(--shella76ed-paper);
  background: rgba(34, 49, 64, 0.55);
}
.shella76ed-btn-ghost:hover { border-color: var(--shella76ed-amber); color: var(--shella76ed-amber); }

/* menu trigger */
.shella76ed-menubtn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shella76ed-line-soft);
  border-radius: var(--shella76ed-radius-s);
  color: var(--shella76ed-paper-dim);
  transition: color 0.22s ease, border-color 0.22s ease;
}
.shella76ed-menubtn svg { width: 20px; height: 20px; }
.shella76ed-menubtn[aria-expanded="true"] {
  color: var(--shella76ed-amber);
  border-color: var(--shella76ed-amber);
}

/* ---------- layered dropdown menu ---------- */
.shella76ed-menu {
  position: fixed;
  top: calc(var(--shella76ed-topbar-h) + 1px);
  left: 50%;
  width: calc(100% - 16px);
  max-width: 414px;
  transform: translateX(-50%) translateY(-10px);
  z-index: 88;
  background: rgba(18, 26, 33, 0.98);
  border: 1px solid var(--shella76ed-line);
  border-radius: var(--shella76ed-radius);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
  padding: 6px 10px 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.shella76ed-menu.shella76ed-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.shella76ed-menu-layer + .shella76ed-menu-layer { margin-top: 8px; border-top: 1px dashed var(--shella76ed-line-soft); padding-top: 8px; }

.shella76ed-menu-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shella76ed-copper);
  padding: 6px 8px 4px;
}

.shella76ed-menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }

.shella76ed-menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--shella76ed-radius-s);
  font-size: 13.5px;
  color: var(--shella76ed-paper);
  background: rgba(42, 59, 76, 0.4);
  transition: background-color 0.22s ease, color 0.22s ease;
}
.shella76ed-menu-list a:hover { background: rgba(255, 128, 0, 0.14); color: var(--shella76ed-amber); text-decoration: none; }
.shella76ed-menu-list a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--shella76ed-paper-faint);
  border-right: 2px solid var(--shella76ed-paper-faint);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

/* ---------- main column ---------- */
.shella76ed-main {
  padding: calc(var(--shella76ed-topbar-h) + 14px) 12px
           calc(var(--shella76ed-bottomnav-h) + 30px + env(safe-area-inset-bottom));
}

/* ---------- hero ---------- */
.shella76ed-hero {
  padding: 16px 2px 6px;
}
.shella76ed-hero h1 {
  font-size: 25px;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.shella76ed-hero h1 .shella76ed-hl { color: var(--shella76ed-amber); }

.shella76ed-lede {
  margin-top: 10px;
  color: var(--shella76ed-paper-dim);
  font-size: 14.5px;
}
.shella76ed-lede strong { color: var(--shella76ed-paper); font-weight: 600; }

.shella76ed-hero-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.shella76ed-hero-row .shella76ed-btn { flex: 1 1 auto; }

/* ---------- banner carousel ---------- */
.shella76ed-banner {
  position: relative;
  margin-top: 16px;
  border-radius: var(--shella76ed-radius);
  border: 1px solid var(--shella76ed-line);
  background: var(--shella76ed-ink-deep);
  overflow: hidden;
}
.shella76ed-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.shella76ed-track::-webkit-scrollbar { display: none; }

.shella76ed-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}
.shella76ed-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.shella76ed-slide:active img { transform: scale(1.03); }

.shella76ed-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.shella76ed-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 99px;
  background: rgba(245, 239, 230, 0.4);
  transition: width 0.25s ease, background-color 0.25s ease;
}
.shella76ed-dot.shella76ed-on { width: 22px; background: var(--shella76ed-amber); }

/* ---------- game category sections ---------- */
.shella76ed-cat { margin-top: 26px; }

.shella76ed-cat-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.shella76ed-cat-chip {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 99px;
  border: 1px solid;
  flex: 0 0 auto;
}
.shella76ed-c-hot  { color: #ffb28a; border-color: rgba(255, 99, 71, 0.55); background: rgba(191, 54, 12, 0.22); }
.shella76ed-c-slot { color: #ffc37a; border-color: rgba(255, 128, 0, 0.55); background: rgba(255, 128, 0, 0.14); }
.shella76ed-c-fish { color: #ff9d8a; border-color: rgba(255, 99, 71, 0.45); background: rgba(210, 105, 30, 0.18); }
.shella76ed-c-card { color: #e8b98f; border-color: rgba(210, 105, 30, 0.5); background: rgba(191, 54, 12, 0.18); }
.shella76ed-c-live { color: #ffd9a8; border-color: rgba(255, 128, 0, 0.6); background: rgba(28, 40, 51, 0.8); }

.shella76ed-cat-count {
  font-size: 11px;
  color: var(--shella76ed-paper-faint);
  margin-left: auto;
  white-space: nowrap;
}

.shella76ed-cat h2 {
  font-size: 19px;
  margin-top: 8px;
}

.shella76ed-cat-note {
  margin-top: 7px;
  font-size: 13.5px;
  color: var(--shella76ed-paper-dim);
}
.shella76ed-cat-note a { border-bottom: 1px solid rgba(255, 128, 0, 0.4); }
.shella76ed-cat-note a:hover { border-bottom-color: var(--shella76ed-amber); text-decoration: none; }

/* mixed grid: spotlight tiles + compact tiles */
.shella76ed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--shella76ed-gap);
  margin-top: 12px;
}

.shella76ed-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--shella76ed-radius-s);
  background: var(--shella76ed-ink-panel);
  border: 1px solid var(--shella76ed-line-soft);
  padding: 4px 4px 6px;
  text-align: center;
  transition: border-color 0.22s ease, background-color 0.22s ease, transform 0.15s ease;
}
.shella76ed-cell:hover {
  border-color: var(--shella76ed-line);
  background: var(--shella76ed-ink-raise);
}
.shella76ed-cell:active { transform: scale(0.97); }

.shella76ed-cell img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
}

.shella76ed-cell-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.3;
  color: var(--shella76ed-paper-dim);
  margin-top: 5px;
  min-height: 2.6em;
  overflow-wrap: anywhere;
}
.shella76ed-cell:hover .shella76ed-cell-name { color: var(--shella76ed-paper); }

/* large spotlight card mixed into the small grid */
.shella76ed-spot {
  grid-column: span 2;
  grid-row: span 2;
  padding: 6px 6px 8px;
  background:
    radial-gradient(140% 90% at 50% 0%, rgba(255, 128, 0, 0.16), transparent 62%),
    var(--shella76ed-ink-panel);
  border-color: var(--shella76ed-line);
}
.shella76ed-spot img { aspect-ratio: 3 / 4; }
.shella76ed-spot .shella76ed-cell-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--shella76ed-paper);
  min-height: auto;
  margin-top: 7px;
}

/* wider phones: small tiles gain a 5th column */
@media (min-width: 390px) {
  .shella76ed-grid { grid-template-columns: repeat(5, 1fr); }
  .shella76ed-spot { grid-column: span 2 / auto; }
}

/* ---------- editorial modules ---------- */
.shella76ed-module {
  margin-top: 26px;
  background: var(--shella76ed-ink-panel);
  border: 1px solid var(--shella76ed-line-soft);
  border-left: 3px solid var(--shella76ed-copper);
  border-radius: var(--shella76ed-radius);
  padding: 16px 14px;
}
.shella76ed-module.shella76ed-tint {
  border-left-color: var(--shella76ed-amber);
}
.shella76ed-module h2 { font-size: 18.5px; }
.shella76ed-module h3 { font-size: 15px; margin-top: 14px; color: var(--shella76ed-paper); }
.shella76ed-module p { margin-top: 9px; font-size: 14px; color: var(--shella76ed-paper-dim); }
.shella76ed-module p strong { color: var(--shella76ed-paper); font-weight: 600; }
.shella76ed-module a { border-bottom: 1px solid rgba(255, 128, 0, 0.4); }
.shella76ed-module a:hover { border-bottom-color: var(--shella76ed-amber); text-decoration: none; }

.shella76ed-answer {
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(255, 128, 0, 0.08);
  border-radius: var(--shella76ed-radius-s);
  font-size: 14px;
  color: var(--shella76ed-paper);
}
.shella76ed-answer strong { color: var(--shella76ed-amber); }

/* step list */
.shella76ed-steps { counter-reset: shella76edstep; margin-top: 12px; display: grid; gap: 9px; }
.shella76ed-steps li {
  counter-increment: shella76edstep;
  position: relative;
  padding: 9px 10px 9px 42px;
  background: rgba(18, 26, 33, 0.55);
  border: 1px solid var(--shella76ed-line-soft);
  border-radius: var(--shella76ed-radius-s);
  font-size: 13.5px;
  color: var(--shella76ed-paper-dim);
}
.shella76ed-steps li strong { color: var(--shella76ed-paper); }
.shella76ed-steps li::before {
  content: counter(shella76edstep);
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--shella76ed-amber), var(--shella76ed-copper));
  color: #241202;
  font-size: 12px;
  font-weight: 700;
}

/* checklist */
.shella76ed-checks { margin-top: 12px; display: grid; gap: 8px; }
.shella76ed-checks li {
  position: relative;
  padding: 9px 10px 9px 34px;
  background: rgba(18, 26, 33, 0.55);
  border: 1px solid var(--shella76ed-line-soft);
  border-radius: var(--shella76ed-radius-s);
  font-size: 13.5px;
  color: var(--shella76ed-paper-dim);
}
.shella76ed-checks li strong { color: var(--shella76ed-paper); }
.shella76ed-checks li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 13px;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--shella76ed-amber);
  border-bottom: 3px solid var(--shella76ed-amber);
  transform: rotate(-45deg);
}

/* fact sheet */
.shella76ed-facts { margin-top: 12px; display: grid; gap: 7px; }
.shella76ed-facts div {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 8px 10px;
  background: rgba(18, 26, 33, 0.55);
  border: 1px solid var(--shella76ed-line-soft);
  border-radius: var(--shella76ed-radius-s);
  font-size: 13.5px;
  color: var(--shella76ed-paper-dim);
}
.shella76ed-facts dt {
  flex: 0 0 88px;
  font-weight: 700;
  color: var(--shella76ed-copper);
  font-size: 12px;
  letter-spacing: 0.03em;
}
.shella76ed-facts dd { flex: 1; min-width: 0; }
.shella76ed-facts strong { color: var(--shella76ed-paper); }

/* ---------- extended footer (home only) ---------- */
.shella76ed-ext {
  margin-top: 30px;
  border-top: 1px solid var(--shella76ed-line);
  padding-top: 16px;
}
.shella76ed-ext h3 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shella76ed-amber);
}
.shella76ed-ext-brand {
  font-size: 13.5px;
  color: var(--shella76ed-paper-dim);
  margin-top: 8px;
}
.shella76ed-ext-brand strong { color: var(--shella76ed-paper); }

.shella76ed-ext-dir {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.shella76ed-ext-dir a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 7px 9px;
  font-size: 12.5px;
  color: var(--shella76ed-paper-dim);
  background: rgba(34, 49, 64, 0.5);
  border: 1px solid var(--shella76ed-line-soft);
  border-radius: var(--shella76ed-radius-s);
  transition: color 0.22s ease, border-color 0.22s ease;
}
.shella76ed-ext-dir a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 99px;
  background: var(--shella76ed-copper);
  flex: 0 0 auto;
}
.shella76ed-ext-dir a:hover { color: var(--shella76ed-amber); border-color: var(--shella76ed-line); text-decoration: none; }

/* horizontal promo shortcuts */
.shella76ed-ext-promos {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.shella76ed-ext-promos::-webkit-scrollbar { display: none; }
.shella76ed-ext-promos .shella76ed-btn {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-height: 44px;
  padding: 0 12px;
  font-size: 12.5px;
  white-space: nowrap;
}

.shella76ed-ext-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--shella76ed-paper-faint);
  padding: 10px 11px;
  border: 1px dashed var(--shella76ed-line-soft);
  border-radius: var(--shella76ed-radius-s);
}

/* ---------- common footer ---------- */
.shella76ed-foot {
  margin-top: 22px;
  padding: 12px 0 4px;
  border-top: 1px solid var(--shella76ed-line-soft);
  text-align: center;
  font-size: 12px;
  color: var(--shella76ed-paper-faint);
}
.shella76ed-foot strong { color: var(--shella76ed-paper-dim); font-weight: 600; }

/* ---------- mobile bottom navigation (outlined function bar) ---------- */
.shella76ed-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 92;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--shella76ed-bottomnav-h) + env(safe-area-inset-bottom));
  padding: 0 4px env(safe-area-inset-bottom);
  background: rgba(15, 22, 28, 0.94);
  border-top: 1px solid var(--shella76ed-line);
  box-shadow: inset 0 1px 0 rgba(255, 128, 0, 0.08);
  backdrop-filter: blur(10px);
}

.shella76ed-bottomnav a,
.shella76ed-bottomnav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: var(--shella76ed-paper-faint);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.22s ease, transform 0.18s ease;
}
.shella76ed-bottomnav svg { width: 21px; height: 21px; }
.shella76ed-bottomnav button { cursor: pointer; }

.shella76ed-bottomnav a:hover { color: var(--shella76ed-paper-dim); text-decoration: none; }
.shella76ed-bottomnav button:hover { color: var(--shella76ed-paper-dim); }

/* active page state: slight lift + amber */
.shella76ed-bottomnav .shella76ed-active {
  color: var(--shella76ed-amber);
  transform: translateY(-2px);
}
.shella76ed-bottomnav .shella76ed-active svg { filter: drop-shadow(0 3px 6px rgba(255, 128, 0, 0.45)); }

/* promo roles get a warm tint to read as actions */
.shella76ed-bottomnav .shella76ed-warm { color: var(--shella76ed-ember); }
.shella76ed-bottomnav .shella76ed-warm svg { filter: drop-shadow(0 2px 5px rgba(255, 99, 71, 0.35)); }

/* ---------- short-distance reveal transitions ---------- */
.shella76ed-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.34s ease, transform 0.34s ease;
}
.shella76ed-reveal.shella76ed-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shella76ed-reveal { opacity: 1; transform: none; transition: none; }
  .shella76ed-slide img { transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- small-wide refinements ---------- */
@media (min-width: 375px) {
  .shella76ed-hero h1 { font-size: 27px; }
  .shella76ed-module p { font-size: 14.5px; }
}

@media (min-width: 430px) {
  .shella76ed-page { border-radius: 0 0 14px 14px; }
  .shella76ed-hero h1 { font-size: 28px; }
}

/* ---------- editorial help-page layouts ---------- */
.shella76ed-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--shella76ed-copper);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.shella76ed-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--shella76ed-amber);
}
.shella76ed-feature-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 13px;
}
.shella76ed-feature-card {
  min-width: 0;
  padding: 11px 10px;
  background: rgba(18, 26, 33, 0.66);
  border: 1px solid var(--shella76ed-line-soft);
  border-top: 2px solid var(--shella76ed-copper);
  border-radius: var(--shella76ed-radius-s);
}
.shella76ed-feature-card:nth-child(2n) { border-top-color: var(--shella76ed-amber); }
.shella76ed-feature-card h3 { font-size: 14px; }
.shella76ed-feature-card p { margin-top: 5px; color: var(--shella76ed-paper-dim); font-size: 12.5px; line-height: 1.5; }
.shella76ed-feature-card a { display: inline-block; margin-top: 7px; font-size: 12px; }
.shella76ed-signal {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  margin-top: 12px;
  padding: 10px;
  background: linear-gradient(100deg, rgba(191, 54, 12, 0.24), rgba(255, 128, 0, 0.07));
  border: 1px solid rgba(255, 128, 0, 0.35);
  border-radius: var(--shella76ed-radius-s);
}
.shella76ed-signal-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--shella76ed-amber);
  color: #241202;
  font-weight: 800;
  font-size: 13px;
}
.shella76ed-signal p { color: var(--shella76ed-paper); font-size: 13px; line-height: 1.5; }
.shella76ed-promo-rail {
  display: grid;
  gap: 7px;
  margin-top: 13px;
}
.shella76ed-promo-rail .shella76ed-btn { justify-content: flex-start; width: 100%; }
.shella76ed-route {
  position: relative;
  margin-top: 14px;
  padding-left: 18px;
  border-left: 2px solid rgba(255, 128, 0, 0.35);
  display: grid;
  gap: 10px;
}
.shella76ed-route-step {
  position: relative;
  padding: 11px 11px 12px;
  background: rgba(18, 26, 33, 0.68);
  border: 1px solid var(--shella76ed-line-soft);
  border-radius: var(--shella76ed-radius-s);
}
.shella76ed-route-step::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 15px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--shella76ed-amber);
  border-radius: 50%;
  background: var(--shella76ed-ink);
}
.shella76ed-route-step h3 { font-size: 15px; }
.shella76ed-route-step p { margin-top: 6px; color: var(--shella76ed-paper-dim); font-size: 13.5px; }
.shella76ed-warning {
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 99, 71, 0.48);
  border-radius: var(--shella76ed-radius-s);
  background: rgba(191, 54, 12, 0.18);
  color: var(--shella76ed-paper-dim);
  font-size: 13.5px;
}
.shella76ed-warning strong { color: #ffb28a; }
.shella76ed-faq-grid { display: grid; gap: 8px; margin-top: 12px; }
.shella76ed-faq-grid details {
  padding: 10px 11px;
  background: rgba(18, 26, 33, 0.58);
  border: 1px solid var(--shella76ed-line-soft);
  border-radius: var(--shella76ed-radius-s);
}
.shella76ed-faq-grid summary { cursor: pointer; color: var(--shella76ed-paper); font-weight: 700; font-size: 13.5px; }
.shella76ed-faq-grid details p { margin-top: 7px; }
.shella76ed-entity {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 8px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--shella76ed-line-soft);
  color: var(--shella76ed-paper-dim);
  font-size: 13.5px;
}
.shella76ed-entity strong { color: var(--shella76ed-copper); font-size: 12px; }
.shella76ed-inline-action { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.shella76ed-inline-action .shella76ed-btn { flex: 1 1 140px; }

@media (max-width: 360px) {
  .shella76ed-topbar { gap: 4px; padding-left: 7px; padding-right: 7px; }
  .shella76ed-actions { gap: 3px; }
  .shella76ed-actions .shella76ed-btn { padding-left: 8px; padding-right: 8px; font-size: 11px; gap: 3px; }
  .shella76ed-actions .shella76ed-btn svg { width: 13px; height: 13px; }
  .shella76ed-brand { gap: 5px; }
  .shella76ed-brand-name { font-size: 19px; }
  .shella76ed-brand img { width: 30px; height: 30px; }
}

/* utility: accessible hidden caption */
.shella76ed-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
