/* ==========================================================================
   jaya 7 — chrome-compact-81ffe3.css
   Mobile-first stylesheet tuned for a 320–430px phone canvas.
   Site palette: #9AFF9A / #2C3E50 / #00FA9A / #8B008B / #4DB6AC / #E0E0E0
   All classes use the ui81ffe- prefix, custom properties use --ui81ffe-*.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --ui81ffe-slate: #2C3E50;            /* base dark background */
  --ui81ffe-bgDeep: #1d2b3a;           /* page backdrop behind the canvas */
  --ui81ffe-panel: rgba(224, 224, 224, 0.06);
  --ui81ffe-panelSolid: #26374a;       /* raised surfaces */
  --ui81ffe-line: rgba(224, 224, 224, 0.14);
  --ui81ffe-mint: #00FA9A;             /* primary accent */
  --ui81ffe-mintSoft: #9AFF9A;         /* soft highlight text */
  --ui81ffe-teal: #4DB6AC;             /* secondary accent */
  --ui81ffe-plum: #8B008B;             /* promo / vip accent */
  --ui81ffe-paper: #E0E0E0;            /* body text on dark */
  --ui81ffe-inkOnMint: #06251a;        /* text on mint fills */
  --ui81ffe-muted: rgba(224, 224, 224, 0.62);
  --ui81ffe-radiusCard: 14px;          /* light card rounding */
  --ui81ffe-radiusBtn: 10px;           /* compact button rounding */
  --ui81ffe-fontRound: "Segoe UI Variable Display", ui-rounded, "Noto Sans Bengali", "Hind Siliguri", "Trebuchet MS", sans-serif;
  --ui81ffe-fontBody: "Segoe UI", "Noto Sans Bengali", "Hind Siliguri", system-ui, -apple-system, sans-serif;
  --ui81ffe-topH: 108px;               /* fixed header height */
  --ui81ffe-navH: 64px;                /* fixed bottom nav height */
  --ui81ffe-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
}

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

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

body {
  margin: 0;
  background: var(--ui81ffe-bgDeep);
  color: var(--ui81ffe-paper);
  font-family: var(--ui81ffe-fontBody);
  font-size: 14px;
  line-height: 1.62;
  letter-spacing: 0.1px;
  min-height: 100vh;
}

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

h1, h2, h3 {
  font-family: var(--ui81ffe-fontRound);
  color: #fff;
  line-height: 1.3;
  margin: 0 0 8px;
  text-wrap: balance;
}

h1 { font-size: 21px; font-weight: 800; }
h2 { font-size: 17.5px; font-weight: 700; }
h3 { font-size: 14.5px; font-weight: 700; color: var(--ui81ffe-mintSoft); }

p { margin: 0 0 10px; }

a { color: var(--ui81ffe-mintSoft); text-decoration: none; }
a:hover { text-decoration: underline; }

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

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--ui81ffe-mint);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Phone canvas shell (max 430px, centered on wide screens) ---------- */
.ui81ffe-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background:
    radial-gradient(120% 55% at 50% 0%, rgba(0, 250, 154, 0.08), transparent 60%),
    linear-gradient(180deg, #24384c 0%, var(--ui81ffe-slate) 42%, #223346 100%);
  min-height: 100vh;
  overflow-x: clip;
  box-shadow: var(--ui81ffe-shadow);
}

/* ---------- Fixed top bar: centered identity + compact action strip ---------- */
.ui81ffe-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(24, 36, 49, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ui81ffe-line);
}

/* Brand row — logo image + site name only, centered */
.ui81ffe-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 56px;
  padding: 7px 14px 4px;
}

.ui81ffe-brandLogo {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1.5px solid rgba(0, 250, 154, 0.55);
  object-fit: cover;
  background: #10202e;
}

.ui81ffe-brandName {
  font-family: var(--ui81ffe-fontRound);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #fff;
}

.ui81ffe-brandName em {
  font-style: normal;
  color: var(--ui81ffe-mint);
}

/* Action strip — register / login / route panel toggle */
.ui81ffe-actions {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 8px;
  align-items: center;
  padding: 0 12px 9px;
}

.ui81ffe-menuBtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--ui81ffe-radiusBtn);
  border: 1px solid var(--ui81ffe-line);
  background: var(--ui81ffe-panel);
  color: var(--ui81ffe-paper);
  font-size: 13px;
  font-weight: 600;
}

.ui81ffe-menuBtn svg { width: 17px; height: 17px; }

.ui81ffe-menuBtn.ui81ffe-isOpen {
  border-color: rgba(0, 250, 154, 0.6);
  color: var(--ui81ffe-mintSoft);
}

.ui81ffe-btnReg,
.ui81ffe-btnLogin {
  min-height: 38px;
  border-radius: var(--ui81ffe-radiusBtn);
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.ui81ffe-btnReg {
  background: linear-gradient(135deg, var(--ui81ffe-mint), var(--ui81ffe-teal));
  color: var(--ui81ffe-inkOnMint);
  box-shadow: 0 4px 14px rgba(0, 250, 154, 0.25);
}

.ui81ffe-btnLogin {
  background: transparent;
  border: 1.5px solid rgba(154, 255, 154, 0.75);
  color: var(--ui81ffe-mintSoft);
}

.ui81ffe-btnReg:active,
.ui81ffe-btnLogin:active { transform: scale(0.97); }

/* ---------- Compact route panel (drop-down site menu) ---------- */
.ui81ffe-routePanel {
  position: fixed;
  top: var(--ui81ffe-topH);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: calc(100% - 16px);
  max-width: 414px;
  z-index: 55;
  background: #20303f;
  border: 1px solid var(--ui81ffe-line);
  border-radius: var(--ui81ffe-radiusCard);
  box-shadow: var(--ui81ffe-shadow);
  padding: 10px 12px 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}

.ui81ffe-routePanel.ui81ffe-isOpen {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.ui81ffe-routeGroupTitle {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ui81ffe-teal);
  margin: 10px 2px 6px;
}

.ui81ffe-routeGroupTitle:first-child { margin-top: 2px; }

.ui81ffe-routeList {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ui81ffe-routeLink {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-height: 46px;
  justify-content: center;
  padding: 7px 10px;
  border-radius: var(--ui81ffe-radiusBtn);
  background: rgba(224, 224, 224, 0.05);
  border: 1px solid transparent;
}

.ui81ffe-routeLink:hover { text-decoration: none; border-color: rgba(0, 250, 154, 0.45); }

.ui81ffe-routeLink b {
  font-size: 13px;
  color: #fff;
  font-weight: 700;
}

.ui81ffe-routeLink span {
  font-size: 10.5px;
  color: var(--ui81ffe-muted);
  line-height: 1.35;
}

/* ---------- Main canvas spacing (clears fixed bars) ---------- */
.ui81ffe-main {
  padding: calc(var(--ui81ffe-topH) + 12px) 12px
           calc(var(--ui81ffe-navH) + 26px + env(safe-area-inset-bottom));
}

/* Short-distance section entrance (motion budget kept small) */
.ui81ffe-section { margin: 0 0 20px; animation: ui81ffe-rise 0.32s ease both; }

@keyframes ui81ffe-rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Lead / intro block ---------- */
.ui81ffe-lead {
  border-left: 3px solid var(--ui81ffe-mint);
  padding: 2px 0 2px 10px;
  margin-bottom: 16px;
}

.ui81ffe-lead p { color: rgba(224, 224, 224, 0.9); }

/* CTA group — light rounded text buttons */
.ui81ffe-ctaRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 4px;
}

.ui81ffe-ctaBtn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
  border-radius: var(--ui81ffe-radiusBtn);
  font-size: 13.5px;
  font-weight: 700;
  border: 1.5px solid rgba(154, 255, 154, 0.7);
  color: var(--ui81ffe-mintSoft);
  background: rgba(0, 250, 154, 0.08);
}

.ui81ffe-ctaBtn.ui81ffe-ctaFill {
  background: linear-gradient(135deg, var(--ui81ffe-mint), var(--ui81ffe-teal));
  color: var(--ui81ffe-inkOnMint);
  border-color: transparent;
}

.ui81ffe-ctaLink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: 12.5px;
  color: var(--ui81ffe-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Hero carousel ---------- */
.ui81ffe-carousel {
  position: relative;
  border-radius: var(--ui81ffe-radiusCard);
  overflow: hidden;
  border: 1px solid var(--ui81ffe-line);
  background: #17242f;
  margin-bottom: 14px;
}

.ui81ffe-carouselTrack {
  display: flex;
  transition: transform 0.38s ease;
  touch-action: pan-y;
}

.ui81ffe-slide {
  flex: 0 0 100%;
  width: 100%;
  display: block;
}

.ui81ffe-slide img {
  width: 100%;
  height: clamp(122px, 35vw, 152px);
  object-fit: cover;
}

.ui81ffe-carouselDots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.ui81ffe-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(224, 224, 224, 0.4);
  transition: width 0.25s ease, background 0.25s ease;
}

.ui81ffe-dot.ui81ffe-dotOn {
  width: 22px;
  background: var(--ui81ffe-mint);
}

/* ---------- Fact chip strip ---------- */
.ui81ffe-chipStrip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin: 0 0 20px;
}

.ui81ffe-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: var(--ui81ffe-radiusBtn);
  background: var(--ui81ffe-panel);
  border: 1px solid var(--ui81ffe-line);
  font-size: 11.5px;
  color: var(--ui81ffe-paper);
  line-height: 1.35;
}

.ui81ffe-chip b { color: var(--ui81ffe-mintSoft); font-size: 12px; }

.ui81ffe-chipIcon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(0, 250, 154, 0.16);
  display: grid;
  place-items: center;
  color: var(--ui81ffe-mint);
  font-weight: 800;
  font-size: 11px;
}

/* ---------- Game sections ---------- */
.ui81ffe-sectionHead {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.ui81ffe-countTag {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ui81ffe-inkOnMint);
  background: var(--ui81ffe-mintSoft);
  border-radius: 99px;
  padding: 1px 9px;
  white-space: nowrap;
}

.ui81ffe-plumTag {
  font-size: 10.5px;
  font-weight: 700;
  color: #f3d9f3;
  background: var(--ui81ffe-plum);
  border-radius: 99px;
  padding: 1px 9px;
  white-space: nowrap;
}

.ui81ffe-sectionIntro {
  font-size: 13px;
  color: rgba(224, 224, 224, 0.86);
  margin: 2px 0 10px;
}

/* Game grid — 4 columns at 320px, 5 columns from 400px up */
.ui81ffe-gameGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 7px;
}

@media (min-width: 400px) {
  .ui81ffe-gameGrid { grid-template-columns: repeat(5, 1fr); gap: 10px 8px; }
}

/* Pure-image card with a short name underneath */
.ui81ffe-gameCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 4px 7px;
  border-radius: 12px;
  background: rgba(224, 224, 224, 0.045);
  border: 1px solid rgba(224, 224, 224, 0.09);
  transition: transform 0.15s ease, border-color 0.15s ease;
  min-width: 0;
}

.ui81ffe-gameCard:hover { text-decoration: none; border-color: rgba(0, 250, 154, 0.5); }

.ui81ffe-gameCard:active { transform: scale(0.96); }

.ui81ffe-gameCardImg {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 9px;
  background: #16222d;
}

.ui81ffe-gameCardName {
  font-size: 10.5px;
  line-height: 1.32;
  text-align: center;
  color: var(--ui81ffe-paper);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.64em;
  word-break: break-word;
}

/* ---------- Guide blocks ---------- */
.ui81ffe-guideBlock {
  border-radius: var(--ui81ffe-radiusCard);
  background: var(--ui81ffe-panel);
  border: 1px solid var(--ui81ffe-line);
  padding: 11px 12px;
  margin-bottom: 9px;
}

.ui81ffe-guideBlock h3 { margin-bottom: 4px; }

.ui81ffe-guideBlock p { font-size: 13px; margin: 0; color: rgba(224, 224, 224, 0.88); }

/* ---------- Feature rows (scannable label + detail) ---------- */
.ui81ffe-featList { display: grid; gap: 8px; }

.ui81ffe-featRow {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 11px;
  border-radius: var(--ui81ffe-radiusCard);
  background: var(--ui81ffe-panel);
  border: 1px solid var(--ui81ffe-line);
}

.ui81ffe-featLabel {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ui81ffe-mint);
  line-height: 1.35;
  padding-top: 2px;
}

.ui81ffe-featText { font-size: 12.5px; color: rgba(224, 224, 224, 0.88); line-height: 1.55; }

/* ---------- Payment conditions ---------- */
.ui81ffe-payList { display: grid; gap: 7px; margin-bottom: 10px; }

.ui81ffe-payItem {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 9px 11px;
  border-radius: var(--ui81ffe-radiusCard);
  background: rgba(77, 182, 172, 0.07);
  border: 1px solid rgba(77, 182, 172, 0.28);
  font-size: 12.5px;
  color: rgba(224, 224, 224, 0.9);
}

.ui81ffe-payItem b { color: var(--ui81ffe-teal); }

/* ---------- Winners rail (horizontal snap scroll) ---------- */
.ui81ffe-winnerRail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 8px;
  -webkit-overflow-scrolling: touch;
}

.ui81ffe-winnerCard {
  flex: 0 0 148px;
  scroll-snap-align: start;
  border-radius: var(--ui81ffe-radiusCard);
  background: linear-gradient(160deg, rgba(139, 0, 139, 0.32), rgba(44, 62, 80, 0.5));
  border: 1px solid rgba(139, 0, 139, 0.55);
  padding: 9px 10px;
}

.ui81ffe-winnerGame {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui81ffe-winnerAmount {
  font-family: var(--ui81ffe-fontRound);
  font-size: 15px;
  font-weight: 800;
  color: var(--ui81ffe-mintSoft);
  margin-bottom: 2px;
}

.ui81ffe-winnerTime { font-size: 10.5px; color: var(--ui81ffe-muted); }

.ui81ffe-noteText {
  font-size: 11.5px;
  color: var(--ui81ffe-muted);
  border-left: 3px solid rgba(139, 0, 139, 0.65);
  padding-left: 9px;
  margin: 6px 0 0;
}

/* ---------- Step summary ---------- */
.ui81ffe-stepList { display: grid; gap: 8px; counter-reset: ui81ffeSteps; }

.ui81ffe-stepItem {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  counter-increment: ui81ffeSteps;
  padding: 10px 11px;
  border-radius: var(--ui81ffe-radiusCard);
  background: var(--ui81ffe-panel);
  border: 1px solid var(--ui81ffe-line);
  font-size: 12.5px;
  color: rgba(224, 224, 224, 0.9);
}

.ui81ffe-stepItem::before {
  content: counter(ui81ffeSteps);
  flex: 0 0 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(0, 250, 154, 0.16);
  color: var(--ui81ffe-mint);
  font-weight: 800;
  font-size: 12.5px;
}

/* ---------- Page fact chips ---------- */
.ui81ffe-factGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.ui81ffe-factCell {
  border-radius: var(--ui81ffe-radiusBtn);
  background: var(--ui81ffe-panel);
  border: 1px solid var(--ui81ffe-line);
  padding: 9px 10px;
  min-height: 58px;
}

.ui81ffe-factCell b {
  display: block;
  font-family: var(--ui81ffe-fontRound);
  font-size: 14px;
  color: var(--ui81ffe-mintSoft);
  margin-bottom: 2px;
}

.ui81ffe-factCell span { font-size: 11px; color: var(--ui81ffe-muted); line-height: 1.4; }

/* ---------- Homepage extended footer ---------- */
.ui81ffe-xfoot {
  border-top: 1px solid var(--ui81ffe-line);
  padding-top: 16px;
  margin-top: 6px;
}

.ui81ffe-xfootBrand {
  font-size: 12.5px;
  color: rgba(224, 224, 224, 0.85);
  margin-bottom: 12px;
}

.ui81ffe-xfootHeading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--ui81ffe-teal);
  margin: 14px 0 7px;
}

.ui81ffe-directory { display: grid; gap: 6px; }

.ui81ffe-directoryLink {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 11px;
  border-radius: var(--ui81ffe-radiusBtn);
  background: rgba(224, 224, 224, 0.05);
  border: 1px solid var(--ui81ffe-line);
}

.ui81ffe-directoryLink:hover { text-decoration: none; border-color: rgba(0, 250, 154, 0.45); }

.ui81ffe-directoryLink b { font-size: 12.5px; color: #fff; font-weight: 700; }

.ui81ffe-directoryLink span { font-size: 10.5px; color: var(--ui81ffe-muted); text-align: right; }

.ui81ffe-promoGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ui81ffe-promoAct {
  min-height: 46px;
  border-radius: var(--ui81ffe-radiusBtn);
  border: 1px solid rgba(139, 0, 139, 0.7);
  background: linear-gradient(150deg, rgba(139, 0, 139, 0.42), rgba(44, 62, 80, 0.35));
  color: #f6e3f6;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.15s ease;
}

.ui81ffe-promoAct:active { transform: scale(0.97); }

.ui81ffe-promoAct.ui81ffe-promoMint {
  border-color: rgba(0, 250, 154, 0.6);
  background: linear-gradient(135deg, rgba(0, 250, 154, 0.2), rgba(77, 182, 172, 0.16));
  color: var(--ui81ffe-mintSoft);
}

.ui81ffe-xfootDisclaimer {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.55;
  color: var(--ui81ffe-muted);
  border-radius: var(--ui81ffe-radiusBtn);
  background: rgba(224, 224, 224, 0.04);
  border: 1px dashed var(--ui81ffe-line);
  padding: 9px 11px;
}

/* ---------- Common footer: copyright only ---------- */
.ui81ffe-copyright {
  text-align: center;
  font-size: 11.5px;
  color: var(--ui81ffe-muted);
  padding: 4px 12px 10px;
  margin: 0;
}

/* ---------- Fixed bottom navigation (layered strip) ---------- */
.ui81ffe-bottomNav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: calc(var(--ui81ffe-navH) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(180deg, rgba(20, 31, 42, 0.9), rgba(15, 24, 33, 0.98));
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 250, 154, 0.28);
}

/* Sliding indicator that travels under the active item */
.ui81ffe-navIndicator {
  position: absolute;
  top: 0;
  height: 3px;
  width: 34px;
  border-radius: 0 0 4px 4px;
  background: var(--ui81ffe-mint);
  transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1), width 0.28s ease;
}

.ui81ffe-bottomItem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--ui81ffe-navH);
  color: rgba(224, 224, 224, 0.66);
  font-size: 10px;
  font-weight: 600;
  border-radius: 12px;
  margin: 6px 3px;
  transition: color 0.2s ease, background 0.2s ease;
}

.ui81ffe-bottomItem svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui81ffe-bottomItem:hover { color: var(--ui81ffe-paper); text-decoration: none; }

/* Active role: filled icon + supporting background block */
.ui81ffe-bottomItem.ui81ffe-isActive {
  color: var(--ui81ffe-mint);
  background: rgba(0, 250, 154, 0.12);
}

.ui81ffe-bottomItem.ui81ffe-isActive svg .ui81ffe-icoFill { fill: currentColor; }

.ui81ffe-bottomItem .ui81ffe-icoFill { transition: fill 0.2s ease; }

/* ---------- Shared inline SVG sizing (menu / misc) ---------- */
.ui81ffe-icoLine {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Small screens inside the phone canvas ---------- */
@media (max-width: 339px) {
  .ui81ffe-gameGrid { grid-template-columns: repeat(4, 1fr); gap: 6px 5px; }
  .ui81ffe-chipStrip { grid-template-columns: 1fr 1fr; }
  .ui81ffe-promoGrid { grid-template-columns: 1fr; }
  h1 { font-size: 19px; }
}

@media (min-width: 431px) {
  body { background:
    radial-gradient(60% 40% at 50% 0%, rgba(0, 250, 154, 0.06), transparent 70%),
    #131e29; }
}

/* ---------- Compatible content and touch refinements ---------- */
:root { --ui81ffe-topH: 110px; --ui81ffe-muted: #b8c4ce; }
.ui81ffe-menuBtn, .ui81ffe-btnReg, .ui81ffe-btnLogin { min-height: 44px; }
.ui81ffe-main { overflow-wrap: anywhere; padding-bottom: 20px; }
.ui81ffe-copyright { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.ui81ffe-bottomItem { min-height: 50px; margin: 6px 3px; }
.ui81ffe-bottomNav { align-items: start; }
.ui81ffe-routePanel { max-height: calc(100dvh - 194px - env(safe-area-inset-bottom)); }
.ui81ffe-routeLink[aria-current="page"] { border-color: var(--ui81ffe-mint); background: rgba(0,250,154,.1); }
.ui81ffe-gameCard { min-height: 44px; }
.ui81ffe-gameCardName { display: block; overflow: visible; min-height: 2.64em; }
.ui81ffe-slide img { height: auto; aspect-ratio: 1915 / 450; object-fit: contain; }
.ui81ffe-carouselDots { position: static; height: 44px; gap: 0; background: #172b3b; }
.ui81ffe-dot, .ui81ffe-dot.ui81ffe-dotOn { width: 44px; height: 44px; border-radius: 0; background: transparent; position: relative; }
.ui81ffe-dot::after { content: ""; position: absolute; height: 5px; width: 8px; border-radius: 5px; background: #b8c4ce; left: 50%; top: 50%; transform: translate(-50%,-50%); transition: width .2s; }
.ui81ffe-dot.ui81ffe-dotOn::after { width: 22px; background: var(--ui81ffe-mint); }
.ui81ffe-bodyLink { display: inline-block; min-height: 44px; padding: 10px 4px; text-decoration: underline; text-underline-offset: 3px; }
.ui81ffe-briefList, .ui81ffe-glossary { margin: 10px 0; }
.ui81ffe-briefList dt, .ui81ffe-glossary dt { color: var(--ui81ffe-mintSoft); font-weight: 700; padding: 9px 10px 0; }
.ui81ffe-briefList dd, .ui81ffe-glossary dd { margin: 0 0 8px; padding: 4px 10px 10px; border-bottom: 1px solid var(--ui81ffe-line); }
.ui81ffe-scenario { border-left: 2px solid var(--ui81ffe-teal); padding: 5px 0 5px 11px; margin: 12px 0; }
.ui81ffe-access { padding: 12px 0; border-bottom: 1px solid var(--ui81ffe-line); }
.ui81ffe-compare { display: grid; gap: 10px; }
.ui81ffe-compare article { padding: 12px; border-radius: var(--ui81ffe-radiusCard); border: 1px solid var(--ui81ffe-line); background: var(--ui81ffe-panel); }
.ui81ffe-helpNote { margin: 12px 0; padding: 12px; border-left: 3px solid var(--ui81ffe-teal); background: rgba(77,182,172,.08); }
.ui81ffe-checkList { display: grid; gap: 12px; }
.ui81ffe-checkList li { padding: 10px 10px 10px 14px; border-left: 3px solid var(--ui81ffe-mint); background: var(--ui81ffe-panel); border-radius: 0 10px 10px 0; }
.ui81ffe-promoList { display: grid; gap: 12px; }
.ui81ffe-promoList li { padding-bottom: 10px; border-bottom: 1px solid var(--ui81ffe-line); }
.ui81ffe-promoList p { font-size: 12px; margin: 5px 0 0; color: var(--ui81ffe-muted); }
.ui81ffe-ctaBtn { padding: 9px 13px; }
@media (prefers-reduced-motion: reduce) { .ui81ffe-dot::after { transition: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .ui81ffe-section { animation: none; }
  .ui81ffe-carouselTrack { transition: none; }
  .ui81ffe-navIndicator { transition: none; }
  .ui81ffe-dot { transition: none; }
}
