/* ==========================================================================
   838365.click — base stylesheet (mobile-first, 320-430px canvas)
   Class prefix .... shell51698-
   Custom props ... --shell51698-*
   Palette ........ #2C3E50 canvas | #3A3A3A backdrop | #FFB3FF headings
                    #FFB3BA secondary | #FFB6C1 body text
   Type pairing ... Hind Siliguri (body) + Space Mono (accents / digits)
   Shape language . light rounded cards, compact buttons,
                    floating-layer game cards, intro-led section rhythm,
                    light press + color transitions, staggered CTA sizes
   ========================================================================== */

/* ---------- design tokens ---------- */
:root {
  --shell51698-backdrop: #3A3A3A;
  --shell51698-canvas: #2C3E50;
  --shell51698-lift: rgba(255, 179, 255, 0.06);
  --shell51698-lift-2: rgba(255, 179, 255, 0.12);
  --shell51698-ink: #FFB6C1;
  --shell51698-head: #FFB3FF;
  --shell51698-soft: #FFB3BA;
  --shell51698-line: rgba(255, 179, 186, 0.26);
  --shell51698-line-soft: rgba(255, 179, 186, 0.13);
  --shell51698-shadow: rgba(0, 0, 0, 0.22);
  --shell51698-font-body: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, -apple-system, sans-serif;
  --shell51698-font-mono: 'Space Mono', ui-monospace, 'Courier New', monospace;
  --shell51698-radius: 12px;
  --shell51698-radius-sm: 9px;
  --shell51698-topbar-h: 102px;
  --shell51698-bottomnav-h: 58px;
  --shell51698-motion: transform 0.13s ease, background-color 0.2s ease,
    color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, fill 0.2s ease,
    opacity 0.2s ease;
}

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

body {
  margin: 0;
  background: var(--shell51698-backdrop);
  color: var(--shell51698-ink);
  font-family: var(--shell51698-font-body);
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

h1, h2, h3, p, ul, ol, figure {
  margin: 0;
}

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

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

a {
  color: var(--shell51698-head);
  text-decoration: none;
  transition: var(--shell51698-motion);
}

::selection {
  background: rgba(255, 179, 255, 0.35);
  color: #FFFFFF;
}

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

/* ---------- phone canvas (centered on wide screens) ---------- */
.shell51698-page {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell51698-canvas);
  box-shadow: 0 0 28px var(--shell51698-shadow);
  overflow-x: clip;
}

.shell51698-main {
  padding: calc(var(--shell51698-topbar-h) + 12px) 12px
    calc(var(--shell51698-bottomnav-h) + 30px + env(safe-area-inset-bottom));
}

/* ---------- skip link ---------- */
.shell51698-skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: var(--shell51698-head);
  color: var(--shell51698-canvas);
  font-weight: 700;
  border-radius: var(--shell51698-radius-sm);
  transition: top 0.2s ease;
}

.shell51698-skip:focus {
  top: 8px;
}

/* ==========================================================================
   Topbar — brand layer + action layer (two stacked rows)
   ========================================================================== */
.shell51698-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 90;
  background: linear-gradient(180deg, rgba(44, 62, 80, 0.99), rgba(44, 62, 80, 0.94));
  border-bottom: 1px solid var(--shell51698-line);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

/* layer 1 — brand only (logo image + site name) */
.shell51698-brandrow {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 7px 12px 2px;
}

.shell51698-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--shell51698-line);
  object-fit: cover;
  flex: none;
  background: var(--shell51698-lift);
}

.shell51698-brandname {
  font-family: var(--shell51698-font-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--shell51698-head);
  line-height: 1.2;
}

/* layer 2 — actions */
.shell51698-actrow {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 4px 12px 9px;
}

/* ---------- buttons (compact, staggered primary/secondary sizes) ---------- */
.shell51698-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--shell51698-radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1;
  transition: var(--shell51698-motion);
  -webkit-tap-highlight-color: transparent;
}

.shell51698-btn:active {
  transform: scale(0.96);
}

/* primary — larger, filled */
.shell51698-btn-primary {
  min-height: 44px;
  padding: 12px 18px;
  background: var(--shell51698-head);
  color: var(--shell51698-canvas);
  font-size: 15px;
  box-shadow: 0 3px 12px rgba(255, 179, 255, 0.28);
}

.shell51698-btn-primary:active {
  background: #FFC9FF;
  box-shadow: 0 1px 5px rgba(255, 179, 255, 0.22);
}

/* ghost — smaller, outlined */
.shell51698-btn-ghost {
  min-height: 40px;
  padding: 10px 14px;
  background: transparent;
  color: var(--shell51698-head);
  border-color: var(--shell51698-line);
  font-size: 13.5px;
}

.shell51698-btn-ghost:active {
  background: var(--shell51698-lift-2);
}

.shell51698-actrow .shell51698-btn-primary {
  flex: 1 1 auto;
}

.shell51698-actrow .shell51698-btn-ghost {
  flex: 0 0 auto;
}

/* menu toggle — square icon button, lines morph into a cross */
.shell51698-menubtn {
  flex: none;
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--shell51698-lift);
  border: 1px solid var(--shell51698-line);
  border-radius: var(--shell51698-radius-sm);
  transition: var(--shell51698-motion);
  -webkit-tap-highlight-color: transparent;
}

.shell51698-menubtn:active {
  transform: scale(0.93);
  background: var(--shell51698-lift-2);
}

.shell51698-menubtn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--shell51698-head);
  transition: var(--shell51698-motion);
}

/* morph: three bars -> cross when the overlay is open */
.shell51698-menubtn[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.shell51698-menubtn[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}

.shell51698-menubtn[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Stacked overlay menu
   ========================================================================== */
.shell51698-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  background: rgba(58, 58, 58, 0.985);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.shell51698-menu.shell51698-open {
  visibility: visible;
  opacity: 1;
}

.shell51698-menuhead {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 60px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--shell51698-line);
  background: rgba(44, 62, 80, 0.6);
}

.shell51698-menuhead .shell51698-logo {
  width: 30px;
  height: 30px;
}

.shell51698-menuclose {
  margin-left: auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--shell51698-lift);
  border: 1px solid var(--shell51698-line);
  border-radius: var(--shell51698-radius-sm);
  color: var(--shell51698-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transition: var(--shell51698-motion);
}

.shell51698-menuclose:active {
  transform: scale(0.9) rotate(-6deg);
  background: var(--shell51698-lift-2);
}

/* stacked entries slide in as one column */
.shell51698-menulist {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 6px 0 20px;
  overscroll-behavior: contain;
}

.shell51698-mitem {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 10px 16px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--shell51698-line-soft);
  text-align: left;
  color: var(--shell51698-ink);
  font-size: 15px;
  font-weight: 600;
  transform: translateX(-14px);
  opacity: 0;
  transition: var(--shell51698-motion);
  -webkit-tap-highlight-color: transparent;
}

.shell51698-menu.shell51698-open .shell51698-mitem {
  transform: translateX(0);
  opacity: 1;
}

/* gentle stagger so the stack lands like falling cards */
.shell51698-menu.shell51698-open .shell51698-mitem:nth-child(1) { transition-delay: 0.03s; }
.shell51698-menu.shell51698-open .shell51698-mitem:nth-child(2) { transition-delay: 0.06s; }
.shell51698-menu.shell51698-open .shell51698-mitem:nth-child(3) { transition-delay: 0.09s; }
.shell51698-menu.shell51698-open .shell51698-mitem:nth-child(4) { transition-delay: 0.12s; }
.shell51698-menu.shell51698-open .shell51698-mitem:nth-child(5) { transition-delay: 0.15s; }
.shell51698-menu.shell51698-open .shell51698-mitem:nth-child(6) { transition-delay: 0.18s; }
.shell51698-menu.shell51698-open .shell51698-mitem:nth-child(7) { transition-delay: 0.21s; }
.shell51698-menu.shell51698-open .shell51698-mitem:nth-child(8) { transition-delay: 0.24s; }
.shell51698-menu.shell51698-open .shell51698-mitem:nth-child(9) { transition-delay: 0.27s; }
.shell51698-menu.shell51698-open .shell51698-mitem:nth-child(10) { transition-delay: 0.3s; }

.shell51698-mitem:active {
  background: var(--shell51698-lift-2);
  color: var(--shell51698-head);
}

.shell51698-mnum {
  font-family: var(--shell51698-font-mono);
  font-size: 11.5px;
  color: var(--shell51698-soft);
  letter-spacing: 1px;
  flex: none;
  width: 24px;
}

.shell51698-marrow {
  margin-left: auto;
  color: var(--shell51698-soft);
  font-size: 15px;
  transition: var(--shell51698-motion);
}

.shell51698-mitem:active .shell51698-marrow {
  transform: translateX(4px);
  color: var(--shell51698-head);
}

.shell51698-menunote {
  padding: 14px 16px 4px;
  font-size: 12px;
  color: var(--shell51698-soft);
  line-height: 1.6;
}

/* ==========================================================================
   Hero carousel
   ========================================================================== */
.shell51698-hero {
  position: relative;
  margin: 4px 0 24px;
  border-radius: var(--shell51698-radius);
  border: 1px solid var(--shell51698-line-soft);
  overflow: hidden;
  box-shadow: 0 6px 18px var(--shell51698-shadow);
  touch-action: pan-y;
}

.shell51698-slide {
  position: relative;
  display: none;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--shell51698-backdrop);
  -webkit-tap-highlight-color: transparent;
}

.shell51698-slide.shell51698-on {
  display: block;
  animation: shell51698-fadein 0.35s ease;
}

@keyframes shell51698-fadein {
  from { opacity: 0.25; }
  to { opacity: 1; }
}

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

.shell51698-slide:active img {
  transform: scale(0.985);
}

.shell51698-slide img {
  transition: transform 0.2s ease;
}

/* caption strip pinned on the banner */
.shell51698-slidecap {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 20px);
  padding: 7px 12px;
  background: rgba(58, 58, 58, 0.82);
  border: 1px solid var(--shell51698-line-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--shell51698-head);
  line-height: 1.3;
}

.shell51698-slidecap::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shell51698-head);
  flex: none;
}

/* dots — full 44px hit area, slim visible bar */
.shell51698-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
}

.shell51698-dot {
  width: 44px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.shell51698-dot::before {
  content: '';
  width: 20px;
  height: 4px;
  border-radius: 4px;
  background: var(--shell51698-line);
  transition: var(--shell51698-motion);
}

.shell51698-dot:active::before {
  transform: scaleY(1.8);
}

.shell51698-dot.shell51698-dot-on::before {
  width: 28px;
  background: var(--shell51698-head);
}

/* ==========================================================================
   Section shell — intro-led rhythm, mono index accents
   ========================================================================== */
.shell51698-sec {
  margin: 0 0 28px;
}

.shell51698-sechead {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding-bottom: 7px;
  margin-bottom: 10px;
  border-bottom: 1px dashed var(--shell51698-line);
}

.shell51698-secnum {
  font-family: var(--shell51698-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--shell51698-soft);
  letter-spacing: 1px;
  flex: none;
}

/* single H1 — slightly larger than section headings */
.shell51698-h1 {
  font-size: 19.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--shell51698-head);
  margin-bottom: 10px;
}

.shell51698-h2 {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--shell51698-head);
}

.shell51698-lead {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--shell51698-ink);
  margin-bottom: 12px;
}

.shell51698-lead:last-child {
  margin-bottom: 0;
}

/* in-body internal links */
.shell51698-bodylink {
  color: var(--shell51698-head);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 179, 255, 0.55);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.shell51698-bodylink:active {
  color: #FFD1FF;
}

/* ==========================================================================
   Game grid — floating-layer cards
   ========================================================================== */
.shell51698-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 7px;
}

@media (min-width: 380px) {
  .shell51698-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.shell51698-gcard {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 6px 5px 7px;
  background: var(--shell51698-lift);
  border: 1px solid var(--shell51698-line-soft);
  border-radius: var(--shell51698-radius);
  box-shadow: 0 3px 10px var(--shell51698-shadow);
  transition: var(--shell51698-motion);
  -webkit-tap-highlight-color: transparent;
}

.shell51698-gcard:active {
  transform: translateY(2px) scale(0.96);
  background: var(--shell51698-lift-2);
  border-color: var(--shell51698-line);
}

.shell51698-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
}

.shell51698-gname {
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--shell51698-ink);
  text-align: center;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Content modules (app / rtp / scenario / takeaways)
   ========================================================================== */
.shell51698-mod {
  margin: 0 0 28px;
}

.shell51698-note {
  background: var(--shell51698-lift);
  border: 1px solid var(--shell51698-line-soft);
  border-left: 3px solid var(--shell51698-head);
  border-radius: var(--shell51698-radius-sm);
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1.75;
  margin-bottom: 12px;
}

.shell51698-note strong {
  color: var(--shell51698-head);
  font-weight: 700;
}

.shell51698-mod p {
  font-size: 13.5px;
  line-height: 1.8;
  margin-bottom: 11px;
}

.shell51698-mod p:last-child {
  margin-bottom: 0;
}

/* numbered steps with mono counters */
.shell51698-steps {
  counter-reset: shell51698-step;
  margin: 4px 0 12px;
}

.shell51698-steps li {
  counter-increment: shell51698-step;
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 2px;
  font-size: 13px;
  line-height: 1.7;
  border-bottom: 1px dotted var(--shell51698-line-soft);
}

.shell51698-steps li:last-child {
  border-bottom: 0;
}

.shell51698-steps li::before {
  content: counter(shell51698-step, decimal-leading-zero);
  font-family: var(--shell51698-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--shell51698-head);
  border: 1px solid var(--shell51698-line);
  border-radius: 7px;
  min-width: 30px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-top: 2px;
}

/* rtp figure strip — mono numerals */
.shell51698-figrow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 12px 0;
}

.shell51698-fig {
  background: var(--shell51698-lift);
  border: 1px solid var(--shell51698-line-soft);
  border-radius: var(--shell51698-radius-sm);
  padding: 10px 6px;
  text-align: center;
}

.shell51698-figval {
  font-family: var(--shell51698-font-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--shell51698-head);
  display: block;
}

.shell51698-figlab {
  font-size: 10.5px;
  color: var(--shell51698-soft);
  line-height: 1.4;
  display: block;
  margin-top: 3px;
}

/* takeaway list — marker fills on active press */
.shell51698-take {
  margin-top: 4px;
}

.shell51698-take li {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 2px;
  font-size: 13px;
  line-height: 1.7;
  border-bottom: 1px solid var(--shell51698-line-soft);
}

.shell51698-take li:last-child {
  border-bottom: 0;
}

.shell51698-take li::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 2px;
  border: 1.5px solid var(--shell51698-head);
  background: transparent;
  transition: var(--shell51698-motion);
}

.shell51698-take li:active::before {
  background: var(--shell51698-head);
  transform: rotate(45deg);
}

/* ==========================================================================
   Extended footer — brand > directory > promo shortcuts > disclaimer
   ========================================================================== */
.shell51698-xfoot {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--shell51698-line);
}

.shell51698-xbrand {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--shell51698-soft);
  margin-bottom: 22px;
}

.shell51698-xfoot .shell51698-h2 {
  font-size: 15.5px;
  margin-bottom: 10px;
}

.shell51698-dirgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 8px;
  margin-bottom: 24px;
}

.shell51698-dirlink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  background: var(--shell51698-lift);
  border: 1px solid var(--shell51698-line-soft);
  border-radius: var(--shell51698-radius-sm);
  color: var(--shell51698-ink);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.shell51698-dirlink:active {
  background: var(--shell51698-lift-2);
  color: var(--shell51698-head);
  transform: scale(0.97);
}

.shell51698-dirlink::before {
  content: '>';
  font-family: var(--shell51698-font-mono);
  color: var(--shell51698-head);
  flex: none;
}

/* promo shortcuts — horizontal scroller, first chip is the big one */
.shell51698-promorow {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  margin-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.shell51698-promorow::-webkit-scrollbar {
  display: none;
}

.shell51698-promo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--shell51698-lift-2);
  border: 1px solid var(--shell51698-line);
  color: var(--shell51698-head);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--shell51698-motion);
  -webkit-tap-highlight-color: transparent;
}

.shell51698-promo:active {
  transform: scale(0.95);
  background: var(--shell51698-lift);
}

/* staggered sizes: the lead action is visibly bigger */
.shell51698-promo-lead {
  min-height: 50px;
  padding: 13px 20px;
  font-size: 14px;
  background: var(--shell51698-head);
  color: var(--shell51698-canvas);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(255, 179, 255, 0.3);
}

.shell51698-promo-lead:active {
  background: #FFC9FF;
}

.shell51698-promo svg {
  flex: none;
}

/* disclaimer */
.shell51698-disc {
  background: rgba(0, 0, 0, 0.16);
  border: 1px dashed var(--shell51698-line-soft);
  border-radius: var(--shell51698-radius-sm);
  padding: 12px 13px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--shell51698-soft);
}

/* ---------- common footer (copyright only) ---------- */
.shell51698-copy {
  text-align: center;
  font-family: var(--shell51698-font-mono);
  font-size: 11px;
  letter-spacing: 0.4px;
  color: var(--shell51698-soft);
  padding: 18px 0 6px;
}

/* ==========================================================================
   Bottom nav — outlined function bar, two-tone role icons
   ========================================================================== */
.shell51698-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(44, 62, 80, 0.98);
  border-top: 1px solid var(--shell51698-line);
  padding-bottom: env(safe-area-inset-bottom);
}

.shell51698-bn-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--shell51698-bottomnav-h);
  padding: 6px 2px;
  color: var(--shell51698-soft);
  border-left: 1px solid var(--shell51698-line-soft);
  transition: var(--shell51698-motion);
  -webkit-tap-highlight-color: transparent;
}

.shell51698-bn-item:first-child {
  border-left: 0;
}

.shell51698-bn-item:active {
  background: var(--shell51698-lift-2);
}

.shell51698-bn-icon {
  width: 23px;
  height: 23px;
  display: inline-flex;
  transition: var(--shell51698-motion);
}

.shell51698-bn-icon svg {
  width: 100%;
  height: 100%;
}

/* two-tone icon: stroked outline + fillable inner shape */
.shell51698-ic-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shell51698-ic-fill {
  fill: transparent;
  stroke: none;
  transition: fill 0.22s ease, transform 0.22s ease;
  transform-origin: center;
}

.shell51698-bn-item:active .shell51698-ic-fill {
  fill: currentColor;
  transform: scale(0.82);
}

.shell51698-bn-item:active .shell51698-bn-icon {
  transform: translateY(-1.5px) scale(1.06);
}

.shell51698-bn-label {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
}

/* active state — icon fill flips on, tint brightens */
.shell51698-bn-item[aria-current='page'] {
  color: var(--shell51698-head);
}

.shell51698-bn-item[aria-current='page'] .shell51698-ic-fill {
  fill: currentColor;
  transform: scale(1.1);
}

.shell51698-bn-item[aria-current='page']::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 2.5px;
  border-radius: 0 0 3px 3px;
  background: var(--shell51698-head);
}

/* ---------- utility ---------- */
.shell51698-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--shell51698-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--shell51698-soft);
  margin-bottom: 6px;
}

.shell51698-eyebrow::before {
  content: '';
  width: 14px;
  height: 2px;
  background: var(--shell51698-head);
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* ---------- very small screens: keep the 4-column grid usable ---------- */
@media (max-width: 339px) {
  .shell51698-grid {
    gap: 7px 5px;
  }

  .shell51698-gname {
    font-size: 10.5px;
  }

  .shell51698-figrow {
    grid-template-columns: 1fr;
  }
}
