/* ==========================================================================
   apaldo casino - apaldocasino.click
   Mobile-first surface stylesheet (320-430px phone canvas, centered wider)
   Palette anchors: #1A1A1A base / #87CEEB sky / #B0E0E6 powder / #4682B4
   steel / #FFA500 amber.
   Character: humanist serif headings over a clear sans body, small-to-mid
   radii, outlined tile cards, question-driven rhythm, short-distance section
   transitions, segmented action CTAs.
   ========================================================================== */

:root {
  --ui9efe4-ink: #1a1a1a;          /* page canvas */
  --ui9efe4-ink-deep: #141414;     /* sunk strips */
  --ui9efe4-panel: #1d2126;        /* raised module body */
  --ui9efe4-panel-2: #171b20;      /* quiet module body */
  --ui9efe4-sky: #87ceeb;
  --ui9efe4-powder: #b0e0e6;
  --ui9efe4-steel: #4682b4;
  --ui9efe4-amber: #ffa500;
  --ui9efe4-amber-soft: #ffb733;
  --ui9efe4-text: #d7ecf5;
  --ui9efe4-text-dim: rgba(215, 236, 245, 0.72);
  --ui9efe4-text-faint: rgba(176, 224, 230, 0.55);
  --ui9efe4-line: rgba(135, 206, 235, 0.22);
  --ui9efe4-line-soft: rgba(135, 206, 235, 0.13);
  --ui9efe4-head-font: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --ui9efe4-body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ui9efe4-r-s: 9px;              /* small radius */
  --ui9efe4-r-m: 12px;             /* mid radius */
  --ui9efe4-r-l: 15px;             /* module radius */
  --ui9efe4-top-h: 54px;           /* fixed brand bar height */
  --ui9efe4-dock-h: 58px;          /* fixed bottom bar height */
}

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

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

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

body {
  margin: 0;
  background: #0d0d0d;
  color: var(--ui9efe4-text);
  font-family: var(--ui9efe4-body-font);
  font-size: 15px;
  line-height: 1.62;
  overflow-x: clip;
}

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

a {
  color: var(--ui9efe4-sky);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  font-family: inherit;
}

/* Wide screens keep the phone canvas centered; the canvas carries the theme */
.ui9efe4-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 320px at 50% -60px, rgba(70, 130, 180, 0.28), transparent 62%),
    var(--ui9efe4-ink);
  box-shadow: 0 0 0 1px rgba(135, 206, 235, 0.09);
}

.ui9efe4-main {
  display: block;
  padding: calc(var(--ui9efe4-top-h) + 10px) 13px calc(var(--ui9efe4-dock-h) + 26px);
}

/* --------------------------------------------------------------------------
   Accessibility helpers & focus
   -------------------------------------------------------------------------- */

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ui9efe4-amber);
  outline-offset: 2px;
  border-radius: 6px;
  text-decoration: none;
}

::selection {
  background: rgba(255, 165, 0, 0.55);
  color: #141414;
}

/* --------------------------------------------------------------------------
   Fixed top brand bar + expandable drawer
   -------------------------------------------------------------------------- */

.ui9efe4-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  background: rgba(18, 21, 25, 0.97);
  border-bottom: 1px solid var(--ui9efe4-line);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.ui9efe4-brandbar {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: var(--ui9efe4-top-h);
  padding: 8px 11px 8px 12px;
}

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

.ui9efe4-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--ui9efe4-r-s);
  border: 1px solid rgba(135, 206, 235, 0.5);
  object-fit: cover;
  background: #10141a;
  flex: 0 0 auto;
}

.ui9efe4-brandname {
  font-family: var(--ui9efe4-head-font);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--ui9efe4-powder);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui9efe4-topacts {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  flex: 0 0 auto;
}

/* Segmented action buttons ---------------------------------------------- */

.ui9efe4-btn {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  border: 0;
  border-radius: var(--ui9efe4-r-m);
  overflow: hidden;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.02em;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.14s ease, filter 0.14s ease, background 0.14s ease, color 0.14s ease;
}

.ui9efe4-btn__label {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 12px;
  font-size: 13px;
  white-space: nowrap;
}

.ui9efe4-btn__cap {
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 13px;
  line-height: 1;
  border-left: 1px solid rgba(20, 20, 20, 0.34);
}

.ui9efe4-btn__cap svg {
  width: 12px;
  height: 12px;
  display: block;
}

/* primary: amber segment pair; press inverts to sky for contrast feedback */
.ui9efe4-btn--amber {
  background: linear-gradient(180deg, var(--ui9efe4-amber-soft), var(--ui9efe4-amber));
  color: #2a1c02;
}

.ui9efe4-btn--amber:active {
  background: var(--ui9efe4-sky);
  color: #101418;
  transform: translateY(1px);
}

/* secondary: steel outline segment pair */
.ui9efe4-btn--ghost {
  background: rgba(70, 130, 180, 0.22);
  color: var(--ui9efe4-powder);
  box-shadow: inset 0 0 0 1px rgba(135, 206, 235, 0.55);
}

.ui9efe4-btn--ghost .ui9efe4-btn__cap {
  border-left-color: rgba(135, 206, 235, 0.45);
}

.ui9efe4-btn--ghost:active {
  background: var(--ui9efe4-steel);
  color: #f2fbff;
  transform: translateY(1px);
}

/* compact top-bar sizing */
.ui9efe4-btn--top .ui9efe4-btn__label {
  padding: 6px 10px;
  font-size: 12.5px;
  min-height: 38px;
}

.ui9efe4-btn--top .ui9efe4-btn__cap {
  padding: 0 8px;
}

/* menu trigger: icon-only square with hairline ring */
.ui9efe4-menubtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  border-radius: var(--ui9efe4-r-s);
  background: rgba(135, 206, 235, 0.1);
  box-shadow: inset 0 0 0 1px var(--ui9efe4-line);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.14s ease, background 0.14s ease;
}

.ui9efe4-menubtn span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ui9efe4-powder);
  transition: transform 0.2s ease, opacity 0.16s ease;
}

.ui9efe4-menubtn:active {
  transform: scale(0.92);
  background: rgba(135, 206, 235, 0.2);
}

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

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

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

/* Drawer ---------------------------------------------------------------- */

.ui9efe4-drawer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.3s ease, opacity 0.24s ease, transform 0.24s ease;
  background: rgba(16, 19, 24, 0.985);
}

.ui9efe4-drawer.ui9efe4-drawer--open {
  max-height: 66vh;
  opacity: 1;
  transform: none;
  overflow-y: auto;
  border-top: 1px solid var(--ui9efe4-line-soft);
  overscroll-behavior: contain;
}

.ui9efe4-drawer-group {
  padding: 6px 0;
}

.ui9efe4-drawer-group + .ui9efe4-drawer-group {
  border-top: 1px dashed var(--ui9efe4-line-soft);
}

.ui9efe4-drawer-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ui9efe4-steel);
  padding: 8px 16px 4px;
}

.ui9efe4-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--ui9efe4-text);
  border-bottom: 1px solid rgba(135, 206, 235, 0.08);
  -webkit-tap-highlight-color: transparent;
  transition: background 0.14s ease, color 0.14s ease;
}

.ui9efe4-drawer-link em {
  font-style: normal;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ui9efe4-drawer-link i {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 15px;
  color: var(--ui9efe4-steel);
  transition: transform 0.14s ease;
}

.ui9efe4-drawer-link:active {
  background: rgba(135, 206, 235, 0.14);
}

.ui9efe4-drawer-link:active i {
  transform: translateX(3px);
}

/* current route: inverted chip marker */
.ui9efe4-drawer-link.ui9efe4-is-here {
  color: #14181c;
  background: var(--ui9efe4-sky);
  font-weight: 700;
}

.ui9efe4-drawer-link.ui9efe4-is-here i {
  color: #14181c;
}

.ui9efe4-drawer-link.ui9efe4-is-here::after {
  content: "you are here";
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(20, 24, 28, 0.22);
  border-radius: 999px;
  padding: 2px 7px;
}

.ui9efe4-drawer-link.ui9efe4-is-here i {
  display: none;
}

/* --------------------------------------------------------------------------
   Hero: headline + banner carousel
   -------------------------------------------------------------------------- */

.ui9efe4-hero {
  padding: 4px 0 2px;
}

.ui9efe4-hero h1 {
  font-family: var(--ui9efe4-head-font);
  font-size: 23px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 8px;
  color: #eaf7fc;
}

.ui9efe4-hero h1 mark {
  background: none;
  color: var(--ui9efe4-amber);
}

.ui9efe4-lede {
  margin: 0 0 13px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ui9efe4-text-dim);
}

.ui9efe4-lede a {
  color: var(--ui9efe4-sky);
  border-bottom: 1px dashed rgba(135, 206, 235, 0.5);
}

.ui9efe4-lede a:hover {
  border-bottom-style: solid;
  text-decoration: none;
}

/* Carousel -------------------------------------------------------------- */

.ui9efe4-carousel {
  position: relative;
  border-radius: var(--ui9efe4-r-l);
  border: 1px solid var(--ui9efe4-line);
  background: #10141a;
  overflow: hidden;
}

.ui9efe4-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ui9efe4-track::-webkit-scrollbar {
  display: none;
}

.ui9efe4-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

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

.ui9efe4-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(16, 18, 22, 0.82));
  pointer-events: none;
}

.ui9efe4-slide-cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.ui9efe4-slide-cap b {
  font-family: var(--ui9efe4-head-font);
  font-size: 14px;
  font-weight: 700;
  color: #f4fbff;
  letter-spacing: 0.02em;
}

.ui9efe4-slide-cap small {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a1c02;
  background: var(--ui9efe4-amber);
  border-radius: 999px;
  padding: 3px 9px;
}

.ui9efe4-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
  padding: 6px 0;
}

.ui9efe4-dot {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.ui9efe4-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(176, 224, 230, 0.45);
  transition: width 0.2s ease, background 0.2s ease;
}

.ui9efe4-dot.ui9efe4-dot--on::before {
  width: 16px;
  border-radius: 4px;
  background: var(--ui9efe4-amber);
}

/* --------------------------------------------------------------------------
   Quick answer chips (question-driven rhythm opener)
   -------------------------------------------------------------------------- */

.ui9efe4-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.ui9efe4-chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--ui9efe4-line);
  background: rgba(135, 206, 235, 0.07);
  font-size: 12px;
  color: var(--ui9efe4-text-dim);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.14s ease, color 0.14s ease, transform 0.14s ease;
}

.ui9efe4-chip b {
  color: var(--ui9efe4-sky);
  font-size: 12.5px;
}

.ui9efe4-chip:active {
  transform: scale(0.96);
  background: rgba(135, 206, 235, 0.16);
}

/* --------------------------------------------------------------------------
   Section headings (question-led)
   -------------------------------------------------------------------------- */

.ui9efe4-h2 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 26px 0 8px;
  font-family: var(--ui9efe4-head-font);
  font-size: 18.5px;
  line-height: 1.28;
  font-weight: 700;
  color: #ecf8fd;
}

.ui9efe4-h2::before {
  content: "?";
  flex: 0 0 auto;
  font-family: var(--ui9efe4-body-font);
  font-size: 13px;
  font-weight: 800;
  color: #14181c;
  background: var(--ui9efe4-sky);
  border-radius: 6px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(1px);
}

.ui9efe4-h3 {
  margin: 14px 0 6px;
  font-family: var(--ui9efe4-head-font);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ui9efe4-powder);
}

.ui9efe4-p {
  margin: 0 0 10px;
  font-size: 13.8px;
  color: var(--ui9efe4-text-dim);
}

/* first paragraph under an answer-type heading: verdict first */
.ui9efe4-lead {
  font-size: 14.2px;
  color: var(--ui9efe4-text);
  border-left: 3px solid var(--ui9efe4-amber);
  padding-left: 11px;
}

.ui9efe4-p a,
.ui9efe4-lead a {
  color: var(--ui9efe4-sky);
  border-bottom: 1px dashed rgba(135, 206, 235, 0.5);
}

.ui9efe4-p a:hover,
.ui9efe4-lead a:hover {
  text-decoration: none;
  border-bottom-style: solid;
}

/* --------------------------------------------------------------------------
   Game zones: outlined tile cards
   -------------------------------------------------------------------------- */

.ui9efe4-zone {
  margin-top: 24px;
}

.ui9efe4-zone-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
}

.ui9efe4-zone-title {
  margin: 0;
  font-family: var(--ui9efe4-head-font);
  font-size: 17px;
  font-weight: 700;
  color: #ecf8fd;
  letter-spacing: 0.01em;
}

.ui9efe4-zone-count {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ui9efe4-sky);
  border: 1px solid rgba(135, 206, 235, 0.4);
  border-radius: 999px;
  padding: 3px 9px;
}

.ui9efe4-zone-note {
  margin: 0 0 11px;
  font-size: 12.8px;
  line-height: 1.58;
  color: var(--ui9efe4-text-faint);
}

.ui9efe4-zone-note a {
  color: var(--ui9efe4-sky);
  border-bottom: 1px dashed rgba(135, 206, 235, 0.5);
}

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

.ui9efe4-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 6px 7px;
  border: 1px solid rgba(135, 206, 235, 0.2);
  border-radius: var(--ui9efe4-r-m);
  background: linear-gradient(180deg, #21262d, #181c22);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.ui9efe4-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--ui9efe4-r-s);
  background: #0f1318;
}

.ui9efe4-tile-name {
  font-size: 10.5px;
  line-height: 1.28;
  text-align: center;
  color: var(--ui9efe4-powder);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 27px;
}

.ui9efe4-tile:active {
  transform: scale(0.95);
  border-color: var(--ui9efe4-amber);
  box-shadow: 0 0 0 2px rgba(255, 165, 0, 0.22);
}

/* --------------------------------------------------------------------------
   Panels for decision modules
   -------------------------------------------------------------------------- */

.ui9efe4-panel {
  margin-top: 24px;
  border: 1px solid var(--ui9efe4-line);
  border-radius: var(--ui9efe4-r-l);
  background: var(--ui9efe4-panel-2);
  padding: 15px 14px 17px;
}

.ui9efe4-panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ui9efe4-amber);
  border: 1px solid rgba(255, 165, 0, 0.45);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 9px;
}

/* comparison dimensions: dashed rows of question -> verdict */
.ui9efe4-compare {
  margin-top: 4px;
}

.ui9efe4-compare-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--ui9efe4-line-soft);
}

.ui9efe4-compare-row:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.ui9efe4-compare-q {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ui9efe4-sky);
}

.ui9efe4-compare-a {
  font-size: 13px;
  line-height: 1.58;
  color: var(--ui9efe4-text-dim);
}

/* voices --------------------------------------------------------------- */

.ui9efe4-voices {
  display: grid;
  gap: 9px;
  margin-top: 4px;
}

.ui9efe4-voice {
  border: 1px solid rgba(70, 130, 180, 0.5);
  border-radius: var(--ui9efe4-r-m);
  background: #151a20;
  padding: 11px 12px;
}

.ui9efe4-voice-tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ui9efe4-amber);
  border: 1px solid rgba(255, 165, 0, 0.5);
  border-radius: 999px;
  padding: 2px 8px;
  margin-bottom: 6px;
}

.ui9efe4-voice-text {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ui9efe4-text-dim);
}

.ui9efe4-voice-who {
  font-size: 11px;
  color: var(--ui9efe4-text-faint);
  letter-spacing: 0.03em;
}

/* numbered steps -------------------------------------------------------- */

.ui9efe4-steps {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.ui9efe4-step {
  display: flex;
  gap: 11px;
  padding: 9px 0;
  border-bottom: 1px solid var(--ui9efe4-line-soft);
}

.ui9efe4-step:last-child {
  border-bottom: 0;
}

.ui9efe4-step-n {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--ui9efe4-powder);
  background: rgba(70, 130, 180, 0.3);
  border: 1px solid rgba(135, 206, 235, 0.4);
  border-radius: var(--ui9efe4-r-s);
}

.ui9efe4-step b {
  display: block;
  font-size: 13.5px;
  color: var(--ui9efe4-text);
}

.ui9efe4-step p {
  margin: 2px 0 0;
  font-size: 12.6px;
  line-height: 1.55;
  color: var(--ui9efe4-text-faint);
}

/* Q&A pairs ------------------------------------------------------------- */

.ui9efe4-qa {
  border: 1px solid var(--ui9efe4-line);
  border-radius: var(--ui9efe4-r-m);
  padding: 12px 13px;
  margin-bottom: 9px;
  background: rgba(135, 206, 235, 0.05);
}

.ui9efe4-qa:last-child {
  margin-bottom: 0;
}

.ui9efe4-qa-q {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 700;
  color: #eaf7fc;
}

.ui9efe4-qa-q::before {
  content: "Q";
  font-size: 10.5px;
  font-weight: 800;
  color: #14181c;
  background: var(--ui9efe4-amber);
  border-radius: 5px;
  padding: 1px 6px;
  margin-right: 7px;
  vertical-align: 1px;
}

.ui9efe4-qa-a {
  margin: 0;
  font-size: 13.2px;
  line-height: 1.6;
  color: var(--ui9efe4-text-dim);
}

.ui9efe4-qa-a a {
  color: var(--ui9efe4-sky);
  border-bottom: 1px dashed rgba(135, 206, 235, 0.5);
}

/* --------------------------------------------------------------------------
   CTA band (segmented action pair)
   -------------------------------------------------------------------------- */

.ui9efe4-cta-band {
  margin-top: 24px;
  border: 1px solid rgba(255, 165, 0, 0.65);
  border-radius: var(--ui9efe4-r-l);
  background:
    linear-gradient(140deg, rgba(255, 165, 0, 0.14), rgba(70, 130, 180, 0.2)),
    #171b20;
  padding: 17px 14px 16px;
  text-align: center;
}

.ui9efe4-cta-band h2,
.ui9efe4-cta-band .ui9efe4-cta-title {
  margin: 0 0 6px;
  font-family: var(--ui9efe4-head-font);
  font-size: 18px;
  color: #fff6e6;
}

.ui9efe4-cta-band p {
  margin: 0 0 13px;
  font-size: 12.8px;
  line-height: 1.55;
  color: var(--ui9efe4-text-dim);
}

.ui9efe4-cta-seg {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* full-width segmented pair inside bands */
.ui9efe4-cta-seg .ui9efe4-btn {
  flex: 1 1 150px;
}

.ui9efe4-cta-seg .ui9efe4-btn__label {
  justify-content: center;
  flex: 1;
}

.ui9efe4-cta-note {
  margin: 10px 0 0;
  font-size: 10.5px;
  color: var(--ui9efe4-text-faint);
}

/* --------------------------------------------------------------------------
   Extended footer: directory > brand > promotions > disclaimer
   -------------------------------------------------------------------------- */

.ui9efe4-extfoot {
  margin: 30px -13px 0;
  padding: 19px 15px 6px;
  border-top: 1px solid var(--ui9efe4-line);
  background: var(--ui9efe4-ink-deep);
}

.ui9efe4-extfoot-title {
  margin: 0 0 10px;
  font-family: var(--ui9efe4-head-font);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ui9efe4-powder);
}

.ui9efe4-directory {
  columns: 2;
  column-gap: 16px;
  margin-bottom: 16px;
}

.ui9efe4-directory a {
  display: block;
  break-inside: avoid;
  position: relative;
  padding: 7px 0 7px 13px;
  font-size: 12.3px;
  line-height: 1.4;
  color: var(--ui9efe4-text-dim);
}

.ui9efe4-directory a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--ui9efe4-steel);
}

.ui9efe4-directory a:active {
  color: var(--ui9efe4-powder);
}

.ui9efe4-extbrand {
  font-size: 12.4px;
  line-height: 1.62;
  color: var(--ui9efe4-text-faint);
  border-top: 1px dashed var(--ui9efe4-line-soft);
  padding-top: 13px;
  margin-bottom: 14px;
}

.ui9efe4-extbrand b {
  color: var(--ui9efe4-powder);
}

.ui9efe4-promorow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ui9efe4-promoitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 46px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 165, 0, 0.55);
  border-radius: var(--ui9efe4-r-m);
  background: rgba(255, 165, 0, 0.09);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  color: #ffd9a0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.14s ease, background 0.14s ease, color 0.14s ease;
}

.ui9efe4-promoitem i {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 14px;
  color: var(--ui9efe4-amber);
}

.ui9efe4-promoitem:active {
  transform: scale(0.96);
  background: var(--ui9efe4-amber);
  color: #2a1c02;
}

.ui9efe4-promoitem:active i {
  color: #2a1c02;
}

.ui9efe4-disclaimer {
  margin-top: 15px;
  padding-top: 11px;
  border-top: 1px dashed var(--ui9efe4-line-soft);
  font-size: 10.8px;
  line-height: 1.58;
  color: rgba(176, 224, 230, 0.5);
}

/* --------------------------------------------------------------------------
   Generic footer strip
   -------------------------------------------------------------------------- */

.ui9efe4-foot {
  padding: 13px 12px 10px;
  text-align: center;
  font-size: 11.3px;
  letter-spacing: 0.02em;
  color: var(--ui9efe4-text-faint);
  border-top: 1px solid var(--ui9efe4-line-soft);
}

.ui9efe4-foot b {
  color: var(--ui9efe4-powder);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Bottom action bar: 5 segments
   -------------------------------------------------------------------------- */

.ui9efe4-bottombar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(15, 18, 22, 0.975);
  border-top: 1px solid var(--ui9efe4-line);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.ui9efe4-seg {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--ui9efe4-dock-h);
  color: var(--ui9efe4-text-dim);
  font-size: 10px;
  letter-spacing: 0.05em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.13s ease, background 0.13s ease, color 0.13s ease;
}

.ui9efe4-seg + .ui9efe4-seg {
  border-left: 1px solid var(--ui9efe4-line-soft);
}

.ui9efe4-seg svg {
  width: 21px;
  height: 21px;
  display: block;
}

.ui9efe4-seg:active {
  transform: scale(0.93);
}

/* promo segments get an amber cue on the glyph */
.ui9efe4-seg--promo svg {
  color: var(--ui9efe4-amber);
}

.ui9efe4-seg--promo:active {
  background: var(--ui9efe4-amber);
  color: #2a1c02;
}

.ui9efe4-seg--promo:active svg {
  color: #2a1c02;
}

/* current page: contrast inversion with light marker dot */
.ui9efe4-seg.ui9efe4-is-here {
  background: var(--ui9efe4-sky);
  color: #14181c;
  font-weight: 700;
}

.ui9efe4-seg.ui9efe4-is-here svg {
  color: #14181c;
}

.ui9efe4-seg.ui9efe4-is-here::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 50%;
  transform: translateX(20px);
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--ui9efe4-amber);
}

/* --------------------------------------------------------------------------
   Short-distance section transitions
   -------------------------------------------------------------------------- */

.ui9efe4-rise {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.45s cubic-bezier(0.22, 0.9, 0.32, 1);
}

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

/* --------------------------------------------------------------------------
   Narrow-canvas tuning (320-359px)
   -------------------------------------------------------------------------- */

@media (max-width: 359px) {
  .ui9efe4-brandbar {
    gap: 6px;
    padding: 7px 9px 7px 10px;
  }

  .ui9efe4-logo {
    width: 28px;
    height: 28px;
  }

  .ui9efe4-brandname {
    font-size: 15px;
  }

  .ui9efe4-topacts {
    gap: 5px;
  }

  .ui9efe4-btn--top .ui9efe4-btn__label {
    padding: 5px 7px;
    font-size: 11.5px;
    min-height: 36px;
  }

  .ui9efe4-btn--top .ui9efe4-btn__cap {
    padding: 0 6px;
  }

  .ui9efe4-menubtn {
    width: 34px;
    height: 34px;
  }

  .ui9efe4-hero h1 {
    font-size: 20px;
  }

  .ui9efe4-grid {
    gap: 6px;
  }

  .ui9efe4-tile {
    padding: 5px 5px 6px;
  }

  .ui9efe4-tile-name {
    font-size: 9.8px;
    min-height: 25px;
  }

  .ui9efe4-promorow {
    grid-template-columns: 1fr;
  }
}

/* wider phone canvas: breathe a little, 5 game columns above 396px */
@media (min-width: 396px) {
  .ui9efe4-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }

  .ui9efe4-main {
    padding-left: 15px;
    padding-right: 15px;
  }

  .ui9efe4-extfoot {
    margin-left: -15px;
    margin-right: -15px;
  }

  .ui9efe4-hero h1 {
    font-size: 24.5px;
  }
}

@media (min-width: 431px) {
  .ui9efe4-shell {
    border-radius: 0 0 18px 18px;
  }
}

/* safe-area lift for notched phones */
@supports (padding: env(safe-area-inset-top)) {
  .ui9efe4-topbar {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .ui9efe4-main {
    padding-top: calc(var(--ui9efe4-top-h) + env(safe-area-inset-top, 0px) + 10px);
  }
}

/* honor reduced-motion: keep transitions local and brief or remove */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ui9efe4-rise {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ui9efe4-drawer,
  .ui9efe4-drawer-link i,
  .ui9efe4-tile,
  .ui9efe4-seg,
  .ui9efe4-btn,
  .ui9efe4-promoitem,
  .ui9efe4-dot::before {
    transition: none;
  }
}
