/* ==========================================================================
   ZeroSpread — «أهم الأحداث القادمة» (Home) · scoped .ue-*
   Light mode · Tajawal 400/500/700 · Latin tabular digits · RTL
   ========================================================================== */

.ue-section {
  --ue-font: var(--font-tajawal, 'Tajawal'), sans-serif;
  --ue-bg: #f7f8fa;
  --ue-surface: #ffffff;
  --ue-soft: #f5f6f8;
  --ue-line: #e9ebef;
  --ue-line-2: #e2e5ea;
  --ue-ink: #0f1115;
  --ue-ink-2: #2a2f36;
  --ue-muted: #6b7280;
  --ue-muted-2: #8b929c;
  --ue-up: #15803d;
  --ue-down: #d92d20;
  --ue-amber: #b45309;
  --ue-zs: #a3ff12;
  --ue-ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --ue-radius: 24px;

  font-family: var(--ue-font);
  font-synthesis: none;
  letter-spacing: 0;
  color: var(--ue-ink);
  background: transparent;
  padding: 56px 0;
  -webkit-font-smoothing: antialiased;
}
.ue-section *,
.ue-section *::before,
.ue-section *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}
.ue-section :where(h2, h3, p, ul, dl, dd) {
  margin: 0;
  padding: 0;
}
.ue-section ul {
  list-style: none;
}
.ue-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ue-title-main,
.ue-title-inst {
  display: block;
}
.ue-title-inst {
  color: #3a414b;
}
.ue-nowrap {
  white-space: nowrap;
}
.ue-section [dir='ltr'] {
  font-variant-numeric: tabular-nums;
  unicode-bidi: isolate;
}

.ue-container {
  /* Same workspace as .zsph-wrap (Market Overview / Ideas): 1840 content + clamp gutter. */
  --ue-gutter: clamp(16px, 2.3vw, 40px);
  --ue-max: 1840px;
  width: 100%;
  max-width: calc(var(--ue-max) + 2 * var(--ue-gutter));
  margin: 0 auto;
  padding: 0 var(--ue-gutter);
  box-sizing: border-box;
}

/* ─── Header ─────────────────────────────────────────────────────────── */
.ue-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.ue-title {
  font-size: 44px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ue-ink);
}
.ue-subtitle {
  margin-top: 10px !important;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--ue-muted);
}

.ue-cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 54px;
  padding: 0 26px 0 22px;
  border: 1px solid var(--ue-line-2);
  border-radius: 14px;
  background: #fff;
  color: var(--ue-ink);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition:
    border-color 200ms var(--ue-ease),
    box-shadow 200ms var(--ue-ease),
    transform 200ms var(--ue-ease),
    background-color 200ms var(--ue-ease);
}
.ue-cal-btn--head {
  margin-top: 6px;
  min-width: 192px;
  justify-content: center;
}
.ue-cal-arrow {
  transition: transform 260ms var(--ue-ease);
}
.ue-cal-btn:hover {
  border-color: #cfd3d9;
  box-shadow: 0 8px 22px -14px rgba(16, 24, 40, 0.28);
  transform: translateY(-1px);
}
.ue-cal-btn:hover .ue-cal-arrow {
  transform: translateX(-4px);
}
.ue-cal-btn:active {
  transform: translateY(0) scale(0.985);
}
.ue-cal-btn:focus-visible,
.ue-row:focus-visible {
  outline: 2px solid var(--ue-ink);
  outline-offset: 3px;
}
.ue-cal-btn--inline {
  height: 46px;
  font-size: 16px;
  padding: 0 20px 0 18px;
  align-self: flex-start;
}

/* ─── Panel ──────────────────────────────────────────────────────────── */
.ue-panel {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 36.3fr) minmax(0, 63.7fr); /* RTL: list on the right */
  background: var(--ue-surface);
  border: 1px solid var(--ue-line);
  border-radius: var(--ue-radius);
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.03),
    0 24px 48px -36px rgba(16, 24, 40, 0.16);
  overflow: hidden;
}

/* list column */
.ue-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 24px 20px;
  border-inline-end: 1px solid var(--ue-line);
  min-width: 0;
}
.ue-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}
.ue-row-wrap {
  flex: 1;
  display: flex;
  min-height: 0;
}
.ue-row {
  all: unset;
  box-sizing: border-box;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 132px;
  padding: 20px 22px 18px;
  border: 1px solid var(--ue-line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  text-align: start;
  font-family: var(--ue-font);
  transition:
    border-color 200ms var(--ue-ease),
    box-shadow 220ms var(--ue-ease),
    transform 200ms var(--ue-ease),
    background-color 200ms var(--ue-ease);
}
.ue-row:hover {
  border-color: #d5d9df;
  box-shadow: 0 10px 24px -18px rgba(16, 24, 40, 0.3);
  transform: translateY(-2px);
}
.ue-row:active {
  transform: translateY(0) scale(0.992);
}
.ue-row.is-returned {
  animation: ue-returned 1600ms var(--ue-ease) both;
}
.ue-row-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ue-row-top .ue-flag {
  margin-top: 3px;
  flex: none;
  transition: transform 220ms var(--ue-ease);
}
.ue-row:hover .ue-flag {
  transform: scale(1.06);
}
.ue-row-titles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.ue-row-title {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ue-ink);
}
.ue-row-sub {
  font-size: 15.5px;
  line-height: 1.4;
  color: var(--ue-muted);
}
.ue-row-meta {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--ue-muted);
  font-size: 15px;
  padding-inline-start: 44px;
}
.ue-row-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.ue-row-meta-item svg {
  color: #7a818b;
  flex: none;
}
.ue-row-meta-item [dir='ltr'] {
  color: var(--ue-ink-2);
  font-weight: 500;
}

.ue-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ue-muted-2);
  padding: 2px 4px 0;
}

/* impact pill */
.ue-impact {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 16px;
  border-radius: 11px;
  font-size: 15.5px;
  font-weight: 500;
}
.ue-impact--high {
  background: #fdeeee;
  color: var(--ue-down);
}
.ue-impact--medium {
  background: #fdf3e2;
  color: var(--ue-amber);
}
.ue-impact--low {
  background: var(--ue-soft);
  color: var(--ue-muted);
}
.ue-bars rect {
  fill: currentColor;
  opacity: 0.28;
}
.ue-bars rect.is-on {
  opacity: 1;
}

/* ─── Featured stage ─────────────────────────────────────────────────── */
.ue-stage {
  position: relative;
  padding: 22px;
  min-width: 0;
  display: flex;
}
.ue-featured {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.ue-featured-main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  grid-template-areas: 'details visual';
  gap: 22px;
  min-height: 0;
}
.ue-visual {
  grid-area: visual;
  position: relative;
  overflow: hidden;
  background: radial-gradient(90% 70% at 50% 44%, #ffffff 0%, #f6f7f9 62%, rgba(246, 247, 249, 0) 100%);
  -webkit-mask-image: linear-gradient(to right, #000 72%, transparent 100%), linear-gradient(to bottom, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, #000 72%, transparent 100%), linear-gradient(to bottom, #000 80%, transparent 100%);
  mask-composite: intersect;
  min-height: 520px;
  animation: ue-visual-in 620ms var(--ue-ease) both;
}
.ue-visual-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.ue-details {
  grid-area: details;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 20px 2px 4px 0;
  min-width: 0;
}
.ue-details > * {
  animation: ue-rise 520ms var(--ue-ease) both;
}
.ue-details > *:nth-child(2) { animation-delay: 50ms; }
.ue-details > *:nth-child(3) { animation-delay: 100ms; }
.ue-details > *:nth-child(4) { animation-delay: 150ms; }
.ue-details > *:nth-child(5) { animation-delay: 200ms; }
.ue-details > *:nth-child(6) { animation-delay: 250ms; }
.ue-details > *:nth-child(7) { animation-delay: 300ms; }

.ue-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 16.5px;
  font-weight: 700;
}
.ue-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}
.ue-badge--top {
  background: #f0f9e4;
  color: #2f6a0e;
}
.ue-badge--top .ue-badge-dot {
  background: var(--ue-zs);
  box-shadow: 0 0 0 3px rgba(163, 255, 18, 0.22), inset 0 0 0 1px rgba(80, 130, 10, 0.45);
  animation: ue-pulse 2.8s ease-in-out infinite;
}
.ue-badge--nearest {
  background: #f0f9e4;
  color: #2f6a0e;
}
.ue-badge--nearest .ue-badge-dot {
  background: var(--ue-zs);
  box-shadow: 0 0 0 3px rgba(163, 255, 18, 0.18), inset 0 0 0 1px rgba(80, 130, 10, 0.4);
}
.ue-badge--high {
  background: #fdeeee;
  color: var(--ue-down);
}
.ue-badge--high .ue-badge-dot {
  background: var(--ue-down);
}
.ue-badge--medium {
  background: #fdf3e2;
  color: var(--ue-amber);
}
.ue-badge--medium .ue-badge-dot {
  background: #d97706;
}
.ue-badge--low,
.ue-badge--monitor {
  background: var(--ue-soft);
  color: var(--ue-ink-2);
}
.ue-badge--low .ue-badge-dot,
.ue-badge--monitor .ue-badge-dot {
  background: #6b7280;
}
.ue-badge--monitor .ue-badge-dot {
  animation: ue-pulse 2.8s ease-in-out infinite;
}

.ue-featured-title {
  margin-top: 26px !important;
  font-size: 32px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ue-ink);
  text-wrap: balance;
}
.ue-featured-desc {
  margin-top: 14px !important;
  font-size: 17.5px;
  line-height: 1.85;
  color: #5b6370;
  max-width: 34em;
}

/* date + time */
.ue-when {
  margin-top: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--ue-line);
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: space-between;
  align-items: center;
  gap: 0 16px;
}
.ue-when-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.ue-when-icon {
  color: #4b5360;
  flex: none;
  margin-top: 2px;
}
.ue-when-item > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.ue-when-value {
  white-space: nowrap;
  font-size: 17.5px;
  font-weight: 500;
  color: var(--ue-ink);
  line-height: 1.3;
}
.ue-when-item [dir='ltr'].ue-when-value {
  align-self: flex-start;
  font-weight: 700;
}
.ue-when-label {
  white-space: nowrap;
  font-size: 14.5px;
  color: var(--ue-muted-2);
}
.ue-when-sep {
  width: 1px;
  height: 46px;
  background: var(--ue-line);
}

/* countdown */
.ue-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--ue-soft);
  border: 1px solid #eef0f3;
  border-radius: 16px;
  padding: 18px 6px;
}
.ue-cd-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}
.ue-cd-cell + .ue-cd-cell::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: #e1e4e8;
}
.ue-cd-num {
  display: block;
  height: 38px;
  overflow: hidden;
  font-size: 31px;
  line-height: 38px;
  font-weight: 700;
  color: var(--ue-ink);
  font-variant-numeric: tabular-nums;
}
.ue-cd-digit {
  display: block;
  animation: ue-digit 360ms var(--ue-ease) both;
}
.ue-cd-label {
  font-size: 15px;
  color: var(--ue-muted);
}
.ue-countdown--state {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ue-ink-2);
}
.ue-cd-state-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9aa1ab;
  flex: none;
}
.ue-cd-state-dot--live {
  background: var(--ue-down);
  animation: ue-pulse 1.6s ease-in-out infinite;
}

/* previous / forecast / actual */
.ue-values {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--ue-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ue-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
}
.ue-value + .ue-value::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: var(--ue-line);
}
.ue-value dt {
  font-size: 16px;
  color: var(--ue-muted);
}
.ue-value dd {
  font-size: 25px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--ue-ink);
  font-variant-numeric: tabular-nums;
}
.ue-value dd.is-down {
  color: var(--ue-down);
}
.ue-value dd.is-up {
  color: var(--ue-up);
}
.ue-dash {
  color: #9aa1ab;
}

/* sensitive assets */
.ue-assets {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  background: #f6f7f9;
  border-radius: 18px;
  animation: ue-rise 520ms var(--ue-ease) both;
  animation-delay: 240ms;
}
.ue-assets-title {
  font-size: 19px;
  font-weight: 500;
  color: var(--ue-ink-2);
  white-space: nowrap;
}
.ue-assets-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
  flex: 1;
}
.ue-asset {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 0 22px;
  background: #fff;
  border: 1px solid var(--ue-line-2);
  border-radius: 999px;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ue-ink);
  transition:
    transform 200ms var(--ue-ease),
    border-color 200ms var(--ue-ease),
    box-shadow 200ms var(--ue-ease);
  animation: ue-rise 460ms var(--ue-ease) both;
  animation-delay: calc(300ms + var(--i, 0) * 60ms);
}
.ue-asset:hover {
  transform: translateY(-2px);
  border-color: #cfd3d9;
  box-shadow: 0 8px 18px -14px rgba(16, 24, 40, 0.3);
}
.ue-pair {
  display: inline-flex;
}
.ue-pair .ue-cdot + .ue-cdot {
  margin-inline-start: -6px;
}
.ue-cdot {
  display: block;
  border-radius: 50%;
  background: #fff;
}
.ue-cdot--code,
.ue-flag--code {
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  background: var(--ue-soft);
  border: 1px solid var(--ue-line-2);
  font-size: 10px;
  font-weight: 700;
  color: var(--ue-muted);
}
.ue-flag {
  display: block;
  border-radius: 3px;
}

/* monitoring panel */
.ue-next {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--ue-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ue-next-label {
  font-size: 14.5px;
  color: var(--ue-muted-2);
}
.ue-next-title {
  font-size: 20px;
  font-weight: 700;
}
.ue-next-when {
  font-size: 15.5px;
  color: var(--ue-muted);
  margin-bottom: 10px;
}
.ue-featured--monitor .ue-cal-btn--inline {
  margin-top: 22px;
}

/* empty / unavailable — compact, never a giant blank panel */
.ue-panel--empty {
  display: block;
}
.ue-empty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  grid-template-areas: 'copy visual';
  align-items: center;
  gap: 28px;
  padding: 26px 32px;
  min-height: 0;
}
.ue-empty-visual {
  grid-area: visual;
  position: relative;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 40%, #fff 0%, #f5f6f8 100%);
}
.ue-empty-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
}
.ue-empty-copy .ue-featured-title {
  margin-top: 0 !important;
  font-size: 26px;
}
.ue-empty-copy .ue-cal-btn--inline {
  margin-top: 18px;
}

/* ─── Visual motion ──────────────────────────────────────────────────── */
.ue-orbit {
  animation: ue-orbit 160s linear infinite;
}
.ue-node {
  animation: ue-node 5.2s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.7s);
}
.ue-ring {
  transform-origin: 240px 258px;
  animation: ue-ring 4.8s ease-out infinite;
  animation-delay: calc(var(--i, 0) * 1.6s);
}
.ue-medallion {
  animation: ue-medal 900ms var(--ue-ease) both;
  animation-delay: 120ms;
}

/* entry (armed by IntersectionObserver; hidden only when JS runs) */
.ue-js .ue-section:not(.is-in) .ue-head,
.ue-js .ue-section:not(.is-in) .ue-panel {
  opacity: 0;
  transform: translateY(14px);
}
.ue-section .ue-head,
.ue-section .ue-panel {
  transition:
    opacity 640ms var(--ue-ease),
    transform 640ms var(--ue-ease);
}
.ue-section .ue-panel {
  transition-delay: 90ms;
}
.ue-js .ue-section:not(.is-in) .ue-row-wrap {
  opacity: 0;
}
.ue-section.is-in .ue-row-wrap {
  animation: ue-rise 520ms var(--ue-ease) both;
  animation-delay: calc(220ms + var(--i, 0) * 90ms);
}

@keyframes ue-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes ue-visual-in {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: none; }
}
@keyframes ue-digit {
  from { opacity: 0; transform: translateY(-45%); }
  to { opacity: 1; transform: none; }
}
@keyframes ue-orbit {
  to { transform: rotate(360deg); }
}
@keyframes ue-node {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
@keyframes ue-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
@keyframes ue-ring {
  0% { opacity: 0; transform: scale(0.9); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.22); }
}
@keyframes ue-medal {
  from { opacity: 0; transform: translate(240px, 266px) scale(0.94); }
  to { opacity: 1; transform: translate(240px, 258px); }
}
@keyframes ue-returned {
  0% { background-color: #f6fbee; border-color: #cfe9a9; }
  100% { background-color: #fff; border-color: var(--ue-line); }
}

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (min-width: 1800px) {
  .ue-title { font-size: 46px; }
  .ue-visual { min-height: 560px; }
}
@media (max-width: 1500px) {
  .ue-title { font-size: 40px; }
  .ue-subtitle { font-size: 18px; }
  .ue-featured-title { font-size: 25px; margin-top: 22px !important; }
  .ue-featured-desc { font-size: 16px; }
  .ue-visual { min-height: 470px; }
  .ue-row { padding: 18px 18px 16px; min-height: 118px; }
  .ue-row-title { font-size: 17px; }
  .ue-row-sub { font-size: 14.5px; }
  .ue-row-meta { font-size: 14px; gap: 18px; padding-inline-start: 44px; }
  .ue-impact { height: 34px; padding: 0 12px; font-size: 14.5px; }
  .ue-cd-num { font-size: 27px; height: 34px; line-height: 34px; }
  .ue-value dd { font-size: 22px; }
  .ue-when-value { font-size: 15.5px; }
  .ue-when-label { font-size: 13px; }
  .ue-when-icon { width: 24px; height: 24px; }
  .ue-assets { padding: 16px 20px; }
  .ue-assets-title { font-size: 17px; }
  .ue-asset { height: 44px; padding: 0 16px; font-size: 15px; gap: 10px; }
  .ue-side, .ue-list { gap: 14px; }
}
@media (max-width: 1320px) {
  .ue-panel { grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); }
  .ue-featured-main { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; }
  .ue-row-meta { padding-inline-start: 0; }
  .ue-assets-list { gap: 10px; }
}
/* Tablet: feature first, list below */
@media (max-width: 1180px) {
  .ue-container { padding: 0 32px; }
  .ue-panel { display: flex; flex-direction: column-reverse; }
  .ue-side { border-inline-end: 0; border-top: 1px solid var(--ue-line); }
  .ue-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ue-featured-main { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .ue-visual { min-height: 440px; }
}
@media (max-width: 900px) {
  .ue-featured-main { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'visual' 'details'; }
  .ue-visual { min-height: 0; height: 300px; }
  .ue-details { padding: 4px 0 0; }
  .ue-featured-title { margin-top: 16px !important; }
}
/* Mobile */
@media (max-width: 760px) {
  .ue-section { padding: 40px 0; }
  .ue-container { padding: 0 16px; }
  .ue-head { flex-direction: column; gap: 16px; }
  .ue-title { font-size: 30px; }
  .ue-subtitle { font-size: 15.5px; margin-top: 6px !important; }
  .ue-cal-btn--head { margin-top: 0; height: 46px; font-size: 16px; min-width: 0; }
  .ue-panel { margin-top: 20px; border-radius: 20px; }
  .ue-stage { padding: 14px; }
  .ue-visual { height: 230px; border-radius: 14px; }
  .ue-badge { height: 34px; font-size: 14.5px; padding: 0 14px; }
  .ue-featured-title { font-size: 23px; margin-top: 14px !important; }
  .ue-featured-desc { font-size: 15px; line-height: 1.8; margin-top: 8px !important; }
  .ue-when { margin-top: 16px; padding: 16px 0; gap: 0 12px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .ue-when-value, .ue-when-label { white-space: normal; }
  .ue-when-item { gap: 8px; }
  .ue-when-icon { width: 22px; height: 22px; }
  .ue-when-value { font-size: 14.5px; }
  .ue-when-label { font-size: 12.5px; }
  .ue-when-sep { height: 38px; }
  .ue-countdown { padding: 14px 2px; border-radius: 14px; }
  .ue-cd-num { font-size: 24px; height: 30px; line-height: 30px; }
  .ue-cd-label { font-size: 13px; }
  .ue-values { margin-top: 16px; padding-top: 16px; }
  .ue-value dt { font-size: 14px; }
  .ue-value dd { font-size: 19px; }
  .ue-assets { flex-direction: column; align-items: flex-start; padding: 16px; gap: 12px; border-radius: 14px; }
  .ue-assets-title { font-size: 15.5px; }
  .ue-assets-list { justify-content: flex-start; gap: 8px; }
  .ue-asset { height: 38px; padding: 0 12px; font-size: 14px; gap: 8px; }
  .ue-side { padding: 14px; gap: 12px; }
  .ue-list { display: flex; gap: 10px; }
  .ue-row { min-height: 0; padding: 14px 14px 12px; gap: 12px; border-radius: 14px; }
  .ue-row-top { gap: 6px 10px; display: grid; grid-template-columns: auto minmax(0, 1fr); }
  .ue-row-top .ue-impact { grid-column: 2; justify-self: start; }
  .ue-row-title { font-size: 15.5px; }
  .ue-row-sub { font-size: 13px; }
  .ue-row-titles { gap: 4px; }
  .ue-impact { height: 30px; padding: 0 10px; font-size: 13px; gap: 6px; border-radius: 9px; }
  .ue-row-meta { font-size: 13px; gap: 16px; padding-inline-start: 40px; flex-wrap: wrap; }
  .ue-hint { font-size: 12.5px; }
  .ue-empty { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'visual' 'copy'; padding: 16px; }
  .ue-empty-visual { height: 160px; }
  .ue-empty-copy .ue-featured-title { font-size: 21px; }
  /* lighter motion on mobile */
  .ue-orbit { animation-duration: 240s; }
}
@media (max-width: 400px) {
  .ue-row-meta { padding-inline-start: 0; }
  .ue-cd-num { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .ue-section *,
  .ue-section *::before,
  .ue-section *::after {
    animation: none !important;
    transition: none !important;
  }
  .ue-js .ue-section .ue-head,
  .ue-js .ue-section .ue-panel,
  .ue-js .ue-section .ue-row-wrap {
    opacity: 1 !important;
    transform: none !important;
  }
  .ue-medallion {
    transform: translate(240px, 258px);
  }
  .ue-ring {
    display: none;
  }
}

