:root {
  --mc-canvas: #030405;
  --mc-bg: #08090b;
  --mc-surface: #12151a;
  --mc-surface-2: #1a1e24;
  --mc-line: rgba(232, 235, 239, .13);
  --mc-text: #f4f4f3;
  --mc-muted: #a9afb7;
  --mc-accent: #c0c6cc;
  --mc-brand: #00f19c;
  --mc-brand-bright: #35ffb5;
  --mc-brand-ink: #03110c;
  --mc-brand-soft: rgba(0, 241, 156, .12);
  --mc-brand-line: rgba(0, 241, 156, .34);
  --mc-focus: var(--mc-brand);
  --mc-radius: 18px;
  --mc-shadow: 0 34px 100px rgba(0, 0, 0, .42);
  --mc-pulse-fast: 180ms;
  --mc-pulse-medium: 260ms;
}

body.manucast-graphite {
  background:
    radial-gradient(circle at 14% 7%, rgba(0, 241, 156, .075), transparent 24%),
    radial-gradient(circle at 88% 34%, rgba(119, 127, 137, .085), transparent 28%),
    radial-gradient(circle at 48% 84%, rgba(0, 241, 156, .035), transparent 31%),
    linear-gradient(180deg, #030405 0%, #080a0d 48%, #030405 100%);
  background-attachment: fixed;
}

body.manucast-graphite::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255, 255, 255, .010) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .010) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

body.manucast-graphite ::selection {
  background: rgba(0, 241, 156, .82);
  color: var(--mc-brand-ink);
}

.manucast-graphite .manucast-site-frame {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .014), transparent 13%),
    var(--mc-bg);
}

@media (min-width: 1560px) {
  .manucast-graphite .manucast-site-frame {
    width: min(calc(100% - 40px), var(--mc-site-frame));
    border-inline: 1px solid rgba(255, 255, 255, .075);
    box-shadow:
      0 0 0 1px rgba(0, 241, 156, .026),
      0 0 70px rgba(0, 241, 156, .026),
      0 42px 120px rgba(0, 0, 0, .48);
  }
}

.manucast-graphite .manucast-main {
  background:
    radial-gradient(circle at 6% 14%, rgba(0, 241, 156, .036), transparent 24%),
    radial-gradient(circle at 94% 57%, rgba(74, 82, 93, .052), transparent 31%),
    var(--mc-bg);
}

/* Header: neutral glass with one clear brand action. */
.manucast-graphite .manucast-site-header {
  background: linear-gradient(180deg, rgba(6, 8, 10, .965), rgba(8, 11, 14, .86));
  border-bottom-color: rgba(255, 255, 255, .085);
  backdrop-filter: blur(26px) saturate(150%);
}

.manucast-graphite .manucast-wordmark b {
  color: var(--mc-brand);
}

.manucast-graphite .manucast-header-cta {
  background: linear-gradient(135deg, var(--mc-brand-bright), var(--mc-brand));
  color: var(--mc-brand-ink);
  box-shadow: 0 10px 28px rgba(0, 241, 156, .16);
}

.manucast-graphite .manucast-primary-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 2px;
  background: var(--mc-brand);
  opacity: .92;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--mc-pulse-fast) ease;
}

.manucast-graphite .manucast-primary-menu > .current-menu-item > a::after,
.manucast-graphite .manucast-primary-menu > li > a:hover::after,
.manucast-graphite .manucast-primary-menu > li > a:focus-visible::after {
  transform: scaleX(1);
}

.manucast-graphite .manucast-primary-menu .sub-menu {
  border-color: rgba(255, 255, 255, .10);
  background: rgba(13, 17, 21, .97);
}

/* Brand language: micro labels are energetic, long-form text stays neutral. */
.manucast-graphite .manucast-eyebrow,
.manucast-graphite .manucast-text-link,
.manucast-graphite .manucast-feature-copy > span,
.manucast-graphite .manucast-show-art span,
.manucast-graphite .manucast-show-copy > a,
.manucast-graphite .manucast-blog-card > div > span,
.manucast-graphite .manucast-ranking-full > header > span {
  color: color-mix(in srgb, var(--mc-brand), white 16%);
}

.manucast-graphite .manucast-section-head > a {
  transition: color var(--mc-pulse-fast) ease;
}

/* Hero: color treatment only. The controller remains in the Framework. */
.manucast-graphite .manucast-hero::after {
  background:
    radial-gradient(circle at 82% 12%, rgba(0, 241, 156, .10), transparent 27%),
    linear-gradient(90deg, rgba(5, 7, 10, var(--hero-overlay-strong, .92)) 0%, rgba(5, 7, 10, var(--hero-overlay-mid, .76)) 36%, rgba(5, 7, 10, var(--hero-overlay-soft, .18)) 70%),
    linear-gradient(0deg, rgba(5, 7, 10, var(--hero-overlay-bottom, .90)) 0%, transparent 44%);
}

.manucast-graphite .manucast-hero .manucast-button:not(.is-secondary),
.manucast-graphite .manucast-feature-play,
.manucast-graphite .manucast-episode-card .manucast-card-play,
.manucast-graphite .manucast-top-item > .manucast-card-play,
.manucast-graphite .manucast-ranking-full .manucast-play-button,
.manucast-graphite .manucast-newsletter-card button,
.manucast-graphite .manucast-footer-cta .manucast-button:not(.is-secondary) {
  background: linear-gradient(135deg, var(--mc-brand-bright), var(--mc-brand));
  color: var(--mc-brand-ink);
  box-shadow: 0 12px 30px rgba(0, 241, 156, .14);
  transition:
    background var(--mc-pulse-fast) ease,
    box-shadow var(--mc-pulse-fast) ease,
    transform var(--mc-pulse-fast) ease;
}

.manucast-graphite .manucast-hero-dots button.is-active,
.manucast-graphite .manucast-hero-progress i {
  background-color: var(--mc-brand);
  box-shadow: 0 0 18px rgba(0, 241, 156, .28);
}

.manucast-graphite .manucast-feature-card {
  background:
    linear-gradient(145deg, rgba(29, 34, 40, .88), rgba(10, 12, 15, .80));
  border-color: rgba(255, 255, 255, .15);
}

.manucast-graphite .manucast-hero.is-reduced-motion .manucast-hero-progress,
.manucast-graphite .manucast-hero.is-reduced-motion [data-hero-pause],
.manucast-graphite .manucast-hero.is-autoplay-disabled .manucast-hero-progress,
.manucast-graphite .manucast-hero.is-autoplay-disabled [data-hero-pause] {
  display: none;
}

/* Sections keep the premium rhythm; selected areas receive low-energy green light. */
.manucast-graphite .manucast-section + .manucast-section {
  border-top-color: rgba(255, 255, 255, .065);
}

.manucast-graphite .manucast-section:nth-of-type(3n + 1)::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 92% 15%, rgba(0, 241, 156, .032), transparent 27%);
}

/* Top 5 and full ranking: #1 owns the brand; the remaining positions stay graphite. */
.manucast-graphite .manucast-rank-number,
.manucast-graphite .manucast-top-item > .manucast-top-number {
  color: rgba(240, 241, 242, .58);
  transition: color var(--mc-pulse-fast) ease, filter var(--mc-pulse-fast) ease;
}

.manucast-graphite .manucast-top-item:first-child > .manucast-top-number,
.manucast-graphite .manucast-ranking-full li:first-child .manucast-rank-number {
  color: var(--mc-brand);
  filter: drop-shadow(0 0 16px rgba(0, 241, 156, .14));
}

.manucast-graphite .manucast-top-item:first-child .manucast-top-copy > span,
.manucast-graphite .manucast-ranking-full li:first-child .rank-copy > span {
  color: color-mix(in srgb, var(--mc-brand), white 14%);
}

.manucast-graphite .manucast-ranking-full li {
  transition:
    transform var(--mc-pulse-medium) cubic-bezier(.2, .75, .2, 1),
    border-color var(--mc-pulse-fast) ease,
    background-color var(--mc-pulse-fast) ease,
    box-shadow var(--mc-pulse-fast) ease;
}

.manucast-graphite .manucast-ranking-full li:first-child {
  border-color: rgba(0, 241, 156, .20);
  box-shadow: inset 3px 0 var(--mc-brand), inset 0 1px rgba(255, 255, 255, .03);
}

/* Episode cards: subtle lift, faster response and a brand pulse line. */
.manucast-graphite .manucast-card-art {
  position: relative;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .055),
    0 24px 58px rgba(0, 0, 0, .30);
  transition:
    transform var(--mc-pulse-medium) cubic-bezier(.2, .75, .2, 1),
    box-shadow var(--mc-pulse-fast) ease;
}

.manucast-graphite .manucast-card-art::after {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  content: "";
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--mc-brand), transparent);
  transform: scaleX(.24);
  transform-origin: center;
  transition: opacity var(--mc-pulse-fast) ease, transform var(--mc-pulse-medium) ease;
}

.manucast-graphite .manucast-card-badge {
  box-shadow: inset 0 0 0 1px rgba(0, 241, 156, .08);
}

/* Originals, blog and editorial cards retain their geometry and gain a lighter response. */
.manucast-graphite .manucast-show-card,
.manucast-graphite .manucast-blog-card {
  box-shadow: 0 24px 58px rgba(0, 0, 0, .28);
  transition:
    transform var(--mc-pulse-medium) cubic-bezier(.2, .75, .2, 1),
    border-color var(--mc-pulse-fast) ease,
    box-shadow var(--mc-pulse-fast) ease;
}

.manucast-graphite .manucast-show-art img,
.manucast-graphite .manucast-blog-art img,
.manucast-graphite .manucast-top-art img,
.manucast-graphite .manucast-card-art img {
  transition-duration: var(--mc-pulse-medium);
  transition-timing-function: cubic-bezier(.2, .75, .2, 1);
}

/* Channel color remains semantic; Graphite only sharpens material response. */
.manucast-graphite .manucast-channel {
  box-shadow: inset 0 1px rgba(255, 255, 255, .05), 0 18px 45px rgba(0, 0, 0, .22);
  transition-duration: var(--mc-pulse-medium);
}

.manucast-graphite .manucast-newsletter-card {
  background:
    radial-gradient(circle at 92% 0%, rgba(0, 241, 156, .08), transparent 34%),
    linear-gradient(120deg, #171c22, #0e1115);
}

/* Footer closes the frame with a low-intensity brand glow. */
.manucast-graphite .manucast-site-footer {
  background:
    radial-gradient(circle at 10% 12%, rgba(0, 241, 156, .052), transparent 27%),
    radial-gradient(circle at 88% 25%, rgba(255, 255, 255, .035), transparent 30%),
    linear-gradient(180deg, #0b0d10, #060708);
}

.manucast-graphite .manucast-footer-glow {
  background: radial-gradient(ellipse, rgba(0, 241, 156, .065), transparent 68%);
}

.manucast-graphite .manucast-footer-cta {
  border-color: rgba(0, 241, 156, .14);
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 241, 156, .07), transparent 38%),
    linear-gradient(145deg, rgba(31, 36, 43, .86), rgba(14, 17, 21, .9));
}

/* Hover enhancement is limited to devices that actually hover. */
@media (hover: hover) and (pointer: fine) {
  .manucast-graphite .manucast-header-cta:hover,
  .manucast-graphite .manucast-hero .manucast-button:not(.is-secondary):hover,
  .manucast-graphite .manucast-feature-play:hover,
  .manucast-graphite .manucast-episode-card .manucast-card-play:hover,
  .manucast-graphite .manucast-top-item > .manucast-card-play:hover,
  .manucast-graphite .manucast-ranking-full .manucast-play-button:hover,
  .manucast-graphite .manucast-newsletter-card button:hover,
  .manucast-graphite .manucast-footer-cta .manucast-button:not(.is-secondary):hover {
    background: var(--mc-brand-bright);
    box-shadow: 0 14px 34px rgba(0, 241, 156, .22);
    transform: translateY(-1px);
  }

  .manucast-graphite :is(.manucast-icon-button, .manucast-explore-button):hover {
    border-color: var(--mc-brand-line);
    background: var(--mc-brand-soft);
  }

  .manucast-graphite .manucast-section-head > a:hover,
  .manucast-graphite .manucast-social-menu a:hover {
    color: var(--mc-brand-bright);
  }

  .manucast-graphite .manucast-social-menu a:hover {
    border-color: var(--mc-brand-line);
  }

  .manucast-graphite .manucast-episode-card:hover .manucast-card-art,
  .manucast-graphite .manucast-episode-card:focus-within .manucast-card-art {
    transform: translateY(-3px);
    box-shadow:
      inset 0 0 0 1px rgba(0, 241, 156, .20),
      0 26px 62px rgba(0, 0, 0, .34),
      0 0 28px rgba(0, 241, 156, .035);
  }

  .manucast-graphite .manucast-episode-card:hover .manucast-card-art::after,
  .manucast-graphite .manucast-episode-card:focus-within .manucast-card-art::after {
    opacity: .88;
    transform: scaleX(1);
  }

  .manucast-graphite .manucast-show-card:hover,
  .manucast-graphite .manucast-show-card:focus-within,
  .manucast-graphite .manucast-blog-card:hover,
  .manucast-graphite .manucast-blog-card:focus-within {
    transform: translateY(-3px);
    border-color: rgba(0, 241, 156, .22);
    box-shadow: 0 28px 66px rgba(0, 0, 0, .34);
  }

  .manucast-graphite .manucast-show-card:hover .manucast-show-art img,
  .manucast-graphite .manucast-show-card:focus-within .manucast-show-art img,
  .manucast-graphite .manucast-blog-card:hover .manucast-blog-art img,
  .manucast-graphite .manucast-blog-card:focus-within .manucast-blog-art img {
    transform: scale(1.022);
  }

  .manucast-graphite .manucast-top-item:hover > .manucast-top-number,
  .manucast-graphite .manucast-top-item:focus-within > .manucast-top-number,
  .manucast-graphite .manucast-ranking-full li:hover .manucast-rank-number,
  .manucast-graphite .manucast-ranking-full li:focus-within .manucast-rank-number {
    color: var(--mc-brand);
    filter: drop-shadow(0 0 14px rgba(0, 241, 156, .12));
  }

  .manucast-graphite .manucast-ranking-full li:hover,
  .manucast-graphite .manucast-ranking-full li:focus-within {
    border-color: rgba(0, 241, 156, .22);
    background-color: #11181a;
    box-shadow: inset 3px 0 rgba(0, 241, 156, .72), inset 0 1px rgba(255, 255, 255, .03);
  }
}

/* Progressive visual enhancement. Content is never hidden unless JS opts in. */
.manucast-graphite .is-graphite-reveal-ready {
  opacity: .01;
  transform: translateY(8px);
  transition:
    opacity .42s ease,
    transform .48s cubic-bezier(.2, .75, .2, 1);
}

.manucast-graphite .is-graphite-reveal-ready.is-graphite-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .manucast-graphite .is-graphite-reveal-ready {
    opacity: 1;
    transform: none;
  }

  .manucast-graphite .manucast-card-art,
  .manucast-graphite .manucast-show-card,
  .manucast-graphite .manucast-blog-card,
  .manucast-graphite .manucast-ranking-full li {
    transform: none !important;
  }
}
