/* =========================================================
   MDM-4.0 HOMEPAGE
   High-end subscription data hub with proprietary content.
   This layer changes composition and density only.
========================================================= */

/* Recent content header */
.mdm-home-content-block{
  overflow: hidden;
  border-top: 3px solid var(--mdm-red);
  background: #f6f1e9;
}

.mdm-home-switcher-head{
  min-height: 48px;
  display: flex;
  align-items: stretch;
  gap: 1rem;
  padding: 0 1rem;
  border-bottom: 1px solid var(--mdm-gray-150);
}

.mdm-rankings-platform-tab:focus-visible{
  outline: 3px solid rgba(179, 25, 31, .22);
  outline-offset: -3px;
}

.mdm-home-content-title{
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--mdm-gray-900);
  font-size: 1.12rem;
  font-weight: 850;
  letter-spacing: -.015em;
}

.mdm-home-archive-link{
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  white-space: nowrap;
}

.mdm-theme-4 .mdm-sidebar .mdm-section-title{
  font-size: 1.12rem;
}

.mdm-rankings-platform-panel[hidden],
.mdm-account-drawer-content[hidden]{
  display: none !important;
}

.mdm-latest-embedded,
.mdm-latest-embedded-inner{
  min-width: 0;
}

/* Recent content: one compact, natively scrollable stream. */
.mdm-theme-4 .mdm-latest{
  gap: 0;
}

.mdm-theme-4 .mdm-latest-carousel{
  position: relative;
  border-radius: 0;
}

.mdm-theme-4 .mdm-latest-viewport{
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 0;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.mdm-theme-4 .mdm-latest-viewport::-webkit-scrollbar{
  display: none;
}

.mdm-theme-4 .mdm-latest-track{
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  width: max-content;
  padding: .65rem 1rem .4rem;
  transform: none !important;
  transition: none;
}

.mdm-theme-4 .mdm-latest-slide{
  position: relative;
  flex: 0 0 390px;
  min-width: 390px;
  scroll-snap-align: start;
  border: 1px solid rgba(18, 20, 23, .09);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(18,20,23,.045);
}

.mdm-theme-4 .mdm-latest-slide::before{
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  border-radius: 10px 0 0 10px;
  background: var(--mdm-red);
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.mdm-theme-4 .mdm-latest-slide-link{
  display: grid;
  grid-template-columns: 146px minmax(0, 1fr);
  height: 128px;
}

.mdm-theme-4 .mdm-latest-slide-media{
  min-width: 0;
  height: 128px;
}

.mdm-theme-4 .mdm-latest-carousel.has-overflow::after{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 20px;
  width: 38px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(246,241,233,0), rgba(246,241,233,.9));
}

.mdm-theme-4 .mdm-latest-scrollbar{
  position: relative;
  z-index: 2;
  height: 24px;
  margin: -.15rem 1rem .12rem;
  overflow: visible;
  background: transparent;
  cursor: pointer;
  touch-action: none;
}

.mdm-theme-4 .mdm-latest-scrollbar::before{
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 5px;
  border-radius: 999px;
  background: var(--mdm-gray-150);
  transform: translateY(-50%);
}

.mdm-theme-4 .mdm-latest-scrollbar[hidden]{
  display: none !important;
}

.mdm-theme-4 .mdm-latest-scrollbar:focus-visible{
  outline: 3px solid rgba(179,25,31,.22);
  outline-offset: 3px;
}

.mdm-theme-4 .mdm-latest-scrollbar-thumb{
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 48px;
  height: 100%;
  background: transparent;
  cursor: grab;
  will-change: transform, width;
}

.mdm-theme-4 .mdm-latest-scrollbar-thumb::before{
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 5px;
  border-radius: 999px;
  background: var(--mdm-red);
  transform: translateY(-50%);
}

.mdm-theme-4 .mdm-latest-scrollbar-thumb.is-dragging{
  cursor: grabbing;
}

.mdm-theme-4 .mdm-latest-slide-img,
.mdm-theme-4 .mdm-latest-slide-img--placeholder{
  width: 100%;
  height: 128px;
}

.mdm-theme-4 .mdm-latest-slide-body{
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: .75rem .82rem;
}

.mdm-theme-4 .mdm-latest-slide-title{
  min-height: 2.24em;
  margin-bottom: .28rem;
  font-size: .96rem;
  line-height: 1.16;
}

.mdm-theme-4 .mdm-latest-slide-date{
  font-size: .8rem;
}

.mdm-theme-4 .mdm-latest-slide-link:focus-visible{
  outline: 3px solid rgba(179,25,31,.28);
  outline-offset: -3px;
  border-radius: 8px;
}

.mdm-theme-4 .mdm-carousel-btn{
  top: 74px;
  width: 32px;
  height: 32px;
  box-shadow: 0 6px 16px rgba(18, 20, 23, .12);
}

.mdm-theme-4 .mdm-carousel-btn--prev{ left: .25rem; }
.mdm-theme-4 .mdm-carousel-btn--next{ right: .25rem; }

.mdm-latest-standalone{
  margin-bottom: 0;
}

.mdm-theme-4 .mdm-latest-standalone > .mdm-block-inner{
  padding: .8rem;
}

.mdm-theme-4 .mdm-latest-standalone #mdmLatestHeaderRow{
  margin-bottom: .55rem !important;
}

.mdm-theme-4 .mdm-latest-standalone #mdmLatestTitle{
  font-size: 1.4rem;
}

/* Latest Content: publication-style lead package. */
.mdm-latest-editorial{
  overflow: hidden;
  border-top: 3px solid var(--mdm-red);
  background: #f6f1e9;
}

.mdm-latest-editorial-header{
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.15rem;
  border-bottom: 1px solid rgba(18,20,23,.10);
}

.mdm-latest-editorial-header h2{
  margin: 0;
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: -.025em;
}

.mdm-editorial-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: calc(400px + 2.15rem);
  min-width: 0;
  padding: 1rem 1.15rem 1.15rem;
  background: rgba(255,255,255,.38);
}

.mdm-editorial-grid--1{
  grid-template-columns: 1fr;
}

.mdm-editorial-story{
  position: relative;
  min-width: 0;
  background: transparent;
}

.mdm-editorial-story::before{
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--mdm-red);
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.mdm-editorial-story-link{
  height: 100%;
  display: grid;
  color: inherit;
}

.mdm-editorial-story-link:focus-visible{
  outline: 3px solid rgba(179,25,31,.28);
  outline-offset: -3px;
}

.mdm-editorial-story-media{
  min-width: 0;
  overflow: hidden;
  background: var(--mdm-gray-150);
}

.mdm-editorial-story-img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}

.mdm-editorial-story-img--placeholder{
  min-height: 150px;
  background: linear-gradient(135deg, rgba(18,20,23,.08), rgba(18,20,23,.025));
}

.mdm-editorial-story-body{
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mdm-editorial-story-category{
  margin-bottom: .35rem;
  color: var(--mdm-red);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .01em;
}

.mdm-editorial-story-title{
  margin: 0;
  color: var(--mdm-gray-900);
  font-weight: 900;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.mdm-editorial-story-summary{
  margin: .55rem 0 0;
  color: var(--mdm-gray-700);
  line-height: 1.4;
}

.mdm-editorial-story-date{
  margin-top: auto;
  padding-top: .7rem;
  color: var(--mdm-gray-500);
  font-size: .78rem;
  font-weight: 650;
}

.mdm-editorial-story--lead{
  padding-right: .575rem;
  border-right: 1px solid rgba(18,20,23,.14);
}

.mdm-editorial-grid--1 .mdm-editorial-story--lead{
  padding-right: 0;
  border-right: 0;
}

.mdm-editorial-story--lead .mdm-editorial-story-link{
  grid-template-rows: 205px minmax(0, 1fr);
}

.mdm-editorial-story--lead .mdm-editorial-story-body{
  min-height: 0;
  padding: .9rem 1.15rem 1.08rem;
}

.mdm-editorial-story--lead .mdm-editorial-story-title{
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.mdm-editorial-story--lead .mdm-editorial-story-summary{
  display: -webkit-box;
  overflow: hidden;
  font-size: .94rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mdm-editorial-supporting{
  min-width: 0;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  padding-left: .575rem;
}

.mdm-editorial-grid--2 .mdm-editorial-supporting{
  grid-template-rows: 1fr;
}

.mdm-editorial-story--support + .mdm-editorial-story--support{
  border-top: 1px solid rgba(18,20,23,.14);
}

.mdm-editorial-story--support .mdm-editorial-story-link{
  grid-template-columns: minmax(0, 1fr) minmax(155px, 42%);
}

.mdm-editorial-story--support .mdm-editorial-story-media{
  grid-column: 2;
  grid-row: 1;
}

.mdm-editorial-story--support .mdm-editorial-story-body{
  grid-column: 1;
  grid-row: 1;
  padding: 1rem 1.05rem;
}

.mdm-editorial-story--support .mdm-editorial-story-title{
  font-size: 1.12rem;
  line-height: 1.15;
}

.mdm-editorial-story--support .mdm-editorial-story-summary{
  display: -webkit-box;
  overflow: hidden;
  font-size: .84rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.mdm-editorial-empty{
  margin: 0;
  padding: 2rem 1.15rem;
  color: var(--mdm-gray-500);
}

@media (hover: hover){
  .mdm-editorial-story:hover::before{
    opacity: 1;
  }

  .mdm-editorial-story:hover .mdm-editorial-story-title{
    text-decoration: underline;
    text-decoration-color: rgba(18,20,23,.5);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }

  .mdm-editorial-story:hover .mdm-editorial-story-img{
    transform: scale(1.015);
  }
}

/* Account Settings keeps the disclosure pattern in the production paper palette. */
.mdm-account-drawer{
  overflow: hidden;
  margin-top: 0;
  border-color: rgba(18,20,23,.10);
  border-top: 3px solid var(--mdm-red);
  background: #f6f1e9;
  color: var(--mdm-gray-900);
  box-shadow: 0 14px 34px rgba(18,20,23,.08);
}

.mdm-account-drawer-summary{
  display: flex;
  min-height: 72px;
}

.mdm-account-drawer-toggle{
  min-width: 0;
  display: flex;
  flex: 1;
  align-items: center;
  gap: .75rem;
  padding: .78rem .9rem;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.mdm-account-drawer-toggle:hover,
.mdm-account-drawer-toggle:focus-visible{
  background: rgba(18,20,23,.035);
  color: var(--mdm-gray-900);
}

.mdm-account-drawer-toggle:focus-visible{
  outline: 0;
  box-shadow: inset 0 0 0 2px rgba(179,25,31,.32);
}

.mdm-account-drawer-chevron{
  flex: 0 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mdm-gray-600);
  font-size: 1rem;
  text-shadow: none;
}

.mdm-account-drawer-chevron i{
  transition: color 180ms ease, transform 180ms ease;
}

.mdm-account-drawer-toggle[aria-expanded="true"] .mdm-account-drawer-chevron i{
  color: var(--mdm-red);
  transform: rotate(90deg);
}

.mdm-account-drawer-icon{
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(179,25,31,.20);
  border-radius: 10px;
  background: rgba(179,25,31,.08);
  color: var(--mdm-red);
}

.mdm-account-drawer-copy{
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mdm-account-drawer-title{
  color: var(--mdm-gray-900);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.mdm-account-drawer-description{
  margin-top: .12rem;
  color: var(--mdm-gray-600);
  font-size: .76rem;
  line-height: 1.35;
}

.mdm-account-drawer-content{
  padding: .9rem;
  border-top: 1px solid rgba(18,20,23,.08);
}

#mdmHomeAccountPanel #mdmHero{
  overflow: visible;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#mdmHomeAccountPanel #mdmHero::before{
  display: none;
}

#mdmHomeAccountPanel .mdm-hero-inner{
  padding: 0;
}

#mdmHomeAccountPanel .mdm-hero-header{
  padding: 0 0 .7rem;
  margin-bottom: .75rem;
  border-color: rgba(18,20,23,.08);
}

#mdmHomeAccountPanel .mdm-hero-title{
  color: rgba(18,20,23,.96);
  font-size: 1.3rem;
}

#mdmHomeAccountPanel .mdm-hero-subtitle{
  color: rgba(18,20,23,.70);
  font-size: .85rem;
}

#mdmHomeAccountPanel .mdm-hero-body{
  padding: 0;
}

#mdmHomeAccountPanel #mdmHeroRow{
  --bs-gutter-x: .65rem;
  --bs-gutter-y: .65rem;
}

#mdmHomeAccountPanel .mdm-hero-membership-grid{
  gap: .55rem;
}

#mdmHomeAccountPanel .mdm-hero-membership-item{
  padding: .65rem .72rem;
  border-color: rgba(18,20,23,.10);
  border-radius: 10px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 8px 18px rgba(18,20,23,.045);
}

#mdmHomeAccountPanel .mdm-hero-membership-item dt{
  color: rgba(18,20,23,.58);
  font-size: .66rem;
}

#mdmHomeAccountPanel .mdm-hero-membership-item dd{
  color: rgba(18,20,23,.90);
  font-size: .86rem;
}

#mdmHomeAccountPanel .mdm-hero-actions{
  gap: .55rem;
}

#mdmHomeAccountPanel .mdm-hero-actions .mdm-btn{
  padding: .52rem .7rem;
  box-shadow: none;
}

#mdmHomeAccountPanel .mdm-btn-secondary{
  border-color: var(--mdm-gray-200);
  background: var(--mdm-white);
  color: var(--mdm-gray-900);
}

#mdmHomeAccountPanel .mdm-btn-secondary:hover{
  border-color: rgba(18,20,23,.16);
  background: var(--mdm-gray-150);
  color: var(--mdm-gray-900);
}

#mdmHomeAccountPanel .mdm-hero-toggle{
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
  padding: .55rem .72rem;
  border-color: rgba(18,20,23,.10);
  border-radius: 10px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 8px 18px rgba(18,20,23,.045);
  text-align: left;
}

#mdmHomeAccountPanel .mdm-hero-toggle-title{
  margin: 0;
  color: rgba(18,20,23,.88);
}

#mdmHomeAccountPanel .mdm-hero-toggle-footnote{
  color: rgba(18,20,23,.62);
  text-align: right;
}

#mdmHomeAccountPanel .email_notification_switch{
  border-color: rgba(18,20,23,.18);
  background: rgba(18,20,23,.18);
  box-shadow: inset 0 2px 6px rgba(18,20,23,.16);
}

#mdmHomeAccountPanel .email_notification_switch.on{
  border-color: rgba(20,128,61,.45);
  background: rgba(34,197,94,.85);
}

#mdmHomeAccountPanel .email_notification_switch:focus-visible{
  outline: 3px solid rgba(179,25,31,.28);
  outline-offset: 3px;
}

/* Rankings and Darkpool Intelligence are separate product rows. */
.mdm-app-rankings-module{
  overflow: hidden;
  margin-top: 1rem !important;
  border-top: 3px solid var(--mdm-red);
  background: var(--mdm-white);
}

.mdm-darkpool-intelligence{
  overflow: visible;
  margin-top: 1rem !important;
  border-top: 3px solid var(--mdm-red);
}

.mdm-app-rankings-module > .mdm-block-inner,
.mdm-data-hub-news-shell{
  padding: .75rem 1rem;
}

.mdm-darkpool-intelligence-brand{
  display: flex;
  align-items: center;
}

.mdm-darkpool-intelligence-brand h2{
  margin: 0;
  color: var(--mdm-gray-900);
  font-size: 1.12rem;
  font-weight: 850;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.mdm-data-hub-rankings,
.mdm-data-hub-news{
  min-width: 0;
}

.mdm-data-hub-rankings{
  border: 0;
  background: var(--mdm-white);
  box-shadow: none;
}

.mdm-rankings-panel-heading{
  min-height: 66px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: .28rem;
  padding: .68rem .85rem;
  border-bottom: 1px solid var(--mdm-gray-150);
}

.mdm-rankings-panel-heading #mdmRankingsTitle{
  min-width: 0;
  font-size: 1.12rem;
  line-height: 1.22;
}

.mdm-rankings-panel-meta{
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .08rem .45rem;
  min-width: 0;
}

.mdm-theme-4 #mdmAppRankingsBlock #mdmRankingsHeaderRow #rrank_date{
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--mdm-gray-600);
  font-size: .7rem;
  font-weight: 750;
  line-height: 1.25;
}

.mdm-rankings-panel-heading #mdmTopGrossingDate{
  font-size: .7rem;
  line-height: 1.25;
}

.mdm-rankings-platform-tabs{
  height: 44px;
  display: none;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--mdm-gray-150);
}

.mdm-rankings-platform-panels{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mdm-rankings-platform-panel{
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mdm-theme-4 .mdm-rankings-platform-panel + .mdm-rankings-platform-panel{
  border-left: 1px solid var(--mdm-gray-150);
}

.mdm-rankings-platform-heading{
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: .55rem .75rem;
  border-bottom: 1px solid var(--mdm-gray-150);
  color: var(--mdm-gray-900);
  background: rgba(255,255,255,.52);
  font-size: .95rem;
  font-weight: 850;
  letter-spacing: -.015em;
}

.mdm-rankings-platform-heading,
.mdm-rankings-platform-tab{
  gap: .42rem;
}

.mdm-rankings-platform-heading i,
.mdm-rankings-platform-tab i{
  color: var(--mdm-gray-500);
  font-size: 1rem;
}

.mdm-rankings-platform-heading i{
  color: var(--mdm-red);
}

.mdm-rankings-platform-tab{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--mdm-gray-500);
  background: transparent;
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
}

.mdm-rankings-platform-tab + .mdm-rankings-platform-tab{
  border-left: 1px solid var(--mdm-gray-150);
}

.mdm-rankings-platform-tab.is-active{
  color: var(--mdm-gray-900);
  border-bottom-color: var(--mdm-red);
  background: rgba(255,255,255,.72);
}

.mdm-rankings-platform-tab.is-active i{
  color: var(--mdm-red);
}

.mdm-theme-4 .mdm-rankings-card{
  border: 0;
  border-radius: 0;
  background: transparent;
}

.mdm-theme-4 .mdm-rankings-body{
  flex: 1 1 auto;
  padding: 0 .55rem;
  background: rgba(18,20,23,.022);
}

.mdm-theme-4 .mdm-rankings-list{
  gap: 0;
}

.mdm-theme-4 .mdm-rankings-item + .mdm-rankings-item{
  border-top: 1px solid var(--mdm-gray-150);
}

.mdm-theme-4 .mdm-rankings-link--fp{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: center;
  gap: .4rem;
  min-height: 78px;
  padding: .42rem .4rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mdm-theme-4 .mdm-darkpool-row-trigger{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "top"
    "meta"
    "deltas"
    "spark";
  align-items: center;
  gap: .08rem .45rem;
  padding-right: 0;
}

.mdm-theme-4 .mdm-rankings-link--fp:hover{
  transform: none;
  border-color: transparent;
  background: rgba(18,20,23,.045);
  box-shadow: none;
}

.mdm-theme-4 .mdm-darkpool-shared-row .mdm-rankings-toprow{
  grid-area: top;
  grid-template-columns: 22px 26px minmax(0, 1fr);
  column-gap: .44rem;
  padding-right: 0;
}

.mdm-theme-4 .mdm-rank{
  width: 22px;
  height: 22px;
  border-radius: 7px;
  font-size: .72rem;
}

.mdm-theme-4 .mdm-appiconwrap,
.mdm-theme-4 .mdm-appicon{
  width: 26px;
  height: 26px;
}

.mdm-theme-4 .mdm-appicon{
  border-radius: 7px;
  box-shadow: none;
}

.mdm-theme-4 .mdm-appname{
  font-size: .9375rem;
}

.mdm-theme-4 .mdm-rankings-meta{
  grid-area: meta;
  padding-left: calc(48px + .88rem);
}

.mdm-theme-4 .mdm-rankings-dev{
  margin-top: 0;
  font-size: .75rem;
}

.mdm-theme-4 .mdm-darkpool-shared-row .mdm-rankings-bundle,
.mdm-theme-4 .mdm-rankings-chartcta{
  display: none;
}

.mdm-theme-4 .mdm-rankings-deltasrow{
  grid-area: deltas;
  width: 9.75rem;
  max-width: calc(100% - (48px + .88rem));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: .2rem 0 0 calc(48px + .88rem);
  padding-left: 0;
  gap: .24rem;
}

.mdm-theme-4 #mdmAppRankingsBlock .mdm-delta{
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  justify-content: center;
  gap: .16rem;
  padding: .14rem .2rem;
  font-size: .67rem;
  white-space: nowrap;
}

.mdm-theme-4 #mdmAppRankingsBlock .mdm-delta-label{
  font-size: .62rem;
}

.mdm-theme-4 #mdmAppRankingsBlock .mdm-rankings-sparkline,
.mdm-theme-4 #mdmAppRankingsBlock .mdm-rankings-sparkline-loading{
  grid-area: spark;
  box-sizing: border-box;
  width: 100%;
  margin-top: .5rem;
  padding: .58rem .65rem;
  border-top: 1px dotted rgba(18,20,23,.22);
  border-radius: 0 0 7px 7px;
  background: rgba(18,20,23,.055);
}

.mdm-theme-4 #mdmAppRankingsBlock .mdm-rankings-sparkline-loading{
  position: relative;
  min-height: 96px;
  padding: 0;
  text-align: center;
}

.mdm-theme-4 #mdmAppRankingsBlock .mdm-rankings-loading-text{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 750;
  opacity: .72;
}

.mdm-theme-4 #mdmAppRankingsBlock .mdm-rankings-loading-text i{
  margin: 0;
}

.mdm-theme-4 #mdmAppRankingsBlock .mdm-ticker-loading::after{
  content: "";
  display: inline-block;
  width: 1.5em;
  text-align: left;
  animation: mdm-rankings-loading-dots 1.5s steps(1, end) infinite;
}

@keyframes mdm-rankings-loading-dots{
  0%, 24%{ content: ""; }
  25%, 49%{ content: "."; }
  50%, 74%{ content: ".."; }
  75%, 100%{ content: "..."; }
}

.mdm-theme-4 .mdm-darkpool-row-chevron{
  top: 28px;
  right: auto;
  left: 2px;
  width: 18px;
  height: 18px;
  opacity: 0;
  transform: none;
  transition: opacity 120ms ease;
}

.mdm-theme-4 .mdm-darkpool-row-linkout{
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 120ms ease, background 120ms ease, color 120ms ease;
}

.mdm-theme-4 .mdm-rankings-item:hover .mdm-darkpool-row-chevron,
.mdm-theme-4 .mdm-rankings-item:focus-within .mdm-darkpool-row-chevron,
.mdm-theme-4 .mdm-rankings-item:hover .mdm-darkpool-row-linkout,
.mdm-theme-4 .mdm-rankings-item:focus-within .mdm-darkpool-row-linkout{
  opacity: 1;
}

.mdm-theme-4 .mdm-rankings-foot{
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .62rem .85rem;
  background: transparent;
  font-size: .85rem;
  text-align: center;
}

.mdm-theme-4 .mdm-rankings-full-btn{
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .42rem .82rem;
  border: 1px solid rgba(179,25,31,.28);
  border-radius: 9px;
  background: var(--mdm-white);
  color: var(--mdm-red);
  font-size: .78rem;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}

.mdm-theme-4 .mdm-rankings-full-btn:hover{
  border-color: var(--mdm-red);
  background: rgba(179,25,31,.055);
  color: var(--mdm-red);
}

.mdm-theme-4 .mdm-rankings-full-btn:focus-visible{
  outline: 3px solid rgba(179,25,31,.24);
  outline-offset: 2px;
}

/* Embed the existing third-party news feed without changing its data path. */
.mdm-data-hub-news #mdmRecentNewsBlock{
  height: 100%;
  margin: 0 !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.mdm-data-hub-news{
  position: relative;
  border: 0;
  overflow: visible;
}

.mdm-data-hub-news #mdmRecentNewsInner{
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.mdm-data-hub-news #mdmNewsHeaderRow{
  min-height: 48px;
  margin: 0 !important;
  padding: .35rem .85rem;
  border-bottom: 1px solid var(--mdm-gray-150);
}

.mdm-data-hub-news #memo_selector_tab_block{
  display: none;
}

.mdm-data-hub-news #mdmNewsHeaderRow .mdm-news-category-filter{
  display: block;
  margin: 0 0 0 auto;
}

.mdm-data-hub-news #mdmNewsCategoryPanel{
  width:min(560px, calc(100vw - 4rem));
}

.mdm-data-hub-news #mdmNewsHeaderRow .mdm-news-category-trigger{
  min-height: 36px;
  padding: .42rem .58rem;
  border-radius: 8px;
  box-shadow: none;
  font-size: .72rem;
}

.mdm-data-hub-news #mdmNewsCategoryOptions{
  max-height: 170px;
}

.mdm-data-hub-news #mdmNewsList,
.mdm-data-hub-news #memos_block,
.mdm-data-hub-news #newest{
  min-height: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.mdm-data-hub-news #newest > .container-fluid{
  height: 100%;
}

.mdm-data-hub-news #memo_list_newest{
  height: auto;
  max-height: none;
  overflow-y: visible;
}

.mdm-data-hub-news #mdmRecentNewsBlock #memo_list_newest > .memo{
  box-sizing: border-box;
  min-height: 64px;
  padding: .48rem .95rem;
}

.mdm-data-hub-news #mdmRecentNewsBlock .mdm-news-row{
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .32rem;
}

.mdm-data-hub-news #mdmRecentNewsBlock .mdm-observation-type-pill.is-default{
  display: none;
}

.mdm-data-hub-news #mdmRecentNewsBlock .memo p.title > a,
.mdm-data-hub-news #mdmRecentNewsBlock .memo p.title > span:not(.number){
  font-size: .9375rem;
  line-height: 1.12;
}

.mdm-data-hub-news #mdmRecentNewsBlock .memo .number{
  font-size: .8rem;
}

.mdm-data-hub-news #mdmRecentNewsBlock .memo .meta{
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .05rem .45rem;
  margin-top: .2rem;
}

.mdm-data-hub-news #mdmRecentNewsBlock .memo .meta p.fetch-source,
.mdm-data-hub-news #mdmRecentNewsBlock .memo .meta p.memo-details{
  margin: 0;
  font-size: .75rem;
  line-height: 1.3;
}

.mdm-data-hub-news #mdmRecentNewsBlock .mdm-news-theme-snapshot{
  gap: .25rem;
}

.mdm-data-hub-news #mdmRecentNewsBlock .mdm-news-theme{
  padding: .32rem .42rem;
  border: 0;
  border-left: 2px solid rgba(179,25,31,.58);
  border-radius: 4px;
  background: rgba(179,25,31,.035);
  box-shadow: none;
}

.mdm-data-hub-news #mdmRecentNewsBlock #more_memos{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 62px;
  margin: 0;
  padding: .65rem .68rem;
  border-top: 1px solid var(--mdm-gray-150);
}

.mdm-data-hub-news #mdmRecentNewsBlock #more_memos[hidden]{
  display: none !important;
}

.mdm-data-hub-news #mdmRecentNewsBlock #more_memos .more-memos-btn{
  width: auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .48rem .88rem;
  border: 1px solid rgba(179,25,31,.25);
  border-radius: 9px;
  background: var(--mdm-white);
  color: var(--mdm-red);
  box-shadow: none;
  font-size: .76rem;
  font-weight: 850;
  line-height: 1;
  transform: none;
}

.mdm-data-hub-news #mdmRecentNewsBlock #more_memos .more-memos-btn:hover:not([aria-disabled="true"]){
  border-color: var(--mdm-red);
  background: rgba(179,25,31,.055);
  color: var(--mdm-red);
  transform: none;
  box-shadow: none;
}

.mdm-data-hub-news #mdmRecentNewsBlock #more_memos .more-memos-btn:focus-visible{
  outline: 3px solid rgba(179,25,31,.24);
  outline-offset: 2px;
}

.mdm-data-hub-news #mdmRecentNewsBlock #more_memos .more-memos-btn[aria-disabled="true"]{
  cursor: default;
  opacity: .62;
}

.mdm-data-hub-news #mdmRecentNewsBlock #load_more_memos,
.mdm-data-hub-news #mdmRecentNewsBlock #memos_loading_wait{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
}

.mdm-data-hub-news #mdmRecentNewsBlock #load_more_memos[hidden],
.mdm-data-hub-news #mdmRecentNewsBlock #memos_loading_wait[hidden]{
  display: none !important;
}

.mdm-data-hub-news #mdmRecentNewsBlock #more_memos .more-memos-btn i{
  margin: 0;
  color: currentColor;
}

.mdm-data-hub-news #mdmRecentNewsBlock #more_memos.is-complete .more-memos-btn{
  border-color: var(--mdm-gray-150);
  color: var(--mdm-gray-500);
  background: rgba(255,255,255,.62);
}

.mdm-data-hub-news #mdmRecentNewsBlock #more_memos.has-error .more-memos-btn{
  border-color: rgba(179,25,31,.42);
  background: rgba(179,25,31,.04);
}

@media (max-width: 991.98px){
  .mdm-theme-4 #mdmHomeSidebar{
    display: none;
  }
}

@media (max-width: 767.98px){
  .mdm-latest-editorial-header{
    padding-right: .9rem;
    padding-left: .9rem;
  }

  .mdm-editorial-grid{
    grid-template-columns: 1fr;
    height: auto;
    padding: .9rem;
  }

  .mdm-editorial-story--lead{
    padding-right: 0;
    border-right: 0;
  }

  .mdm-editorial-story--lead .mdm-editorial-story-link{
    grid-template-rows: 230px auto;
  }

  .mdm-editorial-story--lead .mdm-editorial-story-body{
    min-height: 0;
  }

  .mdm-editorial-supporting{
    padding-left: 0;
    border-top: 1px solid rgba(18,20,23,.14);
  }

  .mdm-editorial-story--support{
    min-height: 174px;
  }

  .mdm-home-switcher-head{
    min-height: 46px;
    padding: 0 .65rem;
  }

  .mdm-home-archive-link{
    font-size: .78rem;
  }

  .mdm-theme-4 .mdm-latest-track{
    gap: .6rem;
    padding: .58rem .65rem .36rem;
  }

  .mdm-theme-4 .mdm-latest-slide{
    flex-basis: min(90vw, 380px);
    min-width: min(90vw, 380px);
  }

  .mdm-theme-4 .mdm-latest-slide-link,
  .mdm-theme-4 .mdm-latest-slide-media,
  .mdm-theme-4 .mdm-latest-slide-img,
  .mdm-theme-4 .mdm-latest-slide-img--placeholder{
    height: 116px;
  }

  .mdm-theme-4 .mdm-latest-slide-link{
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .mdm-theme-4 .mdm-carousel-btn{
    top: 67px;
  }

  .mdm-theme-4 .mdm-latest-slide-body{
    min-height: 0;
  }

  .mdm-theme-4 .mdm-latest-scrollbar{
    margin-right: .65rem;
    margin-left: .65rem;
  }

  #mdmHomeAccountPanel .mdm-hero-toggle{
    grid-template-columns: minmax(0, 1fr) auto;
  }

  #mdmHomeAccountPanel .mdm-hero-toggle-footnote{
    display: none;
  }

  .mdm-app-rankings-module > .mdm-block-inner,
  .mdm-data-hub-news-shell{
    padding: .6rem .8rem;
  }

  .mdm-rankings-platform-tabs{
    display: grid;
  }

  .mdm-rankings-platform-panels{
    display: block;
  }

  .mdm-rankings-platform-heading{
    display: none;
  }

  .mdm-theme-4 .mdm-rankings-platform-panel + .mdm-rankings-platform-panel{
    border-left: 0;
  }

  .mdm-rankings-platform-panel:not(.is-active){
    display: none;
  }

  .mdm-data-hub-news{
    border: 0;
  }

  .mdm-data-hub-news #memo_list_newest{
    height: auto;
    max-height: none;
    overflow-y: visible;
  }
}

@media (max-width: 575.98px){
  .mdm-editorial-grid{
    padding: .75rem;
  }

  .mdm-latest-editorial-header{
    min-height: 48px;
    padding-right: .8rem;
    padding-left: .8rem;
  }

  .mdm-latest-editorial-header h2{
    font-size: 1.08rem;
  }

  .mdm-latest-editorial-header .mdm-link{
    font-size: .76rem;
  }

  .mdm-editorial-story--lead .mdm-editorial-story-link{
    grid-template-rows: 210px auto;
  }

  .mdm-editorial-story--lead .mdm-editorial-story-body{
    padding: .85rem .9rem .9rem;
  }

  .mdm-editorial-story--lead .mdm-editorial-story-title{
    font-size: 1.42rem;
  }

  .mdm-editorial-story--lead .mdm-editorial-story-summary{
    font-size: .88rem;
  }

  .mdm-editorial-story--support{
    min-height: 160px;
  }

  .mdm-editorial-story--support .mdm-editorial-story-link{
    grid-template-columns: minmax(0, 1fr) 118px;
  }

  .mdm-editorial-story--support .mdm-editorial-story-body{
    padding: .78rem .82rem;
  }

  .mdm-editorial-story--support .mdm-editorial-story-title{
    font-size: 1rem;
  }

  .mdm-editorial-story--support .mdm-editorial-story-summary{
    font-size: .8rem;
    -webkit-line-clamp: 2;
  }

  .mdm-app-rankings-module > .mdm-block-inner,
  .mdm-data-hub-news-shell{
    padding: .5rem .65rem;
  }

  .mdm-data-hub-news #mdmNewsHeaderRow{
    align-items: flex-start !important;
    flex-wrap: wrap;
    padding: .58rem .85rem;
  }

  .mdm-data-hub-news #mdmRecentNewsBlock #memo_list_newest > .memo{
    padding-right: .85rem;
    padding-left: .85rem;
  }

  .mdm-data-hub-news #mdmNewsHeaderRow .mdm-news-category-filter{
    flex: 0 0 100%;
    width: 100%;
    margin-left: 0;
  }

  .mdm-data-hub-news #mdmNewsHeaderRow .mdm-news-category-trigger{
    width: 100%;
    justify-content: space-between;
  }

  .mdm-data-hub-news #mdmNewsCategoryPanel{
    width: 100%;
  }

  .mdm-theme-4 #mdmAppRankingsBlock .mdm-delta--d7,
  .mdm-theme-4 #mdmAppRankingsBlock .mdm-delta--d30{
    display: inline-flex;
  }

  .mdm-theme-4 .mdm-rankings-link--fp{
    min-height: 78px;
    padding: .42rem .3rem;
  }

  .mdm-theme-4 .mdm-darkpool-row-trigger{
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "top"
      "meta"
      "deltas"
      "spark";
  }

  .mdm-theme-4 .mdm-rankings-deltasrow{
    margin-left: calc(48px + .88rem);
    padding-left: 0;
    gap: .24rem;
  }

  .mdm-theme-4 .mdm-darkpool-row-chevron,
  .mdm-theme-4 .mdm-darkpool-row-linkout{
    opacity: 1;
  }

}

@media (hover: none), (pointer: coarse){
  .mdm-theme-4 .mdm-darkpool-row-chevron,
  .mdm-theme-4 .mdm-darkpool-row-linkout{
    opacity: 1;
  }
}

@media (hover: hover){
  .mdm-theme-4 .mdm-latest-slide:hover::before{
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce){
  .mdm-theme-4 .mdm-latest-viewport{
    scroll-behavior: auto;
  }

  .mdm-theme-4 .mdm-latest-scrollbar-thumb,
  .mdm-theme-4 .mdm-latest-slide::before,
  .mdm-editorial-story::before,
  .mdm-editorial-story-img,
  .mdm-theme-4 .mdm-darkpool-row-chevron,
  .mdm-theme-4 .mdm-darkpool-row-linkout,
  .mdm-account-drawer-chevron i{
    transition: none;
  }

  .mdm-theme-4 #mdmAppRankingsBlock .mdm-ticker-loading::after{
    content: "…";
    animation: none;
  }
}
