/* ============================================================
   megapari login - base layer styles
   Class prefix: shellabef2-
   Palette: #F08080 (light coral) | #FF69B4 (hot pink) | #0D1117 (deep night)
   Mobile canvas 320-430px; centered on wider screens.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --shellabef2-bg: #0D1117;
  --shellabef2-bg-soft: #131a24;
  --shellabef2-bg-card: #18202c;
  --shellabef2-bg-elev: #1f2937;
  --shellabef2-coral: #F08080;
  --shellabef2-pink: #FF69B4;
  --shellabef2-coral-deep: #e05a5a;
  --shellabef2-pink-deep: #e85aa0;
  --shellabef2-ink: #f4f7fb;
  --shellabef2-ink-soft: #c6ced9;
  --shellabef2-ink-mute: #8b95a4;
  --shellabef2-line: rgba(240, 128, 128, 0.22);
  --shellabef2-line-soft: rgba(255, 255, 255, 0.08);
  --shellabef2-glow-coral: 0 0 18px rgba(240, 128, 128, 0.55);
  --shellabef2-glow-pink: 0 0 18px rgba(255, 105, 180, 0.55);
  --shellabef2-grad-brand: linear-gradient(120deg, #F08080 0%, #FF69B4 100%);
  --shellabef2-grad-deep: linear-gradient(160deg, #131a24 0%, #0D1117 100%);
  --shellabef2-radius-sm: 8px;
  --shellabef2-radius: 14px;
  --shellabef2-radius-lg: 22px;
  --shellabef2-header-h: 60px;
  --shellabef2-bottom-h: 66px;
  --shellabef2-max: 460px;
  --shellabef2-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--shellabef2-font);
  color: var(--shellabef2-ink);
  background: var(--shellabef2-bg);
  background-image:
    radial-gradient(circle at 12% -8%, rgba(240, 128, 128, 0.18), transparent 42%),
    radial-gradient(circle at 92% 4%, rgba(255, 105, 180, 0.16), transparent 46%),
    var(--shellabef2-grad-deep);
  background-attachment: fixed;
  line-height: 1.62;
  font-size: 15px;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--shellabef2-pink); text-decoration: none; }
a:focus-visible { outline: 2px solid var(--shellabef2-coral); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 {
  margin: 0 0 0.55em;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.01em;
}

p { margin: 0 0 0.9em; }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin: 0 0 0.4em; }

/* ---------- Mobile canvas frame ---------- */
.shellabef2-shell {
  width: 100%;
  max-width: var(--shellabef2-max);
  margin: 0 auto;
  background: var(--shellabef2-bg);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.55);
  overflow-x: hidden;
}

.shellabef2-main {
  padding: calc(var(--shellabef2-header-h) + 12px) 14px calc(var(--shellabef2-bottom-h) + 130px);
}

/* ---------- Header / centered identity bar ---------- */
.shellabef2-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shellabef2-max);
  height: var(--shellabef2-header-h);
  background: rgba(13, 17, 23, 0.94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--shellabef2-line);
  z-index: 60;
  display: grid;
  grid-template-columns: auto 44px 1fr 44px auto;
  grid-template-rows: 1fr;
  gap: 6px;
  align-items: center;
  padding: 0 10px;
}

.shellabef2-header-left { grid-column: 1; grid-row: 1; }
.shellabef2-brand { grid-column: 2 / 4; grid-row: 1; }
.shellabef2-header-right { grid-column: 5; grid-row: 1; justify-self: end; }

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

.shellabef2-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--shellabef2-line);
  box-shadow: var(--shellabef2-glow-coral);
  flex-shrink: 0;
}

.shellabef2-brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.2px;
  background: var(--shellabef2-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.shellabef2-brand-name small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: var(--shellabef2-ink-mute);
  -webkit-text-fill-color: var(--shellabef2-ink-mute);
  text-transform: uppercase;
  margin-top: -2px;
}

/* Compact auth buttons inside identity bar */
.shellabef2-auth-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
  min-height: 36px;
  border: 1px solid transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease;
  font-family: inherit;
}
.shellabef2-auth-mini svg { width: 15px; height: 15px; }
.shellabef2-auth-mini:active { transform: scale(0.94); }
.shellabef2-auth-login {
  background: rgba(255, 255, 255, 0.05);
  color: var(--shellabef2-ink);
  border-color: var(--shellabef2-line);
}
.shellabef2-auth-login:hover,
.shellabef2-auth-login:focus-visible { box-shadow: var(--shellabef2-glow-coral); color: var(--shellabef2-coral); }
.shellabef2-auth-join {
  background: var(--shellabef2-grad-brand);
  color: #1a0d12;
  box-shadow: 0 5px 14px rgba(255, 105, 180, 0.3);
}
.shellabef2-auth-join:hover,
.shellabef2-auth-join:focus-visible { box-shadow: var(--shellabef2-glow-pink); }

/* Icon button (menu) */
.shellabef2-icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--shellabef2-line);
  border-radius: 12px;
  color: var(--shellabef2-coral);
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.shellabef2-icon-btn:hover,
.shellabef2-icon-btn:focus-visible {
  background: rgba(240, 128, 128, 0.14);
  box-shadow: var(--shellabef2-glow-coral);
}
.shellabef2-icon-btn:active { transform: scale(0.92); }
.shellabef2-icon-btn svg { width: 22px; height: 22px; display: block; }

@media (max-width: 359px) {
  .shellabef2-auth-mini { padding: 8px 10px; font-size: 11px; }
  .shellabef2-brand-name { font-size: 14px; }
  .shellabef2-brand-logo { width: 30px; height: 30px; }
}

/* ---------- Overlay + slide-up route panel ---------- */
.shellabef2-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 12, 0.66);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: 70;
}
.shellabef2-overlay.is-open { opacity: 1; }

.shellabef2-panel {
  position: fixed;
  left: 50%;
  transform: translate(-50%, 100%);
  bottom: 0;
  width: 100%;
  max-width: var(--shellabef2-max);
  max-height: 82vh;
  background: var(--shellabef2-bg-soft);
  border-top: 1px solid var(--shellabef2-line);
  border-radius: 22px 22px 0 0;
  z-index: 80;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.55);
}
.shellabef2-panel.is-open { transform: translate(-50%, 0); }

.shellabef2-panel-grip {
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: var(--shellabef2-line);
  margin: 10px auto 4px;
}

.shellabef2-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 12px;
  border-bottom: 1px solid var(--shellabef2-line-soft);
}
.shellabef2-panel-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--shellabef2-ink);
  margin: 0;
}
.shellabef2-panel-title span { color: var(--shellabef2-coral); }

.shellabef2-panel-body {
  padding: 10px 14px 22px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.shellabef2-route-group { margin: 8px 0 14px; }
.shellabef2-route-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shellabef2-ink-mute);
  margin: 0 0 8px 4px;
}
.shellabef2-route-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.shellabef2-route-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: var(--shellabef2-bg-card);
  border: 1px solid var(--shellabef2-line-soft);
  border-radius: var(--shellabef2-radius);
  color: var(--shellabef2-ink);
  font-size: 13px;
  font-weight: 700;
  min-height: 44px;
  transition: background 0.22s ease, box-shadow 0.25s ease, border-color 0.22s ease, transform 0.18s ease;
}
.shellabef2-route-item:hover,
.shellabef2-route-item:focus-visible {
  background: var(--shellabef2-bg-elev);
  border-color: var(--shellabef2-line);
  box-shadow: var(--shellabef2-glow-coral);
}
.shellabef2-route-item:active { transform: scale(0.97); }
.shellabef2-route-item .shellabef2-route-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(240, 128, 128, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.shellabef2-route-item .shellabef2-route-ico svg { width: 17px; height: 17px; }
.shellabef2-route-item.is-current {
  border-color: var(--shellabef2-pink);
  box-shadow: inset 0 0 0 1px var(--shellabef2-pink);
}

/* ---------- Hero carousel ---------- */
.shellabef2-hero {
  position: relative;
  border-radius: var(--shellabef2-radius-lg);
  overflow: hidden;
  margin: 4px 0 18px;
  background: var(--shellabef2-bg-card);
  border: 1px solid var(--shellabef2-line);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}
.shellabef2-hero-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.shellabef2-hero-slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}
.shellabef2-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shellabef2-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 17, 23, 0.86) 0%, rgba(13, 17, 23, 0.12) 48%, transparent 100%);
}
.shellabef2-hero-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  color: var(--shellabef2-ink);
}
.shellabef2-hero-caption .shellabef2-hero-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.22;
  margin: 0 0 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  background: var(--shellabef2-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.shellabef2-hero-caption p {
  margin: 0;
  font-size: 12px;
  color: var(--shellabef2-ink-soft);
}
.shellabef2-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--shellabef2-grad-brand);
  color: #1a0d12;
  box-shadow: var(--shellabef2-glow-pink);
}
.shellabef2-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 3;
  display: none;
  text-align: center;
}
.shellabef2-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  border: none;
  padding: 0;
  margin: 0 3px;
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}
.shellabef2-dot.is-active {
  background: var(--shellabef2-coral);
  width: 20px;
  box-shadow: var(--shellabef2-glow-coral);
}

/* ---------- Headings & section frame ---------- */
.shellabef2-h1 {
  font-size: 25px;
  line-height: 1.2;
  margin: 14px 0 10px;
  background: var(--shellabef2-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.shellabef2-lead {
  font-size: 14px;
  color: var(--shellabef2-ink-soft);
  margin: 0 0 16px;
}
.shellabef2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--shellabef2-coral);
  background: rgba(240, 128, 128, 0.1);
  border: 1px solid var(--shellabef2-line);
  padding: 5px 11px;
  border-radius: 999px;
  margin: 0 0 10px;
}
.shellabef2-eyebrow svg { width: 12px; height: 12px; }

.shellabef2-section {
  margin: 22px 0;
  padding: 18px 14px 18px;
  background: var(--shellabef2-bg-soft);
  border: 1px solid var(--shellabef2-line-soft);
  border-radius: var(--shellabef2-radius-lg);
}
.shellabef2-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
}
.shellabef2-section-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 105, 180, 0.12);
  border: 1px solid var(--shellabef2-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shellabef2-glow-pink);
}
.shellabef2-section-badge svg { width: 20px; height: 20px; }
.shellabef2-section h2 {
  font-size: 18px;
  margin: 0;
  color: var(--shellabef2-ink);
}
.shellabef2-section h2 em {
  font-style: normal;
  background: var(--shellabef2-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.shellabef2-section-desc {
  font-size: 13px;
  color: var(--shellabef2-ink-soft);
  margin: 0 0 14px;
}
.shellabef2-section h3 {
  font-size: 15px;
  color: var(--shellabef2-coral);
  margin: 14px 0 6px;
}

/* ---------- Game grid ---------- */
.shellabef2-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 375px) {
  .shellabef2-game-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
}
@media (min-width: 400px) {
  .shellabef2-game-grid { grid-template-columns: repeat(5, 1fr); }
}

.shellabef2-game {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--shellabef2-bg-card);
  border: 1px solid var(--shellabef2-line-soft);
  border-radius: var(--shellabef2-radius);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, border-color 0.22s ease;
}
.shellabef2-game:hover,
.shellabef2-game:focus-visible {
  border-color: var(--shellabef2-line);
  box-shadow: var(--shellabef2-glow-coral);
  transform: translateY(-2px);
}
.shellabef2-game:active { transform: scale(0.95); }
.shellabef2-game-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--shellabef2-bg-elev);
  overflow: hidden;
}
.shellabef2-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.shellabef2-game:hover .shellabef2-game-thumb img { transform: scale(1.06); }
.shellabef2-game-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 105, 180, 0) 60%, rgba(240, 128, 128, 0.18) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.shellabef2-game:hover .shellabef2-game-thumb::after { opacity: 1; }
.shellabef2-game-name {
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 700;
  padding: 5px 4px 6px;
  color: var(--shellabef2-ink);
  min-height: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 375px) {
  .shellabef2-game-name { font-size: 11px; }
}

/* ---------- Content prose blocks ---------- */
.shellabef2-prose {
  font-size: 13.5px;
  color: var(--shellabef2-ink-soft);
}
.shellabef2-prose p { margin: 0 0 0.8em; }
.shellabef2-prose strong { color: var(--shellabef2-ink); font-weight: 700; }
.shellabef2-prose a {
  color: var(--shellabef2-coral);
  border-bottom: 1px dashed rgba(240, 128, 128, 0.5);
  padding-bottom: 1px;
  font-weight: 700;
}
.shellabef2-prose a:hover { color: var(--shellabef2-pink); box-shadow: var(--shellabef2-glow-pink); border-radius: 3px; }

.shellabef2-callout {
  margin: 12px 0;
  padding: 12px 14px;
  border-left: 3px solid var(--shellabef2-pink);
  background: rgba(255, 105, 180, 0.08);
  border-radius: 0 var(--shellabef2-radius) var(--shellabef2-radius) 0;
  font-size: 13px;
  color: var(--shellabef2-ink-soft);
}
.shellabef2-callout strong { color: var(--shellabef2-pink); }

.shellabef2-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 4px;
  display: grid;
  gap: 8px;
}
.shellabef2-list li {
  position: relative;
  padding: 9px 12px 9px 32px;
  background: var(--shellabef2-bg-card);
  border: 1px solid var(--shellabef2-line-soft);
  border-radius: 10px;
  font-size: 13px;
  color: var(--shellabef2-ink-soft);
  margin: 0;
}
.shellabef2-list li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--shellabef2-grad-brand);
  box-shadow: var(--shellabef2-glow-coral);
}
.shellabef2-list li strong { color: var(--shellabef2-ink); }

.shellabef2-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.shellabef2-stat {
  padding: 12px 8px;
  background: var(--shellabef2-bg-card);
  border: 1px solid var(--shellabef2-line-soft);
  border-radius: var(--shellabef2-radius);
  text-align: center;
}
.shellabef2-stat b {
  display: block;
  font-size: 19px;
  font-weight: 800;
  background: var(--shellabef2-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.shellabef2-stat span {
  display: block;
  font-size: 10.5px;
  color: var(--shellabef2-ink-mute);
  margin-top: 3px;
  letter-spacing: 0.4px;
}

/* ---------- Comparison table ---------- */
.shellabef2-compare {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 4px;
  font-size: 12.5px;
  background: var(--shellabef2-bg-card);
  border-radius: var(--shellabef2-radius);
  overflow: hidden;
  border: 1px solid var(--shellabef2-line-soft);
}
.shellabef2-compare th,
.shellabef2-compare td {
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid var(--shellabef2-line-soft);
  vertical-align: top;
  color: var(--shellabef2-ink-soft);
}
.shellabef2-compare th {
  background: rgba(240, 128, 128, 0.1);
  color: var(--shellabef2-coral);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.shellabef2-compare tr:last-child td { border-bottom: none; }

/* ---------- Inline promo strip ---------- */
.shellabef2-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin: 14px 0 4px;
  background: var(--shellabef2-grad-brand);
  border-radius: var(--shellabef2-radius);
  color: #1a0d12;
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 8px 22px rgba(255, 105, 180, 0.28);
  transition: transform 0.18s ease, box-shadow 0.25s ease;
}
.shellabef2-strip:hover { box-shadow: var(--shellabef2-glow-pink), 0 8px 22px rgba(255, 105, 180, 0.36); }
.shellabef2-strip:active { transform: scale(0.98); }
.shellabef2-strip-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(13, 17, 23, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.shellabef2-strip-ico svg { width: 20px; height: 20px; color: #1a0d12; }
.shellabef2-strip-txt { flex: 1; min-width: 0; }
.shellabef2-strip-txt b { display: block; font-size: 14px; font-weight: 800; }
.shellabef2-strip-txt span { display: block; font-size: 11.5px; opacity: 0.82; }
.shellabef2-strip-arrow { font-size: 18px; font-weight: 800; }

/* ---------- Extended footer (homepage) ---------- */
.shellabef2-ext {
  margin: 26px 0 18px;
  border-radius: var(--shellabef2-radius-lg);
  overflow: hidden;
  background: var(--shellabef2-bg-soft);
  border: 1px solid var(--shellabef2-line-soft);
}
.shellabef2-ext-block {
  padding: 16px 14px;
  border-bottom: 1px solid var(--shellabef2-line-soft);
}
.shellabef2-ext-block:last-child { border-bottom: none; }
.shellabef2-ext-block h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--shellabef2-coral);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.shellabef2-ext-block h3 svg { width: 16px; height: 16px; }
.shellabef2-ext-block p {
  font-size: 12.5px;
  color: var(--shellabef2-ink-soft);
  margin: 0 0 10px;
}

.shellabef2-directory {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.shellabef2-directory a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  background: var(--shellabef2-bg-card);
  border: 1px solid var(--shellabef2-line-soft);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  color: var(--shellabef2-ink);
  min-height: 40px;
  transition: background 0.22s ease, box-shadow 0.25s ease, border-color 0.22s ease;
}
.shellabef2-directory a:hover {
  border-color: var(--shellabef2-line);
  box-shadow: var(--shellabef2-glow-coral);
}
.shellabef2-directory a svg { width: 14px; height: 14px; color: var(--shellabef2-pink); flex-shrink: 0; }

.shellabef2-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.shellabef2-promo-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--shellabef2-bg-card);
  border: 1px solid var(--shellabef2-line);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--shellabef2-ink);
  -webkit-tap-highlight-color: transparent;
  min-height: 56px;
  transition: transform 0.18s ease, box-shadow 0.25s ease;
}
.shellabef2-promo-card:hover { box-shadow: var(--shellabef2-glow-pink); transform: translateY(-2px); }
.shellabef2-promo-card:active { transform: scale(0.97); }
.shellabef2-promo-card-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--shellabef2-grad-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.shellabef2-promo-card-ico svg { width: 18px; height: 18px; color: #1a0d12; }
.shellabef2-promo-card b { display: block; font-size: 12.5px; font-weight: 800; }
.shellabef2-promo-card span { display: block; font-size: 10.5px; color: var(--shellabef2-ink-mute); }

.shellabef2-disclaimer {
  font-size: 11.5px;
  color: var(--shellabef2-ink-mute);
  line-height: 1.55;
  background: rgba(13, 17, 23, 0.5);
  border: 1px dashed var(--shellabef2-line);
  padding: 11px 12px;
  border-radius: 10px;
}
.shellabef2-disclaimer strong { color: var(--shellabef2-coral); }

/* ---------- Common footer ---------- */
.shellabef2-footer {
  padding: 18px 14px 14px;
  text-align: center;
  background: var(--shellabef2-bg-soft);
  border-top: 1px solid var(--shellabef2-line-soft);
}
.shellabef2-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.shellabef2-footer-brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}
.shellabef2-footer-brand b {
  font-size: 13px;
  color: var(--shellabef2-ink);
  background: var(--shellabef2-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.shellabef2-footer-copy {
  font-size: 11px;
  color: var(--shellabef2-ink-mute);
  margin: 0;
}

/* ---------- Bottom navigation (suspended dock) ---------- */
.shellabef2-bottom {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  width: calc(100% - 20px);
  max-width: calc(var(--shellabef2-max) - 20px);
  height: var(--shellabef2-bottom-h);
  background: rgba(19, 26, 36, 0.96);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid var(--shellabef2-line);
  border-radius: 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  z-index: 65;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(240, 128, 128, 0.08);
  padding: 0 4px;
}

.shellabef2-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  background: transparent;
  border: none;
  color: var(--shellabef2-ink-mute);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  padding: 6px 2px 4px;
  text-decoration: none;
  border-radius: 14px;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  transition: color 0.22s ease, transform 0.18s ease;
  font-family: inherit;
}
.shellabef2-bottom-item:hover { color: var(--shellabef2-coral); }
.shellabef2-bottom-item:active { transform: scale(0.9); }
.shellabef2-bottom-item svg {
  width: 22px;
  height: 22px;
  transition: filter 0.25s ease, transform 0.25s ease;
}
.shellabef2-bottom-item .shellabef2-b-ico {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease, border-radius 0.25s ease;
}
/* Dual-color corner accents: coral + pink halves */
.shellabef2-bottom-item .shellabef2-b-coral { color: var(--shellabef2-coral); }
.shellabef2-bottom-item .shellabef2-b-pink { color: var(--shellabef2-pink); }

.shellabef2-bottom-item.is-active { color: var(--shellabef2-ink); }
.shellabef2-bottom-item.is-active::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: var(--shellabef2-grad-brand);
  box-shadow: var(--shellabef2-glow-pink);
}
/* Active state: icon fill change (solid pill behind icon) */
.shellabef2-bottom-item.is-active .shellabef2-b-ico {
  background: var(--shellabef2-grad-brand);
  border-radius: 10px;
  padding: 3px;
  box-shadow: var(--shellabef2-glow-coral);
}
.shellabef2-bottom-item.is-active .shellabef2-b-ico svg { color: #1a0d12; }

/* Promo items keep a persistent pink tone */
.shellabef2-bottom-item.shellabef2-b-promo { color: var(--shellabef2-pink); }
.shellabef2-bottom-item.shellabef2-b-promo:hover {
  box-shadow: var(--shellabef2-glow-pink);
  border-radius: 14px;
}

/* ---------- Back to top ---------- */
.shellabef2-top-btn {
  position: fixed;
  right: 14px;
  bottom: calc(var(--shellabef2-bottom-h) + 22px);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--shellabef2-grad-brand);
  border: none;
  color: #1a0d12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 64;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 22px rgba(255, 105, 180, 0.4);
}
.shellabef2-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.shellabef2-top-btn:hover { box-shadow: var(--shellabef2-glow-pink); }
.shellabef2-top-btn svg { width: 20px; height: 20px; }

/* ---------- Utility ---------- */
.shellabef2-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 380px) {
  .shellabef2-hero-dots { display: block; }
  .shellabef2-h1 { font-size: 27px; }
}

@media (max-width: 360px) {
  .shellabef2-promo-grid { grid-template-columns: 1fr; }
  .shellabef2-section { padding: 16px 12px; }
  .shellabef2-main { padding-left: 12px; padding-right: 12px; }
}

/* ---------- Help page compositions ---------- */
.shellabef2-help-hero {
  margin: 4px 0 18px;
  padding: 18px 16px;
  background: linear-gradient(145deg, rgba(240, 128, 128, 0.16), rgba(255, 105, 180, 0.07) 48%, var(--shellabef2-bg-soft));
  border: 1px solid var(--shellabef2-line);
  border-radius: 18px 8px 18px 8px;
}
.shellabef2-help-hero h1 { margin: 8px 0 10px; }
.shellabef2-help-hero p { color: var(--shellabef2-ink-soft); font-size: 14px; margin: 0; }
.shellabef2-help-kicker { color: var(--shellabef2-pink); font-size: 10px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.shellabef2-help-section { margin: 18px 0; padding: 16px 14px; background: var(--shellabef2-bg-soft); border-left: 3px solid var(--shellabef2-coral); border-radius: 4px 16px 16px 4px; }
.shellabef2-help-section h2 { font-size: 18px; color: var(--shellabef2-ink); margin-bottom: 9px; }
.shellabef2-help-section h3 { font-size: 15px; color: var(--shellabef2-coral); margin: 14px 0 5px; }
.shellabef2-help-section p { color: var(--shellabef2-ink-soft); font-size: 13.5px; }
.shellabef2-help-section a { color: var(--shellabef2-pink); font-weight: 700; }
.shellabef2-help-steps { counter-reset: helpstep; display: grid; gap: 9px; margin: 10px 0 4px; }
.shellabef2-help-step { counter-increment: helpstep; display: grid; grid-template-columns: 32px 1fr; gap: 9px; align-items: start; padding: 10px; background: var(--shellabef2-bg-card); border: 1px solid var(--shellabef2-line-soft); border-radius: 10px; }
.shellabef2-help-step::before { content: counter(helpstep, decimal-leading-zero); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--shellabef2-grad-brand); color: #1a0d12; font-size: 11px; font-weight: 900; }
.shellabef2-help-step b { display: block; color: var(--shellabef2-ink); font-size: 13px; margin-bottom: 2px; }
.shellabef2-help-step span { color: var(--shellabef2-ink-soft); font-size: 12.5px; }
.shellabef2-help-terms { display: grid; gap: 7px; margin: 8px 0; }
.shellabef2-help-term { padding: 10px 11px; border-bottom: 1px solid var(--shellabef2-line-soft); }
.shellabef2-help-term b { color: var(--shellabef2-pink); font-size: 13px; }
.shellabef2-help-term span { display: block; color: var(--shellabef2-ink-soft); font-size: 12.5px; margin-top: 2px; }
.shellabef2-help-mistakes { display: grid; gap: 8px; }
.shellabef2-help-mistake { padding: 11px; background: rgba(240, 128, 128, 0.07); border: 1px solid rgba(240, 128, 128, 0.22); border-radius: 10px; }
.shellabef2-help-mistake b { color: var(--shellabef2-coral); display: block; font-size: 13px; }
.shellabef2-help-mistake span { color: var(--shellabef2-ink-soft); font-size: 12.5px; }
.shellabef2-help-promo { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; margin: 12px 0; padding: 11px 13px; border: 1px solid var(--shellabef2-line); border-radius: 4px 12px 4px 12px; background: var(--shellabef2-bg-card); color: var(--shellabef2-ink); text-align: left; font: inherit; cursor: pointer; }
.shellabef2-help-promo:hover, .shellabef2-help-promo:focus-visible { box-shadow: var(--shellabef2-glow-pink); border-color: var(--shellabef2-pink); }
.shellabef2-help-promo strong { color: var(--shellabef2-pink); font-size: 13px; }
.shellabef2-help-promo span { display: block; color: var(--shellabef2-ink-mute); font-size: 11px; }
.shellabef2-help-promo svg { width: 22px; height: 22px; color: var(--shellabef2-coral); flex-shrink: 0; }
.shellabef2-help-answer { padding: 13px; margin: 10px 0; background: linear-gradient(135deg, rgba(255, 105, 180, 0.13), rgba(240, 128, 128, 0.06)); border: 1px solid var(--shellabef2-line); border-radius: 12px; }
.shellabef2-help-answer strong { color: var(--shellabef2-pink); }
.shellabef2-help-matrix { width: 100%; border-collapse: collapse; font-size: 12px; }
.shellabef2-help-matrix th, .shellabef2-help-matrix td { padding: 9px 8px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--shellabef2-line-soft); color: var(--shellabef2-ink-soft); }
.shellabef2-help-matrix th { color: var(--shellabef2-coral); font-size: 10px; letter-spacing: .5px; text-transform: uppercase; }
.shellabef2-help-matrix td:first-child { color: var(--shellabef2-ink); font-weight: 700; }
.shellabef2-help-choices { display: grid; gap: 8px; }
.shellabef2-help-choice { padding: 10px 12px; border: 1px solid var(--shellabef2-line-soft); border-radius: 10px; background: var(--shellabef2-bg-card); }
.shellabef2-help-choice b { color: var(--shellabef2-coral); }
.shellabef2-help-choice p { margin: 3px 0 0; font-size: 12.5px; }

/* Honor reduced motion preferences. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
