@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
}

:root {
    --violet: #4b275b;
    --raspberry: #c21051;
    --blue: #0f9aa4;
    --gold: #967655;
    --charcoal: #3c3c3c;
    --ink: #17131b;
    --muted: #6f6875;
    --soft: #928a98;
    --canvas: #f4f5f7;
    --surface: #ffffff;
    --surface-soft: #f8f6fa;
    --surface-blue: #eef7f8;
    --line: #e3dfe8;
    --line-strong: #cdc3d4;
    --danger: #a51d2d;
    --success: #207a59;
    --shadow-soft: 0 18px 48px rgba(23, 19, 27, 0.08);
    --shadow-tight: 0 8px 20px rgba(23, 19, 27, 0.08);
    --focus: 0 0 0 3px rgba(15, 154, 164, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    color: var(--ink);
    background: var(--canvas);
    font-family: "Montserrat", Arial, sans-serif;
    letter-spacing: 0;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    background: var(--canvas);
}

a {
    color: var(--violet);
    text-decoration: none;
}

a:hover {
    color: var(--raspberry);
}

button,
input,
select,
textarea {
    font: inherit;
    letter-spacing: 0;
}

button {
    color: inherit;
}

input,
select,
textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.68rem 0.78rem;
    background: var(--surface);
    color: var(--ink);
    outline: none;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
    outline: none;
    box-shadow: var(--focus);
}

textarea {
    resize: vertical;
}

label span,
dt {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--soft);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 0.42rem;
    font-size: 3.35rem;
    line-height: 0.98;
    font-weight: 800;
}

h2 {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 800;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.1rem;
    min-height: 68px;
    padding: 0.7rem clamp(1rem, 3vw, 2rem);
    border-bottom: 1px solid rgba(227, 223, 232, 0.76);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-width: max-content;
    color: var(--ink);
    font-weight: 800;
}

.brand img {
    width: 58px;
    height: auto;
    display: block;
}

.brand span {
    max-width: 22ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 0.16rem;
    flex-wrap: wrap;
}

.topnav a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    padding: 0.46rem 0.68rem;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
    transition: color 140ms ease, background 140ms ease;
}

.topnav a:hover {
    background: var(--surface-soft);
    color: var(--ink);
}

.userbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.7rem;
    color: var(--soft);
    font-size: 0.82rem;
}

.userbar form,
.row-actions form,
.comment-actions form {
    margin: 0;
}

.page {
    width: min(1540px, 100%);
    margin: 0 auto;
    padding: 1.4rem clamp(1rem, 2.5vw, 2rem) 2rem;
}

.page-head,
.detail-title-row,
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.page-head {
    padding: 0;
    border-bottom: 0;
}

.admin-page-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

.admin-page-actions form {
    margin: 0;
}

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    align-items: end;
    gap: 1.2rem;
    padding: 1.15rem;
    border: 1px solid rgba(227, 223, 232, 0.92);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
}

.dashboard-title h1 {
    font-size: 3.45rem;
}

.eyebrow {
    margin-bottom: 0.35rem;
    color: var(--raspberry);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.muted {
    color: var(--muted);
}

.button,
.vote-button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.52rem 0.82rem;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    font-weight: 800;
    line-height: 1;
    transition: transform 140ms ease, background 140ms ease, color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.button:hover,
.vote-button:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-tight);
    transform: translateY(-1px);
}

.button-primary {
    border-color: var(--violet);
    background: var(--violet);
    color: #fff;
}

.button-primary:hover {
    border-color: var(--raspberry);
    background: var(--raspberry);
    color: #fff;
}

.button-quiet {
    border-color: transparent;
    background: transparent;
    color: var(--muted);
}

.button-quiet:hover {
    background: var(--surface-soft);
    color: var(--ink);
    box-shadow: none;
    transform: none;
}

.button-review {
    border-color: rgba(75, 39, 91, 0.15);
    background: #f5f1f7;
    color: var(--violet);
}

.button-review:hover {
    border-color: var(--violet);
    background: var(--violet);
    color: #fff;
}

.button-compact {
    min-height: 32px;
    padding: 0.38rem 0.58rem;
    font-size: 0.8rem;
}

.button-danger {
    border-color: #e8c4cb;
    background: #fff;
    color: var(--danger);
}

.flash {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-tight);
}

.flash-success {
    border-color: rgba(32, 122, 89, 0.32);
    color: var(--success);
}

.flash-error {
    border-color: rgba(165, 29, 45, 0.32);
    color: var(--danger);
}

.filter-shell {
    position: sticky;
    top: 69px;
    z-index: 18;
    margin: 1rem 0 1.2rem;
    padding: 0.78rem;
    border: 1px solid rgba(227, 223, 232, 0.9);
    border-radius: 8px;
    background: rgba(244, 245, 247, 0.9);
    backdrop-filter: blur(18px);
}

.filters {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) repeat(4, minmax(140px, 1fr));
    gap: 0.8rem;
    align-items: end;
    margin: 0;
    padding: 0;
}

.search-field input {
    min-height: 46px;
    font-weight: 700;
}

.admin-form,
.login-form {
    display: grid;
    gap: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 1.15rem;
    box-shadow: var(--shadow-soft);
}

.filter-checks,
.filter-actions,
.check-row,
.row-actions,
.vote-inline,
.vote-actions,
.comment-actions,
.card-row,
.link-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.filter-checks {
    grid-column: 1 / span 3;
    min-height: 42px;
    padding: 0;
}

.filter-checks label,
.check-row label {
    display: inline-flex;
    align-items: center;
    width: auto;
    gap: 0.42rem;
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    padding: 0.42rem 0.62rem;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.filter-checks input,
.check-row input {
    width: auto;
    min-height: auto;
}

.workspace {
    padding-top: 0.15rem;
}

.section-head {
    margin-top: 0.35rem;
}

.section-head h2 {
    margin-bottom: 0.25rem;
    font-size: 1.35rem;
}

.review-list {
    display: grid;
    gap: 0.68rem;
}

.review-list-head,
.review-row {
    display: grid;
    grid-template-columns:
        minmax(170px, 1.25fr)
        minmax(92px, 0.68fr)
        minmax(78px, 0.48fr)
        minmax(86px, 0.58fr)
        minmax(82px, 0.58fr)
        minmax(132px, 0.88fr)
        minmax(78px, 0.5fr)
        minmax(136px, 0.9fr)
        minmax(100px, 0.68fr)
        minmax(104px, 0.62fr);
    gap: 0.5rem;
    align-items: center;
}

.review-list-head {
    position: sticky;
    top: 154px;
    z-index: 5;
    padding: 0 1rem;
    color: var(--soft);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.review-row {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 0.76rem 1rem;
    box-shadow: 0 1px 0 rgba(23, 19, 27, 0.03);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.review-row:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-tight);
    transform: translateY(-1px);
}

.review-row.is-open {
    border-color: rgba(75, 39, 91, 0.32);
    box-shadow: var(--shadow-tight);
}

.review-cell {
    min-width: 0;
    font-size: 0.86rem;
}

.cell-label {
    display: none;
    margin-bottom: 0.24rem;
    color: var(--soft);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.review-artist,
.review-voting,
.review-action {
    display: grid;
    gap: 0.34rem;
}

.artist-identity,
.artist-card-head {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 0.68rem;
    min-width: 0;
}

.artist-avatar {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--violet);
    font-size: 0.78rem;
    font-weight: 800;
}

.artist-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.artist-avatar:hover {
    border-color: var(--blue);
}

.artist-avatar-large {
    width: 58px;
    height: 58px;
}

.artist-card-head {
    grid-template-columns: 58px minmax(0, 1fr);
}

.strong-link,
.artist-card-title,
.row-title-button {
    color: var(--ink);
    font-weight: 800;
}

.row-title-button {
    display: inline;
    max-width: 24ch;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    text-align: left;
    font-size: 0.98rem;
}

.row-title-button:hover {
    color: var(--raspberry);
}

.artist-card-title.row-title-button {
    max-width: none;
    font-size: 1.12rem;
}

.table-subline {
    display: block;
    margin-top: 0.28rem;
    color: var(--soft);
    font-size: 0.74rem;
    font-weight: 700;
}

.metric-stack {
    display: grid;
    gap: 0.08rem;
}

.metric-primary {
    color: var(--ink);
    font-weight: 800;
}

.media-label {
    display: inline-block;
    margin-left: 0.25rem;
    color: var(--soft);
    font-size: 0.76rem;
    font-weight: 700;
}

.artist-detail-row,
.review-detail {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #eef4f5;
    animation: revealDetail 180ms ease-out;
}

.availability-stack,
.vote-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
    align-items: center;
}

.availability {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 26px;
    border-radius: 8px;
    padding: 0.22rem 0.45rem;
    font-size: 0.74rem;
    font-weight: 800;
}

.availability.is-yes {
    background: rgba(15, 154, 164, 0.13);
    color: #096870;
}

.availability.is-no {
    background: rgba(165, 29, 45, 0.11);
    color: var(--danger);
}

.availability.is-unknown {
    background: #efedf0;
    color: var(--muted);
}

.vote-summary {
    margin-bottom: 0.44rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.vote-summary span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 8px;
    background: #f4f2f5;
    padding: 0.16rem 0.42rem;
}

.inline-detail {
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(430px, 1.15fr);
    gap: 1px;
    background: rgba(227, 223, 232, 0.9);
}

.inline-detail-main,
.inline-comments {
    min-width: 0;
    background: var(--surface);
}

.inline-detail-main {
    display: grid;
    align-content: start;
    gap: 0;
}

.panel,
.detail-side {
    background: var(--surface);
}

.inline-detail .panel {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.inline-detail-main .panel + .panel {
    border-top: 1px solid var(--line);
}

.inline-comments {
    padding: 1rem;
}

.inline-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border-radius: 8px;
    padding: 0.24rem 0.5rem;
    background: #f2edf5;
    color: var(--violet);
    font-size: 0.74rem;
    font-weight: 800;
}

.badge-status-offen {
    background: #f2edf5;
    color: var(--violet);
}

.badge-status-interessant {
    background: rgba(15, 154, 164, 0.14);
    color: #096870;
}

.badge-status-raus {
    background: rgba(165, 29, 45, 0.11);
    color: var(--danger);
}

.badge-status-gebucht {
    background: rgba(150, 118, 85, 0.16);
    color: #725636;
}

.badge-spotify-ok {
    background: rgba(15, 154, 164, 0.13);
    color: #096870;
}

.badge-spotify-missing {
    background: #efedf0;
    color: var(--muted);
}

.vote-button {
    min-height: 32px;
    padding: 0.42rem 0.62rem;
    font-size: 0.8rem;
}

.vote-button.is-active {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

.vote-button[data-vote-button="dislike"].is-active {
    border-color: var(--raspberry);
    background: var(--raspberry);
}

.artist-cards {
    display: none;
}

.artist-card {
    display: grid;
    gap: 0.85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 1rem;
    box-shadow: var(--shadow-tight);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.artist-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.artist-card-detail {
    border-top: 1px solid var(--line);
    padding-top: 0;
}

.compact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
    margin: 0;
}

.artist-card .vote-summary {
    margin-bottom: 0;
}

.compact-grid dd,
.meta-list dd {
    margin: 0;
    font-weight: 800;
}

.empty {
    padding: 1rem;
    color: var(--muted);
    text-align: center;
}

.detail-head {
    margin-bottom: 1rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: 800;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.detail-side,
.detail-main > .panel,
.moderation-item {
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.detail-side {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.meta-list {
    display: grid;
    gap: 0.95rem;
    margin: 0;
}

.vote-panel {
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}

.detail-main {
    display: grid;
    gap: 1rem;
}

.panel {
    padding: 1.05rem;
}

.spotify-facts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(86px, 128px);
    align-items: center;
    gap: 1rem;
}

.spotify-facts-copy {
    min-width: 0;
}

.spotify-image {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

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

.embed {
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: #111;
}

.embed-spotify {
    height: 352px;
}

.embed-video {
    aspect-ratio: 16 / 9;
    height: auto;
}

.external-link,
.link-list a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border-radius: 8px;
    padding: 0.48rem 0.68rem;
    background: var(--surface-soft);
    color: var(--violet);
    font-size: 0.84rem;
    font-weight: 800;
}

.note-panel {
    border-left: 5px solid var(--gold);
}

.comments-block {
    display: grid;
    gap: 0.9rem;
}

.comment-form {
    display: grid;
    gap: 0.62rem;
}

.comment-form textarea {
    min-height: 100px;
    background: #fbfbfc;
}

.comment-form.is-nested {
    margin-top: 0.7rem;
}

.comment-list {
    display: grid;
    gap: 0.72rem;
}

.comment {
    padding: 0.82rem 0;
    border-top: 1px solid var(--line);
}

.comment:first-child {
    border-top: 0;
}

.comment.is-reply {
    margin-left: 1.2rem;
    padding-left: 0.85rem;
    border-left: 3px solid rgba(15, 154, 164, 0.34);
}

.comment-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.4rem;
    color: var(--soft);
    font-size: 0.78rem;
}

.comment-meta strong {
    color: var(--ink);
}

.comment-body {
    margin-bottom: 0.52rem;
    color: #2a2530;
    line-height: 1.45;
}

.comment-deleted {
    color: var(--soft);
    font-style: italic;
}

.text-button {
    border: 0;
    background: transparent;
    color: var(--violet);
    cursor: pointer;
    padding: 0;
    font-weight: 800;
}

.text-button:hover {
    color: var(--raspberry);
}

.text-button.danger {
    color: var(--danger);
}

.inline-status {
    min-height: 1.2rem;
    margin: 0.6rem 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.login-shell {
    min-height: calc(100svh - 130px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    align-items: center;
    gap: 4rem;
}

.login-copy {
    max-width: 680px;
}

.login-copy h1 {
    color: var(--violet);
}

.login-copy p:last-child {
    color: var(--muted);
    font-size: 1.08rem;
}

.admin-form.narrow {
    max-width: 620px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.span-2 {
    grid-column: span 2;
}

.form-section {
    display: grid;
    gap: 0.75rem;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}

.link-row {
    display: grid;
    grid-template-columns: minmax(160px, 260px) minmax(0, 1fr);
    gap: 0.75rem;
}

.moderation-list {
    display: grid;
    gap: 0.85rem;
}

.moderation-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    background: var(--surface);
}

@keyframes revealDetail {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto;
        transition-duration: 0.01ms;
        animation-duration: 0.01ms;
    }
}

@media (max-width: 1240px) {
    .review-list-head {
        display: none;
    }

    .review-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .review-artist,
    .review-voting,
    .review-action {
        grid-column: span 2;
    }

    .cell-label {
        display: block;
    }
}

@media (max-width: 1080px) {
    .topbar {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .userbar {
        justify-content: flex-start;
    }

    .dashboard-hero {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-checks {
        grid-column: span 2;
    }

    .detail-grid,
    .login-shell,
    .inline-detail {
        grid-template-columns: 1fr;
    }

    .detail-side {
        position: static;
    }

}

@media (max-width: 760px) {
    h1 {
        font-size: 2.05rem;
    }

    .dashboard-title h1 {
        font-size: 2.35rem;
    }

    .page {
        padding: 1rem;
    }

    .brand img {
        width: 50px;
    }

    .page-head,
    .detail-title-row,
    .section-head,
    .moderation-item {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-shell {
        position: static;
        padding: 0;
        border: 0;
        background: transparent;
        backdrop-filter: none;
    }

    .filters,
    .form-grid,
    .link-row {
        grid-template-columns: 1fr;
    }

    .filter-checks,
    .span-2 {
        grid-column: auto;
    }

    .review-list {
        display: none;
    }

    .artist-cards {
        display: grid;
        gap: 0.85rem;
    }

    .artist-card .inline-detail {
        margin: 0 -1rem -1rem;
        border-top: 1px solid var(--line);
    }

    .spotify-facts {
        grid-template-columns: 1fr;
    }

    .spotify-image {
        max-width: 180px;
    }

    .inline-comments {
        padding: 1rem;
    }

    .comment.is-reply {
        margin-left: 0.55rem;
    }
}

/* Live filter */

.filter-shell {
    position: sticky;
}

.filter-shell::after {
    content: "";
    position: absolute;
    left: 0.95rem;
    right: 0.95rem;
    bottom: 0;
    height: 3px;
    border-radius: 8px;
    background: var(--blue);
    opacity: 0;
    transform: scaleX(0.2);
    transform-origin: left;
    transition: opacity 160ms ease, transform 260ms ease;
}

.filter-shell.is-loading::after {
    opacity: 1;
    transform: scaleX(1);
}

.filters[data-live-filters="true"] .filter-actions .button-primary {
    display: none;
}

.filters[data-live-filters="true"] .filter-actions::before {
    content: "Filter aktualisieren live";
    color: var(--soft);
    font-size: 0.78rem;
    font-weight: 800;
}

@media (max-width: 760px) {
    .filters[data-live-filters="true"] .filter-actions::before {
        width: 100%;
        text-align: center;
    }
}

/* Dashboard command bar reset */
.dashboard-hero {
    min-height: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.35rem 0 0.95rem;
    padding: 0.25rem 0 0.55rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.dashboard-hero::before {
    content: none;
}

.dashboard-title h1 {
    margin-bottom: 0.32rem;
    font-size: 3.25rem;
    line-height: 0.98;
}

.dashboard-title .muted {
    max-width: 46ch;
    color: rgba(255, 255, 255, 0.76);
}

.dashboard-hero .button-primary {
    min-height: 46px;
    box-shadow: 0 16px 38px rgba(18, 8, 27, 0.22);
}

.filter-shell {
    top: 76px;
    margin: 0 0 1.3rem;
    padding: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 46px rgba(18, 8, 27, 0.18);
    backdrop-filter: blur(18px);
}

.filter-shell label span {
    color: var(--soft);
}

.filters {
    grid-template-columns: minmax(260px, 1.4fr) repeat(4, minmax(130px, 1fr));
    gap: 0.65rem;
}

.filter-shell input,
.filter-shell select {
    min-height: 46px;
    border-color: #d8d1dd;
    background: #f7f5f8;
}

.filter-checks {
    grid-column: 1 / span 4;
    gap: 0.42rem;
}

.filter-checks label,
.check-row label {
    border-color: #d8d1dd;
    background: #f7f5f8;
    color: var(--muted);
}

.filter-actions {
    justify-content: flex-end;
}

.filter-actions .button-quiet {
    color: var(--muted);
}

.filter-actions .button-quiet:hover {
    background: var(--surface-soft);
    color: var(--ink);
}

@media (max-width: 1080px) {
    .dashboard-hero {
        align-items: flex-start;
    }

    .filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-checks {
        grid-column: span 2;
    }
}

@media (max-width: 760px) {
    .dashboard-hero {
        padding: 0;
    }

    .dashboard-title h1 {
        font-size: 2.35rem;
    }

    .filter-shell {
        position: static;
        padding: 0.85rem;
        border: 1px solid rgba(255, 255, 255, 0.72);
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(18px);
    }

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

    .filter-checks {
        grid-column: auto;
    }

    .filter-actions {
        justify-content: stretch;
    }

    .filter-actions .button {
        width: 100%;
    }
}

/* Final compact dashboard chrome */
.page:has(.dashboard-hero) {
    padding-top: 1rem;
}

.dashboard-hero.page-head {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin: 0 0 0.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.dashboard-hero::before {
    content: none;
}

.dashboard-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.55rem 0.85rem;
}

.dashboard-title .eyebrow {
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.68rem;
}

.dashboard-title h1 {
    margin: 0;
    color: #fff;
    font-size: 1.42rem;
    line-height: 1.05;
}

.dashboard-title .muted {
    width: 100%;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.84rem;
}

.dashboard-hero .button-primary {
    min-height: 36px;
    padding: 0.46rem 0.72rem;
    box-shadow: none;
}

.filter-shell {
    top: 69px;
    margin: 0 0 0.75rem;
    padding: 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(18, 8, 27, 0.14);
}

.filter-shell label span {
    margin-bottom: 0.2rem;
    color: var(--soft);
    font-size: 0.64rem;
}

.filters {
    grid-template-columns: minmax(220px, 1.45fr) repeat(4, minmax(118px, 1fr)) auto;
    gap: 0.42rem;
    align-items: end;
}

.filter-shell input,
.filter-shell select {
    min-height: 34px;
    padding: 0.42rem 0.55rem;
    border-color: #d8d1dd;
    background: #faf9fb;
    font-size: 0.84rem;
}

.search-field input {
    min-height: 34px;
}

.filter-checks {
    grid-column: 1 / -2;
    min-height: 30px;
    gap: 0.34rem;
}

.filter-checks label,
.check-row label {
    min-height: 28px;
    padding: 0.28rem 0.46rem;
    border-color: #d8d1dd;
    background: #faf9fb;
    color: var(--muted);
    font-size: 0.76rem;
}

.filter-actions {
    justify-content: flex-end;
    align-self: end;
}

.filter-actions .button {
    min-height: 32px;
    padding: 0.38rem 0.56rem;
    font-size: 0.78rem;
}

.filters[data-live-filters="true"] .filter-actions::before {
    content: "live";
    font-size: 0.7rem;
}

@media (max-width: 1080px) {
    .dashboard-hero.page-head {
        align-items: flex-start;
    }

    .filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-checks {
        grid-column: span 2;
    }
}

@media (max-width: 760px) {
    .dashboard-hero.page-head {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-title h1 {
        font-size: 1.25rem;
    }

    .filter-shell {
        position: static;
        padding: 0.55rem;
    }

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

    .filter-checks {
        grid-column: auto;
    }
}

/* PAX 2026 board layer */
:root {
    --violet-night: #32163f;
    --violet-glass: rgba(75, 39, 91, 0.72);
    --white-glass: rgba(255, 255, 255, 0.14);
    --white-line: rgba(255, 255, 255, 0.2);
    --board-shadow: 0 24px 70px rgba(18, 8, 27, 0.32);
    --card-shadow: 0 18px 44px rgba(18, 8, 27, 0.2);
}

html,
body {
    background: var(--violet);
}

body {
    position: relative;
    min-height: 100svh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.52));
}

.topbar {
    border-bottom: 1px solid var(--white-line);
    background: rgba(50, 22, 63, 0.82);
    box-shadow: 0 14px 36px rgba(18, 8, 27, 0.22);
}

.brand,
.topnav a,
.userbar,
.userbar .button-quiet {
    color: rgba(255, 255, 255, 0.9);
}

.topnav a:hover,
.userbar .button-quiet:hover {
    background: var(--white-glass);
    color: #fff;
}

.page {
    width: min(1840px, 100%);
    padding-top: 2rem;
}

.page-head:not(.dashboard-hero),
.detail-head,
.login-copy {
    color: #fff;
}

.page-head:not(.dashboard-hero) h1,
.detail-head h1,
.login-copy h1 {
    color: #fff;
}

.page-head:not(.dashboard-hero) .eyebrow,
.detail-head .eyebrow,
.login-copy .eyebrow {
    color: #f5b9cf;
}

.page-head:not(.dashboard-hero) .button-quiet,
.detail-head .back-link {
    color: rgba(255, 255, 255, 0.84);
}

.page-head:not(.dashboard-hero) .button-quiet:hover,
.detail-head .back-link:hover {
    background: var(--white-glass);
    color: #fff;
}

.login-copy p,
.login-copy p:last-child {
    color: rgba(255, 255, 255, 0.78);
}

.filter-checks input,
.check-row input {
    accent-color: var(--blue);
}

.section-head {
    color: #fff;
}

.section-head .muted {
    color: rgba(255, 255, 255, 0.72);
}

.review-list {
    container: review-board / inline-size;
    gap: 1rem;
}

.review-list-head {
    top: 166px;
    color: rgba(255, 255, 255, 0.72);
}

.review-row {
    min-height: 156px;
    padding: 1.28rem 1.25rem;
    border-color: rgba(255, 255, 255, 0.7);
    border-left: 7px solid transparent;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--card-shadow);
    content-visibility: auto;
    contain-intrinsic-size: 180px;
}

.review-row:hover {
    border-color: #fff;
    box-shadow: 0 26px 58px rgba(18, 8, 27, 0.28);
    transform: translateY(-3px);
}

.review-row.is-open,
.review-row:has(+ .review-detail:not([hidden])) {
    border-left-color: transparent;
    border-color: #fff;
    box-shadow: 0 30px 72px rgba(18, 8, 27, 0.34);
}

.review-cell {
    font-size: 0.94rem;
}

.artist-identity {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0.95rem;
}

.artist-avatar {
    width: 88px;
    height: 88px;
    background: #f6f7f9;
    box-shadow: inset 0 0 0 1px rgba(75, 39, 91, 0.06);
}

.artist-avatar-large {
    width: 92px;
    height: 92px;
}

.artist-card-head {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 1rem;
}

.row-title-button {
    max-width: 20ch;
    font-size: 1.25rem;
    line-height: 1.08;
}

.artist-card-title.row-title-button {
    font-size: 1.45rem;
}

.table-subline {
    font-size: 0.79rem;
}

.metric-primary {
    font-size: 1.04rem;
}

.availability {
    min-height: 30px;
    padding: 0.3rem 0.55rem;
}

.vote-summary span {
    min-height: 30px;
    background: #efedf3;
}

.vote-button {
    min-height: 40px;
    padding: 0.58rem 0.82rem;
}

.button-review {
    border-color: rgba(75, 39, 91, 0.22);
    background: #ede7f1;
}

.review-detail {
    border-color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--board-shadow);
}

.inline-detail {
    grid-template-columns: minmax(420px, 0.9fr) minmax(540px, 1.1fr);
}

.artist-card {
    min-height: 330px;
    padding: 1.4rem;
    border-color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--card-shadow);
}

.artist-card:hover {
    box-shadow: 0 26px 58px rgba(18, 8, 27, 0.28);
    transform: translateY(-3px);
}

.compact-grid {
    gap: 1rem;
}

.detail-side,
.detail-main > .panel,
.admin-form,
.login-form,
.table-wrap,
.moderation-item {
    border-color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--card-shadow);
}

.table-wrap {
    overflow: auto;
    border-radius: 8px;
}

.artist-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.artist-table th,
.artist-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.artist-table th {
    color: var(--soft);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.artist-table tr:last-child td {
    border-bottom: 0;
}

.flash {
    border-color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.96);
}

@supports (background: color-mix(in srgb, white 50%, black)) {
    .review-row,
    .artist-card,
    .detail-side,
    .detail-main > .panel,
    .admin-form,
    .login-form,
    .table-wrap,
    .moderation-item {
        background: color-mix(in srgb, white 94%, var(--violet) 6%);
    }

    .button-review {
        background: color-mix(in srgb, white 88%, var(--violet) 12%);
    }
}

@container review-board (max-width: 1280px) {
    .review-list-head {
        display: none;
    }

    .review-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .review-artist,
    .review-voting,
    .review-action {
        grid-column: span 2;
    }

    .cell-label {
        display: block;
    }
}

@starting-style {
    .review-detail:not([hidden]) {
        opacity: 0;
        transform: translateY(-10px) scale(0.99);
    }
}

@media (max-width: 1080px) {
    .filter-shell {
        top: 0;
    }

    .inline-detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    body::before {
        background-size: 34px 34px;
    }

    .page {
        padding-top: 1rem;
    }

    .artist-card {
        min-height: 360px;
        padding: 1.25rem;
    }

    .artist-avatar-large {
        width: 84px;
        height: 84px;
    }

    .artist-card-head {
        grid-template-columns: 84px minmax(0, 1fr);
    }
}

/* Compact voting board */
.review-row {
    min-height: 104px;
    padding: 0.82rem 0.95rem;
    will-change: transform;
}

.review-detail {
    box-shadow: 0 14px 36px rgba(18, 8, 27, 0.18);
    will-change: transform;
}

.inline-detail {
    grid-template-columns: minmax(260px, 0.78fr) minmax(420px, 1.22fr);
}

.inline-detail .panel {
    padding: 0.72rem 0.82rem;
}

.inline-detail .media-panel h2,
.inline-detail .spotify-facts {
    display: none;
}

.embed-spotify {
    height: 352px;
}

.inline-detail .embed-video {
    max-height: 220px;
}

.inline-links .link-list a,
.inline-detail .external-link {
    min-height: 30px;
    padding: 0.38rem 0.55rem;
    font-size: 0.78rem;
}

.inline-detail .note-panel p,
.inline-detail .media-panel p {
    margin-bottom: 0;
    font-size: 0.86rem;
    line-height: 1.38;
}

.inline-comments {
    max-height: 360px;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 0.72rem 0.82rem;
}

.inline-comments h2 {
    margin-bottom: 0.5rem;
}

.inline-comments .comment-form {
    gap: 0.44rem;
}

.inline-comments .comment-form textarea {
    min-height: 58px;
    max-height: 96px;
}

.inline-comments .comment-form .button {
    min-height: 32px;
    justify-self: start;
    padding: 0.38rem 0.58rem;
    font-size: 0.78rem;
}

.inline-comments .comment-list {
    gap: 0.35rem;
}

.inline-comments .comment {
    padding: 0.5rem 0;
}

.inline-comments .comment-meta {
    margin-bottom: 0.28rem;
    font-size: 0.72rem;
}

.inline-comments .comment-body {
    margin-bottom: 0.34rem;
    font-size: 0.86rem;
    line-height: 1.35;
}

.inline-comments .comment-actions {
    gap: 0.42rem;
    font-size: 0.78rem;
}

.artist-card {
    min-height: 0;
    padding: 0.98rem;
    gap: 0.62rem;
    will-change: transform;
}

.artist-card-detail {
    max-height: 460px;
    overflow: auto;
}

.artist-card .inline-detail {
    grid-template-columns: 1fr;
}

.artist-card .inline-comments {
    max-height: 300px;
}

@media (max-width: 1080px) {
    .inline-detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .artist-card {
        min-height: 0;
        padding: 0.92rem;
    }

    .artist-card-detail {
        max-height: 420px;
    }

    .inline-comments {
        max-height: 300px;
    }
}

/* Expandable review cards: keep the good live voting, restore the calmer collapsed board. */
.artist-avatar-button {
    appearance: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.artist-avatar-button:focus-visible,
.row-title-button:focus-visible,
.button-review:focus-visible {
    outline: 3px solid rgba(15, 154, 164, 0.35);
    outline-offset: 3px;
}

.review-row {
    min-height: 0;
    align-items: center;
    transition:
        border-color 240ms ease,
        box-shadow 260ms ease,
        transform 240ms ease,
        background 240ms ease;
}

.review-row.is-open,
.review-row:has(.review-detail:not([hidden])) {
    border-left-color: transparent;
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 24px 54px rgba(18, 8, 27, 0.23);
}

.review-row > .review-detail {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0.35rem;
    padding-top: 0.85rem;
    border: 0;
    border-top: 1px solid rgba(75, 39, 91, 0.14);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.review-row > .review-detail[hidden],
.artist-card-detail[hidden] {
    display: none;
}

.review-detail.is-detail-animating,
.artist-card-detail.is-detail-animating {
    overflow: hidden;
    transition:
        height 360ms cubic-bezier(0.2, 0.85, 0.2, 1),
        opacity 220ms ease,
        transform 360ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

.review-row .inline-detail {
    grid-template-columns: minmax(250px, 0.78fr) minmax(380px, 1.22fr);
    gap: 0.75rem;
    background: transparent;
}

.review-row .inline-detail-main,
.review-row .inline-comments {
    border: 1px solid rgba(75, 39, 91, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.artist-card {
    min-height: 0;
    transition:
        border-color 240ms ease,
        box-shadow 260ms ease,
        transform 240ms ease,
        background 240ms ease;
}

.artist-card.is-open {
    border-color: rgba(255, 255, 255, 0.96);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 24px 54px rgba(18, 8, 27, 0.23);
}

.artist-card-detail {
    max-height: none;
    overflow: visible;
    margin-top: 0.15rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(75, 39, 91, 0.12);
}

.artist-card .inline-detail {
    margin: 0;
    border-top: 0;
    background: transparent;
}

.artist-card .inline-detail-main,
.artist-card .inline-comments {
    border: 1px solid rgba(75, 39, 91, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1080px) {
    .review-row .inline-detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .embed-spotify {
        height: 300px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .review-detail.is-detail-animating,
    .artist-card-detail.is-detail-animating {
        transition: none;
    }
}

/* Local Tabler SVG icons */
.icon {
    width: 1.08em;
    height: 1.08em;
    flex: 0 0 auto;
    display: inline-block;
    stroke-width: 2.1;
}

.button,
.vote-button,
.text-button,
.back-link {
    gap: 0.42rem;
}

.text-button,
.back-link {
    display: inline-flex;
    align-items: center;
}

.vote-button {
    gap: 0.34rem;
}

.button-compact .icon,
.inline-comments .icon,
.text-button .icon {
    width: 0.98em;
    height: 0.98em;
}

.button-toggle-icon {
    transition: transform 260ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

[data-toggle-artist-detail][aria-expanded="true"] .button-toggle-icon {
    transform: rotate(180deg);
}

.badge {
    gap: 0.34rem;
    white-space: nowrap;
}

.badge .icon {
    width: 0.96em;
    height: 0.96em;
}

.badge-inquiry {
    border: 1px solid transparent;
}

.badge-inquiry-eingegangen {
    border-color: rgba(75, 39, 91, 0.16);
    background: rgba(75, 39, 91, 0.09);
    color: var(--violet);
}

.badge-inquiry-von_uns {
    border-color: rgba(15, 154, 164, 0.18);
    background: rgba(15, 154, 164, 0.12);
    color: #086d75;
}

.badge-inquiry-empfehlung {
    border-color: rgba(150, 118, 85, 0.22);
    background: rgba(150, 118, 85, 0.15);
    color: #725636;
}

.badge-inquiry-unknown {
    border-color: rgba(60, 60, 60, 0.1);
    background: #efedf0;
    color: var(--muted);
}

.card-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.38rem;
    margin: 0.22rem 0 0;
}

/* Denser voting board badges */
.review-list-head,
.review-row {
    grid-template-columns:
        minmax(180px, 1.34fr)
        minmax(92px, 0.58fr)
        minmax(76px, 0.42fr)
        minmax(86px, 0.48fr)
        minmax(122px, 0.68fr)
        minmax(152px, 0.82fr)
        minmax(112px, 0.62fr)
        minmax(92px, 0.48fr)
        minmax(70px, 0.3fr)
        minmax(92px, 0.44fr);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.badge,
.availability {
    min-height: 34px;
    border-radius: 8px;
    padding: 0.42rem 0.66rem;
    font-size: 0.82rem;
    line-height: 1.08;
}

.badge {
    gap: 0.42rem;
}

.badge .icon {
    width: 1.04em;
    height: 1.04em;
}

.availability-stack {
    gap: 0.44rem;
}

.availability {
    min-width: 68px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    text-align: center;
}

.availability-date {
    display: block;
    color: currentColor;
    font-size: 0.68rem;
    font-weight: 800;
    opacity: 0.72;
}

.availability-state {
    display: block;
    font-size: 0.88rem;
    font-weight: 900;
    line-height: 1;
}

.review-activity {
    color: rgba(60, 60, 60, 0.62);
    font-size: 0.72rem;
    line-height: 1.18;
}

.vote-summary {
    gap: 0.34rem;
    margin-bottom: 0.34rem;
}

.vote-summary > .vote-count-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.26rem;
    min-width: 42px;
    min-height: 32px;
    border-radius: 8px;
    padding: 0.36rem 0.5rem;
    font-size: 0.86rem;
    font-weight: 900;
}

.vote-summary > .vote-count-like {
    background: rgba(15, 154, 164, 0.13);
    color: #086d75;
}

.vote-summary > .vote-count-dislike {
    background: rgba(194, 16, 81, 0.1);
    color: var(--raspberry);
}

.vote-summary .vote-count-pill .icon {
    width: 1.04em;
    height: 1.04em;
}

.vote-summary .vote-count-pill [data-vote-count] {
    min-height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
}

.vote-inline {
    gap: 0.34rem;
}

.vote-button-icon {
    width: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0.5rem;
}

.button-compact.vote-button-icon,
.review-voting .vote-button-icon {
    width: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0.42rem;
}

.vote-button-icon .icon {
    width: 1.12em;
    height: 1.12em;
}

@container review-board (max-width: 1280px) {
    .review-list-head {
        display: none;
    }

    .review-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .review-artist,
    .review-voting,
    .review-action {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .review-row {
        grid-template-columns: 1fr;
    }
}
