/* ==========================================================================
   ak999.homes — base stylesheet
   File: css/display-adaptive-127e38.css
   Class prefix: shelle3840-
   Palette: #FFB6C1 (rose text) / #1C2833 (deep ink bg) / #FA8072 (flame accent)
   Direction: geometric headings + neutral body, pill buttons + square cards,
   grouped cover-card game shelves, compact metric-explanation rhythm,
   restrained CTA-only motion, full-width primary CTA.
   ========================================================================== */

/* ---------- design tokens ---------- */
:root {
  --shelle3840-ink: #1C2833;
  --shelle3840-ink-deep: #121a22;
  --shelle3840-ink-soft: #243240;
  --shelle3840-panel: #25323f;
  --shelle3840-panel-2: #2b3947;
  --shelle3840-rose: #FFB6C1;
  --shelle3840-rose-soft: rgba(255, 182, 193, 0.13);
  --shelle3840-rose-line: rgba(255, 182, 193, 0.22);
  --shelle3840-rose-line-2: rgba(255, 182, 193, 0.34);
  --shelle3840-flame: #FA8072;
  --shelle3840-flame-deep: #e0685a;
  --shelle3840-flame-soft: rgba(250, 128, 114, 0.16);
  --shelle3840-paper: #f6e9ec;
  --shelle3840-mist: #c6d2db;
  --shelle3840-mist-2: #9fb0bc;
  --shelle3840-radius-btn: 999px;
  --shelle3840-radius-card: 8px;
  --shelle3840-radius-soft: 12px;
  --shelle3840-font-head: "Avenir Next", "Futura", "Trebuchet MS", "Segoe UI", "Noto Sans Bengali", "Hind Siliguri", sans-serif;
  --shelle3840-font-body: -apple-system, "Helvetica Neue", "Segoe UI", Roboto, "Noto Sans Bengali", "Hind Siliguri", sans-serif;
  --shelle3840-topbar-h: 106px;
  --shelle3840-bottomnav-h: 64px;
  --shelle3840-pad-x: 12px;
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--shelle3840-ink-deep);
  color: var(--shelle3840-rose);
  font-family: var(--shelle3840-font-body);
  font-size: 15px;
  line-height: 1.62;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--shelle3840-font-head);
  color: var(--shelle3840-paper);
  line-height: 1.3;
  margin: 0 0 8px;
  letter-spacing: 0.2px;
}

p { margin: 0 0 10px; color: var(--shelle3840-mist); }
p strong, li strong { color: var(--shelle3840-paper); font-weight: 700; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--shelle3840-flame); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

button { font: inherit; color: inherit; }

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

::selection { background: var(--shelle3840-flame); color: #14100f; }

/* ---------- phone canvas (320-430px) ---------- */
.shelle3840-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 42% at 50% 0%, rgba(250, 128, 114, 0.10), transparent 62%),
    var(--shelle3840-ink);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

/* Wide screens keep the same mobile canvas, centered with a frame */
@media (min-width: 431px) {
  body { background: #0b1117; }
  .shelle3840-shell {
    box-shadow: 0 0 0 1px rgba(255, 182, 193, 0.12), 0 24px 60px rgba(0, 0, 0, 0.5);
  }
}

/* Main column clears fixed chrome at both ends */
.shelle3840-main {
  padding: calc(var(--shelle3840-topbar-h) + 12px) 0 calc(var(--shelle3840-bottomnav-h) + 26px);
}

.shelle3840-section { padding: 0 var(--shelle3840-pad-x) 22px; }

.shelle3840-lead { font-size: 14.5px; }

/* ---------- top bar: centered identity + action strip ---------- */
.shelle3840-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  background: linear-gradient(180deg, rgba(18, 26, 34, 0.97), rgba(28, 40, 51, 0.97));
  border-bottom: 1px solid var(--shelle3840-rose-line);
  backdrop-filter: blur(6px);
}

/* identity row: logo + name only, centered */
.shelle3840-identity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 56px;
  padding: 8px var(--shelle3840-pad-x) 4px;
}

.shelle3840-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--shelle3840-paper);
}

.shelle3840-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--shelle3840-rose-line-2);
  background: var(--shelle3840-ink-soft);
  object-fit: cover;
}

.shelle3840-brandName {
  font-family: var(--shelle3840-font-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--shelle3840-paper);
}

/* action row: register / login / drawer trigger live outside the identity area */
.shelle3840-actionStrip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px var(--shelle3840-pad-x) 9px;
}

.shelle3840-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--shelle3840-radius-btn);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.shelle3840-btnRegister {
  flex: 1 1 auto;
  background: linear-gradient(135deg, var(--shelle3840-flame), var(--shelle3840-flame-deep));
  color: #1c0f0d;
}

.shelle3840-btnLogin {
  flex: 0 0 auto;
  background: transparent;
  border-color: var(--shelle3840-rose-line-2);
  color: var(--shelle3840-rose);
}

/* restrained feedback budget: only key CTAs glow, only while pressed */
.shelle3840-btnRegister:active,
.shelle3840-cta:active {
  transform: translateY(1px);
  box-shadow: 0 0 16px rgba(250, 128, 114, 0.55);
}

.shelle3840-menuBtn {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--shelle3840-rose-soft);
  border: 1px solid var(--shelle3840-rose-line);
  border-radius: var(--shelle3840-radius-card);
  color: var(--shelle3840-rose);
  cursor: pointer;
}

.shelle3840-menuBtn svg { width: 20px; height: 20px; }

/* ---------- side drawer ---------- */
.shelle3840-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 14, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 80;
}

.shelle3840-backdrop.shelle3840-backdropOn { opacity: 1; visibility: visible; }

.shelle3840-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(84%, 316px);
  background: var(--shelle3840-ink-soft);
  border-left: 1px solid var(--shelle3840-rose-line);
  transform: translateX(102%);
  transition: transform 0.24s ease;
  z-index: 90;
  overflow-y: auto;
  padding: 16px 14px calc(var(--shelle3840-bottomnav-h) + 18px);
}

.shelle3840-drawer.shelle3840-drawerOn { transform: translateX(0); }

.shelle3840-drawerHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.shelle3840-drawerTitle {
  font-family: var(--shelle3840-font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--shelle3840-paper);
}

.shelle3840-drawerClose {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--shelle3840-radius-card);
  background: var(--shelle3840-rose-soft);
  border: 1px solid var(--shelle3840-rose-line);
  color: var(--shelle3840-rose);
  cursor: pointer;
}

.shelle3840-drawerClose svg { width: 18px; height: 18px; }

.shelle3840-drawerGroup { margin-bottom: 14px; }

.shelle3840-drawerLabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--shelle3840-flame);
  padding: 6px 4px;
}

.shelle3840-drawerLink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 10px;
  border-radius: var(--shelle3840-radius-card);
  color: var(--shelle3840-mist);
  font-weight: 600;
  font-size: 14.5px;
}

.shelle3840-drawerLink:hover,
.shelle3840-drawerLink:focus-visible {
  background: var(--shelle3840-rose-soft);
  text-decoration: none;
}

.shelle3840-drawerLink.shelle3840-drawerHere {
  background: var(--shelle3840-flame-soft);
  color: var(--shelle3840-paper);
}

.shelle3840-drawerDot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shelle3840-flame);
  flex: 0 0 6px;
}

/* ---------- hero ---------- */
.shelle3840-hero { padding: 2px var(--shelle3840-pad-x) 18px; }

.shelle3840-heroTitle { font-size: 25px; margin-bottom: 10px; }

.shelle3840-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  margin: 4px 0 14px;
  border: 0;
  border-radius: var(--shelle3840-radius-btn);
  background: linear-gradient(135deg, var(--shelle3840-flame), var(--shelle3840-flame-deep));
  color: #20110e;
  font-family: var(--shelle3840-font-head);
  font-size: 16.5px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.16s ease;
}

.shelle3840-cta svg { width: 19px; height: 19px; }

/* ---------- promo carousel ---------- */
.shelle3840-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--shelle3840-radius-soft);
  border: 1px solid var(--shelle3840-rose-line);
  background: var(--shelle3840-panel);
}

.shelle3840-track {
  display: flex;
  transition: transform 0.32s ease;
}

.shelle3840-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}

.shelle3840-slide img {
  width: 100%;
  aspect-ratio: 10 / 5;
  object-fit: cover;
}

.shelle3840-slideCap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(12, 18, 24, 0.88));
  color: var(--shelle3840-paper);
  font-family: var(--shelle3840-font-head);
  font-size: 14.5px;
  font-weight: 700;
}

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

.shelle3840-dot {
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 182, 193, 0.4);
  cursor: pointer;
}

.shelle3840-dot.shelle3840-dotOn { background: var(--shelle3840-flame); }

/* ---------- compact metric strip (metric + explanation rhythm) ---------- */
.shelle3840-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 14px 0 6px;
}

.shelle3840-metric {
  border: 1px solid var(--shelle3840-rose-line);
  border-radius: var(--shelle3840-radius-card);
  background: var(--shelle3840-panel);
  padding: 9px 10px;
}

.shelle3840-metricNum {
  display: block;
  font-family: var(--shelle3840-font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--shelle3840-flame);
  line-height: 1.2;
}

.shelle3840-metricTxt {
  display: block;
  font-size: 11.5px;
  color: var(--shelle3840-mist-2);
  line-height: 1.45;
  margin-top: 2px;
}

/* ---------- grouped cover-card game shelves ---------- */
.shelle3840-shelf {
  margin: 0 var(--shelle3840-pad-x) 24px;
  border: 1px solid var(--shelle3840-rose-line);
  border-radius: var(--shelle3840-radius-soft);
  background: var(--shelle3840-panel);
  overflow: hidden;
}

.shelle3840-shelfCover {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  background: linear-gradient(120deg, rgba(250, 128, 114, 0.20), rgba(255, 182, 193, 0.07) 58%, transparent);
  border-bottom: 1px solid var(--shelle3840-rose-line);
}

.shelle3840-shelfGlyph {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--shelle3840-flame-soft);
  border: 1px solid var(--shelle3840-rose-line-2);
  color: var(--shelle3840-flame);
}

.shelle3840-shelfGlyph svg { width: 21px; height: 21px; }

.shelle3840-shelfHead { flex: 1 1 auto; min-width: 0; }

.shelle3840-shelfTitle {
  margin: 0;
  font-family: var(--shelle3840-font-head);
  font-size: 16.5px;
  font-weight: 800;
  color: var(--shelle3840-paper);
}

.shelle3840-shelfNote {
  display: block;
  font-size: 11.5px;
  color: var(--shelle3840-mist-2);
  line-height: 1.4;
  margin-top: 2px;
}

.shelle3840-count {
  flex: 0 0 auto;
  font-family: var(--shelle3840-font-head);
  font-size: 12px;
  font-weight: 800;
  color: #20110e;
  background: var(--shelle3840-rose);
  border-radius: var(--shelle3840-radius-btn);
  padding: 3px 10px;
}

.shelle3840-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 6px;
  padding: 11px 10px 13px;
}

@media (min-width: 375px) {
  .shelle3840-grid { grid-template-columns: repeat(5, 1fr); gap: 12px 8px; }
}

.shelle3840-game {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: center;
  min-width: 0;
}

.shelle3840-cv {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--shelle3840-radius-card);
  overflow: hidden;
  border: 1px solid var(--shelle3840-rose-line);
  background: var(--shelle3840-panel-2);
}

.shelle3840-cv img { width: 100%; height: 100%; object-fit: cover; }

.shelle3840-gn {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.32;
  color: var(--shelle3840-mist);
  margin-top: 5px;
  min-height: 28px;
  font-weight: 600;
}

/* ---------- info modules ---------- */
.shelle3840-module {
  margin: 0 var(--shelle3840-pad-x) 24px;
  border: 1px solid var(--shelle3840-rose-line);
  border-radius: var(--shelle3840-radius-soft);
  background: var(--shelle3840-panel);
  padding: 14px 13px 8px;
}

.shelle3840-h2 {
  font-size: 19px;
  margin-bottom: 9px;
}

/* player quotes */
.shelle3840-quote {
  border-left: 3px solid var(--shelle3840-flame);
  background: var(--shelle3840-ink-soft);
  border-radius: 0 var(--shelle3840-radius-card) var(--shelle3840-radius-card) 0;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.shelle3840-quote p { margin: 0 0 6px; font-size: 13.5px; color: var(--shelle3840-mist); }

.shelle3840-quoteWho {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--shelle3840-rose);
}

.shelle3840-quoteTag {
  font-size: 10.5px;
  font-weight: 700;
  color: #20110e;
  background: var(--shelle3840-rose);
  border-radius: var(--shelle3840-radius-btn);
  padding: 2px 9px;
}

/* trust checklist: term chip + explanation */
.shelle3840-trustRow {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px dashed var(--shelle3840-rose-line);
}

.shelle3840-trustRow:last-child { border-bottom: 0; }

.shelle3840-trustKey {
  flex: 0 0 96px;
  font-family: var(--shelle3840-font-head);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--shelle3840-flame);
  line-height: 1.35;
  padding-top: 2px;
}

.shelle3840-trustVal {
  flex: 1 1 auto;
  font-size: 13px;
  color: var(--shelle3840-mist);
  line-height: 1.55;
}

/* faq accordion */
.shelle3840-faq {
  border: 1px solid var(--shelle3840-rose-line);
  border-radius: var(--shelle3840-radius-card);
  background: var(--shelle3840-ink-soft);
  margin-bottom: 9px;
  overflow: hidden;
}

.shelle3840-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--shelle3840-paper);
  cursor: pointer;
  list-style: none;
}

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

.shelle3840-faq summary::after {
  content: "+";
  font-family: var(--shelle3840-font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--shelle3840-flame);
  flex: 0 0 auto;
}

.shelle3840-faq[open] summary::after { content: "−"; }

.shelle3840-faqBody {
  padding: 0 12px 12px;
  font-size: 13px;
  color: var(--shelle3840-mist);
  line-height: 1.6;
  margin: 0;
}

/* mobile steps */
.shelle3840-steps { counter-reset: shelle3840-step; }

.shelle3840-step {
  position: relative;
  counter-increment: shelle3840-step;
  padding: 0 0 12px 40px;
}

.shelle3840-step::before {
  content: counter(shelle3840-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--shelle3840-flame-soft);
  border: 1px solid var(--shelle3840-flame);
  color: var(--shelle3840-flame);
  font-family: var(--shelle3840-font-head);
  font-size: 13px;
  font-weight: 800;
}

.shelle3840-step strong {
  display: block;
  font-size: 13.5px;
  color: var(--shelle3840-paper);
}

.shelle3840-step span { font-size: 12.5px; color: var(--shelle3840-mist-2); }

/* criteria rows */
.shelle3840-crit {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px dashed var(--shelle3840-rose-line);
}

.shelle3840-crit:last-child { border-bottom: 0; }

.shelle3840-crit svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--shelle3840-flame);
}

.shelle3840-crit div { font-size: 13px; color: var(--shelle3840-mist); line-height: 1.55; }

/* entity relation map */
.shelle3840-rel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 375px) {
  .shelle3840-rel { grid-template-columns: repeat(2, 1fr); }
}

.shelle3840-relCard {
  border: 1px solid var(--shelle3840-rose-line);
  border-radius: var(--shelle3840-radius-card);
  background: var(--shelle3840-ink-soft);
  padding: 9px 10px;
}

.shelle3840-relFrom {
  display: block;
  font-family: var(--shelle3840-font-head);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--shelle3840-rose);
  margin-bottom: 3px;
}

.shelle3840-relCard p { font-size: 12.5px; margin: 0; line-height: 1.55; }

/* ---------- extended footer (index only) ---------- */
.shelle3840-ext {
  margin: 6px var(--shelle3840-pad-x) 18px;
  border: 1px solid var(--shelle3840-rose-line);
  border-radius: var(--shelle3840-radius-soft);
  background: var(--shelle3840-ink-soft);
  padding: 14px 12px 12px;
}

.shelle3840-extBrand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.shelle3840-extBrand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--shelle3840-rose-line-2);
}

.shelle3840-extBrand h2 {
  font-size: 17px;
  margin: 0;
}

.shelle3840-ext p { font-size: 12.5px; }

/* five horizontal promo shortcuts */
.shelle3840-shortcuts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.shelle3840-shortcut {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 88px;
  min-height: 66px;
  padding: 8px 10px;
  border-radius: var(--shelle3840-radius-card);
  border: 1px solid var(--shelle3840-rose-line-2);
  background: linear-gradient(160deg, rgba(250, 128, 114, 0.18), rgba(255, 182, 193, 0.06));
  color: var(--shelle3840-paper);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.shelle3840-shortcut svg { width: 20px; height: 20px; color: var(--shelle3840-flame); }

/* internal page directory */
.shelle3840-directory {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 4px 0 10px;
}

.shelle3840-directory a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 12px;
  border-radius: var(--shelle3840-radius-btn);
  border: 1px solid var(--shelle3840-rose-line);
  background: var(--shelle3840-panel);
  color: var(--shelle3840-mist);
  font-size: 12px;
  font-weight: 600;
}

.shelle3840-directory a:hover,
.shelle3840-directory a:focus-visible {
  border-color: var(--shelle3840-flame);
  color: var(--shelle3840-paper);
  text-decoration: none;
}

.shelle3840-extLabel {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--shelle3840-flame);
  margin: 6px 0 6px;
}

/* conditional disclaimer note */
.shelle3840-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  border-top: 1px dashed var(--shelle3840-rose-line);
  padding-top: 9px;
  font-size: 11.5px;
  color: var(--shelle3840-mist-2);
  line-height: 1.55;
}

.shelle3840-note svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--shelle3840-flame);
}

/* ---------- common footer ---------- */
.shelle3840-foot {
  text-align: center;
  padding: 10px var(--shelle3840-pad-x) 14px;
  border-top: 1px solid var(--shelle3840-rose-line);
  font-size: 11.5px;
  color: var(--shelle3840-mist-2);
}

.shelle3840-foot b { color: var(--shelle3840-rose); font-weight: 700; }

/* ---------- mobile bottom navigation (outlined function bar) ---------- */
.shelle3840-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 75;
  display: flex;
  background: rgba(18, 26, 34, 0.97);
  border-top: 1px solid var(--shelle3840-rose-line-2);
  padding: 4px 2px calc(4px + env(safe-area-inset-bottom));
  backdrop-filter: blur(6px);
}

.shelle3840-bnItem {
  flex: 1 1 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 56px;
  border: 0;
  background: none;
  border-radius: var(--shelle3840-radius-card);
  color: var(--shelle3840-mist-2);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.14s ease, color 0.14s ease;
}

.shelle3840-bnItem svg { width: 22px; height: 22px; }

/* light active marker + slight lift for the current role */
.shelle3840-bnItem.shelle3840-bnOn {
  color: var(--shelle3840-flame);
  transform: translateY(-2px);
}

.shelle3840-bnItem.shelle3840-bnOn::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: var(--shelle3840-radius-btn);
  background: var(--shelle3840-flame);
  box-shadow: 0 0 8px rgba(250, 128, 114, 0.6);
}

.shelle3840-bnItem:active { color: var(--shelle3840-rose); }

a.shelle3840-bnItem:hover { text-decoration: none; }

/* ---------- motion & misc ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

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

/* Long Bengali game names keep controlled wrapping inside the canvas */
.shelle3840-gn, .shelle3840-slideCap, .shelle3840-shelfTitle { overflow-wrap: anywhere; }
