/* chrome-mobile-bd364b.css
 * Nimo Gaming - mobile-first stylesheet (320-430px canvas).
 * Palette: #9AFF9A mint | #CD853F bronze | #FFE4B5 moccasin |
 *          #006400 dark green | #333333 graphite.
 * Every custom class and variable carries the shelld364b- prefix.
 */

:root {
  --shelld364b-mint: #9aff9a;
  --shelld364b-bronze: #cd853f;
  --shelld364b-moccasin: #ffe4b5;
  --shelld364b-green: #006400;
  --shelld364b-graphite: #333333;
  --shelld364b-bg: #051605;
  --shelld364b-bg-soft: #0e2a0e;
  --shelld364b-card: #14301a;
  --shelld364b-card-2: #1b3a22;
  --shelld364b-border: #2c5230;
  --shelld364b-text: #ffe9c7;
  --shelld364b-muted: #a9c8a9;
  --shelld364b-glow: rgba(154, 255, 154, 0.18);
  --shelld364b-bronze-soft: rgba(205, 133, 63, 0.22);
  --shelld364b-radius: 14px;
  --shelld364b-radius-sm: 10px;
  --shelld364b-header-h: 58px;
  --shelld364b-bottom-h: 64px;
  --shelld364b-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shelld364b-max: 430px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 50% -10%, #0d2a10 0%, var(--shelld364b-bg) 55%);
  color: var(--shelld364b-text);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Center the mobile canvas on wider screens without expanding into desktop. */
.shelld364b-shell {
  max-width: var(--shelld364b-max);
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(180deg, #071a07 0%, #06120a 100%);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
  position: relative;
}

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

a {
  color: var(--shelld364b-mint);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--shelld364b-mint);
  outline-offset: 2px;
}

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

/* ===== Header ===== */
.shelld364b-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--shelld364b-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  background: linear-gradient(180deg, #07260a 0%, #04150a 100%);
  border-bottom: 2px solid var(--shelld364b-bronze);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.shelld364b-menu-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--shelld364b-border);
  background: var(--shelld364b-card);
  border-radius: 10px;
  color: var(--shelld364b-moccasin);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.shelld364b-menu-btn:hover,
.shelld364b-menu-btn:active {
  background: var(--shelld364b-bronze);
  color: #051605;
  transform: scale(1.04);
}

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

.shelld364b-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--shelld364b-bronze);
  background: #0a1f0a;
  flex-shrink: 0;
}

.shelld364b-brand-name {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.3px;
  color: var(--shelld364b-moccasin);
  text-transform: lowercase;
  white-space: nowrap;
}

.shelld364b-brand-name span {
  color: var(--shelld364b-mint);
}

.shelld364b-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.shelld364b-login,
.shelld364b-register {
  border: none;
  border-radius: 999px;
  height: 36px;
  padding: 0 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  min-width: 64px;
}

.shelld364b-login {
  background: transparent;
  color: var(--shelld364b-moccasin);
  border: 1px solid var(--shelld364b-bronze);
}

.shelld364b-login:hover,
.shelld364b-login:active {
  background: var(--shelld364b-bronze-soft);
  transform: translateY(-1px);
}

.shelld364b-register {
  background: linear-gradient(135deg, #e0934c 0%, var(--shelld364b-bronze) 100%);
  color: #1a0a00;
  box-shadow: 0 4px 12px rgba(205, 133, 63, 0.45);
}

.shelld364b-register:hover,
.shelld364b-register:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(205, 133, 63, 0.6);
}

/* ===== Slide-up route panel ===== */
.shelld364b-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 2, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 45;
}

.shelld364b-backdrop-on {
  opacity: 1;
  visibility: visible;
}

.shelld364b-route-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: var(--shelld364b-max);
  margin: 0 auto;
  background: linear-gradient(180deg, #0e2a0e 0%, #06160a 100%);
  border-top: 3px solid var(--shelld364b-bronze);
  border-radius: 22px 22px 0 0;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 50;
  max-height: 78vh;
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
}

.shelld364b-panel-open {
  transform: translateY(0);
}

.shelld364b-panel-handle {
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: var(--shelld364b-bronze);
  margin: -8px auto 14px;
  opacity: 0.7;
}

.shelld364b-panel-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--shelld364b-mint);
  margin: 0 0 12px;
  font-weight: 700;
}

.shelld364b-panel-group {
  margin-bottom: 16px;
}

.shelld364b-panel-group-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--shelld364b-muted);
  margin: 0 0 8px;
}

.shelld364b-panel-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.shelld364b-panel-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: var(--shelld364b-radius-sm);
  background: var(--shelld364b-card);
  border: 1px solid var(--shelld364b-border);
  color: var(--shelld364b-moccasin);
  font-size: 13px;
  font-weight: 600;
  min-height: 44px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.shelld364b-panel-link:hover,
.shelld364b-panel-link:active {
  background: var(--shelld364b-card-2);
  border-color: var(--shelld364b-bronze);
  color: var(--shelld364b-mint);
  transform: translateY(-1px);
}

.shelld364b-panel-link svg {
  width: 18px;
  height: 18px;
  color: var(--shelld364b-bronze);
  flex-shrink: 0;
}

.shelld364b-panel-promo {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #2a4a18 0%, #1a3416 100%);
  border-color: var(--shelld364b-mint);
}

.shelld364b-panel-promo svg {
  color: var(--shelld364b-mint);
}

.shelld364b-panel-close {
  margin-top: 6px;
  width: 100%;
  height: 44px;
  border: 1px solid var(--shelld364b-border);
  background: var(--shelld364b-card);
  color: var(--shelld364b-moccasin);
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.shelld364b-panel-close:active {
  background: var(--shelld364b-card-2);
}

/* ===== Main layout ===== */
.shelld364b-main {
  padding: 16px 12px calc(var(--shelld364b-bottom-h) + 24px);
}

.shelld364b-hero {
  background: linear-gradient(135deg, #10361a 0%, #08200e 100%);
  border: 1px solid var(--shelld364b-border);
  border-radius: var(--shelld364b-radius);
  padding: 18px 16px;
  margin-bottom: 16px;
  box-shadow: var(--shelld364b-shadow);
}

.shelld364b-hero h1 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
  color: var(--shelld364b-moccasin);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.shelld364b-hero h1 em {
  font-style: normal;
  color: var(--shelld364b-mint);
}

.shelld364b-hero p {
  margin: 0 0 12px;
  color: var(--shelld364b-muted);
  font-size: 14px;
  line-height: 1.6;
}

.shelld364b-hero-cta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shelld364b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.shelld364b-btn-primary {
  background: linear-gradient(135deg, #e0934c 0%, var(--shelld364b-bronze) 100%);
  color: #1a0a00;
  box-shadow: 0 4px 14px rgba(205, 133, 63, 0.5);
}

.shelld364b-btn-primary:active {
  transform: translateY(-1px);
}

.shelld364b-btn-ghost {
  background: transparent;
  color: var(--shelld364b-mint);
  border: 1px solid var(--shelld364b-mint);
}

.shelld364b-btn-ghost:active {
  background: var(--shelld364b-glow);
}

/* ===== Carousel ===== */
.shelld364b-carousel {
  position: relative;
  margin-bottom: 18px;
  border-radius: var(--shelld364b-radius);
  overflow: hidden;
  border: 1px solid var(--shelld364b-border);
  box-shadow: var(--shelld364b-shadow);
}

.shelld364b-viewport {
  overflow: hidden;
}

.shelld364b-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.shelld364b-slide {
  min-width: 100%;
  position: relative;
}

.shelld364b-slide a {
  display: block;
  width: 100%;
}

.shelld364b-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0a1f0a;
}

.shelld364b-slide-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  background: linear-gradient(0deg, rgba(5, 12, 5, 0.86) 0%, rgba(5, 12, 5, 0) 100%);
  color: var(--shelld364b-moccasin);
  padding: 26px 12px 8px;
  border-radius: 0 0 12px 12px;
  pointer-events: none;
}

.shelld364b-slide-caption strong {
  display: block;
  font-size: 15px;
  color: var(--shelld364b-mint);
  font-weight: 800;
}

.shelld364b-slide-caption span {
  font-size: 12px;
  color: var(--shelld364b-muted);
}

.shelld364b-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}

.shelld364b-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 228, 181, 0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.2s ease;
}

.shelld364b-dot-on {
  background: var(--shelld364b-mint);
  transform: scale(1.25);
}

/* ===== Category filter chips ===== */
.shelld364b-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 10px;
  margin: 0 0 4px;
  scrollbar-width: none;
}

.shelld364b-chips::-webkit-scrollbar {
  display: none;
}

.shelld364b-chip {
  flex-shrink: 0;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--shelld364b-card);
  border: 1px solid var(--shelld364b-border);
  color: var(--shelld364b-moccasin);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-transform: capitalize;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.shelld364b-chip-on,
.shelld364b-chip:active {
  background: var(--shelld364b-bronze);
  color: #1a0a00;
  border-color: var(--shelld364b-bronze);
}

/* ===== Category sections & game grid ===== */
.shelld364b-cat-block {
  margin-bottom: 22px;
}

.shelld364b-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 2px 12px;
}

.shelld364b-cat-head h2 {
  margin: 0;
  font-size: 17px;
  color: var(--shelld364b-moccasin);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.shelld364b-cat-head h2 span {
  color: var(--shelld364b-bronze);
}

.shelld364b-cat-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--shelld364b-mint);
  background: var(--shelld364b-glow);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(154, 255, 154, 0.35);
}

.shelld364b-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (min-width: 360px) {
  .shelld364b-game-grid {
    gap: 10px;
  }
}

@media (min-width: 400px) {
  .shelld364b-game-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.shelld364b-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px;
  border-radius: var(--shelld364b-radius-sm);
  background: var(--shelld364b-card);
  border: 1px solid var(--shelld364b-border);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  min-width: 0;
}

.shelld364b-game:hover,
.shelld364b-game:active {
  transform: translateY(-2px);
  border-color: var(--shelld364b-bronze);
  background: var(--shelld364b-card-2);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.shelld364b-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #0a1f0a;
  pointer-events: none;
}

.shelld364b-game-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--shelld364b-moccasin);
  text-align: center;
  line-height: 1.25;
  min-height: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  pointer-events: none;
  word-break: break-word;
}

/* ===== Content sections ===== */
.shelld364b-section {
  background: var(--shelld364b-card);
  border: 1px solid var(--shelld364b-border);
  border-radius: var(--shelld364b-radius);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shelld364b-shadow);
}

.shelld364b-section h2 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--shelld364b-moccasin);
  font-weight: 800;
}

.shelld364b-section h2 em {
  font-style: normal;
  color: var(--shelld364b-mint);
}

.shelld364b-section h3 {
  margin: 14px 0 6px;
  font-size: 15px;
  color: var(--shelld364b-bronze);
  font-weight: 700;
}

.shelld364b-section p {
  margin: 0 0 10px;
  color: var(--shelld364b-text);
  font-size: 14px;
  line-height: 1.7;
}

.shelld364b-section p:last-child {
  margin-bottom: 0;
}

.shelld364b-section a {
  color: var(--shelld364b-mint);
  font-weight: 600;
  border-bottom: 1px dashed rgba(154, 255, 154, 0.5);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.shelld364b-section a:hover,
.shelld364b-section a:active {
  color: var(--shelld364b-moccasin);
  border-bottom-color: var(--shelld364b-moccasin);
}

.shelld364b-inline-link {
  color: var(--shelld364b-mint);
  font-weight: 700;
  border-bottom: 1px dashed rgba(154, 255, 154, 0.55);
}

/* Feature comparison cards */
.shelld364b-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.shelld364b-feature {
  background: var(--shelld364b-bg-soft);
  border: 1px solid var(--shelld364b-border);
  border-radius: var(--shelld364b-radius-sm);
  padding: 12px;
}

.shelld364b-feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--shelld364b-bronze-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: var(--shelld364b-bronze);
}

.shelld364b-feature h3 {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--shelld364b-moccasin);
}

.shelld364b-feature p {
  margin: 0;
  font-size: 12.5px;
  color: var(--shelld364b-muted);
  line-height: 1.55;
}

/* Scannable list */
.shelld364b-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}

.shelld364b-list li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 13.5px;
  color: var(--shelld364b-text);
  border-bottom: 1px dashed rgba(44, 82, 48, 0.7);
}

.shelld364b-list li:last-child {
  border-bottom: none;
}

.shelld364b-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--shelld364b-bronze);
  box-shadow: 0 0 0 3px var(--shelld364b-bronze-soft);
}

/* Style comparison table */
.shelld364b-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 4px;
}

.shelld364b-compare-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: var(--shelld364b-radius-sm);
  background: var(--shelld364b-bg-soft);
  border: 1px solid var(--shelld364b-border);
}

.shelld364b-compare-key {
  font-weight: 800;
  color: var(--shelld364b-mint);
  font-size: 13px;
}

.shelld364b-compare-val {
  font-size: 13px;
  color: var(--shelld364b-text);
  line-height: 1.55;
}

/* RTP meter */
.shelld364b-meter {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.shelld364b-meter-row {
  display: grid;
  grid-template-columns: 76px 1fr 44px;
  gap: 8px;
  align-items: center;
}

.shelld364b-meter-label {
  font-size: 12px;
  color: var(--shelld364b-moccasin);
  font-weight: 700;
}

.shelld364b-meter-bar {
  height: 8px;
  border-radius: 8px;
  background: #0a1f0a;
  overflow: hidden;
  border: 1px solid var(--shelld364b-border);
}

.shelld364b-meter-fill {
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--shelld364b-bronze) 0%, var(--shelld364b-mint) 100%);
}

.shelld364b-meter-val {
  font-size: 12px;
  color: var(--shelld364b-mint);
  font-weight: 800;
  text-align: right;
}

/* Mobile access steps */
.shelld364b-steps {
  counter-reset: visit364b0step;
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}

.shelld364b-steps li {
  position: relative;
  padding: 8px 0 8px 38px;
  font-size: 13.5px;
  color: var(--shelld364b-text);
  line-height: 1.6;
  border-bottom: 1px dashed rgba(44, 82, 48, 0.7);
  counter-increment: visit364b0step;
}

.shelld364b-steps li:last-child {
  border-bottom: none;
}

.shelld364b-steps li::before {
  content: counter(visit364b0step);
  position: absolute;
  left: 0;
  top: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--shelld364b-bronze);
  color: #1a0a00;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Inline promo strip */
.shelld364b-promo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(135deg, #1c3a14 0%, #10301a 100%);
  border: 1px solid var(--shelld364b-mint);
  border-radius: var(--shelld364b-radius);
  padding: 12px 14px;
  margin: 0 0 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.shelld364b-promo-strip-text {
  min-width: 0;
}

.shelld364b-promo-strip-text strong {
  display: block;
  color: var(--shelld364b-mint);
  font-size: 14px;
  font-weight: 800;
}

.shelld364b-promo-strip-text span {
  display: block;
  color: var(--shelld364b-muted);
  font-size: 12px;
  margin-top: 2px;
}

/* ===== Extended footer ===== */
.shelld364b-extended {
  background: linear-gradient(180deg, #0a2210 0%, #06140a 100%);
  border: 1px solid var(--shelld364b-border);
  border-radius: var(--shelld364b-radius);
  padding: 16px;
  margin: 8px 0 14px;
}

.shelld364b-ext-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.shelld364b-ext-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--shelld364b-bronze);
}

.shelld364b-ext-brand-text strong {
  display: block;
  color: var(--shelld364b-moccasin);
  font-size: 14px;
  font-weight: 800;
}

.shelld364b-ext-brand-text span {
  display: block;
  color: var(--shelld364b-muted);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 2px;
}

.shelld364b-ext-group {
  margin-bottom: 14px;
}

.shelld364b-ext-group:last-child {
  margin-bottom: 0;
}

.shelld364b-ext-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--shelld364b-mint);
  margin: 0 0 8px;
  font-weight: 700;
}

.shelld364b-ext-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.shelld364b-ext-dir a {
  display: block;
  padding: 9px 11px;
  border-radius: var(--shelld364b-radius-sm);
  background: var(--shelld364b-card);
  border: 1px solid var(--shelld364b-border);
  color: var(--shelld364b-moccasin);
  font-size: 12px;
  font-weight: 600;
  min-height: 38px;
  display: flex;
  align-items: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.shelld364b-ext-dir a:hover,
.shelld364b-ext-dir a:active {
  background: var(--shelld364b-card-2);
  color: var(--shelld364b-mint);
  border-color: var(--shelld364b-bronze);
}

.shelld364b-ext-promos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.shelld364b-ext-promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  border-radius: var(--shelld364b-radius-sm);
  background: linear-gradient(135deg, #1f3a14 0%, #122410 100%);
  border: 1px solid rgba(154, 255, 154, 0.35);
  color: var(--shelld364b-moccasin);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.25s ease, background 0.25s ease;
}

.shelld364b-ext-promo:active {
  transform: translateY(-2px);
  border-color: var(--shelld364b-bronze);
}

.shelld364b-ext-promo svg {
  width: 20px;
  height: 20px;
  color: var(--shelld364b-mint);
}

.shelld364b-ext-promo span {
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.shelld364b-disclaimer {
  margin-top: 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--shelld364b-bronze);
  background: rgba(205, 133, 63, 0.08);
  border-radius: 0 8px 8px 0;
  font-size: 11.5px;
  color: var(--shelld364b-muted);
  line-height: 1.6;
}

/* ===== Common footer ===== */
.shelld364b-footer {
  text-align: center;
  padding: 14px 12px 6px;
  color: var(--shelld364b-muted);
  font-size: 11.5px;
  border-top: 1px solid var(--shelld364b-border);
  margin: 0 12px;
}

.shelld364b-footer strong {
  color: var(--shelld364b-moccasin);
}

/* ===== Bottom navigation ===== */
.shelld364b-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  max-width: var(--shelld364b-max);
  margin: 0 auto;
  height: var(--shelld364b-bottom-h);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  background: linear-gradient(180deg, #08280c 0%, #04150a 100%);
  border-top: 2px solid var(--shelld364b-bronze);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.55);
  padding-bottom: env(safe-area-inset-bottom);
}

.shelld364b-bottom-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent;
  border: none;
  color: var(--shelld364b-muted);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 2px 4px;
  min-height: 44px;
  text-decoration: none;
  transition: color 0.25s ease;
}

.shelld364b-bottom-btn svg {
  width: 22px;
  height: 22px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.shelld364b-bottom-btn:active {
  color: var(--shelld364b-moccasin);
}

.shelld364b-bottom-btn:active svg {
  transform: translateY(-2px);
}

/* Top indicator line for the active route. */
.shelld364b-bottom-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--shelld364b-bronze);
  transition: width 0.3s ease;
}

.shelld364b-bottom-active {
  color: var(--shelld364b-mint);
}

.shelld364b-bottom-active::before {
  width: 28px;
}

.shelld364b-bottom-active svg {
  color: var(--shelld364b-mint);
}

.shelld364b-bottom-promo svg {
  color: var(--shelld364b-bronze);
}

.shelld364b-bottom-promo.shelld364b-bottom-active svg {
  color: var(--shelld364b-mint);
}

/* Compact inline symbols keep help navigation legible without external icon assets. */
.shelld364b-panel-link:not(svg) {
  line-height: 1.35;
}

.shelld364b-feature-icon {
  font-size: 17px;
  font-weight: 800;
}

/* Light activation dot under the icon for promo entries. */
.shelld364b-bottom-promo::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--shelld364b-bronze);
  opacity: 0.8;
}
