/* ==========================================================================
   Tong Its Offline - frame-mobile-bd988f stylesheet
   Mobile-first shell for tongitsoffline-homes (320-430px phone canvas)
   Class prefix : view988f5-
   Palette      : #FFCCCB blush | #BAFFC9 mint | #FF6347 flame | #141414 ink
   Direction    : tech headings + open body text, low radius sections,
                  outlined tile game cards, compact metric notes,
                  full-width primary CTA, soft color micro-transitions.
   ========================================================================== */

:root {
  --view988f5-ink: #141414;
  --view988f5-void: #09090b;
  --view988f5-panel: #1c1c1f;
  --view988f5-panel-2: #232327;
  --view988f5-well: #191a1c;
  --view988f5-line: rgba(255, 204, 203, 0.16);
  --view988f5-line-strong: rgba(255, 204, 203, 0.38);
  --view988f5-blush: #ffcccb;
  --view988f5-mint: #baffc9;
  --view988f5-flame: #ff6347;
  --view988f5-flame-deep: #d94a30;
  --view988f5-text: #efe4de;
  --view988f5-text-dim: #a9a29d;
  --view988f5-head-font: "Chakra Petch", "Trebuchet MS", "Segoe UI", sans-serif;
  --view988f5-body-font: "Nunito Sans", "Segoe UI", Tahoma, sans-serif;
  --view988f5-radius: 6px;
  --view988f5-radius-lg: 10px;
  --view988f5-canvas: 430px;
  --view988f5-topbar-h: 56px;
  --view988f5-bnav-h: 60px;
  --view988f5-gutter: 12px;
  --view988f5-ease: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--view988f5-void);
  color: var(--view988f5-text);
  font-family: var(--view988f5-body-font);
  font-size: 14px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

a {
  color: var(--view988f5-mint);
  text-decoration: none;
  transition: color var(--view988f5-ease);
}

a:hover {
  color: var(--view988f5-blush);
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: var(--view988f5-head-font);
  color: var(--view988f5-blush);
  margin: 0;
  line-height: 1.28;
}

p {
  margin: 0 0 10px;
}

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

::selection {
  background: var(--view988f5-flame);
  color: var(--view988f5-ink);
}

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

.view988f5-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Phone canvas — 430px max, centered on wide screens
   -------------------------------------------------------------------------- */

.view988f5-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--view988f5-ink);
  box-shadow: 0 0 0 1px rgba(255, 204, 203, 0.06), 0 0 48px rgba(0, 0, 0, 0.65);
}

/* --------------------------------------------------------------------------
   Fixed functional topbar — edge-aligned brand left, actions right
   -------------------------------------------------------------------------- */

.view988f5-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--view988f5-topbar-h);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px 0 var(--view988f5-gutter);
  background: rgba(20, 20, 20, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--view988f5-line);
}

.view988f5-topbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 96px;
  height: 2px;
  background: linear-gradient(90deg, var(--view988f5-flame), var(--view988f5-mint));
}

.view988f5-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.view988f5-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--view988f5-radius);
  border: 1px solid var(--view988f5-line-strong);
  object-fit: cover;
  flex: 0 0 auto;
}

.view988f5-sitename {
  font-family: var(--view988f5-head-font);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--view988f5-blush);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.view988f5-headactions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.view988f5-btn-register,
.view988f5-btn-login {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: var(--view988f5-radius);
  font-family: var(--view988f5-head-font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background var(--view988f5-ease), color var(--view988f5-ease),
    border-color var(--view988f5-ease);
}

.view988f5-btn-register {
  background: var(--view988f5-flame);
  color: var(--view988f5-ink);
}

.view988f5-btn-register:hover {
  background: var(--view988f5-blush);
}

.view988f5-btn-login {
  background: transparent;
  color: var(--view988f5-mint);
  border-color: var(--view988f5-mint);
}

.view988f5-btn-login:hover {
  color: var(--view988f5-ink);
  background: var(--view988f5-mint);
}

.view988f5-menubtn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--view988f5-line-strong);
  border-radius: var(--view988f5-radius);
}

.view988f5-menubtn-bar {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--view988f5-blush);
  border-radius: 1px;
  transition: transform var(--view988f5-ease), opacity var(--view988f5-ease),
    background var(--view988f5-ease);
}

.view988f5-menubtn:hover .view988f5-menubtn-bar {
  background: var(--view988f5-mint);
}

.view988f5-menubtn[aria-expanded="true"] .view988f5-menubtn-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.view988f5-menubtn[aria-expanded="true"] .view988f5-menubtn-bar:nth-child(2) {
  opacity: 0;
}

.view988f5-menubtn[aria-expanded="true"] .view988f5-menubtn-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Slide-up route panel + scrim
   -------------------------------------------------------------------------- */

.view988f5-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(5, 5, 6, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--view988f5-ease), visibility var(--view988f5-ease);
}

.view988f5-scrim.view988f5-on {
  opacity: 1;
  visibility: visible;
}

.view988f5-routepanel {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 105%);
  width: 100%;
  max-width: 430px;
  max-height: 78vh;
  overflow-y: auto;
  z-index: 80;
  background: var(--view988f5-panel);
  border-top: 2px solid var(--view988f5-flame);
  border-radius: 14px 14px 0 0;
  padding: 14px var(--view988f5-gutter) calc(14px + env(safe-area-inset-bottom));
  transition: transform 260ms cubic-bezier(0.32, 0.72, 0.24, 1);
}

.view988f5-routepanel.view988f5-open {
  transform: translate(-50%, 0);
}

.view988f5-routepanel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.view988f5-routepanel-title {
  font-family: var(--view988f5-head-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--view988f5-mint);
}

.view988f5-routeclose {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--view988f5-line-strong);
  border-radius: var(--view988f5-radius);
  color: var(--view988f5-blush);
  font-size: 18px;
  line-height: 1;
}

.view988f5-routeclose:hover {
  color: var(--view988f5-ink);
  background: var(--view988f5-flame);
  border-color: var(--view988f5-flame);
}

.view988f5-routelist li + li {
  margin-top: 6px;
}

.view988f5-routelist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--view988f5-line);
  border-radius: var(--view988f5-radius);
  background: var(--view988f5-well);
  color: var(--view988f5-text);
  font-family: var(--view988f5-head-font);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.view988f5-routelist a::after {
  content: "\203A";
  color: var(--view988f5-flame);
  font-size: 16px;
  font-weight: 700;
}

.view988f5-routelist a:hover,
.view988f5-routelist a:focus-visible {
  border-color: var(--view988f5-mint);
  color: var(--view988f5-mint);
  text-decoration: none;
}

.view988f5-routetag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--view988f5-flame);
  border: 1px solid rgba(255, 99, 71, 0.45);
  border-radius: 3px;
  padding: 1px 5px;
}

.view988f5-routepanel-cta {
  width: 100%;
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   Main flow
   -------------------------------------------------------------------------- */

.view988f5-main {
  padding: calc(var(--view988f5-topbar-h) + 14px) var(--view988f5-gutter)
    calc(var(--view988f5-bnav-h) + 26px + env(safe-area-inset-bottom));
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.view988f5-hero {
  padding-top: 4px;
}

.view988f5-kicker {
  display: inline-block;
  font-family: var(--view988f5-head-font);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--view988f5-mint);
  border: 1px solid rgba(186, 255, 201, 0.4);
  border-radius: 3px;
  padding: 2px 7px;
  margin-bottom: 10px;
}

.view988f5-h1 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.view988f5-hero-lede {
  color: var(--view988f5-text-dim);
  font-size: 13.5px;
  margin-bottom: 12px;
}

.view988f5-hero-lede strong {
  color: var(--view988f5-text);
  font-weight: 700;
}

/* Full-width primary CTA */
.view988f5-cta-primary {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  background: var(--view988f5-flame);
  color: var(--view988f5-ink);
  border: 1px solid var(--view988f5-flame);
  border-radius: var(--view988f5-radius-lg);
  font-family: var(--view988f5-head-font);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  transition: background var(--view988f5-ease), color var(--view988f5-ease),
    transform var(--view988f5-ease);
}

.view988f5-cta-primary:hover {
  background: var(--view988f5-blush);
  border-color: var(--view988f5-blush);
  color: var(--view988f5-ink);
}

.view988f5-cta-primary:active {
  transform: scale(0.985);
}

.view988f5-cta-ghost {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 11px 14px;
  margin-top: 8px;
  background: transparent;
  color: var(--view988f5-mint);
  border: 1px solid rgba(186, 255, 201, 0.5);
  border-radius: var(--view988f5-radius-lg);
  font-family: var(--view988f5-head-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  transition: background var(--view988f5-ease), color var(--view988f5-ease);
}

.view988f5-cta-ghost:hover {
  background: rgba(186, 255, 201, 0.12);
}

.view988f5-hero-cta {
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   Promo carousel
   -------------------------------------------------------------------------- */

.view988f5-carousel {
  position: relative;
  border: 1px solid var(--view988f5-line-strong);
  border-radius: var(--view988f5-radius-lg);
  overflow: hidden;
  background: var(--view988f5-well);
  margin-bottom: 14px;
}

.view988f5-slide {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--view988f5-well);
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms ease;
  position: absolute;
  inset: 0;
  height: 176px;
}

.view988f5-slide.view988f5-on {
  opacity: 1;
  visibility: visible;
  position: relative;
  height: auto;
}

.view988f5-slide-img {
  width: 100%;
  aspect-ratio: 430 / 176;
  object-fit: cover;
}

.view988f5-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 12px 9px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0) 0%, rgba(20, 20, 20, 0.92) 78%);
  color: var(--view988f5-blush);
  font-family: var(--view988f5-head-font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
}

.view988f5-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.view988f5-dot {
  width: 12px;
  height: 12px;
  min-width: 12px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--view988f5-blush);
  background: rgba(20, 20, 20, 0.5);
  transition: background var(--view988f5-ease), transform var(--view988f5-ease);
}

.view988f5-dot.view988f5-dot-on {
  background: var(--view988f5-flame);
  border-color: var(--view988f5-flame);
  transform: scale(1.12);
}

/* --------------------------------------------------------------------------
   Metric strip — compact figure + explanation
   -------------------------------------------------------------------------- */

.view988f5-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 6px;
}

.view988f5-stat {
  border: 1px solid var(--view988f5-line);
  border-left: 3px solid var(--view988f5-flame);
  border-radius: var(--view988f5-radius);
  background: var(--view988f5-panel);
  padding: 9px 10px;
}

.view988f5-stat:nth-child(even) {
  border-left-color: var(--view988f5-mint);
}

.view988f5-stat-num {
  display: block;
  font-family: var(--view988f5-head-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--view988f5-blush);
  line-height: 1.15;
}

.view988f5-stat-txt {
  display: block;
  font-size: 11px;
  color: var(--view988f5-text-dim);
  line-height: 1.4;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   Sections — low radius, hairline separated
   -------------------------------------------------------------------------- */

.view988f5-section {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--view988f5-line);
}

.view988f5-sechead {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.view988f5-h2 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  flex: 1 1 100%;
}

.view988f5-chip {
  font-family: var(--view988f5-head-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--view988f5-mint);
  border: 1px solid rgba(186, 255, 201, 0.4);
  border-radius: 3px;
  padding: 2px 6px;
}

.view988f5-secnote {
  font-size: 12.5px;
  color: var(--view988f5-text-dim);
  margin-bottom: 10px;
}

.view988f5-secnote a {
  color: var(--view988f5-mint);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(186, 255, 201, 0.5);
  text-underline-offset: 2px;
}

.view988f5-seccount {
  font-family: var(--view988f5-head-font);
  font-size: 11px;
  color: var(--view988f5-text-dim);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Game grid — outlined tile cards, 4 cols at 320px
   -------------------------------------------------------------------------- */

.view988f5-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 6px;
}

.view988f5-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 4px 7px;
  background: var(--view988f5-panel);
  border: 1px solid var(--view988f5-line);
  border-radius: var(--view988f5-radius);
  transition: border-color var(--view988f5-ease), background var(--view988f5-ease),
    transform var(--view988f5-ease);
}

.view988f5-tile:hover,
.view988f5-tile:focus-visible {
  border-color: var(--view988f5-flame);
  background: var(--view988f5-panel-2);
}

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

.view988f5-tile-frame {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 204, 203, 0.12);
}

.view988f5-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.view988f5-tile-name {
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--view988f5-text);
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 26px;
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   Content modules
   -------------------------------------------------------------------------- */

.view988f5-module {
  border: 1px solid var(--view988f5-line);
  border-radius: var(--view988f5-radius-lg);
  background: var(--view988f5-panel);
  padding: 13px 12px 14px;
  margin-top: 12px;
}

.view988f5-module .view988f5-h2 {
  font-size: 16px;
}

.view988f5-lead {
  color: var(--view988f5-text);
  font-size: 13px;
  font-weight: 700;
}

.view988f5-lead .view988f5-yes {
  color: var(--view988f5-mint);
}

.view988f5-body {
  font-size: 12.8px;
  color: var(--view988f5-text-dim);
}

.view988f5-body a {
  color: var(--view988f5-mint);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(186, 255, 201, 0.5);
  text-underline-offset: 2px;
}

/* Steps list */
.view988f5-steps {
  counter-reset: view988f5step;
  margin: 10px 0 4px;
}

.view988f5-steps li {
  position: relative;
  counter-increment: view988f5step;
  padding: 7px 0 7px 34px;
  border-bottom: 1px dashed var(--view988f5-line);
  font-size: 12.5px;
  color: var(--view988f5-text-dim);
}

.view988f5-steps li:last-child {
  border-bottom: 0;
}

.view988f5-steps li::before {
  content: counter(view988f5step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--view988f5-head-font);
  font-size: 11px;
  font-weight: 700;
  color: var(--view988f5-ink);
  background: var(--view988f5-blush);
  border-radius: 4px;
}

.view988f5-steps li:nth-child(even)::before {
  background: var(--view988f5-mint);
}

.view988f5-steps strong,
.view988f5-body strong {
  color: var(--view988f5-text);
}

/* Offer rows */
.view988f5-offers {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.view988f5-offer {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--view988f5-line);
  border-left: 3px solid var(--view988f5-flame);
  border-radius: var(--view988f5-radius);
  background: var(--view988f5-well);
  padding: 9px 10px;
}

.view988f5-offer:nth-child(even) {
  border-left-color: var(--view988f5-mint);
}

.view988f5-offer-ico {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--view988f5-line-strong);
  border-radius: var(--view988f5-radius);
  background: var(--view988f5-panel-2);
}

.view988f5-offer-name {
  display: block;
  font-family: var(--view988f5-head-font);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--view988f5-blush);
  letter-spacing: 0.03em;
}

.view988f5-offer-txt {
  display: block;
  font-size: 11.8px;
  color: var(--view988f5-text-dim);
  line-height: 1.45;
  margin-top: 2px;
}

/* Checklist rows */
.view988f5-checks {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.view988f5-check {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--view988f5-line);
  border-radius: var(--view988f5-radius);
  background: var(--view988f5-well);
  padding: 9px 11px;
}

.view988f5-check-name {
  display: block;
  font-family: var(--view988f5-head-font);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--view988f5-mint);
  letter-spacing: 0.02em;
}

.view988f5-check-name::before {
  content: "\2713\0020";
  color: var(--view988f5-flame);
}

.view988f5-check-txt {
  display: block;
  font-size: 11.8px;
  color: var(--view988f5-text-dim);
  line-height: 1.45;
  margin-top: 3px;
}

/* Use-case lanes */
.view988f5-lanes {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.view988f5-lane {
  border: 1px solid var(--view988f5-line);
  border-radius: var(--view988f5-radius);
  background: var(--view988f5-well);
  padding: 9px 11px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  align-items: start;
}

.view988f5-lane-tag {
  font-family: var(--view988f5-head-font);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--view988f5-ink);
  background: var(--view988f5-blush);
  border-radius: 3px;
  padding: 3px 6px;
  text-align: center;
  line-height: 1.3;
}

.view988f5-lane:nth-child(even) .view988f5-lane-tag {
  background: var(--view988f5-mint);
}

.view988f5-lane-txt {
  font-size: 11.8px;
  color: var(--view988f5-text-dim);
  line-height: 1.45;
}

.view988f5-lane-txt strong {
  color: var(--view988f5-text);
}

/* ---------------------------------------------------------------------------
   Extended footer (homepage only) — brand > promo shortcuts > directory > note
   --------------------------------------------------------------------------- */

.view988f5-xfoot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--view988f5-line-strong);
}

.view988f5-xfoot-label {
  font-family: var(--view988f5-head-font);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--view988f5-flame);
  margin-bottom: 7px;
}

.view988f5-xfoot-brand {
  font-size: 12.5px;
  color: var(--view988f5-text-dim);
  margin-bottom: 16px;
}

.view988f5-xfoot-brand strong {
  color: var(--view988f5-blush);
}

/* Horizontal promo shortcut strip */
.view988f5-shortcuts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  margin: 0 -2px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--view988f5-flame) transparent;
}

.view988f5-shortcut {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 99, 71, 0.55);
  border-radius: var(--view988f5-radius);
  background: linear-gradient(180deg, rgba(255, 99, 71, 0.16), rgba(255, 99, 71, 0.05));
  color: var(--view988f5-blush);
  font-family: var(--view988f5-head-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background var(--view988f5-ease), color var(--view988f5-ease),
    border-color var(--view988f5-ease);
}

.view988f5-shortcut:hover {
  background: var(--view988f5-flame);
  color: var(--view988f5-ink);
  border-color: var(--view988f5-flame);
}

.view988f5-shortcut-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--view988f5-mint);
  box-shadow: 0 0 0 2px rgba(186, 255, 201, 0.25);
}

/* Page directory */
.view988f5-dir {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.view988f5-dir a {
  display: block;
  min-height: 42px;
  padding: 8px 9px;
  border: 1px solid var(--view988f5-line);
  border-radius: var(--view988f5-radius);
  background: var(--view988f5-well);
  color: var(--view988f5-text);
  font-size: 11.8px;
  font-weight: 700;
  line-height: 1.3;
}

.view988f5-dir a span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--view988f5-text-dim);
  letter-spacing: 0.04em;
}

.view988f5-dir a:hover {
  border-color: var(--view988f5-mint);
  color: var(--view988f5-mint);
  text-decoration: none;
}

/* Conditional disclaimer */
.view988f5-disclaimer {
  border: 1px dashed var(--view988f5-line-strong);
  border-radius: var(--view988f5-radius);
  padding: 9px 11px;
  font-size: 11px;
  color: var(--view988f5-text-dim);
  line-height: 1.5;
}

.view988f5-disclaimer strong {
  color: var(--view988f5-blush);
}

/* --------------------------------------------------------------------------
   Common footer
   -------------------------------------------------------------------------- */

.view988f5-commonfoot {
  padding: 4px var(--view988f5-gutter) 10px;
  text-align: center;
  font-size: 10.5px;
  color: var(--view988f5-text-dim);
  letter-spacing: 0.03em;
}

.view988f5-commonfoot span {
  color: rgba(255, 204, 203, 0.6);
}

/* --------------------------------------------------------------------------
   Brand-accent bottom navigation band — 5 roles, underline active marker
   -------------------------------------------------------------------------- */

.view988f5-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 55;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--view988f5-bnav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(16, 16, 17, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--view988f5-line);
}

.view988f5-bnav::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--view988f5-flame) 0%, var(--view988f5-flame) 34%, var(--view988f5-mint) 66%, var(--view988f5-blush) 100%);
  opacity: 0.85;
}

.view988f5-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--view988f5-text-dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 2px;
  transition: color var(--view988f5-ease);
}

.view988f5-bnav-item svg {
  width: 22px;
  height: 22px;
  transition: transform var(--view988f5-ease);
}

.view988f5-bnav-item:hover {
  color: var(--view988f5-blush);
  text-decoration: none;
}

.view988f5-bnav-item:hover svg {
  transform: translateY(-1px);
}

.view988f5-bnav-item.view988f5-live {
  color: var(--view988f5-blush);
}

.view988f5-bnav-item.view988f5-live::after,
.view988f5-bnav-item[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--view988f5-flame);
}

.view988f5-bnav-item[aria-current="page"] {
  color: var(--view988f5-mint);
}

.view988f5-bnav-item[aria-current="page"]::after {
  background: var(--view988f5-mint);
}

/* --------------------------------------------------------------------------
   Responsive tuning inside the 320-430px band
   -------------------------------------------------------------------------- */

@media (min-width: 360px) {
  .view988f5-h1 {
    font-size: 22px;
  }

  .view988f5-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .view988f5-stat-txt {
    font-size: 10.5px;
  }
}

@media (min-width: 400px) {
  /* 5 tile columns on wider phones */
  .view988f5-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .view988f5-dir {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 359px) {
  .view988f5-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px 5px;
  }

  .view988f5-btn-register {
    padding: 7px 9px;
  }

  .view988f5-btn-login {
    padding: 7px 8px;
  }
}

/* Wide screens keep the centered phone canvas */
@media (min-width: 431px) {
  .view988f5-canvas {
    border-radius: 0 0 14px 14px;
  }
}

/* --------------------------------------------------------------------------
   Motion budget: soft color transitions only
   -------------------------------------------------------------------------- */

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