/* 399 bet mobile-first stylesheet - prefix: view101f8- */
:root {
  --view101f8-violet: #8A2BE2;
  --view101f8-violet-deep: #6b1db8;
  --view101f8-charcoal: #262626;
  --view101f8-bg: #17171a;
  --view101f8-surface: #262626;
  --view101f8-surface-alt: #2f2f35;
  --view101f8-border: #3d3d46;
  --view101f8-teal: #20B2AA;
  --view101f8-orange: #FF4500;
  --view101f8-orange-deep: #d93b00;
  --view101f8-text: #f3f4f6;
  --view101f8-muted: #c2c6d1;
  --view101f8-radius-card: 3px;
  --view101f8-radius-btn: 999px;
  --view101f8-font-head: 'Poppins', 'Montserrat', 'Hind Siliguri', 'Noto Sans Bengali', system-ui, -apple-system, sans-serif;
  --view101f8-font-body: 'Inter', 'Roboto', 'Noto Sans Bengali', system-ui, -apple-system, sans-serif;
}

[hidden] {
  display: none !important;
}

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

html {
  background-color: #101012;
  color: var(--view101f8-text);
  font-family: var(--view101f8-font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background-color: #101012;
  color: var(--view101f8-text);
  overflow-x: hidden;
}

a {
  color: var(--view101f8-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.16s ease;
}

a:hover {
  color: #5ce1d9;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--view101f8-teal);
  outline-offset: 2px;
}

img {
  max-width: 100%;
}

/* Mobile canvas shell */
.view101f8-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background-color: var(--view101f8-bg);
  border-left: 1px solid #28282f;
  border-right: 1px solid #28282f;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Global Header - Centered Identity Bar */
#view101f8-top {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: var(--view101f8-charcoal);
  border-bottom: 2px solid var(--view101f8-violet);
}

.view101f8-topbar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 6px;
}

.view101f8-menu-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--view101f8-surface-alt);
  color: var(--view101f8-text);
  border: 1px solid var(--view101f8-border);
  border-radius: var(--view101f8-radius-btn);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}

.view101f8-menu-btn:hover {
  border-color: var(--view101f8-teal);
}

.view101f8-menu-btn:active {
  transform: scale(0.95);
}

.view101f8-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: var(--view101f8-text);
  min-height: 44px;
}

.view101f8-brand-logo {
  width: 30px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  border-radius: 3px;
}

.view101f8-brand-name {
  font-family: var(--view101f8-font-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--view101f8-text);
}

.view101f8-topbar-spacer {
  width: 44px;
  height: 44px;
}

/* Segmented Header Auth Bar */
.view101f8-auth-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 10px 9px;
}

.view101f8-auth-btn {
  min-height: 44px;
  border-radius: var(--view101f8-radius-btn);
  border: 1px solid transparent;
  font-family: var(--view101f8-font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}

.view101f8-auth-btn:active {
  transform: scale(0.97);
}

.view101f8-auth-reg {
  background-color: var(--view101f8-orange);
  border-color: #ff6a33;
}

.view101f8-auth-reg:hover {
  background-color: var(--view101f8-orange-deep);
}

.view101f8-auth-login {
  background-color: var(--view101f8-violet);
  border-color: #a455ed;
}

.view101f8-auth-login:hover {
  background-color: var(--view101f8-violet-deep);
}

/* Stacked Overlay Menu Panel */
.view101f8-menu-overlay {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 100vh;
  background-color: rgba(16, 16, 20, 0.97);
  z-index: 120;
  overflow-y: auto;
  padding: 14px 14px 96px;
  border-left: 1px solid var(--view101f8-border);
  border-right: 1px solid var(--view101f8-border);
}

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

.view101f8-menu-title {
  margin: 0;
  font-family: var(--view101f8-font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--view101f8-teal);
}

.view101f8-menu-close {
  width: 44px;
  height: 44px;
  border-radius: var(--view101f8-radius-btn);
  border: 1px solid var(--view101f8-border);
  background-color: var(--view101f8-surface);
  color: var(--view101f8-text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.16s ease, transform 0.12s ease;
}

.view101f8-menu-close:active {
  transform: scale(0.95);
}

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

.view101f8-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 12px;
  background-color: var(--view101f8-surface);
  border: 1px solid var(--view101f8-border);
  border-radius: var(--view101f8-radius-card);
  color: var(--view101f8-text);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}

.view101f8-menu-link:hover {
  border-color: var(--view101f8-teal);
  color: var(--view101f8-teal);
}

.view101f8-menu-link:active {
  transform: scale(0.98);
}

.view101f8-menu-link.view101f8-is-active {
  border-color: var(--view101f8-violet);
  background-color: #2f2342;
  color: #ffffff;
}

.view101f8-menu-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Main Content Container */
.view101f8-main {
  flex: 1;
  padding: 12px 12px 24px;
}

/* Breadcrumb */
.view101f8-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--view101f8-muted);
}

.view101f8-crumb a {
  color: var(--view101f8-teal);
  text-decoration: none;
}

.view101f8-crumb a:hover {
  text-decoration: underline;
}

/* Typography */
.view101f8-h1 {
  margin: 0 0 10px;
  font-family: var(--view101f8-font-head);
  font-size: 1.38rem;
  line-height: 1.3;
  font-weight: 700;
  color: #ffffff;
}

.view101f8-h2 {
  margin: 0 0 8px;
  font-family: var(--view101f8-font-head);
  font-size: 1.12rem;
  line-height: 1.34;
  font-weight: 700;
  color: #ffffff;
  padding-left: 9px;
  border-left: 3px solid var(--view101f8-teal);
}

.view101f8-h3 {
  margin: 0 0 6px;
  font-family: var(--view101f8-font-head);
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 700;
  color: #f4f5f7;
}

/* Banner Carousel */
.view101f8-carousel {
  position: relative;
  margin: 0 0 14px;
  border: 1px solid var(--view101f8-border);
  border-radius: var(--view101f8-radius-card);
  overflow: hidden;
  background-color: var(--view101f8-surface);
}

.view101f8-slides {
  position: relative;
  width: 100%;
}

.view101f8-slide {
  display: none;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.view101f8-slide.view101f8-slide-on {
  display: block;
}

.view101f8-slide-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.view101f8-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 0;
  background-color: var(--view101f8-surface);
  border-top: 1px solid var(--view101f8-border);
}

.view101f8-dot {
  width: 28px;
  height: 8px;
  border-radius: var(--view101f8-radius-btn);
  border: 1px solid var(--view101f8-border);
  background-color: #3a3a44;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.view101f8-dot.view101f8-dot-on {
  background-color: var(--view101f8-orange);
  border-color: var(--view101f8-orange);
}

/* Lead / Definition Paragraph */
.view101f8-lead {
  margin: 0 0 14px;
  padding: 12px;
  background-color: var(--view101f8-surface);
  border: 1px solid var(--view101f8-border);
  border-left: 3px solid var(--view101f8-violet);
  border-radius: var(--view101f8-radius-card);
  font-size: 0.94rem;
  color: var(--view101f8-text);
}

.view101f8-lead p {
  margin: 0;
}

/* Section Container */
.view101f8-sec {
  margin: 0 0 18px;
  padding: 13px 12px;
  background-color: var(--view101f8-surface);
  border: 1px solid var(--view101f8-border);
  border-radius: var(--view101f8-radius-card);
}

.view101f8-sec p {
  margin: 0 0 10px;
  font-size: 0.93rem;
  color: var(--view101f8-text);
}

.view101f8-sec p:last-child {
  margin-bottom: 0;
}

/* Optional Section Kicker */
.view101f8-kicker {
  display: inline-block;
  margin: 0 0 6px;
  padding: 2px 8px;
  font-family: var(--view101f8-font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  background-color: var(--view101f8-violet);
  border-radius: 2px;
}

/* Game Category Block & Bordered Tile Cards */
.view101f8-cat-block {
  margin: 0 0 14px;
}

.view101f8-cat-block:last-child {
  margin-bottom: 0;
}

.view101f8-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--view101f8-border);
}

.view101f8-cat-count {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--view101f8-teal);
}

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

@media (min-width: 375px) {
  .view101f8-game-grid {
    gap: 8px;
  }
}

.view101f8-tile {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 4px;
  margin: 0;
  background-color: #1d1d22;
  border: 1.5px solid var(--view101f8-border);
  border-radius: var(--view101f8-radius-card);
  color: var(--view101f8-text);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.12s ease;
}

.view101f8-tile:hover {
  border-color: var(--view101f8-teal);
  background-color: #25252c;
}

.view101f8-tile:active {
  transform: scale(0.96);
}

.view101f8-tile-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  margin-bottom: 5px;
}

.view101f8-tile-name {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--view101f8-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  min-height: 2.5em;
}

/* Segmented Action Button (Primary CTA) */
.view101f8-seg-cta {
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  min-height: 44px;
  padding: 0;
  border: 1px solid #ff6a33;
  border-radius: var(--view101f8-radius-btn);
  background-color: var(--view101f8-orange);
  color: #ffffff;
  font-family: var(--view101f8-font-head);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.16s ease, transform 0.12s ease;
}

.view101f8-seg-cta:hover {
  background-color: var(--view101f8-orange-deep);
}

.view101f8-seg-cta:active {
  transform: scale(0.97);
}

.view101f8-seg-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background-color: rgba(0, 0, 0, 0.24);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.view101f8-seg-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
}

.view101f8-seg-cta-alt {
  background-color: var(--view101f8-violet);
  border-color: #a455ed;
}

.view101f8-seg-cta-alt:hover {
  background-color: var(--view101f8-violet-deep);
}

/* Inline Promo Text Button */
.view101f8-inline-promo {
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: #ff7847;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color 0.16s ease;
}

.view101f8-inline-promo:hover {
  color: #ffa07a;
}

/* Data / Comparison / Calculation Tables */
.view101f8-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 10px 0 6px;
  border: 1px solid var(--view101f8-border);
  border-radius: var(--view101f8-radius-card);
}

.view101f8-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  text-align: left;
  background-color: #1f1f24;
}

.view101f8-table th {
  background-color: #2f2342;
  color: #ffffff;
  font-family: var(--view101f8-font-head);
  font-weight: 700;
  padding: 8px 9px;
  border-bottom: 2px solid var(--view101f8-violet);
}

.view101f8-table td {
  padding: 8px 9px;
  border-bottom: 1px solid var(--view101f8-border);
  color: var(--view101f8-text);
  vertical-align: top;
}

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

/* Stat Summary Cards */
.view101f8-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 4px;
}

.view101f8-stat-card {
  padding: 10px;
  background-color: #1e1e23;
  border: 1px solid var(--view101f8-border);
  border-top: 2px solid var(--view101f8-teal);
  border-radius: var(--view101f8-radius-card);
}

.view101f8-stat-num {
  display: block;
  font-family: var(--view101f8-font-head);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--view101f8-teal);
  line-height: 1.2;
  margin-bottom: 4px;
}

.view101f8-stat-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--view101f8-muted);
  line-height: 1.35;
}

/* Dual-Column Comparison */
.view101f8-dual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 4px;
}

.view101f8-dual-col {
  padding: 10px;
  background-color: #1e1e23;
  border: 1px solid var(--view101f8-border);
  border-radius: var(--view101f8-radius-card);
}

.view101f8-dual-col h3,
.view101f8-dual-title {
  margin: 0 0 6px;
  font-family: var(--view101f8-font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--view101f8-border);
}

.view101f8-dual-col p {
  margin: 0 0 6px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--view101f8-muted);
}

.view101f8-dual-col p:last-child {
  margin-bottom: 0;
}

/* Ordered Steps */
.view101f8-steps {
  margin: 10px 0 4px;
  padding: 0;
  list-style: none;
  counter-reset: view101f8step;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.view101f8-steps li {
  counter-increment: view101f8step;
  position: relative;
  padding: 9px 10px 9px 38px;
  background-color: #1e1e23;
  border: 1px solid var(--view101f8-border);
  border-radius: var(--view101f8-radius-card);
  font-size: 0.88rem;
  color: var(--view101f8-text);
}

.view101f8-steps li::before {
  content: counter(view101f8step);
  position: absolute;
  left: 9px;
  top: 9px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--view101f8-violet);
  color: #ffffff;
  font-family: var(--view101f8-font-head);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Vertical Timeline */
.view101f8-timeline {
  margin: 10px 0 4px;
  padding: 0 0 0 18px;
  list-style: none;
  border-left: 2px solid var(--view101f8-teal);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.view101f8-timeline li {
  position: relative;
  padding: 8px 10px;
  background-color: #1e1e23;
  border: 1px solid var(--view101f8-border);
  border-radius: var(--view101f8-radius-card);
  font-size: 0.88rem;
}

.view101f8-timeline li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--view101f8-orange);
  border: 2px solid var(--view101f8-bg);
}

/* Bullet List & Checklist */
.view101f8-list,
.view101f8-checklist {
  margin: 10px 0 4px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.view101f8-list li,
.view101f8-checklist li {
  position: relative;
  padding: 8px 10px 8px 26px;
  background-color: #1e1e23;
  border: 1px solid var(--view101f8-border);
  border-radius: var(--view101f8-radius-card);
  font-size: 0.88rem;
  color: var(--view101f8-text);
}

.view101f8-list li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 15px;
  width: 7px;
  height: 7px;
  background-color: var(--view101f8-teal);
}

.view101f8-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 9px;
  top: 7px;
  color: var(--view101f8-teal);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Definition List */
.view101f8-dl {
  margin: 10px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.view101f8-dl-row {
  padding: 9px 10px;
  background-color: #1e1e23;
  border: 1px solid var(--view101f8-border);
  border-radius: var(--view101f8-radius-card);
}

.view101f8-dl dt {
  font-family: var(--view101f8-font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--view101f8-teal);
  margin: 0 0 3px;
}

.view101f8-dl dd {
  margin: 0;
  font-size: 0.86rem;
  color: var(--view101f8-text);
}

/* Scenario Paragraph Box */
.view101f8-scene {
  margin: 10px 0 4px;
  padding: 11px 12px;
  background-color: #1e1e23;
  border: 1px solid var(--view101f8-border);
  border-left: 3px solid var(--view101f8-orange);
  border-radius: var(--view101f8-radius-card);
}

.view101f8-scene p {
  margin: 0 0 8px;
  font-size: 0.89rem;
}

.view101f8-scene p:last-child {
  margin-bottom: 0;
}

/* Calculation Box */
.view101f8-calc-box {
  margin: 10px 0 4px;
  padding: 11px 12px;
  background-color: #211c2b;
  border: 1px solid var(--view101f8-violet);
  border-radius: var(--view101f8-radius-card);
  font-size: 0.88rem;
}

.view101f8-calc-title {
  margin: 0 0 6px;
  font-family: var(--view101f8-font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

/* Q&A Blocks & FAQ */
.view101f8-qa-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 4px;
}

.view101f8-qa-item {
  padding: 10px 11px;
  background-color: #1e1e23;
  border: 1px solid var(--view101f8-border);
  border-radius: var(--view101f8-radius-card);
}

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

.view101f8-qa-a {
  margin: 0;
  font-size: 0.87rem;
  color: var(--view101f8-muted);
}

/* Expandable Accordion Q&A */
.view101f8-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 4px;
}

.view101f8-acc-item {
  background-color: #1e1e23;
  border: 1px solid var(--view101f8-border);
  border-radius: var(--view101f8-radius-card);
}

.view101f8-acc-item summary {
  padding: 11px 12px;
  min-height: 44px;
  font-family: var(--view101f8-font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.view101f8-acc-item summary::-webkit-details-marker {
  display: none;
}

.view101f8-acc-item summary::after {
  content: "+";
  color: var(--view101f8-teal);
  font-size: 1.15rem;
  line-height: 1;
}

.view101f8-acc-item[open] summary::after {
  content: "\2212";
}

.view101f8-acc-body {
  padding: 0 12px 11px;
  font-size: 0.87rem;
  color: var(--view101f8-muted);
}

/* Action Bar & Entry Card */
.view101f8-action-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  margin: 10px 0 4px;
  background-color: #1f1b28;
  border: 1px solid var(--view101f8-violet);
  border-radius: var(--view101f8-radius-card);
}

.view101f8-action-text {
  flex: 1 1 180px;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
}

.view101f8-entry-card {
  padding: 12px;
  margin: 10px 0 4px;
  background-color: #1e1e23;
  border: 1px solid var(--view101f8-border);
  border-top: 3px solid var(--view101f8-orange);
  border-radius: var(--view101f8-radius-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* Game Detail Hero Component */
.view101f8-game-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin: 0 0 14px;
  background-color: var(--view101f8-surface);
  border: 1px solid var(--view101f8-border);
  border-left: 3px solid var(--view101f8-orange);
  border-radius: var(--view101f8-radius-card);
}

.view101f8-hero-icon-btn {
  padding: 0;
  border: 1.5px solid var(--view101f8-border);
  border-radius: var(--view101f8-radius-card);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  transition: border-color 0.16s ease, transform 0.12s ease;
}

.view101f8-hero-icon-btn:active {
  transform: scale(0.96);
}

.view101f8-hero-icon {
  width: 84px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.view101f8-hero-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

/* Extended Homepage Footer (placed BEFORE #view101f8-bottom) */
.view101f8-ext-footer {
  margin: 4px 12px 14px;
  padding: 14px 12px;
  background-color: var(--view101f8-surface);
  border: 1px solid var(--view101f8-border);
  border-radius: var(--view101f8-radius-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.view101f8-ext-group {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--view101f8-border);
}

.view101f8-ext-group:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.view101f8-ext-label {
  margin: 0 0 7px;
  font-family: var(--view101f8-font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--view101f8-teal);
}

.view101f8-ext-desc {
  margin: 0;
  font-size: 0.84rem;
  color: var(--view101f8-muted);
}

.view101f8-ext-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.view101f8-ext-promo-btn {
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--view101f8-radius-btn);
  border: 1px solid var(--view101f8-border);
  background-color: #1e1e23;
  color: var(--view101f8-text);
  font-family: var(--view101f8-font-head);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.12s ease;
}

.view101f8-ext-promo-btn:hover {
  border-color: var(--view101f8-orange);
  background-color: #2b2220;
}

.view101f8-ext-promo-btn:active {
  transform: scale(0.97);
}

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

.view101f8-ext-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 0.82rem;
  color: var(--view101f8-text);
  text-decoration: none;
}

.view101f8-ext-links a:hover {
  color: var(--view101f8-teal);
  text-decoration: underline;
}

.view101f8-ext-closing {
  margin: 0;
  font-size: 0.82rem;
  color: var(--view101f8-muted);
}

/* Global Footer & Center-Elevated 5-Item Bottom Nav */
#view101f8-bottom {
  background-color: var(--view101f8-charcoal);
  border-top: 1px solid var(--view101f8-border);
  padding: 12px 12px 86px;
  text-align: center;
}

.view101f8-copy {
  margin: 0;
  font-size: 0.78rem;
  color: var(--view101f8-muted);
}

.view101f8-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 64px;
  background-color: #1f1f24;
  border-top: 2px solid var(--view101f8-violet);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  z-index: 95;
  padding: 0 4px;
}

.view101f8-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: var(--view101f8-muted);
  text-decoration: none;
  font-family: var(--view101f8-font-head);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.16s ease, transform 0.12s ease;
}

.view101f8-dock-item:hover {
  color: var(--view101f8-text);
}

.view101f8-dock-item:active {
  transform: scale(0.95);
}

.view101f8-dock-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.16s ease, stroke 0.16s ease;
}

/* Active state: icon fill change */
.view101f8-dock-item.view101f8-is-active {
  color: var(--view101f8-teal);
}

.view101f8-dock-item.view101f8-is-active .view101f8-dock-icon {
  fill: currentColor;
}

/* Center-Elevated Nav Button */
.view101f8-dock-center {
  position: relative;
  top: -12px;
  color: #ffffff;
}

.view101f8-dock-center-orb {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--view101f8-orange);
  border: 3px solid #1f1f24;
  box-shadow: 0 0 0 2px var(--view101f8-violet);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.16s ease, transform 0.12s ease;
}

.view101f8-dock-center:hover .view101f8-dock-center-orb {
  background-color: var(--view101f8-orange-deep);
}

.view101f8-dock-center .view101f8-dock-icon {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
}

/* RTP simulation comparison */
.view101f8-rtp-figure {
  --view101f8-plot-fill: #9085e9;
  --view101f8-plot-rule: #595963;
  color-scheme: dark;
  margin: 12px 0;
  padding: 12px;
  background: #262626;
  color: #fff;
  border: 1px solid var(--view101f8-plot-rule);
  border-radius: 3px;
  font-size: .84rem;
}
.view101f8-rtp-figure figcaption { font-weight: 700; margin-bottom: 6px; }
.view101f8-rtp-axis, .view101f8-rtp-row {
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 8px;
}
.view101f8-rtp-axis:not([hidden]), .view101f8-rtp-row:not([hidden]) { display: grid; }
.view101f8-rtp-axis span:last-child:not([hidden]) { display: flex; justify-content: space-between; }
.view101f8-rtp-row { align-items: center; min-height: 44px; outline-offset: 2px; }
.view101f8-rtp-track { position: relative; border-left: 1px solid var(--view101f8-plot-rule); }
.view101f8-rtp-bar:not([hidden]) { display: block; }
.view101f8-rtp-bar { width: var(--view101f8-plot-value); height: 10px; background: var(--view101f8-plot-fill); border-radius: 0 4px 4px 0; }
.view101f8-rtp-tooltip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 5px);
  z-index: 1;
  padding: 2px 6px;
  border: 1px solid currentColor;
  background: #17171a;
  color: #fff;
  visibility: hidden;
  pointer-events: none;
}
.view101f8-rtp-row:is(:hover, :focus-visible) .view101f8-rtp-tooltip { visibility: visible; }
.view101f8-rtp-row:is(:hover, :focus-visible) .view101f8-rtp-bar { outline: 1px solid currentColor; }
@media print {
  .view101f8-rtp-figure { --view101f8-plot-fill: #4a3aa7; --view101f8-plot-rule: #bbb; color-scheme: light; background: #fcfcfb; color: #0b0b0b; }
  .view101f8-rtp-bar { print-color-adjust: exact; background: repeating-linear-gradient(135deg, #4a3aa7 0 3px, #fcfcfb 3px 5px); }
}
@media (forced-colors: active) {
  .view101f8-rtp-bar { forced-color-adjust: none; background: repeating-linear-gradient(135deg, CanvasText 0 3px, Canvas 3px 5px); }
}
