/* ==========================================================================
   jilibey.click mobile-first interface stylesheet
   File   : css/jilibey-interface-d4cf12.css
   Prefix : every class, keyframe and custom property starts with "shelld4cf1-"
   Palette: #1A1A2E ink base | #4B0082 indigo | #BA55D3 orchid
            #DEB887 sand | #6F4E37 coffee
   Canvas : 320-430px phone frame, centered on wide screens
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset and raw element defaults
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: #0d0d1a;
  color: #ede3d2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.62;
  min-height: 100dvh;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: #d9a7ea;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: rgba(186, 85, 211, 0.42);
  color: #fff7ec;
}

:focus-visible {
  outline: 2px solid #ba55d3;
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   2. Custom properties (single source of truth for the visual language)
   -------------------------------------------------------------------------- */
:root {
  --shelld4cf1-ink: #1a1a2e;
  --shelld4cf1-ink-deep: #141226;
  --shelld4cf1-indigo: #4b0082;
  --shelld4cf1-orchid: #ba55d3;
  --shelld4cf1-sand: #deb887;
  --shelld4cf1-coffee: #6f4e37;
  --shelld4cf1-text: #ede3d2;
  --shelld4cf1-text-dim: #c4b49d;
  --shelld4cf1-panel: #23203c;
  --shelld4cf1-panel-2: #1e1b34;
  --shelld4cf1-hairline: rgba(111, 78, 55, 0.55);
  --shelld4cf1-hairline-soft: rgba(222, 184, 135, 0.16);
  --shelld4cf1-glow: rgba(186, 85, 211, 0.35);
  --shelld4cf1-glow-sand: rgba(222, 184, 135, 0.28);
  --shelld4cf1-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo,
    Consolas, "Liberation Mono", monospace;
  --shelld4cf1-r-card: 10px;
  --shelld4cf1-r-tight: 8px;
  --shelld4cf1-r-wide: 16px;
  --shelld4cf1-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   3. Phone canvas shell
   -------------------------------------------------------------------------- */
.shelld4cf1-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin-inline: auto;
  min-height: 100dvh;
  background:
    radial-gradient(120% 52% at 50% -8%, rgba(75, 0, 130, 0.5), transparent 62%),
    radial-gradient(90% 40% at 88% 12%, rgba(186, 85, 211, 0.12), transparent 60%),
    var(--shelld4cf1-ink);
  box-shadow: 0 0 0 1px rgba(111, 78, 55, 0.4);
  overflow-x: clip;
}

/* Wide screens keep the centered phone canvas and simply frame it */
@media (min-width: 480px) {
  .shelld4cf1-shell {
    box-shadow:
      0 0 0 1px rgba(111, 78, 55, 0.55),
      0 26px 70px rgba(0, 0, 0, 0.6),
      0 0 90px rgba(75, 0, 130, 0.28);
  }
}

/* Skip link, hidden until focused */
.shelld4cf1-skip {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 120;
  padding: 10px 16px;
  border-radius: var(--shelld4cf1-r-tight);
  background: var(--shelld4cf1-sand);
  color: #241a10;
  font-weight: 700;
  transition: top 0.18s var(--shelld4cf1-ease);
}

.shelld4cf1-skip:focus {
  top: 10px;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   4. Sticky top bar: compact brand strip + separate action cluster
   -------------------------------------------------------------------------- */
.shelld4cf1-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 9px 12px;
  background: rgba(26, 26, 46, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--shelld4cf1-hairline);
  transition: box-shadow 0.22s var(--shelld4cf1-ease),
    background 0.22s var(--shelld4cf1-ease);
}

.shelld4cf1-topbar.shelld4cf1-topbar--lifted {
  background: rgba(19, 17, 36, 0.97);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(186, 85, 211, 0.28);
}

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

.shelld4cf1-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--shelld4cf1-r-tight);
  border: 1px solid var(--shelld4cf1-hairline-soft);
  background: #100e20;
  flex: none;
}

.shelld4cf1-wordmark {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--shelld4cf1-sand);
  white-space: nowrap;
}

.shelld4cf1-topacts {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  flex: none;
}

/* Staggered primary / secondary buttons: sizes intentionally unequal */
.shelld4cf1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--shelld4cf1-r-tight);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.16s var(--shelld4cf1-ease),
    box-shadow 0.16s var(--shelld4cf1-ease),
    background 0.16s var(--shelld4cf1-ease);
}

.shelld4cf1-btn:active {
  transform: translateY(1px) scale(0.985);
}

.shelld4cf1-btn--reg {
  min-height: 44px;
  padding: 0 16px;
  font-size: 13.5px;
  color: #241304;
  background: linear-gradient(160deg, #f0cf9d 0%, var(--shelld4cf1-sand) 58%, #c39a63 100%);
  box-shadow: 0 3px 0 #55402a, 0 6px 16px rgba(0, 0, 0, 0.35);
}

.shelld4cf1-btn--reg:active {
  box-shadow: 0 1px 0 #55402a, 0 3px 10px var(--shelld4cf1-glow-sand);
}

.shelld4cf1-btn--log {
  min-height: 44px;
  padding: 0 12px;
  font-size: 12.5px;
  color: var(--shelld4cf1-text);
  background: rgba(75, 0, 130, 0.38);
  border: 1px solid rgba(186, 85, 211, 0.5);
}

.shelld4cf1-btn--log:active {
  box-shadow: 0 0 0 3px var(--shelld4cf1-glow);
}

/* Burger toggle for the stacked overlay menu */
.shelld4cf1-burger {
  display: grid;
  place-content: center;
  gap: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--shelld4cf1-r-tight);
  border: 1px solid var(--shelld4cf1-hairline);
  background: rgba(35, 32, 60, 0.7);
}

.shelld4cf1-burgerline {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--shelld4cf1-sand);
  box-shadow: 0 -6px 0 var(--shelld4cf1-orchid), 0 6px 0 var(--shelld4cf1-orchid);
  transition: transform 0.2s var(--shelld4cf1-ease),
    box-shadow 0.2s var(--shelld4cf1-ease);
}

/* --------------------------------------------------------------------------
   5. Stacked overlay menu (full-canvas cover)
   -------------------------------------------------------------------------- */
.shelld4cf1-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 430px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  visibility: hidden;
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(26, 26, 46, 0.99) 0%, rgba(20, 18, 38, 0.99) 46%, rgba(18, 14, 34, 0.995) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.22s var(--shelld4cf1-ease),
    transform 0.22s var(--shelld4cf1-ease),
    visibility 0.22s;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.shelld4cf1-menu.shelld4cf1-menu--open {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.shelld4cf1-menu-head {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 62px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--shelld4cf1-hairline);
  position: sticky;
  top: 0;
  background: rgba(26, 26, 46, 0.97);
}

.shelld4cf1-menu-close {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: var(--shelld4cf1-r-tight);
  border: 1px solid rgba(186, 85, 211, 0.5);
  color: var(--shelld4cf1-orchid);
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  background: rgba(75, 0, 130, 0.3);
}

.shelld4cf1-menu-close:active {
  box-shadow: 0 0 0 3px var(--shelld4cf1-glow);
}

.shelld4cf1-menu-groups {
  padding: 14px 14px 8px;
  display: grid;
  gap: 18px;
}

.shelld4cf1-menulabel {
  font-family: var(--shelld4cf1-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shelld4cf1-orchid);
  margin-bottom: 8px;
  padding-left: 12px;
  position: relative;
}

.shelld4cf1-menulabel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--shelld4cf1-sand), var(--shelld4cf1-orchid));
}

.shelld4cf1-menulinks {
  display: grid;
  gap: 6px;
}

.shelld4cf1-menulink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 12px;
  border-radius: var(--shelld4cf1-r-card);
  background: rgba(35, 32, 60, 0.55);
  border: 1px solid var(--shelld4cf1-hairline-soft);
  color: var(--shelld4cf1-text);
  font-size: 13.5px;
  font-weight: 600;
  position: relative;
  transition: border-color 0.16s var(--shelld4cf1-ease),
    background 0.16s var(--shelld4cf1-ease);
}

.shelld4cf1-menulink:hover,
.shelld4cf1-menulink:focus-visible {
  text-decoration: none;
  background: rgba(75, 0, 130, 0.3);
  border-color: rgba(186, 85, 211, 0.55);
}

.shelld4cf1-menulink::after {
  content: "";
  margin-left: auto;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--shelld4cf1-sand);
  border-right: 2px solid var(--shelld4cf1-sand);
  rotate: 45deg;
  flex: none;
}

.shelld4cf1-menulink[aria-current="page"] {
  background: rgba(186, 85, 211, 0.16);
  border-color: rgba(186, 85, 211, 0.65);
}

.shelld4cf1-menulink[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: var(--shelld4cf1-orchid);
}

.shelld4cf1-menu-cta {
  margin: 6px 14px 26px;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 8px;
}

.shelld4cf1-menu-cta .shelld4cf1-btn--reg {
  width: 100%;
}

.shelld4cf1-menu-cta .shelld4cf1-btn--log {
  width: 100%;
}

/* Lock page scroll while the overlay is open */
.shelld4cf1-noscroll {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   6. Main column rhythm
   -------------------------------------------------------------------------- */
.shelld4cf1-main {
  padding: 14px 12px 104px; /* bottom room clears the fixed dock bar */
}

.shelld4cf1-lede {
  font-size: 15px;
  line-height: 1.7;
  color: var(--shelld4cf1-text);
}

.shelld4cf1-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--shelld4cf1-text-dim);
}

.shelld4cf1-prose p + p {
  margin-top: 10px;
}

.shelld4cf1-prose a {
  color: var(--shelld4cf1-sand);
  border-bottom: 1px dashed rgba(222, 184, 135, 0.5);
  padding-bottom: 1px;
}

.shelld4cf1-prose a:hover,
.shelld4cf1-prose a:focus-visible {
  text-decoration: none;
  border-bottom-style: solid;
}

/* Section scaffolding */
.shelld4cf1-sec {
  margin-top: 26px;
  scroll-margin-top: 76px;
}

.shelld4cf1-sechead {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.shelld4cf1-sec h2 {
  font-size: 16.5px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--shelld4cf1-sand);
  letter-spacing: 0.005em;
  min-width: 0;
  flex: 1 1 100%;
}

.shelld4cf1-seccount {
  order: -1;
  font-family: var(--shelld4cf1-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--shelld4cf1-orchid);
  border: 1px solid rgba(186, 85, 211, 0.45);
  border-radius: 999px;
  padding: 2px 9px;
  background: rgba(75, 0, 130, 0.28);
  white-space: nowrap;
}

.shelld4cf1-seclead {
  font-size: 12.8px;
  color: var(--shelld4cf1-text-dim);
  margin: 4px 0 12px;
}

.shelld4cf1-seclead a {
  color: #d9a7ea;
  border-bottom: 1px dashed rgba(217, 167, 234, 0.55);
}

/* --------------------------------------------------------------------------
   7. Promo carousel (three real campaign banners)
   -------------------------------------------------------------------------- */
.shelld4cf1-carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--shelld4cf1-hairline);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  background: #14122200;
}

.shelld4cf1-ctrack {
  display: flex;
  transition: transform 0.46s var(--shelld4cf1-ease);
  touch-action: pan-y;
}

.shelld4cf1-cslide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  width: 100%;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.shelld4cf1-cslide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.shelld4cf1-cslide:active img {
  filter: brightness(1.08);
}

.shelld4cf1-cslide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 1px;
  padding: 26px 12px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(16, 12, 30, 0.55) 38%, rgba(16, 12, 30, 0.92) 100%);
  pointer-events: none;
}

.shelld4cf1-cslide-cap b {
  font-size: 13.5px;
  font-weight: 800;
  color: #fff4e2;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.shelld4cf1-cslide-cap i {
  font-style: normal;
  font-size: 10.5px;
  color: rgba(237, 227, 210, 0.85);
  font-family: var(--shelld4cf1-mono);
  letter-spacing: 0.04em;
}

.shelld4cf1-cdots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.shelld4cf1-cdot {
  width: 22px;
  height: 10px;
  border-radius: 999px;
  background: rgba(222, 184, 135, 0.32);
  border: 1px solid rgba(16, 12, 30, 0.5);
  transition: background 0.2s var(--shelld4cf1-ease),
    box-shadow 0.2s var(--shelld4cf1-ease);
}

.shelld4cf1-cdot--on {
  background: var(--shelld4cf1-orchid);
  box-shadow: 0 0 10px var(--shelld4cf1-glow);
}

/* Quick category jump strip */
.shelld4cf1-quick {
  display: flex;
  gap: 8px;
  margin: 14px 0 4px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.shelld4cf1-quick::-webkit-scrollbar {
  display: none;
}

.shelld4cf1-quickchip {
  flex: none;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--shelld4cf1-text);
  background: rgba(35, 32, 60, 0.75);
  border: 1px solid var(--shelld4cf1-hairline-soft);
  transition: border-color 0.16s var(--shelld4cf1-ease);
}

.shelld4cf1-quickchip span {
  font-family: var(--shelld4cf1-mono);
  font-size: 9.5px;
  color: var(--shelld4cf1-orchid);
}

.shelld4cf1-quickchip:active {
  border-color: rgba(186, 85, 211, 0.7);
  box-shadow: 0 0 12px var(--shelld4cf1-glow);
}

/* --------------------------------------------------------------------------
   8. Intro article block
   -------------------------------------------------------------------------- */
.shelld4cf1-intro {
  margin-top: 16px;
  padding: 16px 14px;
  border-radius: var(--shelld4cf1-r-wide);
  background:
    linear-gradient(150deg, rgba(75, 0, 130, 0.32), rgba(26, 26, 46, 0.2) 55%),
    var(--shelld4cf1-panel-2);
  border: 1px solid var(--shelld4cf1-hairline-soft);
  border-left: 3px solid var(--shelld4cf1-orchid);
}

.shelld4cf1-intro .shelld4cf1-kicker {
  font-family: var(--shelld4cf1-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shelld4cf1-orchid);
  display: block;
  margin-bottom: 6px;
}

.shelld4cf1-intro h1 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #f3dcb6;
  margin-bottom: 6px;
}

.shelld4cf1-intro h2 {
  font-size: 14.5px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--shelld4cf1-orchid);
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   9. Game grids: portrait icon card, short name under art
   -------------------------------------------------------------------------- */
.shelld4cf1-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
}

.shelld4cf1-game {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 5px 5px 7px;
  border-radius: var(--shelld4cf1-r-card);
  background: linear-gradient(175deg, #262245 0%, #1d1a35 100%);
  border: 1px solid var(--shelld4cf1-hairline-soft);
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.16s var(--shelld4cf1-ease),
    border-color 0.16s var(--shelld4cf1-ease),
    box-shadow 0.16s var(--shelld4cf1-ease);
}

.shelld4cf1-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: calc(var(--shelld4cf1-r-card) - 3px);
  background: #15122a;
}

.shelld4cf1-gname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  min-height: 27px;
  font-size: 10px;
  line-height: 1.32;
  font-weight: 600;
  color: #e9dcc6;
  overflow-wrap: anywhere;
}

.shelld4cf1-game:active {
  transform: translateY(-2px);
  border-color: rgba(186, 85, 211, 0.7);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 14px var(--shelld4cf1-glow);
}

/* Slightly roomier grid on larger phones */
@media (min-width: 375px) {
  .shelld4cf1-grid {
    gap: 14px 10px;
  }

  .shelld4cf1-gname {
    font-size: 10.5px;
  }
}

@media (min-width: 430px) {
  .shelld4cf1-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .shelld4cf1-gname {
    min-height: 28px;
  }
}

/* --------------------------------------------------------------------------
   10. Decision CTA band (staggered primary + secondary actions)
   -------------------------------------------------------------------------- */
.shelld4cf1-ctaband {
  margin-top: 28px;
  padding: 18px 16px;
  border-radius: var(--shelld4cf1-r-wide);
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(186, 85, 211, 0.3), transparent 55%),
    linear-gradient(165deg, #3a0b66 0%, #2a1145 48%, #231a2e 100%);
  border: 1px solid rgba(222, 184, 135, 0.28);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
}

.shelld4cf1-ctaband h2 {
  font-size: 17.5px;
  line-height: 1.35;
  font-weight: 800;
  color: #f3dcb6;
  margin-bottom: 6px;
}

.shelld4cf1-ctaband p {
  font-size: 12.8px;
  color: rgba(237, 227, 210, 0.85);
  margin-bottom: 14px;
}

.shelld4cf1-ctarow {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.shelld4cf1-ctarow .shelld4cf1-btn--reg {
  flex: 1.45;
  min-height: 50px;
  font-size: 14.5px;
}

.shelld4cf1-ctarow .shelld4cf1-btn--log {
  flex: 1;
  min-height: 50px;
  font-size: 12.5px;
}

/* --------------------------------------------------------------------------
   11. Step list (mobile access walkthrough)
   -------------------------------------------------------------------------- */
.shelld4cf1-steps {
  margin-top: 8px;
  display: grid;
  gap: 10px;
}

.shelld4cf1-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  align-items: start;
  padding: 11px 12px;
  border-radius: var(--shelld4cf1-r-card);
  background: var(--shelld4cf1-panel-2);
  border: 1px solid var(--shelld4cf1-hairline-soft);
}

.shelld4cf1-stepnum {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-family: var(--shelld4cf1-mono);
  font-size: 13px;
  font-weight: 700;
  color: #ffe9c9;
  background: linear-gradient(160deg, rgba(75, 0, 130, 0.85), rgba(26, 26, 46, 0.9));
  border: 1px solid rgba(186, 85, 211, 0.55);
}

.shelld4cf1-step b {
  display: block;
  font-size: 13px;
  color: var(--shelld4cf1-sand);
  margin-bottom: 2px;
}

.shelld4cf1-step p {
  font-size: 12.3px;
  color: var(--shelld4cf1-text-dim);
}

/* --------------------------------------------------------------------------
   12. Category highlight rows (varied row treatments, not identical cards)
   -------------------------------------------------------------------------- */
.shelld4cf1-highs {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.shelld4cf1-high {
  padding: 12px 13px;
  border-radius: var(--shelld4cf1-r-card);
  background: rgba(35, 32, 60, 0.42);
  border: 1px solid var(--shelld4cf1-hairline-soft);
}

.shelld4cf1-high--rail {
  border-left: 3px solid var(--shelld4cf1-orchid);
}

.shelld4cf1-high--sand {
  border-left: 3px solid var(--shelld4cf1-sand);
}

.shelld4cf1-high--inset {
  background: rgba(75, 0, 130, 0.2);
}

.shelld4cf1-hightag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--shelld4cf1-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5e6cf;
  background: rgba(111, 78, 55, 0.65);
  border-radius: 5px;
  padding: 3px 8px;
  margin-bottom: 7px;
}

.shelld4cf1-high--inset .shelld4cf1-hightag {
  background: rgba(186, 85, 211, 0.3);
}

.shelld4cf1-high b {
  display: block;
  font-size: 13.5px;
  color: var(--shelld4cf1-sand);
  margin-bottom: 3px;
}

.shelld4cf1-high p {
  font-size: 12.4px;
  color: var(--shelld4cf1-text-dim);
}

/* --------------------------------------------------------------------------
   13. Winners feed panel
   -------------------------------------------------------------------------- */
.shelld4cf1-winners {
  margin-top: 8px;
  border-radius: var(--shelld4cf1-r-wide);
  border: 1px solid var(--shelld4cf1-hairline);
  background: var(--shelld4cf1-panel-2);
  overflow: hidden;
}

.shelld4cf1-winhead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(75, 0, 130, 0.24);
  border-bottom: 1px solid var(--shelld4cf1-hairline-soft);
  font-family: var(--shelld4cf1-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shelld4cf1-orchid);
}

.shelld4cf1-livedot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--shelld4cf1-orchid);
  box-shadow: 0 0 0 0 var(--shelld4cf1-glow);
  animation: shelld4cf1-pulse 1.9s ease-out infinite;
  flex: none;
}

@keyframes shelld4cf1-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(186, 85, 211, 0.5);
  }

  70% {
    box-shadow: 0 0 0 9px rgba(186, 85, 211, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(186, 85, 211, 0);
  }
}

.shelld4cf1-winrow {
  display: grid;
  grid-template-columns: minmax(52px, 0.7fr) minmax(0, 1.3fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(222, 184, 135, 0.08);
}

.shelld4cf1-winrow:last-of-type {
  border-bottom: 0;
}

.shelld4cf1-winwho {
  font-family: var(--shelld4cf1-mono);
  font-size: 11.5px;
  color: var(--shelld4cf1-text-dim);
  white-space: nowrap;
}

.shelld4cf1-winwhat {
  font-size: 12px;
  color: var(--shelld4cf1-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shelld4cf1-winamt {
  font-family: var(--shelld4cf1-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shelld4cf1-sand);
  white-space: nowrap;
}

.shelld4cf1-winfoot {
  padding: 9px 14px 12px;
  font-size: 10.8px;
  color: rgba(196, 180, 157, 0.8);
  font-style: italic;
  border-top: 1px dashed var(--shelld4cf1-hairline-soft);
}

/* --------------------------------------------------------------------------
   14. Decision checklist
   -------------------------------------------------------------------------- */
.shelld4cf1-checklist {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.shelld4cf1-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--shelld4cf1-r-card);
  background: rgba(35, 32, 60, 0.5);
  border: 1px solid var(--shelld4cf1-hairline-soft);
  text-align: left;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.16s var(--shelld4cf1-ease);
}

.shelld4cf1-check:active {
  background: rgba(75, 0, 130, 0.28);
}

.shelld4cf1-checkbox {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  border: 1.5px solid rgba(222, 184, 135, 0.6);
  background: rgba(20, 18, 34, 0.6);
  position: relative;
  flex: none;
  transition: background 0.16s var(--shelld4cf1-ease),
    border-color 0.16s var(--shelld4cf1-ease);
}

.shelld4cf1-checkbox::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2.5px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #241304;
  border-bottom: 2px solid #241304;
  rotate: 42deg;
  opacity: 0;
  transition: opacity 0.16s var(--shelld4cf1-ease);
}

.shelld4cf1-check[aria-checked="true"] .shelld4cf1-checkbox {
  background: linear-gradient(150deg, #f0cf9d, var(--shelld4cf1-sand));
  border-color: var(--shelld4cf1-sand);
}

.shelld4cf1-check[aria-checked="true"] .shelld4cf1-checkbox::after {
  opacity: 1;
}

.shelld4cf1-check span {
  font-size: 12.6px;
  line-height: 1.5;
  color: var(--shelld4cf1-text);
}

.shelld4cf1-check[aria-checked="true"] span {
  color: rgba(237, 227, 210, 0.62);
}

.shelld4cf1-checkmeta {
  grid-column: 1 / -1;
  font-size: 11.2px;
  color: rgba(196, 180, 157, 0.85);
  padding: 2px 32px 0;
  display: none;
}

.shelld4cf1-checkmeta--hint {
  display: block;
}

/* --------------------------------------------------------------------------
   15. Extended footer: brand > promotions > page directory > disclaimer
   -------------------------------------------------------------------------- */
.shelld4cf1-xfooter {
  margin: 30px -12px 0;
  padding: 22px 16px 18px;
  background:
    radial-gradient(110% 60% at 50% 0%, rgba(75, 0, 130, 0.25), transparent 60%),
    #151228;
  border-top: 1px solid var(--shelld4cf1-hairline);
}

.shelld4cf1-fhead {
  font-family: var(--shelld4cf1-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shelld4cf1-orchid);
  margin: 18px 0 9px;
}

.shelld4cf1-fbrand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.shelld4cf1-fbrand img {
  width: 40px;
  height: 40px;
  border-radius: var(--shelld4cf1-r-tight);
  border: 1px solid var(--shelld4cf1-hairline-soft);
  flex: none;
}

.shelld4cf1-fbrand b {
  font-size: 16px;
  color: var(--shelld4cf1-sand);
  letter-spacing: 0.03em;
}

.shelld4cf1-fblurb {
  font-size: 12.2px;
  color: var(--shelld4cf1-text-dim);
}

.shelld4cf1-fpromos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shelld4cf1-fpromo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 0 10px;
  border-radius: var(--shelld4cf1-r-tight);
  font-size: 12.5px;
  font-weight: 700;
  color: #2a1c0a;
  background: linear-gradient(160deg, #ecd0a4, var(--shelld4cf1-sand) 70%);
  box-shadow: 0 2px 0 #5a432c;
  transition: transform 0.15s var(--shelld4cf1-ease),
    box-shadow 0.15s var(--shelld4cf1-ease);
}

.shelld4cf1-fpromo:active {
  transform: translateY(1px);
  box-shadow: 0 0 0 3px var(--shelld4cf1-glow-sand);
}

.shelld4cf1-fpromo--alt {
  color: var(--shelld4cf1-text);
  background: rgba(75, 0, 130, 0.35);
  border: 1px solid rgba(186, 85, 211, 0.5);
  box-shadow: none;
}

.shelld4cf1-fpromo--alt:active {
  box-shadow: 0 0 0 3px var(--shelld4cf1-glow);
}

.shelld4cf1-fpromo svg {
  flex: none;
}

.shelld4cf1-fdir {
  display: grid;
  gap: 5px;
}

.shelld4cf1-fdlink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: var(--shelld4cf1-r-tight);
  background: rgba(35, 32, 60, 0.42);
  border: 1px solid var(--shelld4cf1-hairline-soft);
  font-size: 12.4px;
  color: var(--shelld4cf1-text);
  transition: border-color 0.16s var(--shelld4cf1-ease);
}

.shelld4cf1-fdlink:hover,
.shelld4cf1-fdlink:focus-visible {
  text-decoration: none;
  border-color: rgba(186, 85, 211, 0.6);
}

.shelld4cf1-fdlink em {
  font-style: normal;
  font-family: var(--shelld4cf1-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shelld4cf1-orchid);
  margin-left: auto;
  flex: none;
}

.shelld4cf1-fdisclaimer {
  margin-top: 18px;
  padding: 12px 13px;
  border-radius: var(--shelld4cf1-r-card);
  background: rgba(111, 78, 55, 0.16);
  border: 1px dashed rgba(222, 184, 135, 0.3);
  font-size: 11px;
  line-height: 1.6;
  color: rgba(214, 199, 176, 0.9);
}

/* Common footer strip */
.shelld4cf1-cfoot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--shelld4cf1-hairline-soft);
  display: grid;
  gap: 4px;
  text-align: center;
}

.shelld4cf1-cfoot small {
  font-size: 10.8px;
  color: rgba(196, 180, 157, 0.75);
  font-family: var(--shelld4cf1-mono);
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   16. Fixed mobile dock: five semantic roles
   -------------------------------------------------------------------------- */
.shelld4cf1-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 70;
  width: 100%;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom, 0px));
  background: rgba(17, 15, 32, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--shelld4cf1-hairline);
  box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.5);
}

.shelld4cf1-dockitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px 2px;
  border-radius: var(--shelld4cf1-r-tight);
  color: var(--shelld4cf1-text-dim);
  -webkit-tap-highlight-color: transparent;
  transition: color 0.16s var(--shelld4cf1-ease);
}

.shelld4cf1-dockitem span {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.shelld4cf1-dockitem svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.shelld4cf1-dockitem:active {
  color: var(--shelld4cf1-sand);
  box-shadow: inset 0 0 14px rgba(186, 85, 211, 0.18);
}

/* Active page marker: underline bar + tint */
.shelld4cf1-dockitem--on {
  color: var(--shelld4cf1-sand);
}

.shelld4cf1-dockitem--on::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  translate: -50% 0;
  width: 22px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--shelld4cf1-orchid), var(--shelld4cf1-sand));
  box-shadow: 0 2px 8px var(--shelld4cf1-glow);
}

/* Promo roles get the sand accent instead of orchid */
.shelld4cf1-dockitem--promo span {
  color: var(--shelld4cf1-sand);
}

.shelld4cf1-dockitem--promo:active {
  box-shadow: inset 0 0 14px rgba(222, 184, 135, 0.2);
}

/* Duotone icon paints */
.shelld4cf1-ico-base {
  fill: rgba(196, 180, 157, 0.5);
}

.shelld4cf1-ico-accent {
  fill: var(--shelld4cf1-orchid);
}

.shelld4cf1-dockitem--on .shelld4cf1-ico-accent,
.shelld4cf1-dockitem--promo .shelld4cf1-ico-accent {
  fill: var(--shelld4cf1-sand);
}

/* --------------------------------------------------------------------------
   17. Motion preferences and small-screen hardening
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .shelld4cf1-ctrack {
    transition: none;
  }

  .shelld4cf1-livedot {
    animation: none;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}

/* Very narrow phones: tighten type and chrome without dropping columns */
@media (max-width: 340px) {
  .shelld4cf1-wordmark {
    font-size: 17px;
  }

  .shelld4cf1-btn--reg {
    padding: 0 12px;
    font-size: 12.5px;
  }

  .shelld4cf1-btn--log {
    padding: 0 9px;
    font-size: 11.5px;
  }

  .shelld4cf1-sec h2 {
    font-size: 15.5px;
  }

  .shelld4cf1-gname {
    font-size: 9.5px;
    min-height: 25px;
  }

  .shelld4cf1-dockitem span {
    font-size: 9px;
  }
}

/* Landscape-tall safety: keep dock usable when browser chrome hides */
@media (max-height: 420px) {
  .shelld4cf1-main {
    padding-bottom: 84px;
  }
}

/* --------------------------------------------------------------------------
   18. Help-page components: direct answers, Q&A blocks, takeaways, branches
   -------------------------------------------------------------------------- */
.shelld4cf1-answer {
  margin-top: 10px;
  padding: 13px 14px;
  border-radius: var(--shelld4cf1-r-card);
  background:
    linear-gradient(150deg, rgba(222, 184, 135, 0.12), rgba(75, 0, 130, 0.2) 70%),
    var(--shelld4cf1-panel-2);
  border: 1px solid rgba(222, 184, 135, 0.32);
  border-left: 3px solid var(--shelld4cf1-sand);
}

.shelld4cf1-answer b {
  display: inline-block;
  font-family: var(--shelld4cf1-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #241304;
  background: linear-gradient(160deg, #f0cf9d, var(--shelld4cf1-sand));
  border-radius: 5px;
  padding: 2px 8px;
  margin-bottom: 7px;
}

.shelld4cf1-answer p {
  font-size: 12.8px;
  line-height: 1.66;
  color: var(--shelld4cf1-text);
}

.shelld4cf1-answer p + p {
  margin-top: 8px;
}

/* Question-and-answer stack, shown in full without accordion hiding */
.shelld4cf1-faq {
  display: grid;
  gap: 9px;
  margin-top: 8px;
}

.shelld4cf1-faqitem {
  padding: 12px 13px;
  border-radius: var(--shelld4cf1-r-card);
  background: var(--shelld4cf1-panel-2);
  border: 1px solid var(--shelld4cf1-hairline-soft);
  border-left: 3px solid rgba(186, 85, 211, 0.55);
}

.shelld4cf1-faqitem h3 {
  font-size: 13.2px;
  line-height: 1.42;
  font-weight: 700;
  color: var(--shelld4cf1-orchid);
  margin-bottom: 5px;
}

.shelld4cf1-faqitem p {
  font-size: 12.4px;
  line-height: 1.62;
  color: var(--shelld4cf1-text-dim);
}

.shelld4cf1-faqitem p a {
  color: var(--shelld4cf1-sand);
  border-bottom: 1px dashed rgba(222, 184, 135, 0.5);
}

/* Numbered takeaway strip */
.shelld4cf1-takes {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.shelld4cf1-take {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: var(--shelld4cf1-r-card);
  background: rgba(35, 32, 60, 0.5);
  border: 1px solid var(--shelld4cf1-hairline-soft);
}

.shelld4cf1-takemark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-family: var(--shelld4cf1-mono);
  font-size: 11px;
  font-weight: 700;
  color: #ffe9c9;
  background: linear-gradient(160deg, rgba(75, 0, 130, 0.85), rgba(26, 26, 46, 0.9));
  border: 1px solid rgba(186, 85, 211, 0.55);
}

.shelld4cf1-taketext {
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--shelld4cf1-text);
}

/* Conditional branch rows: label the situation, then the move */
.shelld4cf1-branches {
  display: grid;
  gap: 9px;
  margin-top: 8px;
}

.shelld4cf1-branch {
  padding: 11px 13px;
  border-radius: var(--shelld4cf1-r-card);
  background: rgba(75, 0, 130, 0.18);
  border: 1px solid var(--shelld4cf1-hairline-soft);
}

.shelld4cf1-branch b {
  display: block;
  font-family: var(--shelld4cf1-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shelld4cf1-orchid);
  margin-bottom: 4px;
}

.shelld4cf1-branch p {
  font-size: 12.4px;
  line-height: 1.6;
  color: var(--shelld4cf1-text-dim);
}

@media (min-width: 375px) {
  .shelld4cf1-faqitem h3 {
    font-size: 13.8px;
  }

  .shelld4cf1-taketext {
    font-size: 12.9px;
  }

  .shelld4cf1-answer p {
    font-size: 13.2px;
  }
}
