/* =========================================================
   3.9.15 – CODE-AUDIT / KONSOLIDIERUNGSSTAND
   Historische Responsive-Regeln bleiben erhalten, sofern ihre
   vollständige semantische Gleichwertigkeit nicht sicher beweisbar ist.
   Neue Mobile-Künstlerkopf-Regeln liegen konsolidiert in 3.9.14.
   ========================================================= */

/* =========================================================
   ARA 2026 – VOTING PROTOTYPE
   Desktop-first
   ========================================================= */

.voting-page {
    min-height: 100vh;
}

.voting-header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--white);
}

.voting-header-label,
.sidebar-label {
    color: var(--gold-soft);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.voting-header-center strong {
    font-size: 13px;
}

.voting-exit {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 16px;
    color: #d7d7d7;
    font-size: 13px;
    font-weight: 700;
}

.voting-exit:hover {
    border-color: var(--gold);
    color: var(--gold-soft);
}

.voting-main {
    min-height: calc(100vh - 92px);
}

.voting-intro {
    position: relative;
    padding: 62px 0 28px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.voting-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 10%, rgba(198,169,40,0.10), transparent 34%),
        linear-gradient(90deg, rgba(198,169,40,0.035), transparent 50%);
    pointer-events: none;
}

.voting-progress-meta {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-end;
}

.voting-progress-meta h1 {
    margin-top: 10px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.progress-counter {
    min-width: 115px;
    text-align: right;
}

.progress-counter strong {
    display: block;
    color: var(--gold);
    font-size: 30px;
}

.progress-counter span {
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.progress-track {
    position: relative;
    height: 5px;
    margin-top: 34px;
    overflow: hidden;
    background: #1e1e1e;
}

.progress-fill {
    width: 0;
    height: 100%;
    background: var(--gold);
    transition: width 220ms ease;
}

.voting-content {
    padding: 48px 0 90px;
}

.voting-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 54px;
    align-items: start;
}

.category-sidebar {
    position: sticky;
    top: 128px;
}

.category-navigation {
    display: flex;
    flex-direction: column;
    margin-top: 18px;
    border-top: 1px solid var(--line);
}

.category-nav-item {
    position: relative;
    width: 100%;
    padding: 15px 12px 15px 26px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: #8e8e8e;
    text-align: left;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.category-nav-item::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: #393939;
}

.category-nav-item:hover {
    color: var(--white);
}

.category-nav-item.is-current {
    color: var(--gold-soft);
    font-weight: 800;
}

.category-nav-item.is-current::before {
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(198,169,40,0.12);
}

.category-nav-item.is-complete::before {
    background: var(--gold-dark);
}

.sidebar-note {
    margin-top: 32px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.09);
    background: #101010;
}

.sidebar-note strong {
    color: var(--gold-soft);
    font-size: 12px;
}

.sidebar-note p {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.6;
}

.category-stage {
    min-width: 0;
}

.category-head {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-end;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--line);
}

.category-overline {
    color: var(--gold-soft);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.category-head h2 {
    margin-top: 8px;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.category-description {
    max-width: 700px;
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 14px;
}

.selection-status {
    min-width: 100px;
    text-align: right;
}

.selection-status > span {
    display: block;
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.selection-status strong {
    display: block;
    margin-top: 4px;
    color: var(--gold);
    font-size: 32px;
}

.category-video {
    margin-top: 22px;
    min-height: 86px;
    padding: 17px 20px;
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 17px;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.09);
    background: linear-gradient(90deg, rgba(198,169,40,0.07), rgba(255,255,255,0.02));
}

.video-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 50%;
    font-size: 13px;
}

.category-video span {
    display: block;
    color: var(--gold-soft);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.category-video strong {
    display: block;
    margin-top: 3px;
    font-size: 14px;
}

.category-video button {
    padding: 9px 14px;
    border: 1px solid #333;
    background: #181818;
    color: #666;
    font: inherit;
    font-size: 11px;
    cursor: not-allowed;
}

.nominees-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.nominee-card {
    position: relative;
    min-height: 112px;
    display: grid;
    grid-template-columns: 76px 1fr 34px;
    gap: 16px;
    align-items: center;
    padding: 17px;
    border: 1px solid rgba(255,255,255,0.09);
    background: #111111;
    cursor: pointer;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

.nominee-card:hover {
    transform: translateY(-2px);
    border-color: rgba(198,169,40,0.45);
}

.nominee-card.is-selected {
    border-color: var(--gold);
    background: linear-gradient(90deg, rgba(198,169,40,0.10), #111111 60%);
}

.nominee-card.is-blocked:not(.is-selected) {
    opacity: 0.45;
}

.nominee-cover {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(145deg, rgba(198,169,40,0.22), rgba(255,255,255,0.03)),
        #1a1a1a;
    color: var(--gold-soft);
    font-size: 24px;
    font-weight: 900;
}

.nominee-meta {
    min-width: 0;
}

.nominee-number {
    color: #656565;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.nominee-title {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: var(--white);
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nominee-artist {
    display: block;
    margin-top: 3px;
    color: var(--text-muted);
    font-size: 12px;
}

.nominee-checkbox {
    appearance: none;
    width: 24px;
    height: 24px;
    border: 1px solid #555;
    background: #0b0b0b;
    cursor: pointer;
}

.nominee-checkbox:checked {
    border-color: var(--gold);
    background:
        linear-gradient(135deg, transparent 43%, #090909 43%, #090909 54%, transparent 54%),
        linear-gradient(45deg, transparent 49%, #090909 49%, #090909 59%, transparent 59%),
        var(--gold);
}

.limit-message {
    min-height: 24px;
    margin-top: 14px;
    color: var(--gold-soft);
    font-size: 12px;
}

.voting-navigation {
    margin-top: 32px;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
}

.voting-navigation-right {
    display: flex;
    gap: 11px;
}

.vote-nav-button {
    min-height: 47px;
    padding: 0 19px;
    border: 0;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.vote-nav-primary {
    background: var(--gold);
    color: var(--black);
}

.vote-nav-secondary {
    border: 1px solid rgba(255,255,255,0.18);
    background: transparent;
    color: #d8d8d8;
}

.vote-nav-button:disabled {
    opacity: 0.32;
    cursor: not-allowed;
}

.summary-screen {
    padding: 75px 0 110px;
}

.summary-container {
    max-width: 900px;
}

.summary-container h2 {
    margin-top: 9px;
    font-size: 58px;
    letter-spacing: -0.04em;
}

.summary-lead {
    max-width: 680px;
    margin-top: 18px;
    color: var(--text-muted);
}

.summary-list {
    margin-top: 40px;
    border-top: 1px solid var(--line);
}

.summary-category {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.summary-category h3 {
    font-size: 17px;
}

.summary-category p {
    color: var(--text-muted);
    font-size: 13px;
}

.summary-selections {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.summary-pill {
    padding: 7px 10px;
    border: 1px solid rgba(198,169,40,0.35);
    color: var(--gold-soft);
    font-size: 11px;
}

.summary-empty {
    color: #666;
    font-size: 12px;
}

.summary-actions {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
    gap: 11px;
}

.toast {
    position: fixed;
    right: 28px;
    bottom: 28px;
    max-width: 340px;
    padding: 13px 16px;
    border: 1px solid var(--gold);
    background: #151515;
    color: var(--gold-soft);
    font-size: 12px;
    line-height: 1.5;
    box-shadow: 0 12px 30px rgba(0,0,0,0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    z-index: 500;
    transition: 180ms ease;
}

.toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 1050px) {
    .voting-layout {
        grid-template-columns: 1fr;
    }

    .category-sidebar {
        position: static;
    }

    .category-navigation {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .nominees-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .voting-header-center {
        display: none;
    }

    .voting-progress-meta,
    .category-head,
    .voting-navigation {
        align-items: stretch;
        flex-direction: column;
    }

    .progress-counter,
    .selection-status {
        text-align: left;
    }

    .category-navigation {
        grid-template-columns: 1fr;
    }

    .voting-navigation-right,
    .summary-actions {
        flex-direction: column;
    }

    .category-video {
        grid-template-columns: 45px 1fr;
    }

    .category-video button {
        display: none;
    }

    .summary-category {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   KATEGORIENÜBERSICHT – AUSKLAPPBAR + STATUS
   ========================================================= */

.category-sidebar {
    position: sticky;
    top: 128px;
}

.category-toggle {
    width: 100%;
    padding: 14px 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--white);
    text-align: left;
    cursor: pointer;
}

.category-toggle > span:first-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.category-toggle strong {
    font-size: 15px;
}

.category-toggle-icon {
    color: var(--gold-soft);
    font-size: 16px;
    transition: transform 180ms ease;
}

.category-toggle[aria-expanded="false"] .category-toggle-icon {
    transform: rotate(180deg);
}

.category-panel {
    overflow: hidden;
    max-height: 720px;
    opacity: 1;
    transition:
        max-height 220ms ease,
        opacity 180ms ease;
}

.category-panel.is-collapsed {
    max-height: 0;
    opacity: 0;
}

.category-navigation {
    margin-top: 0;
}

.category-nav-item {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 14px 8px 14px 4px;
}

.category-nav-item::before {
    display: none;
}

.category-nav-index {
    color: #555;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.category-nav-name {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.category-nav-status {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 1px solid #393939;
    border-radius: 50%;
    color: #666;
    font-size: 12px;
    font-weight: 900;
}

.category-nav-item.is-current {
    color: var(--gold-soft);
}

.category-nav-item.is-current .category-nav-status {
    border-color: var(--gold);
}

.category-nav-item.status-complete .category-nav-status {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--black);
}

.category-nav-item.status-partial .category-nav-status {
    border-color: var(--gold-dark);
    color: var(--gold-soft);
}

.category-nav-item.status-empty .category-nav-status {
    border-color: #555;
    color: #777;
}

.category-nav-item.is-locked {
    color: #4f4f4f;
    cursor: not-allowed;
}

.category-nav-item.is-locked .category-nav-index,
.category-nav-item.is-locked .category-nav-status {
    opacity: 0.45;
}

.category-nav-item.is-locked:hover {
    color: #4f4f4f;
}

.category-legend {
    margin-top: 20px;
    padding: 14px 0;
    display: grid;
    gap: 8px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--text-muted);
    font-size: 10px;
}

.category-legend > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-icon {
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border: 1px solid #444;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 900;
}

.legend-icon.is-complete {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--black);
}

.legend-icon.is-partial {
    border-color: var(--gold-dark);
    color: var(--gold-soft);
}

.legend-icon.is-empty {
    color: #777;
}

@media (max-width: 1050px) {
    .category-sidebar {
        position: static;
    }

    .category-navigation {
        display: flex;
        flex-direction: column;
    }
}

/* =========================================================
   KATEGORIE-VIDEO – THUMBNAIL + MODAL
   ========================================================= */

.category-video-preview {
    margin-top: 24px;
}

.video-thumbnail-button {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(198, 169, 40, 0.55);
    background: #050505;
    cursor: pointer;
    aspect-ratio: 16 / 9;
}

.video-thumbnail-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 220ms ease,
        filter 220ms ease;
}

.video-thumbnail-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.02) 30%,
        rgba(0,0,0,0.44) 100%
    );
}

.video-play-button {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    padding-left: 5px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background: rgba(9,9,9,0.90);
    color: var(--gold-soft);
    font-size: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    transition:
        transform 180ms ease,
        background 180ms ease;
}

.video-thumbnail-text {
    position: absolute;
    left: 22px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.video-thumbnail-text small {
    color: var(--gold-soft);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.video-thumbnail-text strong {
    margin-top: 3px;
    color: var(--white);
    font-size: 14px;
}

.video-thumbnail-button:hover .video-thumbnail-image {
    transform: scale(1.015);
    filter: brightness(0.82);
}

.video-thumbnail-button:hover .video-play-button {
    transform: scale(1.08);
    background: var(--gold);
    color: var(--black);
}

/* Video Modal */

.video-modal[hidden] {
    display: none;
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 36px;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(8px);
}

.video-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(1180px, 92vw);
}

.video-modal-frame {
    width: 150px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 1px solid var(--gold);
    background: #000;
    box-shadow: 0 25px 90px rgba(0,0,0,0.75);
}

.video-modal-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-modal-close {
    position: absolute;
    right: -14px;
    top: -48px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--gold);
    background: #111;
    color: var(--gold-soft);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.video-modal-close:hover {
    background: var(--gold);
    color: var(--black);
}

@media (max-width: 760px) {
    .video-play-button {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }

    .video-thumbnail-text {
        left: 14px;
        bottom: 12px;
    }

    .video-modal {
        padding: 16px;
    }

    .video-modal-dialog {
        width: 100%;
    }

    .video-modal-close {
        right: 0;
        top: -46px;
    }
}

/* =========================================================
   DATENGESTEUERTE THUMBNAILS / COVERS
   ========================================================= */

.video-thumbnail-button.is-unavailable {
    cursor: not-allowed;
    opacity: 0.35;
}

.video-thumbnail-button.is-unavailable .video-play-button {
    display: none;
}

.nominee-cover-image {
    overflow: hidden;
}

.nominee-cover-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================
   SIDEBAR LINKS EINKLAPPEN + VOTING ZENTRIEREN
   ========================================================= */

.voting-layout {
    transition:
        grid-template-columns 220ms ease,
        gap 220ms ease;
}

.voting-layout.sidebar-collapsed {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 26px;
}

.voting-layout.sidebar-collapsed .category-stage {
    width: min(100%, 1040px);
    justify-self: center;
}

.category-sidebar {
    transition: width 220ms ease;
}

.category-toggle {
    position: relative;
}

.category-toggle-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition:
        opacity 160ms ease,
        transform 160ms ease;
}

.category-toggle-icon {
    flex: 0 0 auto;
    font-size: 24px;
    line-height: 1;
    transition: transform 180ms ease;
}

.category-toggle[aria-expanded="false"] {
    justify-content: center;
    padding-inline: 0;
}

.category-toggle[aria-expanded="false"] .category-toggle-copy {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-8px);
}

.category-toggle[aria-expanded="false"] .category-toggle-icon {
    transform: rotate(180deg);
}

.category-panel {
    transform-origin: left center;
    transition:
        opacity 160ms ease,
        transform 180ms ease,
        width 220ms ease,
        visibility 160ms ease;
}

.category-panel.is-collapsed {
    max-height: none;
    width: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-18px);
    overflow: hidden;
}

.voting-layout.sidebar-collapsed .category-sidebar {
    width: 46px;
}

.voting-layout.sidebar-collapsed .category-toggle {
    width: 46px;
    min-height: 56px;
    border: 1px solid var(--line);
    background: #101010;
}

.voting-layout.sidebar-collapsed .category-toggle:hover {
    border-color: rgba(198,169,40,0.65);
}

/* =========================================================
   AUSWAHL-ZÄHLER UNTEN
   ========================================================= */

.selection-status-bottom {
    margin-top: 20px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid var(--line);
    background: linear-gradient(
        90deg,
        rgba(198,169,40,0.08),
        rgba(255,255,255,0.018)
    );
}

.selection-status-bottom > div {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.selection-status-bottom span {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.selection-status-bottom strong {
    color: var(--gold);
    font-size: 28px;
    line-height: 1;
}

.selection-status-bottom p {
    max-width: 460px;
    color: var(--text-muted);
    font-size: 11px;
    text-align: right;
}

/* Etwas mehr Fokus auf das Voting, wenn die Sidebar geschlossen ist */
.voting-layout.sidebar-collapsed .nominees-grid {
    max-width: 1040px;
}

@media (max-width: 1050px) {
    .voting-layout.sidebar-collapsed {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .voting-layout.sidebar-collapsed .category-sidebar {
        width: 100%;
    }

    .voting-layout.sidebar-collapsed .category-toggle {
        width: 100%;
    }

    .voting-layout.sidebar-collapsed .category-stage {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .selection-status-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .selection-status-bottom p {
        text-align: left;
    }
}

/* =========================================================
   AUSWAHL-STATUS UNTEN – FINAL
   ========================================================= */

.selection-status-bottom {
    margin-top: 22px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgba(212, 189, 85, 0.28);
    background: #11110f;
}

.selection-status-bottom > div {
    display: flex;
    align-items: center;
    gap: 16px;
}

.selection-status-bottom > div > span {
    color: #d8d8d8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.selection-status-bottom strong {
    min-width: 72px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(212, 189, 85, 0.35);
    background: #181711;
    color: var(--gold);
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
}

.selection-status-bottom strong span {
    color: var(--gold);
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0;
}

.selection-status-bottom p {
    margin: 0;
    color: #9d9d9d;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    text-align: right;
}

@media (max-width: 760px) {
    .selection-status-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .selection-status-bottom p {
        text-align: left;
    }
}

/* =========================================================
   RESUME MODAL
   ========================================================= */

.resume-modal[hidden] {
    display: none;
}

.resume-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 28px;
}

.resume-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
}

.resume-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    padding: 34px;
    border: 1px solid var(--gold);
    background:
        linear-gradient(145deg, rgba(198,169,40,0.06), rgba(255,255,255,0.015)),
        #101010;
    box-shadow: 0 24px 80px rgba(0,0,0,0.65);
}

.resume-modal-dialog h2 {
    margin-top: 10px;
    font-size: 36px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.resume-copy {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.resume-progress {
    margin-top: 24px;
    padding: 15px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid var(--line);
    background: #151515;
}

.resume-progress span {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.resume-progress strong {
    color: var(--gold-soft);
    font-size: 14px;
}

.resume-actions {
    margin-top: 26px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 620px) {
    .resume-modal-dialog {
        padding: 26px 20px;
    }

    .resume-actions {
        flex-direction: column;
    }
}

/* =========================================================
   SUBMIT MODAL
   ========================================================= */

.submit-modal[hidden],
.submitted-screen[hidden] {
    display: none;
}

.submit-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: grid;
    place-items: center;
    padding: 28px;
}

.submit-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
}

.submit-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(580px, 100%);
    padding: 34px;
    border: 1px solid var(--gold);
    background:
        linear-gradient(145deg, rgba(198,169,40,0.06), rgba(255,255,255,0.015)),
        #101010;
    box-shadow: 0 24px 80px rgba(0,0,0,0.7);
}

.submit-modal-dialog h2 {
    margin-top: 10px;
    font-size: 36px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.submit-copy {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.submit-warning {
    margin-top: 22px;
    padding: 14px 16px;
    border: 1px solid rgba(198,169,40,0.35);
    background: #17150e;
}

.submit-warning strong,
.submit-warning span {
    display: block;
}

.submit-warning strong {
    color: var(--gold-soft);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.submit-warning span {
    margin-top: 4px;
    color: #c9c9c9;
    font-size: 12px;
}

.submit-actions {
    margin-top: 26px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.submitted-screen {
    padding: 100px 0 130px;
}

.submitted-container {
    max-width: 760px;
}

.submitted-container h2 {
    margin-top: 10px;
    font-size: 58px;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.submitted-container > p:not(.kicker) {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

.submitted-actions {
    margin-top: 30px;
}

@media (max-width: 620px) {
    .submit-modal-dialog {
        padding: 26px 20px;
    }

    .submit-actions {
        flex-direction: column;
    }
}

/* =========================================================
   READONLY SUBMISSION VIEW
   ========================================================= */

.submitted-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.summary-screen.is-readonly .summary-actions {
    display: none;
}

.summary-screen.is-readonly .summary-lead {
    max-width: 720px;
}

.summary-screen.is-readonly .summary-category {
    opacity: 1;
}

@media (max-width: 620px) {
    .submitted-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* =========================================================
   AUTH MODAL
   ========================================================= */

.auth-modal[hidden] {
    display: none;
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: grid;
    place-items: center;
    padding: 28px;
}

.auth-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
}

.auth-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 34px;
    border: 1px solid var(--gold);
    background:
        linear-gradient(145deg, rgba(198,169,40,0.06), rgba(255,255,255,0.015)),
        #101010;
    box-shadow: 0 24px 80px rgba(0,0,0,0.72);
}

.auth-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,0.16);
    background: transparent;
    color: #ddd;
    font-size: 22px;
    cursor: pointer;
}

.auth-modal-dialog h2 {
    margin-top: 10px;
    padding-right: 46px;
    font-size: 36px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.auth-copy {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.auth-google-button {
    width: 100%;
    min-height: 48px;
    margin-top: 22px;
    border: 1px solid rgba(255,255,255,0.22);
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.auth-divider {
    position: relative;
    margin: 22px 0;
    text-align: center;
}

.auth-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px solid rgba(255,255,255,0.10);
}

.auth-divider span {
    position: relative;
    padding: 0 10px;
    background: #101010;
    color: #666;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--line);
}

.auth-tab {
    padding: 12px;
    border: 0;
    background: transparent;
    color: #777;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.auth-tab.is-active {
    color: var(--gold-soft);
    border-bottom: 2px solid var(--gold);
}

.auth-form {
    margin-top: 20px;
}

.auth-form[hidden],
.auth-account-view[hidden] {
    display: none;
}

.auth-form label {
    display: block;
    margin-top: 14px;
}

.auth-form label:first-child {
    margin-top: 0;
}

.auth-form label span {
    display: block;
    margin-bottom: 6px;
    color: #bbb;
    font-size: 11px;
    font-weight: 700;
}

.auth-form input {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1px solid #333;
    outline: 0;
    background: #0b0b0b;
    color: #fff;
    font: inherit;
}

.auth-form input:focus {
    border-color: var(--gold);
}

.auth-form .vote-nav-button {
    width: 100%;
    margin-top: 18px;
}

.auth-link-button {
    width: 100%;
    margin-top: 12px;
    border: 0;
    background: transparent;
    color: var(--gold-soft);
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.auth-status {
    min-height: 18px;
    margin-top: 16px;
    color: var(--gold-soft);
    font-size: 11px;
    text-align: center;
}

.auth-status.is-error {
    color: #ff7777;
}

.auth-status.is-success {
    color: #78d995;
}

.auth-account-view {
    margin-top: 24px;
    text-align: center;
}

.auth-account-badge {
    width: 52px;
    height: 52px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gold);
    color: var(--black);
    font-size: 22px;
    font-weight: 900;
}

.auth-account-view h3 {
    margin-top: 14px;
    font-size: 20px;
}

.auth-account-view p {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 12px;
}

.auth-account-view .vote-nav-button {
    margin-top: 18px;
}

.login-button {
    cursor: pointer;
    background: transparent;
}

@media (max-width: 620px) {
    .auth-modal-dialog {
        padding: 26px 20px;
    }
}

/* =========================================================
   VOTING HEADER ACTIONS
   ========================================================= */

.voting-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.voting-header-actions .login-button {
    min-height: 40px;
    padding: 0 16px;
}

@media (max-width: 760px) {
    .voting-header-actions {
        gap: 7px;
    }

    .voting-header-actions .voting-exit {
        display: none;
    }
}

/* =========================================================
   AUTH 3.0.2 POLISH
   ========================================================= */
.auth-info {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(198,169,40,.38);
    background: rgba(198,169,40,.07);
}
.auth-info strong {
    display: block;
    color: var(--gold-soft);
    font-size: 12px;
    letter-spacing: .04em;
}
.auth-info span {
    display: block;
    margin-top: 5px;
    color: #c8c8c8;
    font-size: 12px;
    line-height: 1.55;
}
.auth-google-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
}
.google-g {
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}
.google-g svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* =========================================================
   VOTING ACCOUNT STATE POLISH
   ========================================================= */

/* Account-Button bleibt auch im Voting gold */
#account-button.login-button {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

#account-button.login-button:hover {
    background: var(--gold-soft);
    color: var(--black);
    border-color: var(--gold-soft);
}

/* kompletter Login-Bereich weg, sobald Account aktiv */
#auth-login-content[hidden] {
    display: none;
}

/* Account-Ansicht als eigenes, sauberes Fenster */
.auth-account-view:not([hidden]) {
    margin-top: 0;
    padding-top: 6px;
}

.auth-account-view:not([hidden])::before {
    content: "DEIN ACCOUNT";
    display: block;
    margin-bottom: 22px;
    color: var(--gold-soft);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.auth-account-view:not([hidden]) .auth-account-badge {
    margin-top: 2px;
}

.auth-account-view:not([hidden]) h3 {
    margin-top: 16px;
    font-size: 28px;
}

.auth-account-view:not([hidden]) p {
    margin-top: 7px;
    font-size: 13px;
}

/* =========================================================
   DEV RESET BUTTON
   Nur für die Testphase – vor Launch entfernen.
   ========================================================= */

.dev-reset-voting-button {
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    border: 1px solid rgba(255, 120, 120, 0.42);
    background: rgba(120, 20, 20, 0.12);
    color: #ff9a9a;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.dev-reset-voting-button:hover {
    border-color: #ff7777;
    background: rgba(160, 30, 30, 0.20);
}

.dev-reset-voting-button:disabled {
    opacity: 0.5;
    cursor: wait;
}

/* =========================================================
   DEV VOTING PHASE BUTTON
   Nur für die Testphase – vor Launch entfernen.
   ========================================================= */

.dev-open-voting-button {
    width: 100%;
    min-height: 46px;
    margin-top: 18px;
    border: 1px solid rgba(212, 189, 85, 0.55);
    background: rgba(198, 169, 40, 0.10);
    color: var(--gold-soft);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.dev-open-voting-button:hover,
.dev-open-voting-button.is-active {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--black);
}

/* =========================================================
   ACCOUNT ADMIN LINK
   ========================================================= */

.auth-admin-link[hidden] {
    display: none;
}

.auth-admin-link {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    border: 1px solid rgba(212, 189, 85, 0.45);
    background: rgba(198, 169, 40, 0.08);
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}

.auth-admin-link:hover {
    border-color: var(--gold);
    background: rgba(198, 169, 40, 0.14);
}

/* =========================================================
   PHASE 1 / PHASE 2 CARD TYPES
   ========================================================= */

.nominee-card-artist .nominee-title {
    font-size: 17px;
}

.category-video-preview[hidden] {
    display: none;
}

/* =========================================================
   DEVELOPER PHASE CONTROLS
   ========================================================= */

.dev-phase-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 18px;
}

.dev-phase-controls .dev-open-voting-button {
    margin-top: 0;
}

.dev-close-voting-button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(255,255,255,.14);
    background: transparent;
    color: #888;
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.dev-close-voting-button:hover:not(:disabled) {
    border-color: #aaa;
    color: #ddd;
}

.dev-close-voting-button:disabled {
    opacity: .35;
    cursor: not-allowed;
}

/* =========================================================
   PHASE 1 LABEL GROUPS
   ========================================================= */

.category-nav-label-group {
    margin-top: 18px;
    padding: 9px 4px 7px;
    border-bottom: 1px solid rgba(198,169,40,0.22);
}

.category-nav-label-group:first-child {
    margin-top: 0;
}

.category-nav-label-group span {
    color: var(--gold-soft);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.category-nav-label-group + .category-nav-item {
    border-top: 0;
}

body[data-voting-phase="phase1"] .category-nav-item {
    cursor: pointer;
}

/* =========================================================
   ENTWICKLER-ZEITSIMULATION
   ========================================================= */

.dev-time-panel {
    margin-top: 18px;
    padding: 14px;
    border: 1px solid rgba(198,169,40,.28);
    background: #0b0b0b;
}

.dev-time-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dev-time-panel-head strong {
    color: var(--gold-soft);
    font-size: 11px;
    font-weight: 900;
}

.dev-time-panel-head span {
    color: #777;
    font-size: 9px;
}

.dev-time-panel-head span.is-active {
    color: var(--gold);
}

.dev-time-label {
    display: block;
    margin-top: 12px;
    color: #888;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dev-time-input {
    width: 100%;
    min-height: 42px;
    margin-top: 7px;
    padding: 0 11px;
    border: 1px solid rgba(255,255,255,.14);
    background: #060606;
    color: #fff;
    font: inherit;
    color-scheme: dark;
}

.dev-time-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 9px;
}

.dev-time-apply,
.dev-time-reset {
    min-height: 40px;
    padding: 0 10px;
    font: inherit;
    font-size: 9px;
    font-weight: 900;
    cursor: pointer;
}

.dev-time-apply {
    border: 1px solid var(--gold);
    background: rgba(198,169,40,.10);
    color: var(--gold-soft);
}

.dev-time-reset {
    border: 1px solid rgba(255,255,255,.14);
    background: transparent;
    color: #999;
}

.dev-time-apply:hover {
    background: var(--gold);
    color: #080808;
}

.dev-time-reset:hover {
    border-color: #888;
    color: #ddd;
}

.dev-time-badge {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 5000;
    padding: 8px 10px;
    border: 1px solid var(--gold);
    background: #000;
    color: var(--gold-soft);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    pointer-events: none;
}

/* =========================================================
   PHASE 1 – FEATURE-ZEILE
   ========================================================= */

.nominee-feature {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

/* =========================================================
   PHASE 1 – KOMPAKTE, EIGENSTÄNDIG SCROLLBARE KÜNSTLERLEISTE
   ========================================================= */

body[data-voting-phase="phase1"] .category-sidebar {
    max-height: calc(100vh - 150px);
    display: flex;
    flex-direction: column;
}

body[data-voting-phase="phase1"] .category-panel {
    min-height: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
}

body[data-voting-phase="phase1"] .category-navigation {
    min-height: 0;
    flex: 1 1 auto;
    margin-top: 10px;
    padding-right: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(198,169,40,.55) rgba(255,255,255,.05);
}

body[data-voting-phase="phase1"] .category-navigation::-webkit-scrollbar {
    width: 6px;
}

body[data-voting-phase="phase1"] .category-navigation::-webkit-scrollbar-track {
    background: rgba(255,255,255,.04);
}

body[data-voting-phase="phase1"] .category-navigation::-webkit-scrollbar-thumb {
    background: rgba(198,169,40,.48);
}

/* Label als kompakter, einklappbarer Gruppen-Header */

body[data-voting-phase="phase1"] .category-nav-group {
    border-bottom: 1px solid rgba(255,255,255,.055);
}

body[data-voting-phase="phase1"] .category-nav-label-group {
    width: 100%;
    min-height: 34px;
    margin: 0;
    padding: 8px 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 0;
    border-bottom: 1px solid rgba(198,169,40,.18);
    background: #0b0b0b;
    color: var(--gold-soft);
    font: inherit;
    cursor: pointer;
    text-align: left;
}

body[data-voting-phase="phase1"] .category-nav-label-group:hover {
    background: rgba(198,169,40,.055);
}

body[data-voting-phase="phase1"] .category-nav-label-name {
    min-width: 0;
    overflow: hidden;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .13em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

body[data-voting-phase="phase1"] .category-nav-label-meta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #737373;
    font-size: 9px;
    font-weight: 800;
}

body[data-voting-phase="phase1"] .category-nav-label-chevron {
    width: 12px;
    color: var(--gold);
    font-size: 15px;
    line-height: 1;
    text-align: center;
}

/* Künstlerzeilen deutlich enger */

body[data-voting-phase="phase1"] .category-nav-item {
    min-height: 31px;
    padding: 7px 7px 7px 21px;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    line-height: 1.15;
}

body[data-voting-phase="phase1"] .category-nav-item::before {
    left: 4px;
    width: 6px;
    height: 6px;
}

body[data-voting-phase="phase1"] .category-nav-index {
    color: #626262;
    font-size: 9px;
    font-weight: 800;
}

body[data-voting-phase="phase1"] .category-nav-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-voting-phase="phase1"] .category-nav-status {
    justify-self: end;
    font-size: 10px;
}

/*
 * Legende/Hinweis bleiben unter der eigenen Scrollfläche sichtbar,
 * statt gemeinsam mit 20–30 Künstlern nach unten zu verschwinden.
 */
body[data-voting-phase="phase1"] .category-legend {
    flex: 0 0 auto;
    margin-top: 10px;
    padding-top: 10px;
}

body[data-voting-phase="phase1"] .sidebar-note {
    flex: 0 0 auto;
    margin-top: 10px;
    padding: 11px 12px;
}

body[data-voting-phase="phase1"] .sidebar-note p {
    margin-top: 5px;
    font-size: 9px;
    line-height: 1.45;
}

/* Auf kleineren Displays keine erzwungene Desktop-Innenscrollfläche. */
@media (max-width: 900px) {
    body[data-voting-phase="phase1"] .category-sidebar {
        max-height: none;
    }

    body[data-voting-phase="phase1"] .category-navigation {
        max-height: 360px;
    }
}

/* =========================================================
   PHASE 1 – OFFENERES DESKTOP-LAYOUT
   ========================================================= */

/*
 * Mehr Raum für Künstlernamen und weniger harter Abstand zum Voting.
 * Die linke Navigation bleibt eigenständig scrollbar, wirkt aber
 * als Teil derselben Fläche statt wie eine schmale separate Spalte.
 */
body[data-voting-phase="phase1"] .voting-layout {
    grid-template-columns: minmax(285px, 320px) minmax(0, 1fr);
    gap: clamp(30px, 3.2vw, 48px);
}

body[data-voting-phase="phase1"] .category-sidebar {
    width: 100%;
}

body[data-voting-phase="phase1"] .category-navigation {
    padding-right: 10px;
}

/* Etwas mehr Luft in den kompakten Künstlerzeilen. */
body[data-voting-phase="phase1"] .category-nav-item {
    min-height: 34px;
    padding: 8px 8px 8px 22px;
    grid-template-columns: 24px minmax(0, 1fr) 18px;
    gap: 5px;
    font-size: 12px;
}

body[data-voting-phase="phase1"] .category-nav-label-group {
    min-height: 36px;
    padding: 8px 7px;
}

/* Der entfernte Hinweis reserviert keinen Platz mehr. */
body[data-voting-phase="phase1"] .category-legend {
    margin-top: 12px;
}

/* Auf mittleren Breiten die Sidebar wieder etwas kompakter halten. */
@media (max-width: 1100px) and (min-width: 901px) {
    body[data-voting-phase="phase1"] .voting-layout {
        grid-template-columns: minmax(255px, 285px) minmax(0, 1fr);
        gap: 28px;
    }
}

/* =========================================================
   PHASE 1 – SIDEBAR FEINTUNING
   ========================================================= */

/* Etwas schmaler als 3.2.26, aber weiterhin großzügiger als die alte Version. */
body[data-voting-phase="phase1"] .voting-layout {
    grid-template-columns: minmax(265px, 285px) minmax(0, 1fr);
    gap: clamp(28px, 3vw, 42px);
}

/*
 * Beim Einklappen muss diese Regel die normale Phase-1-Breite überschreiben.
 * Dadurch wird der rechte Voting-Bereich wieder sauber mittig zentriert.
 */
body[data-voting-phase="phase1"] .voting-layout.sidebar-collapsed {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 22px;
}

body[data-voting-phase="phase1"] .voting-layout.sidebar-collapsed .category-stage {
    width: min(100%, 1040px);
    justify-self: center;
}

/* Mittlere Desktopbreiten */
@media (max-width: 1100px) and (min-width: 901px) {
    body[data-voting-phase="phase1"] .voting-layout {
        grid-template-columns: minmax(245px, 265px) minmax(0, 1fr);
        gap: 26px;
    }

    body[data-voting-phase="phase1"] .voting-layout.sidebar-collapsed {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 20px;
    }
}

/* =========================================================
   PHASE 1 – WEICHES EINKLAPPEN + AKTUELLES LABEL OBEN
   ========================================================= */

/*
 * Label-Inhalte werden über Grid-Zeilen animiert.
 * So verschwinden Künstler nicht mehr schlagartig.
 */
body[data-voting-phase="phase1"] .category-nav-group-items {
    display: grid;
    grid-template-rows: 1fr;
    opacity: 1;
    overflow: hidden;
    transition:
        grid-template-rows 220ms ease,
        opacity 170ms ease;
}

body[data-voting-phase="phase1"] .category-nav-group-items > .category-nav-item {
    min-height: 0;
}

body[data-voting-phase="phase1"] .category-nav-group-items.is-collapsed {
    grid-template-rows: 0fr;
    opacity: 0;
}

/*
 * Für die Grid-Höhenanimation braucht die Gruppe einen inneren Wrapper-Effekt.
 * Die Buttons selbst werden beim Schließen weich zusammengedrückt.
 */
body[data-voting-phase="phase1"] .category-nav-group-items.is-collapsed .category-nav-item {
    min-height: 0;
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom-width: 0;
    overflow: hidden;
}

body[data-voting-phase="phase1"] .category-nav-item {
    transition:
        min-height 220ms ease,
        height 220ms ease,
        padding 220ms ease,
        border-width 220ms ease,
        color 140ms ease,
        background-color 140ms ease;
}

body[data-voting-phase="phase1"] .category-nav-label-group {
    transition:
        background-color 160ms ease,
        border-color 160ms ease;
}

body[data-voting-phase="phase1"] .category-nav-label-chevron {
    transition: transform 200ms ease;
}

/* Aktuelles Label bleibt optisch klar als oberste aktive Gruppe erkennbar. */
body[data-voting-phase="phase1"] .category-nav-group.is-current-label > .category-nav-label-group {
    background: rgba(198,169,40,.07);
    border-bottom-color: rgba(198,169,40,.34);
}

/*
 * Gesamte linke Übersicht beim Haupt-Einklappen weicher ausblenden.
 * Die Breitenänderung von Grid + Panel läuft mit derselben Dauer.
 */
body[data-voting-phase="phase1"] .voting-layout {
    transition:
        grid-template-columns 300ms cubic-bezier(.2,.7,.2,1),
        gap 300ms cubic-bezier(.2,.7,.2,1);
}

body[data-voting-phase="phase1"] .category-panel {
    transition:
        opacity 220ms ease,
        transform 300ms cubic-bezier(.2,.7,.2,1),
        width 300ms cubic-bezier(.2,.7,.2,1),
        visibility 220ms ease;
}

body[data-voting-phase="phase1"] .category-stage {
    transition:
        width 300ms cubic-bezier(.2,.7,.2,1),
        transform 300ms cubic-bezier(.2,.7,.2,1);
}

/* =========================================================
   VOTING – KOMPakterer OBERER STATUSBEREICH
   ========================================================= */

/*
 * Der obere Voting-/Fortschrittsbereich nimmt weniger Höhe ein,
 * damit die eigentliche Abstimmung früher und stärker im Fokus steht.
 */
.voting-hero {
    padding-top: 26px;
    padding-bottom: 24px;
}

.voting-progress {
    padding-top: 18px;
    padding-bottom: 18px;
}

.progress-track {
    margin-top: 20px;
}

.voting-content {
    padding-top: 34px;
}

@media (max-width: 700px) {
    .voting-hero {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .voting-progress {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .progress-track {
        margin-top: 16px;
    }

    .voting-content {
        padding-top: 26px;
    }
}

/* =========================================================
   VOTING – HEADER AUF CA. 65 % DER BISHERIGEN HÖHE
   ========================================================= */

.voting-hero {
    padding-top: 16px;
    padding-bottom: 15px;
}

.voting-progress {
    padding-top: 11px;
    padding-bottom: 11px;
}

.voting-progress-meta h1 {
    margin-top: 6px;
}

.progress-track {
    margin-top: 13px;
}

.voting-content {
    padding-top: 24px;
}

@media (max-width: 700px) {
    .voting-hero {
        padding-top: 13px;
        padding-bottom: 13px;
    }

    .voting-progress {
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .progress-track {
        margin-top: 11px;
    }

    .voting-content {
        padding-top: 20px;
    }
}

/* =========================================================
   VOTING – OBEREN LEERRAUM DEUTLICH REDUZIEREN
   ========================================================= */

/*
 * Der Bereich direkt unter der Hauptnavigation wird enger,
 * damit der Voting-Status wesentlich früher beginnt.
 */
.voting-main {
    padding-top: 0;
}

.voting-hero {
    margin-top: 0;
    padding-top: 6px;
}

.voting-progress {
    margin-top: 0;
    padding-top: 6px;
}

/* Falls der Seitenkopf über einen allgemeinen Section-Abstand kommt. */
.voting-page .section,
.voting-page main > section:first-child {
    margin-top: 0;
}

@media (max-width: 700px) {
    .voting-hero {
        padding-top: 4px;
    }

    .voting-progress {
        padding-top: 5px;
    }
}

/* =========================================================
   VOTING – OBERER BEREICH BLEIBT BEIM SCROLLEN FIXIERT
   ========================================================= */

/*
 * Sowohl die Hauptleiste als auch der Voting-Fortschritt bleiben oben stehen.
 * Die tatsächlichen Höhen werden in voting.js gemessen, damit es auch bei
 * anderen Bildschirmgrößen sauber bleibt.
 */
.voting-page {
    --voting-site-header-height: 92px;
    --voting-intro-height: 150px;
}

.voting-page .site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: #050505;
}

.voting-page .voting-intro {
    position: sticky;
    top: var(--voting-site-header-height);
    z-index: 1100;
    background: #070707;
}

/* Die linke Künstler-/Kategoriennavigation bleibt unter beiden Leisten. */
.voting-page .category-sidebar {
    top: calc(
        var(--voting-site-header-height) +
        var(--voting-intro-height) +
        20px
    );
}

/* Beim Scrollen darf nichts aus dem Voting durch die festen Leisten scheinen. */
.voting-page .voting-intro::before {
    z-index: 0;
}

.voting-page .voting-intro > .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    /*
     * Auf Mobilgeräten bleibt nur der eigentliche Seitenkopf sticky.
     * So wird nicht zu viel vom kleinen Bildschirm dauerhaft belegt.
     */
    .voting-page .voting-intro {
        position: relative;
        top: auto;
    }

    .voting-page .category-sidebar {
        top: auto;
    }
}

/* =========================================================
   VOTING – KEIN LEERRAUM ZWISCHEN HEADER UND "DEINE ABSTIMMUNG"
   ========================================================= */

.voting-page .site-header {
    margin-bottom: 0 !important;
}

.voting-page .voting-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.voting-page .voting-intro {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.voting-page .voting-intro > .container {
    padding-top: 0 !important;
}

.voting-page .voting-progress-meta {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.voting-page .voting-progress-meta .kicker {
    margin-top: 0 !important;
    padding-top: 10px;
}

/*
 * Sticky bleibt erhalten: Die Intro-Leiste beginnt exakt an der
 * Unterkante des Hauptheaders, ohne sichtbare Zwischenfläche.
 */
.voting-page .voting-intro {
    top: var(--voting-site-header-height);
}

@media (max-width: 900px) {
    .voting-page .voting-intro {
        top: auto;
    }
}

/* =========================================================
   VOTING – WILLKOMMENSSEITE
   ========================================================= */

.voting-welcome {
    min-height: calc(100vh - 92px);
    padding: clamp(54px, 7vh, 88px) 0 70px;
    background:
        radial-gradient(circle at 12% 5%, rgba(198,169,40,.10), transparent 31%),
        #070707;
}

.voting-welcome[hidden],
.voting-main[hidden],
.voting-welcome-account[hidden] {
    display: none !important;
}

.voting-welcome-shell {
    width: min(100% - 40px, 1120px);
}

.voting-welcome-copy {
    max-width: 850px;
    padding-bottom: 38px;
    border-bottom: 1px solid var(--line);
}

.voting-welcome-copy h1 {
    margin: 9px 0 18px;
    max-width: 820px;
    font-size: clamp(48px, 6.4vw, 82px);
    line-height: .96;
    letter-spacing: -.045em;
}

.voting-welcome-lead {
    max-width: 790px;
    color: #b7b7b7;
    font-size: clamp(16px, 1.45vw, 19px);
    line-height: 1.65;
}

.voting-welcome-account {
    margin: 30px 0 44px;
    max-width: 760px;
    padding: 22px 24px;
    border-left: 2px solid var(--gold);
    background: rgba(255,255,255,.025);
}

.voting-welcome-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--gold-soft);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .17em;
}

.voting-welcome-account h2 {
    margin: 0 0 9px;
    font-size: 23px;
}

.voting-welcome-account p {
    max-width: 690px;
    color: #a9a9a9;
    line-height: 1.55;
}

.welcome-login-button {
    margin-top: 17px;
    padding: 12px 17px;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold-soft);
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.welcome-login-button:hover {
    background: var(--gold);
    color: #050505;
}

.welcome-account-name {
    display: block;
    margin-top: 12px;
    color: var(--gold-soft);
    font-size: 12px;
}

.voting-welcome-start {
    max-width: 900px;
}

.voting-start-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.voting-start-card {
    min-height: 155px;
    padding: 23px;
    border: 1px solid rgba(255,255,255,.16);
    background: #0d0d0d;
    color: white;
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.voting-start-card:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    background: #11100b;
}

.voting-start-card.is-primary {
    border-color: rgba(198,169,40,.7);
}

.voting-start-card-label {
    display: block;
    margin-bottom: 15px;
    color: var(--gold-soft);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
}

.voting-start-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 21px;
}

.voting-start-card > span:last-child {
    display: block;
    color: #929292;
    font-size: 12px;
    line-height: 1.5;
}

.voting-start-plain {
    margin-top: 14px;
    padding: 6px 0;
    border: 0;
    border-bottom: 1px solid #555;
    background: transparent;
    color: #8d8d8d;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.voting-start-plain:hover {
    color: white;
    border-color: var(--gold);
}

@media (max-width: 720px) {
    .voting-welcome {
        padding-top: 38px;
    }

    .voting-start-options {
        grid-template-columns: 1fr;
    }

    .voting-start-card {
        min-height: 135px;
    }
}

/* =========================================================
   VOTING WILLKOMMEN – ZENTRIERTES LAYOUT
   ========================================================= */

.voting-welcome-shell {
    width: min(100% - 40px, 980px);
    margin-inline: auto;
    text-align: center;
}

.voting-welcome-copy {
    max-width: 820px;
    margin-inline: auto;
}

.voting-welcome-copy h1 {
    margin-left: auto;
    margin-right: auto;
}

.voting-welcome-lead {
    margin-left: auto;
    margin-right: auto;
}

.voting-welcome-account {
    max-width: 720px;
    margin: 30px auto 44px;
    padding: 24px 30px;
    border-left: 0;
    border-top: 1px solid rgba(198,169,40,.55);
    border-bottom: 1px solid rgba(198,169,40,.22);
    background: rgba(255,255,255,.025);
    text-align: center;
}

.voting-welcome-account p {
    margin-left: auto;
    margin-right: auto;
}

.voting-welcome-start {
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
}

.voting-start-card {
    text-align: center;
}

.voting-start-card > span:last-child {
    max-width: 310px;
    margin-left: auto;
    margin-right: auto;
}

.voting-start-plain {
    display: block;
    width: max-content;
    margin: 16px auto 0;
}

@media (max-width: 720px) {
    .voting-welcome-shell {
        width: min(100% - 28px, 980px);
    }

    .voting-welcome-account {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* =========================================================
   VOTING – VOLLBILD BUTTON IM HEADER
   ========================================================= */

.fullscreen-toggle-button {
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,.18);
    background: transparent;
    color: #aaa;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}

.fullscreen-toggle-button:hover {
    border-color: var(--gold);
    color: #fff;
}

.fullscreen-toggle-button.is-active {
    border-color: rgba(198,169,40,.55);
    color: var(--gold-soft);
}

@media (max-width: 720px) {
    .fullscreen-toggle-button {
        min-height: 40px;
        padding: 0 10px;
        font-size: 9px;
    }
}

/* =========================================================
   WILLKOMMENSSEITE – VOTING FORTSETZEN / NEU STARTEN
   ========================================================= */

.welcome-resume-choice {
    max-width: 720px;
    margin: 34px auto 44px;
    padding: 28px 30px;
    border-top: 1px solid rgba(198,169,40,.6);
    border-bottom: 1px solid rgba(198,169,40,.22);
    background: rgba(198,169,40,.035);
    text-align: center;
}

.welcome-resume-choice[hidden],
.voting-welcome-start[hidden] {
    display: none !important;
}

.welcome-resume-choice h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.welcome-resume-choice p {
    max-width: 620px;
    margin: 0 auto;
    color: #aaa;
    line-height: 1.55;
}

.welcome-resume-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 21px;
}

.welcome-resume-button {
    min-width: 165px;
    padding: 12px 17px;
    border: 1px solid rgba(255,255,255,.18);
    background: #0c0c0c;
    color: #ddd;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.welcome-resume-button:hover {
    border-color: var(--gold);
    color: white;
}

.welcome-resume-button.is-primary {
    border-color: var(--gold);
    background: var(--gold);
    color: #050505;
}

@media (max-width: 600px) {
    .welcome-resume-choice {
        padding: 24px 18px;
    }

    .welcome-resume-actions {
        flex-direction: column;
    }

    .welcome-resume-button {
        width: 100%;
    }
}

/* =========================================================
   WILLKOMMEN – GESPEICHERTEN VOTINGSTAND STÄRKER BETONEN
   ========================================================= */

.welcome-resume-choice {
    position: relative;
    max-width: 760px;
    margin-top: 38px;
    padding: 34px 34px 32px;
    border: 1px solid rgba(198,169,40,.62);
    background:
        linear-gradient(
            180deg,
            rgba(198,169,40,.075),
            rgba(198,169,40,.018)
        ),
        #0a0a09;
    box-shadow:
        0 18px 55px rgba(0,0,0,.32),
        inset 0 1px 0 rgba(255,255,255,.025);
}

.welcome-resume-choice::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    width: 120px;
    height: 2px;
    transform: translateX(-50%);
    background: var(--gold);
}

.welcome-resume-choice .voting-welcome-eyebrow {
    margin-bottom: 13px;
}

.welcome-resume-choice h2 {
    margin-bottom: 13px;
    font-size: clamp(25px, 2.5vw, 31px);
}

.welcome-resume-choice p {
    color: #c2c2c2;
    font-size: 15px;
}

.welcome-resume-actions {
    gap: 12px;
    margin-top: 27px;
}

.welcome-resume-button {
    min-width: 205px;
    min-height: 54px;
    padding: 14px 21px;
    font-size: 13px;
}

.welcome-resume-button.is-primary {
    box-shadow: 0 8px 28px rgba(198,169,40,.12);
}

@media (max-width: 600px) {
    .welcome-resume-choice {
        padding: 28px 18px 24px;
    }

    .welcome-resume-button {
        min-width: 0;
    }
}

/* =========================================================
   PHASE 1 – VOTING VORZEITIG ABSCHLIESSEN
   ========================================================= */

.phase1-finish-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
    padding: 20px 22px;
    border: 1px solid rgba(198,169,40,.42);
    background:
        linear-gradient(
            90deg,
            rgba(198,169,40,.065),
            rgba(198,169,40,.015)
        ),
        #0a0a09;
}

.phase1-finish-area[hidden] {
    display: none !important;
}

.phase1-finish-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.phase1-finish-copy span {
    color: #8e8e8e;
    font-size: 11px;
}

.phase1-finish-copy strong {
    color: #eee;
    font-size: 15px;
}

.phase1-finish-button {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold-soft);
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition:
        background-color 150ms ease,
        color 150ms ease;
}

.phase1-finish-button:hover {
    background: var(--gold);
    color: #050505;
}

.phase1-submit-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
    margin: 20px 0;
}

.phase1-submit-stats[hidden] {
    display: none !important;
}

.phase1-submit-stats > div {
    padding: 16px 12px;
    border: 1px solid rgba(255,255,255,.11);
    background: rgba(255,255,255,.025);
    text-align: center;
}

.phase1-submit-stats strong {
    display: block;
    margin-bottom: 4px;
    color: var(--gold-soft);
    font-size: 27px;
    line-height: 1;
}

.phase1-submit-stats span {
    color: #9a9a9a;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

@media (max-width: 650px) {
    .phase1-finish-area {
        align-items: stretch;
        flex-direction: column;
    }

    .phase1-finish-button {
        width: 100%;
    }
}

/* =========================================================
   HEADER – WILLKOMMEN OHNE ZÄHLER / VOTING EXAKT ZENTRIERT
   ========================================================= */

.voting-page .site-header .nav-wrap {
    position: relative;
}

/* Unabhängig von Logo- und Buttonbreite exakt in der Bildschirmmitte. */
.voting-page .voting-header-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: max-content;
    max-width: 34vw;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.voting-page #header-progress-text[hidden] {
    display: none !important;
}

@media (max-width: 760px) {
    .voting-page .voting-header-center {
        display: none;
    }
}

/* =========================================================
   WILLKOMMENSTEXT – DEZENTE GOLDENE HERVORHEBUNG
   ========================================================= */

.voting-welcome-lead .welcome-text-accent {
    color: var(--gold-soft);
    font-weight: 700;
}

/* =========================================================
   PHASE 2 – FEEDBACK NACH DER ABGABE
   ========================================================= */
.submitted-feedback {
    max-width: 760px;
    margin: 42px auto 0;
    padding: 28px;
    border: 1px solid rgba(198,169,40,.38);
    background: rgba(198,169,40,.035);
    text-align: left;
}
.submitted-feedback[hidden] { display: none !important; }
.submitted-feedback h3 { margin: 7px 0 8px; font-size: 25px; }
.submitted-feedback > p:not(.kicker) { color: var(--text-muted); line-height: 1.55; }
.feedback-form { margin-top: 20px; }
.feedback-form label { display:block; margin-bottom:7px; color:var(--gold-soft); font-size:10px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.feedback-form textarea { width:100%; resize:vertical; min-height:130px; padding:14px; border:1px solid rgba(255,255,255,.16); background:#070707; color:#fff; font:inherit; line-height:1.55; }
.feedback-form textarea:focus { outline:none; border-color:var(--gold); }
.feedback-form-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:12px; }
.feedback-form-footer > span { color:#aaa; font-size:11px; }
@media(max-width:600px){ .feedback-form-footer{align-items:stretch;flex-direction:column;} }

/* =========================================================
   VOTING FEEDBACK – DANKE-BESTÄTIGUNG
   ========================================================= */

.submitted-feedback-thanks {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(198,169,40,.45);
    background: rgba(198,169,40,.06);
    text-align: left;
}

.submitted-feedback-thanks[hidden],
.feedback-form[hidden] {
    display: none !important;
}

.submitted-feedback-thanks-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold-soft);
    font-size: 18px;
    font-weight: 900;
}

.submitted-feedback-thanks strong {
    display: block;
    color: var(--gold-soft);
    font-size: 15px;
}

.submitted-feedback-thanks p {
    margin-top: 4px;
    color: #aaa;
    font-size: 12px;
}

/* =========================================================
   PHASE 1 – LIEBLINGSSONG AM ENDE
   ========================================================= */

.phase1-favorite-song {
    margin: 22px 0;
    padding: 20px;
    border: 1px solid rgba(198,169,40,.42);
    background:
        linear-gradient(
            135deg,
            rgba(198,169,40,.06),
            transparent 58%
        ),
        #090909;
}

.phase1-favorite-song[hidden] {
    display: none !important;
}

.phase1-favorite-song-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.phase1-favorite-song-head h3 {
    margin: 5px 0 8px;
    color: #f1f1f1;
    font-size: 19px;
}

.phase1-favorite-song-head p:not(.kicker) {
    max-width: 680px;
    color: #989898;
    font-size: 11px;
    line-height: 1.55;
}

.phase1-favorite-clear {
    flex: 0 0 auto;
    align-self: flex-start;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.13);
    background: transparent;
    color: #8b8b8b;
    font: inherit;
    font-size: 9px;
    cursor: pointer;
}

.phase1-favorite-clear:hover {
    border-color: var(--gold);
    color: var(--gold-soft);
}

.phase1-favorite-list {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
    max-height: 320px;
    margin-top: 17px;
    padding-right: 5px;
    overflow-y: auto;
}

.phase1-favorite-option {
    display: grid;
    grid-template-columns: 18px 48px minmax(0,1fr);
    gap: 10px;
    align-items: center;
    min-height: 68px;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.08);
    background: #0d0d0d;
    cursor: pointer;
}

.phase1-favorite-option:hover,
.phase1-favorite-option.is-selected {
    border-color: rgba(198,169,40,.62);
    background: rgba(198,169,40,.045);
}

.phase1-favorite-option input {
    accent-color: var(--gold);
}

.phase1-favorite-cover {
    display: block;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.09);
    background: #141414;
}

.phase1-favorite-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phase1-favorite-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--gold-soft);
    font-weight: 900;
}

.phase1-favorite-info {
    min-width: 0;
}

.phase1-favorite-info small,
.phase1-favorite-info strong,
.phase1-favorite-info em {
    display: block;
}

.phase1-favorite-info small {
    color: var(--gold-soft);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.phase1-favorite-info strong {
    margin-top: 3px;
    overflow: hidden;
    color: #e7e7e7;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.phase1-favorite-info em {
    margin-top: 3px;
    overflow: hidden;
    color: #777;
    font-size: 9px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.phase1-favorite-empty {
    margin-top: 15px;
    padding: 14px;
    border: 1px dashed rgba(255,255,255,.10);
    color: #6d6d6d;
    font-size: 10px;
    text-align: center;
}

@media (max-width: 680px) {
    .phase1-favorite-song-head {
        flex-direction: column;
    }

    .phase1-favorite-list {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   3.2.59 – SUBMIT-MODAL SCROLL + LIEBLINGSSONG BESTÄTIGUNG
   ========================================================= */

.submit-modal {
    overflow-y: auto;
    overscroll-behavior: contain;
    align-items: start;
}

.submit-modal-dialog {
    width: min(720px, 100%);
    max-height: none;
    margin: max(24px, 4vh) auto;
}

.phase1-favorite-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.phase1-favorite-confirm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.phase1-favorite-status {
    color: #777;
    font-size: 10px;
    line-height: 1.45;
}

.phase1-favorite-confirm {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 14px;
    font-size: 10px;
}

.phase1-favorite-confirm:disabled {
    opacity: .35;
    cursor: default;
}

@media (max-width:680px) {
    .submit-modal {
        padding: 12px;
    }

    .submit-modal-dialog {
        margin: 12px auto;
    }

    .phase1-favorite-confirm-row {
        align-items: stretch;
        flex-direction: column;
    }

    .phase1-favorite-confirm {
        width: 100%;
    }
}

/* =========================================================
   3.2.60 – FIXIERTER SUBMIT-HINTERGRUND
   ========================================================= */

/*
 * Nur der Dialog scrollt. Der abgedunkelte Hintergrund bleibt
 * fest über dem gesamten Viewport stehen.
 */
.submit-modal {
    overflow: hidden;
    align-items: center;
}

.submit-modal-backdrop {
    position: fixed;
    inset: 0;
}

.submit-modal-dialog {
    max-height: calc(100dvh - 48px);
    margin: 0 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

@media (max-width: 680px) {
    .submit-modal {
        padding: 12px;
    }

    .submit-modal-dialog {
        max-height: calc(100dvh - 24px);
        margin: 0 auto;
    }
}

/* =========================================================
   3.2.63 – PHASE 2 THEMENBEREICHE
   ========================================================= */

.phase2-theme-group .category-nav-label-name {
    letter-spacing: .11em;
}

.category-nav-item.is-test-unlocked:not(.is-current) {
    opacity: .88;
}

.category-nav-item.is-test-unlocked:not(.is-current)
.category-nav-index {
    color: rgba(198,169,40,.62);
}

/* =========================================================
   3.2.64 – PHASE 2 SIDEBAR 1:1 WIE PHASE 1
   ========================================================= */

/* Eigene, kompakte Scrollfläche links */
body[data-voting-phase="phase2"] .category-sidebar {
    max-height: calc(100vh - 150px);
    display: flex;
    flex-direction: column;
    width: 100%;
}

body[data-voting-phase="phase2"] .category-panel {
    min-height: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
}

body[data-voting-phase="phase2"] .category-navigation {
    min-height: 0;
    flex: 1 1 auto;
    margin-top: 10px;
    padding-right: 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(198,169,40,.55) rgba(255,255,255,.05);
}

body[data-voting-phase="phase2"] .category-navigation::-webkit-scrollbar {
    width: 6px;
}

body[data-voting-phase="phase2"] .category-navigation::-webkit-scrollbar-track {
    background: rgba(255,255,255,.04);
}

body[data-voting-phase="phase2"] .category-navigation::-webkit-scrollbar-thumb {
    background: rgba(198,169,40,.48);
}

/* Themenbereich exakt wie Phase-1-Label */
body[data-voting-phase="phase2"] .category-nav-group {
    border-bottom: 1px solid rgba(255,255,255,.055);
}

body[data-voting-phase="phase2"] .category-nav-label-group {
    width: 100%;
    min-height: 36px;
    margin: 0;
    padding: 8px 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 0;
    border-bottom: 1px solid rgba(198,169,40,.18);
    background: #0b0b0b;
    color: var(--gold-soft);
    font: inherit;
    cursor: pointer;
    text-align: left;
}

body[data-voting-phase="phase2"] .category-nav-label-group:hover {
    background: rgba(198,169,40,.055);
}

body[data-voting-phase="phase2"] .category-nav-label-name {
    min-width: 0;
    overflow: hidden;
    color: var(--gold-soft);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

body[data-voting-phase="phase2"] .category-nav-label-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(198,169,40,.62);
    font-size: 9px;
    font-weight: 800;
}

body[data-voting-phase="phase2"] .category-nav-label-chevron {
    color: var(--gold-soft);
    font-size: 12px;
    transition: transform 200ms ease;
}

/* Aktueller Themenbereich gold statt weiß */
body[data-voting-phase="phase2"] .category-nav-group.is-current-label > .category-nav-label-group {
    background: rgba(198,169,40,.07);
    border-bottom-color: rgba(198,169,40,.34);
    color: var(--gold-soft);
}

/* Einklappen exakt wie Phase 1 */
body[data-voting-phase="phase2"] .category-nav-group-items {
    display: grid;
    grid-template-rows: 1fr;
    opacity: 1;
    overflow: hidden;
    transition:
        grid-template-rows 220ms ease,
        opacity 170ms ease;
}

body[data-voting-phase="phase2"] .category-nav-group-items > .category-nav-item {
    min-height: 0;
}

body[data-voting-phase="phase2"] .category-nav-group-items.is-collapsed {
    grid-template-rows: 0fr;
    opacity: 0;
}

body[data-voting-phase="phase2"] .category-nav-group-items.is-collapsed .category-nav-item {
    min-height: 0;
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom-width: 0;
    overflow: hidden;
}

/* Kategoriezeilen ebenfalls wie Phase 1 */
body[data-voting-phase="phase2"] .category-nav-item {
    min-height: 34px;
    padding: 8px 8px 8px 22px;
    grid-template-columns: 24px minmax(0, 1fr) 18px;
    gap: 5px;
    background: transparent;
    color: #8e8e8e;
    font-size: 12px;
    cursor: pointer;
    transition:
        min-height 220ms ease,
        height 220ms ease,
        padding 220ms ease,
        border-width 220ms ease,
        color 140ms ease,
        background-color 140ms ease;
}

body[data-voting-phase="phase2"] .category-nav-item:hover {
    background: rgba(198,169,40,.025);
    color: #fff;
}

body[data-voting-phase="phase2"] .category-nav-item.is-current {
    background: rgba(198,169,40,.045);
    color: var(--gold-soft);
    font-weight: 800;
}

body[data-voting-phase="phase2"] .category-nav-item.is-current .category-nav-index {
    color: var(--gold-soft);
}

body[data-voting-phase="phase2"] .category-nav-item.is-current .category-nav-status {
    border-color: var(--gold);
    color: var(--gold-soft);
}

body[data-voting-phase="phase2"] .category-nav-item.is-test-unlocked:not(.is-current) {
    opacity: 1;
}

body[data-voting-phase="phase2"] .category-nav-item.is-test-unlocked:not(.is-current) .category-nav-index {
    color: #555;
}

/* Gleiche Sidebar-Breite / Offenheit wie Phase 1 */
body[data-voting-phase="phase2"] .voting-layout {
    grid-template-columns: minmax(285px, 320px) minmax(0, 1fr);
    gap: clamp(30px, 3.2vw, 48px);
}

@media (max-width: 1100px) and (min-width: 901px) {
    body[data-voting-phase="phase2"] .voting-layout {
        grid-template-columns: minmax(255px, 285px) minmax(0, 1fr);
        gap: 28px;
    }
}

@media (max-width: 900px) {
    body[data-voting-phase="phase2"] .category-sidebar {
        max-height: none;
    }

    body[data-voting-phase="phase2"] .category-navigation {
        max-height: 360px;
    }
}

/* =========================================================
   3.2.66 – KATEGORIEVIDEO: KLARE VIDEOANSICHT + BEDIENLEISTE
   ========================================================= */

.video-modal {
    padding: 24px;
}

.video-modal-backdrop {
    position: fixed;
    inset: 0;
    background: #000;
    opacity: .96;
    backdrop-filter: none;
}

.video-modal-dialog {
    width: min(1320px, 100%);
    max-height: calc(100dvh - 48px);
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.video-modal-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(198,169,40,.58);
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-modal-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/*
 * Im echten Video-Vollbild füllt ausschließlich der Videobereich
 * den Bildschirm. Die normale ARA-Seite liegt dann nicht dahinter.
 */
.video-modal-frame:fullscreen {
    width: 100vw;
    height: 100vh;
    border: 0;
    background: #000;
    aspect-ratio: auto;
}

.video-modal-frame:fullscreen iframe {
    width: 100%;
    height: 100%;
}

.video-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.video-modal-action {
    min-height: 46px;
    padding: 0 18px;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .02em;
    cursor: pointer;
}

.video-modal-action-secondary {
    border: 1px solid rgba(255,255,255,.2);
    background: #0b0b0b;
    color: #ddd;
}

.video-modal-action-secondary:hover {
    border-color: rgba(198,169,40,.56);
    color: var(--gold-soft);
}

.video-modal-action-primary {
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #050505;
}

.video-modal-action-primary:hover {
    background: var(--gold-soft);
}

/* Der alte X-Button wird nicht mehr benötigt. */
.video-modal-close {
    position: static;
    width: auto;
    height: auto;
}

@media (max-width: 700px) {
    .video-modal {
        padding: 12px;
    }

    .video-modal-dialog {
        max-height: calc(100dvh - 24px);
    }

    .video-modal-actions {
        flex-direction: column-reverse;
    }

    .video-modal-action {
        width: 100%;
    }
}

/* =========================================================
   3.2.67 – VIDEO-MODUS OHNE VOTING-HEADER
   ========================================================= */

/*
 * Sobald das Kategorievideo geöffnet ist, verschwinden beide
 * oberen Voting-Leisten vollständig. Das Video nutzt dadurch
 * den freien Viewport und wirkt wie eine eigene Ansicht.
 */
body:has(.video-modal:not([hidden])) .site-header,
body:has(.video-modal:not([hidden])) .voting-progress-section {
    visibility: hidden;
    pointer-events: none;
}

/*
 * Das Video-Overlay bleibt über dem kompletten Viewport und beginnt
 * unabhängig von den normalerweise fixierten Headern ganz oben.
 */
body:has(.video-modal:not([hidden])) .video-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    padding: 20px 24px;
}

/* Etwas mehr nutzbare Höhe nach Entfernen der beiden Leisten. */
body:has(.video-modal:not([hidden])) .video-modal-dialog {
    width: min(1420px, 100%);
    max-height: calc(100dvh - 40px);
}

body:has(.video-modal:not([hidden])) .video-modal-frame {
    max-height: calc(100dvh - 106px);
}

@media (max-width: 700px) {
    body:has(.video-modal:not([hidden])) .video-modal {
        padding: 10px;
    }

    body:has(.video-modal:not([hidden])) .video-modal-dialog {
        max-height: calc(100dvh - 20px);
    }

    body:has(.video-modal:not([hidden])) .video-modal-frame {
        max-height: calc(100dvh - 126px);
    }
}

/* =========================================================
   3.2.68 – VIDEO-MODUS FEINSCHLIFF
   Goldrahmen nur am Video, mittig, Buttons präsenter
   ========================================================= */

body:has(.video-modal:not([hidden])) .video-modal {
    display: grid;
    place-items: center;
    padding: 24px;
}

body:has(.video-modal:not([hidden])) .video-modal-dialog {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(1320px, 100%);
    max-height: calc(100dvh - 48px);
}

/* Goldrahmen wirklich nur ums sichtbare Video */
body:has(.video-modal:not([hidden])) .video-modal-frame {
    width: min(1180px, 100%);
    max-height: calc(100dvh - 170px);
    margin: 0 auto;
    border: 1px solid rgba(198,169,40,.72);
    box-shadow:
        0 0 0 1px rgba(198,169,40,.08),
        0 18px 50px rgba(0,0,0,.45);
    background: #000;
}

/* Buttons deutlich im Vordergrund */
body:has(.video-modal:not([hidden])) .video-modal-actions {
    width: min(900px, 100%);
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    position: relative;
    z-index: 3;
}

body:has(.video-modal:not([hidden])) .video-modal-action {
    min-height: 58px;
    padding: 0 24px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    box-shadow: 0 10px 30px rgba(0,0,0,.28);
}

body:has(.video-modal:not([hidden])) .video-modal-action-secondary {
    border: 1px solid rgba(198,169,40,.45);
    background: #0b0b0b;
    color: var(--gold-soft);
}

body:has(.video-modal:not([hidden])) .video-modal-action-secondary:hover {
    border-color: var(--gold);
    background: rgba(198,169,40,.06);
    color: #fff;
}

body:has(.video-modal:not([hidden])) .video-modal-action-primary {
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #050505;
}

body:has(.video-modal:not([hidden])) .video-modal-action-primary:hover {
    background: var(--gold-soft);
}

/* Kein zusätzlicher Rahmen um Dialog/Buttons */
body:has(.video-modal:not([hidden])) .video-modal-dialog {
    border: 0;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 700px) {
    body:has(.video-modal:not([hidden])) .video-modal {
        padding: 12px;
    }

    body:has(.video-modal:not([hidden])) .video-modal-frame {
        width: 100%;
        max-height: calc(100dvh - 210px);
    }

    body:has(.video-modal:not([hidden])) .video-modal-actions {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 14px;
    }

    body:has(.video-modal:not([hidden])) .video-modal-action {
        min-height: 54px;
    }
}

/* =========================================================
   3.2.69 – VIDEO-VOLLBILD OHNE WEBSITE-VOLLBILD ZU VERLASSEN
   ========================================================= */

/*
 * Der Video-Vollbildmodus nutzt absichtlich NICHT mehr die Browser-
 * Fullscreen-API. Stattdessen füllt das Video den bereits vorhandenen
 * Website-Viewport aus. So beendet ESC nur den Video-Modus und lässt
 * den Vollbildmodus des Votings bestehen.
 */
.video-modal.is-video-fullscreen {
    padding: 0 !important;
    background: #000;
}

.video-modal.is-video-fullscreen .video-modal-backdrop {
    background: #000;
    opacity: 1;
}

.video-modal.is-video-fullscreen .video-modal-dialog {
    width: 100vw !important;
    height: 100vh;
    max-height: none !important;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: stretch;
    justify-items: stretch;
}

.video-modal.is-video-fullscreen .video-modal-frame {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    margin: 0;
    border: 0;
    box-shadow: none;
    aspect-ratio: auto;
}

.video-modal.is-video-fullscreen .video-modal-frame iframe {
    width: 100%;
    height: 100%;
}

.video-modal.is-video-fullscreen .video-modal-actions {
    width: min(920px, calc(100% - 32px));
    margin: 14px auto 16px;
    position: relative;
    z-index: 4;
}

/* Alte native-Fullscreen-Regeln neutralisieren */
.video-modal-frame:fullscreen {
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
    aspect-ratio: auto;
}

@media (max-width: 700px) {
    .video-modal.is-video-fullscreen .video-modal-actions {
        width: calc(100% - 20px);
        margin: 10px auto;
    }
}

/* =========================================================
   3.2.70 – VEREINFACHTER VIDEO-ABLAUF
   ========================================================= */

/*
 * Klick auf das Kategorievideo öffnet sofort diese Präsentationsansicht.
 * Es gibt keinen eigenen ARA-Video-Vollbildbutton mehr.
 * YouTube-Vollbild wird ausschließlich über den YouTube-Player gesteuert.
 */
.video-modal.is-video-presentation {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 0;
    background: #000;
}

.video-modal.is-video-presentation .video-modal-backdrop {
    position: fixed;
    inset: 0;
    background: #000;
    opacity: 1;
}

.video-modal.is-video-presentation .video-modal-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #000;
    box-shadow: none;
}

.video-modal.is-video-presentation .video-modal-frame {
    align-self: center;
    justify-self: center;
    width: min(1400px, calc(100vw - 80px));
    max-width: 100%;
    max-height: calc(100vh - 150px);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(198,169,40,.72);
    background: #000;
    box-shadow: 0 18px 60px rgba(0,0,0,.5);
}

.video-modal.is-video-presentation .video-modal-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Unter dem Video nur Logo + eine eindeutige Aktion. */
.video-modal-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    min-height: 112px;
    padding: 16px 24px 22px;
    border-top: 1px solid rgba(198,169,40,.16);
    background: #050505;
}

.video-modal-logo {
    width: 112px;
    height: auto;
    object-fit: contain;
}

.video-modal-continue {
    min-width: 250px;
    min-height: 58px;
    padding: 0 28px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #050505;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    cursor: pointer;
    transition:
        background-color 150ms ease,
        transform 150ms ease;
}

.video-modal-continue:hover {
    background: var(--gold-soft);
    transform: translateY(-1px);
}

/* Alte Video-Aktionsleisten werden nicht mehr verwendet. */
.video-modal-actions,
.video-modal-action,
.video-modal-action-primary,
.video-modal-action-secondary {
    display: none !important;
}

@media (max-width: 700px) {
    .video-modal.is-video-presentation .video-modal-frame {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 155px);
    }

    .video-modal-bottom {
        min-height: 118px;
        gap: 18px;
        padding: 14px 12px 18px;
    }

    .video-modal-logo {
        width: 82px;
    }

    .video-modal-continue {
        min-width: 0;
        flex: 1;
        min-height: 54px;
    }
}

/* =========================================================
   3.2.76 – PHASE 2 KATEGORIEKOPF SAUBER NEU AUFGEBAUT
   ========================================================= */

/*
 * Video sitzt zwischen Kategorieinformationen und Auswahl.
 * Nur der Kopf wird größer – Nominierungen bleiben darunter
 * vollständig außerhalb dieses Layouts.
 */
body[data-voting-phase="phase2"] .category-head {
    display: grid;
    grid-template-columns:
        minmax(260px, 1fr)
        minmax(320px, 430px)
        94px;
    align-items: center;
    column-gap: clamp(26px, 3vw, 46px);
    min-height: 205px;
    padding: 24px 0 28px;
}

body[data-voting-phase="phase2"] .category-head > div:first-child {
    min-width: 0;
}

body[data-voting-phase="phase2"] .category-head .category-description {
    max-width: 410px;
}

/* Video kompakt und wirklich im Zwischenraum. */
body[data-voting-phase="phase2"] .category-head .category-video-preview {
    width: 100%;
    margin: 0;
    align-self: center;
}

body[data-voting-phase="phase2"] .category-head .video-thumbnail-button {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0;
}

body[data-voting-phase="phase2"] .category-head .video-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body[data-voting-phase="phase2"] .category-head .selection-status {
    justify-self: end;
    align-self: center;
}

/*
 * Wenn für eine Kategorie kein Video vorhanden ist, nimmt der
 * unsichtbare Bereich keinen störenden Platz ein.
 */
body[data-voting-phase="phase2"] .category-head .category-video-preview[hidden] {
    display: none !important;
}

/* Ohne Video darf der Textbereich bis zur Auswahl aufziehen. */
body[data-voting-phase="phase2"] .category-head:has(.category-video-preview[hidden]) {
    grid-template-columns: minmax(0, 1fr) 94px;
}

body[data-voting-phase="phase2"] .category-head:has(.category-video-preview[hidden]) .selection-status {
    grid-column: 2;
}

/* =========================================================
   PHASE 2 – SIDEBAR EINGEKLAPPT EXAKT ZENTRIEREN
   ========================================================= */

/*
 * Statt den rechten Bereich nach Gefühl zu verschieben, bekommt
 * die geschlossene 46px-Sidebar rechts eine unsichtbare Gegenbreite.
 * Damit liegt die Stage mathematisch mittig im gesamten Container.
 */
body[data-voting-phase="phase2"] .voting-layout.sidebar-collapsed {
    grid-template-columns:
        46px
        minmax(0, 1120px)
        46px;
    justify-content: center;
    gap: 22px;
}

body[data-voting-phase="phase2"] .voting-layout.sidebar-collapsed .category-sidebar {
    grid-column: 1;
}

body[data-voting-phase="phase2"] .voting-layout.sidebar-collapsed .category-stage {
    grid-column: 2;
    width: 100%;
    max-width: 1120px;
    justify-self: center;
    transform: none;
}

/* Nominees und untere Controls bleiben sauber in derselben Mittelachse. */
body[data-voting-phase="phase2"] .voting-layout.sidebar-collapsed .nominees-grid,
body[data-voting-phase="phase2"] .voting-layout.sidebar-collapsed .selection-status-bottom,
body[data-voting-phase="phase2"] .voting-layout.sidebar-collapsed .voting-navigation {
    width: 100%;
    max-width: none;
}

/* Mittlere Desktopbreiten */
@media (max-width: 1220px) and (min-width: 901px) {
    body[data-voting-phase="phase2"] .category-head {
        grid-template-columns:
            minmax(230px, 1fr)
            minmax(280px, 360px)
            88px;
        column-gap: 22px;
    }

    body[data-voting-phase="phase2"] .voting-layout.sidebar-collapsed {
        grid-template-columns:
            46px
            minmax(0, 980px)
            46px;
        gap: 18px;
    }

    body[data-voting-phase="phase2"] .voting-layout.sidebar-collapsed .category-stage {
        max-width: 980px;
    }
}

/* Mobile / kleine Breiten */
@media (max-width: 900px) {
    body[data-voting-phase="phase2"] .category-head,
    body[data-voting-phase="phase2"] .category-head:has(.category-video-preview[hidden]) {
        display: flex;
        min-height: 0;
        padding: 20px 0 24px;
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
    }

    body[data-voting-phase="phase2"] .category-head .category-description {
        max-width: none;
    }

    body[data-voting-phase="phase2"] .category-head .category-video-preview {
        width: min(100%, 560px);
    }

    body[data-voting-phase="phase2"] .category-head .selection-status {
        align-self: flex-start;
    }

    body[data-voting-phase="phase2"] .voting-layout.sidebar-collapsed {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    body[data-voting-phase="phase2"] .voting-layout.sidebar-collapsed .category-sidebar,
    body[data-voting-phase="phase2"] .voting-layout.sidebar-collapsed .category-stage {
        grid-column: 1;
        width: 100%;
        max-width: none;
    }
}

/* =========================================================
   3.2.77 – PHASE 2 KOPF FEINTUNING
   Auswahl unter Beschreibung, Video weiter rechts + größer
   ========================================================= */

body[data-voting-phase="phase2"] .category-head {
    grid-template-columns:
        minmax(280px, 0.9fr)
        minmax(380px, 520px);
    align-items: center;
    column-gap: clamp(34px, 4vw, 62px);
    min-height: 220px;
}

/*
 * Linke Spalte:
 * Kategorie, Beschreibung und direkt darunter die Auswahl.
 */
body[data-voting-phase="phase2"] .category-head > div:first-child {
    grid-column: 1;
    grid-row: 1;
}

body[data-voting-phase="phase2"] .category-head .selection-status {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    justify-self: start;
    margin-top: 118px;
    text-align: left;
}

body[data-voting-phase="phase2"] .category-head .selection-status > span {
    font-size: 9px;
}

body[data-voting-phase="phase2"] .category-head .selection-status strong {
    margin-top: 3px;
    font-size: 28px;
}

/*
 * Rechte Spalte:
 * Video etwas weiter rechts und größer.
 */
body[data-voting-phase="phase2"] .category-head .category-video-preview {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: 520px;
    justify-self: end;
}

body[data-voting-phase="phase2"] .category-head .video-thumbnail-button {
    width: 100%;
    aspect-ratio: 16 / 9;
}

/* Wenn kein Video vorhanden ist, bleibt alles sauber links. */
body[data-voting-phase="phase2"] .category-head:has(.category-video-preview[hidden]) {
    grid-template-columns: minmax(0, 1fr);
}

body[data-voting-phase="phase2"] .category-head:has(.category-video-preview[hidden]) .selection-status {
    grid-column: 1;
    grid-row: 1;
    margin-top: 118px;
}

/* Mittlere Desktopbreiten */
@media (max-width: 1220px) and (min-width: 901px) {
    body[data-voting-phase="phase2"] .category-head {
        grid-template-columns:
            minmax(240px, 0.9fr)
            minmax(320px, 440px);
        column-gap: 28px;
    }

    body[data-voting-phase="phase2"] .category-head .category-video-preview {
        max-width: 440px;
    }
}

/* Mobile: wieder sauber untereinander */
@media (max-width: 900px) {
    body[data-voting-phase="phase2"] .category-head,
    body[data-voting-phase="phase2"] .category-head:has(.category-video-preview[hidden]) {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
    }

    body[data-voting-phase="phase2"] .category-head .selection-status,
    body[data-voting-phase="phase2"] .category-head:has(.category-video-preview[hidden]) .selection-status {
        margin-top: 0;
        align-self: flex-start;
    }

    body[data-voting-phase="phase2"] .category-head .category-video-preview {
        width: min(100%, 620px);
        max-width: none;
        justify-self: auto;
    }
}

/* =========================================================
   3.2.78 – PHASE 2 KOPF: MEHR TEXTBREITE + KOMPAKTE AUSWAHL
   ========================================================= */

body[data-voting-phase="phase2"] .category-head {
    grid-template-columns:
        minmax(360px, 1fr)
        minmax(400px, 520px);
    column-gap: clamp(18px, 2vw, 30px);
}

/* Beschreibung darf fast bis ans Thumbnail laufen. */
body[data-voting-phase="phase2"] .category-head .category-description {
    max-width: none;
    padding-right: 4px;
}

/*
 * Auswahl kompakt in einer Zeile direkt unter der Beschreibung.
 * Bestehende span/strong-Struktur bleibt erhalten.
 */
body[data-voting-phase="phase2"] .category-head .selection-status {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 124px;
    text-align: left;
}

body[data-voting-phase="phase2"] .category-head .selection-status > span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

body[data-voting-phase="phase2"] .category-head .selection-status > span::after {
    content: ":";
}

body[data-voting-phase="phase2"] .category-head .selection-status strong {
    margin: 0;
    font-size: 18px;
    line-height: 1;
}

/* Video bleibt groß, sitzt aber näher am Text. */
body[data-voting-phase="phase2"] .category-head .category-video-preview {
    max-width: 520px;
}

@media (max-width: 1220px) and (min-width: 901px) {
    body[data-voting-phase="phase2"] .category-head {
        grid-template-columns:
            minmax(300px, 1fr)
            minmax(340px, 440px);
        column-gap: 20px;
    }
}

@media (max-width: 900px) {
    body[data-voting-phase="phase2"] .category-head .selection-status {
        margin-top: 0;
    }
}

/* =========================================================
   3.2.79 – KEIN TEST-THUMBNAIL-FLASH BEIM VOTINGSTART
   ========================================================= */

/*
 * Das Voting wird erst sichtbar, nachdem gespeicherter Stand,
 * aktive Kategorie und Video-/Thumbnail-Daten vollständig geladen
 * und einmal korrekt gerendert wurden.
 */
.voting-main.is-initializing {
    visibility: hidden;
    pointer-events: none;
}

.voting-main {
    transition: opacity 120ms ease;
}

/* =========================================================
   3.2.80 – INSTAGRAM STORY BUILDER
   ========================================================= */

.voting-story-builder {
    margin-top: 46px;
    padding-top: 34px;
    border-top: 1px solid rgba(198,169,40,.28);
}

.voting-story-builder[hidden] {
    display: none !important;
}

.voting-story-builder-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.voting-story-builder-head h3 {
    margin-top: 6px;
    color: #f0f0f0;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -.025em;
}

.voting-story-builder-head > div > p:not(.kicker) {
    max-width: 620px;
    margin-top: 10px;
    color: #888;
    font-size: 12px;
    line-height: 1.65;
}

.voting-story-format {
    flex: 0 0 auto;
    padding: 7px 9px;
    border: 1px solid rgba(198,169,40,.3);
    color: var(--gold-soft);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}

.voting-story-builder-grid {
    display: grid;
    grid-template-columns: minmax(250px, .75fr) minmax(300px, 420px);
    gap: clamp(28px, 5vw, 58px);
    align-items: start;
    margin-top: 28px;
}

.voting-story-settings {
    padding: 22px;
    border: 1px solid rgba(255,255,255,.085);
    background: #0b0b0b;
}

.voting-story-settings label {
    display: block;
    color: var(--gold-soft);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.voting-story-settings select {
    width: 100%;
    min-height: 48px;
    margin-top: 9px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: #050505;
    color: #efefef;
    font: inherit;
    font-size: 12px;
    color-scheme: dark;
}

.voting-story-settings select:focus {
    outline: 1px solid var(--gold);
    outline-offset: 1px;
}

.voting-story-setting-note {
    margin-top: 14px;
    color: #727272;
    font-size: 10px;
    line-height: 1.6;
}

.voting-story-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 20px;
}

.voting-story-actions .button {
    min-height: 46px;
    padding-inline: 12px;
    font-size: 10px;
}

.voting-story-status {
    min-height: 18px;
    margin-top: 12px;
    color: #858585;
    font-size: 10px;
}

.voting-story-preview-shell {
    position: relative;
    width: min(100%, 360px);
    justify-self: end;
    padding: 7px;
    border: 1px solid rgba(198,169,40,.33);
    background: #080808;
    box-shadow: 0 20px 70px rgba(0,0,0,.32);
}

#voting-story-canvas {
    display: block;
    width: 100%;
    height: auto;
    background: #060606;
    aspect-ratio: 9 / 16;
}

@media (max-width: 760px) {
    .voting-story-builder-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .voting-story-builder-grid {
        grid-template-columns: 1fr;
    }

    .voting-story-preview-shell {
        width: min(100%, 360px);
        justify-self: center;
        grid-row: 1;
    }

    .voting-story-actions {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   3.2.100 – STORY LIEBLINGSSONG AUCH DIREKT NACH HAUPTVOTING
   ========================================================= */

.submitted-story-favorite-song {
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.submitted-story-field-label {
    display: block;
    color: var(--gold-soft);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.submitted-story-favorite-current {
    display: grid;
    grid-template-columns: 66px minmax(0,1fr);
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.submitted-story-favorite-cover {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(198,169,40,.28);
    background: #080808;
}

.submitted-story-favorite-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.submitted-story-favorite-cover span {
    color: #555;
    font-size: 9px;
    font-weight: 900;
}

.submitted-story-favorite-current strong,
.submitted-story-favorite-current small {
    display: block;
}

.submitted-story-favorite-current strong {
    color: #e8e8e8;
    font-size: 11px;
}

.submitted-story-favorite-current small {
    margin-top: 4px;
    color: #727272;
    font-size: 9px;
    line-height: 1.4;
}

#submitted-story-favorite-button {
    width: 100%;
    margin-top: 11px;
}

.submitted-story-song-chooser {
    margin-bottom: 22px;
    padding: 14px;
    border: 1px solid rgba(198,169,40,.25);
    background: #070707;
}

.submitted-story-song-chooser[hidden] {
    display: none !important;
}

.submitted-story-song-chooser-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.submitted-story-song-chooser-head span {
    display: block;
    color: var(--gold-soft);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .08em;
}

.submitted-story-song-chooser-head strong {
    display: block;
    margin-top: 3px;
    color: #e8e8e8;
    font-size: 13px;
}

.submitted-story-song-list {
    display: grid;
    gap: 7px;
    max-height: 360px;
    overflow-y: auto;
}

.submitted-story-song-option {
    display: grid;
    grid-template-columns: 56px minmax(0,1fr) 22px;
    align-items: center;
    gap: 10px;
    min-height: 68px;
    padding: 6px;
    border: 1px solid rgba(255,255,255,.08);
    background: #090909;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.submitted-story-song-option:hover,
.submitted-story-song-option.is-current {
    border-color: rgba(198,169,40,.45);
    background: rgba(198,169,40,.04);
}

.submitted-story-song-cover {
    width: 56px;
    height: 56px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #111;
}

.submitted-story-song-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.submitted-story-song-copy span,
.submitted-story-song-copy strong,
.submitted-story-song-copy small {
    display: block;
}

.submitted-story-song-copy span {
    color: var(--gold-soft);
    font-size: 7px;
    font-weight: 900;
}

.submitted-story-song-copy strong {
    margin-top: 3px;
    color: #eee;
    font-size: 10px;
}

.submitted-story-song-copy small {
    margin-top: 3px;
    color: #666;
    font-size: 8px;
}

.submitted-story-song-option b {
    color: var(--gold-soft);
}

/* 3.2.101 – Hinweis bei Lieblingssong-Auswahl ohne Phase 1 */
.submitted-story-song-context {
    display: block;
    margin-top: 4px;
    color: #727272;
    font-size: 8px;
    line-height: 1.4;
}

/* 3.2.102 – Großer Lieblingssong-Browser nach Hauptvoting */
.submitted-story-favorite-modal {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: grid;
    place-items: center;
    padding: 18px;
}
.submitted-story-favorite-modal[hidden] { display: none !important; }
.submitted-story-favorite-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.9);
}
.submitted-story-favorite-dialog {
    position: relative;
    z-index: 1;
    width: min(1380px,100%);
    height: min(880px,calc(100dvh - 36px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(198,169,40,.3);
    background: #0a0a0a;
}
.submitted-story-favorite-modal-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 26px;
    border-bottom: 1px solid rgba(198,169,40,.2);
}
.submitted-story-favorite-modal-head h2 {
    margin-top: 5px;
    font-size: clamp(34px,4vw,52px);
}
.submitted-story-favorite-modal-head p:not(.kicker) {
    max-width: 720px;
    margin-top: 8px;
    color: #777;
    font-size: 10px;
}
.submitted-story-favorite-layout {
    min-height: 0;
    flex: 1;
    display: grid;
    grid-template-columns: 270px minmax(0,1fr);
}
.submitted-story-favorite-artists {
    min-height: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(198,169,40,.16);
    background: #080808;
}
.submitted-story-favorite-artists-head {
    padding: 18px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.submitted-story-favorite-artists-head span,
.submitted-story-favorite-songs-head span {
    color: var(--gold-soft);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .1em;
}
.submitted-story-favorite-artists-head strong { display:block; margin-top:3px; }
#submitted-story-favorite-artist-list {
    min-height:0;
    overflow-y:auto;
    padding:8px;
}
.submitted-story-favorite-artist-button {
    width:100%;
    min-height:44px;
    display:grid;
    grid-template-columns:30px minmax(0,1fr) 28px;
    align-items:center;
    gap:8px;
    padding:0 9px;
    border:0;
    border-bottom:1px solid rgba(255,255,255,.055);
    background:transparent;
    color:#777;
    text-align:left;
    cursor:pointer;
}
.submitted-story-favorite-artist-button:hover,
.submitted-story-favorite-artist-button.is-active {
    background:rgba(198,169,40,.045);
    color:var(--gold-soft);
}
.submitted-story-favorite-artist-button span { color:#555; font-size:8px; font-weight:900; }
.submitted-story-favorite-artist-button strong {
    overflow:hidden;
    font-size:10px;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.submitted-story-favorite-artist-button small { color:#555; font-size:8px; text-align:right; }
.submitted-story-favorite-songs {
    min-height:0;
    display:flex;
    flex-direction:column;
}
.submitted-story-favorite-songs-head {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    padding:18px 22px;
    border-bottom:1px solid rgba(255,255,255,.07);
}
.submitted-story-favorite-songs-head h3 { margin-top:4px; font-size:24px; }
#submitted-story-favorite-song-grid {
    min-height:0;
    overflow-y:auto;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    align-content:start;
    padding:18px;
}
.submitted-story-favorite-song-card {
    min-width:0;
    display:grid;
    grid-template-columns:82px minmax(0,1fr) 24px;
    align-items:center;
    gap:11px;
    min-height:100px;
    padding:8px;
    border:1px solid rgba(255,255,255,.08);
    background:#090909;
    color:inherit;
    text-align:left;
    cursor:pointer;
}
.submitted-story-favorite-song-card:hover,
.submitted-story-favorite-song-card.is-current {
    border-color:rgba(198,169,40,.48);
    background:rgba(198,169,40,.045);
}
.submitted-story-favorite-song-cover {
    width:82px;
    height:82px;
    overflow:hidden;
    display:grid;
    place-items:center;
    background:#111;
}
.submitted-story-favorite-song-cover img { width:100%; height:100%; object-fit:cover; }
.submitted-story-favorite-song-copy { min-width:0; }
.submitted-story-favorite-song-copy span,
.submitted-story-favorite-song-copy strong,
.submitted-story-favorite-song-copy small { display:block; }
.submitted-story-favorite-song-copy span { color:var(--gold-soft); font-size:7px; font-weight:900; }
.submitted-story-favorite-song-copy strong {
    margin-top:4px;
    overflow:hidden;
    color:#eee;
    font-size:10px;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.submitted-story-favorite-song-copy small {
    margin-top:4px;
    overflow:hidden;
    color:#666;
    font-size:8px;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.submitted-story-favorite-song-card b { color:var(--gold-soft); text-align:center; }

@media (max-width:1100px) {
    .submitted-story-favorite-layout { grid-template-columns:230px minmax(0,1fr); }
    #submitted-story-favorite-song-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
    .submitted-story-favorite-dialog { height:calc(100dvh - 20px); }
    .submitted-story-favorite-modal-head { align-items:flex-start; flex-direction:column; }
    .submitted-story-favorite-layout {
        grid-template-columns:1fr;
        grid-template-rows:180px minmax(0,1fr);
    }
    .submitted-story-favorite-artists {
        border-right:0;
        border-bottom:1px solid rgba(198,169,40,.16);
    }
    #submitted-story-favorite-song-grid { grid-template-columns:1fr; }
}

/* Partner-/Admin-Testumgebung */
.partner-mode-panel {
    margin-top: 16px;
}

/* =========================================================
   3.2.118 – DIREKTER TEST-VOTING-EINSTIEG
   ========================================================= */
body[data-voting-phase] .welcome-resume-choice {
    border-color: rgba(198,169,40,.3);
}

body[data-voting-phase] .welcome-resume-choice .welcome-resume-actions {
    margin-top: 22px;
}

/* =========================================================
   3.2.147 – DESKTOP F11 HINWEIS / MOBILE ECHTES VOLLBILD
   ========================================================= */

.f11-notice[hidden] {
    display: none !important;
}

.f11-notice {
    position: fixed;
    inset: 0;
    z-index: 6500;
    display: grid;
    place-items: center;
    padding: 24px;
}

.f11-notice-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.82);
    backdrop-filter: blur(8px);
}

.f11-notice-dialog {
    position: relative;
    width: min(720px, 100%);
    padding: 42px 42px 36px;
    border: 1px solid rgba(198,169,40,.48);
    background:
        linear-gradient(
            135deg,
            rgba(198,169,40,.075),
            transparent 43%
        ),
        #090909;
    text-align: center;
    box-shadow: 0 30px 110px rgba(0,0,0,.7);
}

.f11-notice-dialog::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 130px;
    height: 3px;
    transform: translateX(-50%);
    background: var(--gold);
}

.f11-notice-kicker {
    display: block;
    color: var(--gold-soft);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .18em;
}

.f11-key {
    width: 116px;
    height: 72px;
    margin: 24px auto 22px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(198,169,40,.7);
    background: #050505;
    color: var(--gold-soft);
    font-size: 32px;
    font-weight: 950;
    letter-spacing: .04em;
    box-shadow:
        inset 0 -5px 0 rgba(198,169,40,.08),
        0 12px 35px rgba(0,0,0,.35);
}

.f11-notice-dialog h2 {
    margin: 0 auto;
    max-width: 610px;
    color: #f1f1f1;
    font-size: clamp(30px, 4.4vw, 52px);
    line-height: .98;
    letter-spacing: -.04em;
}

.f11-notice-dialog > p {
    max-width: 570px;
    margin: 18px auto 0;
    color: #858585;
    font-size: 12px;
    line-height: 1.65;
}

.f11-notice-close {
    min-width: 150px;
    min-height: 46px;
    margin-top: 27px;
    padding: 0 20px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #050505;
    font: inherit;
    font-size: 11px;
    font-weight: 950;
    cursor: pointer;
}

@media (max-width: 900px), (pointer: coarse) {
    .f11-notice {
        display: none !important;
    }
}

/* =========================================================
   3.2.165 – HAUPTVOTING MOBILE KOMPAKT
   ========================================================= */

/* Desktop-Struktur für den neuen Progress-Wrapper beibehalten. */
.voting-progress-compact {
    display: contents;
}

@media (max-width: 760px) {
    /* Nur das Hauptvoting wird so stark komprimiert. */
    .phase2-voting .voting-intro {
        padding: 22px 0 14px;
    }

    .phase2-voting .voting-progress-meta {
        display: block;
    }

    .phase2-voting .voting-progress-title .kicker {
        font-size: 9px;
        letter-spacing: .16em;
    }

    .phase2-voting .voting-progress-title h1 {
        margin-top: 4px;
        font-size: 34px;
        line-height: .95;
    }

    .phase2-voting .voting-progress-compact {
        margin-top: 12px;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 12px;
    }

    .phase2-voting .progress-counter {
        min-width: 0;
        display: flex;
        align-items: baseline;
        gap: 5px;
        text-align: left;
    }

    .phase2-voting .progress-counter strong {
        font-size: 18px;
        line-height: 1;
    }

    .phase2-voting .progress-counter span {
        display: none;
    }

    .phase2-voting .progress-track {
        width: 100%;
        height: 5px;
        margin-top: 0;
    }

    .phase2-voting .voting-content {
        padding-top: 12px;
    }

    .phase2-voting .voting-layout,
    .phase2-voting .voting-layout.sidebar-collapsed {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    /*
     * Kategorieübersicht sitzt direkt unter Voting 2026 / Fortschritt
     * und ist standardmäßig nur ein kompakter Button.
     */
    .phase2-voting .category-sidebar,
    .phase2-voting .voting-layout.sidebar-collapsed .category-sidebar {
        position: relative;
        top: auto;
        z-index: 20;
        width: 100%;
        order: -1;
    }

    .phase2-voting .category-toggle,
    .phase2-voting .voting-layout.sidebar-collapsed .category-toggle {
        width: 100%;
        min-height: 48px;
        padding: 9px 13px;
        display: flex;
        justify-content: space-between;
        border: 1px solid rgba(198,169,40,.30);
        background: #0e0e0e;
    }

    .phase2-voting .category-toggle[aria-expanded="false"] {
        justify-content: space-between;
        padding-inline: 13px;
    }

    .phase2-voting .category-toggle[aria-expanded="false"] .category-toggle-copy {
        position: static;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .phase2-voting .category-toggle-copy {
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
    }

    .phase2-voting .category-toggle-copy .sidebar-label {
        font-size: 8px;
    }

    .phase2-voting .category-toggle strong {
        font-size: 12px;
    }

    .phase2-voting .category-toggle-icon {
        font-size: 18px;
        transform: rotate(-90deg);
    }

    .phase2-voting .category-toggle[aria-expanded="false"] .category-toggle-icon {
        transform: rotate(90deg);
    }

    /*
     * Offen: begrenzte Höhe mit eigenem Scrollbereich statt den kompletten
     * Handybildschirm mit Kategorien zu verdecken.
     */
    .phase2-voting .category-panel {
        width: 100%;
        max-height: 52vh;
        overflow-y: auto;
        overflow-x: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: 1px solid rgba(255,255,255,.08);
        border-top: 0;
        background: #0b0b0b;
    }

    .phase2-voting .category-panel.is-collapsed {
        width: 100%;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transform: none;
        overflow: hidden;
        border: 0;
    }

    .phase2-voting .category-navigation {
        margin: 0;
        padding: 4px 10px;
    }

    .phase2-voting .category-nav-item {
        min-height: 46px;
        padding: 10px 4px;
    }

    .phase2-voting .category-legend {
        margin: 4px 10px 10px;
        padding: 10px 0;
    }

    .phase2-voting .category-stage {
        width: 100%;
    }

    .phase2-voting .category-head {
        gap: 12px;
    }
}

/* =========================================================
   3.2.167 – PHASE 1 MOBILE WIE HAUPTVOTING
   ========================================================= */

/* Desktop-Struktur für den neuen Progress-Wrapper beibehalten. */
.voting-progress-compact {
    display: contents;
}

@media (max-width: 760px) {
    /* Phase 1 nutzt jetzt dieselbe kompakte mobile Darstellung wie das Hauptvoting. */
    .phase1-voting .voting-intro {
        padding: 22px 0 14px;
    }

    .phase1-voting .voting-progress-meta {
        display: block;
    }

    .phase1-voting .voting-progress-title .kicker {
        font-size: 9px;
        letter-spacing: .16em;
    }

    .phase1-voting .voting-progress-title h1 {
        margin-top: 4px;
        font-size: 34px;
        line-height: .95;
    }

    .phase1-voting .voting-progress-compact {
        margin-top: 12px;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 12px;
    }

    .phase1-voting .progress-counter {
        min-width: 0;
        display: flex;
        align-items: baseline;
        gap: 5px;
        text-align: left;
    }

    .phase1-voting .progress-counter strong {
        font-size: 18px;
        line-height: 1;
    }

    .phase1-voting .progress-counter span {
        display: none;
    }

    .phase1-voting .progress-track {
        width: 100%;
        height: 5px;
        margin-top: 0;
    }

    .phase1-voting .voting-content {
        padding-top: 12px;
    }

    .phase1-voting .voting-layout,
    .phase1-voting .voting-layout.sidebar-collapsed {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    /*
     * Kategorieübersicht sitzt auch in Phase 1 direkt unter Voting 2026 / Fortschritt
     * und ist standardmäßig nur ein kompakter Button.
     */
    .phase1-voting .category-sidebar,
    .phase1-voting .voting-layout.sidebar-collapsed .category-sidebar {
        position: relative;
        top: auto;
        z-index: 20;
        width: 100%;
        order: -1;
    }

    .phase1-voting .category-toggle,
    .phase1-voting .voting-layout.sidebar-collapsed .category-toggle {
        width: 100%;
        min-height: 48px;
        padding: 9px 13px;
        display: flex;
        justify-content: space-between;
        border: 1px solid rgba(198,169,40,.30);
        background: #0e0e0e;
    }

    .phase1-voting .category-toggle[aria-expanded="false"] {
        justify-content: space-between;
        padding-inline: 13px;
    }

    .phase1-voting .category-toggle[aria-expanded="false"] .category-toggle-copy {
        position: static;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .phase1-voting .category-toggle-copy {
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
    }

    .phase1-voting .category-toggle-copy .sidebar-label {
        font-size: 8px;
    }

    .phase1-voting .category-toggle strong {
        font-size: 12px;
    }

    .phase1-voting .category-toggle-icon {
        font-size: 18px;
        transform: rotate(-90deg);
    }

    .phase1-voting .category-toggle[aria-expanded="false"] .category-toggle-icon {
        transform: rotate(90deg);
    }

    /*
     * Offen: begrenzte Höhe mit eigenem Scrollbereich statt den kompletten
     * Handybildschirm mit Kategorien zu verdecken.
     */
    .phase1-voting .category-panel {
        width: 100%;
        max-height: 52vh;
        overflow-y: auto;
        overflow-x: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: 1px solid rgba(255,255,255,.08);
        border-top: 0;
        background: #0b0b0b;
    }

    .phase1-voting .category-panel.is-collapsed {
        width: 100%;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transform: none;
        overflow: hidden;
        border: 0;
    }

    .phase1-voting .category-navigation {
        margin: 0;
        padding: 4px 10px;
    }

    .phase1-voting .category-nav-item {
        min-height: 46px;
        padding: 10px 4px;
    }

    .phase1-voting .category-legend {
        margin: 4px 10px 10px;
        padding: 10px 0;
    }

    .phase1-voting .category-stage {
        width: 100%;
    }

    .phase1-voting .category-head {
        gap: 12px;
    }
}

/* =========================================================
   3.2.168 – MOBILE KATEGORIEÜBERSICHT SICHER GESCHLOSSEN
   ========================================================= */

@media (max-width: 760px) {
    .phase1-voting .category-toggle[aria-expanded="false"] + .category-panel,
    .phase2-voting .category-toggle[aria-expanded="false"] + .category-panel {
        max-height: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        overflow: hidden !important;
        border: 0 !important;
    }
}

/* =========================================================
   3.2.169 – NOMINEE-CARDS MOBIL PROPORTIONALER
   ========================================================= */

@media (max-width: 760px) {
    /*
     * Auf Mobil wird der sichtbare Haken entfernt.
     * Die Auswahl bleibt vollständig über die Card klickbar und
     * wird weiterhin durch die goldene Umrandung markiert.
     */
    .nominee-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 14px;
        min-height: 102px;
        padding: 14px;
    }

    .nominee-checkbox {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: 0;
        padding: 0;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
        border: 0;
        opacity: 0;
        pointer-events: none;
    }

    .nominee-cover {
        width: 72px;
        height: 72px;
    }

    .nominee-title {
        margin-top: 2px;
        overflow: visible;
        font-size: 15px;
        line-height: 1.18;
        white-space: normal;
        text-overflow: clip;
        overflow-wrap: anywhere;
    }

    .nominee-artist {
        margin-top: 6px;
        font-size: 11px;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .nominee-card.is-selected {
        border-color: var(--gold);
        box-shadow:
            inset 0 0 0 1px rgba(198,169,40,.10);
    }
}

@media (max-width: 390px) {
    .nominee-card {
        grid-template-columns: 66px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .nominee-cover {
        width: 66px;
        height: 66px;
    }

    .nominee-title {
        font-size: 14px;
    }

    .nominee-artist {
        font-size: 10.5px;
    }
}

/* =========================================================
   3.2.170 – INSTAGRAM STORY MOBILE ARTIST FILTER
   ========================================================= */

.submitted-story-favorite-mobile-filter {
    display: none;
}

@media (max-width: 760px) {
    /*
     * Künstlerauswahl mobil wie eine kompakte Kategorienauswahl:
     * kein dauerhaft sichtbarer Künstlerblock mehr.
     */
    .submitted-story-favorite-artists {
        display: none;
    }

    .submitted-story-favorite-layout {
        display: block;
        min-height: 0;
        flex: 1;
    }

    .submitted-story-favorite-songs {
        height: 100%;
        min-height: 0;
    }

    .submitted-story-favorite-mobile-filter {
        flex: 0 0 auto;
        padding: 9px 12px 8px;
        display: grid;
        gap: 5px;
        border-bottom: 1px solid rgba(198,169,40,.16);
        background: #080808;
    }

    .submitted-story-favorite-mobile-filter label {
        color: var(--gold-soft);
        font-size: 8px;
        font-weight: 900;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    .submitted-story-favorite-mobile-filter select {
        width: 100%;
        min-height: 42px;
        padding: 0 36px 0 12px;
        border: 1px solid rgba(198,169,40,.34);
        border-radius: 0;
        background: #0d0d0d;
        color: #eee;
        font: inherit;
        font-size: 11px;
        font-weight: 800;
    }

    /*
     * Mehr Platz für Songs:
     * Kopfbereich deutlich flacher, damit im Scrollbereich mehr Cards
     * gleichzeitig sichtbar sind.
     */
    .submitted-story-favorite-modal {
        padding: 8px;
    }

    .submitted-story-favorite-dialog {
        width: 100%;
        height: calc(100dvh - 16px);
    }

    .submitted-story-favorite-modal-head {
        min-height: 0;
        padding: 12px 14px 10px;
        display: grid;
        grid-template-columns: minmax(0,1fr) auto;
        align-items: center;
        gap: 10px;
    }

    .submitted-story-favorite-modal-head .kicker {
        font-size: 7px;
    }

    .submitted-story-favorite-modal-head h2 {
        margin-top: 2px;
        font-size: 23px;
        line-height: 1;
    }

    .submitted-story-favorite-modal-head p:not(.kicker) {
        display: none;
    }

    .submitted-story-favorite-modal-head .button {
        min-height: 36px;
        padding: 0 11px;
        font-size: 9px;
    }

    .submitted-story-favorite-songs-head {
        flex: 0 0 auto;
        padding: 9px 12px;
        align-items: center;
    }

    .submitted-story-favorite-songs-head h3 {
        margin-top: 2px;
        font-size: 17px;
        line-height: 1.05;
    }

    .submitted-story-favorite-songs-head span {
        font-size: 7px;
    }

    .submitted-story-favorite-songs-head small {
        font-size: 8px;
    }

    #submitted-story-favorite-song-grid {
        min-height: 0;
        flex: 1;
        overflow-y: auto;
        padding: 10px;
        gap: 7px;
        grid-template-columns: 1fr;
        align-content: start;
    }

    .submitted-story-favorite-song-card {
        grid-template-columns: 66px minmax(0,1fr) 20px;
        min-height: 78px;
        gap: 9px;
        padding: 6px;
    }

    .submitted-story-favorite-song-cover {
        width: 66px;
        height: 66px;
    }

    .submitted-story-favorite-song-copy strong {
        white-space: normal;
        line-height: 1.25;
    }
}

/* =========================================================
   3.3.10 – HAUPTVOTING SONG-BEARBEITUNGSMODUS
   ========================================================= */

.phase2-song-edit-mode .vote-nav-area,
.phase2-song-edit-mode .selection-limit-message,
.phase2-song-edit-mode .selection-bottom-info,
.phase2-song-edit-mode #save-later-button {
    display: none !important;
}

.phase2-song-edit-mode .nominees-grid {
    align-items: stretch;
}

.phase2-song-editor-bar {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 900;
    width: min(980px, calc(100vw - 32px));
    min-height: 66px;
    padding: 10px 12px 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border: 1px solid rgba(198,169,40,.44);
    background:
        linear-gradient(110deg, rgba(198,169,40,.07), transparent 45%),
        rgba(8,8,8,.97);
    box-shadow: 0 24px 70px rgba(0,0,0,.72);
    transform: translateX(-50%);
}

.phase2-song-editor-bar > div:first-child {
    min-width: 0;
    display: grid;
}

.phase2-song-editor-bar > div:first-child > span {
    color: var(--gold-soft);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .16em;
}

.phase2-song-editor-bar > div:first-child > strong {
    color: #eee;
    font-size: 13px;
}

.phase2-song-editor-bar > div:first-child > small {
    margin-top: 2px;
    color: #666;
    font-size: 8px;
}

.phase2-song-editor-bar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phase2-song-editor-bar-actions > a {
    min-height: 44px;
    padding: 0 14px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.11);
    color: #999;
    font-size: 9px;
    font-weight: 900;
    text-decoration: none;
}

#phase2-song-editor-save {
    min-width: 180px;
    min-height: 44px;
    padding: 7px 13px;
    display: grid;
    border: 1px solid rgba(198,169,40,.5);
    background: #0d0d0d;
    color: #ddd;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

#phase2-song-editor-save span {
    color: #777;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .13em;
}

#phase2-song-editor-save strong {
    color: var(--gold-soft);
    font-size: 11px;
    letter-spacing: .06em;
}

.phase2-editor-song-slot {
    position: relative;
    min-height: 112px;
    border: 1px solid rgba(255,255,255,.085);
    background: #0b0b0b;
}

.phase2-editor-song-slot.is-filled {
    border-color: rgba(198,169,40,.24);
}

.phase2-editor-slot-main {
    width: 100%;
    min-height: 112px;
    padding: 12px;
    display: grid;
    grid-template-columns: 78px minmax(0,1fr);
    align-items: center;
    gap: 14px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.phase2-editor-slot-main:hover {
    background: rgba(198,169,40,.035);
}

.phase2-editor-slot-cover,
.phase2-editor-slot-empty-icon {
    width: 78px;
    height: 78px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.09);
    background: #101010;
    color: var(--gold-soft);
}

.phase2-editor-slot-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.phase2-editor-slot-empty-icon {
    font-size: 28px;
    font-weight: 300;
}

.phase2-editor-slot-copy {
    min-width: 0;
    display: grid;
}

.phase2-editor-slot-copy > span {
    color: var(--gold-soft);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .12em;
}

.phase2-editor-slot-copy > strong {
    margin-top: 5px;
    color: #eee;
    font-size: 14px;
    line-height: 1.2;
}

.phase2-editor-slot-copy > small {
    margin-top: 5px;
    color: #777;
    font-size: 9px;
    line-height: 1.35;
}

.phase2-editor-slot-remove {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 2;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255,255,255,.12);
    background: #0c0c0c;
    color: #777;
    font-size: 18px;
    cursor: pointer;
}

.phase2-editor-slot-remove:hover {
    border-color: rgba(198,169,40,.45);
    color: var(--gold-soft);
}

.phase2-editor-code-category {
    grid-column: 1 / -1;
    padding: 28px;
    border: 1px solid rgba(198,169,40,.2);
    background: #0b0b0b;
}

.phase2-editor-code-category > span {
    color: var(--gold-soft);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .15em;
}

.phase2-editor-code-category > strong {
    display: block;
    margin-top: 7px;
    color: #eee;
    font-size: 20px;
}

.phase2-editor-code-category p {
    margin: 9px 0 0;
    color: #777;
    line-height: 1.6;
}

.phase2-song-picker[hidden] {
    display: none;
}

.phase2-song-picker {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 24px;
}

.phase2-song-picker-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.84);
    backdrop-filter: blur(8px);
}

.phase2-song-picker-dialog {
    position: relative;
    z-index: 1;
    width: min(1120px,100%);
    height: min(820px,calc(100dvh - 48px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(198,169,40,.34);
    background: #090909;
    box-shadow: 0 34px 100px rgba(0,0,0,.78);
}

.phase2-song-picker-head {
    flex: 0 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.phase2-song-picker-head span {
    color: var(--gold-soft);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .15em;
}

.phase2-song-picker-head h2 {
    margin: 4px 0 2px;
    color: #eee;
    font-size: 27px;
}

.phase2-song-picker-head small {
    color: #777;
    font-size: 9px;
}

.phase2-song-picker-close {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.12);
    background: #0d0d0d;
    color: #aaa;
    font-size: 24px;
    cursor: pointer;
}

.phase2-song-picker-tools {
    flex: 0 0 auto;
    padding: 12px 16px;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.phase2-song-picker-tools input {
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid rgba(198,169,40,.25);
    border-radius: 0;
    outline: 0;
    background: #0d0d0d;
    color: #eee;
    font: inherit;
    font-size: 11px;
}

.phase2-song-picker-tools span {
    color: #777;
    font-size: 9px;
    font-weight: 800;
}

.phase2-song-picker-list {
    min-height: 0;
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    align-content: start;
    gap: 8px;
}

.phase2-song-picker-item {
    min-height: 88px;
    padding: 8px;
    display: grid;
    grid-template-columns: 68px minmax(0,1fr) 26px;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(255,255,255,.075);
    background: #0c0c0c;
    color: #ddd;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.phase2-song-picker-item:hover {
    border-color: rgba(198,169,40,.4);
    background: rgba(198,169,40,.035);
}

.phase2-song-picker-cover {
    width: 68px;
    height: 68px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #111;
    color: var(--gold-soft);
}

.phase2-song-picker-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.phase2-song-picker-item > div:nth-child(2) {
    min-width: 0;
    display: grid;
}

.phase2-song-picker-item > div:nth-child(2) span {
    color: var(--gold-soft);
    font-size: 8px;
    font-weight: 800;
    line-height: 1.25;
}

.phase2-song-picker-item > div:nth-child(2) strong {
    margin-top: 4px;
    color: #eee;
    font-size: 12px;
    line-height: 1.25;
}

.phase2-song-picker-item > b {
    color: var(--gold-soft);
    font-size: 20px;
    font-weight: 400;
}

.phase2-song-picker-empty {
    grid-column: 1 / -1;
    padding: 30px;
    color: #777;
    text-align: center;
}

@media (max-width:900px) {
    .phase2-song-picker-list {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width:760px) {
    .phase2-song-edit-mode {
        padding-bottom: 90px;
    }

    .phase2-song-editor-bar {
        bottom: 8px;
        width: calc(100vw - 16px);
        min-height: 58px;
        padding: 8px;
    }

    .phase2-song-editor-bar > div:first-child {
        display: none;
    }

    .phase2-song-editor-bar-actions {
        width: 100%;
        display: grid;
        grid-template-columns: auto 1fr;
    }

    .phase2-song-editor-bar-actions > a,
    #phase2-song-editor-save {
        min-height: 44px;
    }

    #phase2-song-editor-save {
        width: 100%;
        min-width: 0;
    }

    .phase2-editor-slot-main {
        grid-template-columns: 68px minmax(0,1fr);
        min-height: 96px;
        padding: 9px;
        gap: 10px;
    }

    .phase2-editor-slot-cover,
    .phase2-editor-slot-empty-icon {
        width: 68px;
        height: 68px;
    }

    .phase2-song-picker {
        padding: 8px;
    }

    .phase2-song-picker-dialog {
        height: calc(100dvh - 16px);
    }

    .phase2-song-picker-head {
        padding: 12px 13px;
    }

    .phase2-song-picker-head h2 {
        font-size: 22px;
    }

    .phase2-song-picker-tools {
        padding: 9px 10px;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .phase2-song-picker-list {
        grid-template-columns: 1fr;
        padding: 8px;
    }

    .phase2-song-picker-item {
        min-height: 86px;
    }
}

/* 3.3.12 – Hauptkünstler über Songtitel */
.nominee-main-artist {
    display: block;
    margin-bottom: 3px;
    color: var(--gold-soft);
    font-size: 9px;
    font-weight: 900;
    line-height: 1.2;
}

/* =========================================================
   3.3.17 – KOMPAKTER FORTSCHRITT + ADMIN-EDITOR IM HEADER
   ========================================================= */

/*
 * Intro kompakter halten: Titel links, Fortschritt sauber rechts,
 * Balken unmittelbar darunter.
 */
.voting-intro {
    padding: 34px 0 18px;
}

.voting-progress-meta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 32px;
}

.voting-progress-meta h1 {
    margin-top: 7px;
    font-size: clamp(44px, 4.7vw, 68px);
}

.progress-counter {
    min-width: 105px;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
}

.progress-counter strong {
    display: block;
    margin-top: 4px;
    color: var(--gold);
    font-size: 31px;
    line-height: 1;
}

.progress-counter span {
    display: block;
    color: #8f8f8f;
    font-size: 8px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.progress-track {
    position: relative;
    width: 100%;
    height: 4px;
    margin-top: 17px;
    overflow: hidden;
    background: #1b1b1b;
}

.progress-fill {
    height: 100%;
    background: var(--gold);
    transition: width 220ms ease;
}

/* Direkter Admin-Zugang sitzt im Header, nicht im Fortschrittsbereich. */
.voting-admin-editor-shortcut {
    min-height: 50px;
    padding: 0 15px;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border: 1px solid rgba(198,169,40,.48);
    background: #0c0c0c;
    color: #e8e8e8;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.15;
    text-decoration: none;
    white-space: nowrap;
}

.voting-admin-editor-shortcut span {
    margin-bottom: 3px;
    color: var(--gold-soft);
    font-size: 7px;
    letter-spacing: .14em;
}

.voting-admin-editor-shortcut:hover {
    border-color: var(--gold-soft);
    background: rgba(198,169,40,.055);
    color: #fff;
}

@media (max-width: 1100px) {
    .voting-admin-editor-shortcut {
        padding: 0 11px;
        font-size: 9px;
    }
}

@media (max-width: 760px) {
    .voting-intro {
        padding: 20px 0 14px;
    }

    .voting-progress-meta {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
    }

    .voting-progress-meta h1 {
        font-size: clamp(34px, 11vw, 48px);
    }

    .progress-counter {
        min-width: 62px;
    }

    .progress-counter strong {
        font-size: 22px;
    }

    .progress-counter span {
        font-size: 7px;
    }

    .progress-track {
        height: 4px;
        margin-top: 12px;
    }

    /*
     * Auf sehr kleinen Geräten keinen zusätzlichen Headerplatz verbrauchen.
     * Admin kann weiterhin über Dashboard → 07 öffnen.
     */
    .voting-admin-editor-shortcut {
        display: none;
    }
}

/* =========================================================
   3.3.18 – FINALER FORTSCHRITT + FESTER ADMIN-EDITOR-BUTTON
   Dieser Block ist absichtlich autoritativ.
   ========================================================= */

/* Oberen Bereich deutlich kompakter machen. */
.voting-page .voting-intro {
    padding: 28px 0 16px !important;
}

/* Voting 2026 links, Prozentzahl sauber ganz rechts. */
.voting-page .voting-progress-meta {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 90px !important;
    align-items: end !important;
    gap: 24px !important;
    width: 100% !important;
}

.voting-page .voting-progress-meta h1 {
    margin-top: 7px !important;
    font-size: clamp(44px, 4.6vw, 66px) !important;
    line-height: .94 !important;
}

/* Prozentzahl rechts oben, Label klein darunter. */
.voting-page .progress-counter {
    width: 90px !important;
    min-width: 90px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    text-align: right !important;
    justify-self: end !important;
}

.voting-page .progress-counter strong {
    display: block !important;
    margin: 0 !important;
    color: var(--gold) !important;
    font-size: 30px !important;
    line-height: 1 !important;
    text-align: right !important;
}

.voting-page .progress-counter span {
    display: block !important;
    margin-top: 5px !important;
    color: #8a8a8a !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-align: right !important;
}

/* Goldener Balken direkt darunter, über volle Containerbreite. */
.voting-page .progress-track,
.voting-page.phase2-song-edit-mode .progress-track {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 4px !important;
    margin: 14px 0 0 !important;
    overflow: hidden !important;
    background: #1b1b1b !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.voting-page .progress-fill,
.voting-page.phase2-song-edit-mode .progress-fill {
    display: block !important;
    height: 100% !important;
    background: var(--gold) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Admin-Editor-Button ist jetzt ein festes Header-Element. */
.voting-header-actions .voting-admin-editor-shortcut {
    min-height: 50px !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    border: 1px solid rgba(198,169,40,.48) !important;
    background: #0c0c0c !important;
    color: #ededed !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.voting-header-actions .voting-admin-editor-shortcut span {
    margin-bottom: 3px !important;
    color: var(--gold-soft) !important;
    font-size: 7px !important;
    letter-spacing: .14em !important;
}

.voting-header-actions .voting-admin-editor-shortcut:hover {
    border-color: var(--gold-soft) !important;
    background: rgba(198,169,40,.055) !important;
}

.voting-header-actions .voting-admin-editor-shortcut[hidden] {
    display: none !important;
}

@media (max-width: 760px) {
    .voting-page .voting-intro {
        padding: 18px 0 12px !important;
    }

    .voting-page .voting-progress-meta {
        grid-template-columns: minmax(0,1fr) 58px !important;
        gap: 10px !important;
    }

    .voting-page .voting-progress-meta h1 {
        font-size: clamp(34px, 11vw, 48px) !important;
    }

    .voting-page .progress-counter {
        width: 58px !important;
        min-width: 58px !important;
    }

    .voting-page .progress-counter strong {
        font-size: 21px !important;
    }

    .voting-page .progress-counter span {
        font-size: 6px !important;
    }

    .voting-page .progress-track {
        margin-top: 10px !important;
    }

    /* Auf Mobil bleibt der Editor über Admin → 07 erreichbar. */
    .voting-header-actions .voting-admin-editor-shortcut {
        display: none !important;
    }
}

/* 3.3.20 – final clean progress */
.voting-page .voting-intro{padding:34px 0 18px!important;}
.voting-page .voting-progress-meta{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:24px!important;width:100%!important;}
.voting-page .progress-counter{flex:0 0 auto!important;min-width:72px!important;margin:0 0 2px!important;display:block!important;text-align:right!important;}
.voting-page .progress-counter strong{display:block!important;margin:0!important;color:var(--gold)!important;font-size:28px!important;font-weight:900!important;line-height:1!important;text-align:right!important;}
.voting-page .progress-counter span{display:none!important;}
.voting-page .progress-track,.voting-page.phase2-song-edit-mode .progress-track{display:block!important;width:100%!important;height:4px!important;margin:14px 0 0!important;overflow:hidden!important;background:#1d1d1d!important;visibility:visible!important;opacity:1!important;}
.voting-page .progress-fill,.voting-page.phase2-song-edit-mode .progress-fill{display:block!important;height:100%!important;background:var(--gold)!important;visibility:visible!important;opacity:1!important;transition:width 220ms ease!important;}
.voting-admin-editor-shortcut,#phase2-editor-shortcut{display:none!important;}
@media(max-width:760px){.voting-page .voting-intro{padding:18px 0 12px!important}.voting-page .voting-progress-meta{gap:10px!important}.voting-page .progress-counter{min-width:48px!important}.voting-page .progress-counter strong{font-size:20px!important}.voting-page .progress-track{height:4px!important;margin-top:9px!important}}

/* =========================================================
   3.3.21 – PROZENT + TEXT DIREKT RECHTS NEBEN DEM BALKEN
   ========================================================= */

/*
 * Desktop:
 * Der Fortschrittsbalken endet vor der rechten Kante.
 * Prozentzahl + "FORTSCHRITT" sitzen direkt rechts daneben.
 */
.voting-page .voting-intro .container {
    position: relative !important;
}

.voting-page .voting-progress-meta {
    display: block !important;
    position: static !important;
}

.voting-page .progress-track,
.voting-page.phase2-song-edit-mode .progress-track {
    width: calc(100% - 125px) !important;
    margin: 14px 125px 0 0 !important;
}

.voting-page .progress-counter {
    position: absolute !important;
    right: 0 !important;
    bottom: 8px !important;
    width: 105px !important;
    min-width: 105px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    text-align: right !important;
}

.voting-page .progress-counter strong {
    display: block !important;
    margin: 0 !important;
    color: var(--gold) !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.voting-page .progress-counter span {
    display: block !important;
    margin-top: 4px !important;
    color: #8a8a8a !important;
    font-size: 7px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
}

/* Mobil bleibt Prozent kompakt direkt rechts vom Balken. */
@media (max-width: 760px) {
    .voting-page .progress-track,
    .voting-page.phase2-song-edit-mode .progress-track {
        width: calc(100% - 72px) !important;
        margin: 10px 72px 0 0 !important;
    }

    .voting-page .progress-counter {
        right: 0 !important;
        bottom: 5px !important;
        width: 60px !important;
        min-width: 60px !important;
    }

    .voting-page .progress-counter strong {
        font-size: 20px !important;
    }

    .voting-page .progress-counter span {
        margin-top: 3px !important;
        font-size: 5px !important;
        letter-spacing: .1em !important;
    }
}

/* =========================================================
   3.3.22 – MUSIKVIDEO / LINE SPEZIALDARSTELLUNG
   ========================================================= */

.nominee-meta-line {
    min-width: 0;
}

.nominee-line-text {
    display: -webkit-box;
    overflow: hidden;
    color: #f2f2f2;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

@media (max-width: 760px) {
    .nominee-line-text {
        font-size: 13px;
        -webkit-line-clamp: 4;
    }
}

/* =========================================================
   3.3.23 – HAUPT-/MUSIKVIDEO-ARTIST GRÖSSER
   ========================================================= */

.nominee-main-artist {
    margin-bottom: 4px !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
}

@media (max-width: 760px) {
    .nominee-main-artist {
        font-size: 11px !important;
    }
}

/* =========================================================
   3.3.74 – MOBILE VOTING BUTTON REIHENFOLGE
   Weiter → Zurück → Später fortsetzen
   ========================================================= */

@media (max-width: 760px) {
    .voting-navigation {
        display: contents;
    }

    .voting-navigation-right {
        display: contents;
    }

    #next-button {
        order: 1;
        width: 100%;
        margin-top: 32px;
    }

    #previous-button {
        order: 2;
        width: 100%;
        margin-top: 11px;
    }

    #save-later-button {
        order: 3;
        width: 100%;
        margin-top: 11px;
    }
}

/* =========================================================
   3.3.75 – MOBILE VOTING BUTTON REIHENFOLGE FINAL FIX
   Weiter → Zurück → Später fortsetzen
   ========================================================= */

/*
 * 3.3.74 hat .voting-navigation selbst auf display: contents gesetzt.
 * Dadurch konnten die order-Werte je nach Mobile-Browser nicht greifen.
 *
 * Jetzt ist die Navigation auf Mobile ein echtes Grid.
 * Der rechte Wrapper wird nur "aufgelöst", sodass alle drei Buttons
 * direkt im selben Grid liegen und eindeutig über grid-row sortiert werden.
 */
@media (max-width: 760px) {

    .voting-navigation {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 11px !important;

        margin-top: 32px;
        padding-top: 24px;

        border-top: 1px solid var(--line);
    }

    .voting-navigation-right {
        display: contents !important;
    }

    #next-button {
        grid-column: 1 !important;
        grid-row: 1 !important;

        width: 100% !important;
        margin: 0 !important;
    }

    #previous-button {
        grid-column: 1 !important;
        grid-row: 2 !important;

        width: 100% !important;
        margin: 0 !important;
    }

    #save-later-button {
        grid-column: 1 !important;
        grid-row: 3 !important;

        width: 100% !important;
        margin: 0 !important;
    }
}

/* =========================================================
   3.3.76 – MOBILE ABSCHLUSSÜBERSICHT KOMPAKTER
   ========================================================= */

.summary-category-head {
    min-width: 0;
}

.summary-vote-count {
    display: block;
    margin-top: 5px;
    color: var(--gold-soft);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
}

@media (max-width: 760px) {

    .summary-screen {
        padding-top: 52px;
        padding-bottom: 80px;
    }

    .summary-container h2 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .summary-list {
        margin-top: 28px;
    }

    .summary-category {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 17px 0 !important;
    }

    /*
     * Kategoriename links, 1/1 direkt rechts daneben.
     */
    .summary-category-head {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 14px;
    }

    .summary-category-head h3 {
        min-width: 0;
        font-size: 16px;
        line-height: 1.25;
    }

    .summary-vote-count {
        flex: 0 0 auto;
        margin-top: 0;
        color: var(--gold-soft);
        font-size: 13px;
        font-weight: 950;
    }

    /*
     * Stimmen kompakter direkt unter der Kategorie.
     */
    .summary-selections {
        gap: 6px;
    }

    .summary-pill {
        padding: 6px 9px;
        font-size: 10px;
        line-height: 1.25;
    }

    .summary-empty {
        font-size: 10px;
        line-height: 1.3;
    }
}

/* 3.3.79 – Suchfeld Lieblingssongs */
.submitted-story-favorite-search {
    margin: 0 0 18px;
}
#submitted-story-favorite-search {
    width: 100%;
    min-height: 48px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 0;
    outline: 0;
    background: rgba(255,255,255,.035);
    color: var(--white);
    font: inherit;
    font-size: 13px;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}
#submitted-story-favorite-search::placeholder { color: var(--muted); }
#submitted-story-favorite-search:focus {
    border-color: var(--gold-soft);
    background: rgba(255,255,255,.055);
}
@media (max-width:760px) {
    #submitted-story-favorite-search { font-size:16px; min-height:46px; }
}

/* =========================================================
   PHASE 1 – KÜNSTLERBILD KOMPAKT NEBEN AUSWAHL
   ========================================================= */

.category-artist-preview[hidden],
.category-artist-image[hidden],
.category-artist-placeholder[hidden] {
    display: none !important;
}

body[data-voting-phase="phase1"] .category-head {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 0;
    height: 178px;
    min-height: 178px;
    padding: 0;
}

body[data-voting-phase="phase1"] .category-head > div:first-child {
    min-width: 0;
    flex: 1 1 auto;
    padding-bottom: 25px;
}

body[data-voting-phase="phase1"] .category-artist-preview {
    position: relative;
    flex: 0 0 auto;
    width: max-content;
    height: 100%;
    margin-left: 18px;
    margin-right: 10px;
    align-self: stretch;
    overflow: visible;
    border: 0;
    background: transparent;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
}

body[data-voting-phase="phase1"] .category-artist-image {
    display: block;
    width: auto;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: right center;
}

body[data-voting-phase="phase1"] .category-artist-placeholder {
    display: none !important;
}

body[data-voting-phase="phase1"] .category-head .selection-status {
    flex: 0 0 auto;
    min-width: 76px;
    margin: 0 0 0;
    padding-bottom: 18px;
    align-self: flex-end;
    text-align: right;
}

@media (max-width: 760px) {
    body[data-voting-phase="phase1"] .category-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto 64px;
        align-items: end;
        height: 168px;
        min-height: 168px;
    }

    body[data-voting-phase="phase1"] .category-head > div:first-child {
        grid-column: 1 / -1;
        padding-bottom: 18px;
    }

    body[data-voting-phase="phase1"] .category-artist-preview {
        grid-column: 2;
        width: max-content;
        height: 100%;
        max-width: none;
        max-height: none;
        margin: 0 8px 0 0;
        justify-self: end;
        align-self: stretch;
    }

    body[data-voting-phase="phase1"] .category-artist-image {
        width: auto;
        height: 100%;
        max-width: none;
        max-height: none;
    }

    body[data-voting-phase="phase1"] .category-head .selection-status {
        grid-column: 3;
        min-width: 64px;
        padding-bottom: 12px;
        align-self: end;
    }
}

/* =========================================================
   HAUPTVOTING – ECHTE BILDER OHNE GOLDENEN PLATZHALTER
   ========================================================= */

.nominee-cover.nominee-cover-image {
    background: transparent;
    border: 0;
}

.nominee-card-artist .nominee-cover.nominee-cover-image {
    border: 1px solid var(--gold);
}

/* =========================================================
   PHASE 1 – MOBILE KÜNSTLERBILD RECHTS VOM NAMEN
   ========================================================= */
@media (max-width: 760px) {
    body[data-voting-phase="phase1"] .category-head {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 88px;
        align-items: stretch;
        column-gap: 10px;
        height: 150px;
        min-height: 150px;
        overflow: hidden;
    }

    body[data-voting-phase="phase1"] .category-head > div:first-child {
        grid-column: 1;
        min-width: 0;
        padding: 18px 0;
        align-self: center;
    }

    body[data-voting-phase="phase1"] .category-artist-preview {
        grid-column: 2;
        width: 88px;
        height: 100%;
        max-width: 88px;
        max-height: 150px;
        margin: 0;
        justify-self: end;
        align-self: stretch;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    body[data-voting-phase="phase1"] .category-artist-image {
        display: block;
        width: auto;
        height: 100%;
        max-width: 88px;
        max-height: 150px;
        object-fit: contain;
        object-position: right center;
    }

    body[data-voting-phase="phase1"] .category-head .selection-status {
        position: absolute;
        right: 8px;
        bottom: 8px;
        min-width: 0;
        margin: 0;
        padding: 0;
        z-index: 2;
    }
}

/* =========================================================
   PHASE 1 – MOBILE LAYOUT FIX: NAME | BILD | AUSWAHL
   ========================================================= */
@media (max-width: 760px) {
    body[data-voting-phase="phase1"] .category-head {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 72px 44px;
        grid-template-rows: 136px;
        column-gap: 6px;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        height: 136px;
        min-height: 136px;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    body[data-voting-phase="phase1"] .category-head > div:first-child {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        width: 100%;
        padding: 14px 0;
        margin: 0;
        align-self: center;
        overflow: hidden;
    }

    body[data-voting-phase="phase1"] .category-artist-preview {
        grid-column: 2;
        grid-row: 1;
        width: 72px;
        max-width: 72px;
        height: 136px;
        max-height: 136px;
        min-width: 0;
        margin: 0;
        padding: 0;
        justify-self: stretch;
        align-self: stretch;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        box-sizing: border-box;
    }

    body[data-voting-phase="phase1"] .category-artist-image {
        display: block;
        width: auto;
        max-width: 72px;
        height: 100%;
        max-height: 136px;
        margin: 0;
        object-fit: contain;
        object-position: right center;
    }

    body[data-voting-phase="phase1"] .category-head .selection-status {
        position: static;
        grid-column: 3;
        grid-row: 1;
        min-width: 0;
        width: 44px;
        max-width: 44px;
        margin: 0;
        padding: 0 2px 12px 0;
        justify-self: stretch;
        align-self: end;
        text-align: right;
        box-sizing: border-box;
        overflow: hidden;
        z-index: auto;
    }
}

/* =========================================================
   3.6.17 – PHASE 1 MOBILE FINAL KOMPAKT
   Name | Bild | Auswahl bleiben sicher im Viewport.
   ========================================================= */
@media (max-width: 760px) {
    body[data-voting-phase="phase1"] .category-head {
        position: relative !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 54px 38px !important;
        grid-template-rows: 112px !important;
        column-gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 112px !important;
        min-height: 112px !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        align-items: center !important;
    }

    body[data-voting-phase="phase1"] .category-head > div:first-child {
        grid-column: 1 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
        width: auto !important;
        padding: 12px 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        align-self: center !important;
    }

    body[data-voting-phase="phase1"] .category-artist-preview {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 54px !important;
        min-width: 54px !important;
        max-width: 54px !important;
        height: 94px !important;
        min-height: 0 !important;
        max-height: 94px !important;
        margin: 0 !important;
        padding: 0 !important;
        justify-self: end !important;
        align-self: center !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        box-sizing: border-box !important;
    }

    body[data-voting-phase="phase1"] .category-artist-image {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        max-width: 54px !important;
        min-height: 0 !important;
        max-height: 94px !important;
        object-fit: contain !important;
        object-position: right center !important;
        margin: 0 !important;
    }

    body[data-voting-phase="phase1"] .category-head .selection-status {
        position: static !important;
        grid-column: 3 !important;
        grid-row: 1 !important;
        width: 38px !important;
        min-width: 0 !important;
        max-width: 38px !important;
        margin: 0 !important;
        padding: 0 !important;
        justify-self: end !important;
        align-self: center !important;
        text-align: right !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        z-index: auto !important;
        white-space: nowrap !important;
    }
}

/* =========================================================
   3.6.18 – PHASE 1 MOBILE FEINJUSTIERUNG
   Bild größer + mittiger, Auswahl sicher im Viewport.
   ========================================================= */
@media (max-width: 760px) {
    body[data-voting-phase="phase1"] .category-head {
        grid-template-columns: minmax(0, 1fr) 66px 52px !important;
        grid-template-rows: 118px !important;
        height: 118px !important;
        min-height: 118px !important;
        column-gap: 8px !important;
        padding-right: 6px !important;
    }

    body[data-voting-phase="phase1"] .category-artist-preview {
        width: 66px !important;
        min-width: 66px !important;
        max-width: 66px !important;
        height: 104px !important;
        max-height: 104px !important;
        justify-self: center !important;
        transform: translateX(-4px);
    }

    body[data-voting-phase="phase1"] .category-artist-image {
        max-width: 66px !important;
        max-height: 104px !important;
        object-position: center center !important;
    }

    body[data-voting-phase="phase1"] .category-head .selection-status {
        width: 52px !important;
        max-width: 52px !important;
        padding-right: 6px !important;
        justify-self: stretch !important;
        text-align: right !important;
        overflow: visible !important;
    }
}

/* =========================================================
   3.6.19 – PHASE 1 MOBILE: BILD AN UNTERER TRENNLINIE
   ========================================================= */
@media (max-width: 760px) {
    body[data-voting-phase="phase1"] .category-head {
        grid-template-columns: minmax(0, 1fr) 76px 52px !important;
        grid-template-rows: 126px !important;
        height: 126px !important;
        min-height: 126px !important;
    }

    body[data-voting-phase="phase1"] .category-artist-preview {
        width: 76px !important;
        min-width: 76px !important;
        max-width: 76px !important;
        height: 118px !important;
        max-height: 118px !important;
        align-self: end !important;
        justify-self: center !important;
        align-items: flex-end !important;
        transform: translateX(-4px) !important;
    }

    body[data-voting-phase="phase1"] .category-artist-image {
        width: 100% !important;
        height: 100% !important;
        max-width: 76px !important;
        max-height: 118px !important;
        object-fit: contain !important;
        object-position: center bottom !important;
        align-self: flex-end !important;
    }
}

/* =========================================================
   3.6.20 – PHASE 1 MOBILE: BILD BIS AUF HÖHE "AUSWAHL"
   ========================================================= */
@media (max-width: 760px) {
    body[data-voting-phase="phase1"] .category-head {
        grid-template-columns: minmax(0, 1fr) 82px 52px !important;
        grid-template-rows: 136px !important;
        height: 136px !important;
        min-height: 136px !important;
    }

    body[data-voting-phase="phase1"] .category-artist-preview {
        width: 82px !important;
        min-width: 82px !important;
        max-width: 82px !important;
        height: 130px !important;
        max-height: 130px !important;
        align-self: end !important;
        align-items: flex-end !important;
        justify-self: center !important;
        transform: translateX(-4px) !important;
    }

    body[data-voting-phase="phase1"] .category-artist-image {
        width: 100% !important;
        height: 100% !important;
        max-width: 82px !important;
        max-height: 130px !important;
        object-fit: contain !important;
        object-position: center bottom !important;
    }
}

/* =========================================================
   3.6.21 – PHASE 1 MOBILE: FESTE HÖHE, NATÜRLICHE BREITE
   Bild steht auf der unteren Trennlinie, reicht bis etwa
   zur Höhe "AUSWAHL" und wächst je nach Format nur nach links.
   ========================================================= */
@media (max-width: 760px) {
    body[data-voting-phase="phase1"] .category-head {
        position: relative !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 52px !important;
        grid-template-rows: 136px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 136px !important;
        min-height: 136px !important;
        padding: 0 6px 0 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    body[data-voting-phase="phase1"] .category-head > div:first-child {
        grid-column: 1 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
        padding: 12px 96px 12px 0 !important;
        align-self: center !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    body[data-voting-phase="phase1"] .category-artist-preview {
        position: absolute !important;
        right: 58px !important;
        bottom: 0 !important;
        width: max-content !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 126px !important;
        min-height: 126px !important;
        max-height: 126px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: flex-end !important;
        transform: none !important;
        z-index: 1 !important;
    }

    body[data-voting-phase="phase1"] .category-artist-image {
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 126px !important;
        min-height: 126px !important;
        max-height: 126px !important;
        object-fit: contain !important;
        object-position: right bottom !important;
        margin: 0 !important;
    }

    body[data-voting-phase="phase1"] .category-head .selection-status {
        position: relative !important;
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;
        margin: 0 !important;
        padding: 0 6px 10px 0 !important;
        justify-self: stretch !important;
        align-self: end !important;
        text-align: right !important;
        white-space: nowrap !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        z-index: 2 !important;
    }
}

/* =========================================================
   3.6.22 – PHASE 1 MOBILE: BILDHÖHE ~30 % KLEINER
   ========================================================= */
@media (max-width: 760px) {
    body[data-voting-phase="phase1"] .category-artist-preview {
        height: 88px !important;
        min-height: 88px !important;
        max-height: 88px !important;
    }

    body[data-voting-phase="phase1"] .category-artist-image {
        height: 88px !important;
        min-height: 88px !important;
        max-height: 88px !important;
    }
}

/* =========================================================
   3.6.23 – PHASE 1 MOBILE: 4 PX KLEINER + HÖHENAUSGLEICH
   ========================================================= */
@media (max-width: 760px) {
    body[data-voting-phase="phase1"] .category-artist-preview {
        height: 84px !important;
        min-height: 84px !important;
        max-height: 84px !important;
    }

    body[data-voting-phase="phase1"] .category-artist-image {
        height: 84px !important;
        min-height: 84px !important;
        max-height: 84px !important;
    }

    body[data-voting-phase="phase1"] .category-head > div:first-child {
        align-self: end !important;
        padding-top: 0 !important;
        padding-bottom: 10px !important;
    }

    body[data-voting-phase="phase1"] .category-head .selection-status {
        align-self: end !important;
        padding-bottom: 10px !important;
    }
}

/* =========================================================
   3.6.24 – PHASE 1 MOBILE: ABSTAND ZUR KÜNSTLERÜBERSICHT
   ========================================================= */
@media (max-width: 760px) {
    body[data-voting-phase="phase1"] .voting-layout,
    body[data-voting-phase="phase1"] .voting-main,
    body[data-voting-phase="phase1"] .category-shell {
        margin-top: 0 !important;
    }

    body[data-voting-phase="phase1"] .category-head {
        margin-top: 0 !important;
    }
}

/* =========================================================
   3.6.25 – PHASE 1 MOBILE: LÜCKE UNTER KATEGORIEÜBERSICHT
   Der Abstand stammt vom Flex-Gap zwischen Sidebar und Stage.
   ========================================================= */
@media (max-width: 760px) {
    body[data-voting-phase="phase1"] .voting-layout,
    body[data-voting-phase="phase1"] .voting-layout.sidebar-collapsed,
    .phase1-voting .voting-layout,
    .phase1-voting .voting-layout.sidebar-collapsed {
        gap: 6px !important;
        row-gap: 6px !important;
    }
}

/* =========================================================
   3.6.26 – PHASE 1 MOBILE: LÜCKE NOCH KLEINER
   ========================================================= */
@media (max-width: 760px) {
    body[data-voting-phase="phase1"] .voting-layout,
    body[data-voting-phase="phase1"] .voting-layout.sidebar-collapsed,
    .phase1-voting .voting-layout,
    .phase1-voting .voting-layout.sidebar-collapsed {
        gap: 2px !important;
        row-gap: 2px !important;
    }
}

/* =========================================================
   3.6.64 – POST-VOTING ACCOUNT + GIVEAWAY
   ========================================================= */
.submitted-account-upgrade,
.submitted-giveaway-link {
    margin: 28px auto 0;
    max-width: 820px;
    padding: 24px;
    border: 1px solid rgba(198,169,40,.34);
    background: linear-gradient(135deg,rgba(198,169,40,.08),rgba(255,255,255,.015));
}

.submitted-account-upgrade h3,
.submitted-giveaway-link h3 {
    margin: 5px 0 10px;
    font-size: clamp(21px,3vw,30px);
}

.submitted-account-upgrade p:not(.kicker),
.submitted-giveaway-link p:not(.kicker) {
    margin: 0 0 18px;
    color: rgba(255,255,255,.72);
    line-height: 1.65;
}

.submitted-account-upgrade[hidden], .submitted-giveaway-link[hidden] { display:none !important; }

/* ============================================================
   3.6.74 – VOTING-ZEIT ZUGRIFFSSPERRE
   ============================================================ */

.voting-access-blocked {
    min-height: calc(100vh - 82px);
    padding: 72px 0;
}

.voting-access-blocked-shell {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 226px);
}

.voting-access-blocked-card {
    width: min(100%, 760px);
    padding: clamp(30px, 5vw, 58px);
    border: 1px solid rgba(198,169,40,.22);
    background:
        radial-gradient(
            circle at top,
            rgba(198,169,40,.09),
            transparent 42%
        ),
        #090909;
    text-align: center;
}

.voting-access-blocked-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 22px;
    border: 1px solid rgba(198,169,40,.3);
    border-radius: 50%;
    background: rgba(198,169,40,.06);
    font-size: 28px;
}

.voting-access-blocked-card h1 {
    max-width: 620px;
    margin: 8px auto 14px;
    font-size: clamp(34px, 6vw, 62px);
    line-height: .98;
}

.voting-access-blocked-card > p:not(.kicker) {
    max-width: 610px;
    margin: 0 auto;
    color: rgba(255,255,255,.64);
    font-size: 16px;
    line-height: 1.65;
}

.voting-access-blocked-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 26px;
    padding: 0 22px;
    border: 1px solid #c6a928;
    background: #c6a928;
    color: #080808;
    font-weight: 900;
    text-decoration: none;
    transition:
        transform .18s ease,
        filter .18s ease;
}

.voting-access-blocked-home:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

@media (max-width: 720px) {
    .voting-access-blocked {
        padding: 34px 0;
    }

    .voting-access-blocked-shell {
        min-height: calc(100vh - 150px);
    }

    .voting-access-blocked-card {
        padding: 28px 20px;
    }
}

/* 3.6.92 – WILLKOMMENSHINWEIS IM BESTEHENDEN TEXTSTIL */

.voting-welcome-participation-note {
    margin-top: 18px;
}

.voting-welcome-participation-note strong {
    color: var(--gold-soft);
    font-weight: 700;
}

/* 3.6.93 – VOTING STARTBUTTON KOMPAKTER UND GOLDENER */

.voting-welcome .voting-start-card,
.voting-start-options .voting-start-card {
    width: min(100%, 430px);
    justify-self: center;
    padding: 16px 20px;
    border-color: rgba(218,185,49,.9);
    background:
        linear-gradient(135deg, rgba(218,185,49,.18), rgba(218,185,49,.06));
    box-shadow:
        0 0 0 1px rgba(218,185,49,.08) inset,
        0 10px 28px rgba(0,0,0,.22);
}

.voting-welcome .voting-start-card:hover,
.voting-welcome .voting-start-card:focus-visible,
.voting-start-options .voting-start-card:hover,
.voting-start-options .voting-start-card:focus-visible {
    border-color: var(--gold-soft);
    background:
        linear-gradient(135deg, rgba(218,185,49,.27), rgba(218,185,49,.10));
    box-shadow:
        0 0 0 1px rgba(218,185,49,.14) inset,
        0 12px 30px rgba(0,0,0,.28);
}

/* 3.6.95 – HINWEIS DIREKT AN DER ANGEKLICKTEN KATEGORIE */

.category-nav-item {
    position: relative;
}

.category-locked-click-hint {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    z-index: 50;
    width: max-content;
    max-width: min(290px, 82vw);
    padding: 7px 10px;
    border: 1px solid rgba(218,185,49,.72);
    background: #090909;
    color: var(--gold-soft);
    box-shadow: 0 8px 24px rgba(0,0,0,.42);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, 4px);
    transition: opacity .16s ease, transform .16s ease;
}

.category-locked-click-hint::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-right: 1px solid rgba(218,185,49,.72);
    border-bottom: 1px solid rgba(218,185,49,.72);
    background: #090909;
    transform: translate(-50%, -4px) rotate(45deg);
}

.category-locked-click-hint.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* 3.6.96 – „MEIN VOTING“ OHNE ACCOUNT */

.submitted-actions .button.is-account-required {
    border-color: rgba(255,255,255,.14);
    background: rgba(255,255,255,.035);
    color: rgba(255,255,255,.38);
    box-shadow: none;
    cursor: pointer;
}

.submitted-actions .button.is-account-required:hover,
.submitted-actions .button.is-account-required:focus-visible {
    border-color: rgba(198,169,40,.46);
    background: rgba(198,169,40,.06);
    color: rgba(218,185,49,.72);
}

/* =========================================================
   3.7.95 – VOTING RESPONSIVE AUDIT
   Zwischenbreiten ohne Eingriff in die Voting-Logik.
   ========================================================= */
.voting-page img,
.voting-page video,
.voting-page iframe,
.voting-page canvas { max-width: 100%; }
.voting-page [class*="grid"] > *,
.voting-page [class*="layout"] > *,
.voting-page [class*="head"] > * { min-width: 0; }

@media (min-width: 761px) and (max-width: 1180px) {
    .voting-main { min-height: calc(100vh - 82px); }
    .voting-intro { padding: 30px 0 18px !important; }
    .voting-content { padding: 32px 0 70px; }
    .voting-layout,
    body[data-voting-phase="phase1"] .voting-layout,
    body[data-voting-phase="phase2"] .voting-layout {
        grid-template-columns: minmax(210px, 235px) minmax(0,1fr);
        gap: 28px;
    }
    .category-sidebar { top: 98px; }
    .category-nav-item { font-size: 12px; }
    .nominees-grid { gap: 12px; }
}

@media (max-width: 900px) {
    .voting-layout,
    body[data-voting-phase="phase1"] .voting-layout,
    body[data-voting-phase="phase2"] .voting-layout,
    body[data-voting-phase="phase1"] .voting-layout.sidebar-collapsed,
    body[data-voting-phase="phase2"] .voting-layout.sidebar-collapsed {
        grid-template-columns: minmax(0,1fr) !important;
        gap: 24px;
    }
    .category-sidebar { position: relative; top: auto; }
    .voting-progress-meta h1 { font-size: clamp(38px, 7vw, 58px); }
}

@media (max-width: 760px) {
    .voting-main { min-height: calc(100vh - 72px); }
    .voting-intro { padding: 18px 0 12px !important; }
    .voting-content { padding: 24px 0 54px; }
    .voting-progress-meta { gap: 10px !important; }
    .voting-progress-meta h1 { font-size: clamp(32px, 10vw, 46px); overflow-wrap: anywhere; }
    .nominee-card { min-width: 0; }
    .voting-navigation { gap: 10px; }
    .voting-navigation .button,
    .voting-navigation button { min-width: 0; white-space: normal; }
}

/* =========================================================
   3.7.111 – iPad Voting Layout / Header Stabilisierung
   ========================================================= */

/* iPad Hochkant gehört funktional zur mobilen Voting-Ansicht. */
@media (max-width: 1024px) and (orientation: portrait) {
    .voting-page .voting-header-center {
        display: none !important;
    }

    .voting-page .category-sidebar,
    .voting-page .voting-layout.sidebar-collapsed .category-sidebar,
    body[data-voting-phase="phase1"] .category-sidebar,
    body[data-voting-phase="phase2"] .category-sidebar {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        max-width: none !important;
    }

    .voting-page .category-panel.is-collapsed {
        display: none !important;
    }
}

/* Auf kleineren iPad-/Laptopbreiten dürfen Header-Mitte und Aktionen
   nicht ineinander laufen. */
@media (min-width: 761px) and (max-width: 1180px) {
    .voting-page .site-header .nav-wrap {
        gap: 14px;
    }

    .voting-page .voting-header-center {
        max-width: 24vw;
    }

    .voting-page .voting-header-label {
        font-size: 9px;
        letter-spacing: .12em;
    }

    .voting-page .voting-header-center strong {
        font-size: 12px;
    }

    .voting-page .voting-header-actions {
        gap: 7px;
    }

    .voting-page .fullscreen-toggle-button {
        min-height: 40px;
        padding-inline: 10px;
        font-size: 9px;
    }

    .voting-page .voting-header-actions .login-button {
        min-height: 40px;
        padding-inline: 12px;
    }
}

/* =========================================================
   3.7.112 – KLARE ÜBERSICHTS-AKTION + SICHTBARER LADESTATUS
   ========================================================= */
.category-toggle-action {
    flex: 0 0 auto;
    min-width: 74px;
    padding: 7px 10px;
    border: 1px solid rgba(198, 169, 40, .45);
    border-radius: 999px;
    color: var(--gold-soft);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
}

/* Der bisherige Pfeil wird bewusst nicht mehr verwendet. */
.category-toggle-icon {
    display: none !important;
}

/*
 * Während Restore/Firebase/Rendering läuft, bleibt die Seite nicht scheinbar
 * leer. Das eigentliche Voting bleibt bis zum fertigen Render unsichtbar,
 * darüber liegt aber ein eindeutiger Ladezustand.
 */
.voting-main.is-initializing::before {
    content: "";
    position: fixed;
    z-index: 9997;
    inset: 0;
    visibility: visible;
    background: rgba(5, 5, 6, .94);
    pointer-events: all;
}

.voting-main.is-initializing::after {
    content: "Voting wird geladen …";
    position: fixed;
    z-index: 9998;
    left: 50%;
    top: 50%;
    width: min(280px, calc(100vw - 40px));
    padding-top: 64px;
    visibility: visible;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
    background:
        radial-gradient(circle at 50% 22px, transparent 16px, rgba(198,169,40,.22) 17px, rgba(198,169,40,.22) 20px, transparent 21px);
}

@keyframes araVotingLoaderSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.voting-main.is-initializing {
    position: relative;
}

.voting-main.is-initializing > * {
    visibility: hidden;
}

/* echtes, animiertes Ringsymbol */
.voting-main.is-initializing .voting-content {
    visibility: hidden;
}

@media (prefers-reduced-motion: no-preference) {
    .voting-main.is-initializing::after {
        /* Text selbst soll nicht rotieren; Spinner wird über conic-gradient im Overlay erzeugt. */
        background: none;
    }
}

.voting-main.is-initializing::before {
    background:
        radial-gradient(circle at center, transparent 0 20px, rgba(198,169,40,.18) 21px 24px, transparent 25px),
        rgba(5, 5, 6, .94);
}

/* =========================================================
   3.7.115 – ÜBERSICHTSFELD + VIEWPORT-ABSTAND + IPAD OHNE VOLLBILD
   ========================================================= */

/* Der Schalter benennt immer klar die jeweilige Übersicht. */
.category-toggle-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 158px;
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(198,169,40,.48);
    border-radius: 999px;
    color: var(--gold-soft);
    font-size: 11px;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: .035em;
    text-align: center;
    text-transform: none;
    white-space: nowrap;
}

.category-toggle-icon {
    display: none !important;
}

/* Im eingeklappten Desktop-Zustand bleibt ein lesbares Feld statt einer 46px-Leiste. */
@media (min-width: 901px) {
    .voting-layout.sidebar-collapsed,
    body[data-voting-phase="phase1"] .voting-layout.sidebar-collapsed,
    body[data-voting-phase="phase2"] .voting-layout.sidebar-collapsed {
        grid-template-columns: 182px minmax(0, 1fr) !important;
        gap: 26px !important;
    }

    .voting-layout.sidebar-collapsed .category-sidebar {
        width: 182px !important;
    }

    .voting-layout.sidebar-collapsed .category-toggle {
        width: 182px !important;
        min-height: 52px;
        padding: 8px !important;
        justify-content: center;
    }

    .voting-layout.sidebar-collapsed .category-toggle-copy {
        display: none !important;
    }

    /* Geöffnete Übersicht: sichtbarer Abstand zum unteren Viewportrand. */
    .voting-page .category-sidebar {
        display: flex;
        flex-direction: column;
        max-height: calc(
            100dvh - var(--voting-site-header-height, 92px) - var(--voting-intro-height, 150px) - 42px
        ) !important;
        overflow: hidden;
    }

    .voting-page .category-panel:not(.is-collapsed) {
        min-height: 0;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        max-height: none !important;
        overflow: hidden !important;
        padding-bottom: 12px;
    }

    .voting-page .category-navigation {
        min-height: 0;
        flex: 1 1 auto;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
    }
}

/* iPad-Hochkant / kompakte Ansicht: Übersicht vollbreit, aber nie bis an den unteren Rand. */
@media (max-width: 1024px) and (orientation: portrait) {
    .voting-page .category-sidebar,
    .voting-page .voting-layout.sidebar-collapsed .category-sidebar {
        width: 100% !important;
        max-height: min(64dvh, 620px) !important;
        overflow: hidden;
    }

    .voting-page .voting-layout.sidebar-collapsed,
    body[data-voting-phase="phase1"] .voting-layout.sidebar-collapsed,
    body[data-voting-phase="phase2"] .voting-layout.sidebar-collapsed {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .voting-page .voting-layout.sidebar-collapsed .category-toggle {
        width: 100% !important;
        min-height: 52px;
        padding: 10px 12px !important;
        justify-content: center;
    }

    .voting-page .voting-layout.sidebar-collapsed .category-toggle-copy {
        display: none !important;
    }

    .voting-page .category-panel:not(.is-collapsed) {
        min-height: 0;
        flex: 1 1 auto;
        max-height: min(54dvh, 520px) !important;
        overflow: hidden !important;
    }

    .voting-page .category-navigation {
        min-height: 0;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .voting-page .category-toggle-action {
        min-width: min(220px, 100%);
        font-size: 11px;
    }
}

/* iPad-only: keinerlei Voting-Vollbild-Steuerung. Die Klasse wird vor dem CSS gesetzt. */
html.is-ipad-device .voting-page .fullscreen-toggle-button,
html.is-ipad-device .voting-page #start-fullscreen-voting,
html.is-ipad-device .voting-page .voting-start-options,
.voting-page.is-ipad-voting .fullscreen-toggle-button,
.voting-page.is-ipad-voting #start-fullscreen-voting,
.voting-page.is-ipad-voting .voting-start-options {
    display: none !important;
}

html.is-ipad-device .voting-page #start-normal-voting,
.voting-page.is-ipad-voting #start-normal-voting.is-ipad-primary {
    width: min(420px, 100%);
    min-height: 56px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #050505;
    font-weight: 950;
    text-align: center;
}

/* =========================================================
   3.7.118 – IPAD STARTKARTE + ÜBERSICHT FINAL
   Eine einzige, eindeutige Override-Schicht ohne konkurrierende
   3.7.116/3.7.117-Regeln.
   ========================================================= */

/* iPad: Startbutton optisch identisch zur goldenen Startkarte. */
html.is-ipad-device body.voting-page #start-normal-voting,
body.voting-page.is-ipad-voting #start-normal-voting.is-ipad-primary {
    width: min(100%, 430px) !important;
    min-height: 135px !important;
    margin: 16px auto 0 !important;
    padding: 16px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(218,185,49,.9) !important;
    border-radius: 0 !important;
    background: linear-gradient(135deg, rgba(218,185,49,.18), rgba(218,185,49,.06)) !important;
    box-shadow: 0 0 0 1px rgba(218,185,49,.08) inset, 0 10px 28px rgba(0,0,0,.22) !important;
    color: #fff !important;
    text-align: center !important;
}

html.is-ipad-device body.voting-page #start-normal-voting:hover,
html.is-ipad-device body.voting-page #start-normal-voting:focus-visible,
body.voting-page.is-ipad-voting #start-normal-voting.is-ipad-primary:hover,
body.voting-page.is-ipad-voting #start-normal-voting.is-ipad-primary:focus-visible {
    transform: translateY(-2px);
    border-color: var(--gold-soft) !important;
    background: linear-gradient(135deg, rgba(218,185,49,.27), rgba(218,185,49,.10)) !important;
    box-shadow: 0 0 0 1px rgba(218,185,49,.14) inset, 0 12px 30px rgba(0,0,0,.28) !important;
}

html.is-ipad-device body.voting-page #start-normal-voting .voting-start-card-label,
body.voting-page.is-ipad-voting #start-normal-voting.is-ipad-primary .voting-start-card-label {
    display: block !important;
    margin-bottom: 15px;
    color: var(--gold-soft);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
}

html.is-ipad-device body.voting-page #start-normal-voting strong,
body.voting-page.is-ipad-voting #start-normal-voting.is-ipad-primary strong {
    display: block;
    margin-bottom: 8px;
    font-size: 21px;
}

html.is-ipad-device body.voting-page #start-normal-voting > span:last-child,
body.voting-page.is-ipad-voting #start-normal-voting.is-ipad-primary > span:last-child {
    display: block;
    max-width: 340px;
    color: #929292;
    font-size: 12px;
    line-height: 1.5;
}

/* =========================================================
   3.7.120 – ÜBERSICHT RESPONSIVE FINAL
   - PC: links wie bisher, geöffnete Liste als Overlay
   - iPad Querformat: exakt linke PC-Variante
   - iPad Hochformat/Mobile: horizontale Leiste, Overlay darunter
   - geöffneter Schalter: goldener Pfeil
   ========================================================= */

/* Goldener Schließpfeil auf allen Geräten. */
body.voting-page .category-toggle.is-overview-open .category-toggle-action {
    color: var(--gold-soft) !important;
}

/* PC + iPad Querformat: linke, vertikale Übersicht. */
@media (min-width: 761px) {
    body.voting-page:not(.is-ipad-voting) .voting-layout,
    body.voting-page:not(.is-ipad-voting) .voting-layout.sidebar-collapsed,
    html.is-ipad-device body.voting-page .voting-layout,
    html.is-ipad-device body.voting-page .voting-layout.sidebar-collapsed {
        grid-template-columns: 245px minmax(0, 1fr) !important;
        gap: 42px !important;
    }

    body.voting-page:not(.is-ipad-voting) .category-sidebar,
    html.is-ipad-device body.voting-page .category-sidebar,
    html.is-ipad-device body.voting-page .voting-layout.sidebar-collapsed .category-sidebar {
        position: sticky !important;
        top: 108px !important;
        width: 245px !important;
        max-width: 245px !important;
        max-height: none !important;
        overflow: visible !important;
        z-index: 40;
    }

    body.voting-page:not(.is-ipad-voting) .category-toggle,
    html.is-ipad-device body.voting-page .category-toggle,
    html.is-ipad-device body.voting-page .voting-layout.sidebar-collapsed .category-toggle {
        width: 100% !important;
        min-height: 56px !important;
        padding: 12px 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid var(--line) !important;
        background: #101010 !important;
    }

    body.voting-page:not(.is-ipad-voting) .category-toggle-copy,
    html.is-ipad-device body.voting-page .category-toggle-copy {
        display: none !important;
    }

    body.voting-page:not(.is-ipad-voting) .category-toggle-action,
    html.is-ipad-device body.voting-page .category-toggle-action {
        width: 100% !important;
        min-width: 0 !important;
        padding: 8px 10px !important;
        border: 0 !important;
        border-radius: 0 !important;
        font-size: 12px !important;
        font-weight: 850 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        white-space: normal !important;
        writing-mode: horizontal-tb !important;
        transform: none !important;
    }

    body.voting-page:not(.is-ipad-voting) .category-toggle.is-overview-open .category-toggle-action,
    html.is-ipad-device body.voting-page .category-toggle.is-overview-open .category-toggle-action {
        font-size: 24px !important;
        line-height: 1 !important;
        color: var(--gold-soft) !important;
    }

    /* Offen liegt die Liste über dem Inhalt und verändert die Dokumenthöhe nicht. */
    body.voting-page:not(.is-ipad-voting) .category-panel:not(.is-collapsed),
    html.is-ipad-device body.voting-page .category-panel:not(.is-collapsed) {
        position: absolute !important;
        left: 0 !important;
        top: calc(100% + 8px) !important;
        z-index: 60 !important;
        width: 245px !important;
        max-width: 245px !important;
        max-height: calc(100dvh - 190px) !important;
        padding: 10px 10px 14px !important;
        overflow: hidden !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: rgba(10, 10, 10, .985) !important;
        border: 1px solid var(--line) !important;
        border-radius: 12px !important;
        box-shadow: 0 22px 60px rgba(0,0,0,.62) !important;
    }

    body.voting-page:not(.is-ipad-voting) .category-panel:not(.is-collapsed) .category-navigation,
    html.is-ipad-device body.voting-page .category-panel:not(.is-collapsed) .category-navigation {
        max-height: calc(100dvh - 226px) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
}

/* iPad Hochformat und Smartphones: horizontale Mobile-Leiste. */
@media (max-width: 760px), (max-width: 1024px) and (orientation: portrait) {
    body.voting-page .voting-layout,
    body.voting-page .voting-layout.sidebar-collapsed,
    html.is-ipad-device body.voting-page .voting-layout,
    html.is-ipad-device body.voting-page .voting-layout.sidebar-collapsed {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 24px !important;
    }

    body.voting-page .category-sidebar,
    body.voting-page .voting-layout.sidebar-collapsed .category-sidebar,
    html.is-ipad-device body.voting-page .category-sidebar,
    html.is-ipad-device body.voting-page .voting-layout.sidebar-collapsed .category-sidebar {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        max-width: none !important;
        max-height: none !important;
        overflow: visible !important;
        z-index: 40;
    }

    body.voting-page .category-toggle,
    body.voting-page .voting-layout.sidebar-collapsed .category-toggle {
        width: 100% !important;
        min-height: 54px !important;
        padding: 0 !important;
        justify-content: center !important;
        border: 1px solid var(--line) !important;
        background: #101010 !important;
    }

    body.voting-page .category-toggle-copy {
        display: none !important;
    }

    body.voting-page .category-toggle-action,
    body.voting-page .voting-layout.sidebar-collapsed .category-toggle-action {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 52px !important;
        padding: 15px 18px !important;
        display: grid !important;
        place-items: center !important;
        border: 0 !important;
        border-radius: 0 !important;
        font-size: 12px !important;
        font-weight: 850 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        white-space: normal !important;
        writing-mode: horizontal-tb !important;
        transform: none !important;
    }

    body.voting-page .category-toggle.is-overview-open .category-toggle-action {
        font-size: 24px !important;
        line-height: 1 !important;
        color: var(--gold-soft) !important;
    }

    body.voting-page .category-panel:not(.is-collapsed) {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: calc(100% + 8px) !important;
        z-index: 60 !important;
        width: 100% !important;
        max-width: none !important;
        max-height: min(58dvh, 560px) !important;
        padding: 10px 10px 14px !important;
        overflow: hidden !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: rgba(10, 10, 10, .985) !important;
        border: 1px solid var(--line) !important;
        border-radius: 12px !important;
        box-shadow: 0 22px 60px rgba(0,0,0,.62) !important;
    }

    body.voting-page .category-panel:not(.is-collapsed) .category-navigation {
        max-height: calc(min(58dvh, 560px) - 24px) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
}

/* =========================================================
   3.9.2 – IPAD ÜBERSICHT FINAL
   - iPad/Tablet Querformat + Desktop: Übersicht links dauerhaft sichtbar
   - dort kein Ein-/Ausklappen möglich
   - iPad Hochformat + Mobile: Übersicht wie Mobile als Overlay
   ========================================================= */

/* Querformat/desktop: feste linke Künstler-/Kategorieübersicht. */
@media (min-width: 761px) and (orientation: landscape),
       (min-width: 1025px) {
    body.voting-page .voting-layout,
    body.voting-page .voting-layout.sidebar-collapsed,
    html.is-ipad-device body.voting-page .voting-layout,
    html.is-ipad-device body.voting-page .voting-layout.sidebar-collapsed {
        grid-template-columns: 245px minmax(0, 1fr) !important;
        gap: 32px !important;
    }

    body.voting-page .category-sidebar,
    body.voting-page .voting-layout.sidebar-collapsed .category-sidebar,
    html.is-ipad-device body.voting-page .category-sidebar,
    html.is-ipad-device body.voting-page .voting-layout.sidebar-collapsed .category-sidebar {
        position: sticky !important;
        top: 108px !important;
        width: 245px !important;
        max-width: 245px !important;
        max-height: calc(100dvh - 132px) !important;
        overflow: hidden !important;
        z-index: 40 !important;
    }

    /* Im Querformat gibt es keinen Toggle mehr: die Übersicht bleibt immer offen. */
    body.voting-page .category-toggle,
    body.voting-page .voting-layout.sidebar-collapsed .category-toggle,
    html.is-ipad-device body.voting-page .category-toggle,
    html.is-ipad-device body.voting-page .voting-layout.sidebar-collapsed .category-toggle {
        display: none !important;
    }

    body.voting-page .category-panel,
    body.voting-page .category-panel.is-collapsed,
    html.is-ipad-device body.voting-page .category-panel,
    html.is-ipad-device body.voting-page .category-panel.is-collapsed {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        z-index: auto !important;
        width: 245px !important;
        max-width: 245px !important;
        max-height: calc(100dvh - 132px) !important;
        margin: 0 !important;
        padding: 8px 9px 12px !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        background: rgba(10,10,10,.985) !important;
        border: 1px solid var(--line) !important;
        border-radius: 10px !important;
        box-shadow: 0 14px 34px rgba(0,0,0,.34) !important;
    }

    body.voting-page .category-panel .category-navigation,
    html.is-ipad-device body.voting-page .category-panel .category-navigation {
        min-height: 0 !important;
        max-height: calc(100dvh - 165px) !important;
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
}

/* iPad Hochformat: identisches Verhalten zur Mobile-Version. */
@media (min-width: 761px) and (max-width: 1024px) and (orientation: portrait) {
    html.is-ipad-device body.voting-page .voting-layout,
    html.is-ipad-device body.voting-page .voting-layout.sidebar-collapsed {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 22px !important;
    }

    html.is-ipad-device body.voting-page .category-sidebar,
    html.is-ipad-device body.voting-page .voting-layout.sidebar-collapsed .category-sidebar {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        max-width: none !important;
        max-height: none !important;
        overflow: visible !important;
        z-index: 80 !important;
    }

    html.is-ipad-device body.voting-page .category-toggle,
    html.is-ipad-device body.voting-page .voting-layout.sidebar-collapsed .category-toggle {
        display: flex !important;
        width: 100% !important;
        min-height: 54px !important;
        padding: 0 !important;
        border: 1px solid rgba(198,169,40,.34) !important;
        background: #0e0e0e !important;
    }

    html.is-ipad-device body.voting-page .category-toggle-action,
    html.is-ipad-device body.voting-page .voting-layout.sidebar-collapsed .category-toggle-action {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 52px !important;
        padding: 14px 18px !important;
        border: 0 !important;
        border-radius: 0 !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        color: var(--gold-soft) !important;
    }

    html.is-ipad-device body.voting-page .category-toggle.is-overview-open .category-toggle-action {
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    html.is-ipad-device body.voting-page .category-panel:not(.is-collapsed) {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: calc(100% + 8px) !important;
        z-index: 100 !important;
        width: 100% !important;
        max-width: none !important;
        max-height: min(68dvh, 680px) !important;
        margin: 0 !important;
        padding: 10px 12px 14px !important;
        overflow: hidden !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: rgba(8,8,8,.992) !important;
        border: 1px solid rgba(198,169,40,.28) !important;
        border-radius: 10px !important;
        box-shadow: 0 24px 70px rgba(0,0,0,.68) !important;
    }

    html.is-ipad-device body.voting-page .category-panel:not(.is-collapsed) .category-navigation {
        max-height: calc(min(68dvh, 680px) - 28px) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
}

/* =========================================================
   3.9.3 – FIXED OVERVIEW: IPAD LANDSCAPE + DESKTOP
   - iPad landscape: overview always visible on the left
   - iPad portrait: mobile overlay behavior remains
   - desktop: overview fixed open; no close button
   ========================================================= */

/* Desktop: the overview is permanent, so no toggle/close control is shown. */
@media (min-width: 1025px) {
    body.voting-page .category-toggle {
        display: none !important;
    }

    body.voting-page .voting-layout,
    body.voting-page .voting-layout.sidebar-collapsed {
        grid-template-columns: 245px minmax(0, 1fr) !important;
        gap: 32px !important;
    }

    body.voting-page .category-sidebar,
    body.voting-page .voting-layout.sidebar-collapsed .category-sidebar {
        position: sticky !important;
        top: 108px !important;
        width: 245px !important;
        max-width: 245px !important;
        max-height: calc(100dvh - 132px) !important;
        overflow: hidden !important;
        z-index: 40 !important;
    }

    body.voting-page .category-panel,
    body.voting-page .category-panel.is-collapsed {
        position: relative !important;
        inset: auto !important;
        display: flex !important;
        flex-direction: column !important;
        width: 245px !important;
        max-width: 245px !important;
        max-height: calc(100dvh - 132px) !important;
        margin: 0 !important;
        padding: 8px 9px 12px !important;
        overflow: hidden !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        border: 1px solid var(--line) !important;
        border-radius: 10px !important;
        background: rgba(10,10,10,.985) !important;
        box-shadow: 0 14px 34px rgba(0,0,0,.34) !important;
    }

    body.voting-page .category-panel .category-navigation {
        min-height: 0 !important;
        max-height: calc(100dvh - 165px) !important;
        flex: 1 1 auto !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

/* iPad landscape: JS adds this class after every resize/orientation change. */
html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout,
html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed {
    grid-template-columns: 245px minmax(0, 1fr) !important;
    gap: 32px !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .category-sidebar,
html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed .category-sidebar {
    display: block !important;
    position: sticky !important;
    top: 108px !important;
    width: 245px !important;
    min-width: 245px !important;
    max-width: 245px !important;
    max-height: calc(100dvh - 132px) !important;
    overflow: hidden !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 40 !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .category-toggle {
    display: none !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .category-panel,
html.is-ipad-device body.voting-page.is-ipad-landscape .category-panel.is-collapsed {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    flex-direction: column !important;
    width: 245px !important;
    min-width: 245px !important;
    max-width: 245px !important;
    max-height: calc(100dvh - 132px) !important;
    margin: 0 !important;
    padding: 8px 9px 12px !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    border: 1px solid var(--line) !important;
    border-radius: 10px !important;
    background: rgba(10,10,10,.985) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.34) !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .category-panel .category-navigation {
    min-height: 0 !important;
    max-height: calc(100dvh - 165px) !important;
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

/* =========================================================
   3.9.4 – DESKTOP SIDEBAR COLLAPSIBLE + LABELS COLLAPSIBLE
   - Desktop: Übersicht per Button ein-/ausfahrbar
   - geschlossen: Voting-Bereich exakt mittig
   - iPad Querformat bleibt fest geöffnet
   - aktuelle Überkategorie/Label darf ebenfalls einklappen
   ========================================================= */

/* Desktop (kein iPad): Toggle wieder anzeigen und kompakter gestalten. */
@media (min-width: 761px) {
    html:not(.is-ipad-device) body.voting-page .category-toggle {
        display: flex !important;
        width: 100% !important;
        min-height: 50px !important;
        padding: 9px 10px !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid var(--line) !important;
        background: #101010 !important;
    }

    html:not(.is-ipad-device) body.voting-page .category-toggle-copy {
        display: none !important;
    }

    html:not(.is-ipad-device) body.voting-page .category-toggle-action,
    html:not(.is-ipad-device) body.voting-page .category-toggle.is-overview-open .category-toggle-action {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 4px 6px !important;
        border: 0 !important;
        font-size: 10px !important;
        font-weight: 850 !important;
        line-height: 1.25 !important;
        letter-spacing: .02em !important;
        text-align: center !important;
        white-space: normal !important;
        writing-mode: horizontal-tb !important;
        transform: none !important;
        color: var(--gold-soft) !important;
    }

    /* Offen: normale linke Übersicht. */
    html:not(.is-ipad-device) body.voting-page .voting-layout:not(.sidebar-collapsed) {
        grid-template-columns: 245px minmax(0, 1fr) !important;
        gap: 32px !important;
    }

    html:not(.is-ipad-device) body.voting-page .category-sidebar {
        position: sticky !important;
        top: 108px !important;
        width: 245px !important;
        max-width: 245px !important;
        overflow: visible !important;
    }

    html:not(.is-ipad-device) body.voting-page .category-panel,
    html:not(.is-ipad-device) body.voting-page .category-panel:not(.is-collapsed) {
        position: relative !important;
        inset: auto !important;
        width: 245px !important;
        max-width: 245px !important;
        margin: 10px 0 0 !important;
    }

    /* Geschlossen: nur ein schmaler Wieder-öffnen-Button bleibt links. */
    html:not(.is-ipad-device) body.voting-page .voting-layout.sidebar-collapsed {
        grid-template-columns: 46px minmax(0, 1040px) 46px !important;
        justify-content: center !important;
        gap: 22px !important;
    }

    html:not(.is-ipad-device) body[data-voting-phase="phase2"].voting-page .voting-layout.sidebar-collapsed {
        grid-template-columns: 46px minmax(0, 1120px) 46px !important;
    }

    html:not(.is-ipad-device) body.voting-page .voting-layout.sidebar-collapsed .category-sidebar {
        grid-column: 1 !important;
        width: 46px !important;
        max-width: 46px !important;
        overflow: visible !important;
    }

    html:not(.is-ipad-device) body.voting-page .voting-layout.sidebar-collapsed .category-toggle {
        display: flex !important;
        width: 46px !important;
        min-width: 46px !important;
        height: 50px !important;
        min-height: 50px !important;
        padding: 0 !important;
    }

    html:not(.is-ipad-device) body.voting-page .voting-layout.sidebar-collapsed .category-toggle-action {
        font-size: 20px !important;
        line-height: 1 !important;
        padding: 0 !important;
    }

    html:not(.is-ipad-device) body.voting-page .category-panel.is-collapsed,
    html:not(.is-ipad-device) body.voting-page .voting-layout.sidebar-collapsed .category-panel {
        width: 0 !important;
        max-width: 0 !important;
        height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        overflow: hidden !important;
        transform: translateX(-14px) !important;
    }

    html:not(.is-ipad-device) body.voting-page .voting-layout.sidebar-collapsed .category-stage {
        grid-column: 2 !important;
        width: 100% !important;
        max-width: 1040px !important;
        justify-self: center !important;
        transform: none !important;
    }

    html:not(.is-ipad-device) body[data-voting-phase="phase2"].voting-page .voting-layout.sidebar-collapsed .category-stage {
        max-width: 1120px !important;
    }
}

/* iPad Querformat bleibt wie gewünscht fest offen und ohne Toggle. */
html.is-ipad-device body.voting-page.is-ipad-landscape .category-toggle,
html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed .category-toggle {
    display: none !important;
}

/* =========================================================
   3.9.5 – WIDER OVERVIEW + COLLAPSIBLE IPAD LANDSCAPE
   ========================================================= */
@media (min-width: 1025px) {
    html:not(.is-ipad-device) body.voting-page .voting-layout:not(.sidebar-collapsed) {
        grid-template-columns: 285px minmax(0, 1fr) !important;
    }

    html:not(.is-ipad-device) body.voting-page .category-sidebar,
    html:not(.is-ipad-device) body.voting-page .category-panel,
    html:not(.is-ipad-device) body.voting-page .category-panel:not(.is-collapsed) {
        width: 285px !important;
        max-width: 285px !important;
    }
}

/* iPad landscape now uses the same collapsible sidebar interaction as desktop. */
html.is-ipad-device body.voting-page.is-ipad-landscape .category-toggle,
html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed .category-toggle {
    display: flex !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout:not(.sidebar-collapsed) {
    grid-template-columns: 275px minmax(0, 1fr) !important;
    gap: 26px !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .category-sidebar,
html.is-ipad-device body.voting-page.is-ipad-landscape .category-panel,
html.is-ipad-device body.voting-page.is-ipad-landscape .category-panel:not(.is-collapsed) {
    width: 275px !important;
    max-width: 275px !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed {
    grid-template-columns: 46px minmax(0, 1fr) 46px !important;
    justify-content: center !important;
    gap: 22px !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed .category-sidebar {
    grid-column: 1 !important;
    width: 46px !important;
    max-width: 46px !important;
    overflow: visible !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed .category-toggle {
    width: 46px !important;
    min-width: 46px !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed .category-toggle-action {
    font-size: 20px !important;
    line-height: 1 !important;
    padding: 0 !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .category-panel.is-collapsed,
html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed .category-panel {
    width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    overflow: hidden !important;
    transform: translateX(-14px) !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed .category-stage {
    grid-column: 2 !important;
    width: 100% !important;
    justify-self: center !important;
    transform: none !important;
}

/* =========================================================
   3.9.6 – IPAD LANDSCAPE = DESKTOP OVERVIEW 1:1
   The portrait/mobile overlay remains untouched.
   ========================================================= */
html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout:not(.sidebar-collapsed) {
    grid-template-columns: 285px minmax(0, 1fr) !important;
    gap: 32px !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .category-sidebar {
    position: sticky !important;
    top: 108px !important;
    width: 285px !important;
    max-width: 285px !important;
    overflow: visible !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .category-toggle {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 5px 7px !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .category-toggle-label {
    display: none !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .category-toggle-action,
html.is-ipad-device body.voting-page.is-ipad-landscape .category-toggle.is-overview-open .category-toggle-action {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 4px 6px !important;
    border: 0 !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    line-height: 1.15 !important;
    white-space: normal !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .category-panel,
html.is-ipad-device body.voting-page.is-ipad-landscape .category-panel:not(.is-collapsed) {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    flex-direction: column !important;
    width: 285px !important;
    min-width: 285px !important;
    max-width: 285px !important;
    margin: 10px 0 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed {
    grid-template-columns: 46px minmax(0, 1040px) 46px !important;
    justify-content: center !important;
    gap: 22px !important;
}

html.is-ipad-device body[data-voting-phase="phase2"].voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed {
    grid-template-columns: 46px minmax(0, 1120px) 46px !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed .category-sidebar {
    grid-column: 1 !important;
    width: 46px !important;
    max-width: 46px !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed .category-toggle {
    display: flex !important;
    width: 46px !important;
    min-width: 46px !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed .category-toggle-action {
    font-size: 20px !important;
    line-height: 1 !important;
    padding: 0 !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .category-panel.is-collapsed,
html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed .category-panel {
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    overflow: hidden !important;
    transform: translateX(-14px) !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed .category-stage {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: 1040px !important;
    justify-self: center !important;
    transform: none !important;
}

html.is-ipad-device body[data-voting-phase="phase2"].voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed .category-stage {
    max-width: 1120px !important;
}

/* =========================================================
   3.9.14 – PHASE 1 MOBILE: KONSOLIDIERTER KÜNSTLERKOPF
   Ersetzt die aufeinander aufbauenden 3.9.10–3.9.13 Overrides.
   ========================================================= */
@media (max-width: 760px) {
    body[data-voting-phase="phase1"] .category-stage {
        padding-top: 0 !important;
    }

    body[data-voting-phase="phase1"] .category-head {
        height: auto !important;
        min-height: 80px !important;
        grid-template-rows: minmax(80px, auto) !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        align-items: stretch !important;
        overflow: hidden !important;
    }

    body[data-voting-phase="phase1"] .category-head > div:first-child {
        align-self: center !important;
        padding-top: 4px !important;
        padding-right: 100px !important;
        padding-bottom: 4px !important;
    }

    body[data-voting-phase="phase1"] .category-artist-preview {
        top: auto !important;
        right: 82px !important;
        bottom: 0 !important;
        align-self: end !important;
        height: 80px !important;
        min-height: 80px !important;
        max-height: 80px !important;
    }

    body[data-voting-phase="phase1"] .category-artist-image {
        height: 80px !important;
        min-height: 80px !important;
        max-height: 80px !important;
        object-position: right bottom !important;
    }

    body[data-voting-phase="phase1"] .category-head .selection-status {
        position: relative !important;
        z-index: 2 !important;
        align-self: end !important;
        padding-top: 0 !important;
        padding-bottom: 6px !important;
    }
}


/* =========================================================
   PHASE 1 – YOUTUBE-PLAYER JE SONG
   ========================================================= */

.nominee-card.nominee-card-has-youtube {
    grid-template-columns: 76px minmax(0, 1fr) 42px 34px;
}

.nominee-youtube-button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(198, 169, 40, .55);
    border-radius: 10px;
    /* Neutraler Ruhezustand: kein Gold-Leuchten beim Hover der Songkarte. */
    background: #111111;
    color: #d4bd55;
    box-shadow: none;
    cursor: pointer;
    transition:
        background 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease;
}

/* Die Songkarte darf den Button optisch nicht aktivieren. */
.nominee-card:hover .nominee-youtube-button:not(:hover) {
    border-color: rgba(198, 169, 40, .55) !important;
    background: #111111 !important;
    color: #d4bd55 !important;
    box-shadow: none !important;
}

/* Gold-Effekt ausschließlich bei direktem Hover auf dem YouTube-Button. */
.nominee-youtube-button:hover {
    border-color: #d4bd55 !important;
    background: linear-gradient(145deg, #d4bd55, #c6a928) !important;
    color: #090909 !important;
    box-shadow: 0 0 16px rgba(198, 169, 40, .2) !important;
}

/* Nur tatsächlicher Tastaturfokus erhält einen Fokusrahmen; kein Hover-Look. */

.nominee-youtube-button:focus-visible {
    outline: 2px solid #d4bd55;
    outline-offset: 3px;
}

.nominee-youtube-button svg {
    display: block;
    width: 21px;
    height: 21px;
}

.nominee-youtube-button .youtube-icon-shape {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.nominee-youtube-button .youtube-icon-play {
    fill: currentColor;
}

@media (max-width: 620px) {
    .nominee-card.nominee-card-has-youtube {
        grid-template-columns: 56px minmax(0, 1fr) 34px 24px;
        gap: 10px;
        padding: 12px;
    }

    .nominee-card-has-youtube .nominee-cover {
        width: 56px;
        height: 56px;
    }

    .nominee-youtube-button {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .nominee-youtube-button svg {
        width: 18px;
        height: 18px;
    }
}


/* ARA 4.0.17 – Auswahlkästchen ausblenden; Karten-Auswahl bleibt erhalten */
.nominee-card .nominee-checkbox {
    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;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* ARA 4.0.18 – YouTube-Button rechts ausrichten und vergrößern */
.nominee-card.nominee-card-has-youtube {
    grid-template-columns: 76px minmax(0, 1fr) 48px !important;
    min-width: 0;
}

.nominee-card.nominee-card-has-youtube > .nominee-youtube-button {
    justify-self: end !important;
    align-self: center;
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    box-sizing: border-box;
    margin: 0 !important;
}

@media (max-width: 620px) {
    .nominee-card.nominee-card-has-youtube {
        grid-template-columns: 56px minmax(0, 1fr) 50px !important;
        gap: 10px;
        padding-right: 14px;
    }

    .nominee-card.nominee-card-has-youtube > .nominee-youtube-button {
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        justify-self: end !important;
    }
}


/* ARA 4.0.19 – inneres YouTube-Symbol vollständig sichtbar halten */
.nominee-youtube-button .youtube-icon-shape {
    transform: scale(.90);
    transform-origin: center;
}
.nominee-youtube-button svg {
    overflow: visible;
}


/* ARA 4.0.20 – Hover des YouTube-Buttons unabhängig von Karten-Hover erzwingen */
.nominee-card.nominee-card-has-youtube > .nominee-youtube-button,
.nominee-card.nominee-card-has-youtube:hover > .nominee-youtube-button:not(:hover) {
    background: #111111 !important;
    color: #d4bd55 !important;
    border: 1px solid rgba(198, 169, 40, .65) !important;
    box-shadow: none !important;
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
}

.nominee-card.nominee-card-has-youtube > .nominee-youtube-button:hover,
.nominee-card.nominee-card-has-youtube:hover > .nominee-youtube-button:hover,
body[data-voting-phase="phase1"] .nominee-card.nominee-card-has-youtube > .nominee-youtube-button:hover {
    background: linear-gradient(145deg, #e3cf68 0%, #c6a928 100%) !important;
    color: #090909 !important;
    border-color: #e3cf68 !important;
    box-shadow: 0 0 0 2px rgba(212, 189, 85, .14), 0 0 16px rgba(198, 169, 40, .28) !important;
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
}

.nominee-card.nominee-card-has-youtube > .nominee-youtube-button:hover svg,
.nominee-card.nominee-card-has-youtube > .nominee-youtube-button:hover .youtube-icon-shape {
    color: #090909 !important;
    stroke: #090909 !important;
}
.nominee-card.nominee-card-has-youtube > .nominee-youtube-button:hover .youtube-icon-play {
    fill: #090909 !important;
}


/* ARA 4.0.29 – Künstlerübersicht: bestehende Toggle-Animation statt Zusatzpfeil */
body.voting-page .voting-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 245px) minmax(0, 1fr) !important;
    column-gap: 42px !important;
    align-items: start;
    transition: grid-template-columns 600ms cubic-bezier(.22, .61, .36, 1),
                column-gap 600ms cubic-bezier(.22, .61, .36, 1) !important;
}
body.voting-page .voting-layout .category-stage {
    width: 100% !important;
    max-width: 1040px;
    min-width: 0;
    justify-self: center;
    transition: max-width 600ms cubic-bezier(.22, .61, .36, 1),
                margin 600ms cubic-bezier(.22, .61, .36, 1),
                transform 600ms cubic-bezier(.22, .61, .36, 1) !important;
}
body.voting-page .voting-layout.sidebar-collapsed {
    grid-template-columns: 56px minmax(0, 1fr) !important;
    column-gap: 24px !important;
}
body.voting-page .voting-layout.sidebar-collapsed .category-sidebar {
    width: 56px !important;
    min-width: 56px !important;
    overflow: hidden;
}
body.voting-page .voting-layout.sidebar-collapsed .category-toggle {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    overflow: hidden;
}
body.voting-page .voting-layout.sidebar-collapsed .category-toggle-copy,
body.voting-page .voting-layout.sidebar-collapsed .category-toggle-action {
    display: none !important;
}
/* Im geschlossenen Zustand ausschließlich den vorhandenen großen Aktionspfeil ausblenden. */
body.voting-page .voting-layout.sidebar-collapsed .category-toggle-action,
body.voting-page .voting-layout.sidebar-collapsed .category-toggle.is-overview-open .category-toggle-action,
html.is-ipad-device body.voting-page .voting-layout.sidebar-collapsed .category-toggle-action {
    display: none !important;
    visibility: hidden !important;
}

/* Kein zusätzliches Pseudo-Element für den Pfeil: Die vorhandene Toggle-Animation
   soll beim Schließen dieselben Eigenschaften rückwärts durchlaufen. */
body.voting-page .voting-layout:not(.sidebar-collapsed) .category-toggle-copy strong {
    display: inline !important;
}

body.voting-page .category-panel {
    overflow: hidden;
    max-height: 1800px;
    opacity: 1;
    transition: max-height 600ms cubic-bezier(.22, .61, .36, 1), opacity 320ms ease !important;
}
body.voting-page .category-panel.is-collapsed {
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
}
@media (max-width: 760px), (pointer: coarse) {
    body.voting-page .voting-layout,
    body.voting-page .voting-layout.sidebar-collapsed {
        grid-template-columns: minmax(0, 1fr) !important;
        column-gap: 0 !important;
        row-gap: 16px !important;
        transition: grid-template-columns 600ms cubic-bezier(.22, .61, .36, 1),
                    column-gap 600ms cubic-bezier(.22, .61, .36, 1) !important;
    }
    body.voting-page .voting-layout .category-sidebar,
    body.voting-page .voting-layout.sidebar-collapsed .category-sidebar {
        width: 100% !important;
        min-width: 0 !important;
    }
    body.voting-page .voting-layout.sidebar-collapsed .category-toggle {
        width: 48px !important;
        min-width: 48px !important;
        justify-content: center !important;
    }
    body.voting-page .voting-layout.sidebar-collapsed .category-stage {
        width: 100% !important;
        max-width: 1040px;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.voting-page .voting-layout,
    body.voting-page .voting-layout .category-stage,
    body.voting-page .category-panel { transition: none !important; }
}

/* 4.0.31: Cache-busted targeted rule — no large action arrow in collapsed state. */
body.voting-page .voting-layout.sidebar-collapsed .category-toggle-action,
html.is-ipad-device body.voting-page .voting-layout.sidebar-collapsed .category-toggle-action {
    display: none !important;
    visibility: hidden !important;
}


/* 4.0.32: Restore the original chevron only in the collapsed toggle. */
body.voting-page .voting-layout.sidebar-collapsed .category-toggle-icon,
html.is-ipad-device body.voting-page .voting-layout.sidebar-collapsed .category-toggle-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    color: var(--gold-soft) !important;
    font-size: 32px !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
body.voting-page .voting-layout:not(.sidebar-collapsed) .category-toggle-icon {
    display: none !important;
}


/* ARA 4.0.36 – Songkarten-Hover darf den YouTube-Button nicht gold markieren.
   Gold gilt ausschließlich bei direktem Hover auf dem Button selbst. */
body.voting-page .nominee-card.nominee-card-has-youtube:hover > .nominee-youtube-button:not(:hover),
body.voting-page .nominee-card.nominee-card-has-youtube:focus-within > .nominee-youtube-button:not(:hover) {
    background: #111111 !important;
    color: #d4bd55 !important;
    border-color: rgba(198, 169, 40, .55) !important;
    box-shadow: none !important;
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
}


/* ARA 4.1.2 – YouTube-Button aktiv anklickbar und über Karteninhalt */
body.voting-page .nominee-card.nominee-card-has-youtube > button.nominee-youtube-button {
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}


/* ARA 4.1.3 – Symbol im neutralen Buttonzustand immer sichtbar halten,
   auch wenn nur die Songkarte gehovert wird. */
body.voting-page .nominee-card.nominee-card-has-youtube:hover > .nominee-youtube-button:not(:hover) {
    color: #d4bd55 !important;
}
body.voting-page .nominee-card.nominee-card-has-youtube:hover > .nominee-youtube-button:not(:hover) .youtube-icon-shape {
    stroke: #d4bd55 !important;
}
body.voting-page .nominee-card.nominee-card-has-youtube:hover > .nominee-youtube-button:not(:hover) .youtube-icon-play {
    fill: #d4bd55 !important;
}


/* ============================================================
   ARA 4.0.87 – PHASE 1: MOMOKU · KÜNSTLER DES JAHRES 2025
   ============================================================ */
#category-name.phase1-momoku-winner {
    display: block;
    width: fit-content;
    max-width: 100%;
    color: transparent;
    background: linear-gradient(
        110deg,
        #8e7420 0%,
        #d4bd55 18%,
        #fff2a6 31%,
        #c6a928 43%,
        #fff8d1 51%,
        #c6a928 61%,
        #e8d77d 76%,
        #9f811d 100%
    );
    background-size: 240% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(212, 189, 85, 0.22));
    animation: ara-momoku-gold-shine 3.2s ease-in-out infinite;
}

#category-name.phase1-momoku-winner::after {
    content: "Künstler des Jahres 2025";
    display: block;
    margin-top: 10px;
    color: #d4bd55;
    font-size: clamp(11px, 1.15vw, 15px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(198, 169, 40, 0.24);
    -webkit-text-fill-color: #d4bd55;
    background: none;
    filter: none;
}

@keyframes ara-momoku-gold-shine {
    0%, 100% { background-position: 100% 50%; }
    50% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    #category-name.phase1-momoku-winner {
        animation: none;
        background-position: 50% 50%;
    }
}


/* ============================================================
   ARA 4.0.130 – Mobile-Übersicht als Vollbreitenfeld + iPad-Fix
   - iPad-Hochformat startet mit sichtbarer Künstler-/Kategorienübersicht
   - iPad-Querformat nutzt wieder zuverlässig das PC-Seitenleistenlayout
   - Smartphone: im geschlossenen und geöffneten Zustand bleibt ein
     durchgehendes, beschriftetes Feld statt eines Pfeils sichtbar
   ============================================================ */

@media (max-width: 1024px) {
    /* Smartphones und iPad-Hochformat: einzeilige, volle Übersichtstaste. */
    html:not(.is-ipad-device) body.voting-page .voting-layout,
    html.is-ipad-device body.voting-page:not(.is-ipad-landscape) .voting-layout,
    html:not(.is-ipad-device) body.voting-page .voting-layout.sidebar-collapsed,
    html.is-ipad-device body.voting-page:not(.is-ipad-landscape) .voting-layout.sidebar-collapsed {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        column-gap: 0 !important;
        row-gap: 16px !important;
    }

    html:not(.is-ipad-device) body.voting-page .category-sidebar,
    html.is-ipad-device body.voting-page:not(.is-ipad-landscape) .category-sidebar,
    html:not(.is-ipad-device) body.voting-page .voting-layout.sidebar-collapsed .category-sidebar,
    html.is-ipad-device body.voting-page:not(.is-ipad-landscape) .voting-layout.sidebar-collapsed .category-sidebar {
        grid-column: 1 !important;
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        max-height: none !important;
        overflow: visible !important;
        z-index: 80 !important;
    }

    html:not(.is-ipad-device) body.voting-page .category-toggle,
    html.is-ipad-device body.voting-page:not(.is-ipad-landscape) .category-toggle,
    html:not(.is-ipad-device) body.voting-page .voting-layout.sidebar-collapsed .category-toggle,
    html.is-ipad-device body.voting-page:not(.is-ipad-landscape) .voting-layout.sidebar-collapsed .category-toggle {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        min-height: 52px !important;
        padding: 0 12px !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        border: 1px solid rgba(198,169,40,.48) !important;
        border-radius: 7px !important;
        background: #101010 !important;
        overflow: hidden !important;
    }

    html:not(.is-ipad-device) body.voting-page .category-toggle-copy,
    html.is-ipad-device body.voting-page:not(.is-ipad-landscape) .category-toggle-copy {
        display: none !important;
    }

    html:not(.is-ipad-device) body.voting-page .category-toggle-action,
    html.is-ipad-device body.voting-page:not(.is-ipad-landscape) .category-toggle-action,
    html:not(.is-ipad-device) body.voting-page .voting-layout.sidebar-collapsed .category-toggle-action,
    html.is-ipad-device body.voting-page:not(.is-ipad-landscape) .voting-layout.sidebar-collapsed .category-toggle-action {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 50px !important;
        margin: 0 !important;
        padding: 12px 10px !important;
        align-items: center !important;
        justify-content: center !important;
        border: 0 !important;
        border-radius: 0 !important;
        color: var(--gold-soft) !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        line-height: 1.25 !important;
        letter-spacing: .02em !important;
        text-align: center !important;
        text-transform: none !important;
        white-space: normal !important;
        writing-mode: horizontal-tb !important;
        transform: none !important;
    }

    html:not(.is-ipad-device) body.voting-page .category-toggle.is-overview-open .category-toggle-action,
    html.is-ipad-device body.voting-page:not(.is-ipad-landscape) .category-toggle.is-overview-open .category-toggle-action {
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    html:not(.is-ipad-device) body.voting-page .category-toggle-icon,
    html.is-ipad-device body.voting-page:not(.is-ipad-landscape) .category-toggle-icon {
        display: none !important;
        visibility: hidden !important;
    }

    /* Aufgeklappte Übersicht liegt direkt unter dem Vollbreitenfeld. */
    html:not(.is-ipad-device) body.voting-page .category-panel:not(.is-collapsed),
    html.is-ipad-device body.voting-page:not(.is-ipad-landscape) .category-panel:not(.is-collapsed) {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: calc(100% + 6px) !important;
        z-index: 100 !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        max-height: min(68dvh, 680px) !important;
        margin: 0 !important;
        padding: 10px 12px 14px !important;
        overflow: hidden !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        background: rgba(8,8,8,.992) !important;
        border: 1px solid rgba(198,169,40,.28) !important;
        border-radius: 10px !important;
        box-shadow: 0 24px 70px rgba(0,0,0,.68) !important;
    }

    html:not(.is-ipad-device) body.voting-page .category-panel:not(.is-collapsed) .category-navigation,
    html.is-ipad-device body.voting-page:not(.is-ipad-landscape) .category-panel:not(.is-collapsed) .category-navigation {
        max-height: calc(min(68dvh, 680px) - 28px) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
}

/* iPad-Querformat: PC-ähnlicher Seitenaufbau mit derselben Auf-/Zu-Bedienung. */
html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout:not(.sidebar-collapsed) {
    display: grid !important;
    grid-template-columns: 275px minmax(0, 1fr) !important;
    column-gap: 28px !important;
    row-gap: 0 !important;
    align-items: start !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed {
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) 46px !important;
    justify-content: center !important;
    column-gap: 22px !important;
    row-gap: 0 !important;
    align-items: start !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .category-sidebar {
    grid-column: 1 !important;
    position: sticky !important;
    top: 108px !important;
    display: block !important;
    width: 275px !important;
    min-width: 275px !important;
    max-width: 275px !important;
    max-height: calc(100dvh - 132px) !important;
    overflow: hidden !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 40 !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed .category-sidebar {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    overflow: visible !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .category-toggle {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 50px !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed .category-toggle {
    width: 46px !important;
    min-width: 46px !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .category-panel,
html.is-ipad-device body.voting-page.is-ipad-landscape .category-panel:not(.is-collapsed) {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    flex-direction: column !important;
    width: 275px !important;
    min-width: 275px !important;
    max-width: 275px !important;
    max-height: calc(100dvh - 132px) !important;
    margin: 8px 0 0 !important;
    padding: 8px 9px 12px !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    border: 1px solid var(--line) !important;
    border-radius: 10px !important;
    background: rgba(10,10,10,.985) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.34) !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .category-panel .category-navigation {
    min-height: 0 !important;
    max-height: calc(100dvh - 165px) !important;
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .category-panel.is-collapsed,
html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed .category-panel {
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    overflow: hidden !important;
    transform: translateX(-14px) !important;
}

html.is-ipad-device body.voting-page.is-ipad-landscape .voting-layout.sidebar-collapsed .category-stage {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: 1040px !important;
    justify-self: center !important;
    transform: none !important;
}

/* Spezifitäts-Fix: ältere Pfeil-Regeln im eingeklappten Mobile-Zustand überstimmen. */
@media (max-width: 1024px) {
    html:not(.is-ipad-device) body.voting-page .voting-layout.sidebar-collapsed .category-toggle-action,
    html.is-ipad-device body.voting-page:not(.is-ipad-landscape) .voting-layout.sidebar-collapsed .category-toggle-action {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 50px !important;
        padding: 12px 10px !important;
        align-items: center !important;
        justify-content: center !important;
        border: 0 !important;
        border-radius: 0 !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
        text-align: center !important;
        white-space: normal !important;
        transform: none !important;
    }

    html:not(.is-ipad-device) body.voting-page .voting-layout.sidebar-collapsed .category-toggle.is-overview-open .category-toggle-action,
    html.is-ipad-device body.voting-page:not(.is-ipad-landscape) .voting-layout.sidebar-collapsed .category-toggle.is-overview-open .category-toggle-action {
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    html:not(.is-ipad-device) body.voting-page .voting-layout.sidebar-collapsed .category-toggle-icon,
    html.is-ipad-device body.voting-page:not(.is-ipad-landscape) .voting-layout.sidebar-collapsed .category-toggle-icon {
        display: none !important;
        visibility: hidden !important;
    }
}
