/* ==========================================================================
   dada8 bet - compact-e4dfd3-surface.css
   Mobile-first surface layer for the 320-430px phone canvas.
   Palette: #00FFFF cyan accent | #2E4057 deep slate base
            #4DB6AC teal support  | #FA8072 salmon highlight
   Design tone: geometric headings + neutral body, light card rounding,
   compact buttons, image cards with bottom name bars, question-driven
   rhythm, color-only state changes, short vertical lift on the dock.
   ========================================================================== */

:root {
  --shelle4dfd-cyan: #00FFFF;
  --shelle4dfd-slate: #2E4057;
  --shelle4dfd-teal: #4DB6AC;
  --shelle4dfd-salmon: #FA8072;
  --shelle4dfd-ink: #06121c;
  --shelle4dfd-bg: #18222e;
  --shelle4dfd-panel: #243448;
  --shelle4dfd-panel-2: #2b3d53;
  --shelle4dfd-line: rgba(0, 255, 255, 0.16);
  --shelle4dfd-line-soft: rgba(77, 182, 172, 0.22);
  --shelle4dfd-text: #d9f4ef;
  --shelle4dfd-text-dim: #9db8c4;
  --shelle4dfd-radius: 12px;
  --shelle4dfd-radius-sm: 8px;
  --shelle4dfd-dock-h: 62px;
  --shelle4dfd-font-display: "Avenir Next", "Futura", "Trebuchet MS", "Noto Sans Bengali", "Hind Siliguri", sans-serif;
  --shelle4dfd-font-body: "Noto Sans Bengali", "Hind Siliguri", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

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

body {
  background: var(--shelle4dfd-bg);
  color: var(--shelle4dfd-text);
  font-family: var(--shelle4dfd-font-body);
  font-size: 15px;
  line-height: 1.75;
  min-height: 100dvh;
  overflow-x: hidden;
}

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

a { color: var(--shelle4dfd-cyan); text-decoration: none; }
a:hover { color: #7dffff; }

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

:focus-visible {
  outline: 2px solid var(--shelle4dfd-cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Phone canvas: centered at wide widths, full width on handsets.
   -------------------------------------------------------------------------- */
.shelle4dfd-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
  background: var(--shelle4dfd-slate);
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.06);
}

@media (min-width: 430px) {
  .shelle4dfd-canvas {
    box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.1), 0 18px 60px rgba(0, 0, 0, 0.55);
  }
}

/* --------------------------------------------------------------------------
   Top bar: asymmetric brand header + action row + layered dropdown menu.
   -------------------------------------------------------------------------- */
.shelle4dfd-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, #22303f 0%, #1f2c3a 100%);
  border-bottom: 1px solid var(--shelle4dfd-line);
}

.shelle4dfd-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  padding: 8px 12px 6px;
}

.shelle4dfd-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--shelle4dfd-text);
}

.shelle4dfd-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--shelle4dfd-line-soft);
  background: #0e1822;
  object-fit: cover;
  flex: 0 0 auto;
}

.shelle4dfd-brandname {
  font-family: var(--shelle4dfd-font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--shelle4dfd-cyan);
}

.shelle4dfd-brandname small {
  display: block;
  font-family: var(--shelle4dfd-font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--shelle4dfd-teal);
  text-transform: uppercase;
}

.shelle4dfd-burger {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--shelle4dfd-radius-sm);
  border: 1px solid var(--shelle4dfd-line);
  color: var(--shelle4dfd-cyan);
  background: rgba(0, 255, 255, 0.05);
}

.shelle4dfd-burger svg { width: 22px; height: 22px; }

.shelle4dfd-burger[aria-expanded="true"] {
  background: var(--shelle4dfd-cyan);
  color: var(--shelle4dfd-ink);
  border-color: var(--shelle4dfd-cyan);
}

/* Action row: solid primary + outlined secondary. */
.shelle4dfd-actionrow {
  display: flex;
  gap: 8px;
  padding: 0 12px 10px;
}

.shelle4dfd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--shelle4dfd-radius-sm);
  font-family: var(--shelle4dfd-font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.shelle4dfd-btn-solid {
  flex: 1.35;
  background: var(--shelle4dfd-salmon);
  color: #2a1410;
}

.shelle4dfd-btn-solid:hover,
.shelle4dfd-btn-solid:active {
  background: #ffb0a4;
  color: #2a1410;
}

.shelle4dfd-btn-line {
  flex: 1;
  border: 1.5px solid var(--shelle4dfd-cyan);
  color: var(--shelle4dfd-cyan);
  background: rgba(0, 255, 255, 0.04);
}

.shelle4dfd-btn-line:hover,
.shelle4dfd-btn-line:active {
  background: rgba(0, 255, 255, 0.14);
  color: var(--shelle4dfd-cyan);
}

/* Layered dropdown menu. */
.shelle4dfd-menu {
  border-top: 1px dashed var(--shelle4dfd-line);
  background: #1b2836;
  max-height: calc(100dvh - 112px);
  overflow-y: auto;
  padding: 6px 12px 14px;
}

.shelle4dfd-menu[hidden] { display: none; }

.shelle4dfd-mgroup { border-bottom: 1px solid rgba(77, 182, 172, 0.14); }
.shelle4dfd-mgroup:last-child { border-bottom: 0; }

.shelle4dfd-mhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 10px 2px;
  color: var(--shelle4dfd-teal);
  font-family: var(--shelle4dfd-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shelle4dfd-mhead svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform 0.15s ease;
}

.shelle4dfd-mhead[aria-expanded="true"] svg { transform: rotate(90deg); }
.shelle4dfd-mhead[aria-expanded="true"] { color: var(--shelle4dfd-cyan); }

.shelle4dfd-mlist { list-style: none; padding: 2px 0 10px; }
.shelle4dfd-mlist[hidden] { display: none; }

.shelle4dfd-mlink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 10px;
  border-radius: var(--shelle4dfd-radius-sm);
  color: var(--shelle4dfd-text);
  font-size: 15px;
}

.shelle4dfd-mlink::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shelle4dfd-teal);
  flex: 0 0 auto;
}

.shelle4dfd-mlink:hover,
.shelle4dfd-mlink:active {
  background: rgba(0, 255, 255, 0.1);
  color: var(--shelle4dfd-cyan);
}

.shelle4dfd-mlink[data-state="on"] {
  background: var(--shelle4dfd-cyan);
  color: var(--shelle4dfd-ink);
  font-weight: 700;
}

.shelle4dfd-mlink[data-state="on"]::before { background: var(--shelle4dfd-ink); }

/* --------------------------------------------------------------------------
   Main column.
   -------------------------------------------------------------------------- */
.shelle4dfd-main {
  padding: 0 12px calc(var(--shelle4dfd-dock-h) + 34px + env(safe-area-inset-bottom));
}

/* Hero carousel. */
.shelle4dfd-hero { padding-top: 12px; }

.shelle4dfd-viewport {
  position: relative;
  border-radius: var(--shelle4dfd-radius);
  overflow: hidden;
  border: 1px solid var(--shelle4dfd-line);
  background: #101a24;
  touch-action: pan-y;
}

.shelle4dfd-track {
  display: flex;
  transition: transform 0.35s ease;
}

.shelle4dfd-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  display: block;
  text-align: left;
}

.shelle4dfd-slide img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.shelle4dfd-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(6, 18, 28, 0) 0%, rgba(6, 18, 28, 0.88) 70%);
  color: #eafcff;
  font-family: var(--shelle4dfd-font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.shelle4dfd-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 6px;
}

.shelle4dfd-dot {
  width: 22px;
  height: 10px;
  border-radius: 5px;
  background: rgba(0, 255, 255, 0.28);
}

.shelle4dfd-dot[data-state="on"] { background: var(--shelle4dfd-salmon); }

/* Headline block. */
.shelle4dfd-intro { padding: 18px 2px 4px; }

.shelle4dfd-h1 {
  font-family: var(--shelle4dfd-font-display);
  font-size: 21px;
  line-height: 1.4;
  font-weight: 800;
  color: #eafcff;
  padding-left: 12px;
  border-left: 4px solid var(--shelle4dfd-salmon);
}

.shelle4dfd-lead { margin-top: 10px; color: var(--shelle4dfd-text-dim); }
.shelle4dfd-lead + .shelle4dfd-lead { margin-top: 8px; }
.shelle4dfd-lead strong { color: var(--shelle4dfd-text); font-weight: 700; }

/* Quick decision strip. */
.shelle4dfd-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0 4px;
}

.shelle4dfd-qcard {
  background: var(--shelle4dfd-panel);
  border: 1px solid var(--shelle4dfd-line-soft);
  border-radius: var(--shelle4dfd-radius);
  padding: 10px;
}

.shelle4dfd-qcard h3 {
  font-family: var(--shelle4dfd-font-display);
  font-size: 13px;
  color: var(--shelle4dfd-cyan);
  letter-spacing: 0.03em;
}

.shelle4dfd-qcard p { font-size: 12.5px; line-height: 1.6; color: var(--shelle4dfd-text-dim); margin: 4px 0 8px; }

.shelle4dfd-qcard .shelle4dfd-btn { width: 100%; font-size: 13px; min-height: 40px; padding: 8px 6px; }

/* Generic section shell. */
.shelle4dfd-sec { padding-top: 22px; }

.shelle4dfd-h2 {
  font-family: var(--shelle4dfd-font-display);
  font-size: 17.5px;
  line-height: 1.5;
  font-weight: 800;
  color: #eafcff;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--shelle4dfd-line);
}

.shelle4dfd-h2 em {
  font-style: normal;
  color: var(--shelle4dfd-salmon);
}

.shelle4dfd-note {
  margin: 8px 0 12px;
  font-size: 14px;
  color: var(--shelle4dfd-text-dim);
}

.shelle4dfd-note strong { color: var(--shelle4dfd-text); }
.shelle4dfd-note a { border-bottom: 1px dashed rgba(0, 255, 255, 0.45); }

/* Category highlight rows. */
.shelle4dfd-hl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

.shelle4dfd-hlrow {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--shelle4dfd-panel);
  border: 1px solid var(--shelle4dfd-line-soft);
  border-left: 4px solid var(--shelle4dfd-teal);
  border-radius: var(--shelle4dfd-radius-sm);
  padding: 9px 10px;
}

.shelle4dfd-hlrow h3 {
  font-family: var(--shelle4dfd-font-display);
  font-size: 14px;
  color: var(--shelle4dfd-cyan);
}

.shelle4dfd-hlrow p { font-size: 12.5px; line-height: 1.6; color: var(--shelle4dfd-text-dim); margin-top: 2px; }

.shelle4dfd-hlrow.is-hot { border-left-color: var(--shelle4dfd-salmon); }

/* Game grid: 4 columns from 320px, up to 5 near 430px. */
.shelle4dfd-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 400px) {
  .shelle4dfd-grid { gap: 10px; }
}

@media (min-width: 414px) {
  .shelle4dfd-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.shelle4dfd-gcard {
  display: flex;
  flex-direction: column;
  background: var(--shelle4dfd-panel);
  border: 1px solid var(--shelle4dfd-line-soft);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.shelle4dfd-gcard:hover,
.shelle4dfd-gcard:active {
  border-color: var(--shelle4dfd-cyan);
  background: var(--shelle4dfd-panel-2);
}

.shelle4dfd-gthumb {
  display: block;
  padding: 6px 6px 0;
}

.shelle4dfd-gthumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  background: #101a24;
}

.shelle4dfd-gname {
  display: block;
  padding: 5px 4px 7px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--shelle4dfd-text);
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* "Read more" chip after a grid. */
.shelle4dfd-more {
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--shelle4dfd-text-dim);
}

.shelle4dfd-more a,
.shelle4dfd-more button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--shelle4dfd-line);
  background: rgba(0, 255, 255, 0.05);
  color: var(--shelle4dfd-cyan);
  font-size: 12.5px;
}

/* CTA block. */
.shelle4dfd-cta {
  margin-top: 22px;
  background: linear-gradient(160deg, #243448 0%, #1d2b3c 100%);
  border: 1px solid var(--shelle4dfd-line);
  border-radius: var(--shelle4dfd-radius);
  padding: 14px;
}

.shelle4dfd-ctapair {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.shelle4dfd-ctapair .shelle4dfd-btn { flex: 1; }

/* App module. */
.shelle4dfd-app { margin-top: 8px; }

.shelle4dfd-appbanner {
  display: block;
  width: 100%;
  margin-top: 12px;
  border-radius: var(--shelle4dfd-radius);
  overflow: hidden;
  border: 1px solid var(--shelle4dfd-line-soft);
  position: relative;
  text-align: left;
}

.shelle4dfd-appbanner img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.shelle4dfd-appbanner span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 12px 8px;
  background: linear-gradient(180deg, rgba(6, 18, 28, 0) 0%, rgba(6, 18, 28, 0.9) 75%);
  color: #eafcff;
  font-family: var(--shelle4dfd-font-display);
  font-size: 13.5px;
  font-weight: 700;
}

/* Testimonials. */
.shelle4dfd-quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

.shelle4dfd-quote {
  background: var(--shelle4dfd-panel);
  border: 1px solid var(--shelle4dfd-line-soft);
  border-radius: var(--shelle4dfd-radius);
  padding: 10px 12px;
}

.shelle4dfd-quote p { font-size: 13.5px; line-height: 1.7; color: var(--shelle4dfd-text); }

.shelle4dfd-quote footer {
  margin-top: 6px;
  font-size: 12px;
  color: var(--shelle4dfd-teal);
  font-weight: 700;
}

/* Requirements checklist. */
.shelle4dfd-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

.shelle4dfd-checkitem {
  position: relative;
  padding: 9px 10px 9px 36px;
  background: var(--shelle4dfd-panel);
  border: 1px solid var(--shelle4dfd-line-soft);
  border-radius: var(--shelle4dfd-radius-sm);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--shelle4dfd-text-dim);
}

.shelle4dfd-checkitem::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    linear-gradient(var(--shelle4dfd-panel), var(--shelle4dfd-panel)) padding-box,
    var(--shelle4dfd-teal);
  border: 3px solid transparent;
  box-shadow: inset 0 0 0 5px var(--shelle4dfd-teal);
}

.shelle4dfd-checkitem strong { color: var(--shelle4dfd-text); }

/* Q&A block. */
.shelle4dfd-qa {
  margin-top: 12px;
  border: 1px solid var(--shelle4dfd-line);
  border-radius: var(--shelle4dfd-radius);
  background: #20303f;
  padding: 4px 12px 10px;
}

.shelle4dfd-qaitem { padding: 10px 0; border-bottom: 1px dashed rgba(77, 182, 172, 0.2); }
.shelle4dfd-qaitem:last-child { border-bottom: 0; }

.shelle4dfd-q {
  font-family: var(--shelle4dfd-font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--shelle4dfd-cyan);
}

.shelle4dfd-qaitem p { margin-top: 4px; font-size: 13.5px; color: var(--shelle4dfd-text-dim); }

/* --------------------------------------------------------------------------
   Extended footer: promo shortcuts > brand > directory > disclaimer.
   -------------------------------------------------------------------------- */
.shelle4dfd-xt {
  margin: 26px 0 0;
  border-top: 2px solid var(--shelle4dfd-line);
  padding: 16px 0 4px;
}

.shelle4dfd-xttiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.shelle4dfd-xttile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 62px;
  padding: 8px 4px;
  border-radius: var(--shelle4dfd-radius-sm);
  border: 1px solid var(--shelle4dfd-line);
  background: rgba(0, 255, 255, 0.05);
  color: var(--shelle4dfd-cyan);
  font-family: var(--shelle4dfd-font-display);
  font-size: 12px;
  font-weight: 700;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.shelle4dfd-xttile:hover,
.shelle4dfd-xttile:active {
  background: rgba(250, 128, 114, 0.16);
  border-color: var(--shelle4dfd-salmon);
}

.shelle4dfd-xttile svg { width: 20px; height: 20px; }

.shelle4dfd-xtbrand { margin-top: 16px; }

.shelle4dfd-xt h3 {
  font-family: var(--shelle4dfd-font-display);
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--shelle4dfd-teal);
}

.shelle4dfd-xtbrand p {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--shelle4dfd-text-dim);
}

.shelle4dfd-xtdir { margin-top: 14px; }

.shelle4dfd-xtgroup { margin-top: 10px; }

.shelle4dfd-xtgroup h4 {
  font-family: var(--shelle4dfd-font-display);
  font-size: 12.5px;
  color: var(--shelle4dfd-cyan);
  letter-spacing: 0.06em;
}

.shelle4dfd-xtlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
}

.shelle4dfd-xtlinks a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--shelle4dfd-line-soft);
  background: var(--shelle4dfd-panel);
  color: var(--shelle4dfd-text);
  font-size: 12.5px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.shelle4dfd-xtlinks a:hover,
.shelle4dfd-xtlinks a:active {
  background: var(--shelle4dfd-cyan);
  color: var(--shelle4dfd-ink);
}

.shelle4dfd-xtlegal {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: var(--shelle4dfd-radius-sm);
  border: 1px dashed rgba(250, 128, 114, 0.5);
  background: rgba(250, 128, 114, 0.07);
  font-size: 12.5px;
  line-height: 1.7;
  color: #e9c7c0;
}

/* Universal footer strip. */
.shelle4dfd-universal {
  margin-top: 18px;
  padding: 12px 0 8px;
  border-top: 1px solid var(--shelle4dfd-line);
  text-align: center;
}

.shelle4dfd-copy {
  font-size: 12.5px;
  color: var(--shelle4dfd-text-dim);
}

.shelle4dfd-copy strong { color: var(--shelle4dfd-teal); font-weight: 700; }

/* --------------------------------------------------------------------------
   Floating dock: five roles, monochrome icons, inverted active state,
   short vertical lift as the only transform micro-interaction.
   -------------------------------------------------------------------------- */
.shelle4dfd-dock {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(430px, 100%);
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  min-height: calc(var(--shelle4dfd-dock-h) + env(safe-area-inset-bottom));
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: rgba(16, 26, 36, 0.96);
  border-top: 1px solid var(--shelle4dfd-line);
  backdrop-filter: blur(6px);
}

.shelle4dfd-dockitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  border-radius: var(--shelle4dfd-radius-sm);
  color: var(--shelle4dfd-text-dim);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.shelle4dfd-dockitem svg { width: 22px; height: 22px; }

.shelle4dfd-dockitem:hover,
.shelle4dfd-dockitem:active {
  color: var(--shelle4dfd-cyan);
  transform: translateY(-2px);
}

.shelle4dfd-dockitem.shelle4dfd-on {
  background: var(--shelle4dfd-cyan);
  color: var(--shelle4dfd-ink);
  transform: translateY(-2px);
}

.shelle4dfd-dockitem.shelle4dfd-on svg { stroke: var(--shelle4dfd-ink); }

/* Reduced motion preference. */
@media (prefers-reduced-motion: reduce) {
  .shelle4dfd-track { transition: none; }
  .shelle4dfd-dockitem,
  .shelle4dfd-dockitem:hover,
  .shelle4dfd-dockitem:active,
  .shelle4dfd-dockitem.shelle4dfd-on { transform: none; }
  * { transition: none !important; }
}

/* Small screens below the 320px floor keep readable columns. */
@media (max-width: 330px) {
  .shelle4dfd-brandname { font-size: 17px; }
  .shelle4dfd-btn { font-size: 14px; }
  .shelle4dfd-gname { font-size: 11px; }
}

/* Help page patterns: two intentionally different reading rhythms. */
.shelle4dfd-helpintro {
  padding: 20px 2px 4px;
  border-bottom: 1px solid var(--shelle4dfd-line);
}
.shelle4dfd-helpintro .shelle4dfd-h1 { margin-bottom: 10px; }
.shelle4dfd-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(77, 182, 172, 0.16);
  color: var(--shelle4dfd-teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.shelle4dfd-prose p { margin-top: 10px; color: var(--shelle4dfd-text-dim); }
.shelle4dfd-prose strong { color: var(--shelle4dfd-text); }
.shelle4dfd-route {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  list-style: none;
  counter-reset: routee4dfd-step;
}
.shelle4dfd-route li {
  counter-increment: routee4dfd-step;
  position: relative;
  padding: 12px 12px 12px 48px;
  border: 1px solid var(--shelle4dfd-line-soft);
  border-radius: var(--shelle4dfd-radius-sm);
  background: linear-gradient(105deg, rgba(36,52,72,.98), rgba(29,43,60,.92));
}
.shelle4dfd-route li::before {
  content: counter(routee4dfd-step, decimal-leading-zero);
  position: absolute;
  left: 11px;
  top: 12px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--shelle4dfd-cyan);
  color: var(--shelle4dfd-ink);
  font-family: var(--shelle4dfd-font-display);
  font-weight: 800;
  font-size: 11px;
}
.shelle4dfd-route h3, .shelle4dfd-branch h3, .shelle4dfd-signal h3 {
  color: var(--shelle4dfd-cyan);
  font-family: var(--shelle4dfd-font-display);
  font-size: 14px;
  line-height: 1.4;
}
.shelle4dfd-route p, .shelle4dfd-branch p, .shelle4dfd-signal p { margin-top: 4px; color: var(--shelle4dfd-text-dim); font-size: 13.5px; }
.shelle4dfd-promo-line { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.shelle4dfd-promo-line .shelle4dfd-btn { min-height: 42px; }
.shelle4dfd-mistakes { margin-top: 12px; display: grid; gap: 8px; }
.shelle4dfd-mistake {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  padding: 10px;
  border-left: 3px solid var(--shelle4dfd-salmon);
  background: rgba(250,128,114,.07);
  border-radius: 0 var(--shelle4dfd-radius-sm) var(--shelle4dfd-radius-sm) 0;
}
.shelle4dfd-mistake b { color: var(--shelle4dfd-salmon); font-size: 12px; }
.shelle4dfd-mistake p { color: var(--shelle4dfd-text-dim); font-size: 13px; }
.shelle4dfd-branches { display: grid; gap: 9px; margin-top: 12px; }
.shelle4dfd-branch { padding: 11px; border: 1px solid var(--shelle4dfd-line); border-radius: var(--shelle4dfd-radius); background: var(--shelle4dfd-panel); }
.shelle4dfd-branch[data-tone="warm"] { border-color: rgba(250,128,114,.48); }
.shelle4dfd-choice {
  margin-top: 12px;
  border: 1px solid var(--shelle4dfd-line-soft);
  border-radius: var(--shelle4dfd-radius);
  overflow: hidden;
}
.shelle4dfd-choice-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 10px; padding: 10px; border-bottom: 1px solid rgba(77,182,172,.16); }
.shelle4dfd-choice-row:last-child { border-bottom: 0; }
.shelle4dfd-choice-row strong { color: var(--shelle4dfd-cyan); font-size: 13px; }
.shelle4dfd-choice-row span { color: var(--shelle4dfd-text-dim); font-size: 12.5px; }
.shelle4dfd-qa details { padding: 10px 0; border-bottom: 1px dashed rgba(77,182,172,.2); }
.shelle4dfd-qa details:last-child { border-bottom: 0; }
.shelle4dfd-qa summary { cursor: pointer; color: var(--shelle4dfd-cyan); font-weight: 700; min-height: 30px; }
.shelle4dfd-qa details p { margin-top: 5px; color: var(--shelle4dfd-text-dim); font-size: 13.5px; }

/* Withdrawal page uses a ledger-like layout instead of the step route above. */
.shelle4dfd-ledger {
  margin-top: 12px;
  border: 1px solid var(--shelle4dfd-line);
  border-radius: var(--shelle4dfd-radius);
  background: #1f3040;
  overflow: hidden;
}
.shelle4dfd-ledger-row { display: grid; grid-template-columns: 34% 66%; gap: 8px; padding: 11px; border-bottom: 1px solid rgba(0,255,255,.12); }
.shelle4dfd-ledger-row:last-child { border-bottom: 0; }
.shelle4dfd-ledger-row dt { color: var(--shelle4dfd-teal); font-weight: 700; font-size: 12.5px; }
.shelle4dfd-ledger-row dd { color: var(--shelle4dfd-text-dim); font-size: 13px; }
.shelle4dfd-signals { display: grid; gap: 8px; margin-top: 12px; }
.shelle4dfd-signal { padding: 11px 12px; border-radius: var(--shelle4dfd-radius-sm); background: var(--shelle4dfd-panel); border: 1px solid var(--shelle4dfd-line-soft); }
.shelle4dfd-signal::before { content: "•"; float: right; color: var(--shelle4dfd-salmon); font-size: 22px; line-height: 1; }
.shelle4dfd-usecases { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.shelle4dfd-usecase { padding: 10px; border-top: 3px solid var(--shelle4dfd-teal); background: var(--shelle4dfd-panel); border-radius: 0 0 var(--shelle4dfd-radius-sm) var(--shelle4dfd-radius-sm); }
.shelle4dfd-usecase:nth-child(2n) { border-top-color: var(--shelle4dfd-salmon); }
.shelle4dfd-usecase h3 { color: var(--shelle4dfd-text); font-size: 13px; line-height: 1.4; }
.shelle4dfd-usecase p { margin-top: 5px; color: var(--shelle4dfd-text-dim); font-size: 12.5px; line-height: 1.6; }
.shelle4dfd-summarybar { margin-top: 12px; padding: 12px; border-radius: var(--shelle4dfd-radius); background: linear-gradient(135deg, rgba(0,255,255,.12), rgba(250,128,114,.11)); border: 1px solid var(--shelle4dfd-line); }
.shelle4dfd-summarybar ol { margin: 7px 0 0 20px; color: var(--shelle4dfd-text-dim); font-size: 13.5px; }
.shelle4dfd-summarybar li + li { margin-top: 5px; }
@media (max-width: 350px) {
  .shelle4dfd-usecases { grid-template-columns: 1fr; }
  .shelle4dfd-choice-row { grid-template-columns: 1fr; gap: 3px; }
}
