/* Native adaptations for long articles and the approved media cards. */
main.d60 { min-width: 0 !important; width: 100%; max-width: 100%; }
main.d60 .d60-showcase { padding: 0; background: transparent; }
main.d60 .v5-gallery .d60-showcase__heading { margin-bottom: 30px; }
main.d60 .v5-voice h3 { margin: 0 0 10px; font-size: 25px; }
main.d60 .v5-voice:nth-child(2) h3,
main.d60 .v5-voice:nth-child(3) h3 { color: #fff !important; }
main.d60 .v5-voice audio { display: block; width: 100%; max-width: 100%; margin-top: auto; }
main.d60 .v5-play { cursor: pointer; }
main.d60 .v5-play:focus-visible { outline: 3px solid #3b4173; outline-offset: 4px; }
main.d60 .v5-voice:nth-child(3) .v5-play:focus-visible { outline-color: #fff; }
main.d60 .v5-voice.is-playing .v5-disc { box-shadow: 0 0 0 5px rgba(193,73,46,.2); }
main.d60 .d60-playback-status { min-height: 0; font-size: 14px; }
main.d60 .d60-playback-status:not(:empty) { padding-top: 12px; }
main.d60 .d60-video-card { padding: 22px; border: 0; background: #3b4173; color: #fff; }
main.d60 .d60-video-card:first-child { background: #f7d8cd; color: #3b4173; }
main.d60 .d60-video-card figcaption { color: inherit !important; }
main.d60 .d60-video-card video { object-fit: cover; }
main.d60 .d60-scenario p { color: #fff !important; }
main.d60 .d60-process article:nth-child(1) { background: #3b4173; color: #fff; }
main.d60 .d60-process article:nth-child(2) { background: #f7d8cd; }
main.d60 .d60-process article:nth-child(3) { background: #dfe2f4; }
main.d60 .d60-process article:nth-child(1) :is(h3,p) { color: #fff !important; }
main.d60 .sb-section { padding: clamp(24px,4vw,48px) !important; margin: 28px 0; }
main.d60 .sb-section:nth-child(3n+1) a { color: #fff !important; text-decoration: underline; }
main.d60 .sb-section:nth-child(3n+1) .sb-steps>li::marker { color: #f7d8cd; }
main.d60 .sb-section .sg-table-wrap { background: #fff; color: #3b4173; }
main.d60 .sb-section .sg-table-wrap :is(th,td) { color: #3b4173 !important; }
main.d60 .sg-grid :is(.sg-card,.sg-card h3,.sg-card p) { min-width: 0; }
main.d60 .sg-hero-copy { min-width: 0; }
main.d60 .sg-status { border: 0 !important; }
main.d60 .fish-coming { border: 0 !important; padding-top: 0; }
main.d60 .sb-article { min-width: 0; }
main.d60 :is(.kg-card,.kg-mini-card,.kg-step,.suno-card,.suno-step,.suno-visual-card) {
  border: 0 !important; border-radius: 28px !important; box-shadow: none !important;
}
main.d60 :is(.kg-card,.kg-step,.suno-card,.suno-step):nth-child(3n+1) {
  background: #3b4173 !important; color: #fff !important;
}
main.d60 :is(.kg-card,.kg-step,.suno-card,.suno-step):nth-child(3n+1) :is(h2,h3,p,li,strong,b,a) {
  color: #fff !important;
}
main.d60 :is(.kg-card,.kg-step,.suno-card,.suno-step):nth-child(3n+2) { background: #f7d8cd !important; }
main.d60 :is(.kg-card,.kg-step,.suno-card,.suno-step):nth-child(3n) { background: #dfe2f4 !important; }
main.d60 :is(.kg-section--soft,.suno-section--paper) { background: #f8f2ef !important; }
main.d60 :is(.kg-btn,.suno-btn,.music-btn) { background: #c1492e !important; color: #fff !important; border-color: #c1492e !important; border-radius: 18px !important; }
main.d60 :is(.kg-btn,.suno-btn,.music-btn):focus-visible { outline: 3px solid #3b4173; outline-offset: 4px; }
main.d60 .v5-card-symbol { flex: 0 0 auto; }
main.d60 .sb-section pre,
main.d60 .sb-section code { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 680px) {
  main.d60 .v5-voices, main.d60 .v5-video-grid { grid-template-columns: minmax(0,1fr) !important; }
  main.d60 .d60-process { grid-template-columns: minmax(0,1fr); }
  main.d60 .d60-video-card { padding: 16px; }
  main.d60 .sb-section { padding: 22px !important; }
  main.d60 .sg-shell { width: calc(100% - 32px) !important; }
}
@media (prefers-reduced-motion: reduce) {
  main.d60 .v5-wave i { animation: none !important; }
}

/* Keep foreground and surface paired after the older visual layers. */
main.d60 .sg-grid .sg-card:nth-child(3n+1),
main.d60 .sg-grid .sg-card:nth-child(3n+1) :is(h3,p,li,strong,b,a) {
  color: #3b4173 !important;
}
main.d60 .sg-step-number {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  padding: 0 !important;
  text-indent: 0;
  font-variant-numeric: tabular-nums;
}
main.d60 .v5-voice:nth-child(2) :is(h3,p,.v5-label,.v5-duration),
main.d60 .v5-voice:nth-child(3) :is(h3,p,.v5-label,.v5-duration) {
  color: #fff !important;
}
main.d60.fish-page .fish-quick > div {
  background: #515787 !important;
}
main.d60.fish-page .fish-quick :is(strong,span) {
  color: #fff !important;
}

main.d60 .breadcrumbs.ai-breadcrumbs .breadcrumbs__item > span { color: #6b6f88 !important; }
main.d60 :is(.v5-play,.sg-button,.fish-btn,.ai-action) > span { color: inherit !important; }
main.d60 .d60-tags span { color: #fff !important; }
main.d60 .sb-section:nth-child(3n+1) :is(h2,h3,p,li,a,b,strong) { color: #fff !important; }
main.d60 .sb-section .sg-table-wrap th { background: #3b4173 !important; color: #fff !important; }
main.d60 .sb-section .sg-table-wrap td { background: #fff !important; color: #3b4173 !important; }
main.d60.fish-page .fish-cards > .fish-card:nth-child(3n+1) { background: #f7f7fa !important; color: #3b4173 !important; }
main.d60.fish-page .fish-cards > .fish-card:nth-child(3n+2) { background: #c1492e !important; color: #fff !important; }
main.d60.fish-page .fish-cards > .fish-card:nth-child(3n) { background: #3b4173 !important; color: #fff !important; }
main.d60.fish-page .fish-cards > .fish-card:nth-child(n) :is(h3,p) { color: inherit !important; }
main.d60.fish-page .fish-notice strong { color: #a83d25 !important; }

main.d60.ai-page :is(.ai-compact-card,.ai-benefit-card):nth-child(3n+1) { background: #f7f7fa !important; color: #3b4173 !important; }
main.d60.ai-page :is(.ai-compact-card,.ai-benefit-card):nth-child(3n+2) { background: #c1492e !important; color: #fff !important; }
main.d60.ai-page :is(.ai-compact-card,.ai-benefit-card):nth-child(3n) { background: #3b4173 !important; color: #fff !important; }
main.d60.ai-page .ai-calculator__summary a.ai-calculator__purchase-button { background: #fff !important; color: #3b4173 !important; }
main.d60.ai-page .ai-calculator__summary a.ai-calculator__purchase-button--tariff { background: #c1492e !important; color: #fff !important; }
main.d60 .d60-scenario strong { color: #fff !important; }
main.d60 .suno-tags span { background: #3b4173 !important; color: #fff !important; }
main.d60-rest .extract-quality__cards > article > span { color: #a83d25 !important; }
