.vst-header-global-stats,
.vst-header-member-panel {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #c9ad99;
}

.vst-header-global-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 18px auto 19px auto;
    padding: 8px 16px;
    width: max-content;
    max-width: calc(100% - 40px);
    border: 1px solid rgba(138, 69, 52, .34);
    background: linear-gradient(180deg, rgba(33, 7, 7, .92) 0%, rgba(18, 5, 5, .96) 100%);
    box-shadow: 0 8px 22px rgba(0,0,0,.24);
    position: relative;
    z-index: 15;
}

.vst-header-global-item strong,
.vst-header-status-count {
    color: #f0ddd2;
}

.vst-header-global-sep,
.vst-member-scenes-dot {
    color: #aa7a62;
    opacity: .9;
}

.vst-header-member-panel {
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
    position: relative;
    z-index: 999;
}

.vst-header-member-details {
    position: relative;
}

.vst-header-member-summary {
    list-style: none;
    cursor: pointer;
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid rgba(138,69,52,.35);
    background: linear-gradient(180deg, rgba(43,8,8,.95) 0%, rgba(22,6,6,.98) 100%);
    color: #ead4c5;
}

.vst-header-member-summary::-webkit-details-marker {
    display: none;
}

.vst-header-member-summary:hover {
    border-color: rgba(225,134,96,.65);
    color: #fff0e5;
}

.vst-header-member-dropdown {
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    min-width: 520px;
    max-width: 720px;
    max-height: 75vh;
    overflow: auto;
    padding: 16px;
    border: 1px solid rgba(138,69,52,.42);
    background: linear-gradient(180deg, rgba(28,7,7,.98) 0%, rgba(15,5,5,.99) 100%);
    box-shadow: 0 18px 44px rgba(0,0,0,.46);
}

.vst-dash-title {
    color: #f0dfd3;
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.vst-dash-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.vst-dash-stats span {
    padding: 8px;
    border: 1px solid rgba(168,89,62,.3);
    background: rgba(255,255,255,.035);
    color: #c6a593;
    text-align: center;
}

.vst-dash-stats strong {
    display: block;
    font-size: 18px;
    line-height: 1.1;
    color: #f5d8c7;
}

.vst-header-member-linkrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px 0;
    color: #bfa391;
    font-size: 10px;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.vst-header-member-linkrow a {
    color: #d8a788;
    text-decoration: none;
}

.vst-header-member-linkrow a:hover {
    color: #efc7ae;
}

.vst-dash-section {
    margin-top: 12px;
    border: 1px solid rgba(168,89,62,.26);
    background: rgba(255,255,255,.025);
}

.vst-dash-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 11px;
    color: #f2d8ca;
    background: rgba(115,37,27,.32);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.vst-dash-section-head strong {
    min-width: 24px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(0,0,0,.28);
    color: #fff3ec;
    text-align: center;
}

.vst-dash-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
}

.vst-dash-item {
    padding: 10px 11px;
    border-left: 4px solid #8d5a48;
    background: linear-gradient(90deg, rgba(73,18,18,.38) 0%, rgba(28,8,8,.12) 100%);
}

.vst-dash-item-todo { border-left-color: #e65f3c; }
.vst-dash-item-waiting { border-left-color: #d19a42; }
.vst-dash-item-archive { border-left-color: #b03535; }
.vst-dash-item-planned { border-left-color: #6e8aa8; }
.vst-dash-item-archived { border-left-color: #777; opacity: .78; }

.vst-dash-item-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vst-dash-subject {
    color: #f2ded2;
    font-weight: bold;
    text-decoration: none;
}

.vst-dash-subject:hover {
    color: #fff7f0;
}

.vst-dash-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 7px;
    color: #b99582;
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.vst-dash-pill {
    white-space: nowrap;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,.18);
}

.vst-dash-pill-todo {
    color: #ffe8de;
    background: rgba(210,68,42,.42);
}

.vst-dash-pill-waiting {
    color: #fff0c9;
    background: rgba(190,128,37,.34);
}

.vst-dash-pill-archive {
    color: #ffe1dc;
    background: rgba(176,53,53,.42);
}

.vst-dash-pill-planned {
    color: #dcecff;
    background: rgba(62,99,138,.34);
}

.vst-dash-pill-archived {
    color: #ddd;
    background: rgba(120,120,120,.28);
}

.vst-dash-empty {
    padding: 10px;
    color: #a98f80;
    font-size: 11px;
    font-style: italic;
}

.vst-scene-box {
    margin: 12px 0 16px 0;
    padding: 0;
    overflow: hidden;
    border-color: rgba(138,69,52,.45);
    background: rgba(28,8,8,.08);
}

.vst-scene-box-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    background: linear-gradient(90deg, rgba(82,20,16,.9), rgba(35,8,8,.85));
    color: #f5ded2;
}

.vst-scene-kicker {
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #d4a28d;
}

.vst-scene-title {
    margin-top: 3px;
    font-size: 16px;
    font-weight: bold;
}

.vst-scene-status-badge {
    align-self: flex-start;
    padding: 5px 10px;
    border: 1px solid rgba(255,225,205,.35);
    background: rgba(0,0,0,.24);
    color: #fff0e8;
    white-space: nowrap;
}

.vst-scene-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: rgba(138,69,52,.18);
}

.vst-scene-grid div {
    padding: 11px 14px;
    background: rgba(255,255,255,.03);
}

.vst-scene-grid span {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #a98877;
}

.vst-scene-grid strong {
    color: #ead4c5;
}

.vst-scene-summary {
    padding: 14px 16px;
    color: inherit;
    line-height: 1.55;
}

.vst-scene-empty {
    opacity: .7;
    font-style: italic;
}

.vst-archive-warning {
    margin: 12px 14px;
    padding: 14px 16px;
    border: 3px solid #c0392b;
    background: #3b0d0d;
    color: #fff0ea;
    border-radius: 8px;
    box-shadow: 0 0 0 3px rgba(192,57,43,.18);
}

.vst-archive-warning-title {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
    font-size: 15px;
}

.vst-archive-countdown {
    display: inline-block;
    min-width: 56px;
    padding: 2px 7px;
    border: 1px solid rgba(255,210,184,.45);
    background: rgba(0,0,0,.22);
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.vst-archive-progress-wrap {
    height: 16px;
    background: #180404;
    border: 1px solid #ffb0a0;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 12px;
}

.vst-archive-progress {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #2ecc71, #f1c40f, #e74c3c);
    transition: width .5s linear;
}

@media (max-width: 700px) {
    .vst-header-member-dropdown {
        left: auto;
        right: 0;
        min-width: 300px;
        max-width: calc(100vw - 30px);
    }

    .vst-dash-stats,
    .vst-scene-grid {
        grid-template-columns: 1fr;
    }

    .vst-dash-item-main,
    .vst-scene-box-head {
        align-items: flex-start;
        flex-direction: column;
    }
}



/* v2.5.2 – sauberere Szenenübersicht + korrigierte Themenkarte */

.vst-header-global-stats {
    margin: -6px auto 10px auto;
    padding: 7px 14px;
    max-width: calc(100% - 50px);
    flex-wrap: wrap;
}

.vst-header-member-summary {
    border-radius: 2px;
}

.vst-header-member-dropdown {
    min-width: 620px;
    max-width: 820px;
    border-radius: 8px;
}

.vst-dash-intro {
    margin: -4px 0 12px 0;
    padding: 8px 10px;
    border: 1px solid rgba(168,89,62,.22);
    background: rgba(255,255,255,.035);
    color: #c8a996;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vst-dash-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.vst-dash-adminblock {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(220,150,120,.28);
}

.vst-dash-adminblock .vst-dash-section-head {
    background: rgba(122,45,36,.48);
}

.vst-dash-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.vst-dash-actions .vst-archive-button {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid rgba(255,210,184,.45);
    border-radius: 6px;
    background: rgba(122,45,36,.9);
    color: #fff0e8 !important;
    text-decoration: none;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vst-dash-actions .vst-archive-button:hover {
    background: rgba(154,58,47,.95);
    color: #fff !important;
}

.vst-scene-status-line,
.vst-scene-timer-line,
.vst-admin-archive-bar {
    display: none !important;
}

.vst-scene-box {
    display: none !important;
}

.vst-scene-card {
    margin: 14px 0 16px 0;
    border: 1px solid rgba(110,45,38,.38);
    border-radius: 8px;
    overflow: hidden;
    background: #fbfafa;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.vst-scene-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    background: linear-gradient(90deg, #5a221f 0%, #2a0d0b 100%);
    color: #fff2ea;
}

.vst-scene-card-titlewrap {
    min-width: 0;
}

.vst-scene-kicker {
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #d9ac95;
}

.vst-scene-title {
    margin-top: 3px;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.25;
}

.vst-scene-status-badge {
    flex: 0 0 auto;
    padding: 5px 10px;
    border: 1px solid rgba(255,225,205,.42);
    border-radius: 999px;
    background: rgba(0,0,0,.25);
    color: #fff4ee;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.vst-scene-status-aktiv { background: rgba(39,126,82,.38); }
.vst-scene-status-geplant { background: rgba(60,100,150,.38); }
.vst-scene-status-pausiert { background: rgba(170,119,40,.38); }
.vst-scene-status-beendet { background: rgba(150,55,48,.48); }
.vst-scene-status-archiviert,
.vst-scene-status-archiviert-automatisch { background: rgba(90,90,90,.46); }

.vst-scene-card-body {
    background: rgba(255,255,255,.78);
}

.vst-scene-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid rgba(110,45,38,.16);
    background: rgba(110,45,38,.035);
}

.vst-scene-grid div {
    padding: 10px 12px;
    border-right: 1px solid rgba(110,45,38,.12);
    background: transparent;
}

.vst-scene-grid div:last-child {
    border-right: 0;
}

.vst-scene-grid span {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8c6359;
}

.vst-scene-grid strong {
    color: #4a302c;
    font-weight: bold;
}

.vst-scene-summary {
    padding: 12px 14px;
    color: #3d3331;
    line-height: 1.55;
}

@media (min-width: 860px) {
    .vst-dash-columns {
        grid-template-columns: 1fr 1fr;
    }

    .vst-dash-columns .vst-dash-section:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .vst-header-member-dropdown {
        min-width: 300px;
        max-width: calc(100vw - 30px);
    }

    .vst-scene-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .vst-scene-grid {
        grid-template-columns: 1fr;
    }

    .vst-scene-grid div {
        border-right: 0;
        border-bottom: 1px solid rgba(110,45,38,.12);
    }
}
