/* ============================================================
   3 magic eggs — mobile shell stylesheet
   File   : css/shell-responsive-e4ca33.css
   Prefix : shelle4ca3-
   Canvas : 320-430px phone frame, centered on wide screens
   Palette: #262626 base / #BDB76B khaki / #FFCC33 gold
            #FFB6C1 pink / #FFEF94 cream
   Shape  : pill buttons, square game cards,
            image + bottom name-bar card form
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --shelle4ca3-ink: #262626;
  --shelle4ca3-ink-deep: #1e1e1e;
  --shelle4ca3-ink-raise: #2f2f2f;
  --shelle4ca3-ink-line: #3c3c3c;
  --shelle4ca3-khaki: #bdb76b;
  --shelle4ca3-gold: #ffcc33;
  --shelle4ca3-gold-deep: #d9a614;
  --shelle4ca3-pink: #ffb6c1;
  --shelle4ca3-cream: #ffef94;
  --shelle4ca3-paper: #f2edda;
  --shelle4ca3-muted: #b9b39d;
  --shelle4ca3-faint: #918b76;
  --shelle4ca3-head-h: 100px;
  --shelle4ca3-bnav-h: 62px;
  --shelle4ca3-font-head: "Poppins", "Trebuchet MS", "Segoe UI", sans-serif;
  --shelle4ca3-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: #141414;
  color: var(--shelle4ca3-paper);
  font-family: var(--shelle4ca3-font-body);
  font-size: 15px;
  line-height: 1.62;
  overflow-x: hidden;
}

body.shelle4ca3-locked {
  overflow: hidden;
}

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

h1,
h2,
h3 {
  font-family: var(--shelle4ca3-font-head);
  color: var(--shelle4ca3-cream);
  margin: 0;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

p {
  margin: 0 0 10px;
  color: #ded8c2;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--shelle4ca3-gold);
}

::selection {
  background: var(--shelle4ca3-gold);
  color: #262626;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--shelle4ca3-gold);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- phone canvas ---------- */
.shelle4ca3-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shelle4ca3-ink);
  overflow-x: hidden;
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.65);
}

@media (min-width: 480px) {
  .shelle4ca3-shell {
    border-left: 1px solid #000;
    border-right: 1px solid #000;
  }
}

/* ---------- skip link ---------- */
.shelle4ca3-skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 120;
  background: var(--shelle4ca3-gold);
  color: #262626;
  font-family: var(--shelle4ca3-font-head);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  text-decoration: none;
}

.shelle4ca3-skip:focus {
  left: 0;
}

/* ---------- top bar: brand layer + action layer ---------- */
.shelle4ca3-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 430px);
  z-index: 70;
  background: linear-gradient(180deg, #303030 0%, #262626 100%);
  border-bottom: 1px solid var(--shelle4ca3-ink-line);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  padding-top: env(safe-area-inset-top);
}

.shelle4ca3-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 7px 12px 2px;
}

.shelle4ca3-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  min-height: 40px;
}

.shelle4ca3-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--shelle4ca3-khaki);
  background: #fff;
  object-fit: cover;
  flex: 0 0 auto;
}

.shelle4ca3-brandname {
  font-family: var(--shelle4ca3-font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
  color: var(--shelle4ca3-cream);
  white-space: nowrap;
}

.shelle4ca3-brandtag {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--shelle4ca3-gold);
  margin-left: 2px;
  vertical-align: 2px;
}

.shelle4ca3-actionrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 10px;
}

/* ---------- buttons: pill shape, staggered sizes ---------- */
.shelle4ca3-btn {
  font-family: var(--shelle4ca3-font-head);
  font-weight: 600;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease,
    background-color 0.12s ease;
}

.shelle4ca3-btn:active {
  transform: scale(0.955);
}

.shelle4ca3-btn-register {
  flex: 1 1 auto;
  min-height: 40px;
  padding: 0 10px;
  font-size: 14px;
  background: linear-gradient(180deg, #ffd94d, var(--shelle4ca3-gold));
  color: #262626;
  box-shadow: 0 3px 0 var(--shelle4ca3-gold-deep);
}

.shelle4ca3-btn-login {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 18px;
  font-size: 13.5px;
  background: transparent;
  border: 1px solid var(--shelle4ca3-khaki);
  color: var(--shelle4ca3-cream);
}

.shelle4ca3-menubtn {
  flex: 0 0 auto;
  width: 44px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--shelle4ca3-ink-line);
  background: var(--shelle4ca3-ink-raise);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.shelle4ca3-menubtn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--shelle4ca3-gold);
}

.shelle4ca3-menubtn span:nth-child(2) {
  width: 13px;
  background: var(--shelle4ca3-pink);
}

.shelle4ca3-menubtn:active {
  background: #3a3a3a;
}

/* ---------- stacked overlay menu ---------- */
.shelle4ca3-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 430px);
  z-index: 90;
  background: rgba(18, 18, 18, 0.97);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 0 14px calc(var(--shelle4ca3-bnav-h) + env(safe-area-inset-bottom) + 20px);
}

.shelle4ca3-menu.shelle4ca3-open {
  visibility: visible;
  opacity: 1;
}

.shelle4ca3-menuhead {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 8px 0;
  background: rgba(18, 18, 18, 0.97);
  border-bottom: 1px solid var(--shelle4ca3-ink-line);
}

.shelle4ca3-menuhead .shelle4ca3-brand {
  gap: 8px;
}

.shelle4ca3-menuhead .shelle4ca3-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.shelle4ca3-menuhead .shelle4ca3-brandname {
  font-size: 16px;
}

.shelle4ca3-menuclose {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--shelle4ca3-ink-line);
  background: var(--shelle4ca3-ink-raise);
  cursor: pointer;
  position: relative;
}

.shelle4ca3-menuclose::before,
.shelle4ca3-menuclose::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--shelle4ca3-pink);
}

.shelle4ca3-menuclose::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.shelle4ca3-menuclose::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.shelle4ca3-menugroup {
  margin: 18px 2px 6px;
  font-family: var(--shelle4ca3-font-head);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shelle4ca3-khaki);
}

.shelle4ca3-menulink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 6px 0;
  padding: 10px 14px;
  background: var(--shelle4ca3-ink-raise);
  border: 1px solid var(--shelle4ca3-ink-line);
  border-radius: 10px;
  color: var(--shelle4ca3-paper);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
}

.shelle4ca3-menulink::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--shelle4ca3-pink);
  flex: 0 0 auto;
}

.shelle4ca3-menulink:active {
  border-color: var(--shelle4ca3-gold);
  color: var(--shelle4ca3-cream);
}

.shelle4ca3-menulink[aria-current="page"] {
  border-color: var(--shelle4ca3-gold);
  color: var(--shelle4ca3-cream);
  background: #343021;
}

.shelle4ca3-menulink[aria-current="page"]::before {
  background: var(--shelle4ca3-gold);
}

.shelle4ca3-menu.shelle4ca3-open .shelle4ca3-menulink {
  animation: shelle4ca3-stackin 0.22s ease both;
}

.shelle4ca3-menu.shelle4ca3-open .shelle4ca3-menulink:nth-child(2) {
  animation-delay: 0.03s;
}

.shelle4ca3-menu.shelle4ca3-open .shelle4ca3-menulink:nth-child(3) {
  animation-delay: 0.06s;
}

.shelle4ca3-menu.shelle4ca3-open .shelle4ca3-menulink:nth-child(4) {
  animation-delay: 0.09s;
}

@keyframes shelle4ca3-stackin {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- main flow ---------- */
.shelle4ca3-main {
  padding-top: calc(var(--shelle4ca3-head-h) + env(safe-area-inset-top) + 10px);
}

.shelle4ca3-intro {
  padding: 6px 14px 2px;
}

.shelle4ca3-intro h1 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.1px;
  margin-bottom: 10px;
}

.shelle4ca3-intro h1 .shelle4ca3-hl {
  color: var(--shelle4ca3-gold);
}

.shelle4ca3-intro p {
  font-size: 14px;
  color: #d8d2bc;
}

/* ---------- hero carousel ---------- */
.shelle4ca3-hero {
  margin: 14px 12px 0;
}

.shelle4ca3-slidewrap {
  position: relative;
  aspect-ratio: 750 / 294;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--shelle4ca3-ink-line);
  background: var(--shelle4ca3-ink-deep);
}

.shelle4ca3-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  background: var(--shelle4ca3-ink-deep);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.45s ease;
  text-align: left;
  font-family: inherit;
}

.shelle4ca3-slide.shelle4ca3-on {
  opacity: 1;
  z-index: 2;
}

.shelle4ca3-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shelle4ca3-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 30px 12px 9px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0) 0%, rgba(16, 16, 16, 0.9) 78%);
  pointer-events: none;
}

.shelle4ca3-capt {
  font-family: var(--shelle4ca3-font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--shelle4ca3-cream);
  line-height: 1.25;
}

.shelle4ca3-caps {
  font-size: 11.5px;
  color: #e6e0ca;
  line-height: 1.4;
}

.shelle4ca3-capb {
  margin-top: 3px;
  font-family: var(--shelle4ca3-font-head);
  font-weight: 600;
  font-size: 11px;
  color: #262626;
  background: var(--shelle4ca3-gold);
  border-radius: 999px;
  padding: 4px 12px;
}

.shelle4ca3-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 9px 0 2px;
}

.shelle4ca3-dot {
  width: 30px;
  height: 24px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shelle4ca3-dot span {
  display: block;
  width: 16px;
  height: 4px;
  border-radius: 2px;
  background: #57543f;
  transition: background-color 0.15s ease, width 0.15s ease;
}

.shelle4ca3-dot.shelle4ca3-on span {
  width: 22px;
  background: var(--shelle4ca3-gold);
}

/* ---------- game floors ---------- */
.shelle4ca3-floor {
  margin: 28px 0 0;
  padding: 0 12px;
}

.shelle4ca3-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--shelle4ca3-font-head);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shelle4ca3-pink);
  margin-bottom: 3px;
}

.shelle4ca3-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--shelle4ca3-gold);
  flex: 0 0 auto;
}

.shelle4ca3-floor h2 {
  font-size: 19px;
  font-weight: 600;
  margin: 2px 0 6px;
}

.shelle4ca3-floornote {
  font-size: 13px;
  color: var(--shelle4ca3-muted);
  margin: 0 0 11px;
}

.shelle4ca3-floornote a {
  color: var(--shelle4ca3-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* square game cards: image block + bottom name bar */
.shelle4ca3-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px 7px;
}

.shelle4ca3-gcard {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px 5px 6px;
  background: var(--shelle4ca3-ink-raise);
  border: 1px solid var(--shelle4ca3-ink-line);
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition: border-color 0.12s ease;
}

.shelle4ca3-gcard:active {
  border-color: var(--shelle4ca3-khaki);
}

.shelle4ca3-gthmb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 5px;
  overflow: hidden;
  background: #1c1c1c;
}

.shelle4ca3-gthmb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shelle4ca3-gtitle {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  font-family: var(--shelle4ca3-font-head);
  font-weight: 500;
  font-size: 10px;
  line-height: 1.3;
  color: #efe9d5;
  overflow-wrap: anywhere;
}

/* ---------- editorial modules ---------- */
.shelle4ca3-module {
  margin: 28px 12px 0;
  padding: 18px 15px 20px;
  background: #222222;
  border: 1px solid #383838;
  border-radius: 10px;
}

.shelle4ca3-module h2 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}

.shelle4ca3-module h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--shelle4ca3-gold);
  margin: 20px 0 6px;
}

.shelle4ca3-module p {
  font-size: 14px;
}

.shelle4ca3-module p a,
.shelle4ca3-xfoot p a {
  color: var(--shelle4ca3-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shelle4ca3-hl {
  color: var(--shelle4ca3-cream);
  font-weight: 600;
}

/* step-progression list */
.shelle4ca3-steps {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  counter-reset: shelle4ca3step;
}

.shelle4ca3-steps li {
  position: relative;
  counter-increment: shelle4ca3step;
  padding: 0 0 18px 46px;
}

.shelle4ca3-steps li:last-child {
  padding-bottom: 4px;
}

.shelle4ca3-steps li::before {
  content: counter(shelle4ca3step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffd94d, var(--shelle4ca3-gold));
  color: #262626;
  font-family: var(--shelle4ca3-font-head);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 0 var(--shelle4ca3-gold-deep);
}

.shelle4ca3-steps li::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: 4px;
  width: 2px;
  background: var(--shelle4ca3-ink-line);
}

.shelle4ca3-steps li:last-child::after {
  display: none;
}

.shelle4ca3-stept {
  display: block;
  font-family: var(--shelle4ca3-font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--shelle4ca3-cream);
  margin-bottom: 3px;
}

.shelle4ca3-steps p {
  font-size: 13.5px;
  margin: 0;
}

/* compact security checks */
.shelle4ca3-checks {
  display: grid;
  gap: 8px;
  margin: 14px 0 4px;
}

.shelle4ca3-check {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-left: 3px solid var(--shelle4ca3-gold);
  border-radius: 8px;
  padding: 9px 12px;
}

.shelle4ca3-check strong {
  font-family: var(--shelle4ca3-font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--shelle4ca3-cream);
}

.shelle4ca3-check span {
  font-size: 12.5px;
  color: var(--shelle4ca3-muted);
  line-height: 1.5;
}

/* staggered CTA pair */
.shelle4ca3-ctarow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.shelle4ca3-cta-main {
  min-height: 48px;
  padding: 0 24px;
  font-size: 15px;
  background: linear-gradient(180deg, #ffd94d, var(--shelle4ca3-gold));
  color: #262626;
  box-shadow: 0 3px 0 var(--shelle4ca3-gold-deep);
}

.shelle4ca3-cta-sub {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
  background: transparent;
  border: 1px solid var(--shelle4ca3-khaki);
  color: var(--shelle4ca3-cream);
  align-self: center;
}

/* ---------- extended home footer ---------- */
.shelle4ca3-xfoot {
  margin: 30px 12px 0;
  padding: 18px 14px 16px;
  background: #212121;
  border: 1px solid #3a3a3a;
  border-radius: 12px;
}

.shelle4ca3-xfoot h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.shelle4ca3-xfoot > p {
  font-size: 13px;
  color: var(--shelle4ca3-muted);
}

.shelle4ca3-dirlabel,
.shelle4ca3-promolabel {
  margin: 18px 0 8px;
  font-family: var(--shelle4ca3-font-head);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shelle4ca3-khaki);
}

/* two-column page directory */
.shelle4ca3-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.shelle4ca3-dir a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 10px;
  background: #2a2a2a;
  border: 1px solid #3c3c3c;
  border-radius: 8px;
  color: var(--shelle4ca3-paper);
  text-decoration: none;
  font-size: 12.5px;
  line-height: 1.35;
}

.shelle4ca3-dir a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--shelle4ca3-pink);
  margin-right: 8px;
  flex: 0 0 auto;
}

.shelle4ca3-dir a:active {
  border-color: var(--shelle4ca3-gold);
  color: var(--shelle4ca3-cream);
}

/* six promotion actions, icon + text */
.shelle4ca3-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.shelle4ca3-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 8px 9px;
  border-radius: 10px;
  border: 1px solid var(--shelle4ca3-khaki);
  background: linear-gradient(180deg, #323232, #292929);
  color: var(--shelle4ca3-cream);
  font-family: var(--shelle4ca3-font-head);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.25;
  cursor: pointer;
  text-align: center;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.shelle4ca3-promo svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.shelle4ca3-promo:active {
  transform: scale(0.96);
  border-color: var(--shelle4ca3-gold);
}

.shelle4ca3-promo--main {
  grid-column: 1 / -1;
  min-height: 52px;
  font-size: 14.5px;
  background: linear-gradient(180deg, #ffd94d, var(--shelle4ca3-gold));
  border-color: var(--shelle4ca3-gold-deep);
  color: #262626;
  box-shadow: 0 3px 0 var(--shelle4ca3-gold-deep);
}

.shelle4ca3-disclaim {
  margin-top: 15px;
  padding-top: 11px;
  border-top: 1px dashed #3c3c3c;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--shelle4ca3-faint);
}

/* ---------- copyright strip ---------- */
.shelle4ca3-copyright {
  text-align: center;
  font-size: 11.5px;
  color: var(--shelle4ca3-faint);
  padding: 18px 14px calc(var(--shelle4ca3-bnav-h) + env(safe-area-inset-bottom) + 22px);
  margin-top: 8px;
}

/* ---------- bottom nav: compact icon rack ---------- */
.shelle4ca3-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 430px);
  height: calc(var(--shelle4ca3-bnav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: linear-gradient(180deg, #2d2d2d 0%, #212121 100%);
  border-top: 1px solid var(--shelle4ca3-ink-line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 70;
}

.shelle4ca3-bitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--shelle4ca3-bnav-h);
  padding: 0 2px;
  border: 0;
  background: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--shelle4ca3-font-head);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: #a9a48f;
  transition: transform 0.15s ease, color 0.15s ease;
}

.shelle4ca3-bitem svg {
  width: 23px;
  height: 23px;
  display: block;
}

.shelle4ca3-bitem:active {
  transform: translateY(-1px);
}

/* active role lifts slightly and lights the icon */
.shelle4ca3-bitem.shelle4ca3-on {
  color: var(--shelle4ca3-gold);
  transform: translateY(-2px);
}

.shelle4ca3-bitem.shelle4ca3-on svg {
  filter: drop-shadow(0 3px 5px rgba(255, 204, 51, 0.38));
}

/* icon state morph: press flips the accent tone */
.shelle4ca3-bitem:active svg .shelle4ca3-ico-a {
  fill: var(--shelle4ca3-cream);
}

/* ---------- responsive ladder ---------- */
@media (min-width: 375px) {
  .shelle4ca3-intro h1 {
    font-size: 25px;
  }

  .shelle4ca3-gtitle {
    font-size: 11px;
  }

  .shelle4ca3-floor h2,
  .shelle4ca3-module h2 {
    font-size: 20px;
  }
}

@media (min-width: 420px) {
  .shelle4ca3-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ---------- help page components (Part1 additions) ---------- */
/* always-visible Q&A cards */
.shelle4ca3-qa {
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  padding: 11px 12px;
  margin-top: 10px;
}

.shelle4ca3-q {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-family: var(--shelle4ca3-font-head);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--shelle4ca3-cream);
}

.shelle4ca3-q::before {
  content: "Q";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--shelle4ca3-pink);
  color: #262626;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shelle4ca3-qa > p {
  margin: 7px 0 0 31px;
  font-size: 13.5px;
}

/* definition rows for key terms */
.shelle4ca3-terms {
  margin: 14px 0 4px;
  display: grid;
  gap: 8px;
}

.shelle4ca3-terms > div {
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-left: 3px solid var(--shelle4ca3-pink);
  border-radius: 8px;
  padding: 9px 12px;
}

.shelle4ca3-terms dt {
  font-family: var(--shelle4ca3-font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--shelle4ca3-gold);
}

.shelle4ca3-terms dd {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--shelle4ca3-muted);
  line-height: 1.55;
}

/* inline text-style promo action */
.shelle4ca3-textcta {
  display: inline;
  border: 0;
  padding: 0;
  background: none;
  color: var(--shelle4ca3-gold);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.shelle4ca3-textcta:active {
  color: var(--shelle4ca3-cream);
}

/* recap checklist, distinct from numbered steps */
.shelle4ca3-recap {
  list-style: none;
  margin: 12px 0 4px;
  padding: 0;
  display: grid;
  gap: 7px;
}

.shelle4ca3-recap li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-left: 3px solid var(--shelle4ca3-khaki);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  color: #d8d2bc;
}

.shelle4ca3-recap li::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffd94d, var(--shelle4ca3-gold));
  clip-path: polygon(14% 46%, 0 62%, 38% 100%, 100% 16%, 84% 4%, 36% 70%);
}

/* device help rows */
.shelle4ca3-dev {
  display: grid;
  gap: 8px;
  margin: 12px 0 4px;
}

.shelle4ca3-devrow {
  display: flex;
  gap: 10px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  padding: 10px 12px;
}

.shelle4ca3-devrow svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.shelle4ca3-devrow strong {
  display: block;
  font-family: var(--shelle4ca3-font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--shelle4ca3-cream);
}

.shelle4ca3-devrow p {
  font-size: 12.5px;
  margin: 2px 0 0;
  color: var(--shelle4ca3-muted);
}

/* fact chips grid */
.shelle4ca3-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 4px;
}

.shelle4ca3-fact {
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-top: 3px solid var(--shelle4ca3-gold);
  border-radius: 8px;
  padding: 9px 10px;
}

.shelle4ca3-fact strong {
  display: block;
  font-family: var(--shelle4ca3-font-head);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--shelle4ca3-cream);
  margin-bottom: 2px;
}

.shelle4ca3-fact span {
  font-size: 12px;
  color: var(--shelle4ca3-muted);
  line-height: 1.5;
}

/* ---------- motion budget: calm by default ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
