:root {
    --primary: #26537E;
    --primary-light: #3674af;
    --accent: #7aadde;
    --text: #2c3e50;
    --muted: #6c757d;
    --bg: #f8f9fa;
    --card-bg: rgba(255, 255, 255, 0.8);
    --input-bg: rgba(255, 255, 255, 0.9);
    --input-border: rgba(38, 83, 126, 0.2);
    --error: #e74c3c;
    --success: #27ae60;
    --radius: 22px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100vh;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 20%, rgba(38, 83, 126, 0.08) 0%, transparent 22%),
        radial-gradient(circle at 90% 80%, rgba(122, 173, 222, 0.10) 0%, transparent 22%),
        linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    position: relative;
    overflow-x: hidden;
}

/* ---------- Hintergrund-Bubbles ---------- */
.bubble {
    position: fixed;
    border-radius: 50%;
    background: rgba(38, 83, 126, 0.05);
    animation: float 20s infinite;
    z-index: -1;
}
.bubble:nth-child(1) { width: 100px; height: 100px; left: 8%;  top: 18%; animation-delay: 0s; }
.bubble:nth-child(2) { width: 160px; height: 160px; right: 12%; top: 38%; animation-delay: 2s; }
.bubble:nth-child(3) { width: 80px;  height: 80px;  left: 18%; bottom: 22%; animation-delay: 4s; }
.bubble:nth-child(4) { width: 130px; height: 130px; right: 22%; bottom: 14%; animation-delay: 6s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(5deg); }
    50% { transform: translate(-5px, 10px) rotate(-5deg); }
    75% { transform: translate(-15px, -5px) rotate(3deg); }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}
.btn.full { width: 100%; }
.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(38, 83, 126, 0.3); }
.btn:hover::before { left: 100%; }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.secondary {
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary);
    border: 1px solid var(--input-border);
}

/* ---------- Alerts ---------- */
.alert {
    padding: 14px 18px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert.error { background: rgba(231, 76, 60, 0.1); color: var(--error); border: 1px solid rgba(231, 76, 60, 0.2); }
.alert.success { background: rgba(39, 174, 96, 0.1); color: var(--success); border: 1px solid rgba(39, 174, 96, 0.2); }

/* ====================================================== LOGIN */
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-container { max-width: 440px; width: 100%; margin: 20px; }
.login-logo {
    max-width: 210px;
    margin: 0 auto 30px;
    display: block;
    filter: drop-shadow(0 5px 15px rgba(38, 83, 126, 0.2));
}

.card {
    background: var(--card-bg);
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(38, 83, 126, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    backdrop-filter: blur(20px);
    overflow: hidden;
    animation: containerFloat 0.8s ease-out;
    position: relative;
}
@keyframes containerFloat {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 20px;
    text-align: center;
}
.card-header h2 { font-size: 23px; letter-spacing: -0.5px; }
.card-body { padding: 30px; }
.card-footer {
    background: rgba(248, 249, 250, 0.6);
    text-align: center;
    padding: 14px 20px;
    color: var(--muted);
    font-size: 12px;
    border-top: 1px solid rgba(38, 83, 126, 0.1);
}

.form-label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 14px; }
.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--input-border);
    border-radius: 14px;
    background: var(--input-bg);
    font-size: 16px;
    color: var(--text);
    transition: all 0.3s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(38, 83, 126, 0.1);
    transform: translateY(-2px);
}
.mb { margin-bottom: 18px; }
.mt { margin-top: 24px; }

/* ====================================================== APP-SHELL */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(38, 83, 126, 0.08);
}
.topbar .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.topbar .brand img { height: 34px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.topbar .logout,
.topbar .reload {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid var(--input-border);
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: inherit;
}
.topbar .logout:hover,
.topbar .reload:hover { background: var(--primary); color: #fff; }
.topbar .reload:hover svg { transform: rotate(-180deg); }
.topbar .reload svg { transition: transform 0.4s ease; }

@media (max-width: 600px) {
    .topbar .reload span { display: none; }
    .topbar .reload { padding: 8px 12px; }
}

.container { max-width: 1080px; margin: 0 auto; padding: 40px 24px 80px; }

.page-head { margin-bottom: 36px; }
.page-head h1 { font-size: 30px; letter-spacing: -0.6px; }
.page-head p { color: var(--muted); margin-top: 8px; font-size: 16px; }

.tools-search-wrap {
    position: relative;
    max-width: 440px;
    margin-top: 22px;
}
.tools-search-wrap svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--muted);
    pointer-events: none;
}
.tools-search-wrap .form-control {
    padding-left: 46px;
}
.tools-search-wrap .form-control::-webkit-search-cancel-button {
    cursor: pointer;
}
.tools-no-results {
    text-align: center;
    padding: 56px 24px;
    color: var(--muted);
    font-size: 15px;
    border: 1px dashed var(--input-border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.45);
}

.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    padding: 9px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--input-border);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}
.back-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateX(-2px);
}

/* ---------- Tool-Kategorien ---------- */
.tool-category { margin-bottom: 38px; }
.category-head {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(38, 83, 126, 0.12);
}

/* ---------- Tool-Grid ---------- */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}
.tool-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 26px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 12px 30px rgba(38, 83, 126, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(38, 83, 126, 0.16);
    border-color: rgba(38, 83, 126, 0.2);
}
.tool-card .icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
}
.tool-card .icon svg { width: 28px; height: 28px; }
.tool-card h3 { font-size: 19px; letter-spacing: -0.3px; }
.tool-card p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.tool-card .go { margin-top: auto; color: var(--primary); font-weight: 600; font-size: 14px; }

/* ---------- Favicon-Tool ---------- */
.tool-panel {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 12px 30px rgba(38, 83, 126, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
}

.dropzone {
    border: 2px dashed var(--input-border);
    border-radius: 18px;
    padding: 46px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    background: rgba(255, 255, 255, 0.4);
}
.dropzone:hover, .dropzone.dragover {
    border-color: var(--primary);
    background: rgba(38, 83, 126, 0.05);
}
.dropzone .dz-icon {
    width: 64px; height: 64px;
    margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
}
.dropzone .dz-icon svg { width: 32px; height: 32px; }
.dropzone h3 { font-size: 18px; margin-bottom: 6px; }
.dropzone p { color: var(--muted); font-size: 14px; }
.dropzone .hint { font-size: 12px; margin-top: 10px; }

.preview {
    display: none;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--input-border);
}
.preview.show { display: flex; }
.preview img {
    width: 72px; height: 72px;
    object-fit: contain;
    border-radius: 12px;
    background:
        linear-gradient(45deg, #eee 25%, transparent 25%),
        linear-gradient(-45deg, #eee 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #eee 75%),
        linear-gradient(-45deg, transparent 75%, #eee 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
}
.preview .meta { flex: 1; min-width: 0; }
.preview .meta .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview .meta .dims { color: var(--muted); font-size: 13px; margin-top: 2px; }
.preview .remove {
    background: none; border: none; cursor: pointer;
    color: var(--muted); font-size: 22px; line-height: 1;
}

/* ---------- Fortschritt ---------- */
.progress-wrap { display: none; margin-top: 24px; }
.progress-wrap.show { display: block; }
.progress-label {
    display: flex; justify-content: space-between;
    font-size: 14px; margin-bottom: 8px; color: var(--text);
}
.progress-track {
    height: 12px;
    background: rgba(38, 83, 126, 0.1);
    border-radius: 999px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
    position: relative;
}
.progress-bar.indeterminate {
    width: 40% !important;
    animation: indet 1.1s ease-in-out infinite;
}
@keyframes indet {
    0% { margin-left: -40%; }
    100% { margin-left: 100%; }
}

.result {
    display: none;
    margin-top: 24px;
    text-align: center;
    padding: 28px;
    border-radius: 16px;
    background: rgba(39, 174, 96, 0.08);
    border: 1px solid rgba(39, 174, 96, 0.2);
}
.result.show { display: block; }
.result .check {
    width: 56px; height: 56px;
    margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--success);
    color: #fff;
}
.result h3 { margin-bottom: 6px; }
.result p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

.feature-list {
    list-style: none;
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.feature-list li {
    font-size: 13px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.5);
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--input-border);
}

/* ---------- Mail-Tools: Formular / Ordnerliste ---------- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-grid > div:nth-child(1),
.form-grid > div:nth-child(3) { grid-column: 1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.checkline {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
}
.checkline input { width: 17px; height: 17px; accent-color: var(--primary); }

.divider { border: none; border-top: 1px solid var(--input-border); margin: 26px 0; }

.step-label {
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
    margin-bottom: 14px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.section-head h3 { font-size: 18px; }
.select-actions { display: flex; gap: 8px; }
.link-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
}
.link-btn:hover { background: rgba(38, 83, 126, 0.08); }

.folder-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
}
.folder-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--input-border);
    cursor: pointer;
    transition: background 0.15s ease;
}
.folder-row:hover { background: rgba(38, 83, 126, 0.05); }
.folder-row input { width: 17px; height: 17px; accent-color: var(--primary); flex-shrink: 0; }
.folder-row .fname { flex: 1; font-weight: 500; font-size: 14px; word-break: break-word; min-width: 90px; }
.folder-row .maparrow { color: var(--muted); font-weight: 400; flex-shrink: 0; }
.folder-row .target-input {
    flex: 1;
    min-width: 110px;
    padding: 7px 11px;
    border: 1px solid var(--input-border);
    border-radius: 9px;
    background: #fff;
    font-size: 13px;
    color: var(--text);
    font-family: inherit;
}
.folder-row .target-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(38, 83, 126, 0.1);
}
@media (max-width: 560px) {
    .folder-row { flex-wrap: wrap; }
    .folder-row .fname { flex: 1 1 100%; }
    .folder-row .target-input { flex: 1 1 auto; }
}
.folder-row .fcount {
    font-size: 13px;
    color: var(--muted);
    background: rgba(38, 83, 126, 0.08);
    padding: 2px 10px;
    border-radius: 999px;
    flex-shrink: 0;
}
.folder-row .badge {
    font-size: 11px;
    color: #856404;
    background: rgba(255, 193, 7, 0.18);
    padding: 2px 8px;
    border-radius: 999px;
    flex-shrink: 0;
}

.progress-sub { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }
.inline-msg { margin-top: 14px; color: var(--muted); font-size: 14px; }

/* --- Bilder-Downloader --- */
.url-row { display: flex; gap: 10px; align-items: stretch; }
.url-row .form-control { flex: 1; }
.url-row .btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 520px) {
    .url-row { flex-direction: column; }
}
.hint-text { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.count-chip {
    font-size: 13px;
    color: var(--muted);
    background: rgba(38, 83, 126, 0.08);
    padding: 2px 10px;
    border-radius: 999px;
    margin-left: 6px;
    font-weight: 500;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    max-height: 460px;
    overflow-y: auto;
    padding: 2px;
}
.image-cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid var(--input-border);
    border-radius: 12px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    position: relative;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.image-cell:hover { background: rgba(38, 83, 126, 0.05); }
.image-cell > input {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    z-index: 2;
    background: #fff;
    border-radius: 4px;
}
.image-cell .thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(45deg, #eef1f4 25%, transparent 25%, transparent 75%, #eef1f4 75%) 0 0/16px 16px,
        linear-gradient(45deg, #eef1f4 25%, #fff 25%, #fff 75%, #eef1f4 75%) 8px 8px/16px 16px;
}
.image-cell .thumb img { max-width: 100%; max-height: 96px; object-fit: contain; display: block; }
.image-cell .thumb.broken { background: #f3e3e3; }
.image-cell .thumb.broken img { display: none; }
.image-cell .thumb.broken::after {
    content: "nicht ladbar";
    font-size: 11px;
    color: #a05a5a;
}
.image-cell .image-name {
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

/* --- Bild-Rahmen --- */
.border-editor {
    display: grid;
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 26px;
    align-items: start;
}
@media (max-width: 640px) {
    .border-editor { grid-template-columns: 1fr; }
}
.border-controls { display: flex; flex-direction: column; gap: 22px; }
.ctrl { display: flex; flex-direction: column; gap: 10px; }
.width-row { display: flex; align-items: center; gap: 10px; }
.width-row input[type="range"] { flex: 1; accent-color: var(--primary); }
.width-row .form-control { width: 78px; flex-shrink: 0; }
.width-row select.form-control { width: 68px; }

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--text);
    cursor: pointer;
}
.check-row input {
    margin-top: 3px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.swatches { display: flex; flex-direction: column; gap: 8px; }
.swatch {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid var(--input-border);
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.6);
    transition: border-color 0.15s ease, background 0.15s ease;
}
.swatch:hover { background: rgba(38, 83, 126, 0.05); }
.swatch input { accent-color: var(--primary); }
.swatch:has(input:checked) {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(38, 83, 126, 0.12);
}
.sw {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}
.sw-transparent {
    background:
        linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%) 0 0/10px 10px,
        linear-gradient(45deg, #ccc 25%, #fff 25%, #fff 75%, #ccc 75%) 5px 5px/10px 10px;
}
.custom-color { display: flex; gap: 10px; align-items: center; }
.custom-color input[type="color"] {
    width: 46px;
    height: 40px;
    padding: 2px;
    border: 1px solid var(--input-border);
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
}
.custom-color .form-control { flex: 1; font-family: monospace; }

.border-preview { display: flex; flex-direction: column; gap: 10px; }
.preview-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--input-border);
    background:
        linear-gradient(45deg, #e9edf1 25%, transparent 25%, transparent 75%, #e9edf1 75%) 0 0/20px 20px,
        linear-gradient(45deg, #e9edf1 25%, #fff 25%, #fff 75%, #e9edf1 75%) 10px 10px/20px 20px;
}
.preview-stage canvas {
    max-width: 100%;
    max-height: 360px;
    height: auto;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}
.out-dims { font-size: 13px; color: var(--muted); text-align: center; }

/* --- WebP -> JPG Dateiliste --- */
.conv-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 340px;
    overflow-y: auto;
    padding-right: 4px;
}
.conv-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid var(--input-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
}
.conv-thumb {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #eef1f4;
    display: flex;
    align-items: center;
    justify-content: center;
}
.conv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.conv-name { flex: 1; font-size: 14px; font-weight: 500; word-break: break-all; min-width: 0; }
.conv-size { font-size: 12px; color: var(--muted); flex-shrink: 0; }
.conv-remove {
    border: none;
    background: rgba(0, 0, 0, 0.06);
    color: var(--muted);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
}
.conv-remove:hover { background: rgba(220, 53, 69, 0.15); color: #c0392b; }

/* --- KI-Bildgenerator --- */
textarea.form-control { resize: vertical; font-family: inherit; line-height: 1.5; }
.key-status {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
}
.key-status.ok { color: #1e7e34; background: rgba(40, 167, 69, 0.14); }
.key-status.missing { color: #b02a37; background: rgba(220, 53, 69, 0.14); }
.key-box code, .hint-text code {
    background: rgba(38, 83, 126, 0.08);
    padding: 1px 6px;
    border-radius: 5px;
    font-size: 12px;
}
.btn.small { padding: 7px 14px; font-size: 13px; }

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.result-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--input-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
    text-align: center;
}
.result-img {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: #eef1f4;
}
.result-img img { width: 100%; height: 100%; object-fit: cover; }
.result-img.err { font-size: 30px; background: #f3e3e3; }
.result-card.loading .result-img { color: var(--muted); font-size: 26px; }
.result-card.loading .spinner-dot { animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }
.result-title { font-size: 13px; font-weight: 500; word-break: break-word; }
.result-err { font-size: 12px; color: #b02a37; }
.result-cost { font-size: 11px; color: var(--muted); }

.cost-estimate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 16px;
    border: 1px dashed var(--input-border);
    border-radius: 12px;
    background: rgba(38, 83, 126, 0.04);
}
.cost-estimate .ce-label { font-size: 13px; color: var(--muted); }
.cost-estimate .ce-value { font-size: 14px; font-weight: 600; color: var(--text); text-align: right; }

.cost-total {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.25);
    font-size: 14px;
    color: var(--text);
}
.cost-total .cost-note { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }

/* --- Mehrere Postfächer (Backup/Restore) --- */
#accounts { margin-top: 4px; }
.account-card {
    position: relative;
    margin-bottom: 22px;
    /* backdrop-filter + transform auf Kindern = Flackern; hier feste Flaeche */
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: none;
}
.account-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--input-border);
}
.account-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    word-break: break-all;
}
.account-head .remove-account { color: #b02a37; }

/* Hover nur auf dem Button selbst, nicht die ganze Karte */
.account-card .btn:hover,
.tool-panel .btn:hover {
    transform: none;
    box-shadow: 0 3px 10px rgba(38, 83, 126, 0.18);
}
.account-card .btn:hover::before,
.tool-panel .btn:hover::before {
    display: none;
}
.account-card .btn.secondary:hover,
.tool-panel .btn.secondary:hover {
    background: #fff;
    border-color: var(--primary);
}
.account-card .link-btn:hover {
    background: rgba(38, 83, 126, 0.08);
}

/* Dropzone: nur Rand betonen, Hintergrund bleibt stabil */
.account-card .dropzone {
    background: rgba(255, 255, 255, 0.5);
}
.account-card .dropzone:hover,
.account-card .dropzone.dragover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.65);
}

.account-actions {
    margin: 28px 0 40px;
    text-align: center;
}
.account-actions .btn { width: auto; }

/* --- QR-Code Generator --- */
.qr-editor-layout {
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    gap: 28px;
    align-items: start;
}
@media (max-width: 720px) {
    .qr-editor-layout { grid-template-columns: 1fr; }
}
.qr-controls { display: flex; flex-direction: column; gap: 4px; }
.qr-controls .hint-text { margin-top: 8px; margin-bottom: 0; line-height: 1.45; }

.style-picks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.style-pick { cursor: pointer; }
.style-pick input { position: absolute; opacity: 0; pointer-events: none; }
.style-pick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 12px;
    border: 2px solid var(--input-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.6);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.style-pick:hover .style-pick-card { background: rgba(38, 83, 126, 0.04); }
.style-pick:has(input:checked) .style-pick-card {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(38, 83, 126, 0.12);
    background: rgba(38, 83, 126, 0.05);
}
.style-pick-label { font-size: 14px; font-weight: 600; color: var(--text); }
.style-pick-icon {
    display: grid;
    grid-template-columns: repeat(3, 10px);
    gap: 3px;
}
.style-pick-icon span {
    width: 10px;
    height: 10px;
    background: var(--primary);
}
.style-pick-icon--square span { border-radius: 1px; }
.style-pick-icon--rounded span { border-radius: 3px; }
.style-pick-icon--outer-round {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 4px;
}
.style-pick-grid {
    display: grid;
    grid-template-columns: repeat(3, 8px);
    gap: 2px;
}
.style-pick-grid span {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 0;
}

.format-picks {
    display: flex;
    gap: 8px;
}
.format-pick { flex: 1; cursor: pointer; }
.format-pick input { position: absolute; opacity: 0; pointer-events: none; }
.format-pick span {
    display: block;
    text-align: center;
    padding: 12px 16px;
    border: 2px solid var(--input-border);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.6);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.format-pick:hover span { background: rgba(38, 83, 126, 0.04); }
.format-pick:has(input:checked) span {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 0 3px rgba(38, 83, 126, 0.12);
    background: rgba(38, 83, 126, 0.05);
}

.qr-preview-wrap { display: flex; flex-direction: column; gap: 10px; }
.qr-preview-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--input-border);
    background:
        linear-gradient(45deg, #e9edf1 25%, transparent 25%, transparent 75%, #e9edf1 75%) 0 0/20px 20px,
        linear-gradient(45deg, #e9edf1 25%, #fff 25%, #fff 75%, #e9edf1 75%) 10px 10px/20px 20px;
}
.qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    text-align: center;
}
.qr-placeholder svg { width: 56px; height: 56px; opacity: 0.45; }
.qr-placeholder p { font-size: 14px; }
.qr-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: transparent;
    border-radius: 16px;
}
.qr-preview canvas {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

@media (max-width: 600px) {
    .bubble { display: none; }
    .container { padding: 28px 16px 60px; }
    .topbar { padding: 12px 16px; }
    .tool-panel { padding: 22px; }
}

/* ---------- Design Studio ---------- */
.container-wide { max-width: 1400px; }

.ds-panel { padding: 18px; }
.ds-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(38, 83, 126, 0.12);
}
.ds-toolbar-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.ds-toolbar-right { margin-left: auto; }
.ds-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    user-select: none;
}
.ds-check-inline { white-space: nowrap; }
.ds-inline-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
}
.ds-inline-label .form-control { width: 78px; }
.ds-num-sm { width: 64px !important; }
.ds-zoom {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ds-zoom #zoom-label {
    min-width: 48px;
    text-align: center;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    color: var(--muted);
}

.ds-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 260px;
    gap: 16px;
    align-items: start;
}
.ds-sidebar,
.ds-props {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(38, 83, 126, 0.12);
    border-radius: 16px;
    padding: 14px;
    min-height: 320px;
}
.ds-section + .ds-section { margin-top: 18px; }
.ds-sidebar .ctrl,
.ds-props .ctrl { margin-bottom: 12px; }
.ds-section .section-head,
.ds-props .section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}
.ds-section .section-head h3,
.ds-props .section-head h3 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.2px;
}
.ds-size-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.ds-size-row .form-control { width: 84px; }
.ds-size-row .ds-inline-label {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}
.ds-color-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.ds-color-row input[type="color"] {
    width: 40px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--input-border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}
.ds-color-row .form-control {
    flex: 1;
    min-width: 90px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ds-layers {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 360px;
    overflow: auto;
}
.ds-layer {
    display: grid;
    grid-template-columns: 30px 34px 18px 1fr 26px 26px;
    gap: 2px;
    align-items: center;
    padding: 6px 4px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid transparent;
}
.ds-layer:hover { background: rgba(38, 83, 126, 0.06); }
.ds-layer.active {
    background: rgba(38, 83, 126, 0.1);
    border-color: rgba(38, 83, 126, 0.22);
}
.ds-layer.hidden-layer { opacity: 0.55; }
.ds-layer-name {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ds-layer-type {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
}
.ds-layer-vis,
.ds-layer-lock,
.ds-layer-move {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    padding: 4px;
    border-radius: 6px;
    color: var(--muted);
}
.ds-layer-vis:hover,
.ds-layer-lock:hover,
.ds-layer-move:hover {
    background: rgba(38, 83, 126, 0.1);
    color: var(--primary);
}

.ds-stage-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}
.ds-stage {
    background:
        linear-gradient(45deg, #eceff3 25%, transparent 25%),
        linear-gradient(-45deg, #eceff3 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #eceff3 75%),
        linear-gradient(-45deg, transparent 75%, #eceff3 75%);
    background-size: 24px 24px;
    background-position: 0 0, 0 12px, 12px -12px, -12px 0;
    background-color: #f7f8fa;
    border: 1px solid rgba(38, 83, 126, 0.14);
    border-radius: 16px;
    overflow: auto;
    max-height: min(72vh, 860px);
    min-height: 360px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
}
.ds-stage.dragover {
    outline: 2px dashed var(--primary);
    outline-offset: -6px;
}
.ds-stage canvas {
    display: block;
    background: #fff;
    box-shadow: 0 12px 36px rgba(38, 83, 126, 0.18);
    cursor: default;
    max-width: none;
}
.ds-stage canvas:focus { outline: 2px solid rgba(38, 83, 126, 0.35); outline-offset: 3px; }
.ds-hint-keys { font-size: 12px; }

.ig-studio .ds-stage {
    max-height: min(78vh, 920px);
    overflow: auto;
}
.ig-format-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 10px;
}
.ig-format-btn {
    text-align: left;
    border: 1.5px solid rgba(38, 83, 126, 0.14);
    background: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
    color: inherit;
    font: inherit;
}
.ig-format-btn strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
}
.ig-format-btn span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--muted);
}
.ig-format-btn em {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    color: #405fac;
}
.ig-bg-presets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.ig-bg-swatch {
    position: relative;
    height: 56px;
    border-radius: 12px;
    border: 1.5px solid rgba(38, 83, 126, 0.18);
    cursor: pointer;
    overflow: hidden;
    padding: 0;
}
.ig-bg-swatch span {
    position: absolute;
    left: 8px;
    bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
.ig-bg-left {
    background: linear-gradient(115deg, #254075 0%, #172a50 42%, #0a1528 100%);
}
.ig-bg-right {
    background: linear-gradient(245deg, #254075 0%, #172a50 42%, #0a1528 100%);
}
.ig-bg-swatch.is-active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(38, 83, 126, 0.12);
}
.ig-slides {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(38, 83, 126, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.55);
}
.ig-slides-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline;
    margin-bottom: 10px;
}
.ig-slides-head strong { font-size: 14px; }
.ig-slides-head span { font-size: 12px; color: var(--muted); }
.ig-slide-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.ig-slide-btn {
    min-width: 40px;
    min-height: 40px;
    border-radius: 10px;
    border: 1.5px solid rgba(38, 83, 126, 0.16);
    background: #fff;
    font-weight: 700;
    cursor: pointer;
}
.ig-slide-btn.is-active {
    border-color: var(--primary);
    background: rgba(38, 83, 126, 0.1);
    color: var(--primary);
}
.ig-slide-btn.navy-left {
    background: linear-gradient(115deg, #254075 0%, #0a1528 100%);
    color: #fff;
    border-color: transparent;
}
.ig-slide-btn.navy-right {
    background: linear-gradient(245deg, #254075 0%, #0a1528 100%);
    color: #fff;
    border-color: transparent;
}
.ig-slide-btn.navy-left.is-active,
.ig-slide-btn.navy-right.is-active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary);
    color: #fff;
}
.ig-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}
.ds-export-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-self: flex-end;
}
.ds-export-btns .btn { min-width: 180px; }

@media (max-width: 1100px) {
    .ig-studio .ds-layout { grid-template-columns: 1fr; }
}

.ds-prop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}
.ds-prop-grid .ds-inline-label {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}
.ds-prop-grid .form-control { width: 100%; }
.ds-align-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ds-align-row .btn.small { padding: 6px 10px; }

/* ---------- E-Mail senden ---------- */
.ms-panel { padding: 20px; }
.ms-help {
    margin-bottom: 20px;
    border: 1px solid rgba(38, 83, 126, 0.14);
    border-radius: 14px;
    background: rgba(38, 83, 126, 0.04);
    padding: 12px 16px;
}
.ms-help summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
}
.ms-help-body { margin-top: 10px; }
.ms-help-body ol {
    margin: 0 0 8px 18px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.55;
}
.ms-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 18px;
    align-items: start;
}
.ms-section {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(38, 83, 126, 0.1);
}
.ms-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}
.ms-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.ms-grid-2 .ctrl { margin: 0; }
.ms-profiles {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(38, 83, 126, 0.04);
    border: 1px solid rgba(38, 83, 126, 0.1);
}
.ms-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.ms-profile-actions .form-control { flex: 1; min-width: 160px; }
.ms-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ms-tag {
    border: 1px solid rgba(38, 83, 126, 0.2);
    background: #fff;
    color: var(--primary);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    cursor: pointer;
}
.ms-tag:hover {
    background: rgba(38, 83, 126, 0.08);
}
.ms-html {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
    line-height: 1.45;
    min-height: 220px;
}
.ms-drop { padding: 22px; }
.ms-drop h3 { font-size: 16px; }
.ms-table-scroll {
    max-height: 220px;
    overflow: auto;
    border: 1px solid rgba(38, 83, 126, 0.12);
    border-radius: 12px;
}
.ms-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.ms-table th,
.ms-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(38, 83, 126, 0.08);
    text-align: left;
    white-space: nowrap;
}
.ms-table th {
    position: sticky;
    top: 0;
    background: #f3f6f9;
    font-weight: 700;
}
.ms-actions { margin-top: 8px; }
.ms-test-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
.ms-test-row .form-control { flex: 1; }
.ms-preview-wrap {
    position: sticky;
    /* Abstand unter sticky Topbar (~62–72px), damit nichts in die Navbar rutscht */
    top: 80px;
    align-self: start;
    max-height: calc(100vh - 96px);
    overflow: auto;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(38, 83, 126, 0.12);
    border-radius: 16px;
    padding: 14px;
}
.ms-preview-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 13px;
}
.ms-preview-meta span {
    color: var(--muted);
    display: inline-block;
    min-width: 58px;
}
.ms-preview-frame-wrap {
    background: #fff;
    border: 1px solid rgba(38, 83, 126, 0.14);
    border-radius: 12px;
    overflow: hidden;
    min-height: 420px;
    box-shadow: 0 8px 24px rgba(38, 83, 126, 0.08);
}
.ms-preview-frame-wrap iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
    background: #fff;
}
@media (max-width: 980px) {
    .ms-layout { grid-template-columns: 1fr; }
    .ms-preview-wrap { position: static; }
    .ms-grid-2 { grid-template-columns: 1fr; }
    .ms-test-row { flex-direction: column; }
}

/* ---------- Store-Screenshots ---------- */
.ss-platforms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.ss-platform { cursor: pointer; display: block; }
.ss-platform input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.ss-platform-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 14px;
    border-radius: 16px;
    border: 1.5px solid rgba(38, 83, 126, 0.16);
    background: rgba(255, 255, 255, 0.65);
    min-height: 128px;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.ss-platform:hover .ss-platform-card {
    background: rgba(38, 83, 126, 0.04);
}
.ss-platform:has(input:checked) .ss-platform-card {
    border-color: var(--primary);
    background: rgba(38, 83, 126, 0.08);
    box-shadow: 0 0 0 3px rgba(38, 83, 126, 0.12);
}
.ss-platform-card strong {
    font-size: 16px;
    letter-spacing: -0.2px;
}
.ss-platform-card small {
    color: var(--muted);
    font-size: 13px;
}
.ss-platform-card em {
    margin-top: auto;
    font-style: normal;
    font-size: 12px;
    line-height: 1.35;
    color: var(--primary);
    font-weight: 600;
}
@media (max-width: 720px) {
    .ss-platforms { grid-template-columns: 1fr; }
}

/* ---------- KI-Stempel (EU) ---------- */
.stamp-picks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.stamp-pick { cursor: pointer; display: block; }
.stamp-pick input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.stamp-pick-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 14px;
    border-radius: 16px;
    border: 1.5px solid rgba(38, 83, 126, 0.16);
    background: rgba(255, 255, 255, 0.65);
    min-height: 140px;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.stamp-pick:hover .stamp-pick-card {
    background: rgba(38, 83, 126, 0.04);
}
.stamp-pick:has(input:checked) .stamp-pick-card {
    border-color: var(--primary);
    background: rgba(38, 83, 126, 0.08);
    box-shadow: 0 0 0 3px rgba(38, 83, 126, 0.12);
}
.stamp-pick-card img {
    max-width: 100%;
    height: auto;
    max-height: 52px;
    object-fit: contain;
    display: block;
}
.stamp-pick-card strong {
    font-size: 15px;
    letter-spacing: -0.2px;
}
.stamp-pick-card small {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}
.conv-item.stamp-file { cursor: pointer; }
.conv-item.stamp-file .conv-meta { flex: 1; min-width: 0; }
.conv-item.is-active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(38, 83, 126, 0.12);
    background: rgba(38, 83, 126, 0.04);
}
@media (max-width: 640px) {
    .stamp-picks { grid-template-columns: 1fr; }
}

/* ---------- Kreditkarte gestalten ---------- */
.kk-format-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(38, 83, 126, 0.1);
    color: var(--primary);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.2px;
    margin: 0 0 8px;
}
.kk-stage .pe-stage-scroll.dragover {
    outline: 2px dashed var(--primary);
    outline-offset: -8px;
}
.kk-canvas-wrap {
    border-radius: 6px;
    overflow: hidden;
}

/* ---------- PDF bearbeiten ---------- */
.pe-layout { min-height: 560px; }
.pe-page-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}
.pe-page-nav #page-label {
    font-size: 13px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.pe-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.pe-thumb {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid rgba(38, 83, 126, 0.18);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.pe-thumb:hover { background: rgba(38, 83, 126, 0.06); }
.pe-thumb.is-active {
    border-color: var(--primary);
    background: rgba(38, 83, 126, 0.12);
    color: var(--primary);
}
.pe-stage {
    min-height: 520px;
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.pe-stage-scroll {
    flex: 1;
    overflow: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    min-height: 520px;
    background:
        linear-gradient(45deg, #e9edf1 25%, transparent 25%, transparent 75%, #e9edf1 75%) 0 0/18px 18px,
        linear-gradient(45deg, #e9edf1 25%, #f7f9fb 25%, #f7f9fb 75%, #e9edf1 75%) 9px 9px/18px 18px;
}
.pe-canvas-wrap {
    position: relative;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
    background: #fff;
    flex-shrink: 0;
}
.pe-canvas-wrap canvas {
    display: block;
    max-width: none !important;
    max-height: none !important;
    box-shadow: none !important;
}
.pe-canvas-wrap #pdf-canvas {
    background: #fff;
}
/* Overlay muss transparent sein – sonst verdeckt weißer Canvas-Hintergrund die PDF-Vorschau */
.pe-canvas-wrap #overlay-canvas {
    position: absolute;
    left: 0;
    top: 0;
    cursor: default;
    touch-action: none;
    background: transparent !important;
}
.pe-geom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.pe-geom label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--muted);
}
.pe-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(38, 83, 126, 0.08);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}
.pe-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.pe-quick-actions .btn { width: 100%; }
#prop-lock-wrap kbd {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 4px;
    border: 1px solid rgba(38, 83, 126, 0.2);
    background: rgba(38, 83, 126, 0.06);
    font-size: 11px;
    font-family: inherit;
}
.pe-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(15, 28, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pe-modal-card {
    width: min(440px, 100%);
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}
.pe-modal-card h3 {
    margin: 0 0 14px;
    font-size: 18px;
}
.pe-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}
@media (max-width: 1100px) {
    .pe-stage,
    .pe-stage-scroll { min-height: 420px; }
}

.ds-project {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(38, 83, 126, 0.12);
}
.ds-project-copy { flex: 1; min-width: 220px; }
.ds-project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ds-project-actions .btn { min-width: 0; }

.ds-export {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 18px;
    align-items: flex-end;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(38, 83, 126, 0.12);
}
.ds-export-formats { flex: 1 1 220px; min-width: 200px; }
.ds-export-quality { flex: 1 1 280px; min-width: 240px; }
.ds-export-quality .ctrl { margin-bottom: 12px; }
.ds-export-quality .ctrl:last-child { margin-bottom: 0; }
.ds-export-name { width: 200px; }
.ds-export .btn { min-width: 180px; align-self: flex-end; }
.ds-export-btns { align-self: flex-end; }

@media (max-width: 1100px) {
    .ds-layout {
        grid-template-columns: 1fr;
    }
    .ds-sidebar,
    .ds-props { min-height: 0; }
    .ds-layers { max-height: 220px; }
}
@media (max-width: 600px) {
    .ds-panel { padding: 14px; }
    .ds-export-name { width: 100%; }
    .ds-export .btn { width: 100%; }
}

/* ---------- Kaltakquise ---------- */
.ka-dropzone {
    text-align: center;
    padding: 28px 18px;
}
.ka-upload-btn {
    margin-top: 14px;
    min-height: 48px;
    font-size: 16px;
    width: min(100%, 280px);
}
.ka-resume-box {
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(38, 83, 126, 0.14);
    background: rgba(38, 83, 126, 0.05);
}
.ka-format-details {
    margin-top: 16px;
    border-radius: 14px;
    border: 1px solid rgba(38, 83, 126, 0.14);
    background: rgba(255, 255, 255, 0.55);
    overflow: hidden;
}
.ka-format-details > summary {
    cursor: pointer;
    padding: 14px 16px;
    font-weight: 700;
    font-size: 15px;
    list-style: none;
}
.ka-format-details > summary::-webkit-details-marker { display: none; }
.ka-format-details[open] > summary {
    border-bottom: 1px solid rgba(38, 83, 126, 0.1);
}
.ka-format-card { padding: 14px 16px 16px; }
.ka-format-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(38, 83, 126, 0.12);
    -webkit-overflow-scrolling: touch;
}
.ka-format-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    min-width: 520px;
}
.ka-format-table th,
.ka-format-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(38, 83, 126, 0.08);
    white-space: nowrap;
}
.ka-format-table th {
    background: rgba(38, 83, 126, 0.08);
    color: var(--primary);
    font-weight: 700;
}
.ka-session-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}
.ka-session-bar strong { display: block; margin-bottom: 2px; }
.ka-muted { color: var(--muted); font-size: 13px; }
.ka-session-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ka-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 14px;
}
.ka-stat-cell {
    border-radius: 12px;
    padding: 10px 8px;
    background: rgba(38, 83, 126, 0.06);
    text-align: center;
}
.ka-stat-cell strong {
    display: block;
    font-size: 22px;
    line-height: 1.1;
    margin-bottom: 2px;
}
.ka-stat-cell span {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
}
.ka-stat-cell.is-yes { background: rgba(40, 167, 69, 0.12); }
.ka-stat-cell.is-yes strong { color: #1e7e34; }
.ka-stat-cell.is-no { background: rgba(220, 53, 69, 0.1); }
.ka-stat-cell.is-no strong { color: #b02a37; }
.ka-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
    gap: 16px;
    margin-top: 16px;
    align-items: start;
}
.ka-card { padding-bottom: 22px; }
.ka-card h2 {
    margin: 10px 0 8px;
    font-size: clamp(26px, 4.5vw, 34px);
    letter-spacing: -0.4px;
    line-height: 1.15;
    word-break: break-word;
}
.ka-card-top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ka-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(38, 83, 126, 0.12);
    color: var(--primary);
}
.ka-chip-soft {
    background: rgba(0, 0, 0, 0.05);
    color: var(--muted);
    font-weight: 600;
}
.ka-phone {
    display: inline-block;
    font-size: clamp(28px, 6vw, 40px);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary);
    text-decoration: none;
    margin: 4px 0 14px;
    min-height: 44px;
}
.ka-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}
.ka-detail {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
    font-size: 14px;
    line-height: 1.4;
}
.ka-label {
    color: var(--muted);
    font-weight: 600;
    font-size: 13px;
}
.ka-call-row {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 10px;
}
.ka-call-btn {
    text-align: center;
    font-size: 18px;
    padding: 16px 18px;
    text-decoration: none;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ka-call-btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}
.ka-skip-btn {
    width: 100%;
    min-height: 52px;
}
.ka-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.ka-result {
    border: 1.5px solid rgba(38, 83, 126, 0.16);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 14px 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.ka-result:active { transform: scale(0.98); }
.ka-result.is-active {
    border-color: var(--primary);
    background: rgba(38, 83, 126, 0.12);
    color: var(--primary);
    box-shadow: 0 0 0 3px rgba(38, 83, 126, 0.12);
}
.ka-result-yes { border-color: rgba(40, 167, 69, 0.4) !important; }
.ka-result-yes.is-active,
.ka-result-yes:hover {
    background: rgba(40, 167, 69, 0.14) !important;
    border-color: #28a745 !important;
    color: #1e7e34 !important;
}
.ka-result-no { border-color: rgba(220, 53, 69, 0.3) !important; }
.ka-result-no.is-active,
.ka-result-no:hover {
    background: rgba(220, 53, 69, 0.1) !important;
    border-color: #dc3545 !important;
    color: #b02a37 !important;
}
.ka-side-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 10px;
}
.ka-side-tab {
    border: 1px solid rgba(38, 83, 126, 0.14);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    padding: 10px 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    min-height: 44px;
}
.ka-side-tab span {
    display: inline-block;
    margin-left: 4px;
    color: var(--muted);
}
.ka-side-tab.is-active {
    border-color: var(--primary);
    background: rgba(38, 83, 126, 0.1);
    color: var(--primary);
}
.ka-queue {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 320px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.ka-queue-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
    text-align: left;
    border: 1px solid rgba(38, 83, 126, 0.12);
    background: rgba(255, 255, 255, 0.65);
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    min-height: 48px;
}
.ka-queue-item strong { font-size: 13px; font-weight: 700; }
.ka-queue-item span { font-size: 12px; color: var(--muted); }
.ka-queue-item.is-current {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(38, 83, 126, 0.12);
}
.ka-sticky-call {
    display: none;
}
.ka-stats-card { width: min(520px, 100%); max-height: min(90vh, 720px); overflow: auto; }
.ka-stats-big {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 14px 0;
}
.ka-big-item {
    border-radius: 14px;
    padding: 14px 12px;
    background: rgba(38, 83, 126, 0.06);
}
.ka-big-item strong {
    display: block;
    font-size: 28px;
    line-height: 1;
    margin-bottom: 6px;
}
.ka-big-item span {
    display: block;
    font-size: 13px;
    font-weight: 700;
}
.ka-big-item em {
    display: block;
    margin-top: 4px;
    font-style: normal;
    font-size: 12px;
    color: var(--muted);
}
.ka-stats-bars { display: flex; flex-direction: column; gap: 8px; }
.ka-bar-row {
    display: grid;
    grid-template-columns: 110px 1fr 36px;
    gap: 8px;
    align-items: center;
}
.ka-bar-label { font-size: 12px; font-weight: 600; color: var(--muted); }
.ka-bar-track {
    height: 10px;
    border-radius: 999px;
    background: rgba(38, 83, 126, 0.08);
    overflow: hidden;
}
.ka-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--primary);
}
.ka-bar-fill.yes { background: #28a745; }
.ka-bar-fill.no { background: #dc3545; }
.ka-bar-num { font-size: 13px; font-weight: 700; text-align: right; }
.ka-stats-actions { margin-top: 16px; }

@media (max-width: 900px) {
    .ka-page .container-wide,
    .ka-page.container-wide { padding-left: 12px; padding-right: 12px; }
    .ka-layout { grid-template-columns: 1fr; }
    .ka-stat-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .ka-stat-cell { padding: 8px 4px; }
    .ka-stat-cell strong { font-size: 18px; }
    .ka-stat-cell span { font-size: 10px; }
    .ka-detail { grid-template-columns: 1fr; gap: 2px; }
    .ka-call-row { grid-template-columns: 1fr; }
    .ka-results { grid-template-columns: repeat(2, 1fr); }
    .ka-sidebar { order: 2; }
    .ka-card { order: 1; }
    .ka-session-actions .btn { flex: 1; min-width: 0; }
    .ka-sticky-call {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
        background: linear-gradient(to top, rgba(247, 249, 251, 0.98) 70%, rgba(247, 249, 251, 0));
        box-shadow: 0 -8px 24px rgba(15, 35, 55, 0.06);
    }
    .ka-sticky-call .ka-call-btn { width: 100%; }
    .ka-card .ka-call-row { display: none; }
    .ka-bar-row { grid-template-columns: 90px 1fr 28px; }
    .ka-stats-big { grid-template-columns: 1fr; }
    #session-panel { padding-bottom: 88px; }
    #done-panel { padding-bottom: 24px; }
}

@media (min-width: 901px) {
    .ka-results { grid-template-columns: repeat(3, 1fr); }
}

/* --- Reel-Skript-Generator --- */
.vs-keys { display: flex; flex-direction: column; gap: 10px; }
.vs-key-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.vs-key-row .hint-text { display: inline; margin: 0; }
.vs-details { margin-top: 14px; font-size: 14px; }
.vs-details summary,
.vs-card details summary { cursor: pointer; color: var(--primary); font-weight: 600; }
.vs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.vs-checks { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }

.vs-results { display: flex; flex-direction: column; gap: 18px; }
.vs-card {
    padding: 18px 20px;
    border: 1px solid var(--input-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
}
.vs-card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vs-num { font-weight: 700; color: var(--primary); }
.vs-badge {
    font-size: 12px;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(38, 83, 126, 0.08);
    color: var(--muted);
}
.vs-link {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: var(--muted);
}
.vs-status { font-size: 13px; font-weight: 600; color: var(--muted); }
.vs-status.run { color: var(--primary); animation: pulse 1.4s ease-in-out infinite; }
.vs-status.ok { color: var(--success); }
.vs-status.warn { color: #b7791f; }
.vs-status.err { color: var(--error); }
.vs-body:empty { display: none; }
.vs-body { margin-top: 12px; }
.vs-note {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.35);
}
.vs-sec { margin-top: 16px; }
.vs-sec h4 {
    margin-bottom: 6px;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}
.vs-sec.hook {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(38, 83, 126, 0.06);
    border-left: 4px solid var(--primary);
}
.vs-sec ol { padding-left: 32px; display: flex; flex-direction: column; gap: 5px; font-size: 15px; line-height: 1.5; }
.vs-sec li::marker { color: var(--muted); font-size: 12px; }
.vs-card details { margin-top: 14px; font-size: 13px; }
.vs-card details p { margin-top: 8px; white-space: pre-wrap; line-height: 1.55; color: var(--text); }
.vs-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.vs-fallback { margin-top: 12px; }
.vs-drop {
    display: block;
    padding: 18px;
    border: 2px dashed var(--input-border);
    border-radius: 14px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}
.vs-drop:hover, .vs-drop.dragover { border-color: var(--primary); background: rgba(38, 83, 126, 0.05); }
.vs-paste textarea { margin-top: 8px; }
.vs-sig-box {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px dashed var(--input-border);
    border-radius: 12px;
    background: rgba(38, 83, 126, 0.04);
}
.vs-sig-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.vs-sig-row input { flex: 2 1 320px; }
.vs-sig-row select { flex: 1 1 220px; }
.vs-sig-row .form-control:disabled { opacity: 0.5; }
.vs-sec li.vs-sig { font-weight: 600; color: var(--primary); }

/* --- Reel-Schnitt-Tool --- */
.vs-howto { margin: 16px 0 12px 22px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.vc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.vc-chip {
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(38, 83, 126, 0.08);
    color: var(--text);
}
.vc-chip small { color: var(--muted); margin-left: 4px; }
.vc-script-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 14px; }
.vc-script-row select { width: auto; min-width: 240px; flex: 0 1 360px; }
.vc-progress { margin-top: 12px; }
.vc-report { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.vc-report strong { color: var(--text); }
.vc-preview {
    display: block;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9 / 16;
    margin-top: 14px;
    border-radius: 14px;
    background: #000;
}
.vc-outro-box { margin-top: 18px; }
.vc-card-lines { display: flex; flex-direction: column; gap: 8px; }
.vc-avatar-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.vc-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.vc-avatar-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #7A1F2B;
    color: #F6F1E7;
    font-weight: 700;
}
.vc-avatar-empty[hidden], .vc-avatar[hidden] { display: none; }
