.mndc {
    --mndc-bg: #151515;
    --mndc-border: #3d3d3d;
    --mndc-accent: #be1734;
    --mndc-text: #fff;
    --mndc-muted: #dedede;
    margin-block: 1.5rem;
}
.mndc-card {
    background: var(--mndc-bg);
    border: 1px solid var(--mndc-border);
    border-radius: 12px;
    color: var(--mndc-text);
    margin-block: 0 1rem;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: clamp(1rem, 3vw, 1.5rem);
}
.mndc-card h2,
.mndc-card h3,
.mndc-card a,
.mndc-card label { color: var(--mndc-text); }
.mndc-card a:not(.mndc-button) { text-decoration: underline; }
.mndc-card h2,
.mndc-card h3 { margin-top: 0; }
.mndc-card audio { display: block; margin: .75rem 0; width: 100%; }
.mndc-card:target { outline: 3px solid var(--mndc-accent); scroll-margin-top: 7rem; }
.mndc-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}
.mndc-schedule {
    display: grid;
    gap: .75rem 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
    margin: 1rem 0;
}
.mndc-schedule dt { color: var(--mndc-muted); font-size: .9em; }
.mndc-schedule dd { margin: 0; }
.mndc-card summary { cursor: pointer; margin: .75rem 0; }
.mndc-card label { display: block; margin: .75rem 0; }
.mndc-card input:not([type="checkbox"]):not([type="hidden"]) {
    background: #fff;
    border: 1px solid #bbb;
    border-radius: 6px;
    color: #151515;
    display: block;
    margin-top: .25rem;
    min-width: 0;
    padding: .55rem;
    width: 100%;
}
.mndc-card .mndc-check { align-items: baseline; display: flex; gap: .6rem; }
.mndc-card small { display: block; }
.mndc .mndc-button {
    background: var(--mndc-accent);
    border: 1px solid transparent;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font: inherit;
    font-weight: 700;
    padding: .6rem .9rem;
    text-decoration: none;
}
.mndc .mndc-button:hover { background: #9f1029; color: #fff; }
.mndc .mndc-button:focus-visible, .mndc a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.mndc-copy, .mndc-actions { align-items: center; display: flex; flex-wrap: wrap; gap: .6rem; }
.mndc-copy input { flex: 1 1 15rem; }
.mndc-artist-entry { border-top: 1px solid var(--mndc-border); margin-top: 1rem; padding-top: 1rem; }
.mndc-notice { border-left: .2rem solid #be1734; padding: .4rem .7rem; }
.mndc-results li { margin-block: .35rem; }

.mndc-hero {
    align-items: center;
    background: #171013 url("challenge-hero.webp") center right / cover no-repeat;
    border: 1px solid var(--mndc-border);
    border-radius: 14px;
    box-sizing: border-box;
    display: flex;
    margin-block-end: 1.5rem;
    min-height: clamp(255px, 35vw, 440px);
    overflow-wrap: anywhere;
    padding: clamp(1.25rem, 5vw, 4rem);
}
.mndc-hero-copy { max-width: min(60%, 36rem); }
.mndc-hero .mndc-hero-status {
    color: #ffd2da;
    font-size: .95rem;
    font-weight: 700;
    margin: 0 0 .65rem;
}
.mndc-hero h2 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;
    margin: 0 0 1.25rem;
}
#mndc-schedule, #mndc-entry, #mndc-ballot { scroll-margin-top: 7rem; }
@media (max-width: 600px) {
    .mndc-hero {
        background-image: linear-gradient(90deg, #090607 8%, #090607d9 39%, #0906071a 100%), url("challenge-hero.webp");
        background-position: center, 84% center;
    }
    .mndc-hero-copy { max-width: 74%; }
}

.mndc .mndc-home-cta {
    align-items: center;
    background: #171013;
    border: 1px solid var(--mndc-border);
    border-radius: 10px;
    box-sizing: border-box;
    color: #fff;
    display: flex;
    isolation: isolate;
    max-width: 640px;
    min-height: 88px;
    overflow: hidden;
    padding: .85rem clamp(4.5rem, 18vw, 11rem) .85rem clamp(.95rem, 3vw, 1.5rem);
    position: relative;
    text-decoration: none;
}
.mndc-home-cta .mndc-home-art {
    display: block;
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: right center;
    position: absolute;
    width: 100%;
    z-index: -2;
}
.mndc-home-cta::before {
    background: linear-gradient(90deg, #090607 0%, #090607dd 42%, #09060755 72%, transparent 100%);
    content: "";
    inset: 0;
    position: absolute;
    z-index: -1;
}
.mndc-home-cta span {
    font-size: clamp(1.05rem, 2.4vw, 1.5rem);
    font-weight: 700;
    line-height: 1.2;
}
.mndc-home-cta:hover span { text-decoration: underline; }
.mndc .mndc-home-cta:focus-visible { outline: 2px solid var(--mndc-accent); outline-offset: 3px; }

.mndc-directory {
    box-sizing: border-box;
    margin-inline: auto;
    max-width: 1200px;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
}
.mndc-directory .mndc-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;
    margin: 0 0 .75rem;
}
.mndc-directory .mndc-hero p { color: #fff; margin: 0; }
.mndc-directory-card {
    border-top: 3px solid var(--mndc-accent);
    margin: 0;
}
.mndc-directory-card .mndc-directory-status {
    color: #ffd2da;
    font-weight: 700;
    margin: 0 0 .5rem;
}

.mndc-hero.mndc-custom-hero {
    background: #171013;
    isolation: isolate;
    overflow: hidden;
    position: relative;
}
.mndc-custom-hero .mndc-round-art,
.mndc-custom-hero::before {
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
}
.mndc-custom-hero .mndc-round-art {
    object-fit: cover;
    object-position: right center;
    z-index: -2;
}
.mndc-custom-hero::before {
    background: linear-gradient(90deg, #090607 0%, #090607dd 37%, #09060745 100%);
    content: "";
    z-index: -1;
}
.mndc-hero .mndc-series {
    color: #fff;
    font-weight: 700;
    margin: 0 0 .4rem;
}
.mndc-round-details .mndc-card { border-top: 3px solid var(--mndc-accent); }
.mndc-lineup-identity {
    align-items: center;
    display: flex;
    gap: .9rem;
}
.mndc-lineup-identity h3,
.mndc-lineup-identity p { margin: 0; }
.mndc-lineup-identity .mndc-artist-photo {
    border-radius: 10px;
    flex: 0 0 auto;
    height: 64px;
    object-fit: cover;
    width: 64px;
}
.mndc-winner {
    background: #32141d;
    border: 1px solid #bf526a;
    border-radius: 10px;
    margin-block: 1rem;
    padding: 1rem;
}
.mndc-winner .mndc-artist-photo { height: 84px; width: 84px; }

.mndc-entry-card {
    border-top: 3px solid var(--mndc-accent);
}
.mndc-entry-card .mndc-artist-photo {
    height: clamp(76px, 12vw, 112px);
    width: clamp(76px, 12vw, 112px);
}
.mndc-entry-card .mndc-photo-placeholder {
    background: #241317 url("challenge-hero.webp") right center / cover;
}
.mndc-entry-card .mndc-lineup-identity p {
    color: #ffd2da;
    margin-top: .25rem;
}
.mndc-player { margin-block: 1rem; }
.mndc-player [hidden] { display: none; }
.mndc-player-controls {
    align-items: center;
    background: #1f1519;
    border: 1px solid #50323c;
    border-radius: 10px;
    display: grid;
    gap: .7rem;
    grid-template-columns: auto minmax(24px, 1fr) auto;
    padding: .55rem .7rem;
}
.mndc-player-controls .mndc-player-toggle {
    align-items: center;
    background: var(--mndc-accent);
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: grid;
    height: 44px;
    padding: 0;
    place-items: center;
    width: 44px;
}
.mndc-player-toggle:focus-visible,
.mndc-player-controls input:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.mndc-player-toggle span {
    border-block: 7px solid transparent;
    border-left: 11px solid currentColor;
    margin-left: 3px;
}
.mndc-player-toggle.is-playing span {
    border: 0;
    border-inline: 4px solid currentColor;
    box-sizing: border-box;
    height: 14px;
    margin: 0;
    width: 12px;
}
.mndc-player-controls input[type="range"] {
    accent-color: #ec456a;
    margin: 0;
    min-width: 0;
    width: 100%;
}
.mndc-player-time { color: #ffd2da; font-size: .75rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mndc-player-error { color: #ffd2da; font-size: .875rem; }
