/* ============================================================
 * Queen Casino - native-a54185-interface.css
 * Mobile-first 320-430px canvas. Dark royal palette with
 * rose-pink (#FF91A4) and royal-cyan (#00CED1) accents.
 * All custom classes use the "shell18579-" prefix.
 * ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --shell18579-bg: #2C2C2C;
  --shell18579-bg-deep: #1f1f21;
  --shell18579-surface: #3a3a3e;
  --shell18579-surface-2: #45454a;
  --shell18579-surface-3: #525258;
  --shell18579-border: rgba(255, 255, 255, 0.08);
  --shell18579-border-strong: rgba(255, 255, 255, 0.18);
  --shell18579-rose: #FF91A4;
  --shell18579-rose-soft: rgba(255, 145, 164, 0.16);
  --shell18579-rose-deep: #e36a85;
  --shell18579-cyan: #00CED1;
  --shell18579-cyan-soft: rgba(0, 206, 209, 0.16);
  --shell18579-cyan-deep: #16a8ab;
  --shell18579-gold: #f4c66b;
  --shell18579-text: #f5f3f1;
  --shell18579-text-muted: #b9b6bd;
  --shell18579-text-dim: #8b888f;
  --shell18579-shadow-card: 0 6px 18px rgba(0, 0, 0, 0.35);
  --shell18579-shadow-float: 0 10px 26px rgba(0, 0, 0, 0.45);
  --shell18579-shadow-glow-rose: 0 8px 22px rgba(255, 145, 164, 0.35);
  --shell18579-shadow-glow-cyan: 0 8px 22px rgba(0, 206, 209, 0.32);
  --shell18579-radius-sm: 8px;
  --shell18579-radius-md: 14px;
  --shell18579-radius-lg: 22px;
  --shell18579-radius-pill: 999px;
  --shell18579-header-h: 58px;
  --shell18579-notice-h: 30px;
  --shell18579-bottom-nav-h: 68px;
  --shell18579-safe-bottom: 18px;
  --shell18579-canvas-max: 430px;
  --shell18579-grad-royal: linear-gradient(135deg, #FF91A4 0%, #ff6f8b 45%, #00CED1 100%);
  --shell18579-grad-card: linear-gradient(160deg, #3c3c41 0%, #2f2f33 100%);
  --shell18579-grad-hero: linear-gradient(180deg, rgba(44,44,44,0) 35%, rgba(44,44,44,0.92) 100%);
  --shell18579-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: 'Segoe UI', 'Helvetica Neue', Roboto, Arial, sans-serif;
  background: var(--shell18579-bg);
  color: var(--shell18579-text);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--shell18579-cyan); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Mobile canvas frame ---------- */
.shell18579-page {
  position: relative;
  width: 100%;
  max-width: var(--shell18579-canvas-max);
  margin: 0 auto;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(255, 145, 164, 0.10), transparent 60%),
    radial-gradient(120% 60% at 100% 100%, rgba(0, 206, 209, 0.08), transparent 55%),
    var(--shell18579-bg);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  padding-bottom: calc(var(--shell18579-bottom-nav-h) + var(--shell18579-safe-bottom) + 14px);
}

@media (min-width: 431px) {
  body { background: #15151a; }
  .shell18579-page { box-shadow: 0 0 60px rgba(0, 0, 0, 0.7); }
}

/* ---------- Accessibility helpers ---------- */
.shell18579-skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  background: var(--shell18579-rose);
  color: #1d1d1d;
  padding: 8px 14px;
  border-radius: var(--shell18579-radius-sm);
  font-weight: 700;
  z-index: 200;
  transition: top 0.2s var(--shell18579-ease);
}
.shell18579-skip-link:focus { top: 10px; }

.shell18579-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

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

/* ---------- Top identity bar ---------- */
.shell18579-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--shell18579-header-h);
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  background: rgba(31, 31, 33, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--shell18579-border);
}

.shell18579-header-side {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: var(--shell18579-text);
}

.shell18579-header-side:hover { color: var(--shell18579-rose); }

.shell18579-header-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Centered identity block */
.shell18579-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: 1;
}

.shell18579-identity-logo {
  display: flex;
  align-items: center;
  gap: 7px;
}

.shell18579-identity-logo img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--shell18579-rose);
  box-shadow: 0 0 0 2px rgba(255, 145, 164, 0.18);
}

.shell18579-identity-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.6px;
  background: var(--shell18579-grad-royal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shell18579-identity-tag {
  font-size: 9px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--shell18579-text-dim);
}

/* Action cluster inside the centered identity column */
.shell18579-identity-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.shell18579-btn-pill {
  min-height: 28px;
  padding: 5px 12px;
  border-radius: var(--shell18579-radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.18s var(--shell18579-ease), box-shadow 0.2s var(--shell18579-ease);
}
.shell18579-btn-pill:active { transform: scale(0.96); }

.shell18579-btn-login {
  background: transparent;
  color: var(--shell18579-text);
  border-color: var(--shell18579-border-strong);
}
.shell18579-btn-login:hover { border-color: var(--shell18579-cyan); color: var(--shell18579-cyan); }

.shell18579-btn-register {
  background: var(--shell18579-grad-royal);
  color: #1d1d1d;
  box-shadow: var(--shell18579-shadow-glow-rose);
}
.shell18579-btn-register:hover { box-shadow: 0 10px 26px rgba(255, 145, 164, 0.55); }

/* ---------- Announcement strip ---------- */
.shell18579-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--shell18579-notice-h);
  padding: 0 12px;
  background: linear-gradient(90deg, rgba(255,145,164,0.16), rgba(0,206,209,0.16));
  border-bottom: 1px solid var(--shell18579-border);
  font-size: 11.5px;
  color: var(--shell18579-text-muted);
  overflow: hidden;
}
.shell18579-notice-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--shell18579-rose);
  box-shadow: 0 0 0 3px rgba(255, 145, 164, 0.25);
  flex-shrink: 0;
}
.shell18579-notice strong { color: var(--shell18579-rose); font-weight: 700; }

/* ---------- Off-canvas menu (partitioned) ---------- */
.shell18579-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--shell18579-ease), visibility 0.25s;
  z-index: 120;
}
.shell18579-menu-open .shell18579-menu-backdrop {
  opacity: 1;
  visibility: visible;
}

.shell18579-menu-panel {
  position: fixed;
  top: 0; right: 0;
  width: min(86%, 360px);
  height: 100%;
  background: var(--shell18579-bg-deep);
  border-left: 1px solid var(--shell18579-border-strong);
  transform: translateX(105%);
  transition: transform 0.32s var(--shell18579-ease);
  z-index: 130;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.shell18579-menu-open .shell18579-menu-panel { transform: translateX(0); }

.shell18579-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--shell18579-border);
  background: linear-gradient(135deg, rgba(255,145,164,0.10), rgba(0,206,209,0.10));
}
.shell18579-menu-head h2 {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--shell18579-text);
}
.shell18579-menu-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--shell18579-surface);
  color: var(--shell18579-text);
  border: 1px solid var(--shell18579-border);
  display: grid;
  place-items: center;
  font-size: 16px;
}

.shell18579-menu-cta {
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.shell18579-menu-cta button {
  min-height: 40px;
  border-radius: var(--shell18579-radius-pill);
  font-weight: 700;
  font-size: 13px;
  border: 1px solid transparent;
}
.shell18579-menu-cta .shell18579-menu-register {
  background: var(--shell18579-grad-royal);
  color: #1d1d1d;
}
.shell18579-menu-cta .shell18579-menu-login {
  background: transparent;
  color: var(--shell18579-text);
  border-color: var(--shell18579-border-strong);
}

.shell18579-menu-section {
  padding: 12px 16px 6px;
}
.shell18579-menu-section-title {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--shell18579-cyan);
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.shell18579-menu-section-title::before {
  content: '';
  width: 14px; height: 2px;
  background: var(--shell18579-cyan);
  border-radius: 2px;
}
.shell18579-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.shell18579-menu-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  margin-bottom: 4px;
  border-radius: var(--shell18579-radius-sm);
  background: var(--shell18579-surface);
  color: var(--shell18579-text);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.18s var(--shell18579-ease), border-color 0.18s;
}
.shell18579-menu-list li a:hover,
.shell18579-menu-list li a:focus {
  background: var(--shell18579-surface-2);
  border-color: var(--shell18579-border-strong);
}
.shell18579-menu-list li a::after {
  content: '›';
  color: var(--shell18579-rose);
  font-size: 18px;
  line-height: 1;
}
.shell18579-menu-foot {
  padding: 12px 16px 24px;
  font-size: 11px;
  color: var(--shell18579-text-dim);
  text-align: center;
}

/* ---------- Search overlay ---------- */
.shell18579-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 31, 33, 0.97);
  z-index: 140;
  padding: 60px 18px 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--shell18579-ease), visibility 0.22s;
}
.shell18579-search-open .shell18579-search-overlay {
  opacity: 1;
  visibility: visible;
}
.shell18579-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--shell18579-surface);
  border: 1px solid var(--shell18579-border-strong);
  border-radius: var(--shell18579-radius-pill);
  padding: 6px 10px;
}
.shell18579-search-box input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--shell18579-text);
  font-size: 15px;
  min-height: 36px;
  outline: none;
}
.shell18579-search-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--shell18579-surface-2);
  color: var(--shell18579-text);
  border: 0;
}
.shell18579-search-hint {
  margin: 14px 4px 0;
  font-size: 12px;
  color: var(--shell18579-text-dim);
}

/* ---------- Hero carousel ---------- */
.shell18579-main { padding: 0 0 8px; }

.shell18579-hero {
  position: relative;
  margin: 12px 12px 4px;
  border-radius: var(--shell18579-radius-lg);
  overflow: hidden;
  box-shadow: var(--shell18579-shadow-card);
  background: var(--shell18579-surface);
  aspect-ratio: 16 / 11;
}
.shell18579-hero-track {
  position: absolute;
  inset: 0;
}
.shell18579-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.48s var(--shell18579-ease), transform 0.6s var(--shell18579-ease);
  pointer-events: none;
}
.shell18579-hero-slide-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.shell18579-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shell18579-hero-shade {
  position: absolute;
  inset: 0;
  background: var(--shell18579-grad-hero);
  pointer-events: none;
}
.shell18579-hero-content {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.shell18579-hero-eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell18579-rose);
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 9px;
  border-radius: var(--shell18579-radius-pill);
  border: 1px solid rgba(255, 145, 164, 0.4);
}
.shell18579-hero-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.shell18579-hero-sub {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
.shell18579-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 18px;
  background: var(--shell18579-grad-royal);
  color: #1d1d1d;
  border-radius: var(--shell18579-radius-pill);
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--shell18579-shadow-glow-rose);
}
.shell18579-hero-cta:active { transform: scale(0.96); }

.shell18579-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  z-index: 5;
  font-size: 16px;
  line-height: 1;
}
.shell18579-hero-prev { left: 8px; }
.shell18579-hero-next { right: 8px; }

.shell18579-hero-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
}
.shell18579-hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  padding: 0;
  transition: width 0.25s var(--shell18579-ease), background 0.25s;
}
.shell18579-hero-dot-active {
  width: 18px;
  border-radius: 4px;
  background: var(--shell18579-rose);
}

/* ---------- Quick stat row ---------- */
.shell18579-quick-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 12px 4px;
}
.shell18579-quick-card {
  background: var(--shell18579-grad-card);
  border: 1px solid var(--shell18579-border);
  border-radius: var(--shell18579-radius-md);
  padding: 10px 8px;
  text-align: center;
}
.shell18579-quick-num {
  display: block;
  font-size: 17px;
  font-weight: 800;
  background: var(--shell18579-grad-royal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.shell18579-quick-label {
  display: block;
  font-size: 10.5px;
  color: var(--shell18579-text-muted);
  letter-spacing: 0.4px;
  margin-top: 2px;
}

/* ---------- Section heading ---------- */
.shell18579-section {
  margin: 22px 12px 4px;
}
.shell18579-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 10px;
}
.shell18579-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.3px;
}
.shell18579-section-title::before {
  content: '';
  width: 4px;
  height: 18px;
  border-radius: 3px;
  background: var(--shell18579-grad-royal);
}
.shell18579-section-link {
  font-size: 11.5px;
  color: var(--shell18579-cyan);
  font-weight: 700;
}

/* ---------- Category chips (jump-only, never hide games) ---------- */
.shell18579-chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 4px 12px 10px;
  margin: 0 -12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.shell18579-chips::-webkit-scrollbar { display: none; }
.shell18579-chip {
  flex-shrink: 0;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: var(--shell18579-radius-pill);
  background: var(--shell18579-surface);
  color: var(--shell18579-text-muted);
  border: 1px solid var(--shell18579-border);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.18s var(--shell18579-ease), color 0.18s, border-color 0.18s;
}
.shell18579-chip-active,
.shell18579-chip:hover {
  background: var(--shell18579-rose-soft);
  color: var(--shell18579-rose);
  border-color: var(--shell18579-rose);
}
.shell18579-chip-count {
  font-size: 10px;
  color: var(--shell18579-text-dim);
}

/* ---------- Game grid ---------- */
.shell18579-game-block { scroll-margin-top: 80px; }

.shell18579-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 360px) {
  .shell18579-game-grid { gap: 9px; }
}
@media (min-width: 400px) {
  .shell18579-game-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }
}

.shell18579-game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--shell18579-grad-card);
  border: 1px solid var(--shell18579-border);
  border-radius: var(--shell18579-radius-md);
  padding: 6px 4px 7px;
  overflow: hidden;
  transition: transform 0.18s var(--shell18579-ease), box-shadow 0.2s, border-color 0.2s;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.shell18579-game-card:hover,
.shell18579-game-card:focus {
  transform: translateY(-3px);
  border-color: var(--shell18579-rose);
  box-shadow: 0 8px 20px rgba(255, 145, 164, 0.25);
}
.shell18579-game-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: #15151a;
  margin-bottom: 5px;
}
.shell18579-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--shell18579-ease);
}
.shell18579-game-card:hover .shell18579-game-thumb img { transform: scale(1.06); }

.shell18579-game-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--shell18579-rose);
  color: #1d1d1d;
  text-transform: uppercase;
}
.shell18579-game-badge.hot { background: var(--shell18579-rose); }
.shell18579-game-badge.new { background: var(--shell18579-cyan); color: #062b2c; }
.shell18579-game-badge.top { background: var(--shell18579-gold); color: #2a1e04; }

.shell18579-game-name {
  font-size: 10.5px;
  line-height: 1.25;
  color: var(--shell18579-text);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 26px;
  word-break: break-word;
}

/* Category-specific tinted strips */
.shell18579-cat-strip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--shell18579-text-muted);
  padding: 3px 9px;
  border-radius: var(--shell18579-radius-pill);
  background: var(--shell18579-surface);
  border: 1px solid var(--shell18579-border);
}
.shell18579-cat-strip.rose { color: var(--shell18579-rose); border-color: rgba(255,145,164,0.35); }
.shell18579-cat-strip.cyan { color: var(--shell18579-cyan); border-color: rgba(0,206,209,0.35); }
.shell18579-cat-strip.gold { color: var(--shell18579-gold); border-color: rgba(244,198,107,0.35); }

.shell18579-game-more {
  margin-top: 12px;
  text-align: center;
}
.shell18579-game-more a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  border-radius: var(--shell18579-radius-pill);
  background: var(--shell18579-surface);
  color: var(--shell18579-text);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--shell18579-border-strong);
}

/* ---------- Promo banner ---------- */
.shell18579-promo-banner {
  margin: 18px 12px 4px;
  padding: 14px;
  border-radius: var(--shell18579-radius-lg);
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(255,145,164,0.30), transparent 60%),
    radial-gradient(80% 100% at 100% 100%, rgba(0,206,209,0.30), transparent 60%),
    var(--shell18579-surface);
  border: 1px solid var(--shell18579-border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shell18579-shadow-card);
}
.shell18579-promo-banner-text h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
}
.shell18579-promo-banner-text p {
  margin: 0;
  font-size: 11.5px;
  color: var(--shell18579-text-muted);
}
.shell18579-promo-banner-cta {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: var(--shell18579-radius-pill);
  background: var(--shell18579-grad-royal);
  color: #1d1d1d;
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--shell18579-shadow-glow-rose);
}

/* ---------- Editorial / content modules ---------- */
.shell18579-prose {
  margin: 22px 12px 4px;
}
.shell18579-prose p {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--shell18579-text-muted);
}
.shell18579-prose strong { color: var(--shell18579-text); font-weight: 700; }
.shell18579-prose a {
  color: var(--shell18579-cyan);
  text-decoration: underline;
  text-decoration-color: rgba(0, 206, 209, 0.4);
  text-underline-offset: 2px;
}
.shell18579-prose a:hover { color: var(--shell18579-rose); }

.shell18579-module-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 14px 0;
}
@media (min-width: 380px) {
  .shell18579-module-grid { grid-template-columns: 1fr 1fr; }
}

.shell18579-module-card {
  background: var(--shell18579-grad-card);
  border: 1px solid var(--shell18579-border);
  border-radius: var(--shell18579-radius-md);
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.shell18579-module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 32px;
  background: var(--shell18579-grad-royal);
  border-radius: 0 4px 4px 0;
}
.shell18579-module-card h3 {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--shell18579-text);
}
.shell18579-module-card p {
  margin: 0 0 8px;
  font-size: 12.5px;
  color: var(--shell18579-text-muted);
  line-height: 1.55;
}
.shell18579-module-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 12.5px;
  color: var(--shell18579-text-muted);
}
.shell18579-module-card li { margin-bottom: 4px; }

.shell18579-style-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 12px 0;
}
@media (min-width: 380px) {
  .shell18579-style-row { grid-template-columns: 1fr 1fr; }
}
.shell18579-style-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border-radius: var(--shell18579-radius-md);
  background: var(--shell18579-surface);
  border: 1px solid var(--shell18579-border);
}
.shell18579-style-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--shell18579-rose-soft);
  color: var(--shell18579-rose);
  flex-shrink: 0;
}
.shell18579-style-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.shell18579-style-tile.cyan .shell18579-style-icon {
  background: var(--shell18579-cyan-soft);
  color: var(--shell18579-cyan);
}
.shell18579-style-tile.gold .shell18579-style-icon {
  background: rgba(244, 198, 107, 0.18);
  color: var(--shell18579-gold);
}
.shell18579-style-text strong {
  display: block;
  font-size: 13.5px;
  color: var(--shell18579-text);
}
.shell18579-style-text span {
  font-size: 11.5px;
  color: var(--shell18579-text-muted);
}

/* Steps list */
.shell18579-steps {
  list-style: none;
  margin: 10px 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.shell18579-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: var(--shell18579-surface);
  border: 1px solid var(--shell18579-border);
  border-radius: var(--shell18579-radius-md);
  font-size: 12.5px;
  color: var(--shell18579-text-muted);
}
.shell18579-step-num {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--shell18579-grad-royal);
  color: #1d1d1d;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}
.shell18579-steps strong { color: var(--shell18579-text); display: block; margin-bottom: 2px; font-size: 13px; }

/* Scenario answer callout */
.shell18579-scenario {
  margin: 14px 0;
  padding: 14px;
  border-radius: var(--shell18579-radius-lg);
  background:
    linear-gradient(135deg, rgba(0,206,209,0.10), rgba(255,145,164,0.10)),
    var(--shell18579-surface);
  border: 1px solid var(--shell18579-border-strong);
}
.shell18579-scenario-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shell18579-cyan);
  margin-bottom: 6px;
}
.shell18579-scenario p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--shell18579-text-muted);
}
.shell18579-scenario p:last-child { margin-bottom: 0; }

/* ---------- FAQ accordion ---------- */
.shell18579-faq-list {
  margin: 12px 0;
  display: grid;
  gap: 8px;
}
.shell18579-faq-item {
  background: var(--shell18579-surface);
  border: 1px solid var(--shell18579-border);
  border-radius: var(--shell18579-radius-md);
  overflow: hidden;
}
.shell18579-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: transparent;
  border: 0;
  text-align: left;
  color: var(--shell18579-text);
  font-size: 13.5px;
  font-weight: 700;
  min-height: 44px;
}
.shell18579-faq-question-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--shell18579-rose);
  transition: transform 0.25s var(--shell18579-ease);
}
.shell18579-faq-item[data-open="true"] .shell18579-faq-question-icon { transform: rotate(45deg); }
.shell18579-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--shell18579-ease);
}
.shell18579-faq-item[data-open="true"] .shell18579-faq-answer { max-height: 360px; }
.shell18579-faq-answer-inner {
  padding: 0 14px 14px;
  font-size: 12.5px;
  color: var(--shell18579-text-muted);
  line-height: 1.6;
}

/* ---------- Extended footer (homepage only) ---------- */
.shell18579-ext-footer {
  margin: 24px 12px 8px;
  padding: 16px;
  border-radius: var(--shell18579-radius-lg);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(0,206,209,0.10), transparent 60%),
    var(--shell18579-bg-deep);
  border: 1px solid var(--shell18579-border-strong);
}
.shell18579-ext-footer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.shell18579-ext-footer-head img {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--shell18579-rose);
}
.shell18579-ext-footer-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}
.shell18579-ext-footer-head span {
  display: block;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--shell18579-cyan);
}
.shell18579-ext-brand-text {
  font-size: 12.5px;
  color: var(--shell18579-text-muted);
  margin: 0 0 14px;
  line-height: 1.6;
}

/* Promo action grid (7 entries) */
.shell18579-ext-promos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.shell18579-ext-promo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: var(--shell18579-radius-md);
  background: var(--shell18579-surface);
  border: 1px solid var(--shell18579-border);
  color: var(--shell18579-text);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  min-height: 44px;
}
.shell18579-ext-promo:hover { border-color: var(--shell18579-rose); }
.shell18579-ext-promo-icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--shell18579-grad-royal);
  color: #1d1d1d;
  flex-shrink: 0;
}
.shell18579-ext-promo-icon svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }
.shell18579-ext-promo strong { display: block; font-size: 12.5px; }
.shell18579-ext-promo small { display: block; font-size: 10px; color: var(--shell18579-text-dim); font-weight: 500; }

/* Two-column directory */
.shell18579-ext-directory-title {
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell18579-cyan);
  margin: 0 0 8px;
}
.shell18579-ext-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin-bottom: 14px;
}
.shell18579-ext-directory a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--shell18579-border);
  color: var(--shell18579-text-muted);
  font-size: 12px;
}
.shell18579-ext-directory a:hover { color: var(--shell18579-rose); }
.shell18579-ext-directory a::before {
  content: '›';
  color: var(--shell18579-rose);
  font-size: 14px;
}

.shell18579-ext-disclaimer {
  font-size: 10.5px;
  color: var(--shell18579-text-dim);
  border-top: 1px solid var(--shell18579-border);
  padding-top: 10px;
  line-height: 1.55;
}

/* ---------- General footer (all pages) ---------- */
.shell18579-footer {
  margin: 18px 12px 6px;
  padding: 14px;
  border-radius: var(--shell18579-radius-md);
  background: var(--shell18579-bg-deep);
  border: 1px solid var(--shell18579-border);
  text-align: center;
}
.shell18579-footer-copy {
  font-size: 11px;
  color: var(--shell18579-text-dim);
  margin: 0 0 6px;
}
.shell18579-footer-copy strong { color: var(--shell18579-text-muted); }
.shell18579-footer-legal {
  font-size: 10px;
  color: var(--shell18579-text-dim);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Bottom navigation (center-raised) ---------- */
.shell18579-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: calc(var(--shell18579-canvas-max) - 20px);
  height: var(--shell18579-bottom-nav-h);
  background: rgba(31, 31, 33, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--shell18579-border-strong);
  border-radius: var(--shell18579-radius-pill);
  box-shadow: var(--shell18579-shadow-float);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  z-index: 90;
  padding: 0 6px;
}

.shell18579-bottom-nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--shell18579-text-dim);
  font-size: 9px;
  letter-spacing: 0.4px;
  text-align: center;
  background: transparent;
  border: 0;
  padding: 6px 2px 8px;
  gap: 2px;
  transition: color 0.18s var(--shell18579-ease), transform 0.22s var(--shell18579-ease);
}
.shell18579-bottom-nav-link:hover { color: var(--shell18579-text); }

.shell18579-bottom-nav-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  margin-bottom: 2px;
}
.shell18579-bottom-nav-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-width 0.2s, transform 0.2s;
}
.shell18579-bottom-nav-link.shell18579-nav-active {
  color: var(--shell18579-rose);
  transform: translateY(-4px);
}
.shell18579-bottom-nav-link.shell18579-nav-active .shell18579-bottom-nav-icon svg {
  stroke-width: 2.2;
}
.shell18579-bottom-nav-link.shell18579-nav-active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--shell18579-rose);
  box-shadow: 0 0 8px var(--shell18579-rose);
}

/* Center raised promotional button */
.shell18579-bottom-nav-center {
  position: relative;
}
.shell18579-bottom-nav-center .shell18579-bottom-nav-icon {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--shell18579-grad-royal);
  color: #1d1d1d;
  display: grid;
  place-items: center;
  box-shadow: var(--shell18579-shadow-glow-rose);
  border: 3px solid var(--shell18579-bg-deep);
  margin-bottom: 0;
  transition: transform 0.22s var(--shell18579-ease);
}
.shell18579-bottom-nav-center .shell18579-bottom-nav-icon svg {
  width: 22px;
  height: 22px;
  stroke: #1d1d1d;
  stroke-width: 2;
  fill: none;
}
.shell18579-bottom-nav-center:hover .shell18579-bottom-nav-icon {
  transform: translateX(-50%) translateY(-3px) scale(1.05);
}
.shell18579-bottom-nav-center .shell18579-bottom-nav-label {
  margin-top: 26px;
  font-weight: 800;
  color: var(--shell18579-rose);
}

/* Label reveal micro-interaction on hover (active always shows) */
.shell18579-bottom-nav-label {
  opacity: 0.85;
  transition: opacity 0.2s var(--shell18579-ease);
}
.shell18579-bottom-nav-link:hover .shell18579-bottom-nav-label,
.shell18579-bottom-nav-link.shell18579-nav-active .shell18579-bottom-nav-label {
  opacity: 1;
}

/* ---------- Reveal animation ---------- */
.shell18579-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--shell18579-ease), transform 0.55s var(--shell18579-ease);
}
.shell18579-reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Body lock when menu open ---------- */
.shell18579-body-menu {
  overflow: hidden;
}

/* ---------- Back-to-top floating button ---------- */
.shell18579-to-top {
  position: fixed;
  right: 14px;
  bottom: calc(var(--shell18579-bottom-nav-h) + 18px);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--shell18579-surface);
  border: 1px solid var(--shell18579-border-strong);
  color: var(--shell18579-text);
  display: grid;
  place-items: center;
  z-index: 70;
  opacity: 0.9;
  font-size: 18px;
  line-height: 1;
}
.shell18579-to-top:hover { color: var(--shell18579-rose); }

/* ---------- Help page layouts ---------- */
.shell18579-help-hero {
  margin: 14px 12px 0;
  padding: 18px 16px;
  border-left: 4px solid var(--shell18579-cyan);
  border-radius: var(--shell18579-radius-md);
  background: linear-gradient(145deg, rgba(0,206,209,0.14), rgba(255,145,164,0.08)), var(--shell18579-surface);
}
.shell18579-help-hero h1 { margin: 0 0 8px; font-size: 23px; line-height: 1.15; }
.shell18579-help-hero p { margin: 0; color: var(--shell18579-text-muted); font-size: 13.5px; }
.shell18579-answer-line { margin: 14px 12px 0; padding: 12px 14px; border-radius: var(--shell18579-radius-sm); background: var(--shell18579-rose-soft); color: var(--shell18579-text); font-size: 13px; }
.shell18579-help-section { margin: 22px 12px 0; }
.shell18579-help-section h2 { margin: 0 0 8px; font-size: 17px; line-height: 1.25; color: var(--shell18579-text); }
.shell18579-help-section h2::after { content: ''; display: block; width: 38px; height: 2px; margin-top: 7px; background: var(--shell18579-rose); }
.shell18579-help-section > p { margin: 0 0 10px; color: var(--shell18579-text-muted); font-size: 13px; }
.shell18579-help-list { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.shell18579-help-list li { padding: 11px 12px; border: 1px solid var(--shell18579-border); border-radius: var(--shell18579-radius-sm); background: var(--shell18579-surface); color: var(--shell18579-text-muted); font-size: 12.5px; }
.shell18579-help-list strong { color: var(--shell18579-text); }
.shell18579-faq-stack { display: grid; gap: 9px; margin-top: 12px; }
.shell18579-faq-entry { border-top: 1px solid var(--shell18579-border-strong); padding-top: 11px; }
.shell18579-faq-entry h3 { margin: 0 0 5px; color: var(--shell18579-rose); font-size: 13.5px; line-height: 1.35; }
.shell18579-faq-entry p { margin: 0; color: var(--shell18579-text-muted); font-size: 12.5px; }
.shell18579-promo-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.shell18579-promo-rail button { min-height: 48px; padding: 8px; border: 1px solid var(--shell18579-border-strong); border-radius: var(--shell18579-radius-sm); background: var(--shell18579-surface-2); color: var(--shell18579-text); font-size: 11.5px; font-weight: 700; }
.shell18579-promo-rail button:first-child { background: var(--shell18579-grad-royal); color: #1d1d1d; }
.shell18579-promo-rail button:active { transform: scale(.98); }
.shell18579-route { display: grid; gap: 8px; margin: 12px 0; }
.shell18579-route-row { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 10px; background: var(--shell18579-surface); border-radius: var(--shell18579-radius-sm); }
.shell18579-route-row b { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--shell18579-cyan); color: #152829; font-size: 12px; }
.shell18579-route-row h3 { margin: 0 0 3px; font-size: 13px; color: var(--shell18579-text); }
.shell18579-route-row p { margin: 0; font-size: 12px; color: var(--shell18579-text-muted); }
.shell18579-checklist { display: grid; gap: 7px; margin: 12px 0; }
.shell18579-check { display: flex; gap: 9px; align-items: flex-start; padding: 9px 10px; border-bottom: 1px dashed var(--shell18579-border-strong); color: var(--shell18579-text-muted); font-size: 12.5px; }
.shell18579-check::before { content: '✓'; flex-shrink: 0; color: var(--shell18579-cyan); font-weight: 900; }
.shell18579-alert { padding: 12px; border-radius: var(--shell18579-radius-sm); border: 1px solid rgba(255,145,164,.38); background: rgba(255,145,164,.09); color: var(--shell18579-text-muted); font-size: 12.5px; }
.shell18579-alert strong { color: var(--shell18579-rose); }
.shell18579-mini-link { color: var(--shell18579-cyan); text-decoration: underline; text-underline-offset: 2px; }

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