/* ==========================================================================
   2777bet apk download - mobile surface stylesheet
   Canvas: 320-430px phone frame, centered on wide screens.
   Palette: #1E1E1E deep / #34495E panel / #D3D3D3 ink / #E91E63 accent /
            #FF91A4 accent-soft
   All classes use the site prefix ui14f0a-
   ========================================================================== */

/* ---------- design tokens ---------- */
:root {
  --ui14f0a-deep: #1E1E1E;
  --ui14f0a-deep-2: #171717;
  --ui14f0a-panel: #34495E;
  --ui14f0a-ink: #D3D3D3;
  --ui14f0a-ink-strong: #EDEDED;
  --ui14f0a-ink-dim: rgba(211, 211, 211, 0.66);
  --ui14f0a-ink-faint: rgba(211, 211, 211, 0.44);
  --ui14f0a-accent: #E91E63;
  --ui14f0a-accent-soft: #FF91A4;
  --ui14f0a-line: rgba(211, 211, 211, 0.16);
  --ui14f0a-line-soft: rgba(211, 211, 211, 0.09);
  --ui14f0a-panel-tint: rgba(52, 73, 94, 0.42);
  --ui14f0a-panel-tint-2: rgba(52, 73, 94, 0.22);
  --ui14f0a-head-font: "Segoe UI", "Noto Sans Bengali", "Hind Siliguri",
    system-ui, -apple-system, sans-serif;
  --ui14f0a-body-font: "Noto Sans Bengali", "Hind Siliguri", "Segoe UI",
    system-ui, -apple-system, sans-serif;
  --ui14f0a-r-card: 12px;
  --ui14f0a-r-chip: 10px;
  --ui14f0a-r-btn: 8px;
  --ui14f0a-dock-h: 64px;
  --ui14f0a-top-h: 100px;
}

/* ---------- base ---------- */
* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #101010;
  color: var(--ui14f0a-ink);
  font-family: var(--ui14f0a-body-font);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3 {
  font-family: var(--ui14f0a-head-font);
  color: var(--ui14f0a-ink-strong);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 10px;
}

a {
  color: var(--ui14f0a-accent-soft);
}

button {
  font-family: inherit;
}

/* visible keyboard focus across the shell */
.ui14f0a-shell :focus-visible {
  outline: 2px solid var(--ui14f0a-accent-soft);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- app shell: centered phone canvas ---------- */
.ui14f0a-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 42% at 50% 0%, rgba(233, 30, 99, 0.14), transparent 70%),
    var(--ui14f0a-deep);
  overflow-x: hidden;
}

@media (min-width: 431px) {
  .ui14f0a-shell {
    box-shadow:
      0 0 0 1px var(--ui14f0a-line),
      0 30px 70px rgba(0, 0, 0, 0.55);
  }
}

/* ==========================================================================
   Top bar - tab-style header with expanding menu
   ========================================================================== */
.ui14f0a-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 430px);
  z-index: 80;
  background: rgba(24, 24, 24, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ui14f0a-line);
}

/* brand + action row */
.ui14f0a-toprow {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 8px 10px;
}

.ui14f0a-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ui14f0a-ink-strong);
  margin-right: auto;
  min-width: 0;
}

.ui14f0a-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid var(--ui14f0a-line);
}

.ui14f0a-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.ui14f0a-brand-name b {
  font-family: var(--ui14f0a-head-font);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.ui14f0a-brand-name small {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ui14f0a-accent-soft);
  white-space: nowrap;
}

/* header action buttons */
.ui14f0a-topacts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.ui14f0a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--ui14f0a-r-btn);
  font-family: var(--ui14f0a-head-font);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.ui14f0a-btn:active {
  transform: scale(0.96);
}

/* solid primary CTA */
.ui14f0a-btn--solid {
  background: var(--ui14f0a-accent);
  color: #FFFFFF;
  border: 1px solid var(--ui14f0a-accent);
  box-shadow: 0 4px 14px rgba(233, 30, 99, 0.35);
}

/* outlined secondary CTA */
.ui14f0a-btn--ghost {
  background: transparent;
  color: var(--ui14f0a-ink-strong);
  border: 1px solid var(--ui14f0a-ink-faint);
}

.ui14f0a-btn--ghost:active {
  border-color: var(--ui14f0a-accent-soft);
}

/* compact header variants */
.ui14f0a-btn--top {
  min-height: 36px;
  padding: 7px 11px;
  font-size: 12px;
}

/* burger toggle */
.ui14f0a-burger {
  width: 38px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--ui14f0a-line);
  border-radius: var(--ui14f0a-r-btn);
  cursor: pointer;
  color: var(--ui14f0a-ink-strong);
}

.ui14f0a-burger svg {
  width: 18px;
  height: 18px;
  display: block;
}

.ui14f0a-burger[aria-expanded="true"] {
  background: var(--ui14f0a-accent);
  border-color: var(--ui14f0a-accent);
  color: #FFFFFF;
}

/* tab strip with sliding indicator */
.ui14f0a-tabs {
  position: relative;
  display: flex;
  overflow-x: auto;
  padding: 0 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ui14f0a-tabs::-webkit-scrollbar {
  display: none;
}

.ui14f0a-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 7px 12px;
  margin: 0 2px 6px;
  border-radius: 999px;
  font-family: var(--ui14f0a-head-font);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ui14f0a-ink-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

/* active tab = contrast inversion pill */
.ui14f0a-tab--active,
.ui14f0a-tab:hover {
  color: var(--ui14f0a-ink-strong);
}

.ui14f0a-tab--active {
  background: var(--ui14f0a-accent);
  color: #FFFFFF;
}

/* sliding indicator bar under the tab strip */
.ui14f0a-tabbar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 40px;
  border-radius: 3px 3px 0 0;
  background: var(--ui14f0a-accent-soft);
  transform: translateX(8px);
  transition: transform 0.3s cubic-bezier(0.22, 0.9, 0.3, 1), width 0.3s ease;
}

/* ---------- expanding drawer menu ---------- */
.ui14f0a-drawer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s ease;
  background: rgba(38, 48, 60, 0.55);
  border-top: 1px solid transparent;
}

.ui14f0a-drawer--open {
  max-height: 620px;
  border-top-color: var(--ui14f0a-line-soft);
}

.ui14f0a-drawer-inner {
  padding: 12px 12px 14px;
}

.ui14f0a-drawer-group {
  margin-bottom: 12px;
}

.ui14f0a-drawer-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ui14f0a-ink-faint);
  margin: 0 0 6px 2px;
}

.ui14f0a-drawer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ui14f0a-drawer-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--ui14f0a-r-chip);
  background: var(--ui14f0a-panel-tint-2);
  border: 1px solid var(--ui14f0a-line-soft);
  color: var(--ui14f0a-ink);
  text-decoration: none;
  font-size: 12.5px;
  line-height: 1.3;
}

.ui14f0a-drawer-links a:active {
  background: var(--ui14f0a-panel-tint);
}

.ui14f0a-drawer-cta {
  margin-top: 4px;
  display: flex;
  gap: 8px;
}

.ui14f0a-drawer-cta .ui14f0a-btn {
  flex: 1;
}

/* ==========================================================================
   Main flow
   ========================================================================== */
.ui14f0a-main {
  padding: calc(var(--ui14f0a-top-h) + 12px) 0
    calc(var(--ui14f0a-dock-h) + 30px);
}

.ui14f0a-section {
  padding: 0 12px;
  margin-top: 20px;
}

/* restrained reveal motion (JS-gated) */
.ui14f0a-js .ui14f0a-rise {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ui14f0a-js .ui14f0a-rise--in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Hero carousel
   ========================================================================== */
.ui14f0a-hero {
  margin: 12px 12px 0;
  border-radius: var(--ui14f0a-r-card);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--ui14f0a-line);
  background: var(--ui14f0a-panel-tint-2);
}

.ui14f0a-viewport {
  overflow: hidden;
}

.ui14f0a-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.3, 0.8, 0.3, 1);
}

.ui14f0a-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  background: none;
  cursor: pointer;
  display: block;
}

.ui14f0a-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

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

.ui14f0a-dot {
  width: 22px;
  height: 6px;
  min-height: 6px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(211, 211, 211, 0.4);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}

.ui14f0a-dot--on {
  background: var(--ui14f0a-accent-soft);
  width: 30px;
}

/* ==========================================================================
   Hero intro: H1 + lead + CTA pair
   ========================================================================== */
.ui14f0a-intro {
  margin: 16px 12px 0;
  padding: 16px 14px;
  border-radius: var(--ui14f0a-r-card);
  background: linear-gradient(
    180deg,
    var(--ui14f0a-panel-tint),
    var(--ui14f0a-panel-tint-2)
  );
  border: 1px solid var(--ui14f0a-line-soft);
}

.ui14f0a-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ui14f0a-accent-soft);
  margin-bottom: 6px;
}

.ui14f0a-intro h1 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.ui14f0a-intro p {
  font-size: 13.5px;
  color: var(--ui14f0a-ink);
  margin-bottom: 12px;
}

.ui14f0a-ctarow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ui14f0a-ctarow .ui14f0a-btn {
  flex: 1 1 140px;
}

/* ==========================================================================
   Compact metric strip (metric + explanation rhythm)
   ========================================================================== */
.ui14f0a-gauge {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 14px 12px 0;
  border: 1px solid var(--ui14f0a-line-soft);
  border-radius: var(--ui14f0a-r-card);
  background: var(--ui14f0a-panel-tint-2);
  overflow: hidden;
}

.ui14f0a-gauge-cell {
  padding: 12px 8px 11px;
  text-align: center;
  border-left: 1px solid var(--ui14f0a-line-soft);
}

.ui14f0a-gauge-cell:first-child {
  border-left: 0;
}

.ui14f0a-gauge-num {
  display: block;
  font-family: var(--ui14f0a-head-font);
  font-size: 18px;
  font-weight: 800;
  color: var(--ui14f0a-accent-soft);
  line-height: 1.1;
}

.ui14f0a-gauge-cap {
  display: block;
  font-size: 10.5px;
  color: var(--ui14f0a-ink-dim);
  margin-top: 3px;
  line-height: 1.35;
}

/* ==========================================================================
   Game catalog: compact square grid
   ========================================================================== */
.ui14f0a-cat {
  margin-top: 24px;
  padding: 0 12px;
}

.ui14f0a-cathead {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.ui14f0a-cathead h2 {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.ui14f0a-catcount {
  flex: 0 0 auto;
  font-family: var(--ui14f0a-head-font);
  font-size: 11px;
  font-weight: 700;
  color: var(--ui14f0a-accent-soft);
  background: rgba(233, 30, 99, 0.14);
  border: 1px solid rgba(233, 30, 99, 0.35);
  border-radius: 999px;
  padding: 2px 9px;
  line-height: 1.4;
}

.ui14f0a-catintro {
  font-size: 12.5px;
  color: var(--ui14f0a-ink-dim);
  margin: 0 0 12px;
  line-height: 1.55;
}

/* stable 4-column tracks at 320px, 5 columns from 400px up */
.ui14f0a-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 8px;
  align-items: start;
}

@media (min-width: 400px) {
  .ui14f0a-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.ui14f0a-game {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.ui14f0a-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--ui14f0a-r-chip);
  border: 1px solid var(--ui14f0a-line-soft);
  background: rgba(52, 73, 94, 0.3);
  transition: transform 0.15s ease, border-color 0.2s ease;
}

.ui14f0a-game:active img {
  transform: scale(0.94);
  border-color: var(--ui14f0a-accent-soft);
}

.ui14f0a-game span {
  font-size: 11px;
  line-height: 1.3;
  color: var(--ui14f0a-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* related page row under each category */
.ui14f0a-catpages {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px dashed var(--ui14f0a-line);
  border-radius: var(--ui14f0a-r-chip);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 12px;
  color: var(--ui14f0a-ink-dim);
}

.ui14f0a-catpages a {
  color: var(--ui14f0a-accent-soft);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 145, 164, 0.5);
  padding-bottom: 1px;
}

/* ==========================================================================
   Content modules (note panels)
   ========================================================================== */
.ui14f0a-note {
  margin-top: 24px;
  padding: 16px 14px;
  border-radius: var(--ui14f0a-r-card);
  background: linear-gradient(
    180deg,
    var(--ui14f0a-panel-tint),
    var(--ui14f0a-panel-tint-2)
  );
  border: 1px solid var(--ui14f0a-line-soft);
}

.ui14f0a-note h2 {
  font-size: 16.5px;
  font-weight: 800;
  margin-bottom: 10px;
}

.ui14f0a-note h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ui14f0a-ink-strong);
  margin: 12px 0 4px;
}

.ui14f0a-note p {
  font-size: 13px;
  color: var(--ui14f0a-ink);
}

/* compact metric-explanation rows */
.ui14f0a-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 4px;
}

.ui14f0a-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 10px;
  border-radius: var(--ui14f0a-r-chip);
  background: rgba(30, 30, 30, 0.45);
  border: 1px solid var(--ui14f0a-line-soft);
}

.ui14f0a-row b {
  display: block;
  font-family: var(--ui14f0a-head-font);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ui14f0a-accent-soft);
  margin-bottom: 2px;
}

.ui14f0a-row p {
  font-size: 12.5px;
  margin: 0;
  color: var(--ui14f0a-ink);
  line-height: 1.55;
}

/* goal -> category mapping table */
.ui14f0a-map {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ui14f0a-line-soft);
  border-radius: var(--ui14f0a-r-chip);
  overflow: hidden;
  margin: 10px 0 6px;
}

.ui14f0a-map-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.5fr;
  gap: 6px;
  padding: 9px 10px;
  font-size: 12px;
  line-height: 1.45;
  border-top: 1px solid var(--ui14f0a-line-soft);
  background: rgba(30, 30, 30, 0.35);
}

.ui14f0a-map-row:first-child {
  border-top: 0;
  background: rgba(52, 73, 94, 0.5);
  font-weight: 700;
  font-family: var(--ui14f0a-head-font);
  color: var(--ui14f0a-ink-strong);
  font-size: 11.5px;
}

.ui14f0a-map-row span:nth-child(2) {
  color: var(--ui14f0a-accent-soft);
  font-weight: 600;
}

.ui14f0a-map-row span:nth-child(3) {
  color: var(--ui14f0a-ink-dim);
}

/* ---------- testimonial scroller ---------- */
.ui14f0a-voices {
  margin: 12px -12px 0;
  padding: 2px 12px 6px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ui14f0a-voices::-webkit-scrollbar {
  display: none;
}

.ui14f0a-voice {
  flex: 0 0 82%;
  scroll-snap-align: center;
  padding: 12px;
  border-radius: var(--ui14f0a-r-chip);
  background: rgba(30, 30, 30, 0.5);
  border: 1px solid var(--ui14f0a-line-soft);
}

.ui14f0a-voice-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ui14f0a-voice-ava {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ui14f0a-head-font);
  font-weight: 800;
  font-size: 14px;
  color: #FFFFFF;
  background: var(--ui14f0a-accent);
}

.ui14f0a-voice-ava--soft {
  background: var(--ui14f0a-panel);
}

.ui14f0a-voice-name {
  font-family: var(--ui14f0a-head-font);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ui14f0a-ink-strong);
}

.ui14f0a-voice-tag {
  display: block;
  font-size: 10.5px;
  color: var(--ui14f0a-ink-faint);
}

.ui14f0a-voice p {
  font-size: 12.5px;
  margin: 0;
  color: var(--ui14f0a-ink);
  line-height: 1.6;
}

/* ---------- CTA band ---------- */
.ui14f0a-ctaband {
  text-align: center;
  border: 1px solid rgba(233, 30, 99, 0.4);
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(233, 30, 99, 0.22), transparent 75%),
    rgba(30, 30, 30, 0.5);
}

.ui14f0a-ctaband p {
  color: var(--ui14f0a-ink);
  margin-bottom: 14px;
}

.ui14f0a-ctaband .ui14f0a-ctarow {
  justify-content: center;
}

/* ---------- takeaways checklist ---------- */
.ui14f0a-check {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 2px;
  counter-reset: ui14f0a-step;
}

.ui14f0a-check li {
  counter-increment: ui14f0a-step;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ui14f0a-ink);
  padding: 8px 10px;
  border-radius: var(--ui14f0a-r-chip);
  background: rgba(30, 30, 30, 0.4);
  border: 1px solid var(--ui14f0a-line-soft);
}

.ui14f0a-check li::before {
  content: counter(ui14f0a-step);
  flex: 0 0 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--ui14f0a-head-font);
  font-size: 11.5px;
  font-weight: 800;
  color: #FFFFFF;
  background: var(--ui14f0a-accent);
}

/* ==========================================================================
   Extended footer: promotions > brand > directory > disclaimer
   ========================================================================== */
.ui14f0a-ext {
  margin-top: 30px;
  padding: 18px 12px 4px;
  border-top: 1px solid var(--ui14f0a-line);
}

.ui14f0a-ext-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ui14f0a-accent-soft);
  margin-bottom: 8px;
}

/* promotion entries: 2x2 compact group */
.ui14f0a-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ui14f0a-promo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 11px;
  min-height: 58px;
  border-radius: var(--ui14f0a-r-chip);
  border: 1px solid rgba(233, 30, 99, 0.35);
  background: rgba(233, 30, 99, 0.12);
  color: var(--ui14f0a-ink-strong);
  font-family: var(--ui14f0a-head-font);
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.3;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease, transform 0.15s ease;
}

.ui14f0a-promo:active {
  transform: scale(0.97);
  background: rgba(233, 30, 99, 0.24);
}

.ui14f0a-promo small {
  font-family: var(--ui14f0a-body-font);
  font-weight: 400;
  font-size: 10.5px;
  color: var(--ui14f0a-ink-dim);
  line-height: 1.4;
}

/* brand recap */
.ui14f0a-ext-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
}

.ui14f0a-ext-brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  border: 1px solid var(--ui14f0a-line);
  flex: 0 0 auto;
}

.ui14f0a-ext-brand p {
  font-size: 12px;
  color: var(--ui14f0a-ink-dim);
  margin: 0;
  line-height: 1.6;
}

.ui14f0a-ext-brand b {
  color: var(--ui14f0a-ink-strong);
}

/* page directory: compact stacked groups */
.ui14f0a-dir {
  margin-top: 18px;
}

.ui14f0a-dir-group {
  margin-bottom: 10px;
}

.ui14f0a-dir-group h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ui14f0a-ink-faint);
  margin-bottom: 6px;
}

.ui14f0a-dir-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ui14f0a-dir-links a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: var(--ui14f0a-r-chip);
  background: var(--ui14f0a-panel-tint-2);
  border: 1px solid var(--ui14f0a-line-soft);
  color: var(--ui14f0a-ink);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.3;
}

.ui14f0a-dir-links a:active {
  background: var(--ui14f0a-panel-tint);
}

/* short factual disclaimer */
.ui14f0a-ext-note {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--ui14f0a-line-soft);
  font-size: 11px;
  color: var(--ui14f0a-ink-faint);
  line-height: 1.6;
}

/* ==========================================================================
   Bottom dock: segmented action bar (fixed)
   ========================================================================== */
.ui14f0a-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 430px);
  z-index: 90;
  display: flex;
  gap: 4px;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(20, 20, 20, 0.98);
  border-top: 1px solid var(--ui14f0a-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ui14f0a-dockbtn {
  flex: 1;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 2px;
  background: none;
  border: 0;
  border-radius: var(--ui14f0a-r-chip);
  color: var(--ui14f0a-ink-dim);
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.ui14f0a-dockbtn svg {
  width: 21px;
  height: 21px;
  display: block;
}

/* promo roles carry the accent tint */
.ui14f0a-dockbtn--promo {
  color: var(--ui14f0a-accent-soft);
}

/* active role = contrast inversion chip */
.ui14f0a-dockbtn--active {
  background: var(--ui14f0a-accent);
  color: #FFFFFF;
}

/* small sliding indicator dot above the active role */
.ui14f0a-dockbtn--active::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 14px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--ui14f0a-accent-soft);
  transform: translateX(-50%);
}

/* ==========================================================================
   Copyright bar
   ========================================================================== */
.ui14f0a-foot {
  padding: 14px 12px 10px;
  text-align: center;
  font-size: 11px;
  color: var(--ui14f0a-ink-faint);
  border-top: 1px solid var(--ui14f0a-line-soft);
}

.ui14f0a-foot b {
  color: var(--ui14f0a-ink-dim);
  font-weight: 600;
}

/* ==========================================================================
   Utilities and motion preferences
   ========================================================================== */
.ui14f0a-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

  .ui14f0a-js .ui14f0a-rise,
  .ui14f0a-track,
  .ui14f0a-tabbar,
  .ui14f0a-drawer,
  .ui14f0a-btn,
  .ui14f0a-game img,
  .ui14f0a-promo {
    transition: none !important;
  }
}

/* slightly roomier type on the upper half of the canvas range */
@media (min-width: 375px) {
  .ui14f0a-intro h1 {
    font-size: 22.5px;
  }

  .ui14f0a-note h2,
  .ui14f0a-cathead h2 {
    font-size: 17.5px;
  }

  .ui14f0a-voice {
    flex: 0 0 72%;
  }
}

/* wide-screen: keep the phone canvas, refine edges */
@media (min-width: 431px) {
  .ui14f0a-brand-name b {
    font-size: 16px;
  }
}
