/*
 * Historium compact cinematic cards — v66
 *
 * A smaller companion to the approved homepage Netflix cards. This layer is
 * opt-in, excluded from Home and attached only to explicitly marked grids.
 */

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) {
  --hm66-surface: #151f22;
  --hm66-text: #e7eceb;
  --hm66-muted: #9da9aa;
  --hm66-gold: #d7a15a;
  --hm66-control: #f2f5f4;
  --hm66-control-ink: #0a0f10;
  --hm66-line: rgba(255, 255, 255, .085);
  --hm66-panel: #111718;
  --hm66-panel-text: #eef2f1;
  --hm66-panel-shade: linear-gradient(180deg, rgba(7, 10, 11, .34), rgba(7, 10, 11, .86) 47%, rgba(7, 10, 11, .98));
  --hm66-media: #101516;
  --hm66-media-line: rgba(255, 255, 255, .045);
  --hm66-media-shadow: 0 14px 30px -25px rgba(0, 0, 0, .94), inset 0 0 0 1px var(--hm66-media-line);
  --hm66-overlay-control: rgba(8, 12, 13, .58);
  --hm66-overlay-control-ink: #f2f5f4;
  --hm66-overlay-control-line: rgba(255, 255, 255, .58);
  --hm66-overlay-control-shadow: none;
  --hm66-focus-ring: #fff;
  --hm66-radius: 5px;
  --hm66-shadow: 0 22px 48px rgba(0, 0, 0, .54);
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) :is(.archive-content--video, .archive-content--article, .watch-more) {
  position: relative !important;
  overflow: visible !important;
  contain: none !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:not([data-page="home"]) [data-compact-card-grid="v66"],
body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:not([data-page="home"]) [data-compact-card-grid="v66"] *,
body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:not([data-page="home"]) [data-compact-card-grid="v66"] *::before,
body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:not([data-page="home"]) [data-compact-card-grid="v66"] *::after {
  box-sizing: border-box;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:not([data-page="home"]) [data-compact-card-grid="v66"] {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: start !important;
  gap: 28px 10px !important;
  overflow: visible !important;
  contain: none !important;
  content-visibility: visible !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:not([data-page="home"]) [data-compact-card-grid="v66"] > .hm-card[data-compact-card="v66"][data-card-owner="compact-v66"] {
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;
  display: block !important;
  align-self: start !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--hm66-text) !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  isolation: auto !important;
  transform: none !important;
}

/* v66 owns these cards. Quarantine the legacy v63 outer action dock; it is
   rendered on the card itself, outside the new compact surface. */
body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:not([data-page="home"]) [data-compact-card-grid="v66"] > .hm-card[data-card-owner="compact-v66"]::before,
body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:not([data-page="home"]) [data-compact-card-grid="v66"] > .hm-card[data-card-owner="compact-v66"]::after {
  display: none !important;
  content: none !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:not([data-page="home"]) [data-compact-card-grid="v66"] > .hm-card[data-compact-card="v66"][data-card-owner="compact-v66"]:hover {
  z-index: 3 !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-compact-card="v66"][data-card-owner="compact-v66"] > .hm-compact-card__surface {
  --hm66-action: 28px;
  --hm66-inset: 7px;
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 0 3px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: var(--hm66-radius) !important;
  color: var(--hm66-text) !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  isolation: isolate !important;
  transform: translateY(0) !important;
  transform-origin: center center !important;
  transition:
    background-color .2s ease,
    box-shadow .24s cubic-bezier(.2, .7, .2, 1),
    transform .24s cubic-bezier(.2, .7, .2, 1) !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-compact-card="v66"][data-card-owner="compact-v66"] > .hm-compact-card__surface::before,
body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-compact-card="v66"][data-card-owner="compact-v66"] > .hm-compact-card__surface::after {
  display: none !important;
  content: none !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__media {
  position: relative !important;
  inset: auto !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  aspect-ratio: 16 / 9 !important;
  border: 0 !important;
  border-radius: var(--hm66-radius) !important;
  background: var(--hm66-media) !important;
  box-shadow: var(--hm66-media-shadow) !important;
  outline: 0 !important;
  transform: none !important;
  transition: border-radius .2s ease, box-shadow .2s ease !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__media::before {
  display: none !important;
  content: none !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__media::after {
  position: absolute !important;
  inset: 48% 0 0 !important;
  z-index: 4 !important;
  display: block !important;
  content: "" !important;
  background: linear-gradient(0deg, rgba(5, 8, 9, .48), rgba(5, 8, 9, .1) 66%, transparent) !important;
  opacity: .74 !important;
  pointer-events: none !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface :is(.hm-card__picture, .hm-card__picture > img, .hm-card__image) {
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: inherit !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface :is(.hm-card__picture, .hm-card__image, .hm-card__picture > img) {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface :is(.hm-card__image, .hm-card__picture > img) {
  z-index: 2 !important;
  object-fit: cover !important;
  object-position: center !important;
  filter: saturate(.94) contrast(1.025) brightness(.97) !important;
  transform: scale(1) !important;
  transition: filter .24s ease, transform .38s cubic-bezier(.2, .7, .2, 1) !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-compact-card="v66"][data-card-owner="compact-v66"].is-portrait-video .hm-card__backdrop {
  position: absolute !important;
  inset: -16px !important;
  z-index: 1 !important;
  display: block !important;
  width: calc(100% + 32px) !important;
  max-width: none !important;
  height: calc(100% + 32px) !important;
  object-fit: cover !important;
  filter: blur(16px) brightness(.52) saturate(.72) !important;
  opacity: .92 !important;
  transform: scale(1.06) !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-compact-card="v66"][data-card-owner="compact-v66"].is-portrait-video .hm-card__image {
  object-fit: contain !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__body {
  position: relative !important;
  z-index: 3 !important;
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 9px 3px 1px !important;
  overflow: visible !important;
  gap: 4px !important;
  border: 0 !important;
  border-radius: 0 0 var(--hm66-radius) var(--hm66-radius) !important;
  color: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  transition: padding .2s ease, background-color .2s ease !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface .hm-card__meta {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 13px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  gap: 7px !important;
  color: var(--hm66-muted) !important;
  white-space: nowrap !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface :is(.hm-card__kicker, .hm-card__date) {
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: inherit !important;
  font-family: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 9.5px !important;
  font-weight: 650 !important;
  letter-spacing: .055em !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface .hm-card__kicker {
  color: var(--hm66-gold) !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface .hm-card__title {
  display: -webkit-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 3.72em !important;
  max-height: 3.72em !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: var(--hm66-text) !important;
  font-family: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: clamp(13.5px, 1.05vw, 15px) !important;
  font-weight: 640 !important;
  letter-spacing: -.018em !important;
  line-height: 1.24 !important;
  text-align: start !important;
  text-overflow: ellipsis !important;
  overflow-wrap: anywhere !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface .hm-card__title > a {
  display: block !important;
  color: inherit !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  line-height: inherit !important;
  text-decoration: none !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface .hm-card__description {
  display: none !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] .hm-card__title {
  min-height: 2.48em !important;
  max-height: 2.48em !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
}

/* Article information keeps the approved blurred-cover language, but is
   constrained to the compact card surface so it cannot spill into a row. */
body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] .hm-card__summary {
  position: absolute !important;
  inset: 0 !important;
  z-index: 9 !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  pointer-events: none !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] .hm-card__summary-trigger {
  position: absolute !important;
  inset: auto !important;
  inset-block-start: var(--hm66-inset) !important;
  inset-inline-start: var(--hm66-inset) !important;
  z-index: 11 !important;
  list-style: none !important;
  border: 1.25px solid var(--hm66-overlay-control-line) !important;
  pointer-events: none !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] .hm-card__summary-trigger::-webkit-details-marker {
  display: none !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] .hm-card__summary-panel {
  position: absolute !important;
  inset: 0 !important;
  z-index: 7 !important;
  display: grid !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  align-content: end !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--hm66-line) !important;
  border-radius: var(--hm66-radius) !important;
  color: var(--hm66-panel-text) !important;
  background: var(--hm66-panel) !important;
  box-shadow: var(--hm66-shadow) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(5px) scale(.985) !important;
  transform-origin: center center !important;
  transition: opacity .17s ease, visibility .17s ease, transform .22s cubic-bezier(.2, .75, .2, 1) !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] .hm-card__summary:is([open], :hover) .hm-card__summary-panel {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] .hm-card__summary-backdrop {
  position: absolute !important;
  inset: -18px !important;
  z-index: 1 !important;
  display: block !important;
  width: calc(100% + 36px) !important;
  max-width: none !important;
  height: calc(100% + 36px) !important;
  object-fit: cover !important;
  filter: blur(18px) brightness(.5) saturate(.7) !important;
  opacity: .94 !important;
  transform: scale(1.035) !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] .hm-card__summary-shade {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  display: block !important;
  background: var(--hm66-panel-shade) !important;
  pointer-events: none !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] .hm-card__summary-copy {
  position: relative !important;
  z-index: 3 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 45px 12px 13px !important;
  overflow: auto !important;
  color: inherit !important;
  background: transparent !important;
  scrollbar-width: thin !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] .article-card-summary-kicker {
  display: block !important;
  margin: 0 0 5px !important;
  color: var(--hm66-gold) !important;
  font-family: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 9px !important;
  font-weight: 760 !important;
  letter-spacing: .08em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] .hm-card__summary-copy > p {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: inherit !important;
  font-family: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 450 !important;
  letter-spacing: -.006em !important;
  line-height: 1.5 !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface :is(.hm-card__info, .hm-card__save, .hm-card__play, .hm-card__summary-trigger) {
  z-index: 8 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: var(--hm66-action) !important;
  min-width: var(--hm66-action) !important;
  max-width: var(--hm66-action) !important;
  height: var(--hm66-action) !important;
  min-height: var(--hm66-action) !important;
  max-height: var(--hm66-action) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: var(--hm66-overlay-control-ink) !important;
  background: var(--hm66-overlay-control) !important;
  box-shadow: var(--hm66-overlay-control-shadow) !important;
  opacity: 0 !important;
  visibility: visible !important;
  pointer-events: none !important;
  appearance: none !important;
  cursor: pointer !important;
  -webkit-backdrop-filter: blur(10px) saturate(.9) !important;
  backdrop-filter: blur(10px) saturate(.9) !important;
  transform: translateY(3px) !important;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease, opacity .16s ease, transform .18s ease !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__info {
  position: absolute !important;
  inset: auto !important;
  inset-block-start: var(--hm66-inset) !important;
  inset-inline-start: var(--hm66-inset) !important;
  border: 1.25px solid var(--hm66-overlay-control-line) !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__save {
  position: absolute !important;
  inset: auto !important;
  inset-block-start: var(--hm66-inset) !important;
  inset-inline-end: var(--hm66-inset) !important;
  border: 1.25px solid var(--hm66-overlay-control-line) !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface .hm-card__media > .hm-card__play {
  position: absolute !important;
  inset: auto !important;
  inset-block-end: var(--hm66-inset) !important;
  inset-inline-start: var(--hm66-inset) !important;
  color: var(--hm66-control-ink) !important;
  background: var(--hm66-control) !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface .hm-card__play::before {
  display: block !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 0 0 1px !important;
  border: 0 !important;
  border-top: 4.5px solid transparent !important;
  border-bottom: 4.5px solid transparent !important;
  border-left: 7px solid currentColor !important;
  content: "" !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface .hm-card__play::after,
body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface :is(.hm-card__info, .hm-card__save)::before {
  display: none !important;
  content: none !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface .hm-card__info .title-preview-info-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface :is(.title-preview-info-icon, .article-card-summary-icon),
body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface :is(.title-preview-info-icon, .article-card-summary-icon) svg {
  display: block !important;
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: currentColor !important;
  background: transparent !important;
  box-shadow: none !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.65 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  shape-rendering: geometricPrecision !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface :is(.title-preview-info-icon, .article-card-summary-icon) svg circle {
  display: initial !important;
  fill: currentColor !important;
  stroke: none !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__save .library-save-icon {
  position: relative !important;
  display: block !important;
  width: 12px !important;
  min-width: 12px !important;
  max-width: 12px !important;
  height: 12px !important;
  min-height: 12px !important;
  max-height: 12px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: currentColor !important;
  background: none !important;
  mask: none !important;
  -webkit-mask: none !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__save .library-save-icon::before,
body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__save .library-save-icon::after {
  position: absolute !important;
  inset: 50% auto auto 50% !important;
  display: block !important;
  border: 0 !important;
  border-radius: 1px !important;
  background: currentColor !important;
  content: "" !important;
  transform: translate(-50%, -50%) !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__save .library-save-icon::before {
  width: 10px !important;
  height: 1.5px !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__save .library-save-icon::after {
  width: 1.5px !important;
  height: 10px !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__save:is([aria-pressed="true"], .is-saved) {
  border-color: var(--hm66-gold) !important;
  color: var(--hm66-gold) !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__save:is([aria-pressed="true"], .is-saved) .library-save-icon {
  background: currentColor !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v18l-6-4-6 4z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v18l-6-4-6 4z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__save:is([aria-pressed="true"], .is-saved) .library-save-icon::before,
body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__save:is([aria-pressed="true"], .is-saved) .library-save-icon::after {
  display: none !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__save.is-busy .library-save-icon,
body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save.is-busy .library-save-icon {
  width: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  height: 14px !important;
  min-height: 14px !important;
  max-height: 14px !important;
  border: 2px solid currentColor !important;
  border-inline-end-color: transparent !important;
  border-radius: 50% !important;
  background: none !important;
  mask: none !important;
  -webkit-mask: none !important;
  animation: hm66-spin .72s linear infinite !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__save.is-busy .library-save-icon::before,
body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__save.is-busy .library-save-icon::after,
body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save.is-busy .library-save-icon::before,
body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save.is-busy .library-save-icon::after {
  display: none !important;
  content: none !important;
}

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

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] .hm-card__summary[open] .hm-card__summary-trigger {
  border-color: var(--hm66-gold) !important;
  color: var(--hm66-control-ink) !important;
  background: var(--hm66-gold) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface :is(.hm-card__info, .hm-card__save, .hm-card__summary-trigger, .hm-card__title > a):focus-visible {
  outline: 2px solid var(--hm66-focus-ring) !important;
  outline-offset: 2px !important;
}

/* -------------------------------------------------------------------------
   Secondary card families

   These keep the same restrained surface, typography and image response as
   the cinematic cards without adopting their whole-card enlargement. Search,
   member-library, sidebar and contextual cards must stay dense and stable.
   ------------------------------------------------------------------------- */

@media screen {
  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-system="v66"] {
    display: grid !important;
    gap: 10px !important;
    overflow: visible !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-suggestions="v66"] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-suggestion-card="v66"] {
    display: grid !important;
    min-width: 0 !important;
    min-height: 96px !important;
    align-content: end !important;
    margin: 0 !important;
    padding: 13px !important;
    gap: 5px !important;
    overflow: hidden !important;
    border: 1px solid var(--hm66-line) !important;
    border-radius: 5px !important;
    color: var(--hm66-text) !important;
    background: color-mix(in srgb, var(--hm66-surface) 66%, transparent) !important;
    box-shadow: 0 13px 30px -28px rgba(0, 0, 0, .9) !important;
    transform: none !important;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .2s ease, transform .2s ease !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-suggestion-card="v66"] small {
    color: var(--hm66-gold) !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .07em !important;
    line-height: 1.25 !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-suggestion-card="v66"] strong {
    display: -webkit-box !important;
    overflow: hidden !important;
    color: inherit !important;
    font-size: 13.5px !important;
    font-weight: 640 !important;
    letter-spacing: -.016em !important;
    line-height: 1.28 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-card="v66"] {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr) !important;
    align-items: stretch !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 7px !important;
    gap: 16px !important;
    overflow: hidden !important;
    border: 1px solid var(--hm66-line) !important;
    border-radius: 6px !important;
    color: var(--hm66-text) !important;
    background: color-mix(in srgb, var(--hm66-surface) 68%, transparent) !important;
    box-shadow: 0 13px 30px -28px rgba(0, 0, 0, .9) !important;
    transform: none !important;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .2s ease, transform .2s ease !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-card="v66"] .hm-search-card__media {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    aspect-ratio: 16 / 9 !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: var(--hm66-media) !important;
    box-shadow: none !important;
    transform: none !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-card="v66"] .hm-search-card__media :is(img, .discovery-result-placeholder) {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: inherit !important;
    filter: saturate(.92) contrast(1.025) !important;
    transform: scale(1) !important;
    transition: filter .22s ease, transform .34s cubic-bezier(.2, .7, .2, 1) !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-card="v66"] .hm-search-card__body {
    display: grid !important;
    min-width: 0 !important;
    align-content: center !important;
    margin: 0 !important;
    padding-block: 5px !important;
    padding-inline: 0 10px !important;
    gap: 6px !important;
    color: inherit !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-card="v66"] .discovery-result-kicker,
  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-card="v66"] .discovery-result-meta {
    color: var(--hm66-muted) !important;
    font-size: 9.5px !important;
    letter-spacing: .055em !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-card="v66"] .discovery-result-kicker > :first-child {
    color: var(--hm66-gold) !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-card="v66"] h3 {
    display: -webkit-box !important;
    max-width: 42ch !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: inherit !important;
    font-family: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: clamp(14px, 1.2vw, 17px) !important;
    font-weight: 650 !important;
    letter-spacing: -.02em !important;
    line-height: 1.25 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-card="v66"] h3 > a {
    color: inherit !important;
    text-decoration: none !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-card="v66"] .hm-search-card__body > p {
    display: -webkit-box !important;
    max-width: 68ch !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: var(--hm66-muted) !important;
    font-size: 11.5px !important;
    line-height: 1.48 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-grid="v66"] {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 24px 12px !important;
    overflow: visible !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-self: start !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 3px !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: var(--hm66-radius) !important;
    color: var(--hm66-text) !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color .18s ease, box-shadow .2s ease !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__media {
    position: relative !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    aspect-ratio: 16 / 9 !important;
    border: 0 !important;
    border-radius: var(--hm66-radius) !important;
    background: var(--hm66-media) !important;
    box-shadow: var(--hm66-media-shadow) !important;
    transform: none !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__media > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: saturate(.94) contrast(1.025) brightness(.97) !important;
    transform: scale(1) !important;
    transition: filter .22s ease, transform .36s cubic-bezier(.2, .7, .2, 1) !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__media > span {
    inset: auto !important;
    inset-block-end: 7px !important;
    inset-inline-start: 8px !important;
    color: #f2f5f4 !important;
    font-size: 9px !important;
    letter-spacing: .055em !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__body {
    display: grid !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 9px 3px 1px !important;
    gap: 4px !important;
    color: inherit !important;
    background: transparent !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] .hm-card__kicker {
    margin: 0 !important;
    color: var(--hm66-gold) !important;
    font-size: 9.5px !important;
    font-weight: 650 !important;
    letter-spacing: .055em !important;
    line-height: 1.25 !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] .hm-card__title {
    display: -webkit-box !important;
    min-height: 2.48em !important;
    max-height: 2.48em !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: inherit !important;
    font-family: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: clamp(13.5px, 1.05vw, 15px) !important;
    font-weight: 640 !important;
    letter-spacing: -.018em !important;
    line-height: 1.24 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] :is(.hm-card__description, .text-link) {
    display: none !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save {
    position: absolute !important;
    inset: auto !important;
    inset-block-start: 7px !important;
    inset-inline-end: 7px !important;
    z-index: 8 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1.25px solid var(--hm66-overlay-control-line) !important;
    border-radius: 50% !important;
    color: var(--hm66-overlay-control-ink) !important;
    background: var(--hm66-overlay-control) !important;
    box-shadow: var(--hm66-overlay-control-shadow) !important;
    opacity: .96 !important;
    -webkit-backdrop-filter: blur(10px) saturate(.9) !important;
    backdrop-filter: blur(10px) saturate(.9) !important;
    transform: none !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save::after {
    position: absolute !important;
    inset: auto !important;
    inset-block: 0 -16px !important;
    inset-inline: -16px 0 !important;
    display: block !important;
    content: "" !important;
    background: transparent !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save .library-save-icon {
    position: relative !important;
    display: block !important;
    width: 12px !important;
    height: 12px !important;
    color: currentColor !important;
    background: none !important;
    mask: none !important;
    -webkit-mask: none !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save .library-save-icon::before,
  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save .library-save-icon::after {
    position: absolute !important;
    inset: 50% auto auto 50% !important;
    display: block !important;
    border: 0 !important;
    border-radius: 1px !important;
    background: currentColor !important;
    content: "" !important;
    transform: translate(-50%, -50%) !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save .library-save-icon::before {
    width: 10px !important;
    height: 1.5px !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save .library-save-icon::after {
    width: 1.5px !important;
    height: 10px !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save:is([aria-pressed="true"], .is-saved) {
    border-color: var(--hm66-gold) !important;
    color: var(--hm66-gold) !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save:is([aria-pressed="true"], .is-saved) .library-save-icon {
    background: currentColor !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v18l-6-4-6 4z'/%3E%3C/svg%3E") center / contain no-repeat !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v18l-6-4-6 4z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save:is([aria-pressed="true"], .is-saved) .library-save-icon::before,
  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save:is([aria-pressed="true"], .is-saved) .library-save-icon::after {
    display: none !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save.is-busy .library-save-icon {
    width: 14px !important;
    min-width: 14px !important;
    max-width: 14px !important;
    height: 14px !important;
    min-height: 14px !important;
    max-height: 14px !important;
    border: 2px solid currentColor !important;
    border-inline-end-color: transparent !important;
    border-radius: 50% !important;
    background: none !important;
    mask: none !important;
    -webkit-mask: none !important;
    animation: hm66-spin .72s linear infinite !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save.is-busy .library-save-icon::before,
  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save.is-busy .library-save-icon::after {
    display: none !important;
    content: none !important;
  }

  body[data-page="my-historium"][data-compact-card-system="v66"] [data-compact-library-system="v66"] [data-library-list] > .hm-card--library[data-library-card-type] {
    overflow: hidden !important;
    border: 1px solid var(--hm66-line) !important;
    border-radius: 6px !important;
    color: var(--hm66-text) !important;
    background: color-mix(in srgb, var(--hm66-surface) 82%, transparent) !important;
    box-shadow: 0 15px 34px -28px rgba(0, 0, 0, .92) !important;
    transform: none !important;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .2s ease !important;
  }

  body[data-page="my-historium"][data-compact-card-system="v66"] [data-compact-library-system="v66"] .hm-card--library[data-library-card-type] > .hm-card__media {
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body[data-page="my-historium"][data-compact-card-system="v66"] [data-compact-library-system="v66"] .hm-card--library[data-library-card-type] > .hm-card__media img {
    filter: saturate(.94) contrast(1.02) !important;
    transform: scale(1) !important;
    transition: filter .2s ease, transform .34s cubic-bezier(.2, .7, .2, 1) !important;
  }

  body[data-page="my-historium"][data-compact-card-system="v66"] [data-compact-library-system="v66"] .hm-card--library[data-library-card-type] > .hm-card__body {
    min-height: 168px !important;
    padding: 12px !important;
    gap: 6px !important;
  }

  body[data-page="my-historium"][data-compact-card-system="v66"] [data-compact-library-system="v66"] .hm-card--library[data-library-card-type] h3 {
    display: -webkit-box !important;
    margin: 0 !important;
    overflow: hidden !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    letter-spacing: -.018em !important;
    line-height: 1.28 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
  }

  body[data-page="my-historium"][data-compact-card-system="v66"] [data-compact-library-system="v66"] .hm-card--library[data-library-card-type] .my-library-card-body > p {
    margin: 0 !important;
    color: var(--hm66-muted) !important;
    font-size: 10.5px !important;
    line-height: 1.45 !important;
  }

  body[data-page="my-historium"][data-compact-card-system="v66"] [data-compact-library-system="v66"] .hm-card--library[data-library-card-type] :is(.my-library-card-meta, .my-library-progress span) {
    color: var(--hm66-muted) !important;
    font-size: 9.5px !important;
  }

  body[data-page="my-historium"][data-compact-card-system="v66"] [data-compact-library-system="v66"] .hm-card--library[data-library-card-type] .my-library-card-actions {
    gap: 6px !important;
    margin-block-start: auto !important;
    padding-block-start: 8px !important;
  }

  body[data-page="my-historium"][data-compact-card-system="v66"] [data-compact-library-system="v66"] .hm-card--library[data-library-card-type] :is(.my-library-open, .library-save-button.is-labeled) {
    min-height: 44px !important;
    border-radius: 5px !important;
    font-size: 10px !important;
  }

  body[data-page="my-historium"][data-compact-card-system="v66"] [data-compact-library-system="v66"] .hm-card--library[data-library-card-type] .my-library-open,
  body[data-page="my-historium"][data-compact-card-system="v66"] [data-compact-library-system="v66"] .hm-card--library[data-library-card-type] .library-save-button.is-labeled:not(.is-saved):not([aria-pressed="true"]) {
    border-color: var(--hm66-line) !important;
    color: var(--hm66-text) !important;
    background: color-mix(in srgb, var(--hm66-surface) 78%, transparent) !important;
  }

  body[data-page="my-historium"][data-compact-card-system="v66"] [data-compact-library-system="v66"] .hm-card--library[data-library-card-type] .my-library-open:is(:hover, :focus-visible),
  body[data-page="my-historium"][data-compact-card-system="v66"] [data-compact-library-system="v66"] .hm-card--library[data-library-card-type] .library-save-button.is-labeled:not(.is-saved):not([aria-pressed="true"]):is(:hover, :focus-visible) {
    border-color: var(--hm66-gold) !important;
    color: var(--hm66-text) !important;
    background: color-mix(in srgb, var(--hm66-gold) 12%, var(--hm66-surface)) !important;
  }

  body[data-page="article"][data-compact-card-system="v66"] .article-sidebar [data-compact-card-list="v66"] {
    display: grid !important;
    gap: 8px !important;
  }

  body[data-page="article"][data-compact-card-system="v66"] .article-sidebar [data-compact-card-list="v66"] > .hm-compact-card {
    display: grid !important;
    grid-template-columns: 90px minmax(0, 1fr) !important;
    min-width: 0 !important;
    min-height: 62px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 6px !important;
    gap: 10px !important;
    overflow: hidden !important;
    border: 1px solid var(--hm66-line) !important;
    border-radius: 5px !important;
    color: var(--hm66-text) !important;
    background: color-mix(in srgb, var(--hm66-surface) 64%, transparent) !important;
    box-shadow: none !important;
    transform: none !important;
    transition: border-color .17s ease, background-color .17s ease, box-shadow .2s ease !important;
  }

  body[data-page="article"][data-compact-card-system="v66"] .article-sidebar [data-compact-card-list="v66"] > .hm-compact-card > img {
    display: block !important;
    width: 90px !important;
    min-width: 90px !important;
    height: 51px !important;
    object-fit: cover !important;
    border-radius: 3px !important;
    filter: saturate(.93) contrast(1.02) !important;
    transform: scale(1) !important;
    transition: filter .2s ease, transform .3s ease !important;
  }

  body[data-page="article"][data-compact-card-system="v66"] .article-sidebar [data-compact-card-list="v66"] > .hm-compact-card > span {
    display: grid !important;
    min-width: 0 !important;
    gap: 4px !important;
  }

  body[data-page="article"][data-compact-card-system="v66"] .article-sidebar [data-compact-card-list="v66"] > .hm-compact-card strong {
    display: -webkit-box !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: inherit !important;
    font-family: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 11.5px !important;
    font-weight: 640 !important;
    letter-spacing: -.012em !important;
    line-height: 1.3 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
  }

  body[data-page="article"][data-compact-card-system="v66"] .article-sidebar [data-compact-card-list="v66"] > .hm-compact-card small {
    overflow: hidden !important;
    color: var(--hm66-muted) !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body[data-compact-card-system="v66"]:is([data-page="article"], [data-page="watch"]) [data-compact-feature-card="v66"] {
    overflow: hidden !important;
    border: 1px solid var(--hm66-line) !important;
    border-radius: 6px !important;
    color: var(--hm66-text) !important;
    background: color-mix(in srgb, var(--hm66-surface) 74%, transparent) !important;
    box-shadow: 0 14px 32px -27px rgba(0, 0, 0, .92) !important;
    transform: none !important;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .2s ease !important;
  }

  body[data-compact-card-system="v66"]:is([data-page="article"], [data-page="watch"]) [data-compact-feature-card="v66"] :is(img, .article-video-thumb) {
    overflow: hidden !important;
    border-radius: 4px !important;
  }

  body[data-compact-card-system="v66"]:is([data-page="article"], [data-page="watch"]) [data-compact-feature-card="v66"] img {
    filter: saturate(.94) contrast(1.025) !important;
    transform: scale(1) !important;
    transition: filter .2s ease, transform .34s cubic-bezier(.2, .7, .2, 1) !important;
  }

  body[data-compact-card-system="v66"]:is([data-page="article"], [data-page="watch"]) [data-compact-feature-card="v66"] > :is(span, .article-video-copy):last-child {
    min-width: 0 !important;
    padding-block: 8px !important;
    padding-inline: 0 10px !important;
  }

  body[data-compact-card-system="v66"]:is([data-page="article"], [data-page="watch"]) [data-compact-feature-card="v66"] strong {
    display: -webkit-box !important;
    max-height: 3.9em !important;
    overflow: hidden !important;
    line-height: 1.3 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
  }

  body[data-page="article"][data-compact-card-system="v66"] .article-related-documentary-compact.is-cover-duplicate [data-compact-feature-card="v66"] > .article-video-thumb,
  body[data-page="article"][data-compact-card-system="v66"] .article-related-documentary-compact.is-cover-duplicate [data-compact-feature-card="v66"] > .article-video-thumb > img {
    border-radius: 50% !important;
  }

  body[data-page="entity"][data-compact-card-system="v66"] [data-compact-work-list="v66"] > section > div {
    display: grid !important;
    gap: 5px !important;
  }

  body[data-page="entity"][data-compact-card-system="v66"] [data-compact-work-list="v66"] > section > div > a {
    min-width: 0 !important;
    padding: 10px 11px !important;
    overflow: hidden !important;
    border: 1px solid transparent !important;
    border-radius: 4px !important;
    background: color-mix(in srgb, var(--hm66-surface) 44%, transparent) !important;
    transform: none !important;
    transition: border-color .16s ease, background-color .16s ease, transform .18s ease !important;
  }

  body[data-page="entity"][data-compact-card-system="v66"] [data-compact-work-list="v66"] > section > div > a > span {
    display: -webkit-box !important;
    min-width: 0 !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
  }

  body[data-compact-card-system="v66"] :is(
    [data-compact-search-card="v66"] a,
    [data-compact-suggestion-card="v66"],
    [data-compact-entity-card="v66"] a,
    [data-compact-entity-card="v66"] button,
    [data-compact-library-system="v66"] .hm-card--library a,
    [data-compact-library-system="v66"] .hm-card--library button,
    [data-compact-card-list="v66"] > .hm-compact-card,
    [data-compact-feature-card="v66"],
    [data-compact-work-list="v66"] > section > div > a
  ):focus-visible {
    outline: 2px solid var(--hm66-gold) !important;
    outline-offset: 2px !important;
  }
}

@media screen and (min-width: 540px) {
  body[data-page="search"][data-compact-card-system="v66"] [data-compact-suggestions="v66"] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-grid="v66"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media screen and (min-width: 900px) {
  body[data-page="search"][data-compact-card-system="v66"] [data-compact-suggestions="v66"] {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-grid="v66"] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px 13px !important;
  }
}

@media screen and (min-width: 1280px) {
  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-grid="v66"] {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 30px 14px !important;
  }
}

@media screen and (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-card="v66"]:is(:hover, :has(:focus-visible)),
  body[data-page="search"][data-compact-card-system="v66"] [data-compact-suggestion-card="v66"]:is(:hover, :focus-visible),
  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"]:is(:hover, :has(:focus-visible)),
  body[data-page="my-historium"][data-compact-card-system="v66"] [data-compact-library-system="v66"] .hm-card--library[data-library-card-type]:is(:hover, :has(:focus-visible)),
  body[data-page="article"][data-compact-card-system="v66"] .article-sidebar [data-compact-card-list="v66"] > .hm-compact-card:is(:hover, :focus-visible),
  body[data-compact-card-system="v66"]:is([data-page="article"], [data-page="watch"]) [data-compact-feature-card="v66"]:is(:hover, :focus-visible) {
    border-color: color-mix(in srgb, var(--hm66-gold) 42%, var(--hm66-line)) !important;
    background: var(--hm66-surface) !important;
    box-shadow: 0 18px 40px -25px rgba(0, 0, 0, .88) !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-card="v66"]:is(:hover, :has(:focus-visible)),
  body[data-page="search"][data-compact-card-system="v66"] [data-compact-suggestion-card="v66"]:is(:hover, :focus-visible),
  body[data-compact-card-system="v66"]:is([data-page="article"], [data-page="watch"]) [data-compact-feature-card="v66"]:is(:hover, :focus-visible) {
    transform: translateY(-1px) !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-card="v66"]:is(:hover, :has(:focus-visible)) .hm-search-card__media img,
  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"]:is(:hover, :has(:focus-visible)) > .hm-card__media > img,
  body[data-page="my-historium"][data-compact-card-system="v66"] [data-compact-library-system="v66"] .hm-card--library[data-library-card-type]:is(:hover, :has(:focus-visible)) > .hm-card__media img,
  body[data-page="article"][data-compact-card-system="v66"] .article-sidebar [data-compact-card-list="v66"] > .hm-compact-card:is(:hover, :focus-visible) > img,
  body[data-compact-card-system="v66"]:is([data-page="article"], [data-page="watch"]) [data-compact-feature-card="v66"]:is(:hover, :focus-visible) img {
    filter: saturate(1) contrast(1.035) brightness(1) !important;
    transform: scale(1.02) !important;
  }

  body[data-page="entity"][data-compact-card-system="v66"] [data-compact-work-list="v66"] > section > div > a:is(:hover, :focus-visible) {
    border-color: color-mix(in srgb, var(--hm66-gold) 34%, transparent) !important;
    background: color-mix(in srgb, var(--hm66-surface) 86%, transparent) !important;
    transform: translateX(2px) !important;
  }

  html[dir="rtl"] body[data-page="entity"][data-compact-card-system="v66"] [data-compact-work-list="v66"] > section > div > a:is(:hover, :focus-visible) {
    transform: translateX(-2px) !important;
  }
}

@media screen and (max-width: 640px) {
  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-card="v66"] {
    grid-template-columns: 112px minmax(0, 1fr) !important;
    min-height: 118px !important;
    padding: 5px !important;
    gap: 10px !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-card="v66"] .hm-search-card__media {
    height: 100% !important;
    min-height: 108px !important;
    aspect-ratio: auto !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-card="v66"] .hm-search-card__body {
    padding-block: 4px !important;
    padding-inline: 0 4px !important;
    gap: 5px !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-card="v66"] .hm-search-card__body > p {
    display: none !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-card="v66"] h3 {
    font-size: 13px !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
  }

  body[data-page="search"][data-compact-card-system="v66"] [data-compact-search-card="v66"] .discovery-result-meta {
    max-height: 2.6em !important;
    overflow: hidden !important;
  }
}

@media screen and (max-width: 539.98px) {
  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] {
    grid-template-columns: 116px minmax(0, 1fr) !important;
    grid-template-rows: minmax(112px, auto) !important;
    overflow: hidden !important;
    border: 1px solid var(--hm66-line) !important;
    background: color-mix(in srgb, var(--hm66-surface) 68%, transparent) !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__media {
    grid-column: 1 !important;
    grid-row: 1 !important;
    height: 100% !important;
    min-height: 112px !important;
    aspect-ratio: auto !important;
    border-radius: 4px !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__body {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-content: center !important;
    padding: 10px 9px !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save {
    inset: auto !important;
    inset-block-start: 7px !important;
    inset-inline-start: 7px !important;
    inset-inline-end: auto !important;
  }

  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save::after {
    inset: auto !important;
    inset-block: 0 -16px !important;
    inset-inline: 0 -16px !important;
  }
}

@media screen and (max-width: 520px) {
  body[data-page="my-historium"][data-compact-card-system="v66"] [data-compact-library-system="v66"] [data-library-list]:not(.my-historium-continue-grid) > .hm-card--library[data-library-card-type] {
    grid-template-columns: minmax(108px, 34vw) minmax(0, 1fr) !important;
    grid-template-rows: minmax(172px, auto) !important;
  }

  body[data-page="my-historium"][data-compact-card-system="v66"] [data-compact-library-system="v66"] [data-library-list]:not(.my-historium-continue-grid) > .hm-card--library[data-library-card-type] > .hm-card__media {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 172px !important;
    aspect-ratio: auto !important;
  }

  body[data-page="my-historium"][data-compact-card-system="v66"] [data-compact-library-system="v66"] [data-library-list]:not(.my-historium-continue-grid) > .hm-card--library[data-library-card-type] > .hm-card__body {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-height: 172px !important;
    padding: 10px !important;
  }
}

@media (min-width: 640px) {
  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:not([data-page="home"]) [data-compact-card-grid="v66"] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 30px 12px !important;
  }
}

@media (min-width: 940px) {
  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:not([data-page="home"]) [data-compact-card-grid="v66"] {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 32px 13px !important;
  }
}

@media (min-width: 1280px) {
  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:not([data-page="home"]) [data-compact-card-grid="v66"] {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 34px 14px !important;
  }
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-compact-card="v66"][data-card-owner="compact-v66"]:hover > .hm-compact-card__surface {
    color: var(--hm66-text) !important;
    background: var(--hm66-surface) !important;
    box-shadow: var(--hm66-shadow) !important;
    transform: translateY(-2px) !important;
  }

  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-compact-card="v66"][data-card-owner="compact-v66"]:hover .hm-card__media {
    border-radius: var(--hm66-radius) var(--hm66-radius) 0 0 !important;
    box-shadow: none !important;
  }

  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-compact-card="v66"][data-card-owner="compact-v66"]:hover :is(.hm-card__image, .hm-card__picture > img) {
    filter: saturate(1) contrast(1.035) brightness(1) !important;
    transform: scale(1.018) !important;
  }

  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-compact-card="v66"][data-card-owner="compact-v66"]:hover .hm-card__body {
    padding-inline: 9px !important;
    background: var(--hm66-surface) !important;
  }

  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-compact-card="v66"][data-card-owner="compact-v66"]:hover :is(.hm-card__info, .hm-card__save, .hm-card__play, .hm-card__summary-trigger),
  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface :is(.hm-card__info, .hm-card__save, .hm-card__summary-trigger):focus-visible {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-compact-card="v66"][data-card-owner="compact-v66"]:hover .hm-card__summary-trigger {
    pointer-events: auto !important;
  }

  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface :is(.hm-card__info, .hm-card__save, .hm-card__summary-trigger):hover {
    color: var(--hm66-control-ink) !important;
    background: var(--hm66-control) !important;
    transform: translateY(-1px) !important;
  }
}

@media (max-width: 1023.98px), (hover: none), (pointer: coarse) {
  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-compact-card="v66"][data-card-owner="compact-v66"] > .hm-compact-card__surface {
    --hm66-action: 28px;
    --hm66-inset: 6px;
    transform: none !important;
  }

  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface :is(.hm-card__info, .hm-card__save, .hm-card__play, .hm-card__summary-trigger) {
    opacity: .96 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] .hm-card__summary-trigger {
    opacity: .96 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__summary > .hm-card__summary-trigger::after,
  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__info::after {
    position: absolute !important;
    inset: auto !important;
    inset-block: 0 -16px !important;
    inset-inline: 0 -16px !important;
    display: block !important;
    content: "" !important;
    background: transparent !important;
  }

  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__save::after {
    position: absolute !important;
    inset: auto !important;
    inset-block: 0 -16px !important;
    inset-inline: -16px 0 !important;
    display: block !important;
    content: "" !important;
    background: transparent !important;
  }

  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface .hm-card__title {
    font-size: 13.5px !important;
  }
}

html[data-theme="light"] body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) {
  --bg: #f3f0e8;
  --surface: #fbfaf6;
  --surface-2: #e8e9e4;
  --text: #101718;
  --text-soft: #283234;
  --muted: #5f696a;
  --line: #cdd4d1;
  --line-strong: #9eaaa6;
  --hm66-surface: #eef0ec;
  --hm66-text: #172022;
  --hm66-muted: #596466;
  --hm66-gold: #7f4d17;
  --hm66-line: rgba(23, 32, 34, .13);
  --hm66-panel: #eef0ec;
  --hm66-panel-text: #172022;
  --hm66-panel-shade: linear-gradient(180deg, rgba(242, 242, 237, .2), rgba(242, 242, 237, .83) 47%, rgba(242, 242, 237, .98));
  --hm66-media: #e5e8e3;
  --hm66-media-line: rgba(23, 32, 34, .12);
  --hm66-media-shadow: 0 12px 27px -24px rgba(24, 38, 40, .48), inset 0 0 0 1px var(--hm66-media-line);
  --hm66-overlay-control: rgba(249, 248, 244, .88);
  --hm66-overlay-control-ink: #172022;
  --hm66-overlay-control-line: rgba(23, 32, 34, .28);
  --hm66-overlay-control-shadow: 0 5px 16px rgba(24, 38, 40, .18);
  --hm66-focus-ring: #172022;
  --hm66-shadow: 0 20px 44px rgba(27, 35, 37, .25);
  color-scheme: light;
}

html[data-theme="light"] body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] .hm-card__summary-backdrop {
  filter: blur(18px) brightness(.9) saturate(.62) !important;
  opacity: .78 !important;
}

html[data-theme="light"] body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-compact-card="v66"][data-card-owner="compact-v66"].is-portrait-video .hm-card__backdrop {
  filter: blur(16px) brightness(.78) saturate(.68) !important;
  opacity: .82 !important;
}

@media (prefers-reduced-motion: reduce) {
  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-compact-card="v66"][data-card-owner="compact-v66"] > .hm-compact-card__surface,
  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-compact-card="v66"][data-card-owner="compact-v66"] > .hm-compact-card__surface * {
    transition-duration: .001ms !important;
  }

  body[data-compact-card-system="v66"] :is(
    [data-compact-search-card="v66"],
    [data-compact-search-card="v66"] *,
    [data-compact-suggestion-card="v66"],
    [data-compact-entity-card="v66"],
    [data-compact-entity-card="v66"] *,
    [data-compact-library-system="v66"] .hm-card--library,
    [data-compact-library-system="v66"] .hm-card--library *,
    [data-compact-card-list="v66"] > .hm-compact-card,
    [data-compact-card-list="v66"] > .hm-compact-card *,
    [data-compact-feature-card="v66"],
    [data-compact-feature-card="v66"] *,
    [data-compact-work-list="v66"] > section > div > a
  ) {
    transition-duration: .001ms !important;
  }

  body[data-compact-card-system="v66"] :is(
    [data-compact-search-card="v66"],
    [data-compact-suggestion-card="v66"],
    [data-compact-work-list="v66"] > section > div > a
  ) {
    transform: none !important;
  }

  body[data-compact-card-system="v66"] :is(
    [data-compact-card="v66"] :is(.hm-card__image, .hm-card__picture > img),
    [data-compact-search-card="v66"] .hm-search-card__media img,
    [data-compact-entity-card="v66"] > .hm-card__media > img,
    [data-compact-library-system="v66"] .hm-card--library > .hm-card__media img,
    [data-compact-card-list="v66"] > .hm-compact-card > img,
    [data-compact-feature-card="v66"] img
  ) {
    transform: none !important;
  }

  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-compact-card="v66"][data-card-owner="compact-v66"]:hover > .hm-compact-card__surface {
    transform: none !important;
  }

  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__save.is-busy .library-save-icon,
  body[data-page="entities"][data-compact-card-system="v66"] [data-compact-entity-card="v66"] > .hm-card__save.is-busy .library-save-icon {
    animation: none !important;
  }
}

@media (forced-colors: active) {
  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:not([data-page="home"]) .hm-card[data-card-owner="compact-v66"] > .hm-compact-card__surface :is(.hm-card__info, .hm-card__save, .hm-card__play, .hm-card__summary-trigger) {
    border: 1px solid ButtonText !important;
    color: ButtonText !important;
    background: ButtonFace !important;
    forced-color-adjust: auto !important;
  }

  body[data-compact-card-system="v66"] :is(
    [data-compact-search-card="v66"],
    [data-compact-suggestion-card="v66"],
    [data-compact-entity-card="v66"],
    [data-compact-library-system="v66"] .hm-card--library,
    [data-compact-card-list="v66"] > .hm-compact-card,
    [data-compact-feature-card="v66"],
    [data-compact-work-list="v66"] > section > div > a
  ) {
    border: 1px solid CanvasText !important;
    color: CanvasText !important;
    background: Canvas !important;
    box-shadow: none !important;
    forced-color-adjust: auto !important;
  }
}

/* --------------------------------------------------------------------------
   Video information dialog

   Home already owns an approved cinematic dialog layer. Video archive cards
   and the Watch related-video shelf share the same accessible dialog markup
   and platform lifecycle, so this final route-scoped layer gives those two
   surfaces the same composition without changing card or navigation logic.
   -------------------------------------------------------------------------- */

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-dialog {
  --hm66-preview-surface: #111718;
  --hm66-preview-text: #f5f3ee;
  --hm66-preview-muted: rgba(245, 243, 238, .76);
  --hm66-preview-accent: #e1aa63;
  --hm66-preview-line: rgba(255, 255, 255, .15);
  --hm63-preview-surface: var(--hm66-preview-surface);
  inset: 0 !important;
  width: min(820px, calc(100vw - 48px)) !important;
  max-width: 820px !important;
  height: auto !important;
  max-height: min(88dvh, 760px) !important;
  margin: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--hm66-preview-line) !important;
  border-radius: 8px !important;
  color: var(--hm66-preview-text) !important;
  background: var(--hm66-preview-surface) !important;
  box-shadow: 0 34px 90px -18px rgba(0, 0, 0, .88) !important;
  transform-origin: center center !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-dialog[open] {
  animation: hm66-preview-dialog-in .34s cubic-bezier(.2, .82, .2, 1) both !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-dialog::backdrop {
  background: rgba(3, 6, 7, .78) !important;
  -webkit-backdrop-filter: blur(10px) saturate(.72) !important;
  backdrop-filter: blur(10px) saturate(.72) !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-dialog[open]::backdrop {
  animation: hm66-preview-backdrop-in .26s ease-out both !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-surface {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: min(88dvh, 760px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  color: var(--hm66-preview-text) !important;
  background: var(--hm66-preview-surface) !important;
  scrollbar-color: rgba(255, 255, 255, .28) transparent !important;
  scrollbar-gutter: auto !important;
  overscroll-behavior: contain !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-chrome {
  position: absolute !important;
  inset: 0 0 auto !important;
  z-index: 20 !important;
  display: flex !important;
  height: 0 !important;
  justify-content: flex-end !important;
  padding: 14px !important;
  pointer-events: none !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-close {
  position: relative !important;
  inset: auto !important;
  display: grid !important;
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  flex: 0 0 36px !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, .32) !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: rgba(8, 12, 13, .76) !important;
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .95) !important;
  pointer-events: auto !important;
  -webkit-backdrop-filter: blur(10px) !important;
  backdrop-filter: blur(10px) !important;
  place-items: center !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-media {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  aspect-ratio: 16 / 7.35 !important;
  background: var(--hm66-preview-surface) !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-media :is(.title-preview-media-backdrop, .title-preview-media-cover)[hidden] {
  display: none !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-media-backdrop,
body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-media-cover {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-media-backdrop {
  inset: -28px !important;
  width: calc(100% + 56px) !important;
  min-width: 0 !important;
  height: calc(100% + 56px) !important;
  min-height: 0 !important;
  object-fit: cover !important;
  filter: blur(28px) brightness(.46) saturate(.72) !important;
  opacity: .9 !important;
  transform: scale(1.045) !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-media-cover {
  z-index: 1 !important;
  object-fit: cover !important;
  object-position: center !important;
  filter: saturate(.9) contrast(1.04) brightness(.9) !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-dialog.is-portrait-preview .title-preview-media-cover {
  object-fit: contain !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-dialog[open] .title-preview-media-cover:not([hidden]) {
  animation: hm66-preview-image-in .72s cubic-bezier(.2, .76, .2, 1) both !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-media-shade {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  background:
    linear-gradient(180deg, rgba(8, 12, 13, .02) 32%, rgba(8, 12, 13, .2) 56%, var(--hm66-preview-surface) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .24), transparent 60%) !important;
  pointer-events: none !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-copy {
  position: relative !important;
  z-index: 4 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: -132px 0 0 !important;
  padding: 92px 36px 24px !important;
  color: var(--hm66-preview-text) !important;
  background: linear-gradient(180deg, transparent 0, var(--hm66-preview-surface) 92px) !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-dialog:not(.has-preview-image) .title-preview-media {
  display: none !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-dialog:not(.has-preview-image) .title-preview-copy {
  margin: 0 !important;
  padding-block-start: 36px !important;
  background: var(--hm66-preview-surface) !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-dialog[open] .title-preview-copy {
  animation: hm66-preview-copy-in .38s .055s cubic-bezier(.2, .78, .2, 1) both !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-copy .content-kicker {
  margin: 0 0 9px !important;
  color: var(--hm66-preview-accent) !important;
  font-size: 10px !important;
  font-weight: 760 !important;
  letter-spacing: .105em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-copy h2 {
  max-width: 24ch !important;
  margin: 0 0 12px !important;
  color: var(--hm66-preview-text) !important;
  font-size: clamp(2rem, 3.25vw, 2.55rem) !important;
  font-weight: 680 !important;
  letter-spacing: -.035em !important;
  line-height: 1.04 !important;
  text-wrap: balance !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-description {
  display: block !important;
  max-width: 66ch !important;
  margin: 0 0 15px !important;
  overflow: visible !important;
  color: var(--hm66-preview-muted) !important;
  font-size: .93rem !important;
  line-height: 1.55 !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 0 0 18px !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-tags span {
  padding: 4px 8px !important;
  border: 1px solid color-mix(in srgb, var(--hm66-preview-accent) 30%, transparent) !important;
  border-radius: 999px !important;
  color: var(--hm66-preview-muted) !important;
  background: color-mix(in srgb, var(--hm66-preview-accent) 8%, transparent) !important;
  font-size: .72rem !important;
  line-height: 1.1 !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  gap: 8px !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-actions .action {
  width: auto !important;
  min-width: 0 !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 9px 16px !important;
  border: 0 !important;
  border-radius: 4px !important;
  font-size: .84rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  justify-content: center !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-actions .action-primary {
  color: #101516 !important;
  background: #f4f4f2 !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-actions .action-secondary {
  color: #f7f6f2 !important;
  background: rgba(255, 255, 255, .16) !important;
}

body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-connection {
  margin-block-start: 12px !important;
  color: var(--hm66-preview-muted) !important;
  font-size: .78rem !important;
  line-height: 1.4 !important;
}

html[data-theme="light"] body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-dialog {
  --hm66-preview-surface: #ece8df;
  --hm66-preview-text: #182022;
  --hm66-preview-muted: rgba(24, 32, 34, .75);
  --hm66-preview-accent: #8a541e;
  --hm66-preview-line: rgba(24, 32, 34, .2);
  color: var(--hm66-preview-text) !important;
  background: var(--hm66-preview-surface) !important;
  box-shadow: 0 34px 86px -20px rgba(20, 28, 29, .58) !important;
}

html[data-theme="light"] body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) :is(.title-preview-surface, .title-preview-copy) {
  color: var(--hm66-preview-text) !important;
}

html[data-theme="light"] body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-media-backdrop {
  filter: blur(28px) brightness(.72) saturate(.66) !important;
}

html[data-theme="light"] body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-media-shade {
  background:
    linear-gradient(180deg, rgba(236, 232, 223, .01) 34%, rgba(236, 232, 223, .2) 58%, var(--hm66-preview-surface) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .14), transparent 60%) !important;
}

html[data-theme="light"] body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-actions .action-primary {
  color: #f7f5ef !important;
  background: #182022 !important;
}

html[data-theme="light"] body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-actions .action-secondary {
  color: #182022 !important;
  background: rgba(24, 32, 34, .11) !important;
}

@media (max-width: 767px) {
  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-dialog {
    inset: 0 !important;
    display: none !important;
    width: 100% !important;
    max-width: none !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 10px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    place-items: center !important;
  }

  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-dialog[open] {
    display: grid !important;
    animation: none !important;
  }

  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-surface {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 20px) !important;
    overflow-y: auto !important;
    border: 1px solid var(--hm66-preview-line) !important;
    border-radius: 8px !important;
    box-shadow: 0 28px 72px -18px rgba(0, 0, 0, .9) !important;
  }

  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-dialog[open] .title-preview-surface {
    animation: hm66-preview-dialog-in .34s cubic-bezier(.2, .82, .2, 1) both !important;
  }

  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-chrome {
    padding: 12px !important;
  }

  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-media {
    aspect-ratio: 16 / 8.6 !important;
  }

  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-copy {
    margin-block-start: -74px !important;
    padding: 62px 18px calc(23px + var(--safe-bottom)) !important;
  }

  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-dialog:not(.has-preview-image) .title-preview-copy {
    margin: 0 !important;
    padding-block-start: 30px !important;
  }

  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-copy h2 {
    max-width: none !important;
    margin-block-end: 10px !important;
    font-size: clamp(1.65rem, 6.4vw, 2.25rem) !important;
    line-height: 1.06 !important;
  }

  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-description {
    display: -webkit-box !important;
    margin-block-end: 13px !important;
    overflow: hidden !important;
    font-size: .875rem !important;
    line-height: 1.48 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 5 !important;
    line-clamp: 5 !important;
  }

  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-tags {
    margin-block-end: 15px !important;
  }

  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-actions .action {
    width: 100% !important;
    min-height: 40px !important;
    padding-inline: 10px !important;
  }

  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-actions .action:first-child {
    grid-column: 1 / -1 !important;
  }
}

@keyframes hm66-preview-dialog-in {
  0% { opacity: 0; transform: translateY(22px) scale(.94); }
  72% { opacity: 1; transform: translateY(-1px) scale(1.004); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes hm66-preview-backdrop-in {
  from { background: rgba(3, 6, 7, 0); -webkit-backdrop-filter: blur(0) saturate(1); backdrop-filter: blur(0) saturate(1); }
  to { background: rgba(3, 6, 7, .78); -webkit-backdrop-filter: blur(10px) saturate(.72); backdrop-filter: blur(10px) saturate(.72); }
}

@keyframes hm66-preview-image-in {
  from { opacity: .72; transform: scale(1.045); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes hm66-preview-copy-in {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-dialog,
  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"]:is([data-page="videos"], [data-page="watch"]) .title-preview-dialog * {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation: none !important;
  }
}

/* Public experience release V63 — readable discovery and editorial cards. */
body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="videos"] [data-compact-card-grid="v66"] { gap:30px 20px !important; }
@media (min-width: 940px) { body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="videos"] [data-compact-card-grid="v66"] { grid-template-columns:repeat(4,minmax(0,1fr)) !important; } }
body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="videos"] .hm-card[data-compact-card="v66"][data-card-owner="compact-v66"] > .hm-compact-card__surface .hm-card__title { font-family:var(--font-ui) !important; font-size:16px !important; line-height:1.4 !important; min-height:0 !important; max-height:none !important; -webkit-line-clamp:3 !important; line-clamp:3 !important; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"] .hm-card__duration { color:var(--muted); font:12px/1.5 var(--font-ui); font-variant-numeric:tabular-nums; }
/* Keep one and two columns until each article can support a readable headline. */
body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="articles"] [data-compact-card-grid="v66"] { grid-template-columns:minmax(0,1fr) !important; gap:32px 24px !important; }
@media (min-width: 640px) { body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="articles"] [data-compact-card-grid="v66"] { grid-template-columns:repeat(2,minmax(0,1fr)) !important; } }
@media (min-width: 1100px) { body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="articles"] [data-compact-card-grid="v66"] { grid-template-columns:repeat(3,minmax(0,1fr)) !important; } }
body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="articles"] .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] > .hm-compact-card__surface { padding:0 0 14px !important; }
body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="articles"] .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] > .hm-compact-card__surface > .hm-card__body { display:grid !important; gap:10px !important; min-height:0 !important; height:auto !important; max-height:none !important; overflow:visible !important; padding:16px 8px 0 !important; }
body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="articles"] .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] > .hm-compact-card__surface .hm-card__title { display:-webkit-box !important; -webkit-box-orient:vertical !important; -webkit-line-clamp:3 !important; line-clamp:3 !important; max-height:none !important; height:auto !important; min-height:0 !important; margin:0 !important; font-family:var(--font-ui) !important; font-size:20px !important; line-height:1.35 !important; font-weight:650 !important; letter-spacing:-.018em !important; }
body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="articles"] .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] > .hm-compact-card__surface .hm-card__title > a { font:inherit !important; line-height:inherit !important; }
body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="articles"] .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] > .hm-compact-card__surface .hm-card__meta { flex-wrap:wrap !important; gap:8px !important; min-height:0 !important; font-size:11px !important; }
body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="articles"] .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] > .hm-compact-card__surface .hm-card__kicker, body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="articles"] .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] > .hm-compact-card__surface .hm-card__date { font-size:11px !important; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"] .hm-card__excerpt { display:none; }
body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="articles"] .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] > .hm-compact-card__surface .hm-card__excerpt { display:-webkit-box !important; -webkit-box-orient:vertical; -webkit-line-clamp:2; line-clamp:2; overflow:hidden; margin:0 !important; padding:0 !important; color:var(--muted) !important; font-family:var(--font-ui) !important; font-size:14px !important; line-height:1.55 !important; }
body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="articles"] .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] > .hm-compact-card__surface .hm-card__reading-meta { display:flex !important; margin-top:2px; }

.hm-card__reading-meta { display:flex; flex-wrap:wrap; align-items:center; gap:10px; color:var(--muted); font-family:var(--font-ui); font-size:12px; line-height:1.5; }
.hm-content-language { display:inline-flex; align-items:center; padding:1px 5px; border:1px solid var(--line); border-radius:3px; font-size:10px; font-weight:650; letter-spacing:.05em; }

/* Short introductions leave space for the content visitors came to browse. */
body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:is([data-page="articles"],[data-page="videos"]) .archive-intro { min-height:0 !important; padding-block:24px 28px !important; gap:24px !important; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:is([data-page="articles"],[data-page="videos"]) .archive-intro .page-title { max-width:25ch !important; margin-block:0 12px !important; font-family:var(--font-ui) !important; font-size:clamp(28px,3vw,42px) !important; line-height:1.12 !important; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:is([data-page="articles"],[data-page="videos"]) .archive-intro .page-lead { max-width:65ch !important; margin:0 !important; font-size:15px !important; line-height:1.55 !important; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:is([data-page="articles"],[data-page="videos"]) .archive-content { margin-block-start:0 !important; padding-block-start:0 !important; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"] .archive-toolbar { display:grid !important; grid-template-columns:minmax(220px,2fr) repeat(4,minmax(120px,1fr)) auto !important; gap:12px !important; align-items:end !important; padding:16px !important; margin:0 0 22px !important; }
body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="articles"] .archive-toolbar { grid-template-columns:minmax(220px,1fr) minmax(180px,240px) auto auto !important; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"] .archive-toolbar .field { min-width:0 !important; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"] .archive-toolbar .field > span { display:block !important; margin-bottom:5px; font-size:10px; line-height:1.4; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"] .archive-toolbar :is(input,select) { width:100% !important; min-width:0 !important; min-height:44px !important; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"][data-page="search"] .discovery-search-hero { min-height:0 !important; padding-block:24px !important; gap:18px !important; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"][data-page="search"] .discovery-search-hero .page-title { margin-bottom:20px !important; font-family:var(--font-ui) !important; font-size:clamp(28px,3vw,42px) !important; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"][data-page="search"] .discovery-filter-panel { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:12px !important; padding:16px 0 0 !important; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"][data-page="search"] .discovery-advanced-filters { margin-top:12px; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"][data-page="search"] .discovery-advanced-filters > summary { width:fit-content; min-height:44px; padding:10px 14px; border:1px solid var(--line); border-radius:6px; color:var(--text); font:600 13px/1.6 var(--font-ui); cursor:pointer; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"][data-page="search"] .discovery-advanced-filters > summary:focus-visible { outline:2px solid var(--brand); outline-offset:3px; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"][data-page="search"] .discovery-filter-count { display:inline-grid; min-width:22px; height:22px; margin-inline-start:6px; border-radius:50%; background:var(--brand); color:var(--on-brand); place-items:center; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"][data-page="search"] .discovery-filter-actions { grid-column:auto !important; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"][data-page="search"] .discovery-search-layout { margin-block-start:24px !important; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"][data-page="search"] .discovery-filter-panel .field { min-width:0; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"][data-page="search"] .discovery-filter-panel :is(input,select) { min-width:0 !important; width:100%; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"][data-page="search"] .discovery-filter-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:end; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"] .sign-in-link { color:var(--text) !important; background:transparent !important; border:1px solid var(--line) !important; box-shadow:none !important; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"][data-page="watch"] .video-transcript-panel.is-enhanced .video-transcript-follow { width:auto !important; min-height:36px !important; padding:7px 10px !important; border:1px solid var(--line) !important; border-radius:6px !important; color:var(--text) !important; background:transparent !important; font-size:12px !important; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"][data-page="watch"] .video-transcript-follow::before { content:''; display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--muted); margin-inline-end:7px; }
body[data-shell-profile="public-v1"][data-compact-card-system="v66"][data-page="watch"] .video-transcript-follow[aria-pressed="true"]::before { background:var(--brand); }
@media (max-width: 1099px) {
  body[data-shell-profile="public-v1"][data-compact-card-system="v66"] .archive-toolbar, body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="articles"] .archive-toolbar { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
  body[data-shell-profile="public-v1"][data-compact-card-system="v66"] .archive-toolbar > .field:first-child { grid-column:1 / -1; }
}
@media (max-width: 639px) {
  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:is([data-page="articles"],[data-page="videos"]) .archive-intro { padding-block:16px 20px !important; gap:14px !important; }
  body[data-shell-profile="public-v1"][data-compact-card-system="v66"]:is([data-page="articles"],[data-page="videos"]) .archive-stat { display:none !important; }
  body[data-shell-profile="public-v1"][data-compact-card-system="v66"] .archive-toolbar, body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="articles"] .archive-toolbar, body[data-shell-profile="public-v1"][data-compact-card-system="v66"][data-page="search"] .discovery-filter-panel { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:12px !important; }
  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="articles"] .archive-toolbar > .article-language-filter { grid-column:1 / -1; }
  body[data-shell-profile="public-v1"][data-card-system][data-compact-card-system="v66"][data-page="articles"] .hm-card--article[data-compact-card="v66"][data-card-owner="compact-v66"] > .hm-compact-card__surface .hm-card__title { font-size:19px !important; }
  body[data-shell-profile="public-v1"][data-compact-card-system="v66"][data-page="search"] .discovery-filter-actions { grid-column:1 / -1; }
}
