/* ================================================
   Themenansicht — forumdisplay
   fading-to-dust.de
   ================================================ */

/* Tabellen-Reset */
.ftd-scene-row { width: 100% !important; }
.ftd-scene-row td { padding: 0 !important; border: none !important; }
.ftd-scene-check { display: none !important; width: 0 !important; }

.ftd-scene-cell {
    padding: 0 !important;
    width: 100% !important;
}

.ftd-scene {
    display: flex;
    align-items: stretch;
    background: rgba(128, 108, 154, 0.06);
    border-left: 3px solid #c9a8b2;
    transition: border-color 0.2s;
    margin-bottom: 2px;
    width: 100%;
    box-sizing: border-box;
}

.ftd-scene:hover {
    border-left-color: #806c9a;
}

/* Status-Icon links */
.ftd-scene-icon {
    width: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 178, 0.12);
}

/* Body */
.ftd-scene-body {
    flex: 1;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.ftd-scene-title-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.ftd-scene-title {
    font-family: 'DMSerifDisplay-Regular', 'DM Serif Display', Georgia, serif;
    font-size: 18px;
    font-style: italic;
    color: #3d1f2e;
    text-decoration: none;
    transition: color 0.2s;
}

.ftd-scene-title:hover { color: #806c9a; }

/* Meta-Zeile */
.ftd-scene-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* inplayscenes_forumdisplay Styles überschreiben */
.ftd-scene-meta .smalltext,
.ftd-scene-meta div { display: contents; }

.ftd-meta-bit {
    font-family: 'Jost', sans-serif;
    font-size: 9px;
    letter-spacing: 1px;
    color: #9b7080;
}

.ftd-meta-bit a {
    color: #c9a8b2;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-size: 9px;
    letter-spacing: 1px;
}

.ftd-meta-bit a:hover { color: #806c9a; }

.ftd-meta-bit.ftd-meta-ort { color: #806c9a; }

.ftd-meta-sep {
    color: rgba(201, 168, 178, 0.6);
    font-size: 9px;
}

/* Rechte Spalte */
.ftd-scene-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 12px 20px;
    gap: 3px;
    flex-shrink: 0;
    min-width: 130px;
}

.ftd-scene-count {
    font-family: 'DMSerifDisplay-Regular', 'DM Serif Display', Georgia, serif;
    font-size: 22px;
    font-style: italic;
    color: #c9a8b2;
    line-height: 1;
}

.ftd-scene-count a {
    color: #c9a8b2;
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
}

.ftd-scene-count a:hover { color: #806c9a; }

.ftd-scene-count-label {
    font-family: 'Jost', sans-serif;
    font-size: 7px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9b7080;
}

.ftd-scene-last {
    font-family: 'Jost', sans-serif;
    font-size: 8px;
    letter-spacing: 1px;
    color: #9b7080;
    text-align: right;
    line-height: 1.6;
}

.ftd-scene-last a {
    color: #806c9a;
    text-decoration: none;
    font-family: 'Jost', sans-serif;
    font-size: 8px;
    letter-spacing: 1px;
}

/* Szeneinstellung ausblenden */
.ftd-scene-meta b { display: none; }

/* Nur Ort anzeigen, Spotify ausblenden */
.ftd-meta-field { font-size: 9px; letter-spacing: 1px; color: #9b7080; font-family: 'Jost', sans-serif; }
.ftd-meta-field-spotify { display: none; }
.ftd-scene-cell { padding: 0 !important; width: 100% !important; }

/* tcat Header-Zeile ausblenden */
table.tborder.clear tr:has(td.tcat) {
    display: none;
}

/* Tabelle volle Breite ohne Zellabstand */
table.tborder.clear {
    border-spacing: 0 !important;
    border-collapse: collapse !important;
}

table.tborder.clear tbody tr.inline_row td {
    padding: 0 !important;
    border: none !important;
}

/* Legende links ausblenden */
.thread_legend { display: none !important; }
.float_left:has(.thread_legend) { display: none !important; }

/* Footer-Bereich als Flexzeile */
.float_right:has(#inlinemoderation_box),
.float_right:has(#forumjump) {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    justify-content: flex-end !important;
    padding: 10px 0 !important;
}

/* Footer-Bar */
.ftd-footer-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    padding: 8px 0 !important;
    clear: both;
}

.ftd-footer-bar form,
.ftd-footer-bar table { margin: 0 !important; }

/* Footer-Bar */
.ftd-footer-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 10px 0;
    flex-wrap: wrap;
}