:root {
  --ec-premium-bg: #05080d;
  --ec-premium-surface: rgba(11, 16, 24, 0.82);
  --ec-premium-surface-strong: rgba(14, 20, 30, 0.94);
  --ec-premium-surface-soft: rgba(255, 255, 255, 0.025);
  --ec-premium-line: rgba(148, 163, 184, 0.14);
  --ec-premium-line-strong: rgba(244, 190, 24, 0.26);
  --ec-premium-gold: #f4be18;
  --ec-premium-gold-2: #ffd94a;
  --ec-premium-text: #f7f9fc;
  --ec-premium-muted: #8c99a8;
  --ec-premium-green: #37d67a;
  --ec-premium-red: #ff5f6d;
  --ec-premium-orange: #ffad42;
  --ec-premium-blue: #58a6ff;
  --ec-premium-radius-xl: 24px;
  --ec-premium-radius-lg: 18px;
  --ec-premium-radius-md: 13px;
  --ec-premium-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

html {
  background: var(--ec-premium-bg);
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% -8%, rgba(244, 190, 24, 0.14), transparent 31rem),
    radial-gradient(circle at 88% 5%, rgba(45, 96, 145, 0.12), transparent 32rem),
    linear-gradient(180deg, #070b11 0%, #05080d 42%, #05080d 100%);
  color: var(--ec-premium-text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

.ec-topbar {
  min-height: 66px;
  padding: 10px clamp(14px, 3vw, 42px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.10);
  background: rgba(5, 8, 13, 0.84);
  box-shadow: none;
  backdrop-filter: blur(20px) saturate(130%);
}

.ec-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ec-premium-text);
  font-size: 14px;
  letter-spacing: .105em;
  text-shadow: none;
}

.ec-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 7px 16px rgba(244, 190, 24, .18));
}

.ec-brand-copy {
  display: grid;
  gap: 1px;
}

.ec-brand-copy b {
  font-size: 13px;
  line-height: 1;
}

.ec-brand-copy small {
  color: #7e8a98;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
}

.ec-nav {
  align-items: center;
  gap: 5px;
}

.ec-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 11px;
  color: #8793a2;
  font-size: 12px;
  font-weight: 700;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.ec-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .04);
  transform: translateY(-1px);
}

.ec-nav a[aria-current="page"] {
  color: #f7e4a0;
  background: rgba(244, 190, 24, .08);
}

.ec-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  margin-left: 5px;
  padding: 0 10px;
  border: 1px solid rgba(55, 214, 122, .18);
  border-radius: 999px;
  color: #8be9af;
  background: rgba(55, 214, 122, .055);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.ec-live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ec-premium-green);
  box-shadow: 0 0 0 4px rgba(55, 214, 122, .09), 0 0 14px rgba(55, 214, 122, .45);
  animation: ecLiveDot 1.8s ease-in-out infinite;
}

.ec-page {
  width: min(1460px, calc(100% - 34px));
  max-width: none;
  margin: 0 auto;
  padding: 26px 0 42px;
}

.ec-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  min-height: 330px;
  margin-bottom: 18px;
  padding: clamp(26px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: var(--ec-premium-radius-xl);
  background:
    linear-gradient(135deg, rgba(244, 190, 24, .075), transparent 34%),
    linear-gradient(145deg, rgba(13, 19, 29, .96), rgba(7, 11, 17, .96));
  box-shadow: var(--ec-premium-shadow), inset 0 1px rgba(255,255,255,.035);
}

.ec-hero::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  top: -270px;
  right: 4%;
  border: 1px solid rgba(244, 190, 24, .11);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(244, 190, 24, .018), 0 0 0 108px rgba(244, 190, 24, .012);
}

.ec-hero-copy,
.ec-hero-visual {
  position: relative;
  z-index: 1;
}

.ec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  color: #d6a91f;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.ec-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--ec-premium-gold), transparent);
}

.ec-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: .97;
  letter-spacing: -.055em;
  font-weight: 830;
}

.ec-hero h1 span {
  color: #f1c642;
}

.ec-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: #9aa6b5;
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.65;
}

.ec-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ec-premium-btn,
.ec-alert-config select {
  min-height: 44px;
  border-radius: 12px;
  font: inherit;
}

.ec-premium-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid rgba(148, 163, 184, .16);
  color: #dbe3ec;
  background: rgba(255,255,255,.035);
  font-size: 12px;
  font-weight: 780;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.ec-premium-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ec-premium-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 190, 24, .30);
  background: rgba(244, 190, 24, .055);
}

.ec-premium-btn.is-primary {
  color: #161207;
  border-color: #d9a800;
  background: linear-gradient(180deg, #ffdc55, #eeb711);
  box-shadow: 0 10px 28px rgba(244, 190, 24, .16), inset 0 1px rgba(255,255,255,.45);
}

.ec-premium-btn.is-primary:hover {
  background: linear-gradient(180deg, #ffe574, #f5bf18);
  box-shadow: 0 14px 34px rgba(244, 190, 24, .22);
}

.ec-premium-btn.is-on {
  color: #a8f3c3;
  border-color: rgba(55, 214, 122, .27);
  background: rgba(55, 214, 122, .08);
}

.ec-alert-config {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 5px 4px 12px;
  border: 1px solid rgba(148, 163, 184, .13);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
  color: #83909f;
  font-size: 11px;
}

.ec-alert-config select {
  min-height: 34px;
  padding: 0 28px 0 10px;
  border: 0;
  outline: 0;
  color: #f2d77b;
  background: #111720;
  font-size: 11px;
  font-weight: 750;
}

.ec-hero-visual {
  min-height: 236px;
  display: grid;
  place-items: center;
}

.ec-orbit-wrap {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(330px, 90%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: .84;
}

.ec-orbit-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 18px rgba(244, 190, 24, .06));
}

.ec-orbit-svg .orbit-a {
  fill: none;
  stroke: rgba(244, 190, 24, .20);
  stroke-width: 1;
  stroke-dasharray: 3 9;
  transform-origin: center;
  animation: ecOrbit 18s linear infinite;
}

.ec-orbit-svg .orbit-b {
  fill: none;
  stroke: rgba(88, 166, 255, .12);
  stroke-width: 1;
  stroke-dasharray: 8 11;
  transform-origin: center;
  animation: ecOrbitReverse 24s linear infinite;
}

.ec-orbit-svg .pulse {
  fill: rgba(244,190,24,.09);
  stroke: rgba(244,190,24,.48);
  transform-origin: center;
  animation: ecPulseRing 2.6s ease-out infinite;
}

.ec-next-card {
  position: relative;
  width: min(390px, 100%);
  padding: 20px;
  border: 1px solid rgba(244, 190, 24, .18);
  border-radius: 20px;
  background: rgba(7, 11, 17, .78);
  box-shadow: 0 28px 60px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.04);
  backdrop-filter: blur(15px);
}

.ec-next-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ec-next-head span:first-child {
  color: #8895a4;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.ec-next-impact {
  padding: 5px 8px;
  border: 1px solid rgba(255, 173, 66, .22);
  border-radius: 999px;
  color: #ffc978;
  background: rgba(255, 173, 66, .065);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ec-next-countdown {
  margin-top: 12px;
  color: #f5c83c;
  font-variant-numeric: tabular-nums;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 820;
  letter-spacing: -.04em;
}

.ec-next-title {
  margin-top: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.35;
}

.ec-next-meta {
  display: flex;
  gap: 8px;
  margin-top: 9px;
  color: #7f8c9a;
  font-size: 11px;
}

.ec-next-meta strong {
  color: #cdd5df;
}

.ec-macro-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.ec-macro-stat {
  position: relative;
  min-height: 96px;
  padding: 16px 17px;
  overflow: hidden;
  border: 1px solid var(--ec-premium-line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15,21,31,.88), rgba(9,14,21,.88));
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}

.ec-macro-stat::after {
  content: "";
  position: absolute;
  width: 62px;
  height: 62px;
  right: -28px;
  bottom: -31px;
  border: 1px solid rgba(244,190,24,.07);
  border-radius: 50%;
}

.ec-macro-stat span {
  display: block;
  color: #758291;
  font-size: 9px;
  font-weight: 820;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ec-macro-stat b {
  display: block;
  margin-top: 10px;
  color: #f5f7fa;
  font-size: 22px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ec-macro-stat small {
  display: block;
  margin-top: 7px;
  color: #667382;
  font-size: 10px;
}

.ec-filters {
  position: relative;
  margin-top: 0;
  padding: 0;
  border: 1px solid var(--ec-premium-line);
  border-radius: var(--ec-premium-radius-lg);
  background: rgba(9, 14, 21, .88);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .22), inset 0 1px rgba(255,255,255,.025);
  overflow: hidden;
}

.ec-filter-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 15px;
  border-bottom: 1px solid rgba(148,163,184,.10);
  background: rgba(255,255,255,.012);
}

.ec-filter-command-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ec-filter-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(244,190,24,.18);
  border-radius: 11px;
  color: #eac13c;
  background: rgba(244,190,24,.055);
}

.ec-filter-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ec-filter-command-copy b {
  display: block;
  color: #e9eef5;
  font-size: 12px;
}

.ec-filter-command-copy span {
  display: block;
  margin-top: 2px;
  color: #6f7c8c;
  font-size: 10px;
}

.ec-filter-command-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.ec-quick-filter,
.ec-reset-filter {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(148,163,184,.12);
  border-radius: 10px;
  color: #8794a3;
  background: rgba(255,255,255,.018);
  font: inherit;
  font-size: 10px;
  font-weight: 780;
  cursor: pointer;
  transition: .18s ease;
}

.ec-quick-filter:hover,
.ec-quick-filter.is-active {
  color: #f4d676;
  border-color: rgba(244,190,24,.24);
  background: rgba(244,190,24,.06);
}

.ec-reset-filter:hover {
  color: #fff;
  border-color: rgba(255,255,255,.20);
}

.ec-toggle-filters {
  width: calc(100% - 28px);
  min-height: 42px;
  margin: 12px 14px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 11px;
  color: #d4dde7;
  background: rgba(255,255,255,.025);
  font-size: 11px;
  font-weight: 770;
  text-align: left;
  transition: .18s ease;
}

.ec-toggle-filters::after {
  content: "▾";
  float: right;
  color: #cda92e;
  transition: transform .18s ease;
}

.ec-toggle-filters[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.ec-toggle-filters:hover {
  color: #fff;
  background: rgba(255,255,255,.04);
}

.ec-filters-panel {
  margin: 0;
  padding: 0 14px 14px;
}

.ec-filters-panel.is-open {
  display: block;
  animation: ecFilterReveal .22s ease both;
}

.ec-filter-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.ec-field {
  gap: 7px;
  padding: 11px;
  border: 1px solid rgba(148,163,184,.09);
  border-radius: 13px;
  background: rgba(255,255,255,.015);
}

.ec-field label {
  color: #748191;
  font-size: 9px;
  font-weight: 780;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ec-field input,
.ec-field select,
.ec-field button,
.ec-field .ec-chipgroup,
.ec-multi {
  min-height: 40px;
  border-color: rgba(148,163,184,.13);
  border-radius: 10px;
  background: #0d131c;
  color: #e7edf4;
}

.ec-field input,
.ec-field select {
  padding: 0 11px;
  font-size: 11px;
}

.ec-field input::placeholder {
  color: #52606f;
}

.ec-field input:focus,
.ec-field select:focus {
  border-color: rgba(244,190,24,.44);
  box-shadow: 0 0 0 3px rgba(244,190,24,.07);
}

.ec-chipgroup {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 8px 10px !important;
}

.ec-chipgroup label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #9aa6b4;
  font-size: 9px;
  letter-spacing: 0;
  text-transform: none;
}

.ec-chipgroup input {
  min-height: auto;
  accent-color: var(--ec-premium-gold);
}

.ec-multi {
  max-height: 102px;
  padding: 7px;
  gap: 5px;
}

.ec-pill {
  min-height: 29px !important;
  padding: 0 9px !important;
  border-color: rgba(148,163,184,.12) !important;
  color: #8995a4;
  background: rgba(255,255,255,.018) !important;
  font-size: 10px !important;
  font-weight: 760;
}

.ec-pill:hover {
  color: #e9eef5;
  border-color: rgba(244,190,24,.20) !important;
}

.ec-pill.active {
  color: #171206 !important;
  border-color: #d8a50d !important;
  background: linear-gradient(180deg, #f8d55a, #eeb714) !important;
  box-shadow: 0 8px 18px rgba(244,190,24,.10);
}

.ec-content {
  margin-top: 14px;
}

.ec-status {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin: 0 0 8px;
  padding: 0 12px;
  border: 1px solid rgba(148,163,184,.08);
  border-radius: 11px;
  color: #778493;
  background: rgba(255,255,255,.012);
  font-size: 10px;
}

.ec-status::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #6a7785;
  box-shadow: 0 0 0 4px rgba(106,119,133,.07);
}

.ec-list {
  margin-top: 0;
}

.ec-day {
  margin-bottom: 11px;
  border-color: rgba(148,163,184,.11);
  border-radius: 16px;
  background: rgba(9,14,21,.86);
  box-shadow: 0 14px 34px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.02);
}

.ec-day-header {
  position: sticky;
  top: 66px;
  z-index: 8;
  display: flex;
  align-items: center;
  min-height: 43px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(148,163,184,.09);
  color: #b7c2ce;
  background: rgba(10,15,23,.94);
  box-shadow: none;
  backdrop-filter: blur(14px);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ec-row {
  position: relative;
  grid-template-columns: 84px 74px 82px minmax(220px, 1fr) 112px 92px 92px 92px 92px;
  min-height: 64px;
  padding: 9px 12px;
  border-bottom-color: rgba(148,163,184,.075);
  background: transparent;
  transition: transform .16s ease, background .18s ease, border-color .18s ease;
  animation: ecRowIn .28s ease both;
}

.ec-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  bottom: 13px;
  width: 2px;
  border-radius: 999px;
  background: transparent;
  transition: .18s ease;
}

.ec-row:hover {
  transform: translateX(2px);
  background: rgba(255,255,255,.022);
}

.ec-row:hover::before {
  background: rgba(244,190,24,.45);
}

.ec-row.is-high-impact::before {
  background: rgba(255,173,66,.52);
}

.ec-row.is-watched {
  background: linear-gradient(90deg, rgba(244,190,24,.045), transparent 28%);
}

.ec-row.is-live-window {
  background: linear-gradient(90deg, rgba(255,95,109,.065), transparent 34%);
}

.ec-row.is-live-window::before {
  background: var(--ec-premium-red);
  box-shadow: 0 0 12px rgba(255,95,109,.45);
  animation: ecLiveBar 1.4s ease-in-out infinite;
}

.ec-cell {
  color: #d4dce5;
  font-size: 11px;
}

.ec-title {
  color: #f2f5f8;
  font-size: 12px;
  font-weight: 720;
}

.ec-time-main {
  color: #edf2f7;
  font-size: 12px;
}

.ec-time-sub {
  color: #697686;
  font-size: 9px;
}

.ec-cell-country,
.ec-cell-currency {
  color: #8d99a7;
}

.ec-badge {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  min-height: 23px;
  padding: 0 7px;
  border: 1px solid transparent;
  color: #fff;
  background: rgba(255,255,255,.05);
  font-size: 9px;
}

.ec-badge-1 {
  color: #a8b2be;
  border-color: rgba(148,163,184,.14);
  background: rgba(148,163,184,.06);
}

.ec-badge-2 {
  color: #f4d67b;
  border-color: rgba(244,190,24,.20);
  background: rgba(244,190,24,.07);
}

.ec-badge-3 {
  color: #ffc780;
  border-color: rgba(255,173,66,.25);
  background: rgba(255,173,66,.075);
  box-shadow: 0 0 16px rgba(255,173,66,.05);
}

.ec-cell-share {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.ec-share-btn,
.ec-row-alert {
  min-height: 31px;
  border: 1px solid rgba(148,163,184,.12);
  border-radius: 9px;
  color: #8996a5;
  background: rgba(255,255,255,.02);
  font-size: 9px;
  font-weight: 760;
  transition: .18s ease;
}

.ec-share-btn {
  padding: 0 8px;
}

.ec-row-alert {
  display: inline-grid;
  place-items: center;
  width: 31px;
  padding: 0;
  cursor: pointer;
}

.ec-row-alert svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ec-share-btn:hover,
.ec-row-alert:hover {
  color: #f3d77c;
  border-color: rgba(244,190,24,.22);
  background: rgba(244,190,24,.055);
}

.ec-row-alert.is-active {
  color: #191407;
  border-color: #d7a711;
  background: linear-gradient(180deg, #f9d65a, #e9b210);
}

.ec-cell-actual-good {
  color: #5ee292;
}

.ec-cell-actual-bad {
  color: #ff7884;
}

.ec-drawer {
  right: -520px;
  width: min(500px, 94vw);
  border-left: 1px solid rgba(244,190,24,.14);
  background: rgba(7, 11, 17, .96);
  box-shadow: -30px 0 80px rgba(0,0,0,.48);
  backdrop-filter: blur(22px) saturate(125%);
  transition: right .32s cubic-bezier(.2,.8,.2,1);
}

.ec-drawer.open {
  right: 0;
}

.ec-drawer-close {
  min-height: 56px;
  border-bottom-color: rgba(148,163,184,.10);
  color: #aab5c2;
  background: rgba(255,255,255,.018);
  font-size: 11px;
  font-weight: 760;
  cursor: pointer;
}

.ec-drawer-content {
  padding: 22px;
  color: #8d99a7;
  line-height: 1.6;
}

.ec-drawer-content h3 {
  margin: 0 0 18px;
  color: #f6f8fa;
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: -.02em;
}

.ec-drawer-content p {
  margin: 8px 0;
  padding: 10px 11px;
  border: 1px solid rgba(148,163,184,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.014);
  font-size: 11px;
}

.ec-drawer-content strong {
  color: #d9e0e8;
}

.ec-drawer-content a {
  color: #e9c850;
}

.ec-history {
  margin-top: 14px;
  border-color: rgba(244,190,24,.14);
  border-radius: 14px;
  background: rgba(244,190,24,.025);
}

.ec-history-chart {
  border-color: rgba(244,190,24,.10);
  background: linear-gradient(180deg, rgba(244,190,24,.055), rgba(244,190,24,.005));
}

.ec-history-line,
.ec-history-dot {
  stroke: #e8bf37;
}

.ec-alert-toast-region {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: grid;
  width: min(390px, calc(100vw - 28px));
  gap: 8px;
  pointer-events: none;
}

.ec-alert-toast {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(244,190,24,.20);
  border-radius: 14px;
  color: #dce3eb;
  background: rgba(11,16,24,.95);
  box-shadow: 0 18px 50px rgba(0,0,0,.42);
  backdrop-filter: blur(18px);
  animation: ecToastIn .26s ease both;
}

.ec-alert-toast__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #e9c442;
  background: rgba(244,190,24,.08);
}

.ec-alert-toast__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ec-alert-toast b {
  display: block;
  font-size: 11px;
}

.ec-alert-toast span {
  display: block;
  margin-top: 3px;
  color: #7f8c9b;
  font-size: 10px;
  line-height: 1.4;
}

.ec-empty,
.ec-error {
  border-color: rgba(148,163,184,.10);
  border-radius: 14px;
  background: rgba(9,14,21,.86);
}

.external-site-footer {
  border-top-color: rgba(148,163,184,.10) !important;
  background: #05080d !important;
}

@keyframes ecLiveDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .58; transform: scale(.78); }
}

@keyframes ecOrbit {
  to { transform: rotate(360deg); }
}

@keyframes ecOrbitReverse {
  to { transform: rotate(-360deg); }
}

@keyframes ecPulseRing {
  0% { transform: scale(.78); opacity: .85; }
  75%, 100% { transform: scale(1.18); opacity: 0; }
}

@keyframes ecFilterReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ecRowIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ecLiveBar {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

@keyframes ecToastIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1120px) {
  .ec-hero {
    grid-template-columns: 1fr;
  }

  .ec-hero-visual {
    min-height: 210px;
  }

  .ec-macro-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ec-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ec-row {
    grid-template-columns: 76px 68px 76px minmax(180px, 1fr) 102px 84px 84px 84px 82px;
  }
}

@media (max-width: 760px) {
  .ec-topbar {
    min-height: 58px;
    padding: 8px 11px;
  }

  .ec-brand img {
    width: 30px;
    height: 30px;
  }

  .ec-brand-copy small,
  .ec-nav a:not([aria-current="page"]),
  .ec-live-pill span {
    display: none;
  }

  .ec-nav a {
    min-height: 34px;
    padding: 0 9px;
    font-size: 10px;
  }

  .ec-live-pill {
    min-height: 30px;
    width: 30px;
    justify-content: center;
    padding: 0;
  }

  .ec-page {
    width: min(100% - 18px, 1460px);
    padding: 12px 0 30px;
  }

  .ec-hero {
    min-height: 0;
    gap: 22px;
    padding: 22px 16px 17px;
    border-radius: 18px;
  }

  .ec-eyebrow {
    margin-bottom: 10px;
    font-size: 8px;
  }

  .ec-hero h1 {
    font-size: clamp(32px, 11vw, 48px);
  }

  .ec-hero p {
    margin-top: 13px;
    font-size: 12px;
    line-height: 1.55;
  }

  .ec-hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 18px;
  }

  .ec-premium-btn,
  .ec-alert-config {
    min-height: 42px;
  }

  .ec-alert-config {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .ec-next-card {
    padding: 16px;
  }

  .ec-next-countdown {
    font-size: 36px;
  }

  .ec-macro-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .ec-macro-stat {
    min-height: 84px;
    padding: 13px;
  }

  .ec-macro-stat b {
    font-size: 19px;
  }

  .ec-filter-command {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .ec-filter-command-actions {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .ec-filter-command-actions::-webkit-scrollbar {
    display: none;
  }

  .ec-quick-filter,
  .ec-reset-filter {
    flex: 0 0 auto;
  }

  .ec-toggle-filters {
    width: calc(100% - 20px);
    margin: 10px;
  }

  .ec-filters-panel {
    padding: 0 10px 10px;
  }

  .ec-filter-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .ec-field {
    padding: 9px;
  }

  .ec-day {
    border-radius: 14px;
  }

  .ec-day-header {
    top: 58px;
    min-height: 39px;
    font-size: 9px;
  }

  .ec-row {
    grid-template-columns: 58px 62px minmax(0, 1fr) 70px !important;
    min-height: 68px;
    gap: 7px;
    padding: 9px 9px !important;
  }

  .ec-cell {
    font-size: 11px;
  }

  .ec-cell-time {
    display: block !important;
  }

  .ec-cell-country,
  .ec-cell-forecast,
  .ec-cell-previous,
  .ec-cell-share .ec-share-btn {
    display: none !important;
  }

  .ec-cell-currency {
    display: block !important;
  }

  .ec-cell-importance {
    display: flex !important;
    justify-content: flex-end;
  }

  .ec-cell-share {
    position: absolute;
    right: 7px;
    bottom: 5px;
    display: flex !important;
  }

  .ec-row-alert {
    width: 27px;
    min-height: 27px;
  }

  .ec-title {
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.28;
  }

  .ec-time-sub {
    max-width: 56px;
    white-space: normal;
    line-height: 1.15;
  }

  .ec-drawer-content {
    padding: 17px 14px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ec-orbit-svg .orbit-a,
  .ec-orbit-svg .orbit-b,
  .ec-orbit-svg .pulse,
  .ec-live-pill i,
  .ec-row,
  .ec-row.is-live-window::before,
  .ec-alert-toast,
  .ec-filters-panel.is-open {
    animation: none !important;
  }

  .ec-premium-btn,
  .ec-nav a,
  .ec-row,
  .ec-drawer {
    transition: none !important;
  }
}
