/* ============================================================
   CassetteMix Frontend – cassettemix-frontend.css
   Hell, modern, clean.
   ============================================================ */

/* Fonts werden lokal via Theme geladen */

:root {
    --cm-bg:          #f7f5f2;
    --cm-bg-card:     #ffffff;
    --cm-bg-hover:    #f0ede9;
    --cm-border:      #e8e4df;
    --cm-border-soft: #f0ede9;
    --cm-text:        #1a1814;
    --cm-text-muted:  #8c8480;
    --cm-text-dim:    #c4bfba;
    --cm-accent:      #d4612a;
    --cm-accent-lt:   #f5ede8;
    --cm-green:       #1DB954;
    --cm-font-sans:   'DM Sans', system-ui, sans-serif;
    --cm-font-serif:  'DM Serif Display', Georgia, serif;
    --cm-max-w:       700px;
    --cm-radius:      12px;
    --cm-shadow:      0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
}

.cm-page *, .cm-page *::before, .cm-page *::after {
    box-sizing: border-box; margin: 0; padding: 0;
}
.cm-page {
    background: var(--cm-bg);
    color: var(--cm-text);
    font-family: var(--cm-font-sans);
    font-size: 14px;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    animation: cm-fade-in .35s ease both;
}
body:has(.cm-page) { background: var(--cm-bg) !important; }

/* ── Header ── */
.cm-header {
    background: var(--cm-bg-card);
    border-bottom: 1px solid var(--cm-border);
}
.cm-header-inner {
    max-width: var(--cm-max-w);
    margin: 0 auto;
    padding: 20px 24px 28px;
}
.cm-header-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.cm-back {
    font-size: 13px;
    font-weight: 500;
    color: var(--cm-text-muted);
    text-decoration: none;
    transition: color .15s;
}
.cm-back:hover { color: var(--cm-accent); }
.cm-header-date { font-size: 13px; color: var(--cm-text-dim); }
.cm-title-block { display: flex; flex-direction: column; gap: 10px; }
.cm-vol-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cm-accent);
}
.cm-title {
    font-family: var(--cm-font-serif);
    font-size: clamp(1.9rem, 5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.01em;
}
.cm-genre-tag {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--cm-accent);
    background: var(--cm-accent-lt);
    padding: 4px 12px;
    border-radius: 20px;
    align-self: flex-start;
}

/* ── Share-Button Layout ── */
.cm-title-footer {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 4px;
}
.cm-share {
    position: relative;
    display: inline-flex;
}

/* ── Kassetten-Visual ── */
.cm-cassette-visual {
    display: flex;
    justify-content: center;
    padding: 32px 16px 28px;
    background: var(--cm-bg);
}
.cm-cassette {
    width: 100%;
    max-width: 480px;
}
.cm-cassette-shell {
    position: relative;
    background: #1a1a1a;
    border-radius: 12px;
    padding: 14px 14px 0;
    box-shadow:
        0 2px 0 #000,
        0 6px 24px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.08);
}

/* Schrauben */
.cm-screw {
    position: absolute;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #2a2a2a;
    border: 1px solid #111;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.6);
}
.cm-screw::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 6px; height: 1px;
    background: #111;
    transform: translate(-50%,-50%) rotate(45deg);
}
.cm-screw-tl { top: 8px;  left: 8px; }
.cm-screw-tr { top: 8px;  right: 8px; }
.cm-screw-bl { bottom: 28px; left: 8px; }
.cm-screw-br { bottom: 28px; right: 8px; }
.cm-screw-tc { top: 8px; left: 50%; transform: translateX(-50%); }

/* Label-Bereich */
.cm-cassette-label {
    background: #f5f0e8;
    border-radius: 6px 6px 0 0;
    padding: 10px 12px 8px;
    margin-bottom: 0;
    border-bottom: 2px solid var(--cm-accent);
}
.cm-cassette-label-inner {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.cm-cassette-label-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 3px;
    flex-shrink: 0;
}
.cm-cassette-label-lines span {
    display: block;
    height: 2px;
    border-radius: 1px;
    background: var(--cm-accent);
}
.cm-cassette-label-lines span:nth-child(1) { width: 24px; }
.cm-cassette-label-lines span:nth-child(2) { width: 18px; opacity: .6; }
.cm-cassette-label-lines span:nth-child(3) { width: 12px; opacity: .35; }

.cm-cassette-label-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.cm-clabel-date {
    font-size: 10px;
    color: #999;
    letter-spacing: .06em;
}
.cm-clabel-title {
    font-family: var(--cm-font-serif);
    font-style: italic;
    font-size: 15px;
    color: #1a1814;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cm-clabel-genre {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--cm-accent);
}

/* Tape-Fenster */
.cm-cassette-window {
    display: flex;
    align-items: center;
    background: #0d0d0d;
    padding: 10px 16px;
    gap: 8px;
    margin: 0 -0px;
}

/* Spulen */
.cm-cassette-reel { flex-shrink: 0; }
.cm-reel-outer {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: #f5f5f5;
    border: 3px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #000, inset 0 2px 4px rgba(0,0,0,.3);
    animation: cm-reel-spin 4s linear infinite;
}
.cm-reel-l .cm-reel-outer { animation-direction: normal; }
.cm-reel-r .cm-reel-outer { animation-direction: reverse; }
@keyframes cm-reel-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.cm-reel-inner {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 2px solid #333;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cm-reel-spokes {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}
.cm-reel-spokes span {
    position: absolute;
    width: 2px;
    height: 18px;
    background: #ddd;
    top: 50%; left: 50%;
    transform-origin: center top;
    border-radius: 1px;
}
.cm-reel-spokes span:nth-child(1) { transform: translateX(-50%) rotate(0deg)   translateY(-100%); }
.cm-reel-spokes span:nth-child(2) { transform: translateX(-50%) rotate(60deg)  translateY(-100%); }
.cm-reel-spokes span:nth-child(3) { transform: translateX(-50%) rotate(120deg) translateY(-100%); }
.cm-reel-spokes span:nth-child(4) { transform: translateX(-50%) rotate(180deg) translateY(-100%); }
.cm-reel-spokes span:nth-child(5) { transform: translateX(-50%) rotate(240deg) translateY(-100%); }
.cm-reel-spokes span:nth-child(6) { transform: translateX(-50%) rotate(300deg) translateY(-100%); }
.cm-reel-hub-c {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #f5f5f5;
    border: 2px solid #aaa;
    z-index: 2;
}

/* Tape-Bereich zwischen den Spulen */
.cm-cassette-tape-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 68px;
}
.cm-tape-path {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
}
.cm-tape-guide {
    width: 8px; height: 40px;
    background: #2a2a2a;
    border-radius: 2px;
    border: 1px solid #444;
    flex-shrink: 0;
}
.cm-tape-visible {
    flex: 1;
    height: 14px;
    background: linear-gradient(180deg,
        #5c3a1e 0%, #7a4e28 30%, #a0682e 50%, #7a4e28 70%, #5c3a1e 100%);
    border-top: 2px solid #3a2010;
    border-bottom: 2px solid #3a2010;
}

/* Unterer Streifen */
.cm-cassette-bottom-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 20px;
    background: var(--cm-accent);
}
.cm-cassette-stereo,
.cm-cassette-type {
    font-family: var(--cm-font-sans);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    color: rgba(0,0,0,.7);
    text-transform: uppercase;
}

/* Untere Aussparungen */
.cm-cassette-cutouts {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 40px;
    height: 18px;
}
.cm-cutout {
    display: block;
    width: 14px; height: 10px;
    background: var(--cm-bg);
    border-radius: 3px 3px 0 0;
    border: 1px solid #333;
    border-bottom: none;
}
.cm-cutout-center {
    display: block;
    width: 20px; height: 12px;
    background: var(--cm-bg);
    border-radius: 3px 3px 0 0;
    border: 1px solid #333;
    border-bottom: none;
}

/* Responsive */
@media (max-width: 480px) {
    .cm-reel-outer { width: 54px; height: 54px; }
    .cm-reel-inner { width: 38px; height: 38px; }
    .cm-reel-spokes span { height: 13px; }
    .cm-cassette-tape-section { height: 54px; }
    .cm-tape-guide { height: 30px; }
    .cm-clabel-title { font-size: 13px; }
}

/* ── Sides ── */
.cm-sides {
    max-width: var(--cm-max-w);
    margin: 0 auto;
    padding: 24px 24px 64px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cm-side {
    background: var(--cm-bg-card);
    border: 1px solid var(--cm-border);
    border-radius: var(--cm-radius);
    overflow: hidden;
    box-shadow: var(--cm-shadow);
    animation: cm-slide-up .4s ease both;
}
.cm-side-a { animation-delay: .05s; }
.cm-side-b { animation-delay: .12s; }
.cm-side-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--cm-border-soft);
}
.cm-side-id { display: flex; align-items: center; gap: 10px; }
.cm-side-letter {
    font-family: var(--cm-font-serif);
    font-size: 1.9rem; font-style: italic;
    color: var(--cm-accent); line-height: 1;
}
.cm-side-label {
    font-size: 11px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--cm-text-muted);
}
.cm-side-duration { font-size: 12px; color: var(--cm-text-dim); }

/* ── Tracklist ── */
.cm-tracklist { list-style: none; padding: 6px 0; }
.cm-track {
    display: grid;
    grid-template-columns: 30px 48px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 8px 20px 8px 14px;
    transition: background .1s;
}
.cm-track:hover { background: var(--cm-bg-hover); }
.cm-track-n {
    font-size: 12px; color: var(--cm-text-dim);
    text-align: right; user-select: none;
    font-variant-numeric: tabular-nums;
}
.cm-track-cover { width: 48px; height: 48px; flex-shrink: 0; }
.cm-track-cover img {
    width: 48px; height: 48px;
    object-fit: cover; display: block;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,.10);
}
.cm-track-cover-empty {
    width: 48px; height: 48px;
    background: var(--cm-bg);
    border-radius: 6px;
    border: 1px solid var(--cm-border);
}
.cm-track-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cm-track-title {
    font-size: 14px; font-weight: 500; color: var(--cm-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cm-track-artist {
    font-size: 12px; color: var(--cm-text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cm-track-dur {
    font-size: 12px; color: var(--cm-text-dim);
    white-space: nowrap; font-variant-numeric: tabular-nums;
}

/* ── Spotify Button ── */
.cm-play-btn-wrap {
    padding: 14px 20px;
    border-top: 1px solid var(--cm-border-soft);
}
.cm-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cm-green);
    color: #000;
    font-family: var(--cm-font-sans);
    font-size: 13px; font-weight: 700;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    transition: opacity .15s, transform .1s;
}
.cm-play-btn:hover { opacity: .85; transform: translateY(-1px); }
.cm-play-btn:active { transform: translateY(0); }

/* ── Flip Divider ── */
.cm-divider {
    display: flex; align-items: center; gap: 12px; padding: 0 4px;
}
.cm-divider-line { flex: 1; height: 1px; background: var(--cm-border); }
.cm-divider-flip {
    font-size: 10px; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--cm-text-dim);
    border: 1px solid var(--cm-border);
    background: var(--cm-bg-card);
    padding: 4px 12px; border-radius: 20px;
}

/* ── Footer ── */
.cm-footer {
    max-width: var(--cm-max-w);
    margin: 0 auto;
    padding: 16px 24px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cm-footer-back {
    font-size: 13px; font-weight: 500;
    color: var(--cm-text-muted); text-decoration: none; transition: color .15s;
}
.cm-footer-back:hover { color: var(--cm-accent); }
.cm-footer-logo {
    font-family: var(--cm-font-serif);
    font-size: 15px; font-style: italic; color: var(--cm-text-dim);
}

/* ── Animations ── */
@keyframes cm-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes cm-slide-up {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .cm-tape-body { width: 100%; max-width: 280px; }
    .cm-track { grid-template-columns: 24px 40px 1fr auto; gap: 8px; padding: 7px 14px 7px 10px; }
    .cm-track-cover, .cm-track-cover img, .cm-track-cover-empty { width: 40px; height: 40px; }
    .cm-title { font-size: 1.7rem; }
}

/* ── Theme Overrides ── */
body.single-cassette .site-content,
body.single-cassette .content-area,
body.single-cassette main.site-main,
body.single-cassette .entry-content {
    background: transparent !important; padding: 0 !important;
    max-width: none !important; width: 100% !important;
}
body.single-cassette .site-header,
body.single-cassette .site-footer { display: none; }

/* ── Footer Note ── */
.cm-note {
    padding: 16px 20px;
    font-size: 13px;
    color: var(--cm-text-muted);
    line-height: 1.7;
    background: var(--cm-bg-card);
    border: 1px solid var(--cm-border);
    border-radius: var(--cm-radius);
    box-shadow: var(--cm-shadow);
}
.cm-note p { margin: 0 0 6px; }
.cm-note p:last-child { margin-bottom: 0; }
.cm-note strong { color: var(--cm-text); font-weight: 500; }


/* ═══════════════════════════════════════════════════════════════════════════
   FRONT PAGE / ARCHIVE
   ═══════════════════════════════════════════════════════════════════════════ */

.cm-archive-page {
    min-height: 100vh;
    background: var(--cm-bg);
    font-family: var(--cm-font-sans);
}

/* ── Header ── */
.cm-archive-header {
    background: #fff;
    border-bottom: 1px solid var(--cm-border);
    padding: 20px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.cm-archive-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.cm-archive-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cm-archive-logo {
    font-family: var(--cm-font-serif);
    font-style: italic;
    font-size: 22px;
    color: var(--cm-text);
    line-height: 1;
}
.cm-archive-tagline {
    font-size: 11px;
    color: var(--cm-text-muted);
    letter-spacing: .06em;
}

/* ── Genre-Filter ── */
.cm-genre-filter {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cm-genre-filter select {
    font-family: var(--cm-font-sans);
    font-size: 13px;
    padding: 6px 12px;
    border: 1px solid var(--cm-border);
    border-radius: 20px;
    background: var(--cm-bg);
    color: var(--cm-text);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
}
.cm-genre-filter select:focus {
    outline: none;
    border-color: var(--cm-accent);
}
.cm-filter-clear {
    font-size: 12px;
    color: var(--cm-text-muted);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid var(--cm-border);
    transition: all .15s;
}
.cm-filter-clear:hover {
    color: var(--cm-accent);
    border-color: var(--cm-accent);
}
.cm-sr-only {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

/* ── Grid ── */
.cm-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 32px auto;
    padding: 0 24px;
}

/* ── Card ── */
.cm-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.cm-cassette-card {
    background: #fff;
    border: 1px solid var(--cm-border);
    border-radius: var(--cm-radius);
    overflow: hidden;
    box-shadow: var(--cm-shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}
.cm-card-link:hover .cm-cassette-card {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
}

.cm-card-cover {
    width: 100%;
    aspect-ratio: 1;
    background: #f0ece6;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cm-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
.cm-card-link:hover .cm-card-cover img {
    transform: scale(1.03);
}
.cm-card-cover-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8e4df;
}

.cm-card-info {
    padding: 12px 14px 14px;
}
.cm-card-vol {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--cm-text-muted);
    text-transform: uppercase;
    margin-bottom: 3px;
}
.cm-card-genre {
    font-family: var(--cm-font-serif);
    font-style: italic;
    font-size: 15px;
    color: var(--cm-text);
    line-height: 1.3;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cm-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.cm-card-date {
    font-size: 11px;
    color: var(--cm-text-muted);
}
.cm-card-dur {
    font-size: 10px;
    color: var(--cm-accent);
    font-weight: 500;
    letter-spacing: .04em;
}

/* ── Pagination ── */
.cm-pagination {
    max-width: 1200px;
    margin: 0 auto 48px;
    padding: 0 24px;
}
.cm-pagination .page-numbers {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex-wrap: wrap;
}
.cm-pagination .page-numbers li a,
.cm-pagination .page-numbers li span {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    border: 1px solid var(--cm-border);
    color: var(--cm-text);
    background: #fff;
    transition: all .15s;
}
.cm-pagination .page-numbers li a:hover {
    border-color: var(--cm-accent);
    color: var(--cm-accent);
}
.cm-pagination .page-numbers li span.current {
    background: var(--cm-accent);
    border-color: var(--cm-accent);
    color: #fff;
}

/* ── Empty ── */
.cm-archive-empty {
    text-align: center;
    padding: 80px 24px;
    color: var(--cm-text-muted);
    font-size: 15px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .cm-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px;
        margin: 20px auto;
    }
    .cm-archive-header {
        padding: 14px 16px;
    }
    .cm-archive-header-inner {
        gap: 10px;
    }
}
@media (max-width: 360px) {
    .cm-archive-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════════════════════
   ARTIST ARCHIVE
   ══════════════════════════════════════════════════════════════════════════════ */

/* Filter-Row */
.cm-artist-filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cm-artist-search-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cm-artist-search-input {
    font-family: var(--cm-font-sans);
    font-size: 13px;
    padding: 6px 14px;
    border: 1px solid var(--cm-border);
    border-radius: 20px;
    background: var(--cm-bg);
    color: var(--cm-text);
    width: 200px;
    outline: none;
    transition: border-color .15s;
}
.cm-artist-search-input:focus { border-color: var(--cm-accent); }

/* Artist Card */
.cm-artist-card { cursor: pointer; }

/* Avatar-Placeholder */
.cm-artist-avatar {
    background: linear-gradient(135deg, #2a2a2a 0%, #444 100%);
    color: #fff;
    font-family: var(--cm-font-serif);
    font-style: italic;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

/* Artist Name */
.cm-artist-name {
    font-family: var(--cm-font-sans);
    font-style: normal;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
}

/* Genre Tags */
.cm-artist-genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}
.cm-artist-genre-tag {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .04em;
    padding: 2px 7px;
    border-radius: 10px;
    background: var(--cm-bg);
    border: 1px solid var(--cm-border);
    color: var(--cm-text-muted);
    white-space: nowrap;
}

/* Empty State */
.cm-empty-state {
    text-align: center;
    padding: 80px 24px;
    color: var(--cm-text-muted);
    font-size: 15px;
}
.cm-empty-state a {
    display: inline-block;
    margin-top: 12px;
    color: var(--cm-accent);
    text-decoration: none;
    font-size: 13px;
}

/* ── Share Button & Dropdown ── */

/* Container: Share + Optionen nebeneinander */
.cm-share {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

/* Einheitlicher Button-Stil für ALLE Share-Elemente */
.cm-share-btn,
.cm-share-option:not(.cm-report-trigger) {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 14px !important;
    font-family: monospace !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: #888 !important;
    background: transparent !important;
    border: 1px solid #ccc !important;
    border-radius: 3px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    width: auto !important;
    transition: color .15s, border-color .15s !important;
}

.cm-share-btn:hover,
.cm-share-option:hover {
    color: var(--cm-accent) !important;
    border-color: var(--cm-accent) !important;
    background: transparent !important;
}

.cm-share-btn svg,
.cm-share-option svg {
    flex-shrink: 0;
    opacity: 0.6;
}

/* Dropdown: kein Popup, inline neben Share-Button */
.cm-share-dropdown {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.cm-share-dropdown[hidden] { display: none !important; }

/* ── Vote Widget ── */
.cm-vote {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
    margin: 0 0 4px;
    background: var(--cm-bg-card, #f7f5f2);
    border-top: 1px solid var(--cm-border, #e8e3dc);
}

.cm-vote-question {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cm-text-muted, #888);
}

.cm-vote-buttons {
    display: flex;
    gap: 10px;
}

.cm-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cm-text, #2a2520);
    background: transparent;
    border: 1px solid var(--cm-border, #ddd);
    border-radius: 3px;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}

.cm-vote-btn:hover {
    border-color: var(--cm-accent, #d4612a);
    color: var(--cm-accent, #d4612a);
}

.cm-vote-btn.cm-voted-yes {
    background: var(--cm-accent, #d4612a);
    border-color: var(--cm-accent, #d4612a);
    color: #fff;
}

.cm-vote-btn.cm-voted-no {
    background: var(--cm-text-muted, #888);
    border-color: var(--cm-text-muted, #888);
    color: #fff;
}

.cm-vote-btn:disabled {
    cursor: default;
    opacity: 0.75;
}

.cm-vote-result {
    font-size: 0.78rem;
    color: var(--cm-text-muted, #999);
    min-height: 1.2em;
    transition: opacity .2s;
}

.cm-vote[data-voted="true"] .cm-vote-result {
    color: var(--cm-text, #2a2520);
    font-weight: 500;
}

/* ── Report-Trigger: Outline-Button wie Vote-Buttons ── */
.cm-report-trigger {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 9px 20px !important;
    font-family: inherit !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: var(--cm-text, #2a2520) !important;
    background: transparent !important;
    border: 1px solid var(--cm-border, #ddd) !important;
    border-radius: 3px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    vertical-align: middle !important;
    transition: background .15s, color .15s, border-color .15s !important;
}
.cm-report-trigger:hover {
    border-color: var(--cm-accent, #C4622D) !important;
    color: var(--cm-accent, #C4622D) !important;
    background: transparent !important;
}
