/* ============================================================
   222bet apk - mobile-first display stylesheet
   Canvas: 320-430px phone layout, centered on wide screens
   Prefix: frame22581-
   ============================================================ */

:root {
  --frame22581-bg: #2d2d2d;
  --frame22581-bg-deep: #232323;
  --frame22581-surface: #3a3a3a;
  --frame22581-surface-hi: #454545;
  --frame22581-line: #4d4d4d;
  --frame22581-text: #d8bfd8;
  --frame22581-text-strong: #f2e4f2;
  --frame22581-muted: #808080;
  --frame22581-accent: #4db6ac;
  --frame22581-accent-deep: #3a9a91;
  --frame22581-accent-ink: #10201e;
  --frame22581-radius-card: 8px;
  --frame22581-radius-btn: 5px;
  --frame22581-header-h: 54px;
  --frame22581-nav-h: 60px;
  --frame22581-font-head: 'Noto Serif Bengali', 'Hind Siliguri', serif;
  --frame22581-font-body: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  --frame22581-canvas: 430px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--frame22581-bg-deep);
  color: var(--frame22581-text);
  font-family: var(--frame22581-font-body);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* centered phone canvas on wide screens */
.frame22581-page {
  max-width: var(--frame22581-canvas);
  margin: 0 auto;
  background: var(--frame22581-bg);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.45);
}

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

a { color: var(--frame22581-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--frame22581-accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.frame22581-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--frame22581-accent);
  color: var(--frame22581-accent-ink);
  padding: 8px 14px;
  z-index: 200;
  font-weight: 700;
}
.frame22581-skip:focus { left: 10px; top: 10px; }

/* ============ compact brand bar (fixed top) ============ */
.frame22581-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--frame22581-canvas);
  height: var(--frame22581-header-h);
  background: rgba(35, 35, 35, 0.97);
  border-bottom: 1px solid var(--frame22581-line);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  z-index: 120;
}

.frame22581-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.frame22581-brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  border: 1px solid var(--frame22581-line);
  flex: 0 0 auto;
}
.frame22581-brand-name {
  font-family: var(--frame22581-font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--frame22581-text-strong);
  white-space: nowrap;
  letter-spacing: 0.2px;
}
.frame22581-brand-name b { color: var(--frame22581-accent); font-weight: 700; }

/* segmented action control: login | register */
.frame22581-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.frame22581-seg {
  display: flex;
  border: 1px solid var(--frame22581-accent);
  border-radius: var(--frame22581-radius-btn);
  overflow: hidden;
}
.frame22581-seg-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--frame22581-accent);
  font-family: var(--frame22581-font-body);
  font-size: 13px;
  font-weight: 600;
  min-height: 34px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.frame22581-seg-btn + .frame22581-seg-btn {
  border-left: 1px solid var(--frame22581-accent);
}
.frame22581-seg-btn:hover { text-decoration: none; }
.frame22581-seg-btn--fill {
  background: var(--frame22581-accent);
  color: var(--frame22581-accent-ink);
}
.frame22581-seg-btn--fill:active { background: var(--frame22581-accent-deep); }

.frame22581-burger {
  appearance: none;
  background: transparent;
  border: 1px solid var(--frame22581-line);
  border-radius: var(--frame22581-radius-btn);
  width: 38px;
  height: 34px;
  display: grid;
  place-content: center;
  gap: 4px;
  cursor: pointer;
  flex: 0 0 auto;
}
.frame22581-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--frame22581-text);
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.frame22581-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.frame22581-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.frame22581-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ full-height menu layer ============ */
.frame22581-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 130;
}
.frame22581-scrim--open { opacity: 1; visibility: visible; }

.frame22581-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(84%, 320px);
  background: var(--frame22581-bg-deep);
  border-right: 1px solid var(--frame22581-line);
  transform: translateX(-102%);
  transition: transform 0.22s ease;
  z-index: 140;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: 24px;
}
.frame22581-menu--open { transform: translateX(0); }

.frame22581-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--frame22581-line);
}
.frame22581-menu-head img { width: 30px; height: 30px; border-radius: 6px; }
.frame22581-menu-title {
  font-family: var(--frame22581-font-head);
  font-size: 16px;
  color: var(--frame22581-text-strong);
  font-weight: 700;
}
.frame22581-menu-close {
  appearance: none;
  background: var(--frame22581-surface);
  border: 1px solid var(--frame22581-line);
  color: var(--frame22581-text);
  border-radius: var(--frame22581-radius-btn);
  width: 36px;
  height: 36px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.frame22581-menu-group {
  padding: 12px 14px 4px;
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--frame22581-muted);
  text-transform: uppercase;
  font-weight: 600;
}
.frame22581-menu-list { list-style: none; margin: 0; padding: 0 10px; }
.frame22581-menu-list li { margin: 2px 0; }
.frame22581-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--frame22581-radius-btn);
  color: var(--frame22581-text);
  font-size: 14.5px;
  font-weight: 500;
}
.frame22581-menu-link:hover,
.frame22581-menu-link:focus-visible {
  background: var(--frame22581-surface);
  text-decoration: none;
}
.frame22581-menu-link--current {
  background: var(--frame22581-surface-hi);
  color: var(--frame22581-accent);
  font-weight: 700;
}
.frame22581-menu-link .frame22581-menu-arrow {
  color: var(--frame22581-muted);
  font-size: 12px;
  transition: transform 0.18s ease, color 0.18s ease;
}
.frame22581-menu-link:hover .frame22581-menu-arrow {
  color: var(--frame22581-accent);
  transform: translateX(2px);
}

/* ============ main canvas ============ */
.frame22581-main {
  padding: calc(var(--frame22581-header-h) + 10px) 12px calc(var(--frame22581-nav-h) + 30px);
}

/* hero */
.frame22581-hero {
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(77, 182, 172, 0.22), transparent 58%),
    linear-gradient(160deg, #333 0%, #2a2a2a 62%, #262626 100%);
  border: 1px solid var(--frame22581-line);
  border-radius: var(--frame22581-radius-card);
  padding: 16px 14px 14px;
  margin-bottom: 14px;
}
.frame22581-hero h1 {
  font-family: var(--frame22581-font-head);
  font-size: 21px;
  line-height: 1.45;
  color: var(--frame22581-text-strong);
  margin: 0 0 8px;
}
.frame22581-hero p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--frame22581-text);
}
.frame22581-cta-row {
  display: flex;
  border: 1px solid var(--frame22581-accent);
  border-radius: var(--frame22581-radius-btn);
  overflow: hidden;
}
.frame22581-cta-row button {
  flex: 1;
  appearance: none;
  border: 0;
  min-height: 44px;
  font-family: var(--frame22581-font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease;
}
.frame22581-cta-row button + button { border-left: 1px solid var(--frame22581-accent); }
.frame22581-cta-primary {
  background: var(--frame22581-accent);
  color: var(--frame22581-accent-ink);
}
.frame22581-cta-primary:active { background: var(--frame22581-accent-deep); }
.frame22581-cta-ghost {
  background: transparent;
  color: var(--frame22581-accent);
}
.frame22581-cta-ghost:active { background: rgba(77, 182, 172, 0.14); }

/* carousel */
.frame22581-carousel {
  position: relative;
  margin: 0 -12px 16px;
}
.frame22581-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.frame22581-track::-webkit-scrollbar { display: none; }
.frame22581-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
}
.frame22581-slide button {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--frame22581-bg-deep);
  cursor: pointer;
}
.frame22581-slide img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}
.frame22581-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 12px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  color: var(--frame22581-text-strong);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}
.frame22581-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px 0 2px;
}
.frame22581-dot {
  appearance: none;
  width: 24px;
  height: 20px;
  border: 0;
  padding: 4px 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  align-items: center;
}
.frame22581-dot i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: var(--frame22581-muted);
  transition: background 0.18s ease, width 0.18s ease;
}
.frame22581-dot--on i {
  background: var(--frame22581-accent);
  width: 22px;
}

/* quick tiles */
.frame22581-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.frame22581-quick a,
.frame22581-quick button {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 9px 4px 7px;
  min-height: 58px;
  align-content: start;
  background: var(--frame22581-surface);
  border: 1px solid var(--frame22581-line);
  border-radius: var(--frame22581-radius-card);
  color: var(--frame22581-text);
  font-family: var(--frame22581-font-body);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.frame22581-quick a:hover,
.frame22581-quick button:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--frame22581-accent);
}
.frame22581-quick-ico {
  color: var(--frame22581-accent);
  display: block;
}

/* ============ game sections ============ */
.frame22581-sec {
  margin-bottom: 22px;
  scroll-margin-top: calc(var(--frame22581-header-h) + 8px);
}
.frame22581-sec-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.frame22581-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--frame22581-accent);
  text-transform: uppercase;
  white-space: nowrap;
}
.frame22581-count {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--frame22581-muted);
  border: 1px solid var(--frame22581-line);
  border-radius: 999px;
  padding: 1px 9px;
  white-space: nowrap;
}
.frame22581-h2 {
  font-family: var(--frame22581-font-head);
  font-size: 18px;
  line-height: 1.5;
  color: var(--frame22581-text-strong);
  margin: 0 0 4px;
}
.frame22581-sec-intro {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--frame22581-text);
}

/* light floating-layer image cards */
.frame22581-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.frame22581-card {
  display: block;
  background: var(--frame22581-surface);
  border: 1px solid var(--frame22581-line);
  border-radius: var(--frame22581-radius-card);
  padding: 5px 5px 7px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.frame22581-card:hover,
.frame22581-card:focus-visible {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--frame22581-accent);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}
.frame22581-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: var(--frame22581-bg-deep);
}
.frame22581-card-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--frame22581-text);
  text-align: center;
  margin-top: 5px;
  min-height: 2.8em;
  word-break: break-word;
}

/* related page chips under a category */
.frame22581-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.frame22581-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px dashed var(--frame22581-accent);
  border-radius: 999px;
  color: var(--frame22581-accent);
  font-size: 12.5px;
  font-weight: 600;
}
.frame22581-chip:hover {
  text-decoration: none;
  background: rgba(77, 182, 172, 0.12);
}

/* ============ content modules ============ */
.frame22581-panel {
  background: var(--frame22581-surface);
  border: 1px solid var(--frame22581-line);
  border-radius: var(--frame22581-radius-card);
  padding: 14px 13px;
  margin-bottom: 18px;
}
.frame22581-panel > p:first-of-type { margin-top: 2px; }

/* category highlight mini cards */
.frame22581-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.frame22581-cat {
  background: var(--frame22581-bg);
  border: 1px solid var(--frame22581-line);
  border-radius: var(--frame22581-radius-card);
  padding: 10px;
}
.frame22581-cat h3 {
  margin: 0 0 4px;
  font-family: var(--frame22581-font-head);
  font-size: 14px;
  color: var(--frame22581-accent);
}
.frame22581-cat p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--frame22581-text);
}

/* tricks: numbered short list */
.frame22581-steps {
  list-style: none;
  counter-reset: frame22581-step;
  margin: 10px 0 0;
  padding: 0;
}
.frame22581-steps li {
  counter-increment: frame22581-step;
  position: relative;
  padding: 8px 8px 8px 38px;
  margin-bottom: 7px;
  background: var(--frame22581-bg);
  border: 1px solid var(--frame22581-line);
  border-radius: var(--frame22581-radius-btn);
  font-size: 13px;
  line-height: 1.6;
}
.frame22581-steps li::before {
  content: counter(frame22581-step);
  position: absolute;
  left: 8px;
  top: 9px;
  width: 22px;
  height: 22px;
  display: grid;
  place-content: center;
  background: var(--frame22581-accent);
  color: var(--frame22581-accent-ink);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

/* winners ticker rows */
.frame22581-win-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.frame22581-win-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  border-bottom: 1px dashed var(--frame22581-line);
  font-size: 13px;
}
.frame22581-win-list li:last-child { border-bottom: 0; }
.frame22581-win-who { flex: 1; min-width: 0; }
.frame22581-win-who b { color: var(--frame22581-text-strong); display: block; font-size: 13px; }
.frame22581-win-who span { color: var(--frame22581-muted); font-size: 12px; }
.frame22581-win-amt {
  flex: 0 0 auto;
  color: var(--frame22581-accent);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

/* fact summary definition rows */
.frame22581-facts {
  margin: 10px 0 0;
  border: 1px solid var(--frame22581-line);
  border-radius: var(--frame22581-radius-card);
  overflow: hidden;
}
.frame22581-facts > div {
  display: flex;
  gap: 10px;
  padding: 9px 12px;
  background: var(--frame22581-bg);
  font-size: 13px;
  line-height: 1.6;
}
.frame22581-facts > div + div { border-top: 1px solid var(--frame22581-line); }
.frame22581-facts dt {
  flex: 0 0 96px;
  margin: 0;
  color: var(--frame22581-accent);
  font-weight: 700;
}
.frame22581-facts dd { margin: 0; flex: 1; min-width: 0; }

/* FAQ */
.frame22581-faq { margin-top: 10px; }
.frame22581-faq details {
  background: var(--frame22581-bg);
  border: 1px solid var(--frame22581-line);
  border-radius: var(--frame22581-radius-btn);
  margin-bottom: 8px;
}
.frame22581-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 11px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--frame22581-text-strong);
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  min-height: 44px;
}
.frame22581-faq summary::-webkit-details-marker { display: none; }
.frame22581-faq summary::after {
  content: "+";
  color: var(--frame22581-accent);
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.18s ease;
}
.frame22581-faq details[open] summary::after { transform: rotate(45deg); }
.frame22581-faq p { margin: 0; padding: 0 12px 12px; font-size: 13px; line-height: 1.65; }

/* promo inline button inside copy */
.frame22581-inline-cta {
  display: inline-block;
  background: var(--frame22581-accent);
  color: var(--frame22581-accent-ink);
  border-radius: var(--frame22581-radius-btn);
  padding: 8px 14px;
  min-height: 36px;
  line-height: 1.3;
  font-weight: 700;
  font-size: 13px;
  border: 0;
  cursor: pointer;
  font-family: var(--frame22581-font-body);
  transition: background 0.18s ease;
}
.frame22581-inline-cta:active { background: var(--frame22581-accent-deep); }
.frame22581-inline-cta:hover { text-decoration: none; }

/* ============ extended footer (home only) ============ */
.frame22581-ext {
  margin-top: 24px;
  border-top: 2px solid var(--frame22581-accent);
  padding-top: 16px;
}
.frame22581-ext-label {
  font-family: var(--frame22581-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--frame22581-text-strong);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.frame22581-ext-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--frame22581-accent);
  flex: 0 0 auto;
}
.frame22581-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin-bottom: 16px;
  list-style: none;
  padding: 0;
}
.frame22581-dir a {
  display: block;
  padding: 8px 10px;
  background: var(--frame22581-surface);
  border: 1px solid var(--frame22581-line);
  border-radius: var(--frame22581-radius-btn);
  color: var(--frame22581-text);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.frame22581-dir a:hover {
  text-decoration: none;
  border-color: var(--frame22581-accent);
  color: var(--frame22581-accent);
}
.frame22581-ext-brand {
  font-size: 13px;
  line-height: 1.7;
  color: var(--frame22581-text);
  margin-bottom: 16px;
}
.frame22581-promo-pool {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.frame22581-promo-pool button {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--frame22581-accent);
  border-radius: var(--frame22581-radius-btn);
  background: rgba(77, 182, 172, 0.08);
  color: var(--frame22581-accent);
  font-family: var(--frame22581-font-body);
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.frame22581-promo-pool button:hover { background: rgba(77, 182, 172, 0.16); transform: translateY(-2px); }
.frame22581-promo-pool .frame22581-promo-note {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--frame22581-muted);
  font-weight: 400;
}
.frame22581-note {
  background: var(--frame22581-bg-deep);
  border: 1px dashed var(--frame22581-muted);
  border-radius: var(--frame22581-radius-card);
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--frame22581-muted);
}
.frame22581-note b { color: var(--frame22581-text); }

/* ============ footer bar + bottom nav rail ============ */
.frame22581-foot {
  padding: 4px 0 6px;
  text-align: center;
  color: var(--frame22581-muted);
  font-size: 12px;
}
.frame22581-foot b { color: var(--frame22581-text); font-weight: 600; }

.frame22581-navrail {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--frame22581-canvas);
  height: calc(var(--frame22581-nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(35, 35, 35, 0.98);
  border-top: 1px solid var(--frame22581-line);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  z-index: 110;
}
.frame22581-navrail a,
.frame22581-navrail button {
  appearance: none;
  background: transparent;
  border: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  min-height: var(--frame22581-nav-h);
  padding: 6px 2px 4px;
  color: var(--frame22581-muted);
  font-family: var(--frame22581-font-body);
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: color 0.18s ease;
}
.frame22581-navrail a::before,
.frame22581-navrail button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--frame22581-accent);
  transition: width 0.18s ease;
}
.frame22581-navrail a:hover,
.frame22581-navrail button:hover { text-decoration: none; color: var(--frame22581-text); }
.frame22581-navrail .frame22581-nav-ico {
  transition: transform 0.18s ease;
}
.frame22581-navrail a:hover .frame22581-nav-ico,
.frame22581-navrail button:hover .frame22581-nav-ico { transform: translateY(-2px); }
.frame22581-navrail .is-current {
  color: var(--frame22581-accent);
}
.frame22581-navrail .is-current::before { width: 26px; }

/* ============ responsive ladder ============ */
@media (min-width: 375px) {
  .frame22581-hero h1 { font-size: 23px; }
  .frame22581-h2 { font-size: 19px; }
  .frame22581-card-name { font-size: 12px; }
}

/* 5 columns on wider phones; canvas stays 430px wide max */
@media (min-width: 400px) {
  .frame22581-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (min-width: 431px) {
  body { background: #1b1b1b; }
  .frame22581-page {
    border-left: 1px solid var(--frame22581-line);
    border-right: 1px solid var(--frame22581-line);
  }
}

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