/* baji9.casa mobile-first base stylesheet */
:root {
  --frame04980-bg-outer: #0f1720;
  --frame04980-bg-canvas: #18232f;
  --frame04980-bg-surface: #223140;
  --frame04980-bg-elevated: #2c3e50;
  --frame04980-accent: #8470ff;
  --frame04980-accent-bright: #a799ff;
  --frame04980-accent-soft: rgba(132, 112, 255, 0.16);
  --frame04980-accent-border: rgba(132, 112, 255, 0.36);
  --frame04980-text: #f1f5f9;
  --frame04980-text-sub: #cbd5e1;
  --frame04980-text-muted: #94a3b8;
  --frame04980-border: rgba(226, 232, 240, 0.12);
  --frame04980-r-cut: 12px 4px 12px 4px;
  --frame04980-r-sm: 4px;
  --frame04980-r-md: 10px;
  --frame04980-r-pill: 999px;
  --frame04980-font-head: 'Segoe UI', 'Hind Siliguri', 'Noto Sans Bengali', system-ui, -apple-system, sans-serif;
  --frame04980-font-body: 'Noto Sans Bengali', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --frame04980-header-h: 58px;
  --frame04980-footer-h: 82px;
  --frame04980-ease: 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--frame04980-bg-outer);
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--frame04980-font-body);
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--frame04980-text);
  background-color: var(--frame04980-bg-outer);
  overflow-x: hidden;
}

.frame04980-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background-color: var(--frame04980-bg-canvas);
  position: relative;
  box-shadow: 0 0 0 1px var(--frame04980-border);
  padding-top: var(--frame04980-header-h);
  padding-bottom: calc(var(--frame04980-footer-h) + 12px);
}

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

a {
  color: var(--frame04980-accent-bright);
  text-decoration: none;
  transition: color var(--frame04980-ease);
}

a:hover {
  color: #ffffff;
}

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

:focus-visible {
  outline: 2px solid var(--frame04980-accent-bright);
  outline-offset: 2px;
}

/* Global asymmetric header & side drawer */
#frame04980-top {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(24, 35, 47, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--frame04980-border);
}

.frame04980-header-bar {
  height: var(--frame04980-header-h);
  padding: 0 10px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.frame04980-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-left: 8px;
  border-left: 3px solid var(--frame04980-accent);
  color: var(--frame04980-text);
  font-family: var(--frame04980-font-head);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.frame04980-brand-logo {
  width: 32px;
  height: 32px;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: var(--frame04980-r-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.frame04980-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.frame04980-auth-pair {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--frame04980-bg-surface);
  padding: 3px;
  border-radius: var(--frame04980-r-cut);
  border: 1px solid var(--frame04980-border);
}

.frame04980-hdr-btn {
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px 3px 8px 3px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color var(--frame04980-ease), color var(--frame04980-ease);
}

.frame04980-hdr-login {
  background: transparent;
  color: var(--frame04980-text);
}

.frame04980-hdr-login:hover {
  background: rgba(255, 255, 255, 0.08);
}

.frame04980-hdr-reg {
  background: var(--frame04980-accent);
  color: #ffffff;
}

.frame04980-hdr-reg:hover {
  background: #9684ff;
}

.frame04980-menu-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--frame04980-bg-surface);
  color: var(--frame04980-text);
  border: 1px solid var(--frame04980-border);
  border-radius: var(--frame04980-r-sm);
  transition: border-color var(--frame04980-ease), background-color var(--frame04980-ease);
}

.frame04980-menu-toggle:hover {
  border-color: var(--frame04980-accent);
  background: var(--frame04980-bg-elevated);
}

/* Side drawer */
.frame04980-drawer-wrap {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: flex-end;
}

.frame04980-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 19, 0.72);
}

.frame04980-drawer {
  position: relative;
  z-index: 82;
  width: min(82vw, 310px);
  height: 100vh;
  background: var(--frame04980-bg-canvas);
  border-left: 1px solid var(--frame04980-accent-border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 14px 14px 28px;
}

.frame04980-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--frame04980-border);
}

.frame04980-drawer-title {
  margin: 0;
  font-family: var(--frame04980-font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--frame04980-accent-bright);
  letter-spacing: 0.03em;
}

.frame04980-drawer-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--frame04980-border);
  border-radius: var(--frame04980-r-sm);
  background: var(--frame04980-bg-surface);
  color: var(--frame04980-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
}

.frame04980-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.frame04980-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--frame04980-r-sm);
  background: var(--frame04980-bg-surface);
  color: var(--frame04980-text);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background-color var(--frame04980-ease), border-color var(--frame04980-ease), color var(--frame04980-ease);
}

.frame04980-drawer-link:hover {
  background: var(--frame04980-bg-elevated);
  border-color: var(--frame04980-accent-border);
}

.frame04980-drawer-link.frame04980-is-active {
  background: var(--frame04980-accent-soft);
  border-color: var(--frame04980-accent);
  color: #ffffff;
  font-weight: 700;
}

/* Main container & typography */
.frame04980-main {
  padding: 14px 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.frame04980-article {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.frame04980-h1 {
  margin: 0 0 10px;
  font-family: var(--frame04980-font-head);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.frame04980-lead {
  margin: 0;
  padding: 12px 13px;
  background: var(--frame04980-bg-surface);
  border-left: 3px solid var(--frame04980-accent);
  border-radius: var(--frame04980-r-cut);
  color: var(--frame04980-text-sub);
  font-size: 0.92rem;
}

.frame04980-lead p {
  margin: 0;
}

.frame04980-lead strong {
  color: #ffffff;
}

/* Breadcrumb */
.frame04980-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--frame04980-text-muted);
  padding: 4px 0;
}

.frame04980-breadcrumb a {
  color: var(--frame04980-accent-bright);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

/* Compact dual CTA button group */
.frame04980-cta-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.frame04980-btn-primary,
.frame04980-btn-secondary {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--frame04980-r-cut);
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  transition: background-color var(--frame04980-ease), border-color var(--frame04980-ease), transform var(--frame04980-ease);
}

.frame04980-btn-primary {
  background: var(--frame04980-accent);
  color: #ffffff;
  border: 1px solid var(--frame04980-accent);
}

.frame04980-btn-primary:hover {
  background: #9684ff;
  transform: translateY(-1px);
}

.frame04980-btn-secondary {
  background: var(--frame04980-bg-elevated);
  color: var(--frame04980-text);
  border: 1px solid var(--frame04980-accent-border);
}

.frame04980-btn-secondary:hover {
  background: #34495e;
  border-color: var(--frame04980-accent);
}

.frame04980-inline-cta {
  background: none;
  border: 0;
  padding: 0 2px;
  color: var(--frame04980-accent-bright);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: inherit;
}

.frame04980-inline-cta:hover {
  color: #ffffff;
}

/* Carousel */
.frame04980-carousel {
  position: relative;
  border-radius: var(--frame04980-r-md);
  overflow: hidden;
  border: 1px solid var(--frame04980-border);
  background: var(--frame04980-bg-surface);
}

.frame04980-carousel-track {
  display: flex;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.frame04980-slide {
  min-width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  display: block;
}

.frame04980-slide img {
  width: 100%;
  aspect-ratio: 16 / 7;
  height: auto;
  object-fit: cover;
}

.frame04980-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  background: rgba(15, 23, 32, 0.85);
}

.frame04980-carousel-nav {
  width: 36px;
  height: 36px;
  border: 1px solid var(--frame04980-border);
  border-radius: var(--frame04980-r-sm);
  background: var(--frame04980-bg-surface);
  color: var(--frame04980-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.frame04980-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.frame04980-dot {
  width: 24px;
  height: 6px;
  border: 0;
  border-radius: var(--frame04980-r-pill);
  background: rgba(203, 213, 225, 0.32);
  padding: 0;
  transition: background-color var(--frame04980-ease), width var(--frame04980-ease);
}

.frame04980-dot[aria-selected="true"] {
  width: 34px;
  background: var(--frame04980-accent);
}

/* Section container & headings */
.frame04980-section {
  background: var(--frame04980-bg-surface);
  border: 1px solid var(--frame04980-border);
  border-radius: var(--frame04980-r-cut);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.frame04980-kicker {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: var(--frame04980-r-sm);
  background: var(--frame04980-accent-soft);
  color: var(--frame04980-accent-bright);
  font-family: var(--frame04980-font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.frame04980-section-title {
  margin: 0;
  font-family: var(--frame04980-font-head);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.38;
  color: #ffffff;
}

.frame04980-sub-title {
  margin: 6px 0 2px;
  font-family: var(--frame04980-font-head);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--frame04980-accent-bright);
}

.frame04980-section p {
  margin: 0;
  color: var(--frame04980-text-sub);
}

/* Game lobby & light-overlay image cards */
.frame04980-cat-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.frame04980-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--frame04980-border);
}

.frame04980-cat-title {
  margin: 0;
  font-family: var(--frame04980-font-head);
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
}

.frame04980-cat-count {
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--frame04980-accent-bright);
  background: var(--frame04980-accent-soft);
  padding: 2px 7px;
  border-radius: var(--frame04980-r-sm);
}

.frame04980-game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

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

.frame04980-game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 1px solid var(--frame04980-border);
  border-radius: var(--frame04980-r-md);
  overflow: hidden;
  background: var(--frame04980-bg-elevated);
  color: #ffffff;
  text-align: left;
  transition: transform var(--frame04980-ease), border-color var(--frame04980-ease);
}

.frame04980-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--frame04980-accent);
}

.frame04980-game-thumb {
  display: block;
  width: 100%;
  position: relative;
}

.frame04980-game-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.frame04980-game-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 5px 4px;
  font-size: 0.7rem;
  line-height: 1.25;
  font-weight: 600;
  color: #f8fafc;
  background: linear-gradient(180deg, rgba(24, 35, 47, 0.86), rgba(24, 35, 47, 0.98));
  text-align: center;
  min-height: 2.35em;
  word-break: break-word;
}

/* Inner-page & homepage data/editorial components */

/* Stat summary cards */
.frame04980-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.frame04980-stat-card {
  background: var(--frame04980-bg-elevated);
  border: 1px solid var(--frame04980-border);
  border-radius: var(--frame04980-r-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.frame04980-stat-val {
  font-family: var(--frame04980-font-head);
  font-size: 1.08rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--frame04980-accent-bright);
  line-height: 1.2;
}

.frame04980-stat-label {
  font-size: 0.78rem;
  color: var(--frame04980-text-sub);
  line-height: 1.35;
}

/* Bullet key points */
.frame04980-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.frame04980-points li {
  position: relative;
  padding: 9px 10px 9px 26px;
  background: var(--frame04980-bg-elevated);
  border-radius: var(--frame04980-r-sm);
  border: 1px solid var(--frame04980-border);
  color: var(--frame04980-text-sub);
  font-size: 0.88rem;
}

.frame04980-points li::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--frame04980-accent);
}

/* Numbered step list <ol> */
.frame04980-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: frame04980-step;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.frame04980-steps li {
  counter-increment: frame04980-step;
  position: relative;
  padding: 10px 10px 10px 40px;
  background: var(--frame04980-bg-elevated);
  border: 1px solid var(--frame04980-border);
  border-radius: var(--frame04980-r-sm);
  font-size: 0.88rem;
  color: var(--frame04980-text-sub);
}

.frame04980-steps li::before {
  content: counter(frame04980-step);
  position: absolute;
  left: 10px;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: var(--frame04980-r-sm);
  background: var(--frame04980-accent);
  color: #ffffff;
  font-family: var(--frame04980-font-head);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Timeline */
.frame04980-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--frame04980-accent-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.frame04980-timeline li {
  position: relative;
  padding: 8px 10px;
  background: var(--frame04980-bg-elevated);
  border-radius: var(--frame04980-r-sm);
  font-size: 0.88rem;
  color: var(--frame04980-text-sub);
}

.frame04980-timeline li::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--frame04980-accent);
  border: 2px solid var(--frame04980-bg-canvas);
}

/* Checklist */
.frame04980-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.frame04980-checklist li {
  position: relative;
  padding: 8px 10px 8px 30px;
  background: var(--frame04980-bg-elevated);
  border: 1px solid var(--frame04980-border);
  border-radius: var(--frame04980-r-sm);
  font-size: 0.88rem;
  color: var(--frame04980-text-sub);
}

.frame04980-checklist li::before {
  content: '✓';
  position: absolute;
  left: 10px;
  top: 8px;
  color: var(--frame04980-accent-bright);
  font-weight: 700;
}

/* Definition list <dl> */
.frame04980-deflist {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.frame04980-def-item {
  background: var(--frame04980-bg-elevated);
  border: 1px solid var(--frame04980-border);
  border-radius: var(--frame04980-r-sm);
  padding: 9px 10px;
}

.frame04980-deflist dt {
  font-family: var(--frame04980-font-head);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--frame04980-accent-bright);
  margin-bottom: 3px;
}

.frame04980-deflist dd {
  margin: 0;
  font-size: 0.86rem;
  color: var(--frame04980-text-sub);
}

/* Data / comparison / calculation table */
.frame04980-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--frame04980-border);
  border-radius: var(--frame04980-r-sm);
}

.frame04980-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.frame04980-table th,
.frame04980-table td {
  padding: 8px 8px;
  text-align: left;
  border-bottom: 1px solid var(--frame04980-border);
  vertical-align: top;
}

.frame04980-table th {
  background: var(--frame04980-bg-elevated);
  color: #ffffff;
  font-family: var(--frame04980-font-head);
  font-weight: 700;
}

.frame04980-table td {
  color: var(--frame04980-text-sub);
  background: rgba(24, 35, 47, 0.55);
}

.frame04980-table tr:last-child td {
  border-bottom: 0;
}

/* Calculation example box */
.frame04980-calc-box {
  background: var(--frame04980-bg-elevated);
  border: 1px solid var(--frame04980-accent-border);
  border-radius: var(--frame04980-r-cut);
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}

.frame04980-calc-title {
  margin: 0;
  font-family: var(--frame04980-font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--frame04980-accent-bright);
}

.frame04980-calc-formula {
  margin: 0;
  padding: 7px 9px;
  background: var(--frame04980-bg-canvas);
  border-radius: var(--frame04980-r-sm);
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
}

/* Two-column comparison */
.frame04980-dual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.frame04980-dual-col {
  background: var(--frame04980-bg-elevated);
  border: 1px solid var(--frame04980-border);
  border-radius: var(--frame04980-r-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.frame04980-dual-head {
  margin: 0;
  font-family: var(--frame04980-font-head);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--frame04980-accent-bright);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--frame04980-border);
}

.frame04980-dual-col p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--frame04980-text-sub);
}

/* Troubleshooting pairs */
.frame04980-trouble {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.frame04980-trouble-item {
  background: var(--frame04980-bg-elevated);
  border: 1px solid var(--frame04980-border);
  border-left: 3px solid var(--frame04980-accent);
  border-radius: var(--frame04980-r-sm);
  padding: 9px 10px;
  font-size: 0.86rem;
}

.frame04980-trouble-issue {
  margin: 0 0 4px;
  font-weight: 700;
  color: #ffffff;
}

.frame04980-trouble-fix {
  margin: 0;
  color: var(--frame04980-text-sub);
}

/* Scenario paragraph card */
.frame04980-scenario {
  background: var(--frame04980-bg-elevated);
  border: 1px solid var(--frame04980-border);
  border-radius: var(--frame04980-r-sm);
  padding: 11px 12px;
  font-size: 0.88rem;
  color: var(--frame04980-text-sub);
}

/* Q&A block & expandable FAQ */
.frame04980-qa-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.frame04980-qa-item {
  background: var(--frame04980-bg-elevated);
  border: 1px solid var(--frame04980-border);
  border-radius: var(--frame04980-r-sm);
  padding: 10px 11px;
}

.frame04980-qa-q {
  margin: 0 0 5px;
  font-family: var(--frame04980-font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.frame04980-qa-a {
  margin: 0;
  font-size: 0.86rem;
  color: var(--frame04980-text-sub);
}

.frame04980-faq-item {
  background: var(--frame04980-bg-elevated);
  border: 1px solid var(--frame04980-border);
  border-radius: var(--frame04980-r-sm);
  overflow: hidden;
}

.frame04980-faq-item summary {
  list-style: none;
  padding: 11px 12px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
}

.frame04980-faq-item summary::-webkit-details-marker {
  display: none;
}

.frame04980-faq-item summary::after {
  content: '+';
  font-family: var(--frame04980-font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--frame04980-accent-bright);
  flex-shrink: 0;
}

.frame04980-faq-item[open] summary::after {
  content: '−';
}

.frame04980-faq-q {
  margin: 0;
  font-family: var(--frame04980-font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.38;
}

.frame04980-faq-a {
  padding: 0 12px 11px;
  font-size: 0.86rem;
  color: var(--frame04980-text-sub);
  border-top: 1px solid var(--frame04980-border);
}

.frame04980-faq-a p {
  margin: 8px 0 0;
}

/* Action bar & entry card */
.frame04980-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  background: var(--frame04980-accent-soft);
  border: 1px solid var(--frame04980-accent-border);
  border-radius: var(--frame04980-r-cut);
}

.frame04980-action-text {
  margin: 0;
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 600;
}

.frame04980-entry-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: var(--frame04980-bg-elevated);
  border: 1px solid var(--frame04980-accent-border);
  border-radius: var(--frame04980-r-cut);
}

.frame04980-entry-title {
  margin: 0;
  font-family: var(--frame04980-font-head);
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
}

/* Game detail hero block */
.frame04980-game-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--frame04980-bg-surface);
  border: 1px solid var(--frame04980-accent-border);
  border-radius: var(--frame04980-r-cut);
}

.frame04980-game-hero-icon {
  width: 84px;
  height: 84px;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: var(--frame04980-r-md);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--frame04980-border);
}

.frame04980-game-hero-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.frame04980-game-hero-body h1 {
  margin: 0;
  font-family: var(--frame04980-font-head);
  font-size: 1.2rem;
  line-height: 1.3;
  color: #ffffff;
}

/* Homepage extended footer (placed before #frame04980-bottom) */
.frame04980-ext-footer {
  margin: 6px 12px 14px;
  padding: 14px 12px;
  background: var(--frame04980-bg-surface);
  border: 1px solid var(--frame04980-border);
  border-radius: var(--frame04980-r-cut);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.frame04980-ext-title {
  margin: 0 0 8px;
  font-family: var(--frame04980-font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--frame04980-accent-bright);
  text-transform: uppercase;
}

.frame04980-promo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.frame04980-promo-chip {
  min-height: 38px;
  padding: 6px 11px;
  border-radius: var(--frame04980-r-sm);
  border: 1px solid var(--frame04980-accent-border);
  background: var(--frame04980-bg-elevated);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background-color var(--frame04980-ease), border-color var(--frame04980-ease);
}

.frame04980-promo-chip:hover {
  background: var(--frame04980-accent);
  border-color: var(--frame04980-accent);
}

.frame04980-ext-brand p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--frame04980-text-sub);
}

.frame04980-ext-dir {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}

.frame04980-ext-dir a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 0.82rem;
  color: var(--frame04980-text-sub);
  border-bottom: 1px dashed rgba(226, 232, 240, 0.14);
}

.frame04980-ext-dir a:hover {
  color: var(--frame04980-accent-bright);
}

.frame04980-ext-closing {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--frame04980-border);
  font-size: 0.78rem;
  color: var(--frame04980-text-muted);
  text-align: center;
}

/* Global fixed footer & segmented 5-item action bar */
#frame04980-bottom {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(15, 23, 32, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--frame04980-accent-border);
}

.frame04980-copy {
  margin: 0;
  padding: 3px 10px 2px;
  text-align: center;
  font-size: 0.68rem;
  color: var(--frame04980-text-muted);
  border-bottom: 1px solid rgba(226, 232, 240, 0.08);
}

.frame04980-bnav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.frame04980-bnav-item {
  min-height: 54px;
  padding: 6px 2px;
  border: 0;
  border-right: 1px solid rgba(226, 232, 240, 0.08);
  background: transparent;
  color: var(--frame04980-text-sub);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--frame04980-ease), background-color var(--frame04980-ease);
}

.frame04980-bnav-item:last-child {
  border-right: 0;
}

.frame04980-bnav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.frame04980-bnav-item:hover {
  color: #ffffff;
  background: rgba(132, 112, 255, 0.1);
}

.frame04980-bnav-item.frame04980-is-active {
  color: #ffffff;
}

.frame04980-bnav-item.frame04980-is-active .frame04980-bnav-label {
  background: var(--frame04980-accent);
  color: #ffffff;
  padding: 1px 6px;
  border-radius: var(--frame04980-r-pill);
}

.frame04980-bnav-label {
  line-height: 1.2;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
