/* ============================================================
   Casino Plus Apps - adaptive-3de2b9-surface.css
   Mobile-first surface skin for a 320-430px phone canvas.
   Palette: #FF8C00 orange / #00E5FF cyan / #E5E5E5 mist /
            #FFCCBL rose / #BDB76B khaki / #0E1621 deep navy
   All classes and variables carry the shellde2b9- prefix.
   ============================================================ */

:root {
  --shellde2b9-deep: #0e1621;
  --shellde2b9-deep2: #121c2a;
  --shellde2b9-panel: #172435;
  --shellde2b9-panel2: #1c2c40;
  --shellde2b9-line: #24354d;
  --shellde2b9-orange: #ff8c00;
  --shellde2b9-orange2: #ffa733;
  --shellde2b9-cyan: #00e5ff;
  --shellde2b9-mist: #e5e5e5;
  --shellde2b9-rose: #ffcccb;
  --shellde2b9-khaki: #bdb76b;
  --shellde2b9-dim: #9fb0c3;
  --shellde2b9-top-h: 56px;
  --shellde2b9-tabs-h: 44px;
  --shellde2b9-bnav-h: 62px;
  --shellde2b9-font-head: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --shellde2b9-font-body: system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --shellde2b9-r-lg: 20px;
  --shellde2b9-r-md: 14px;
  --shellde2b9-r-sm: 9px;
}

/* ---------- base ---------- */

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #0a1019;
  color: var(--shellde2b9-mist);
  font-family: var(--shellde2b9-font-body);
  font-size: 15px;
  line-height: 1.62;
  min-height: 100vh;
}

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

button {
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 229, 255, 0.18);
}

a { color: var(--shellde2b9-cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--shellde2b9-font-head);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

h1 { font-size: 24px; font-weight: 800; }
h2 { font-size: 19px; font-weight: 700; color: #ffffff; }
h3 { font-size: 15.5px; font-weight: 700; color: #f4f6f9; }

p { margin: 0 0 12px; }

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

::selection { background: rgba(0, 229, 255, 0.32); color: #ffffff; }

/* ---------- phone canvas ---------- */

.shellde2b9-page {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  background:
    radial-gradient(120% 46% at 50% 0%, #14213a 0%, var(--shellde2b9-deep) 58%),
    var(--shellde2b9-deep);
  min-height: 100vh;
  overflow-x: clip;
}

@media (min-width: 481px) {
  .shellde2b9-page {
    box-shadow: 0 0 0 1px #1d2b40, 0 0 60px rgba(0, 0, 0, 0.55);
  }
}

.shellde2b9-main {
  padding: calc(var(--shellde2b9-top-h) + var(--shellde2b9-tabs-h) + 14px) 14px
    calc(var(--shellde2b9-bnav-h) + 26px);
}

/* ---------- top bar (tab style) ---------- */

.shellde2b9-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 480px);
  height: var(--shellde2b9-top-h);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  background: rgba(14, 22, 33, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--shellde2b9-line);
}

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

.shellde2b9-logo {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid #2c415c;
  box-shadow: 0 2px 10px rgba(255, 140, 0, 0.25);
  flex: none;
}

.shellde2b9-brandname {
  font-family: var(--shellde2b9-font-head);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.01em;
  color: #ffffff;
  white-space: nowrap;
}

.shellde2b9-topacts {
  display: flex;
  align-items: center;
  gap: 6px;
}

.shellde2b9-btn-register,
.shellde2b9-btn-login {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid transparent;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.shellde2b9-btn-register {
  background: linear-gradient(135deg, var(--shellde2b9-orange), #ff6a00);
  color: #1c0f00;
  box-shadow: 0 4px 14px rgba(255, 140, 0, 0.35);
}

.shellde2b9-btn-login {
  background: transparent;
  color: var(--shellde2b9-cyan);
  border-color: rgba(0, 229, 255, 0.55);
}

.shellde2b9-btn-register:active,
.shellde2b9-btn-login:active { transform: scale(0.94); }

.shellde2b9-menubtn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--shellde2b9-panel);
  border: 1px solid var(--shellde2b9-line);
  border-radius: 12px;
  color: var(--shellde2b9-mist);
  transition: transform 0.12s ease;
}

.shellde2b9-menubtn:active { transform: scale(0.92); }

.shellde2b9-menubtn svg { width: 20px; height: 20px; }

/* ---------- category tab strip with sliding indicator ---------- */

.shellde2b9-cattabs {
  position: fixed;
  top: var(--shellde2b9-top-h);
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 480px);
  height: var(--shellde2b9-tabs-h);
  z-index: 59;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(16, 25, 38, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1b2939;
}

.shellde2b9-cattabs::-webkit-scrollbar { display: none; }

.shellde2b9-cattabs a {
  position: relative;
  z-index: 1;
  flex: none;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--shellde2b9-dim);
  white-space: nowrap;
  transition: color 0.18s ease;
}

.shellde2b9-cattabs a.is-on {
  color: #0d1520; /* contrast inversion for the active tab */
  font-weight: 800;
}

.shellde2b9-cat-ind {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 0;
  width: 64px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--shellde2b9-cyan), #7af3ff);
  box-shadow: 0 2px 10px rgba(0, 229, 255, 0.35);
  transition: transform 0.28s cubic-bezier(0.22, 0.9, 0.3, 1.15), width 0.28s ease;
  will-change: transform, width;
}

/* ---------- hero ---------- */

.shellde2b9-hero {
  padding: 6px 2px 4px;
}

.shellde2b9-hero h1 {
  background: linear-gradient(100deg, #ffffff 30%, var(--shellde2b9-orange2) 75%, var(--shellde2b9-khaki));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shellde2b9-hero-sub {
  color: var(--shellde2b9-dim);
  font-size: 14px;
  margin: 0 0 14px;
}

/* staggered primary / secondary CTA sizes */

.shellde2b9-ctarow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.shellde2b9-cta-main {
  min-height: 50px;
  padding: 0 26px;
  font-size: 15.5px;
  font-weight: 800;
  color: #1c0f00;
  background: linear-gradient(135deg, var(--shellde2b9-orange2), #ff6a00);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 6px 22px rgba(255, 140, 0, 0.42);
  transition: transform 0.12s ease;
}

.shellde2b9-cta-main:active { transform: scale(0.95); }

.shellde2b9-cta-alt {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--shellde2b9-cyan);
  border: 1px solid rgba(0, 229, 255, 0.5);
  border-radius: 11px;
  background: rgba(0, 229, 255, 0.06);
}

.shellde2b9-cta-alt:active { transform: scale(0.95); }

/* ---------- promo carousel ---------- */

.shellde2b9-stage {
  position: relative;
  margin: 12px 0 4px;
}

.shellde2b9-stage-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--shellde2b9-r-lg);
}

.shellde2b9-stage-track::-webkit-scrollbar { display: none; }

.shellde2b9-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  border-radius: var(--shellde2b9-r-lg);
  overflow: hidden;
}

.shellde2b9-slide img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--shellde2b9-r-lg);
  border: 1px solid #23364f;
}

.shellde2b9-slide-cap {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(10, 16, 25, 0.88), rgba(10, 16, 25, 0.55));
  border: 1px solid rgba(0, 229, 255, 0.22);
}

.shellde2b9-slide-cap strong {
  font-family: var(--shellde2b9-font-head);
  font-size: 13px;
  color: #ffffff;
}

.shellde2b9-slide-cap span {
  font-size: 11px;
  font-weight: 800;
  color: #1c0f00;
  background: var(--shellde2b9-orange);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.shellde2b9-stage-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 9px;
}

.shellde2b9-dot {
  width: 22px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #26394f;
  transition: background 0.2s ease, width 0.2s ease;
}

.shellde2b9-dot.is-on {
  width: 30px;
  background: var(--shellde2b9-orange);
}

/* ---------- quick-fact chips ---------- */

.shellde2b9-facts {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 0 6px;
  margin: 0 0 12px;
  list-style: none;
  scrollbar-width: none;
}

.shellde2b9-facts::-webkit-scrollbar { display: none; }

.shellde2b9-facts li {
  flex: none;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--shellde2b9-cyan);
  background: rgba(0, 229, 255, 0.07);
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: var(--shellde2b9-r-sm);
  padding: 5px 11px;
  white-space: nowrap;
}

/* ---------- generic section shell ---------- */

.shellde2b9-sec {
  margin: 22px 0 0;
  padding: 16px 14px;
  background: linear-gradient(178deg, var(--shellde2b9-panel) 0%, #131f30 100%);
  border: 1px solid var(--shellde2b9-line);
  border-radius: var(--shellde2b9-r-lg);
}

.shellde2b9-sec > h2 { margin-bottom: 8px; }

.shellde2b9-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 10px;
}

.shellde2b9-strip span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--shellde2b9-khaki);
  background: rgba(189, 183, 107, 0.1);
  border: 1px solid rgba(189, 183, 107, 0.34);
  border-radius: var(--shellde2b9-r-sm);
  padding: 3px 9px;
}

.shellde2b9-sec p { color: #c9d3de; font-size: 14px; }

.shellde2b9-sec :is(h2, p) a {
  color: var(--shellde2b9-cyan);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(0, 229, 255, 0.45);
  text-underline-offset: 3px;
}

/* section anchor offset for the fixed header + tab strip */

.shellde2b9-anchor { scroll-margin-top: calc(var(--shellde2b9-top-h) + var(--shellde2b9-tabs-h) + 12px); }

/* ---------- game grids ---------- */

.shellde2b9-gtiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 8px;
  margin: 12px 0 4px;
}

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

.shellde2b9-gtile {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #243751;
  border-radius: var(--shellde2b9-r-md);
  background: #101a29;
  overflow: hidden;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.shellde2b9-gtile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0b1320;
}

.shellde2b9-gtile figcaption,
.shellde2b9-gtile-name {
  display: block;
  padding: 5px 6px 6px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--shellde2b9-mist);
  text-align: center;
  background: linear-gradient(180deg, #16222f, #101a29);
  border-top: 1px solid #1e2f45;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.shellde2b9-gtile:active {
  transform: scale(0.95);
  border-color: var(--shellde2b9-orange);
}

/* horizontal icon + name bars */

.shellde2b9-gbars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin: 12px 0 4px;
}

.shellde2b9-gbar {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  padding: 7px 9px;
  text-align: left;
  background: #101a29;
  border: 1px solid #243751;
  border-radius: var(--shellde2b9-r-md);
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.shellde2b9-gbar img {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 10px;
  object-fit: cover;
  background: #0b1320;
  border: 1px solid #1e2f45;
}

.shellde2b9-gbar-name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--shellde2b9-mist);
  overflow-wrap: anywhere;
}

.shellde2b9-gbar:active {
  transform: scale(0.97);
  border-color: var(--shellde2b9-cyan);
}

/* related-page row under a shelf */

.shellde2b9-rel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.shellde2b9-rel a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--shellde2b9-khaki);
  background: rgba(189, 183, 107, 0.08);
  border: 1px dashed rgba(189, 183, 107, 0.45);
  border-radius: 999px;
}

.shellde2b9-rel a::before { content: "↗"; color: var(--shellde2b9-cyan); font-size: 12px; }

/* Guide and about pages use compact reading components. */
.shellde2b9-compare,
.shellde2b9-scenarios,
.shellde2b9-condition-grid,
.shellde2b9-device-map {
  display: grid;
  gap: 9px;
  margin: 12px 0 4px;
}

.shellde2b9-compare article,
.shellde2b9-scenarios article,
.shellde2b9-condition-grid article,
.shellde2b9-device-map article {
  padding: 12px;
  border: 1px solid #2a3e58;
  border-radius: var(--shellde2b9-r-md);
  background: rgba(0, 229, 255, 0.045);
}

.shellde2b9-compare h3,
.shellde2b9-scenarios h3,
.shellde2b9-condition-grid h3,
.shellde2b9-device-map h3 { margin-bottom: 5px; }

.shellde2b9-compare p,
.shellde2b9-scenarios p,
.shellde2b9-condition-grid p,
.shellde2b9-device-map p { margin-bottom: 8px; }

.shellde2b9-checklist,
.shellde2b9-pros-limits ul {
  margin: 12px 0 4px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.shellde2b9-checklist li,
.shellde2b9-pros-limits li {
  padding: 10px 12px 10px 34px;
  position: relative;
  color: #c9d3de;
  font-size: 13.5px;
  border-left: 2px solid var(--shellde2b9-orange);
  background: rgba(255, 140, 0, 0.055);
  border-radius: 0 var(--shellde2b9-r-sm) var(--shellde2b9-r-sm) 0;
}

.shellde2b9-checklist li::before,
.shellde2b9-pros-limits li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  color: var(--shellde2b9-cyan);
  font-weight: 800;
}

.shellde2b9-kicker {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--shellde2b9-khaki);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.shellde2b9-support-sheet {
  margin: 12px 0 10px;
  border-top: 1px solid var(--shellde2b9-line);
}

.shellde2b9-support-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--shellde2b9-line);
}

.shellde2b9-support-row b { color: var(--shellde2b9-orange2); }
.shellde2b9-support-row span { color: #c9d3de; font-size: 13px; }

.shellde2b9-payment-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 14px 0;
}

.shellde2b9-payment-flow div {
  display: grid;
  grid-template-columns: 27px 1fr;
  align-items: center;
  column-gap: 7px;
  padding: 9px;
  background: #101a29;
  border: 1px solid #2a3e58;
  border-radius: var(--shellde2b9-r-sm);
}

.shellde2b9-payment-flow span {
  grid-row: span 2;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #0b1520;
  font-weight: 800;
  background: var(--shellde2b9-cyan);
}

.shellde2b9-payment-flow strong { color: #fff; font-size: 12px; }
.shellde2b9-payment-flow small { color: var(--shellde2b9-dim); font-size: 11px; line-height: 1.35; }

.shellde2b9-pros-limits { display: grid; gap: 10px; margin-top: 12px; }
.shellde2b9-pros-limits article { padding: 13px; border-radius: var(--shellde2b9-r-md); border: 1px solid var(--shellde2b9-line); }
.shellde2b9-pros { background: rgba(0, 229, 255, .055); }
.shellde2b9-limits { background: rgba(255, 204, 203, .055); }
.shellde2b9-pros-limits ul { margin-bottom: 12px; }
.shellde2b9-pros-limits li { padding-top: 7px; padding-bottom: 7px; background: transparent; border-left: 0; }

@media (min-width: 375px) {
  .shellde2b9-condition-grid,
  .shellde2b9-device-map { grid-template-columns: repeat(2, 1fr); }
  .shellde2b9-pros-limits { grid-template-columns: repeat(2, 1fr); }
}


/* ---------- mid-page CTA banner ---------- */

.shellde2b9-push {
  margin: 22px 0 0;
  padding: 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 140, 0, 0.4);
  background:
    radial-gradient(130% 90% at 88% 8%, rgba(255, 140, 0, 0.3), transparent 52%),
    linear-gradient(150deg, #1d2440, #131b2c);
}

.shellde2b9-push p { color: #d7dde5; font-size: 13.5px; }

/* ---------- how-to steps ---------- */

.shellde2b9-steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  counter-reset: shellde2b9step;
}

.shellde2b9-steps li {
  counter-increment: shellde2b9step;
  position: relative;
  padding: 0 0 16px 46px;
}

.shellde2b9-steps li::before {
  content: counter(shellde2b9step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-family: var(--shellde2b9-font-head);
  font-weight: 800;
  font-size: 14px;
  color: #141a10;
  background: linear-gradient(140deg, #d8d28c, var(--shellde2b9-khaki));
  border-radius: 10px;
}

.shellde2b9-steps li::after {
  content: "";
  position: absolute;
  left: 15.5px;
  top: 36px;
  bottom: 2px;
  width: 1px;
  background: linear-gradient(180deg, rgba(189, 183, 107, 0.5), rgba(189, 183, 107, 0.06));
}

.shellde2b9-steps li:last-child { padding-bottom: 2px; }
.shellde2b9-steps li:last-child::after { display: none; }

.shellde2b9-steps strong {
  display: block;
  font-family: var(--shellde2b9-font-head);
  font-size: 14.5px;
  color: #ffffff;
  margin-bottom: 3px;
}

.shellde2b9-steps p { margin: 0; font-size: 13.5px; color: #c3cedb; }

/* ---------- entity map rows ---------- */

.shellde2b9-chain {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.shellde2b9-chain li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.16);
  border-radius: var(--shellde2b9-r-md);
}

.shellde2b9-chain b {
  color: var(--shellde2b9-cyan);
  font-size: 15px;
  line-height: 1.5;
}

.shellde2b9-chain span { font-size: 13px; color: #c3cedb; }

/* ---------- FAQ ---------- */

.shellde2b9-faq { margin: 12px 0 0; border-top: 1px solid var(--shellde2b9-line); }

.shellde2b9-faq details {
  border-bottom: 1px solid var(--shellde2b9-line);
}

.shellde2b9-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 2px;
  min-height: 44px;
  font-family: var(--shellde2b9-font-head);
  font-weight: 700;
  font-size: 14px;
  color: #f2f5f8;
}

.shellde2b9-faq summary::-webkit-details-marker { display: none; }

.shellde2b9-faq summary::after {
  content: "+";
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--shellde2b9-orange);
  border: 1px solid rgba(255, 140, 0, 0.45);
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.shellde2b9-faq details[open] summary::after { transform: rotate(45deg); }

.shellde2b9-faq p {
  margin: 0;
  padding: 0 2px 14px;
  font-size: 13.5px;
  color: #c3cedb;
}

/* ---------- extended site footer ---------- */

.shellde2b9-xfoot {
  margin: 26px 0 0;
  padding: 18px 14px 16px;
  background: #101a29;
  border: 1px solid var(--shellde2b9-line);
  border-radius: var(--shellde2b9-r-lg);
}

.shellde2b9-dir {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.shellde2b9-dir a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 6px 10px;
  background: var(--shellde2b9-deep2);
  border: 1px solid var(--shellde2b9-line);
  border-radius: var(--shellde2b9-r-md);
  color: var(--shellde2b9-mist);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
}

.shellde2b9-dir a:hover { text-decoration: none; border-color: rgba(0, 229, 255, 0.5); }

.shellde2b9-dir svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--shellde2b9-cyan);
}

.shellde2b9-xfoot-brand {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px dashed #26394f;
  font-size: 12.5px;
  color: #aab7c6;
}

.shellde2b9-xfoot-brand strong { color: #ffffff; }

.shellde2b9-promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 14px 0 0;
}

.shellde2b9-promos button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 11px;
  text-align: left;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffd9ae;
  background: linear-gradient(140deg, rgba(255, 140, 0, 0.16), rgba(255, 140, 0, 0.05));
  border: 1px solid rgba(255, 140, 0, 0.45);
  border-radius: var(--shellde2b9-r-md);
  transition: transform 0.12s ease;
}

.shellde2b9-promos button svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--shellde2b9-orange2);
}

.shellde2b9-promos button:active { transform: scale(0.95); }

.shellde2b9-note {
  margin: 14px 0 0;
  padding: 10px 12px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--shellde2b9-rose);
  background: rgba(255, 204, 203, 0.06);
  border: 1px solid rgba(255, 204, 203, 0.28);
  border-radius: var(--shellde2b9-r-sm);
}

/* ---------- generic footer bar ---------- */

.shellde2b9-foot {
  padding: 18px 14px calc(var(--shellde2b9-bnav-h) + 22px);
  text-align: center;
  font-size: 12px;
  color: #7f8fa3;
}

.shellde2b9-foot b { color: #b9c6d6; font-weight: 700; }

/* ---------- fixed bottom nav rack ---------- */

.shellde2b9-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 480px);
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 5px 6px calc(5px + env(safe-area-inset-bottom, 0px));
  background: rgba(12, 19, 30, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--shellde2b9-line);
}

.shellde2b9-bnav > a,
.shellde2b9-bnav > button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #8fa1b6;
  transition: transform 0.12s ease;
}

.shellde2b9-bnav svg { width: 21px; height: 21px; }

.shellde2b9-bnav > a:active,
.shellde2b9-bnav > button:active { transform: scale(0.9); }

/* current page: contrast inversion */

.shellde2b9-bnav .is-here {
  background: linear-gradient(140deg, var(--shellde2b9-cyan), #6ff0ff);
  color: #0b1520;
  box-shadow: 0 3px 14px rgba(0, 229, 255, 0.35);
}

/* ---------- full-height menu layer ---------- */

.shellde2b9-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  pointer-events: none;
}

.shellde2b9-menu-on { visibility: visible; pointer-events: auto; }

.shellde2b9-menu-scrim {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 15, 0.68);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.shellde2b9-menu-on .shellde2b9-menu-scrim { opacity: 1; }

.shellde2b9-menu-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  right: max(0px, calc(50% - 240px));
  width: min(86vw, 344px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(190deg, #16233a, #0e1621 70%);
  border-left: 1px solid var(--shellde2b9-line);
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.5);
  transform: translateX(105%);
  transition: transform 0.28s cubic-bezier(0.25, 0.9, 0.3, 1);
}

.shellde2b9-menu-on .shellde2b9-menu-panel { transform: translateX(0); }

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

.shellde2b9-menu-head img { width: 34px; height: 34px; border-radius: 10px; }

.shellde2b9-menu-title {
  font-family: var(--shellde2b9-font-head);
  font-weight: 800;
  font-size: 16px;
  color: #ffffff;
}

.shellde2b9-menu-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--shellde2b9-line);
  border-radius: 12px;
  background: var(--shellde2b9-panel);
  color: var(--shellde2b9-mist);
}

.shellde2b9-menu-close svg { width: 18px; height: 18px; }

.shellde2b9-menu-list {
  list-style: none;
  margin: 0;
  padding: 10px 10px 14px;
  overflow-y: auto;
  flex: 1;
}

.shellde2b9-menu-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 12px;
  margin: 2px 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--shellde2b9-mist);
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.shellde2b9-menu-list a:hover {
  text-decoration: none;
  background: rgba(0, 229, 255, 0.08);
  color: #ffffff;
}

.shellde2b9-menu-list svg { width: 18px; height: 18px; color: var(--shellde2b9-khaki); flex: none; }

.shellde2b9-menu-foot {
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--shellde2b9-line);
}

.shellde2b9-menu-foot button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 800;
  color: #1c0f00;
  background: linear-gradient(135deg, var(--shellde2b9-orange2), #ff6a00);
  box-shadow: 0 5px 18px rgba(255, 140, 0, 0.4);
}

.shellde2b9-menu-foot button:active { transform: scale(0.97); }

.shellde2b9-menu-foot p {
  margin: 10px 0 0;
  font-size: 10.5px;
  text-align: center;
  color: #7f8fa3;
}

/* ---------- utility ---------- */

.shellde2b9-noscroll { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
