/* ============================================================
   Stockmarketdigest in - mobile visual system
   File   : css/compact-9f0941-visuals.css
   Prefix : uif0941-  (all classes and CSS variables)
   Canvas : 320-430px phone frame, centered on wide screens
   Palette: #191970 #3C3C3C #1E1E1E #36454F #A9A9A9 #ECF0F1
   Notes  : stroke-led restrained corners, outlined tile cards,
            compact metric rhythm, sliding focus indicators.
   ============================================================ */

:root {
  --uif0941-deep: #191970;              /* brand midnight blue */
  --uif0941-panel: #3c3c3c;             /* raised panel grey */
  --uif0941-canvas: #1e1e1e;            /* page background */
  --uif0941-slate: #36454f;             /* secondary surface */
  --uif0941-mute: #a9a9a9;              /* dimmed text */
  --uif0941-ink: #ecf0f1;               /* primary text */
  --uif0941-line: rgba(236, 240, 241, 0.2);
  --uif0941-line-strong: rgba(236, 240, 241, 0.38);
  --uif0941-glow: rgba(236, 240, 241, 0.16);
  --uif0941-radius: 6px;                /* restrained corner radius */
  --uif0941-tap: 44px;                  /* minimum touch target */
  --uif0941-font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- reset / base ---------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--uif0941-font);
  font-weight: 400;                     /* light body vs bold headings */
  background: #14141b;
  color: var(--uif0941-ink);
  font-size: 14px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

a {
  color: var(--uif0941-ink);
  text-decoration: none;
}

/* visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--uif0941-ink);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- phone canvas shell ---------- */

.uif0941-shell {
  position: relative;
  width: 100%;
  max-width: 430px;                     /* hard canvas ceiling */
  margin: 0 auto;
  min-height: 100vh;
  background: var(--uif0941-canvas);
}

@media (min-width: 431px) {
  .uif0941-shell {
    border-left: 1px solid var(--uif0941-line);
    border-right: 1px solid var(--uif0941-line);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.55);
  }
}

/* ---------- fixed top header : brand tier + action tier ---------- */

.uif0941-top {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 80;
  background: rgba(25, 25, 112, 0.97);
  border-bottom: 1px solid var(--uif0941-line-strong);
  backdrop-filter: blur(8px);
}

.uif0941-brandrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 6px;
}

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

.uif0941-brandname {
  font-weight: 800;
  font-size: 16.5px;
  letter-spacing: 0.2px;
  line-height: 1.15;
  min-width: 0;
  overflow-wrap: anywhere;
}

.uif0941-actionrow {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 0 14px 10px;
}

.uif0941-actionrow .uif0941-btn {
  flex: 1 1 auto;
}

/* ---------- buttons : staggered primary / secondary sizes ---------- */

.uif0941-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--uif0941-tap);
  padding: 0 16px;
  border-radius: var(--uif0941-radius);
  border: 1px solid var(--uif0941-line-strong);
  background: transparent;
  color: var(--uif0941-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: box-shadow 0.22s ease, background-color 0.22s ease;
}

.uif0941-btn:active {
  box-shadow: 0 0 0 2px var(--uif0941-line-strong), 0 0 14px var(--uif0941-glow);
}

.uif0941-btn--primary {
  background: var(--uif0941-ink);
  border-color: var(--uif0941-ink);
  color: var(--uif0941-deep);
  font-size: 15px;
  min-height: 48px;                     /* deliberately larger */
}

.uif0941-btn--ghost {
  background: rgba(236, 240, 241, 0.06);
}

.uif0941-btn--sm {
  min-height: 34px;                     /* deliberately smaller */
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
}

.uif0941-btn--wide {
  width: 100%;
}

/* menu trigger: borderless symbol button */
.uif0941-burger {
  flex: 0 0 var(--uif0941-tap);
  width: var(--uif0941-tap);
  min-height: var(--uif0941-tap);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: 0;
  color: var(--uif0941-ink);
}

.uif0941-burger i {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

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

.uif0941-burger[aria-expanded="true"] i:nth-child(2) {
  opacity: 0;
}

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

/* ---------- compact route panel (collapsible) ---------- */

.uif0941-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  background: rgba(54, 69, 79, 0.55);
  border-top: 0 solid transparent;
}

.uif0941-panel--open {
  max-height: 520px;
  border-top-width: 1px;
  border-top-color: var(--uif0941-line);
}

.uif0941-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 10px;
  padding: 10px 14px 14px;
}

.uif0941-panel a {
  position: relative;
  display: block;
  padding: 10px 2px 9px;
  min-height: var(--uif0941-tap);
  font-size: 13px;
  font-weight: 600;
  color: var(--uif0941-mute);
  border-bottom: 1px solid rgba(236, 240, 241, 0.12);
  transition: color 0.2s ease;
}

.uif0941-panel a::after {               /* sliding underline marker */
  content: "";
  position: absolute;
  left: 1px;
  bottom: -1px;
  width: 26px;
  height: 2px;
  background: var(--uif0941-ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease;
}

.uif0941-panel a:hover,
.uif0941-panel a:focus-visible,
.uif0941-panel a[aria-current="page"] {
  color: var(--uif0941-ink);
}

.uif0941-panel a:hover::after,
.uif0941-panel a:focus-visible::after,
.uif0941-panel a[aria-current="page"]::after {
  transform: scaleX(1);
  box-shadow: 0 0 8px var(--uif0941-glow);
}

/* ---------- main flow ---------- */

.uif0941-main {
  padding-top: 104px;                   /* clears two-tier header */
  padding-bottom: 104px;                /* clears floating dock */
}

/* ---------- hero ---------- */

.uif0941-hero {
  padding: 14px 14px 4px;
}

.uif0941-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--uif0941-mute);
  margin-bottom: 8px;
}

.uif0941-hero h1 {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.2px;
}

.uif0941-hero-sub {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--uif0941-mute);
}

.uif0941-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  margin-top: 14px;
}

.uif0941-hero-cta .uif0941-btn--primary {
  flex: 1 1 150px;
}

.uif0941-hero-cta .uif0941-btn--ghost {
  flex: 1 1 110px;
}

.uif0941-hero-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--uif0941-mute);
}

.uif0941-textlink {
  background: none;
  border: 0;
  padding: 0 2px;
  color: var(--uif0941-ink);
  font-size: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 0;
}

/* ---------- banner reel ---------- */

.uif0941-reelwrap {
  padding: 14px 14px 0;
}

.uif0941-reel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border: 1px solid var(--uif0941-line);
  border-radius: 8px;
  background: var(--uif0941-slate);
  scrollbar-width: none;
}

.uif0941-reel::-webkit-scrollbar {
  display: none;
}

.uif0941-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
}

.uif0941-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.uif0941-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 30px 12px 10px;
  background: linear-gradient(180deg, rgba(30, 30, 30, 0) 0%, rgba(30, 30, 30, 0.94) 78%);
  text-align: left;
}

.uif0941-slide-cap {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  min-width: 0;
}

.uif0941-slide-cap small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  color: var(--uif0941-mute);
}

.uif0941-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 9px 0 2px;
}

.uif0941-dots button {
  width: 26px;
  height: 12px;                         /* keeps the strip tappable */
  border: 0;
  border-radius: 3px;
  background: rgba(236, 240, 241, 0.25);
  position: relative;
}

.uif0941-dots button::after {
  content: "";
  position: absolute;
  inset: 4px 0;
  border-radius: 2px;
  background: rgba(236, 240, 241, 0.3);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.uif0941-dots button.uif0941-dot--on::after {
  background: var(--uif0941-ink);
  box-shadow: 0 0 8px var(--uif0941-glow);
}

/* ---------- compact metric strip ---------- */

.uif0941-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 14px 0;
}

.uif0941-stat {
  border: 1px solid var(--uif0941-line);
  border-radius: var(--uif0941-radius);
  background: rgba(60, 60, 60, 0.35);
  padding: 10px 6px;
  text-align: center;
}

.uif0941-stat b {
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.uif0941-stat span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--uif0941-mute);
  line-height: 1.35;
}

/* ---------- category chips ---------- */

.uif0941-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 14px 2px;
  scrollbar-width: none;
}

.uif0941-chips::-webkit-scrollbar {
  display: none;
}

.uif0941-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--uif0941-line-strong);
  border-radius: var(--uif0941-radius);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--uif0941-ink);
  background: rgba(54, 69, 79, 0.4);
  transition: box-shadow 0.2s ease;
}

.uif0941-chip:active {
  box-shadow: 0 0 12px var(--uif0941-glow);
}

/* ---------- game sections ---------- */

.uif0941-sec {
  padding: 22px 14px 4px;
  scroll-margin-top: 110px;
}

.uif0941-sec h2 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  padding-left: 9px;
  border-left: 3px solid var(--uif0941-line-strong);
}

.uif0941-lead {
  margin: 8px 0 12px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--uif0941-mute);
}

.uif0941-lead strong {
  color: var(--uif0941-ink);
  font-weight: 700;
}

/* outlined tile grid: 4 columns on 320px, 5 from 390px up */
.uif0941-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (min-width: 390px) and (max-width: 430px) {
  .uif0941-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 9px;
  }
}

.uif0941-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
  padding: 7px 6px 8px;
  background: rgba(54, 69, 79, 0.3);
  border: 1px solid var(--uif0941-line);
  border-radius: 8px;
  color: var(--uif0941-ink);
  text-align: center;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.uif0941-tile:hover,
.uif0941-tile:focus-visible {
  border-color: var(--uif0941-line-strong);
  box-shadow: 0 0 0 1px var(--uif0941-line), 0 0 12px var(--uif0941-glow);
}

.uif0941-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid rgba(236, 240, 241, 0.1);
  pointer-events: none;
}

.uif0941-tile-name {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* secondary route row under each grid */
.uif0941-more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.uif0941-more a,
.uif0941-more button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px dashed var(--uif0941-line-strong);
  border-radius: var(--uif0941-radius);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--uif0941-ink);
  background: none;
}

.uif0941-more a::after,
.uif0941-more button::after {
  content: "\203A";
  font-weight: 800;
  color: var(--uif0941-mute);
}

/* ---------- editorial modules ---------- */

.uif0941-block {
  border: 1px solid var(--uif0941-line);
  border-radius: 8px;
  background: rgba(60, 60, 60, 0.28);
  padding: 12px 12px 13px;
}

.uif0941-block + .uif0941-block {
  margin-top: 10px;
}

.uif0941-block h3 {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.35;
}

.uif0941-block p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--uif0941-mute);
}

.uif0941-block p strong {
  color: var(--uif0941-ink);
}

/* key/value explanation rows */
.uif0941-rows {
  border-top: 1px solid var(--uif0941-line);
}

.uif0941-row {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--uif0941-line);
}

.uif0941-row dt {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--uif0941-ink);
  line-height: 1.4;
}

.uif0941-row dd {
  font-size: 12.5px;
  color: var(--uif0941-mute);
  line-height: 1.6;
}

/* checklist with drawn tick marks */
.uif0941-check {
  list-style: none;
}

.uif0941-check li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--uif0941-mute);
  border-bottom: 1px dashed rgba(236, 240, 241, 0.14);
}

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

.uif0941-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--uif0941-ink);
  border-bottom: 2px solid var(--uif0941-ink);
  transform: rotate(-45deg);
}

.uif0941-check li strong {
  color: var(--uif0941-ink);
}

/* ---------- homepage extended footer ---------- */

.uif0941-ext {
  margin-top: 26px;
  padding: 18px 14px 8px;
  border-top: 1px solid var(--uif0941-line-strong);
  background: rgba(25, 25, 112, 0.32);
}

.uif0941-ext h3 {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--uif0941-mute);
  margin-bottom: 8px;
}

.uif0941-ext-group + .uif0941-ext-group {
  margin-top: 18px;
}

.uif0941-ext-brand p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--uif0941-mute);
}

.uif0941-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}

.uif0941-dir a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--uif0941-ink);
  padding: 7px 0;
  border-bottom: 1px solid rgba(236, 240, 241, 0.12);
  min-height: 38px;
  display: flex;
  align-items: center;
}

.uif0941-promos {
  display: grid;
  gap: 8px;
}

.uif0941-promos .uif0941-btn {
  width: 100%;
}

.uif0941-promoline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid var(--uif0941-line);
  border-radius: var(--uif0941-radius);
  background: rgba(30, 30, 30, 0.45);
  color: var(--uif0941-ink);
  text-align: left;
}

.uif0941-promoline b {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
}

.uif0941-promoline span {
  font-size: 11px;
  color: var(--uif0941-mute);
  line-height: 1.35;
}

.uif0941-promoline:active {
  box-shadow: 0 0 12px var(--uif0941-glow);
}

.uif0941-legal {
  border: 1px dashed var(--uif0941-line-strong);
  border-radius: var(--uif0941-radius);
  padding: 10px 12px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--uif0941-mute);
}

/* ---------- common footer ---------- */

.uif0941-foot {
  padding: 20px 14px 12px;
  text-align: center;
}

.uif0941-copy {
  font-size: 12px;
  color: var(--uif0941-mute);
}

/* ---------- floating bottom dock : 5 roles ---------- */

.uif0941-dock {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 410px;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 5px 4px;
  background: rgba(30, 30, 30, 0.94);
  border: 1px solid var(--uif0941-line-strong);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.uif0941-dock a,
.uif0941-dock button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  padding: 4px 2px;
  background: none;
  border: 0;
  color: var(--uif0941-mute);
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 8px;
}

.uif0941-dock svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.uif0941-dock a.uif0941-dock--on {
  color: var(--uif0941-ink);
}

.uif0941-dock a.uif0941-dock--on svg,
.uif0941-dock button:active svg {
  filter: drop-shadow(0 0 5px var(--uif0941-glow));
}

.uif0941-dock--on .uif0941-dock-txt {
  border-bottom: 2px solid var(--uif0941-ink);
  padding-bottom: 1px;
}

.uif0941-dock button:active {
  color: var(--uif0941-ink);
}

/* ---------- help-page layouts ---------- */

.uif0941-help-main {
  padding-top: 112px;
  padding-bottom: 104px;
}

.uif0941-help-hero {
  padding: 16px 14px 12px;
  border-bottom: 1px solid var(--uif0941-line-strong);
  background: linear-gradient(135deg, rgba(25, 25, 112, 0.66), rgba(54, 69, 79, 0.48));
}

.uif0941-help-hero h1 {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.2px;
}

.uif0941-help-hero p {
  margin-top: 9px;
  color: var(--uif0941-mute);
  font-size: 13.5px;
  line-height: 1.65;
}

.uif0941-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.uif0941-help-actions .uif0941-btn {
  flex: 1 1 132px;
}

.uif0941-faq-index {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 12px 14px 4px;
  scrollbar-width: none;
}

.uif0941-faq-index::-webkit-scrollbar {
  display: none;
}

.uif0941-faq-index a {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-left: 2px solid var(--uif0941-line-strong);
  background: rgba(60, 60, 60, 0.42);
  color: var(--uif0941-ink);
  font-size: 12px;
  font-weight: 700;
}

.uif0941-faq-list {
  margin: 0 14px;
  border-top: 1px solid var(--uif0941-line-strong);
}

.uif0941-faq-item {
  padding: 14px 0 15px;
  border-bottom: 1px solid var(--uif0941-line);
}

.uif0941-faq-item h3 {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.4;
}

.uif0941-faq-item h3::before {
  content: "?";
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--uif0941-line-strong);
  color: var(--uif0941-ink);
  font-size: 13px;
  font-weight: 800;
}

.uif0941-faq-item p {
  margin: 7px 0 0 32px;
  color: var(--uif0941-mute);
  font-size: 13px;
  line-height: 1.65;
}

.uif0941-verify {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 11px;
  border: 1px solid var(--uif0941-line-strong);
  background: rgba(25, 25, 112, 0.3);
}

.uif0941-verify div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: start;
}

.uif0941-verify b {
  font-size: 12px;
  color: var(--uif0941-ink);
}

.uif0941-verify span {
  color: var(--uif0941-mute);
  font-size: 12.5px;
  line-height: 1.55;
}

.uif0941-termgrid {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.uif0941-termgrid div {
  padding: 9px 10px;
  border-left: 3px solid var(--uif0941-line-strong);
  background: rgba(54, 69, 79, 0.32);
}

.uif0941-termgrid dt {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--uif0941-ink);
}

.uif0941-termgrid dd {
  margin-top: 3px;
  color: var(--uif0941-mute);
  font-size: 12.5px;
  line-height: 1.55;
}

.uif0941-steprail {
  list-style: none;
  counter-reset: uif0941-step;
  display: grid;
  gap: 10px;
  margin-top: 11px;
}

.uif0941-steprail li {
  counter-increment: uif0941-step;
  position: relative;
  padding: 12px 11px 12px 47px;
  border: 1px solid var(--uif0941-line);
  background: rgba(60, 60, 60, 0.28);
}

.uif0941-steprail li::before {
  content: counter(uif0941-step, decimal-leading-zero);
  position: absolute;
  left: 11px;
  top: 12px;
  color: var(--uif0941-ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
}

.uif0941-steprail li::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 36px;
  bottom: -12px;
  width: 1px;
  background: var(--uif0941-line-strong);
}

.uif0941-steprail li:last-child::after {
  display: none;
}

.uif0941-steprail h3 {
  font-size: 14.5px;
  line-height: 1.4;
}

.uif0941-steprail p {
  margin-top: 5px;
  color: var(--uif0941-mute);
  font-size: 13px;
  line-height: 1.62;
}

.uif0941-scenario {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.uif0941-scenario article {
  padding: 11px;
  border-top: 2px solid var(--uif0941-line-strong);
  background: rgba(54, 69, 79, 0.3);
}

.uif0941-scenario h3 {
  font-size: 14px;
  line-height: 1.4;
}

.uif0941-scenario p {
  margin-top: 5px;
  color: var(--uif0941-mute);
  font-size: 12.8px;
  line-height: 1.6;
}

.uif0941-promo-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 11px;
  border: 1px dashed var(--uif0941-line-strong);
  color: var(--uif0941-mute);
  font-size: 12px;
  line-height: 1.5;
}

.uif0941-promo-note .uif0941-btn {
  flex: 0 0 auto;
}

/* ---------- motion budget ---------- */

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

  .uif0941-panel,
  .uif0941-panel a::after,
  .uif0941-btn,
  .uif0941-tile,
  .uif0941-burger i {
    transition: none;
  }
}
