/* Local presentation behavior; the original styles remain in assets/. */
[hidden] { display: none !important; }
/* Keep the shared notice compact at every desktop breakpoint. */
body .styles-module-scss-module__WtBwuG__warnings { padding: 0 16px; bottom: 16px; pointer-events: none; }
#local-warnings { box-sizing: border-box; width: 100%; max-width: 882px; margin: 0 auto; padding: 12px 24px; border-radius: 16px; pointer-events: auto; }
#local-cookies { width: 100%; }
#local-cookies [class*="__inner"] { display: flex; align-items: center; justify-content: center; gap: 12px; }
#local-cookies p { margin: 0; font-family: inherit; font-size: 14px; font-weight: 400; line-height: 20px; }
#local-accept { border: 0; font-family: inherit; font-size: 14px; line-height: 20px; min-height: 32px; padding: 6px 16px; margin: 0; cursor: pointer; flex-shrink: 0; }
#local-risk { width: 100%; }
#local-risk p { margin: 0; padding-right: 26px; font-size: 12px; line-height: 18px; text-align: center; }
#local-risk [class*="__title"], #local-risk [class*="__content"] { font-size: 12px; line-height: 18px; }
#local-risk [class*="__title"] { padding-right: 0; }
#local-close-risk { border: 0; background: none; padding: 0; width: 20px; height: 20px; cursor: pointer; color: #333; }
#local-close-risk svg { width: 18px; height: 18px; }
#local-cookies:not(:last-child) { padding-bottom: 10px; }
#local-risk:not(:first-child) { padding-top: 10px; }
@media (max-width: 767px) {
  body .styles-module-scss-module__WtBwuG__warnings { bottom: 10px; padding: 0 12px; }
  #local-warnings { max-width: calc(100% - 52px); margin-left: 0; padding: 10px 12px; border-radius: 12px; }
  #local-cookies [class*="__inner"] { gap: 8px; }
  #local-cookies p { font-size: 12px; line-height: 16px; }
  #local-risk p { text-align: left; }
}
[role="menu"] { max-height: calc(100vh - 100px); overflow-y: auto; }
[role="menu"] > div { opacity: 1; transform: none; }
/* Use Swiper's current slide directly so loop reordering cannot leave stale highlights. */
.PromoSlider-module-scss-module__fOtFla__container .swiper-slide .PromoCard-module-scss-module__PM-5gq__promoCard { opacity: .4; }
.PromoSlider-module-scss-module__fOtFla__container .swiper-slide-active .PromoCard-module-scss-module__PM-5gq__promoCard { opacity: 1; }
.local-menu-open { overflow: hidden; }
.local-mobile-menu { position: fixed; z-index: 1005; inset: var(--height-header) 0 0; background: #0a0a0a; color: white; padding: 20px 24px 40px; overflow-y: auto; }
.local-mobile-close { display: block; margin-left: auto; font-size: 32px; width: 40px; height: 40px; background: none; color: white; border: 0; cursor: pointer; }
.local-mobile-menu details { border-bottom: 1px solid #303030; }
.local-mobile-menu summary { padding: 18px 0; font-size: 20px; font-weight: 600; cursor: pointer; }
.local-mobile-menu details a { display: block; padding: 12px 8px; color: white; text-decoration: none; }
.local-mobile-menu details h3 { font-size: 16px; }
.local-mobile-menu details a > div > div { color: #999; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }

/* Live ticker additions. The original card geometry and responsive layout stay intact. */
[data-market-section] { position: relative; }
.market-status { position: absolute; bottom: 9px; left: 16px; right: 16px; text-align: center; font-size: 11px; line-height: 16px; color: #909296; letter-spacing: .1px; }
.market-status::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #d39c48; margin-right: 6px; vertical-align: 1px; }
.market-status[data-state="live"]::before { background: #2ec98b; box-shadow: 0 0 7px #2ec98b55; }
.market-status[data-state="offline"]::before { background: #808080; box-shadow: none; }
[data-market] [class*="__priceValue"] { font-variant-numeric: tabular-nums; }
[data-market] [class$="__priceValue"] { min-height: 40px; }
.market-placeholder { font-size: 32px; line-height: 40px; }
.market-number { display: inline-flex; }
.market-digit-cell { display: inline-flex; position: relative; overflow: hidden; width: .62em; flex-shrink: 0; justify-content: center; line-height: inherit; }
[data-market] [class*="__priceAnimated"] .market-digit-cell { width: 18.5px; }
.market-digit-current { display: inline-block; }
.market-digit-old { position: absolute; inset: 0; text-align: center; pointer-events: none; }
[data-market] [data-trend="up"] { --with-trend-color-primary: var(--color-trend-positive, #2ec98b); }
[data-market] [data-trend="down"] { --with-trend-color-primary: var(--color-trend-negative, #f05a6b); }
[data-market] [data-trend="up"] [class*="__assetChangeIcon"] { transform: rotate(180deg); }
[data-market] [data-trend="flat"] [class*="__assetChangeIcon"],
[data-market] [class*="__assetChangeWrap"]:not([data-trend]) [class*="__assetChangeIcon"] { visibility: hidden; }
[data-market][data-state="reconnecting"] [class*="__pricesRow"],
[data-market][data-state="offline"] [class*="__pricesRow"] { opacity: .55; }
@media (max-width: 767px) { .market-status { bottom: 6px; font-size: 10px; } }
