/* ============================================================
   KM88 Casino - mobile-first surface stylesheet
   Canvas: 320-430px phone column, centered on wide screens
   Palette: #FFEF94 cream / #FFE135 sun / #CD853F copper /
            #0C0C0C ink / #008000 leaf
   ============================================================ */

/* ---------- 1. tokens & reset ---------- */
:root {
  --uif5480-ink: #0c0c0c;
  --uif5480-ink-2: #131110;
  --uif5480-panel: #191512;
  --uif5480-panel-2: #201a14;
  --uif5480-cream: #ffef94;
  --uif5480-cream-dim: #d9cb96;
  --uif5480-sun: #ffe135;
  --uif5480-copper: #cd853f;
  --uif5480-copper-deep: #9a6227;
  --uif5480-leaf: #008000;
  --uif5480-leaf-hi: #17a117;
  --uif5480-line: rgba(255, 239, 148, 0.16);
  --uif5480-line-soft: rgba(255, 239, 148, 0.09);
  --uif5480-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
  --uif5480-r-card: 10px;
  --uif5480-r-btn: 7px;
  --uif5480-r-pill: 999px;
  --uif5480-font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --uif5480-font-body: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --uif5480-head-h: 112px;
  --uif5480-dock-h: 66px;
}

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

html {
  background:
    radial-gradient(circle at 20% -10%, rgba(205, 133, 63, 0.16), transparent 46%),
    radial-gradient(circle at 85% 8%, rgba(255, 225, 53, 0.07), transparent 40%),
    #070605;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--uif5480-font-body);
  font-size: 15px;
  line-height: 1.62;
  color: var(--uif5480-cream);
  background: var(--uif5480-ink);
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

a { color: var(--uif5480-sun); text-decoration: none; }

h1, h2, h3 {
  font-family: var(--uif5480-font-display);
  font-weight: 400;
  letter-spacing: 0.4px;
  line-height: 1.18;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--uif5480-sun);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 2. fixed top bar: brand tier + action tier ---------- */
.uif5480-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: linear-gradient(180deg, #100d0b 0%, #0c0c0c 100%);
  border-bottom: 1px solid var(--uif5480-copper-deep);
}

/* brand tier: logo + name only */
.uif5480-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px 6px;
  min-height: 56px;
}

.uif5480-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--uif5480-cream);
  min-height: 44px;
}

.uif5480-brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--uif5480-copper);
  box-shadow: 0 2px 8px rgba(255, 225, 53, 0.22);
  object-fit: cover;
}

.uif5480-brand b {
  font-family: var(--uif5480-font-display);
  font-size: 21px;
  letter-spacing: 0.8px;
  color: var(--uif5480-sun);
  text-transform: uppercase;
}

.uif5480-menubtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--uif5480-line);
  border-radius: var(--uif5480-r-btn);
  background: linear-gradient(180deg, #1d1712, #131009);
  color: var(--uif5480-cream);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.uif5480-menubtn svg { width: 18px; height: 18px; stroke: var(--uif5480-sun); }

.uif5480-menubtn.uif5480-is-on {
  border-color: var(--uif5480-sun);
  box-shadow: 0 0 10px rgba(255, 225, 53, 0.28);
}

/* action tier: segmented register/login duo */
.uif5480-actionrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px 9px;
}

.uif5480-duo {
  display: flex;
  width: 100%;
  border: 1px solid var(--uif5480-copper);
  border-radius: var(--uif5480-r-btn);
  overflow: hidden;
  background: #0a0908;
}

.uif5480-duo button {
  flex: 1;
  min-height: 42px;
  font-family: var(--uif5480-font-display);
  font-size: 15.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: filter 0.18s ease, box-shadow 0.18s ease;
}

.uif5480-duo .uif5480-reg {
  background: linear-gradient(180deg, var(--uif5480-sun), #d8b41c);
  color: #241c04;
}

.uif5480-duo .uif5480-log {
  background: transparent;
  color: var(--uif5480-cream);
  border-left: 1px solid var(--uif5480-copper);
}

.uif5480-duo button:active { box-shadow: 0 0 12px rgba(255, 225, 53, 0.4); }

/* compact route panel */
.uif5480-routepanel {
  display: none;
  border-top: 1px solid var(--uif5480-line);
  background: #0f0d0a;
  padding: 8px 12px 12px;
}

.uif5480-routepanel.uif5480-is-open { display: block; }

.uif5480-routepanel ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.uif5480-routepanel a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 9px;
  border: 1px solid var(--uif5480-line-soft);
  border-radius: var(--uif5480-r-btn);
  background: #171310;
  color: var(--uif5480-cream);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
}

.uif5480-routepanel a i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--uif5480-copper);
  flex: none;
}

.uif5480-routepanel a.uif5480-is-here {
  border-color: var(--uif5480-sun);
  color: var(--uif5480-sun);
  box-shadow: inset 0 0 0 1px rgba(255, 225, 53, 0.35);
}

.uif5480-routepanel a.uif5480-is-here i { background: var(--uif5480-sun); }

/* ---------- 3. main column ---------- */
.uif5480-main {
  padding: calc(var(--uif5480-head-h) + 10px) 12px
    calc(var(--uif5480-dock-h) + 26px + env(safe-area-inset-bottom));
}

/* ---------- 4. hero: title + lead + carousel ---------- */
.uif5480-hero { padding-top: 4px; }

.uif5480-hero h1 {
  font-size: 30px;
  text-transform: uppercase;
  color: var(--uif5480-cream);
  margin-bottom: 8px;
}

.uif5480-hero h1 em {
  font-style: normal;
  color: var(--uif5480-sun);
}

.uif5480-lead {
  font-size: 14px;
  color: var(--uif5480-cream-dim);
  border-left: 3px solid var(--uif5480-copper);
  padding-left: 10px;
  margin-bottom: 14px;
}

/* carousel */
.uif5480-stage {
  position: relative;
  border-radius: var(--uif5480-r-card);
  overflow: hidden;
  border: 1px solid var(--uif5480-copper-deep);
  box-shadow: var(--uif5480-shadow);
  background: #0a0908;
}

.uif5480-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.33, 0.9, 0.3, 1);
  touch-action: pan-y;
}

.uif5480-slide {
  flex: 0 0 100%;
  position: relative;
  width: 100%;
  padding: 0;
  text-align: left;
}

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

.uif5480-slide span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 10px;
  border-radius: var(--uif5480-r-btn);
  background: rgba(12, 12, 12, 0.78);
  border: 1px solid var(--uif5480-copper);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--uif5480-sun);
}

.uif5480-dots {
  position: absolute;
  right: 10px;
  bottom: 9px;
  display: flex;
  gap: 6px;
}

.uif5480-dots button {
  width: 22px;
  height: 10px;
  border-radius: var(--uif5480-r-pill);
  background: rgba(255, 239, 148, 0.28);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.uif5480-dots button.uif5480-is-live {
  background: var(--uif5480-sun);
  box-shadow: 0 0 8px rgba(255, 225, 53, 0.6);
}

/* segmented hero CTA */
.uif5480-ctaduo {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.uif5480-cta {
  flex: 1;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--uif5480-r-btn);
  font-family: var(--uif5480-font-display);
  font-size: 15px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: filter 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.uif5480-cta svg { width: 16px; height: 16px; }

.uif5480-cta--sun {
  background: linear-gradient(180deg, var(--uif5480-sun), #d3af19);
  color: #241c04;
  border: 1px solid #f4d54a;
}

.uif5480-cta--ghost {
  background: linear-gradient(180deg, #1d1712, #120f0b);
  color: var(--uif5480-cream);
  border: 1px solid var(--uif5480-copper);
}

.uif5480-cta:active {
  transform: translateY(1px);
  box-shadow: 0 0 12px rgba(255, 225, 53, 0.35);
}

/* ---------- 5. fact ribbon (summary first) ---------- */
.uif5480-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 16px 0 6px;
  padding: 10px;
  border: 1px dashed var(--uif5480-copper);
  border-radius: var(--uif5480-r-card);
  background: #100d0a;
}

.uif5480-facts div {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--uif5480-cream-dim);
  line-height: 1.4;
}

.uif5480-facts div::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 4px;
  flex: none;
  border-radius: 50%;
  background: var(--uif5480-leaf-hi);
  box-shadow: 0 0 6px rgba(23, 161, 23, 0.7);
}

/* ---------- 6. game shelves: grouped cover cards ---------- */
.uif5480-shelf { margin-top: 22px; }

.uif5480-shelfhead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: var(--uif5480-r-card);
  border: 1px solid var(--uif5480-copper-deep);
  background:
    linear-gradient(90deg, rgba(205, 133, 63, 0.22), rgba(205, 133, 63, 0.04)),
    #14100c;
  position: relative;
}

.uif5480-shelfhead::after {
  content: "";
  position: absolute;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--uif5480-leaf-hi);
  box-shadow: 0 0 8px rgba(23, 161, 23, 0.8);
}

.uif5480-shelfhead h2 {
  font-size: 17.5px;
  text-transform: uppercase;
  color: var(--uif5480-sun);
  flex: 1;
}

.uif5480-shelfhead small {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--uif5480-cream-dim);
  text-transform: uppercase;
  white-space: nowrap;
}

.uif5480-shelfnote {
  font-size: 12.5px;
  color: var(--uif5480-cream-dim);
  margin: 8px 2px 10px;
}

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

.uif5480-cover {
  position: relative;
  border-radius: var(--uif5480-r-card);
  border: 1px solid var(--uif5480-line-soft);
  background: #16120e;
  padding: 4px 4px 6px;
  text-align: center;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.uif5480-cover img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  background: #0a0908;
}

.uif5480-cover span {
  display: block;
  margin-top: 5px;
  font-size: 10.8px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--uif5480-cream);
  min-height: 27px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.uif5480-cover::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 14px;
  height: 14px;
  border-top: 2px solid rgba(255, 225, 53, 0.55);
  border-left: 2px solid rgba(255, 225, 53, 0.55);
  border-top-left-radius: 6px;
  pointer-events: none;
}

.uif5480-cover:active {
  border-color: var(--uif5480-sun);
  box-shadow: 0 0 12px rgba(255, 225, 53, 0.35);
  transform: translateY(1px);
}

/* related page chips under each shelf */
.uif5480-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.uif5480-chips a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 11px;
  border-radius: var(--uif5480-r-pill);
  border: 1px solid var(--uif5480-copper);
  background: #14100c;
  font-size: 12px;
  font-weight: 700;
  color: var(--uif5480-cream);
}

.uif5480-chips a svg { width: 13px; height: 13px; stroke: var(--uif5480-sun); }

/* ---------- 7. reading modules ---------- */
.uif5480-module {
  margin-top: 22px;
  border-radius: var(--uif5480-r-card);
  border: 1px solid var(--uif5480-line);
  background: linear-gradient(180deg, #161210, #100d0b);
  padding: 14px 13px 15px;
}

.uif5480-module > h2 {
  font-size: 18.5px;
  text-transform: uppercase;
  color: var(--uif5480-cream);
  margin-bottom: 9px;
}

.uif5480-module > h2 u {
  text-decoration: none;
  color: var(--uif5480-sun);
}

.uif5480-module h3 {
  font-size: 14.5px;
  color: var(--uif5480-copper);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 13px 0 5px;
}

.uif5480-module p {
  font-size: 13.8px;
  color: var(--uif5480-cream-dim);
  margin-bottom: 9px;
}

.uif5480-module p strong,
.uif5480-module li strong { color: var(--uif5480-cream); }

.uif5480-module a.uif5480-inline {
  color: var(--uif5480-sun);
  border-bottom: 1px dashed var(--uif5480-copper);
  font-weight: 700;
}

/* answer callout: direct answer first */
.uif5480-answer {
  border: 1px solid var(--uif5480-leaf);
  border-left: 4px solid var(--uif5480-leaf-hi);
  border-radius: var(--uif5480-r-btn);
  background: rgba(0, 128, 0, 0.1);
  padding: 10px 11px;
  font-size: 13.5px;
  color: var(--uif5480-cream);
  margin-bottom: 11px;
}

.uif5480-answer b { color: #b9f2b9; }

/* bullet + step lists */
.uif5480-module ul {
  list-style: none;
  margin: 4px 0 10px;
}

.uif5480-module li {
  position: relative;
  padding: 0 0 7px 18px;
  font-size: 13.5px;
  color: var(--uif5480-cream-dim);
}

.uif5480-module li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--uif5480-sun);
}

.uif5480-steps {
  list-style: none;
  counter-reset: uif5480-step;
  margin: 6px 0 10px;
}

.uif5480-steps li {
  counter-increment: uif5480-step;
  position: relative;
  padding: 0 0 9px 34px;
  font-size: 13.5px;
  color: var(--uif5480-cream-dim);
}

.uif5480-steps li::before {
  content: counter(uif5480-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 1px solid var(--uif5480-copper);
  background: #1b150f;
  color: var(--uif5480-sun);
  font-family: var(--uif5480-font-display);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* compact Q&A cards */
.uif5480-qa {
  border: 1px solid var(--uif5480-line-soft);
  border-radius: var(--uif5480-r-btn);
  background: #131009;
  padding: 9px 11px;
  margin-bottom: 8px;
}

.uif5480-qa h3 {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--uif5480-sun);
}

.uif5480-qa p { margin: 0; font-size: 13px; }

/* ---------- 8. home extension: compact groups ---------- */
.uif5480-ext {
  margin-top: 24px;
  border-top: 2px solid var(--uif5480-copper);
  padding-top: 14px;
}

.uif5480-extbrand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.uif5480-extbrand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--uif5480-copper);
  object-fit: cover;
}

.uif5480-extbrand p {
  font-size: 12.5px;
  color: var(--uif5480-cream-dim);
  line-height: 1.5;
}

.uif5480-extgroup {
  margin-top: 12px;
}

.uif5480-extgroup > h2 {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--uif5480-copper);
  border-bottom: 1px dashed var(--uif5480-line);
  padding-bottom: 5px;
  margin-bottom: 8px;
}

.uif5480-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  list-style: none;
}

.uif5480-dir a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 9px;
  border: 1px solid var(--uif5480-line-soft);
  border-radius: var(--uif5480-r-btn);
  background: #14110d;
  font-size: 11.8px;
  font-weight: 600;
  color: var(--uif5480-cream);
  line-height: 1.25;
}

.uif5480-dir a svg { width: 14px; height: 14px; stroke: var(--uif5480-sun); flex: none; }

.uif5480-promos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.uif5480-promos button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: var(--uif5480-r-btn);
  border: 1px solid var(--uif5480-copper-deep);
  background: linear-gradient(90deg, #1c150e, #120e0a);
  font-size: 13px;
  font-weight: 700;
  color: var(--uif5480-cream);
  text-align: left;
}

.uif5480-promos button span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.uif5480-promos button svg { width: 16px; height: 16px; stroke: var(--uif5480-sun); }

.uif5480-promos button em {
  font-style: normal;
  font-family: var(--uif5480-font-display);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--uif5480-sun);
  text-transform: uppercase;
}

.uif5480-promos button:active { box-shadow: 0 0 12px rgba(255, 225, 53, 0.3); }

.uif5480-note {
  margin-top: 13px;
  padding: 10px 11px;
  border-radius: var(--uif5480-r-btn);
  border: 1px dashed rgba(0, 128, 0, 0.55);
  background: rgba(0, 128, 0, 0.08);
  font-size: 11.8px;
  color: var(--uif5480-cream-dim);
  line-height: 1.55;
}

.uif5480-note b { color: #b9f2b9; }

/* ---------- 9. common footer ---------- */
.uif5480-foot {
  border-top: 1px solid var(--uif5480-line);
  padding: 14px 12px calc(var(--uif5480-dock-h) + 20px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 11.5px;
  color: #8f855f;
  letter-spacing: 0.4px;
}

.uif5480-foot b { color: var(--uif5480-cream-dim); }

/* ---------- 10. layered bottom dock ---------- */
.uif5480-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  background: linear-gradient(180deg, #141110 0%, #0a0908 100%);
  border-top: 2px solid var(--uif5480-copper);
  padding-bottom: env(safe-area-inset-bottom);
}

.uif5480-dock ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: var(--uif5480-dock-h);
}

.uif5480-dock a,
.uif5480-dock button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  height: 100%;
  min-height: 44px;
  position: relative;
  color: var(--uif5480-cream-dim);
}

.uif5480-dock svg {
  width: 21px;
  height: 21px;
  stroke: var(--uif5480-cream-dim);
  transition: stroke 0.18s ease, filter 0.18s ease;
}

.uif5480-dock small {
  font-size: 9.8px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.uif5480-dock .uif5480-is-here svg {
  stroke: var(--uif5480-sun);
  filter: drop-shadow(0 0 5px rgba(255, 225, 53, 0.65));
}

.uif5480-dock .uif5480-is-here small { color: var(--uif5480-sun); }

.uif5480-dock .uif5480-is-here::before {
  content: "";
  position: absolute;
  top: 0;
  width: 26px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--uif5480-sun);
  box-shadow: 0 0 9px rgba(255, 225, 53, 0.8);
}

.uif5480-dock .uif5480-dockhot svg { stroke: #ffd54a; }

.uif5480-dock button:active svg,
.uif5480-dock a:active svg {
  filter: drop-shadow(0 0 7px rgba(255, 225, 53, 0.85));
}

/* ---------- 11. restrained reveal ---------- */
.uif5480-rise {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.uif5480-rise.uif5480-is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 12. breakpoints ---------- */
@media (min-width: 360px) {
  .uif5480-hero h1 { font-size: 33px; }
  .uif5480-module > h2 { font-size: 19.5px; }
  .uif5480-shelfhead h2 { font-size: 18.5px; }
}

@media (min-width: 375px) {
  .uif5480-grid { gap: 9px; }
  .uif5480-cover span { font-size: 11.2px; }
}

/* wider phones keep the same dock + canvas, gain a fifth tile column */
@media (min-width: 430px) {
  .uif5480-grid { grid-template-columns: repeat(5, 1fr); }
  .uif5480-hero h1 { font-size: 36px; }
  .uif5480-promos { grid-template-columns: 1fr 1fr; }
}

/* Help pages use the same system with a quieter reading rail. */
.uif5480-module .uif5480-cta { width: 100%; margin-top: 4px; }
.uif5480-module p + .uif5480-cta { margin-top: 3px; }
.uif5480-module > ul:not(.uif5480-steps) { padding-left: 2px; }
.uif5480-module .uif5480-qa:last-child { margin-bottom: 0; }
.uif5480-module ol.uif5480-steps { padding-left: 0; }
.uif5480-module a.uif5480-inline { text-decoration-thickness: 1px; }


@media (max-width: 359px) {
  .uif5480-grid { gap: 6px; }
  .uif5480-cover span { font-size: 10.2px; }
  .uif5480-hero h1 { font-size: 27px; }
}

/* ---------- 13. motion & print courtesy ---------- */
@media (prefers-reduced-motion: reduce) {
  .uif5480-track { transition: none; }
  .uif5480-rise { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}
