.media-demo .header-inner { max-width: 1064px; }
.demo-badge { font-size: 13px; color: var(--muted); padding: 6px 11px; border: 1px solid var(--border); border-radius: 6px; }
.comparison-shell { max-width: 1064px; margin: auto; padding: 44px 32px 48px; }
.comparison-intro h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -1.25px; font-weight: 600; line-height: 1.2; }
.comparison-intro p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.comparison-controls { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: 32px; }
.comparison-modes { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--border); background: #171c13; border-radius: 9px; }
.comparison-modes button { min-height: 42px; padding: 8px 14px; border: 1px solid transparent; border-radius: 6px; color: #a9b49e; font-size: 14px; white-space: nowrap; }
.comparison-modes button[aria-pressed="true"] { background: #2b381f; border-color: #617c40; color: var(--lime); }
.act-select { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
.act-select select { border: 1px solid var(--border); border-radius: 7px; padding: 10px 34px 10px 12px; color: var(--text); background: #171c13; font-size: 15px; max-width: 100%; min-height: 46px; }
.comparison-context { color: #99ab88; font-size: 14px; margin: 20px 0 26px; }
.comparison-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.comparison-columns[data-layout="photos"], .comparison-columns[data-layout="spotify"] { grid-template-columns: minmax(0, 520px); justify-content: center; }
.comparison-columns [hidden] { display: none !important; }
.variant-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.variant-heading > span { font-size: 13px; color: var(--lime); border: 1px solid #53653c; border-radius: 6px; width: 34px; height: 34px; display: grid; place-items: center; }
.variant-heading h2 { font-size: 18px; font-weight: 600; }
.variant-heading p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.sample-card { background: var(--surface); border: 1px solid #3b4532; border-radius: 12px; overflow: hidden; }
.sample-card h3 { font-size: 25px; font-weight: 650; letter-spacing: -.65px; line-height: 1.3; overflow-wrap: anywhere; }
.sample-photo { display: block; width: 100%; height: auto; }
.sample-placeholder { min-height: 250px; display: grid; place-items: center; position: relative; overflow: hidden; background: var(--surface); }
.sample-placeholder > span { font-size: 92px; font-weight: 800; letter-spacing: -7px; color: hsl(var(--artist-hue) 30% 65% / .25); }
.sample-placeholder > small { position: absolute; bottom: 20px; color: #a9b49e; font-size: 14px; }
.sample-body { padding: 23px 20px 20px; }
.sample-credit { font-size: 13px; color: #97aa85; line-height: 1.65; margin: 9px 0 2px; }
.sample-credit a, .media-details a { color: #bdceaa; text-decoration: underline; text-underline-offset: 3px; }
.media-demo .rating-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
.media-demo .rating-button { min-height: 74px; flex-direction: column; justify-content: flex-start; gap: 8px; font-size: 14px; font-weight: 600; padding: 9px 4px; border-width: 2px; }
.media-demo .rating-button:not(.selected) { color: #fff; border-color: #d6d6d6; }
.media-demo .rating-button:not(.selected):hover { color: #fff; border-color: #fff; background: #353535; }
.media-demo .rating-button.selected { color: #1f1f1f; border-color: #fff; background: #fff; }
.media-demo .rating-2.selected { color: #273617; border-color: var(--lime); background: var(--lime); }
.media-demo .rating-button > .icon { width: 22px; height: 22px; stroke-width: 2.4; }
.media-demo .rating-button > span { white-space: normal; line-height: 1.25; }
.spotify-card { --spotify-surface: #1f1f1f; background: var(--spotify-surface); border-color: #3b3b3b; }
.spotify-title { padding: 20px 20px 10px; }
.spotify-slot { min-height: 152px; background: var(--spotify-surface); }
.spotify-slot iframe { display: block; border: 0; border-radius: 16px; background: var(--spotify-surface); width: 100%; height: 152px; }
.spotify-voting { padding: 20px; }
.media-demo .spotify-voting .rating-buttons { margin-top: 0; }
.spotify-consent { min-height: 240px; padding: 24px 22px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; background: var(--spotify-surface); }
.spotify-consent > .icon { width: 34px; height: 34px; color: var(--lime); margin-bottom: 20px; }
.spotify-consent h4 { font-size: 19px; font-weight: 550; }
.spotify-consent p { margin: 10px 0 22px; font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 290px; }
.spotify-consent .button { font-size: 14px; }
.provider-controls { color: var(--muted); display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; margin-top: 12px; }
.provider-controls a { text-decoration: underline; text-underline-offset: 3px; }
.provider-controls button { color: var(--muted); font-size: 13px; padding: 6px 0; }
.comparison-footer { display: flex; gap: 20px; justify-content: space-between; align-items: center; margin-top: 30px; font-size: 14px; color: var(--muted); }
.comparison-footer .text-button { flex-shrink: 0; }
.media-details { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; line-height: 1.8; }
.media-details summary { cursor: pointer; color: #b5c2a7; width: fit-content; }
.media-details p { margin-top: 16px; max-width: 780px; }
@media (max-width: 760px) {
  .comparison-shell { padding: 30px 20px 36px; }
  .comparison-controls { flex-wrap: wrap; gap: 18px; margin-top: 24px; }
  .comparison-modes { width: 100%; }
  .comparison-modes button { flex: 1; padding: 8px 10px; }
  .act-select { width: 100%; }
  .act-select select { width: 100%; }
  .comparison-columns { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .comparison-footer { display: block; margin-top: 24px; }
  .sample-body, .spotify-voting { padding: 20px 16px 16px; }
  .spotify-title { padding: 18px 16px 8px; }
  .sample-card h3 { font-size: 24px; }
  .demo-badge { font-size: 12px; }
}
