/* ==========================================================================
   gstat.homes — surface stylesheet
   File   : css/native-ba398f-surface.css
   Prefix : shell98f82-
   Palette: #2C2C2C ink base / #9966CC amethyst accent / #E6E6FA mist / #FFFFFF
   Voice  : scoreboard console — mono kickers, mixed radii, grouped cover hubs,
            conclusion-first panels, restrained fades, full-width CTAs.
   Canvas : 320-430px phone frame, centered on wide screens.
   ========================================================================== */

:root {
  --shell98f82-ink: #2c2c2c;
  --shell98f82-accent: #9966cc;
  --shell98f82-mist: #e6e6fa;
  --shell98f82-white: #ffffff;
  --shell98f82-void: #1b1a1e;
  --shell98f82-panel: #343339;
  --shell98f82-panel2: #3c3b42;
  --shell98f82-accenthi: #b48fe0;
  --shell98f82-accentdeep: #7e4fb8;
  --shell98f82-line: rgba(230, 230, 250, 0.14);
  --shell98f82-line2: rgba(153, 102, 204, 0.42);
  --shell98f82-mistdim: rgba(230, 230, 250, 0.64);
  --shell98f82-mistfaint: rgba(230, 230, 250, 0.48);
  --shell98f82-glow: 0 0 16px rgba(153, 102, 204, 0.5);
  --shell98f82-sans: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell98f82-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Roboto Mono", monospace;
  --shell98f82-r-lg: 20px;
  --shell98f82-r-md: 12px;
  --shell98f82-r-sm: 8px;
  --shell98f82-top-h: 56px;
  --shell98f82-bnav-h: 70px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  background: var(--shell98f82-void);
}

body {
  font-family: var(--shell98f82-sans);
  font-size: 13px;
  line-height: 1.55;
  color: var(--shell98f82-mist);
  background: var(--shell98f82-ink);
  max-width: 430px; /* phone canvas, literal checkpoint */
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a { color: var(--shell98f82-accenthi); text-decoration: none; }

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

::selection { background: var(--shell98f82-accent); color: var(--shell98f82-white); }

/* wide screens keep the centered phone canvas with a soft edge */
@media (min-width: 431px) {
  body {
    box-shadow: 0 0 70px rgba(0, 0, 0, 0.6);
    border-inline: 1px solid var(--shell98f82-line);
  }
}

/* ---------------------------------------------------------- skip link --- */

.shell98f82-skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--shell98f82-accent);
  color: var(--shell98f82-white);
  font-size: 12px;
  padding: 9px 14px;
  border-radius: 0 0 8px 0;
}

.shell98f82-skip:focus { left: 0; }

/* ------------------------------------------------------------- topbar --- */

.shell98f82-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 430px;
  height: var(--shell98f82-top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  padding-top: env(safe-area-inset-top, 0px);
  height: calc(var(--shell98f82-top-h) + env(safe-area-inset-top, 0px));
  background: rgba(32, 31, 36, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--shell98f82-line);
  z-index: 90;
}

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

.shell98f82-logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid var(--shell98f82-line2);
  flex: none;
}

.shell98f82-bname {
  font-family: var(--shell98f82-mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--shell98f82-white);
}

.shell98f82-bname::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 3px;
  border-radius: 50%;
  background: var(--shell98f82-accent);
  vertical-align: 2px;
}

.shell98f82-topacts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.shell98f82-reg {
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--shell98f82-accent), var(--shell98f82-accentdeep));
  color: var(--shell98f82-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.shell98f82-reg:active {
  box-shadow: var(--shell98f82-glow);
  transform: translateY(1px);
}

.shell98f82-log {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--shell98f82-line2);
  border-radius: 9px;
  background: rgba(153, 102, 204, 0.1);
  color: var(--shell98f82-mist);
  font-size: 12px;
  font-weight: 600;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.shell98f82-log:active {
  box-shadow: var(--shell98f82-glow);
  background: rgba(153, 102, 204, 0.22);
}

.shell98f82-menubtn {
  width: 36px;
  height: 34px;
  border: 1px solid var(--shell98f82-line);
  border-radius: 9px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.shell98f82-mbar {
  display: block;
  width: 15px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--shell98f82-mist);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.shell98f82-menubtn:active .shell98f82-mbar { background: var(--shell98f82-accenthi); }

/* ------------------------------------------------------- menu layer ----- */

.shell98f82-veil {
  position: fixed;
  inset: 0;
  background: rgba(16, 15, 19, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 120;
}

.shell98f82-veil.shell98f82-show { opacity: 1; visibility: visible; }

.shell98f82-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 430px;
  background: #26252b;
  border-left: 1px solid var(--shell98f82-line2);
  display: flex;
  flex-direction: column;
  padding: 14px 14px calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translateX(102%);
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 130;
  overflow-y: auto;
}

.shell98f82-drawer.shell98f82-open { transform: translateX(0); }

.shell98f82-dhead {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 13px;
  border-bottom: 1px dashed var(--shell98f82-line);
}

.shell98f82-dhead img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid var(--shell98f82-line2);
}

.shell98f82-dtitle {
  font-family: var(--shell98f82-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell98f82-mist);
  flex: 1;
}

.shell98f82-dclose {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--shell98f82-line);
  background: transparent;
  display: grid;
  place-items: center;
}

.shell98f82-dclose svg {
  width: 16px;
  height: 16px;
  stroke: var(--shell98f82-mist);
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
}

.shell98f82-dclose:active svg { stroke: var(--shell98f82-accenthi); }

.shell98f82-dlabel {
  font-family: var(--shell98f82-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--shell98f82-accenthi);
  margin: 15px 2px 8px;
}

.shell98f82-dlist { list-style: none; }

.shell98f82-dlist a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 10px;
  color: var(--shell98f82-mist);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.18s ease;
}

.shell98f82-dlist a:active,
.shell98f82-dlist a:hover { background: rgba(153, 102, 204, 0.14); }

.shell98f82-dnum {
  font-family: var(--shell98f82-mono);
  font-size: 10px;
  color: var(--shell98f82-accenthi);
  letter-spacing: 1px;
  flex: none;
}

.shell98f82-dlist a.shell98f82-dcur {
  background: rgba(153, 102, 204, 0.18);
  box-shadow: inset 2px 0 0 var(--shell98f82-accent);
}

.shell98f82-dpromo {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px dashed var(--shell98f82-line);
}

.shell98f82-grow { flex: 1; }

/* --------------------------------------------------------------- main --- */

.shell98f82-main {
  padding: calc(var(--shell98f82-top-h) + env(safe-area-inset-top, 0px) + 14px) 12px
            calc(var(--shell98f82-bnav-h) + env(safe-area-inset-bottom, 0px) + 30px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* restrained fade-in rhythm */
@keyframes shell98f82-rise {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}

.shell98f82-rise {
  animation: shell98f82-rise 0.5s ease both;
}

.shell98f82-rise:nth-child(2) { animation-delay: 0.06s; }
.shell98f82-rise:nth-child(3) { animation-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  .shell98f82-rise { animation: none; }
  .shell98f82-ctrack { transition: none; }
  .shell98f82-drawer { transition: none; }
}

/* --------------------------------------------------------------- hero --- */

.shell98f82-kick {
  font-family: var(--shell98f82-mono);
  font-size: 9.5px;
  letter-spacing: 2.4px;
  color: var(--shell98f82-accenthi);
  margin-bottom: 7px;
}

.shell98f82-h1 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
  color: var(--shell98f82-white);
  letter-spacing: -0.2px;
  margin-bottom: 8px;
  overflow-wrap: break-word;
}

.shell98f82-lede {
  font-size: 12.5px;
  color: var(--shell98f82-mistdim);
  margin-bottom: 13px;
}

/* carousel */

.shell98f82-cframe {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--shell98f82-line2);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

.shell98f82-ctrack {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.shell98f82-cslide {
  position: relative;
  flex: 0 0 100%;
  padding: 0;
  border: 0;
  background: var(--shell98f82-panel);
  width: 100%;
  display: block;
}

.shell98f82-cslide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.shell98f82-ctag {
  position: absolute;
  left: 9px;
  bottom: 9px;
  font-family: var(--shell98f82-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--shell98f82-white);
  background: rgba(24, 23, 28, 0.82);
  border: 1px solid var(--shell98f82-line2);
  border-radius: 6px;
  padding: 4px 8px;
}

.shell98f82-cslide:active .shell98f82-ctag { box-shadow: var(--shell98f82-glow); }

.shell98f82-cdots {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 5px;
}

.shell98f82-dot {
  width: 18px;
  height: 7px;
  border-radius: 5px;
  border: 0;
  background: rgba(230, 230, 250, 0.34);
  transition: background 0.2s ease, width 0.2s ease;
}

.shell98f82-dot.shell98f82-doton {
  background: var(--shell98f82-accent);
  width: 24px;
  box-shadow: var(--shell98f82-glow);
}

/* ticker strip */

.shell98f82-ticker {
  font-family: var(--shell98f82-mono);
  font-size: 9.5px;
  letter-spacing: 1.1px;
  color: var(--shell98f82-mistdim);
  text-align: center;
  padding: 8px 4px;
  border-block: 1px dashed var(--shell98f82-line);
  overflow-wrap: anywhere;
}

.shell98f82-ticker i {
  font-style: normal;
  color: var(--shell98f82-accenthi);
  padding: 0 3px;
}

/* --------------------------------------------------------- floor head --- */

.shell98f82-floorhead h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--shell98f82-white);
  margin-bottom: 6px;
}

.shell98f82-floorhead p {
  font-size: 12.5px;
  color: var(--shell98f82-mistdim);
}

/* ---------------------------------------------------------- game hubs --- */

.shell98f82-hub {
  background: linear-gradient(180deg, var(--shell98f82-panel2), var(--shell98f82-panel));
  border: 1px solid var(--shell98f82-line);
  border-radius: var(--shell98f82-r-lg) var(--shell98f82-r-lg) 10px 10px; /* mixed radii */
  padding: 12px 10px 14px;
}

.shell98f82-hubtop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.shell98f82-hubcode {
  font-family: var(--shell98f82-mono);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--shell98f82-accenthi);
  border: 1px solid var(--shell98f82-line2);
  border-radius: 5px;
  padding: 3px 7px;
}

.shell98f82-hubcount {
  font-family: var(--shell98f82-mono);
  font-size: 8.5px;
  letter-spacing: 1px;
  color: var(--shell98f82-mistfaint);
}

.shell98f82-hub h2 {
  font-size: 15.5px;
  line-height: 1.32;
  font-weight: 800;
  color: var(--shell98f82-white);
  margin-bottom: 6px;
  overflow-wrap: break-word;
}

.shell98f82-hubnote {
  font-size: 11.5px;
  line-height: 1.58;
  color: var(--shell98f82-mistdim);
  margin-bottom: 11px;
  padding-bottom: 11px;
  border-bottom: 1px dashed var(--shell98f82-line);
}

.shell98f82-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 6px;
}

@media (min-width: 395px) {
  .shell98f82-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 7px; }
}

.shell98f82-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 4px 7px;
  background: rgba(28, 27, 32, 0.72);
  border: 1px solid var(--shell98f82-line);
  border-radius: var(--shell98f82-r-md) var(--shell98f82-r-md) var(--shell98f82-r-sm) var(--shell98f82-r-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
  min-width: 0;
}

.shell98f82-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--shell98f82-r-sm);
  background: var(--shell98f82-void);
}

.shell98f82-tname {
  font-size: 9.5px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--shell98f82-mist);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  min-height: 24px;
}

.shell98f82-tile:active {
  border-color: var(--shell98f82-accent);
  box-shadow: var(--shell98f82-glow);
  transform: translateY(1px);
}

/* ------------------------------------------------------- content panels - */

.shell98f82-panel {
  background: var(--shell98f82-panel);
  border: 1px solid var(--shell98f82-line);
  border-radius: var(--shell98f82-r-lg);
  padding: 15px 13px 17px;
}

.shell98f82-panel h2 {
  font-size: 15.5px;
  line-height: 1.34;
  font-weight: 800;
  color: var(--shell98f82-white);
  margin: 2px 0 8px;
  overflow-wrap: break-word;
}

.shell98f82-panel h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--shell98f82-accenthi);
  margin: 14px 0 6px;
}

.shell98f82-panel p {
  font-size: 12.5px;
  line-height: 1.64;
  color: var(--shell98f82-mist);
  margin-bottom: 9px;
  overflow-wrap: break-word;
}

.shell98f82-panel p:last-child { margin-bottom: 0; }

.shell98f82-panel a {
  color: var(--shell98f82-accenthi);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(180, 143, 224, 0.5);
  text-underline-offset: 2px;
}

.shell98f82-panel a:active { text-decoration-color: var(--shell98f82-accenthi); }

.shell98f82-checks {
  list-style: none;
  margin: 4px 0 10px;
}

.shell98f82-checks li {
  position: relative;
  padding: 0 0 9px 17px;
  font-size: 12px;
  line-height: 1.58;
  color: var(--shell98f82-mist);
}

.shell98f82-checks li::before {
  content: "\25B8";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--shell98f82-mono);
  font-size: 11px;
  color: var(--shell98f82-accent);
}

.shell98f82-steps {
  list-style: none;
  counter-reset: shell98f82-step;
  margin: 4px 0 10px;
}

.shell98f82-steps li {
  counter-increment: shell98f82-step;
  position: relative;
  padding: 0 0 10px 30px;
  font-size: 12px;
  line-height: 1.58;
  color: var(--shell98f82-mist);
}

.shell98f82-steps li::before {
  content: counter(shell98f82-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--shell98f82-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--shell98f82-accenthi);
  border: 1px solid var(--shell98f82-line2);
  border-radius: 6px;
  padding: 2px 4px;
}

.shell98f82-vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 6px 0 11px;
}

.shell98f82-vcard {
  background: rgba(28, 27, 32, 0.66);
  border: 1px solid var(--shell98f82-line);
  border-radius: 10px 10px 6px 6px;
  padding: 9px 9px 10px;
  min-width: 0;
}

.shell98f82-vcard h3 {
  font-family: var(--shell98f82-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--shell98f82-accenthi);
  margin: 0 0 5px;
}

.shell98f82-vcard p {
  font-size: 11px;
  line-height: 1.52;
  color: var(--shell98f82-mistdim);
  margin: 0;
}

/* ----------------------------------------------------------- CTA block -- */

.shell98f82-ctabox {
  background:
    linear-gradient(180deg, var(--shell98f82-panel2), var(--shell98f82-panel)),
    var(--shell98f82-panel);
  border: 1px solid var(--shell98f82-line2);
  border-radius: var(--shell98f82-r-lg);
  padding: 16px 13px 17px;
  box-shadow: inset 0 1px 0 rgba(230, 230, 250, 0.06);
}

.shell98f82-ctabtn {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: var(--shell98f82-r-md);
  background: linear-gradient(135deg, var(--shell98f82-accent), var(--shell98f82-accentdeep));
  color: var(--shell98f82-white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin: 10px 0 8px;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.shell98f82-ctabtn:active {
  box-shadow: var(--shell98f82-glow);
  transform: translateY(1px);
}

.shell98f82-ctanote {
  font-family: var(--shell98f82-mono);
  font-size: 9.5px;
  letter-spacing: 0.6px;
  color: var(--shell98f82-mistfaint);
  text-align: center;
}

/* ------------------------------------------------------ extended foot --- */

.shell98f82-xfoot {
  background: var(--shell98f82-panel);
  border: 1px solid var(--shell98f82-line);
  border-radius: var(--shell98f82-r-lg) var(--shell98f82-r-lg) 8px 8px;
  padding: 15px 13px 16px;
}

.shell98f82-xfoot h2 {
  font-size: 15px;
  font-weight: 800;
  color: var(--shell98f82-white);
  margin: 2px 0 7px;
}

.shell98f82-xfoot h3 {
  font-family: var(--shell98f82-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--shell98f82-accenthi);
  margin: 14px 0 8px;
}

.shell98f82-xbrand {
  font-size: 12px;
  line-height: 1.62;
  color: var(--shell98f82-mistdim);
  margin-bottom: 4px;
}

.shell98f82-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 2px;
}

.shell98f82-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--shell98f82-line2);
  background: rgba(153, 102, 204, 0.13);
  color: var(--shell98f82-mist);
  font-size: 11.5px;
  font-weight: 600;
  transition: box-shadow 0.18s ease, background 0.18s ease;
}

.shell98f82-chip svg {
  width: 14px;
  height: 14px;
  stroke: var(--shell98f82-accenthi);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: none;
}

.shell98f82-chip:active {
  background: rgba(153, 102, 204, 0.26);
  box-shadow: var(--shell98f82-glow);
}

.shell98f82-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 12px;
}

.shell98f82-dir a {
  position: relative;
  padding: 6px 0 6px 13px;
  font-size: 11.5px;
  line-height: 1.4;
  color: #c9b8e8;
  overflow-wrap: break-word;
}

.shell98f82-dir a::before {
  content: "\203A";
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--shell98f82-accent);
  font-family: var(--shell98f82-mono);
  font-weight: 700;
}

.shell98f82-dir a:active { color: var(--shell98f82-white); }

.shell98f82-xdisc {
  font-size: 10.5px;
  line-height: 1.66;
  color: var(--shell98f82-mistfaint);
  border-top: 1px dashed var(--shell98f82-line);
  margin-top: 14px;
  padding-top: 12px;
}

/* ------------------------------------------------------ common footer --- */

.shell98f82-foot {
  text-align: center;
  padding: 4px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  font-family: var(--shell98f82-mono);
  font-size: 9.5px;
  letter-spacing: 0.5px;
  line-height: 1.7;
  color: var(--shell98f82-mistfaint);
}

/* --------------------------------------------------- bottom quick bar --- */

.shell98f82-bnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(30, 29, 34, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--shell98f82-line);
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
}

.shell98f82-bitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 3px 0 2px;
  background: none;
  border: 0;
  color: var(--shell98f82-mistfaint);
}

.shell98f82-bitem svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: fill 0.2s ease, filter 0.2s ease;
}

.shell98f82-bitem .shell98f82-pip {
  fill: currentColor;
  stroke: none;
}

.shell98f82-bitem span {
  font-family: var(--shell98f82-mono);
  font-size: 8.75px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.shell98f82-bitem::after {
  content: "";
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: transparent;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.shell98f82-bitem:active svg { filter: drop-shadow(0 0 6px rgba(153, 102, 204, 0.85)); }

/* active state: accent color + icon fill change + indicator bar */
.shell98f82-bitem.shell98f82-on {
  color: var(--shell98f82-accenthi);
}

.shell98f82-bitem.shell98f82-on svg {
  fill: rgba(153, 102, 204, 0.28);
}

.shell98f82-bitem.shell98f82-on .shell98f82-pip {
  fill: var(--shell98f82-accenthi);
}

.shell98f82-bitem.shell98f82-on::after {
  background: var(--shell98f82-accent);
  box-shadow: var(--shell98f82-glow);
}

/* --------------------------------------------------------- small misc --- */

@media (max-width: 339px) {
  .shell98f82-log { padding: 0 9px; }
  .shell98f82-reg { padding: 0 10px; }
  .shell98f82-vs { grid-template-columns: 1fr; }
  .shell98f82-dir { grid-template-columns: 1fr; }
}

.shell98f82-hub:active,
.shell98f82-tile:focus-visible {
  border-color: var(--shell98f82-accent);
}
