/* =====================================================================
   slotjili.homes - shellb5d64 frame stylesheet
   Mobile-first casino lobby. Phone canvas 320-430px, centered and kept
   on wide screens. Palette: #0C0C0C ink / #B2DFDB mint / #BC8F8F rose /
   #DEB887 sand. Humanist serif headings, near-square tool edges,
   grouped cover-card game clusters, light-rounded text CTAs.
   ===================================================================== */

/* ---- tokens ------------------------------------------------------- */
:root {
  --shellb5d64-ink: #0c0c0c;
  --shellb5d64-ink-2: #121110;
  --shellb5d64-ink-3: #191712;
  --shellb5d64-line: #26211a;
  --shellb5d64-line-2: #322a22;
  --shellb5d64-mint: #b2dfdb;
  --shellb5d64-mint-soft: rgba(178, 223, 219, 0.55);
  --shellb5d64-rose: #bc8f8f;
  --shellb5d64-rose-soft: rgba(188, 143, 143, 0.5);
  --shellb5d64-sand: #deb887;
  --shellb5d64-sand-deep: #c69d68;
  --shellb5d64-text: #ece5d8;
  --shellb5d64-dim: #a99e8d;
  --shellb5d64-head: Georgia, "Times New Roman", "Palatino Linotype", serif;
  --shellb5d64-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shellb5d64-edge: 3px;          /* near-square card edge */
  --shellb5d64-edge-cta: 6px;      /* light-rounded CTA edge */
  --shellb5d64-topbar-h: 56px;
}

/* ---- reset / base ------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #050505;
  color: var(--shellb5d64-text);
  font-family: var(--shellb5d64-body);
  font-size: 14px;
  line-height: 1.55;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: var(--shellb5d64-mint); }
button { font-family: inherit; }

h1, h2, h3 {
  font-family: var(--shellb5d64-head);
  font-weight: 700;
  margin: 0;
  line-height: 1.28;
  color: var(--shellb5d64-text);
}

p { margin: 0 0 8px; }

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

::selection { background: var(--shellb5d64-sand); color: #141210; }

/* ---- phone canvas -------------------------------------------------- */
.shellb5d64-page {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--shellb5d64-ink);
  border-inline: 1px solid #17130e;
}

.shellb5d64-main {
  padding: calc(var(--shellb5d64-topbar-h) + 10px) 12px 118px; /* clears fixed dock */
}

.shellb5d64-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--shellb5d64-mint);
  color: #101010;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--shellb5d64-edge-cta);
  text-decoration: none;
}

.shellb5d64-skip:focus { left: 10px; top: 8px; }

/* ---- text buttons (light-rounded CTA group) ------------------------ */
.shellb5d64-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--shellb5d64-edge-cta);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.shellb5d64-btn:active { transform: scale(0.955); } /* light press feedback */

.shellb5d64-btn-sand {
  background: var(--shellb5d64-sand);
  color: #171310;
}

.shellb5d64-btn-sand:hover { background: #e6c79c; }

.shellb5d64-btn-line {
  background: transparent;
  color: var(--shellb5d64-mint);
  border-color: var(--shellb5d64-mint-soft);
}

.shellb5d64-btn-line:hover { border-color: var(--shellb5d64-mint); }

.shellb5d64-btn-block {
  display: flex;
  width: 100%;
}

/* ---- top action bar (logo-led) ------------------------------------- */
.shellb5d64-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: var(--shellb5d64-topbar-h);
  padding: 0 10px;
  background: rgba(12, 12, 12, 0.94);
  border-bottom: 1px solid var(--shellb5d64-line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.shellb5d64-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.shellb5d64-brand img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid var(--shellb5d64-line-2);
}

.shellb5d64-brand-name {
  font-family: var(--shellb5d64-head);
  font-size: 20px;
  color: var(--shellb5d64-sand);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.shellb5d64-top-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.shellb5d64-top-actions .shellb5d64-btn { min-height: 34px; padding: 0 11px; font-size: 12px; }

.shellb5d64-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--shellb5d64-line-2);
  border-radius: var(--shellb5d64-edge-cta);
  background: transparent;
  color: var(--shellb5d64-sand);
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.16s ease;
}

.shellb5d64-burger:active { transform: scale(0.92); }
.shellb5d64-burger svg { width: 21px; height: 21px; display: block; }

/* ---- full-height menu layer ---------------------------------------- */
.shellb5d64-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  visibility: hidden; /* keeps closed-drawer links out of the tab order */
  transition: visibility 0s linear 0.3s;
}

.shellb5d64-menu.shellb5d64-is-open {
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

html.shellb5d64-locked { overflow: hidden; } /* scroll lock while menu is open */

.shellb5d64-menu-veil {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.68);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.shellb5d64-menu.shellb5d64-is-open .shellb5d64-menu-veil { opacity: 1; }

.shellb5d64-menu-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(84%, 336px);
  display: flex;
  flex-direction: column;
  padding: 14px 14px 20px;
  background: var(--shellb5d64-ink-2);
  border-right: 1px solid var(--shellb5d64-line-2);
  transform: translateX(-104%);
  transition: transform 0.3s cubic-bezier(0.22, 0.75, 0.3, 1);
  overflow-y: auto;
}

.shellb5d64-menu.shellb5d64-is-open .shellb5d64-menu-panel { transform: translateX(0); }

.shellb5d64-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--shellb5d64-line);
}

.shellb5d64-menu-top .shellb5d64-brand img { width: 30px; height: 30px; }

.shellb5d64-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--shellb5d64-line-2);
  border-radius: var(--shellb5d64-edge-cta);
  background: transparent;
  color: var(--shellb5d64-dim);
  cursor: pointer;
}

.shellb5d64-menu-close:active { transform: scale(0.92); }
.shellb5d64-menu-close svg { width: 18px; height: 18px; display: block; }

.shellb5d64-menu-label {
  margin: 16px 2px 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shellb5d64-rose);
}

.shellb5d64-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shellb5d64-menu-list a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 8px;
  border-left: 2px solid transparent;
  border-radius: 0 var(--shellb5d64-edge) var(--shellb5d64-edge) 0;
  color: var(--shellb5d64-text);
  font-size: 13.5px;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.shellb5d64-menu-list a:hover,
.shellb5d64-menu-list a.shellb5d64-is-here {
  background: var(--shellb5d64-ink-3);
  border-left-color: var(--shellb5d64-sand);
  color: var(--shellb5d64-sand);
}

.shellb5d64-menu-list a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--shellb5d64-mint-soft);
}

.shellb5d64-menu-list a.shellb5d64-is-here::before { background: var(--shellb5d64-sand); }

.shellb5d64-menu-cta {
  margin-top: auto;
  padding-top: 18px;
  display: grid;
  gap: 8px;
}

/* ---- hero carousel -------------------------------------------------- */
.shellb5d64-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--shellb5d64-line);
  border-radius: 5px;
  background: var(--shellb5d64-ink-2);
}

.shellb5d64-hero-track {
  display: flex;
  transition: transform 0.5s ease;
}

.shellb5d64-hero-slide {
  flex: 0 0 100%;
  position: relative;
  display: block;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.shellb5d64-hero-slide img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.shellb5d64-hero-cap {
  position: absolute;
  left: 0;
  right: 64px;
  bottom: 0;
  padding: 30px 12px 12px;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0) 0%, rgba(12, 12, 12, 0.94) 82%);
}

.shellb5d64-hero-kicker {
  display: inline-block;
  margin-bottom: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shellb5d64-mint);
}

.shellb5d64-hero-title {
  font-family: var(--shellb5d64-head);
  font-size: 17px;
  color: #fffdf8;
}

.shellb5d64-hero-line {
  margin: 3px 0 5px;
  font-size: 11.5px;
  color: var(--shellb5d64-dim);
}

.shellb5d64-hero-cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--shellb5d64-sand);
}

.shellb5d64-hero-dots {
  position: absolute;
  right: 10px;
  bottom: 11px;
  display: flex;
  gap: 6px;
}

.shellb5d64-hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(222, 184, 135, 0.32);
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.12s ease;
}

.shellb5d64-hero-dot.shellb5d64-is-on { background: var(--shellb5d64-sand); }
.shellb5d64-hero-dot:active { transform: scale(0.8); }

/* ---- category rail with sliding focus indicator --------------------- */
.shellb5d64-catbar {
  position: sticky;
  top: var(--shellb5d64-topbar-h);
  z-index: 55;
  margin: 12px -12px 0;
  background: rgba(12, 12, 12, 0.95);
  border-bottom: 1px solid var(--shellb5d64-line);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.shellb5d64-catbar-track {
  position: relative;
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.shellb5d64-catbar-track::-webkit-scrollbar { display: none; }

.shellb5d64-cat {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--shellb5d64-line-2);
  border-radius: var(--shellb5d64-edge-cta);
  color: #cfc5b5;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.shellb5d64-cat.shellb5d64-is-on {
  color: var(--shellb5d64-sand);
  border-color: rgba(222, 184, 135, 0.55);
}

.shellb5d64-cat:active { transform: scale(0.95); }

.shellb5d64-cat-mark {
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 1px;
  background: var(--shellb5d64-sand);
  transition: left 0.26s ease, width 0.26s ease; /* focus indicator slide */
}

/* ---- intro block ----------------------------------------------------- */
.shellb5d64-intro { padding: 16px 2px 2px; }

.shellb5d64-intro-kicker {
  margin: 0 0 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shellb5d64-rose);
}

.shellb5d64-intro h1 {
  font-size: clamp(21px, 6.4vw, 26px);
  border-bottom: 2px solid var(--shellb5d64-sand);
  padding-bottom: 9px;
}

.shellb5d64-intro-copy {
  margin: 10px 0 12px;
  font-size: 13px;
  color: #d8d0c2;
}

.shellb5d64-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.shellb5d64-facts li {
  border: 1px solid var(--shellb5d64-line);
  border-radius: var(--shellb5d64-edge);
  background: var(--shellb5d64-ink-2);
  padding: 7px 2px 6px;
}

.shellb5d64-facts strong {
  display: block;
  font-family: var(--shellb5d64-head);
  font-size: 17px;
  color: var(--shellb5d64-sand);
}

.shellb5d64-facts span {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shellb5d64-dim);
}

/* ---- grouped cover-card game clusters -------------------------------- */
.shellb5d64-group {
  margin-top: 18px;
  padding: 12px 10px 14px;
  border: 1px solid var(--shellb5d64-line);
  border-radius: 5px;
  background: var(--shellb5d64-ink-2);
  scroll-margin-top: 118px;
}

.shellb5d64-group-head {
  display: flex;
  align-items: stretch;
  gap: 9px;
  padding: 2px 2px 11px;
}

.shellb5d64-group-spine {
  flex: 0 0 3px;
  border-radius: 2px;
  background: var(--shellb5d64-sand);
}

.shellb5d64-group-hot .shellb5d64-group-spine { background: var(--shellb5d64-sand); }
.shellb5d64-group-cards .shellb5d64-group-spine { background: var(--shellb5d64-rose); }
.shellb5d64-group-live .shellb5d64-group-spine { background: var(--shellb5d64-mint); }
.shellb5d64-group-slot .shellb5d64-group-spine { background: var(--shellb5d64-sand-deep); }
.shellb5d64-group-fishing .shellb5d64-group-spine { background: #93c8c3; }

.shellb5d64-group-titles { flex: 1 1 auto; min-width: 0; }

.shellb5d64-group-titles h2 { font-size: 17px; }

.shellb5d64-group-titles p {
  margin: 3px 0 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--shellb5d64-dim);
}

.shellb5d64-count {
  align-self: flex-start;
  flex: 0 0 auto;
  padding: 2px 7px;
  border: 1px solid var(--shellb5d64-mint-soft);
  border-radius: var(--shellb5d64-edge);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--shellb5d64-mint);
  white-space: nowrap;
}

.shellb5d64-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns from 320px up */
  gap: 9px 8px;
}

.shellb5d64-tile {
  display: block;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease;
}

.shellb5d64-tile:active { transform: scale(0.94); }

.shellb5d64-tile-art {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--shellb5d64-line-2);
  border-radius: var(--shellb5d64-edge);
  background: var(--shellb5d64-ink-3);
}

.shellb5d64-tile-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shellb5d64-tile-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 4px;
  font-size: 10.5px;
  line-height: 1.28;
  color: #d9d1c3;
  text-align: left;
}

/* ---- partner studio shelf -------------------------------------------- */
.shellb5d64-partners {
  margin-top: 18px;
  padding: 10px 10px 12px;
  border: 1px dashed var(--shellb5d64-line-2);
  border-radius: 5px;
}

.shellb5d64-partners-label {
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shellb5d64-dim);
}

.shellb5d64-partners-row {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.shellb5d64-partners-row::-webkit-scrollbar { display: none; }

.shellb5d64-partners-row img {
  height: 32px;
  width: auto;
  flex: 0 0 auto;
  opacity: 0.85;
}

.shellb5d64-partners-note,
.shellb5d64-shelf-note {
  margin: 9px 2px 0;
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--shellb5d64-dim);
}

/* ---- content modules (varied forms, short-list rhythm) ---------------- */
.shellb5d64-mod { margin-top: 24px; scroll-margin-top: 118px; }

.shellb5d64-mod > h2 { font-size: 18px; }

.shellb5d64-lead {
  margin: 6px 0 12px;
  font-size: 12.5px;
  color: #cfc6b7;
}

/* feature cells */
.shellb5d64-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shellb5d64-feat-grid li {
  padding: 9px 9px 8px;
  border: 1px solid var(--shellb5d64-line);
  border-left: 2px solid var(--shellb5d64-mint);
  border-radius: 0 var(--shellb5d64-edge) var(--shellb5d64-edge) 0;
  background: var(--shellb5d64-ink-2);
}

.shellb5d64-feat-grid h3 {
  font-size: 13px;
  color: var(--shellb5d64-mint);
}

.shellb5d64-feat-grid p {
  margin: 3px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--shellb5d64-dim);
}

/* play-style rows */
.shellb5d64-style-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--shellb5d64-line);
}

.shellb5d64-style-row:last-of-type { border-bottom: 0; }

.shellb5d64-style-role {
  font-family: var(--shellb5d64-head);
  font-size: 13.5px;
  color: var(--shellb5d64-sand);
}

.shellb5d64-style-row p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #d3cab9;
}

/* numbered steps */
.shellb5d64-step {
  display: flex;
  gap: 11px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--shellb5d64-line);
}

.shellb5d64-step:last-of-type { border-bottom: 0; }

.shellb5d64-step-num {
  flex: 0 0 26px;
  font-family: var(--shellb5d64-head);
  font-size: 21px;
  line-height: 1;
  color: var(--shellb5d64-rose);
  text-align: center;
  padding-top: 2px;
}

.shellb5d64-step h3 {
  font-size: 13.5px;
  color: var(--shellb5d64-text);
}

.shellb5d64-step p {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: #d3cab9;
}

/* quotes */
.shellb5d64-quote {
  margin: 9px 0;
  padding: 10px 12px 9px;
  border-left: 3px solid var(--shellb5d64-rose);
  border-radius: 0 5px 5px 0;
  background: var(--shellb5d64-ink-2);
}

.shellb5d64-quote p {
  margin: 0 0 6px;
  font-family: var(--shellb5d64-head);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  color: #e6dfd1;
}

.shellb5d64-quote cite {
  font-style: normal;
  font-size: 11px;
  color: var(--shellb5d64-mint);
}

/* checklist */
.shellb5d64-check {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shellb5d64-check li {
  position: relative;
  padding: 8px 2px 8px 26px;
  border-bottom: 1px solid var(--shellb5d64-line);
  font-size: 12.5px;
  line-height: 1.5;
  color: #d3cab9;
}

.shellb5d64-check li:last-child { border-bottom: 0; }

.shellb5d64-check li::before {
  content: "\2713";
  position: absolute;
  left: 2px;
  top: 7px;
  font-weight: 700;
  color: var(--shellb5d64-mint);
}

/* scenario grid */
.shellb5d64-case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shellb5d64-case {
  padding: 9px 9px 8px;
  border: 1px solid var(--shellb5d64-line);
  border-radius: var(--shellb5d64-edge);
  background: var(--shellb5d64-ink-2);
}

.shellb5d64-case-tag {
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 7px;
  border-radius: var(--shellb5d64-edge);
  background: rgba(188, 143, 143, 0.16);
  border: 1px solid var(--shellb5d64-rose-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shellb5d64-rose);
}

.shellb5d64-case p {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--shellb5d64-dim);
}

/* ---- extended footer (brand > directory > promotions > disclaimer) ---- */
.shellb5d64-ext {
  margin-top: 28px;
  border-top: 2px solid var(--shellb5d64-sand);
  padding-top: 15px;
}

.shellb5d64-ext-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.shellb5d64-ext-brand img {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  border: 1px solid var(--shellb5d64-line-2);
}

.shellb5d64-ext-brand p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: #cdc4b4;
}

.shellb5d64-ext-label {
  margin: 18px 0 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--shellb5d64-rose);
}

/* two-column page directory */
.shellb5d64-ext-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 10px;
}

.shellb5d64-ext-dir a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 8px;
  border: 1px solid var(--shellb5d64-line);
  border-radius: var(--shellb5d64-edge);
  background: var(--shellb5d64-ink-2);
  color: var(--shellb5d64-mint);
  font-size: 12px;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.shellb5d64-ext-dir a:hover { border-color: var(--shellb5d64-mint-soft); color: var(--shellb5d64-mint); }
.shellb5d64-ext-dir a:active { transform: scale(0.97); }

/* promotion action stack */
.shellb5d64-ext-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 11px;
  border: 1px solid rgba(222, 184, 135, 0.4);
  border-radius: var(--shellb5d64-edge-cta);
  background: #17130d;
  color: var(--shellb5d64-sand);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.12s ease, border-color 0.15s ease;
}

.shellb5d64-ext-cta:hover { border-color: var(--shellb5d64-sand); }
.shellb5d64-ext-cta:active { transform: scale(0.97); }

.shellb5d64-ext-cta .shellb5d64-ext-arrow {
  flex: 0 0 auto;
  font-size: 14px;
  color: var(--shellb5d64-rose);
}

.shellb5d64-ext-note {
  margin: 16px 0 0;
  padding-top: 11px;
  border-top: 1px dashed var(--shellb5d64-line-2);
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--shellb5d64-dim);
}

/* ---- common footer ---------------------------------------------------- */
.shellb5d64-foot {
  margin-top: 20px;
  padding: 13px 0 4px;
  border-top: 1px solid var(--shellb5d64-line);
  text-align: center;
  font-size: 11px;
  color: var(--shellb5d64-dim);
}

.shellb5d64-foot strong { color: var(--shellb5d64-sand); font-weight: 700; }

/* ---- floating bottom dock (5 roles) ------------------------------------ */
.shellb5d64-dock {
  position: fixed;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 16px);
  max-width: 414px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 7px 5px 6px;
  background: rgba(18, 17, 16, 0.97);
  border: 1px solid var(--shellb5d64-line-2);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.shellb5d64-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  min-width: 44px;
  border-radius: 9px;
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease; /* light press feedback */
}

.shellb5d64-dock-item:active { transform: scale(0.9); }

.shellb5d64-dock-item svg { width: 23px; height: 23px; display: block; }

.shellb5d64-dock-item span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #a29887;
}

/* dual-tone role icons; active state swaps the fills */
.shellb5d64-ic-a { fill: var(--shellb5d64-sand); }
.shellb5d64-ic-b { fill: #6e6558; }

.shellb5d64-dock-item.shellb5d64-is-active svg .shellb5d64-ic-a { fill: var(--shellb5d64-mint); }
.shellb5d64-dock-item.shellb5d64-is-active svg .shellb5d64-ic-b { fill: var(--shellb5d64-rose); }
.shellb5d64-dock-item.shellb5d64-is-active span { color: var(--shellb5d64-mint); font-weight: 700; }

/* ---- help-desk components (Part1 inner pages) ------------------------- */

/* mid-page promo strip (two text buttons under a small-caps label) */
.shellb5d64-strip {
  margin-top: 24px;
  padding: 12px 12px 13px;
  border: 1px solid rgba(222, 184, 135, 0.4);
  border-radius: 5px;
  background: #17130d;
  display: grid;
  gap: 9px;
}

.shellb5d64-strip-label {
  margin: 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shellb5d64-sand);
}

.shellb5d64-strip-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shellb5d64-strip-row .shellb5d64-btn {
  min-height: 44px;
  padding: 0 8px;
  text-align: center;
}

/* visible question-and-answer strip (app help page) */
.shellb5d64-qa {
  margin-top: 10px;
  border: 1px solid var(--shellb5d64-line);
  border-radius: 5px;
  background: var(--shellb5d64-ink-2);
}

.shellb5d64-qa-item {
  padding: 11px 12px 10px;
  border-bottom: 1px solid var(--shellb5d64-line);
}

.shellb5d64-qa-item:last-child { border-bottom: 0; }

.shellb5d64-qa-item h3 {
  font-size: 13.5px;
  color: var(--shellb5d64-mint);
}

.shellb5d64-qa-item p {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: #d3cab9;
}

/* glossary rows (payment help page) */
.shellb5d64-gloss {
  margin: 10px 0 0;
  border: 1px solid var(--shellb5d64-line);
  border-radius: 5px;
  background: var(--shellb5d64-ink-2);
  overflow: hidden;
}

.shellb5d64-gloss-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 9px 11px;
  border-bottom: 1px solid var(--shellb5d64-line);
}

.shellb5d64-gloss-row:last-child { border-bottom: 0; }

.shellb5d64-gloss-row dt {
  font-family: var(--shellb5d64-head);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--shellb5d64-rose);
}

.shellb5d64-gloss-row dd {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: #d3cab9;
}

/* mistake-then-fix list (payment help page) */
.shellb5d64-mis {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.shellb5d64-mis li {
  padding: 10px 2px;
  border-bottom: 1px solid var(--shellb5d64-line);
  font-size: 12px;
  line-height: 1.55;
  color: #d3cab9;
}

.shellb5d64-mis li:last-child { border-bottom: 0; }

.shellb5d64-mis li strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--shellb5d64-head);
  font-size: 13px;
  color: var(--shellb5d64-sand);
}

@media (max-width: 374px) {
  .shellb5d64-strip-row { grid-template-columns: 1fr; }
  .shellb5d64-gloss-row { grid-template-columns: 1fr; gap: 3px; }
}

/* ---- small canvas (320-374px) ------------------------------------------ */
@media (max-width: 374px) {
  .shellb5d64-top-actions .shellb5d64-btn { padding: 0 9px; font-size: 11.5px; }
  .shellb5d64-brand-name { font-size: 18px; }
  .shellb5d64-grid { gap: 7px 6px; }
  .shellb5d64-tile-name { font-size: 10px; }
  .shellb5d64-hero-title { font-size: 15.5px; }
  .shellb5d64-feat-grid { grid-template-columns: 1fr; }
  .shellb5d64-case-grid { grid-template-columns: 1fr; }
  .shellb5d64-dock-item span { font-size: 9.5px; }
}

/* ---- 430px breakpoint: fifth tile column, framed canvas --------------- */
@media (min-width: 430px) {
  .shellb5d64-grid { grid-template-columns: repeat(5, 1fr); }
  .shellb5d64-page { box-shadow: 0 0 46px rgba(0, 0, 0, 0.65); }
  .shellb5d64-intro h1 { font-size: 26px; }
  .shellb5d64-tile-name { font-size: 11px; }
}

/* ---- wide screens keep the centered phone canvas ----------------------- */
@media (min-width: 760px) {
  body {
    background:
      radial-gradient(1100px 500px at 50% -10%, rgba(188, 143, 143, 0.09), transparent 60%),
      radial-gradient(900px 620px at 50% 110%, rgba(178, 223, 219, 0.07), transparent 55%),
      #050505;
  }

  .shellb5d64-page { border-inline: 1px solid var(--shellb5d64-line-2); }
}

/* ---- reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
