/* ==========================================================================
   bdoonlinebanking.click - mobile-first stylesheet
   Class prefix : ui4910b-
   Palette      : #FFDEAD (ink) / #262626 (canvas) / #4A4A4A (hairline)
   Visual keys  : tabbed top bar, stacked menu overlay, outlined bottom rail,
                  compact square game catalog, low-radius zoned sections,
                  full-width primary buttons, restrained icon-state motion.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --ui4910b-canvas: #262626;
  --ui4910b-canvas-deep: #1e1e1e;
  --ui4910b-panel: #2d2d2d;
  --ui4910b-panel-raised: #343434;
  --ui4910b-hairline: #4a4a4a;
  --ui4910b-hairline-soft: #3c3c3c;

  --ui4910b-ink: #ffdead;
  --ui4910b-ink-bright: #fff1cf;
  --ui4910b-ink-dim: #cbb58a;
  --ui4910b-ink-faint: #93846a;
  --ui4910b-on-fill: #262626;

  --ui4910b-glow: rgba(255, 222, 173, 0.22);
  --ui4910b-edge: rgba(255, 222, 173, 0.10);

  --ui4910b-r-xs: 3px;
  --ui4910b-r-sm: 5px;
  --ui4910b-r-md: 7px;

  --ui4910b-topbar-h: 58px;
  --ui4910b-tabbar-h: 62px;
  --ui4910b-gutter: 12px;

  --ui4910b-font: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi",
                  "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --ui4910b-display: "Noto Serif Bengali", Georgia, "Noto Sans Bengali", serif;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html {
  background: var(--ui4910b-canvas-deep);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0 auto;
  max-width: 430px;
  min-height: 100vh;
  background: var(--ui4910b-canvas);
  color: var(--ui4910b-ink-dim);
  font: 400 14px/1.75 var(--ui4910b-font);
  padding-bottom: calc(var(--ui4910b-tabbar-h) + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}

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

button {
  font-family: var(--ui4910b-font);
  color: inherit;
  cursor: pointer;
}

a {
  color: var(--ui4910b-ink);
  text-decoration: underline;
  text-decoration-color: rgba(255, 222, 173, 0.45);
  text-underline-offset: 3px;
}

a:hover { text-decoration-color: var(--ui4910b-ink); }

h1, h2, h3 {
  font-family: var(--ui4910b-display);
  color: var(--ui4910b-ink-bright);
  margin: 0;
  overflow-wrap: break-word;
}

p { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }

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

:focus-visible {
  outline: 2px solid var(--ui4910b-ink);
  outline-offset: 2px;
  border-radius: var(--ui4910b-r-xs);
}

::selection { background: var(--ui4910b-ink); color: var(--ui4910b-on-fill); }

/* Accessibility helper: visually hidden but announced */
.ui4910b-vh {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden; white-space: nowrap;
}

/* Skip link */
.ui4910b-skip {
  position: fixed;
  top: -60px; left: var(--ui4910b-gutter);
  z-index: 90;
  padding: 10px 16px;
  background: var(--ui4910b-ink);
  color: var(--ui4910b-on-fill);
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--ui4910b-r-sm);
  text-decoration: none;
  transition: top 0.15s ease;
}
.ui4910b-skip:focus { top: 8px; }

/* Body scroll lock while the stacked menu is open */
.ui4910b-menu-lock { overflow: hidden; }

/* --------------------------------------------------------------------------
   3. Top bar (tabbed)
   -------------------------------------------------------------------------- */
.ui4910b-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  margin: 0 auto;
  max-width: 430px;
  height: var(--ui4910b-topbar-h);
  z-index: 40;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 8px 10px 0;
  background: linear-gradient(180deg, #2c2c2c 0%, #262626 100%);
  border-bottom: 1px solid var(--ui4910b-hairline);
}

/* Brand tab: raised passbook tab bound to the bottom rule */
.ui4910b-brandtab {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  align-self: stretch;
  padding: 0 8px 0 7px;
  margin: 6px 0 -1px;
  background: var(--ui4910b-panel-raised);
  border: 1px solid var(--ui4910b-hairline);
  border-bottom: 2px solid var(--ui4910b-ink);
  border-radius: var(--ui4910b-r-sm) var(--ui4910b-r-sm) 0 0;
}

.ui4910b-logo {
  width: 30px; height: 30px;
  flex: none;
  border-radius: var(--ui4910b-r-xs);
  border: 1px solid var(--ui4910b-hairline);
  object-fit: cover;
}

.ui4910b-brandname {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ui4910b-ink-bright);
}

/* Action zone next to the brand tab */
.ui4910b-actions {
  flex: none;
  display: flex;
  align-items: center;
  gap: 5px;
  align-self: stretch;
  margin: 6px 0 0;
}

.ui4910b-btnreg,
.ui4910b-btnlog {
  min-height: 42px;
  min-width: 44px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--ui4910b-r-sm);
  transition: box-shadow 0.15s ease, transform 0.1s ease;
}

.ui4910b-btnreg {
  background: var(--ui4910b-ink);
  color: var(--ui4910b-on-fill);
  border: 1px solid var(--ui4910b-ink);
}

.ui4910b-btnlog {
  background: transparent;
  color: var(--ui4910b-ink);
  border: 1px solid var(--ui4910b-hairline);
}

.ui4910b-btnreg:active,
.ui4910b-btnlog:active {
  transform: translateY(1px);
  box-shadow: 0 0 10px var(--ui4910b-glow);
}

/* Menu toggle */
.ui4910b-menubtn {
  width: 42px; height: 42px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--ui4910b-hairline);
  border-radius: var(--ui4910b-r-sm);
  color: var(--ui4910b-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ui4910b-menubtn:active { border-color: var(--ui4910b-ink-faint); box-shadow: 0 0 10px var(--ui4910b-glow); }

.ui4910b-menubtn svg { width: 20px; height: 20px; }

.ui4910b-icoburger { display: block; }
.ui4910b-icox { display: none; }
.ui4910b-menubtn.ui4910b-open .ui4910b-icoburger { display: none; }
.ui4910b-menubtn.ui4910b-open .ui4910b-icox { display: block; }

/* --------------------------------------------------------------------------
   4. Stacked menu overlay
   -------------------------------------------------------------------------- */
.ui4910b-menu {
  position: fixed;
  top: var(--ui4910b-topbar-h);
  bottom: calc(var(--ui4910b-tabbar-h) + env(safe-area-inset-bottom, 0px));
  left: 0; right: 0;
  margin: 0 auto;
  max-width: 430px;
  z-index: 35;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #232323;
  border-bottom: 1px solid var(--ui4910b-hairline);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
  padding: 6px 0 18px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.ui4910b-menu.ui4910b-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.ui4910b-menugroup {
  margin-top: 14px;
  padding: 0 var(--ui4910b-gutter);
}

.ui4910b-menulabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ui4910b-ink-faint);
  padding: 4px 0 6px;
}

.ui4910b-menulink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--ui4910b-hairline-soft);
  color: var(--ui4910b-ink-dim);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}
.ui4910b-menulink:active { color: var(--ui4910b-ink-bright); }

.ui4910b-menulink svg {
  width: 14px; height: 14px;
  flex: none;
  color: var(--ui4910b-ink-faint);
}

.ui4910b-menuact {
  margin: 18px var(--ui4910b-gutter) 0;
}

/* --------------------------------------------------------------------------
   5. Main shell
   -------------------------------------------------------------------------- */
.ui4910b-main {
  padding: calc(var(--ui4910b-topbar-h) + 14px) var(--ui4910b-gutter) 34px;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.ui4910b-hero {
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--ui4910b-hairline-soft);
}

.ui4910b-hero h1 {
  font-size: 21px;
  line-height: 1.42;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.ui4910b-lead {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ui4910b-ink-dim);
}

.ui4910b-heromark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 5px 10px;
  border: 1px solid var(--ui4910b-hairline);
  border-radius: var(--ui4910b-r-sm);
  background: var(--ui4910b-panel);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ui4910b-ink-dim);
}
.ui4910b-heromark::before {
  content: "";
  width: 7px; height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--ui4910b-ink);
  box-shadow: 0 0 8px var(--ui4910b-glow);
}

/* --------------------------------------------------------------------------
   7. Banner carousel
   -------------------------------------------------------------------------- */
.ui4910b-carousel {
  margin: 16px 0 4px;
}

.ui4910b-cframe {
  position: relative;
  aspect-ratio: 430 / 190;
  overflow: hidden;
  border: 1px solid var(--ui4910b-hairline);
  border-radius: var(--ui4910b-r-md);
  background: var(--ui4910b-canvas-deep);
}

.ui4910b-cslide {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--ui4910b-canvas-deep);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.ui4910b-cslide.ui4910b-on {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.ui4910b-cslide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ui4910b-cdots {
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 2;
}

.ui4910b-cdot {
  width: 22px; height: 8px;
  padding: 0;
  border-radius: 4px;
  background: rgba(38, 38, 38, 0.55);
  border: 1px solid var(--ui4910b-hairline);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.ui4910b-cdot.ui4910b-on {
  background: var(--ui4910b-ink);
  border-color: var(--ui4910b-ink);
  box-shadow: 0 0 8px var(--ui4910b-glow);
}

/* --------------------------------------------------------------------------
   8. Category chips (quick jump)
   -------------------------------------------------------------------------- */
.ui4910b-chips {
  display: flex;
  gap: 8px;
  margin: 12px calc(-1 * var(--ui4910b-gutter)) 6px;
  padding: 2px var(--ui4910b-gutter) 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ui4910b-chips::-webkit-scrollbar { display: none; }

.ui4910b-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ui4910b-ink);
  background: var(--ui4910b-panel);
  border: 1px solid var(--ui4910b-hairline);
  border-radius: var(--ui4910b-r-sm);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ui4910b-chip:active {
  border-color: var(--ui4910b-ink-faint);
  box-shadow: 0 0 10px var(--ui4910b-glow);
}

/* --------------------------------------------------------------------------
   9. Zoned sections (shared shell)
   -------------------------------------------------------------------------- */
.ui4910b-zone {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--ui4910b-hairline);
}

.ui4910b-zonehead {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 8px;
}

.ui4910b-zonehead::before {
  content: "";
  flex: none;
  width: 4px;
  height: 15px;
  align-self: center;
  background: var(--ui4910b-ink);
  border-radius: 2px;
}

.ui4910b-zonehead h2 {
  font-size: 16.5px;
  line-height: 1.45;
  font-weight: 800;
}

.ui4910b-zonehead h3 {
  font-size: 14.5px;
  font-weight: 700;
}

.ui4910b-zonetext {
  font-size: 13px;
  line-height: 1.85;
  margin-bottom: 12px;
}

.ui4910b-zonecount {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ui4910b-ink-faint);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   10. Game catalog grid (compact square cards)
   -------------------------------------------------------------------------- */
.ui4910b-games {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
}

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

.ui4910b-gcard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  min-width: 0;
  background: var(--ui4910b-panel);
  border: 1px solid var(--ui4910b-hairline-soft);
  border-radius: var(--ui4910b-r-xs);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}

.ui4910b-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  background: var(--ui4910b-canvas-deep);
}

.ui4910b-gcard span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  font-size: 11.5px;
  line-height: 1.3;
  font-weight: 600;
  text-align: center;
  color: var(--ui4910b-ink-dim);
  overflow-wrap: break-word;
}

.ui4910b-gcard:active {
  background: var(--ui4910b-panel-raised);
  border-color: var(--ui4910b-ink-faint);
  transform: translateY(1px);
}

/* --------------------------------------------------------------------------
   11. Step strip (three quick stages)
   -------------------------------------------------------------------------- */
.ui4910b-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  counter-reset: ui4910b-step;
}

.ui4910b-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 12px 10px 46px;
  background: var(--ui4910b-panel);
  border: 1px solid var(--ui4910b-hairline-soft);
  border-radius: var(--ui4910b-r-sm);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ui4910b-ink-dim);
  counter-increment: ui4910b-step;
}

.ui4910b-step::before {
  content: counter(ui4910b-step, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 800;
  color: var(--ui4910b-ink);
  border-bottom: 2px solid var(--ui4910b-hairline);
  padding-bottom: 1px;
}

.ui4910b-step strong { color: var(--ui4910b-ink-bright); font-weight: 700; }

/* --------------------------------------------------------------------------
   12. Content modules
   -------------------------------------------------------------------------- */

/* Player voices */
.ui4910b-voices {
  display: grid;
  gap: 10px;
}

.ui4910b-voice {
  padding: 10px 12px;
  background: var(--ui4910b-panel);
  border: 1px solid var(--ui4910b-hairline-soft);
  border-left: 3px solid var(--ui4910b-ink);
  border-radius: var(--ui4910b-r-xs);
}

.ui4910b-voicemeta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ui4910b-ink);
  margin-bottom: 4px;
}

.ui4910b-voicemeta span:last-child {
  font-weight: 500;
  color: var(--ui4910b-ink-faint);
}

.ui4910b-voice p {
  font-size: 12.5px;
  line-height: 1.7;
}

/* Offer list (promotions) */
.ui4910b-offers {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.ui4910b-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-align: center;
  background: var(--ui4910b-ink);
  color: var(--ui4910b-on-fill);
  border: 1px solid var(--ui4910b-ink);
  border-radius: var(--ui4910b-r-sm);
  transition: box-shadow 0.15s ease, transform 0.1s ease;
}
.ui4910b-cta:active {
  transform: translateY(1px);
  box-shadow: 0 0 14px var(--ui4910b-glow);
}

.ui4910b-cta.ui4910b-cta-ghost {
  background: transparent;
  color: var(--ui4910b-ink);
  border-color: var(--ui4910b-hairline);
}

.ui4910b-ctanote {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ui4910b-ink-faint);
}

/* Trick rows */
.ui4910b-tricks {
  display: grid;
  gap: 8px;
}

.ui4910b-trick {
  padding: 10px 12px;
  background: var(--ui4910b-panel);
  border: 1px solid var(--ui4910b-hairline-soft);
  border-radius: var(--ui4910b-r-sm);
  font-size: 12.5px;
  line-height: 1.75;
}

.ui4910b-trick b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ui4910b-ink);
  margin-bottom: 2px;
}

/* Scene rows (category highlights) */
.ui4910b-scenes {
  display: grid;
  gap: 8px;
}

.ui4910b-scene {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 10px 12px;
  background: var(--ui4910b-panel);
  border: 1px solid var(--ui4910b-hairline-soft);
  border-radius: var(--ui4910b-r-sm);
  font-size: 12.5px;
  line-height: 1.7;
}

.ui4910b-scenetag {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  align-self: flex-start;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ui4910b-on-fill);
  background: var(--ui4910b-ink);
  border-radius: var(--ui4910b-r-xs);
}

/* Checklist */
.ui4910b-checks {
  display: grid;
  gap: 8px;
}

.ui4910b-check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 12px;
  background: var(--ui4910b-panel);
  border: 1px solid var(--ui4910b-hairline-soft);
  border-radius: var(--ui4910b-r-xs);
  font-size: 12.5px;
  line-height: 1.7;
}

.ui4910b-check::before {
  content: "";
  flex: none;
  width: 15px; height: 15px;
  margin-top: 4px;
  border: 2px solid var(--ui4910b-ink);
  border-radius: 3px;
  box-shadow: inset 0 0 0 2px var(--ui4910b-canvas);
}

/* --------------------------------------------------------------------------
   13. Extended footer (sectioned list)
   -------------------------------------------------------------------------- */
.ui4910b-extfoot {
  margin-top: 8px;
  padding: 6px var(--ui4910b-gutter) 8px;
  border-top: 1px solid var(--ui4910b-hairline);
  background: #232323;
}

.ui4910b-extsec { padding: 14px 0; border-bottom: 1px solid var(--ui4910b-hairline-soft); }
.ui4910b-extsec:last-child { border-bottom: 0; }

.ui4910b-extlabel {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ui4910b-ink-faint);
  margin-bottom: 8px;
}

.ui4910b-extbrand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ui4910b-extbrand img {
  width: 34px; height: 34px;
  flex: none;
  border-radius: var(--ui4910b-r-xs);
  border: 1px solid var(--ui4910b-hairline);
}

.ui4910b-extbrand p {
  font-size: 12.5px;
  line-height: 1.75;
  margin: 0;
}

.ui4910b-extlist {
  display: grid;
  gap: 2px;
}

.ui4910b-extlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 2px;
  border-bottom: 1px dashed var(--ui4910b-hairline-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--ui4910b-ink-dim);
  text-decoration: none;
}
.ui4910b-extlink:last-child { border-bottom: 0; }
.ui4910b-extlink:active { color: var(--ui4910b-ink-bright); }

.ui4910b-extlink svg {
  width: 13px; height: 13px;
  flex: none;
  color: var(--ui4910b-ink-faint);
}

.ui4910b-extdisc {
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--ui4910b-ink-faint);
}

/* --------------------------------------------------------------------------
   14. Credit bar
   -------------------------------------------------------------------------- */
.ui4910b-credit {
  padding: 14px var(--ui4910b-gutter) 16px;
  background: var(--ui4910b-canvas-deep);
  text-align: center;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ui4910b-ink-faint);
}

/* --------------------------------------------------------------------------
   15. Bottom tab bar (outlined rail)
   -------------------------------------------------------------------------- */
.ui4910b-tabbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  margin: 0 auto;
  max-width: 430px;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--ui4910b-tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(31, 31, 31, 0.97);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--ui4910b-hairline);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.35);
}

.ui4910b-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  padding: 6px 2px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ui4910b-ink-faint);
  background: transparent;
  border: 0;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.ui4910b-tabicon {
  width: 22px; height: 22px;
  transition: filter 0.15s ease;
}

.ui4910b-tab.ui4910b-tab-on {
  color: var(--ui4910b-ink);
  transform: translateY(-2px);
}

.ui4910b-tab.ui4910b-tab-on .ui4910b-tabicon {
  filter: drop-shadow(0 0 6px var(--ui4910b-glow));
}

.ui4910b-tab.ui4910b-tab-on::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--ui4910b-ink);
  border-radius: 0 0 2px 2px;
  box-shadow: 0 0 8px var(--ui4910b-glow);
}

.ui4910b-tab:active { color: var(--ui4910b-ink-dim); }
.ui4910b-tab.ui4910b-tab-on:active { color: var(--ui4910b-ink); }

.ui4910b-tab span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

/* --------------------------------------------------------------------------
   17. Canvas refinement on wider screens
   -------------------------------------------------------------------------- */
@media (min-width: 480px) {
  body {
    border-left: 1px solid var(--ui4910b-hairline);
    border-right: 1px solid var(--ui4910b-hairline);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  }
}

@media (min-width: 430px) {
  .ui4910b-hero h1 { font-size: 22px; }
  .ui4910b-lead { font-size: 14px; }
}
