/* ==========================================================================
   fb77 apps - mobile canvas chrome (fb77apps.click)
   Palette anchors: #3A3A3A base / #FAF0E6 + #FFEFD5 text / #FF7F50 accent
   / #FFE4B5 soft highlight. Low-radius sectioned layout, compact square
   game catalog, light press feedback only. All classes use mobilee7c8b-.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --mobilee7c8b-ink: #3A3A3A;
  --mobilee7c8b-ink-deep: #2E2E2E;
  --mobilee7c8b-ink-raise: #464646;
  --mobilee7c8b-ink-line: #575757;
  --mobilee7c8b-cream: #FAF0E6;
  --mobilee7c8b-parch: #FFEFD5;
  --mobilee7c8b-mimi: #FFE4B5;
  --mobilee7c8b-flame: #FF7F50;
  --mobilee7c8b-flame-soft: rgba(255, 127, 80, 0.16);
  --mobilee7c8b-flame-line: rgba(255, 127, 80, 0.55);
  --mobilee7c8b-radius: 6px;
  --mobilee7c8b-radius-lg: 8px;
  --mobilee7c8b-head-font: 'Baloo Da 2', 'Hind Siliguri', system-ui, sans-serif;
  --mobilee7c8b-body-font: 'Hind Siliguri', 'Baloo Da 2', system-ui, sans-serif;
  --mobilee7c8b-tab-h: 62px;
}

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

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

body {
  margin: 0;
  padding: 0;
  background: var(--mobilee7c8b-ink-deep);
  color: var(--mobilee7c8b-cream);
  font-family: var(--mobilee7c8b-body-font);
  font-size: 15px;
  line-height: 1.68;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: var(--mobilee7c8b-flame);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

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

h1, h2, h3, h4 {
  font-family: var(--mobilee7c8b-head-font);
  color: var(--mobilee7c8b-parch);
  line-height: 1.32;
  margin: 0 0 10px;
  font-weight: 700;
}

p {
  margin: 0 0 12px;
}

ul, ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

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

/* ---------- Phone canvas ---------- */
.mobilee7c8b-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--mobilee7c8b-ink);
  border-left: 1px solid var(--mobilee7c8b-ink-line);
  border-right: 1px solid var(--mobilee7c8b-ink-line);
  min-height: 100vh;
  overflow-x: clip;
}

.mobilee7c8b-main {
  padding: 0 12px 118px; /* bottom space clears the fixed bottom bar */
}

/* ---------- Fixed top action bar (logo led) ---------- */
.mobilee7c8b-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: linear-gradient(180deg, #404040 0%, #3A3A3A 100%);
  border-bottom: 1px solid var(--mobilee7c8b-ink-line);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.mobilee7c8b-toprow {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 7px 10px;
}

.mobilee7c8b-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 2px 4px 2px 0;
  color: var(--mobilee7c8b-parch);
  text-decoration: none;
  margin-right: auto;
}

.mobilee7c8b-brand:hover,
.mobilee7c8b-brand:focus-visible {
  text-decoration: none;
}

.mobilee7c8b-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--mobilee7c8b-radius);
  border: 1px solid var(--mobilee7c8b-flame-line);
  object-fit: cover;
  flex: none;
  background: var(--mobilee7c8b-ink-deep);
}

.mobilee7c8b-brand-name {
  font-family: var(--mobilee7c8b-head-font);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
  color: var(--mobilee7c8b-cream);
  white-space: nowrap;
}

.mobilee7c8b-brand-name em {
  font-style: normal;
  color: var(--mobilee7c8b-flame);
}

/* Header action cluster: register / login / menu */
.mobilee7c8b-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.mobilee7c8b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: var(--mobilee7c8b-radius);
  font-family: var(--mobilee7c8b-head-font);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease,
    transform 0.12s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.mobilee7c8b-btn:active {
  transform: translateY(1px) scale(0.985);
}

.mobilee7c8b-btn-register {
  background: var(--mobilee7c8b-flame);
  color: var(--mobilee7c8b-ink);
  box-shadow: 0 0 0 rgba(255, 127, 80, 0);
}

.mobilee7c8b-btn-register:hover,
.mobilee7c8b-btn-register:focus-visible {
  background: #ff9268;
  box-shadow: 0 0 12px var(--mobilee7c8b-flame-soft);
  text-decoration: none;
}

.mobilee7c8b-btn-login {
  background: transparent;
  color: var(--mobilee7c8b-mimi);
  border-color: var(--mobilee7c8b-flame-line);
}

.mobilee7c8b-btn-login:hover,
.mobilee7c8b-btn-login:focus-visible {
  color: var(--mobilee7c8b-cream);
  border-color: var(--mobilee7c8b-flame);
  background: var(--mobilee7c8b-flame-soft);
  text-decoration: none;
}

/* Menu trigger (hamburger, monochrome strokes) */
.mobilee7c8b-menu-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--mobilee7c8b-ink-line);
  border-radius: var(--mobilee7c8b-radius);
  flex: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.mobilee7c8b-menu-btn span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--mobilee7c8b-parch);
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.mobilee7c8b-menu-btn:hover,
.mobilee7c8b-menu-btn:focus-visible {
  border-color: var(--mobilee7c8b-flame-line);
  background: var(--mobilee7c8b-flame-soft);
}

.mobilee7c8b-btn-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: var(--mobilee7c8b-flame);
}

.mobilee7c8b-btn-active span:nth-child(2) {
  opacity: 0;
}

.mobilee7c8b-btn-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--mobilee7c8b-flame);
}

/* ---------- Compact route panel ---------- */
.mobilee7c8b-route-panel {
  position: fixed;
  top: 57px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: calc(100% - 16px);
  max-width: 414px;
  z-index: 55;
  background: #404040;
  border: 1px solid var(--mobilee7c8b-ink-line);
  border-top: 2px solid var(--mobilee7c8b-flame);
  border-radius: var(--mobilee7c8b-radius-lg);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.45);
  padding: 12px 12px 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.mobilee7c8b-panel-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mobilee7c8b-route-group {
  margin-bottom: 10px;
}

.mobilee7c8b-route-group:last-child {
  margin-bottom: 0;
}

.mobilee7c8b-route-label {
  font-family: var(--mobilee7c8b-head-font);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--mobilee7c8b-flame);
  margin: 0 0 6px 2px;
}

.mobilee7c8b-route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mobilee7c8b-route {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--mobilee7c8b-ink-line);
  border-radius: var(--mobilee7c8b-radius);
  background: rgba(250, 240, 230, 0.04);
  color: var(--mobilee7c8b-parch);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  transition: border-color 0.18s ease, background-color 0.18s ease,
    transform 0.12s ease;
}

.mobilee7c8b-route:hover,
.mobilee7c8b-route:focus-visible {
  border-color: var(--mobilee7c8b-flame-line);
  background: var(--mobilee7c8b-flame-soft);
  color: var(--mobilee7c8b-cream);
  text-decoration: none;
}

.mobilee7c8b-route:active {
  transform: scale(0.985);
}

.mobilee7c8b-route svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--mobilee7c8b-flame);
}

/* ---------- Banner carousel ---------- */
.mobilee7c8b-carousel {
  position: relative;
  margin: 12px 0 4px;
  border-radius: var(--mobilee7c8b-radius-lg);
  overflow: hidden;
  border: 1px solid var(--mobilee7c8b-ink-line);
  background: var(--mobilee7c8b-ink-deep);
  aspect-ratio: 2.34 / 1;
  min-height: 148px;
}

.mobilee7c8b-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--mobilee7c8b-ink-deep);
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.mobilee7c8b-banner-on {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.mobilee7c8b-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobilee7c8b-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 3;
}

.mobilee7c8b-dot {
  width: 22px;
  height: 8px;
  padding: 0;
  border-radius: 4px;
  border: 1px solid rgba(250, 240, 230, 0.65);
  background: rgba(46, 46, 46, 0.5);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.mobilee7c8b-dot-on {
  background: var(--mobilee7c8b-flame);
  border-color: var(--mobilee7c8b-flame);
}

/* ---------- Intro / lead block ---------- */
.mobilee7c8b-lead {
  padding: 16px 12px 6px;
}

.mobilee7c8b-lead h1 {
  font-size: 23px;
  letter-spacing: 0.2px;
  margin-bottom: 8px;
}

.mobilee7c8b-lead-note {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--mobilee7c8b-flame);
  border: 1px solid var(--mobilee7c8b-flame-line);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 9px;
  background: var(--mobilee7c8b-flame-soft);
}

.mobilee7c8b-lead p {
  color: var(--mobilee7c8b-parch);
}

/* ---------- Generic sectioned block ---------- */
.mobilee7c8b-section {
  margin: 18px 0 0;
  background: #3F3F3F;
  border: 1px solid var(--mobilee7c8b-ink-line);
  border-radius: var(--mobilee7c8b-radius-lg);
  padding: 14px 12px 15px;
}

.mobilee7c8b-section-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.mobilee7c8b-section-head::before {
  content: "";
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: var(--mobilee7c8b-flame);
  flex: none;
}

.mobilee7c8b-section-head h2 {
  font-size: 17.5px;
  margin: 0;
}

.mobilee7c8b-section > p:last-child,
.mobilee7c8b-section > ul:last-child,
.mobilee7c8b-section > ol:last-child {
  margin-bottom: 0;
}

.mobilee7c8b-sub {
  font-size: 15px;
  margin: 14px 0 8px;
  color: var(--mobilee7c8b-cream);
}

/* ---------- Game catalog grid ---------- */
.mobilee7c8b-game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 7px;
}

.mobilee7c8b-game {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: center;
  min-width: 0;
  transition: transform 0.12s ease;
}

.mobilee7c8b-game:active {
  transform: scale(0.96);
}

.mobilee7c8b-game-img {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--mobilee7c8b-radius);
  overflow: hidden;
  border: 1px solid var(--mobilee7c8b-ink-line);
  background: var(--mobilee7c8b-ink-deep);
}

.mobilee7c8b-game-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.mobilee7c8b-game:hover .mobilee7c8b-game-img img,
.mobilee7c8b-game:focus-visible .mobilee7c8b-game-img img {
  transform: scale(1.06);
}

.mobilee7c8b-game:hover .mobilee7c8b-game-img,
.mobilee7c8b-game:focus-visible .mobilee7c8b-game-img {
  border-color: var(--mobilee7c8b-flame-line);
  box-shadow: 0 0 10px var(--mobilee7c8b-flame-soft);
}

.mobilee7c8b-game-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--mobilee7c8b-mimi);
  font-weight: 600;
  min-height: 31px;
  word-break: break-word;
}

/* Category tail: inline guide links under each catalog */
.mobilee7c8b-cat-tail {
  margin-top: 11px;
  padding: 10px 11px;
  border: 1px dashed var(--mobilee7c8b-ink-line);
  border-radius: var(--mobilee7c8b-radius);
  background: rgba(255, 239, 213, 0.045);
  font-size: 13.5px;
  color: var(--mobilee7c8b-parch);
}

.mobilee7c8b-cat-tail a {
  font-weight: 700;
}

/* ---------- CTA block ---------- */
.mobilee7c8b-cta {
  border: 1px solid var(--mobilee7c8b-flame-line);
  background: linear-gradient(135deg, rgba(255, 127, 80, 0.14), rgba(255, 228, 181, 0.07));
}

.mobilee7c8b-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
}

.mobilee7c8b-cta-row .mobilee7c8b-btn {
  flex: 1 1 140px;
  min-height: 44px;
  font-size: 14px;
}

.mobilee7c8b-cta-row .mobilee7c8b-btn:last-child {
  flex: 0 1 auto;
}

/* ---------- Play style comparison ---------- */
.mobilee7c8b-style-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid var(--mobilee7c8b-ink-line);
}

.mobilee7c8b-style-row:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.mobilee7c8b-style-ico {
  width: 38px;
  height: 38px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--mobilee7c8b-radius);
  border: 1px solid var(--mobilee7c8b-flame-line);
  background: var(--mobilee7c8b-flame-soft);
  color: var(--mobilee7c8b-flame);
}

.mobilee7c8b-style-ico svg {
  width: 19px;
  height: 19px;
}

.mobilee7c8b-style-body h3 {
  font-size: 15px;
  margin-bottom: 3px;
}

.mobilee7c8b-style-body p {
  font-size: 13.5px;
  margin: 0;
  color: var(--mobilee7c8b-parch);
}

/* ---------- Winners feed ---------- */
.mobilee7c8b-win-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobilee7c8b-win-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 4px;
  border-bottom: 1px solid var(--mobilee7c8b-ink-line);
  font-size: 13px;
}

.mobilee7c8b-win-list li:last-child {
  border-bottom: 0;
}

.mobilee7c8b-win-ava {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--mobilee7c8b-ink-line);
  background: var(--mobilee7c8b-ink-deep);
  color: var(--mobilee7c8b-flame);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mobilee7c8b-head-font);
  font-weight: 700;
  font-size: 13px;
}

.mobilee7c8b-win-meta {
  min-width: 0;
  flex: 1;
}

.mobilee7c8b-win-meta strong {
  display: block;
  color: var(--mobilee7c8b-cream);
  font-size: 13px;
  line-height: 1.3;
}

.mobilee7c8b-win-meta span {
  display: block;
  color: var(--mobilee7c8b-mimi);
  opacity: 0.85;
  font-size: 12px;
}

.mobilee7c8b-win-amt {
  flex: none;
  font-family: var(--mobilee7c8b-head-font);
  font-weight: 700;
  color: var(--mobilee7c8b-flame);
  font-size: 13.5px;
  white-space: nowrap;
}

/* ---------- FAQ (native details) ---------- */
.mobilee7c8b-faq {
  border: 1px solid var(--mobilee7c8b-ink-line);
  border-radius: var(--mobilee7c8b-radius);
  background: rgba(250, 240, 230, 0.035);
  margin-bottom: 8px;
  overflow: hidden;
}

.mobilee7c8b-faq:last-child {
  margin-bottom: 0;
}

.mobilee7c8b-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--mobilee7c8b-cream);
  font-family: var(--mobilee7c8b-head-font);
}

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

.mobilee7c8b-faq summary::after {
  content: "+";
  font-size: 19px;
  color: var(--mobilee7c8b-flame);
  line-height: 1;
  flex: none;
  transition: transform 0.2s ease;
}

.mobilee7c8b-faq[open] summary::after {
  transform: rotate(45deg);
}

.mobilee7c8b-faq-body {
  padding: 0 12px 12px;
  font-size: 13.5px;
  color: var(--mobilee7c8b-parch);
}

.mobilee7c8b-faq-body p {
  margin: 0;
}

/* ---------- Term list ---------- */
.mobilee7c8b-terms dt {
  font-family: var(--mobilee7c8b-head-font);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--mobilee7c8b-flame);
  margin-top: 10px;
}

.mobilee7c8b-terms dt:first-child {
  margin-top: 0;
}

.mobilee7c8b-terms dd {
  margin: 2px 0 0;
  font-size: 13.5px;
  color: var(--mobilee7c8b-parch);
}

/* ---------- Requirements checklist ---------- */
.mobilee7c8b-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobilee7c8b-check li {
  position: relative;
  padding: 7px 0 7px 27px;
  font-size: 13.5px;
  color: var(--mobilee7c8b-parch);
  border-bottom: 1px solid rgba(87, 87, 87, 0.55);
}

.mobilee7c8b-check li:last-child {
  border-bottom: 0;
}

.mobilee7c8b-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--mobilee7c8b-flame);
  border-bottom: 2px solid var(--mobilee7c8b-flame);
  transform: rotate(-45deg);
}

/* ---------- Homepage extended footer ---------- */
.mobilee7c8b-ext {
  margin: 20px 0 0;
  border: 1px solid var(--mobilee7c8b-ink-line);
  border-radius: var(--mobilee7c8b-radius-lg);
  background: #3D3D3D;
  padding: 14px 12px;
}

.mobilee7c8b-ext-title {
  font-family: var(--mobilee7c8b-head-font);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--mobilee7c8b-cream);
  letter-spacing: 0.4px;
  margin: 0 0 9px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.mobilee7c8b-ext-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--mobilee7c8b-ink-line);
}

.mobilee7c8b-ext-block {
  margin-bottom: 16px;
}

.mobilee7c8b-ext-block:last-child {
  margin-bottom: 0;
}

/* Promotion action tiles (icon plus text label) */
.mobilee7c8b-promo-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobilee7c8b-promo-tile {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--mobilee7c8b-flame-line);
  border-radius: var(--mobilee7c8b-radius);
  background: var(--mobilee7c8b-flame-soft);
  color: var(--mobilee7c8b-cream);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  line-height: 1.3;
  transition: background-color 0.18s ease, transform 0.12s ease,
    box-shadow 0.18s ease;
}

.mobilee7c8b-promo-tile:hover,
.mobilee7c8b-promo-tile:focus-visible {
  background: rgba(255, 127, 80, 0.28);
  box-shadow: 0 0 12px var(--mobilee7c8b-flame-soft);
}

.mobilee7c8b-promo-tile:active {
  transform: scale(0.97);
}

.mobilee7c8b-promo-tile svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--mobilee7c8b-flame);
}

/* Two-column page directory */
.mobilee7c8b-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobilee7c8b-dir li {
  min-width: 0;
}

.mobilee7c8b-dir a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 4px 6px;
  border-radius: var(--mobilee7c8b-radius);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mobilee7c8b-parch);
  line-height: 1.3;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.mobilee7c8b-dir a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mobilee7c8b-flame);
  flex: none;
}

.mobilee7c8b-dir a:hover,
.mobilee7c8b-dir a:focus-visible {
  background: var(--mobilee7c8b-flame-soft);
  color: var(--mobilee7c8b-cream);
  text-decoration: none;
}

.mobilee7c8b-ext-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--mobilee7c8b-mimi);
  opacity: 0.85;
  border-top: 1px dashed var(--mobilee7c8b-ink-line);
  padding-top: 10px;
}

/* ---------- Common footer ---------- */
.mobilee7c8b-foot {
  margin-top: 20px;
  padding: 14px 12px 8px;
  border-top: 1px solid var(--mobilee7c8b-ink-line);
  text-align: center;
}

.mobilee7c8b-foot small {
  display: block;
  color: var(--mobilee7c8b-mimi);
  font-size: 11.5px;
  letter-spacing: 0.3px;
}

/* ---------- Fixed bottom navigation (layered bar) ---------- */
.mobilee7c8b-bottombar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(180deg, #3F3F3F 0%, #353535 100%);
  border-top: 1px solid var(--mobilee7c8b-ink-line);
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.4);
  padding: 4px 2px calc(4px + env(safe-area-inset-bottom, 0px));
}

.mobilee7c8b-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--mobilee7c8b-tab-h);
  padding: 6px 2px 4px;
  background: transparent;
  border: 0;
  color: var(--mobilee7c8b-parch);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

.mobilee7c8b-tab svg {
  width: 21px;
  height: 21px;
  color: currentColor;
}

.mobilee7c8b-tab:active {
  transform: translateY(1px);
}

.mobilee7c8b-tab:hover,
.mobilee7c8b-tab:focus-visible {
  color: var(--mobilee7c8b-cream);
  text-decoration: none;
}

.mobilee7c8b-tab-live {
  color: var(--mobilee7c8b-flame);
  transform: translateY(-3px);
  filter: drop-shadow(0 0 6px var(--mobilee7c8b-flame-soft));
}

.mobilee7c8b-tab-live::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--mobilee7c8b-flame);
}

.mobilee7c8b-tab-live svg {
  filter: drop-shadow(0 0 5px rgba(255, 127, 80, 0.65));
}

/* ---------- Wide-canvas niceties (still a phone frame) ---------- */
@media (min-width: 375px) {
  .mobilee7c8b-lead h1 {
    font-size: 24.5px;
  }

  .mobilee7c8b-section-head h2 {
    font-size: 18.5px;
  }
}

@media (min-width: 400px) {
  /* Slightly roomier catalog: five compact columns on wider phones */
  .mobilee7c8b-game-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px 8px;
  }

  .mobilee7c8b-game-name {
    font-size: 11px;
  }
}

@media (max-width: 359px) {
  .mobilee7c8b-btn {
    padding: 6px 9px;
    font-size: 12px;
  }

  .mobilee7c8b-brand-name {
    font-size: 16.5px;
  }
}

/* ---------- Compatible content and safe-area additions ---------- */
body { padding-top: calc(64px + env(safe-area-inset-top, 0px)); }
.mobilee7c8b-topbar { padding-top: env(safe-area-inset-top, 0px); }
.mobilee7c8b-btn { min-height: 44px; }
.mobilee7c8b-menu-btn { width: 44px; height: 44px; }
.mobilee7c8b-toprow { gap: 4px; padding-inline: 6px; }
.mobilee7c8b-actions { gap: 4px; }
.mobilee7c8b-brand { gap: 5px; }
.mobilee7c8b-route-panel { top: calc(64px + env(safe-area-inset-top, 0px)); max-height: calc(100dvh - 150px - env(safe-area-inset-top, 0px)); overflow-y: auto; }
.mobilee7c8b-main { padding-bottom: 24px; }
.mobilee7c8b-foot { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
.mobilee7c8b-lead { padding-inline: 0; }
.mobilee7c8b-lead h1, .mobilee7c8b-section h2 { overflow-wrap: anywhere; }
.mobilee7c8b-dot { width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.mobilee7c8b-dot::after { content: ''; position: absolute; inset: 18px 10px; border-radius: 4px; background: #3A3A3A; border: 1px solid #FAF0E6; }
.mobilee7c8b-dot-on::after { background: #FF7F50; border-color: #FF7F50; }
.mobilee7c8b-dots { bottom: 0; gap: 0; }
.mobilee7c8b-carousel { touch-action: pan-y; aspect-ratio: auto; min-height: 0; padding-top: 23.5%; padding-bottom: 44px; }
.mobilee7c8b-banner { bottom: 44px; height: calc(100% - 44px); }
.mobilee7c8b-banner img { object-fit: contain; }
.mobilee7c8b-dots { bottom: 0; transform: none; }
.mobilee7c8b-game { min-height: 44px; }
.mobilee7c8b-game-name { display: block; overflow: visible; min-height: 32px; }
.mobilee7c8b-dir a { min-height: 44px; }
.mobilee7c8b-main a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }
.mobilee7c8b-ext .mobilee7c8b-dir a { text-decoration: none; }
.mobilee7c8b-strip { display: flex; gap: 6px; overflow-x: auto; padding: 3px 2px 8px; }
.mobilee7c8b-strip a { flex: none; padding: 6px 10px; border: 1px solid var(--mobilee7c8b-ink-line); border-radius: 6px; color: var(--mobilee7c8b-parch); }
.mobilee7c8b-flow { counter-reset: mobilee7c8b-step; list-style: none; padding: 0; }
.mobilee7c8b-flow li { counter-increment: mobilee7c8b-step; margin-top: 12px; border-left: 2px solid var(--mobilee7c8b-flame); padding: 8px 0 8px 12px; }
.mobilee7c8b-flow h3::before { content: counter(mobilee7c8b-step) ' · '; color: var(--mobilee7c8b-flame); }
.mobilee7c8b-flow p { margin: 0; }
.mobilee7c8b-note { border-left: 3px solid var(--mobilee7c8b-mimi); padding: 10px 12px; background: #343434; margin: 12px 0; }
.mobilee7c8b-branch { padding: 12px 0; border-bottom: 1px solid var(--mobilee7c8b-ink-line); }
.mobilee7c8b-branch:last-child { border-bottom: 0; }
.mobilee7c8b-branch h3 { font-size: 16px; }
.mobilee7c8b-branch p { margin-bottom: 8px; }
.mobilee7c8b-policy { margin: 0; }
.mobilee7c8b-policy dt { color: var(--mobilee7c8b-mimi); font-weight: 700; margin-top: 12px; }
.mobilee7c8b-policy dd { margin: 4px 0 12px; }
.mobilee7c8b-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.mobilee7c8b-choice button { min-height: 44px; padding: 8px; border: 1px solid var(--mobilee7c8b-flame-line); border-radius: 6px; color: var(--mobilee7c8b-parch); background: #343434; font-size: 14px; }
.mobilee7c8b-route[aria-current='page'] { border-color: var(--mobilee7c8b-flame); color: var(--mobilee7c8b-flame); }
@media (max-width: 359px) { .mobilee7c8b-logo { width: 30px; height: 30px; } .mobilee7c8b-brand-name { font-size: 15px; } .mobilee7c8b-actions .mobilee7c8b-btn { padding-inline: 7px; } }
html { scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px)); scroll-padding-bottom: 90px; }

/* ---------- Accessibility: calmer motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
