/* Character Chronology – bewusst neutral, damit es leicht an euer Küstendesign angepasst werden kann. */
.cc-page,
.cc-profile-card {
    --cc-paper: rgba(255,255,255,.035);
    --cc-line: rgba(255,255,255,.12);
    --cc-muted: rgba(255,255,255,.62);
    --cc-text: inherit;
    box-sizing: border-box;
}

.cc-page { max-width: 1040px; margin: 28px auto 60px; padding: 0 18px; }
.cc-hero, .cc-profile-head { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.cc-hero { padding: 28px 0 22px; border-bottom: 1px solid var(--cc-line); }
.cc-hero h1 { margin: 3px 0 0; font-size: 30px; font-weight: 500; }
.cc-kicker { text-transform: uppercase; letter-spacing: .17em; font-size: 10px; opacity: .6; }
.cc-avatar { width:70px; height:70px; object-fit:cover; border-radius:50%; margin-right:14px; }
.cc-character-switch { margin-left:auto; }
.cc-character-switch label { display:grid; gap:5px; font-size:11px; opacity:.82; }
.cc-character-switch select { min-width:190px; }

.cc-controls { display:flex; justify-content:flex-end; gap:8px; margin:18px 0; }
.cc-primary, .cc-secondary, .cc-link-button {
    display:inline-flex; align-items:center; justify-content:center; min-height:34px; padding:0 13px;
    border:1px solid var(--cc-line); text-decoration:none; cursor:pointer; font:inherit;
}
.cc-primary { font-weight:700; }
.cc-secondary, .cc-link-button { background:transparent; }

.cc-timeline, .cc-profile-list { position:relative; }
.cc-entry { position:relative; padding: 20px 10px 22px 58px; border-bottom:1px solid var(--cc-line); }
.cc-entry:last-child { border-bottom:0; }
.cc-entry:before { content:""; position:absolute; left:24px; top:52px; bottom:-1px; width:1px; background:var(--cc-line); }
.cc-entry:last-child:before { display:none; }
.cc-time-row { display:flex; align-items:center; gap:10px; min-height:32px; position:relative; }
.cc-category-icon { width:50px; height:50px; object-fit:contain; position:absolute; left:-63px; top:-7px; }
.cc-time { margin:0; font-size:17px; font-weight:700; letter-spacing:.02em; }
.cc-event { margin-top:7px; line-height:1.65; }
.cc-scene { display:inline-block; margin-top:8px; font-size:11px; text-decoration:none; opacity:.72; }
.cc-scene:hover { opacity:1; }
.cc-secret { margin-left:auto; font-size:10px; text-transform:uppercase; letter-spacing:.08em; opacity:.62; }
.cc-shared { margin-top:7px; font-size:10px; opacity:.62; }
.cc-shared a { text-decoration:none; }
.cc-entry-tools { margin-left:auto; display:flex; gap:5px; align-items:center; }
.cc-entry-tools form { margin:0; }
.cc-tool { width:27px; height:27px; display:grid; place-items:center; border:1px solid var(--cc-line); background:transparent; color:inherit; text-decoration:none; cursor:pointer; }
.cc-delete { font:inherit; }

.cc-profile-card { margin:22px 0; padding:18px 22px; border:1px solid var(--cc-line); background:var(--cc-paper); }
.cc-profile-title { margin-top:2px; font-size:18px; font-weight:700; }
.cc-entry-profile { padding-top:14px; padding-bottom:15px; }
.cc-entry-profile .cc-category-icon { width:30px; height:30px; left:-45px; top:0; }
.cc-entry-profile .cc-time { font-size:14px; }
.cc-entry-profile .cc-event { font-size:12px; }

.cc-form-card { margin:20px 0 28px; padding:22px; border:1px solid var(--cc-line); background:var(--cc-paper); }
.cc-form-card h2 { margin-top:0; }
.cc-form-card form { display:grid; gap:14px; }
.cc-form-card label, .cc-form-card fieldset { display:grid; gap:6px; }
.cc-form-card label > span, .cc-radio span { font-size:10px; opacity:.58; font-weight:400; }
.cc-form-card input[type=text], .cc-form-card input[type=url], .cc-form-card input[type=number], .cc-form-card textarea, .cc-form-card select, .cc-character-switch select {
    box-sizing:border-box; width:100%; padding:9px 10px; border:1px solid var(--cc-line); background:transparent; color:inherit; font:inherit;
}
.cc-form-card fieldset { margin:0; padding:12px; border:1px solid var(--cc-line); }
.cc-radio { grid-template-columns:auto 1fr; align-items:start; }
.cc-radio span { grid-column:2; }
.cc-form-actions { display:flex; gap:8px; }
.cc-form-actions button { background:transparent; color:inherit; }
.cc-empty { padding:16px 0; opacity:.58; }

@media (max-width:700px) {
    .cc-hero, .cc-profile-head { align-items:flex-start; flex-direction:column; }
    .cc-character-switch { margin-left:0; width:100%; }
    .cc-entry { padding-left:50px; }
    .cc-category-icon { left:-42px; width:32px; height:32px; }
}

/* 0.1.2: controls directly inside the profile tab */
.cc-profile-controls {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.cc-character-select {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 220px;
}

.cc-character-select > span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.cc-character-select select {
    min-width: 220px;
    padding: 9px 11px;
}

.cc-profile-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}


/* 0.1.3: ruhige Werkzeugzeile im Profil – bewusst keine zweite Navigation */
.cc-profile-card {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.cc-profile-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 28px;
    padding: 0 0 10px;
    border-bottom: 1px solid rgba(64,77,101,.35);
    flex-wrap: wrap;
}

.cc-character-select {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.cc-character-select > span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
}

.cc-character-select select {
    width: auto;
    min-width: 155px;
    padding: 4px 24px 4px 7px;
    border: 0;
    border-bottom: 1px solid rgba(64,77,101,.45);
    border-radius: 0;
    background: transparent;
    font: inherit;
    color: inherit;
}

.cc-profile-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.cc-profile-actions .cc-primary,
.cc-profile-actions .cc-secondary {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-decoration: none;
}

.cc-profile-actions .cc-primary:hover,
.cc-profile-actions .cc-secondary:hover {
    text-decoration: underline;
}

.cc-profile-list .cc-empty {
    padding: 12px 0 24px;
}

@media (max-width:700px) {
    .cc-profile-controls { align-items: flex-start; }
    .cc-character-select { width: 100%; }
    .cc-character-select select { flex: 1; min-width: 0; }
}

/* 0.1.4: ruhiger Profil-Toolbar + klar gestaltete Eingabeseite */

/* Im Profil: Aktionen wirklich mittig, nur das normale Select rechts. */
.cc-profile-controls {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin: 0 0 28px;
    padding: 4px 0 12px;
    border-bottom: 0;
}

.cc-profile-actions {
    grid-column: 2;
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.cc-profile-actions .cc-primary,
.cc-profile-actions .cc-secondary {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-decoration: none;
}

.cc-action-icon {
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    font-weight: 400;
    transform: translateY(-1px);
}

.cc-pencil { font-size: 15px; }

.cc-character-select {
    grid-column: 3;
    justify-self: end;
    display: block;
    min-width: 0;
}

.cc-character-select > span { display: none; }

.cc-character-select select {
    width: auto;
    min-width: 155px;
    max-width: 230px;
    padding: 7px 30px 7px 10px;
    border: 1px solid rgba(64,77,101,.55);
    border-radius: 2px;
    background: #fff;
    color: #27354a;
    font: inherit;
    cursor: pointer;
}

/* Vollansicht: Avatar, Name und Charakterwechsel als ein zusammengehöriger Kopf. */
.cc-page {
    max-width: 1040px;
    margin: 28px auto 60px;
    padding: 0 18px;
}

.cc-hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 22px 24px;
    border: 1px solid #b9c8d2;
    border-radius: 2px;
    background: #e6eff4;
}

.cc-hero > div:not(.cc-character-switch) { min-width: 0; }
.cc-hero h1 { margin: 3px 0 0; }
.cc-hero .cc-character-switch { margin-left: auto; }
.cc-hero .cc-character-switch label {
    display: grid;
    gap: 6px;
    font-size: 11px;
    color: #39465a;
}
.cc-hero .cc-character-switch select {
    width: 210px;
    padding: 8px 30px 8px 10px;
    border: 1px solid #8799a8;
    border-radius: 2px;
    background: #fff;
    color: #27354a;
}

/* Aktionen der Vollansicht nicht an den rechten Rand quetschen. */
.cc-page > .cc-controls {
    justify-content: center;
    gap: 28px;
    margin: 20px 0 8px;
}
.cc-page > .cc-controls .cc-primary,
.cc-page > .cc-controls .cc-secondary {
    border: 0;
    background: transparent;
    padding: 0;
    min-height: 0;
    gap: 5px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
}

/* Das Formular bleibt bewusst schmal und lesbar. */
.cc-form-card {
    max-width: 820px;
    margin: 30px auto 34px;
    padding: 24px 28px 28px;
    border: 1px solid #c6d0d8;
    border-radius: 2px;
    background: rgba(255,255,255,.72);
    box-sizing: border-box;
}

.cc-form-card h2 {
    margin: 0 0 22px;
}

.cc-form-card form { gap: 18px; }
.cc-form-card label,
.cc-form-card fieldset { gap: 7px; }

.cc-form-card label > span,
.cc-radio span {
    margin-top: -2px;
    font-size: 11px;
    line-height: 1.45;
    opacity: .62;
}

.cc-form-card input[type=text],
.cc-form-card input[type=url],
.cc-form-card input[type=number],
.cc-form-card textarea,
.cc-form-card select {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 11px;
    border: 1px solid #8799a8;
    border-radius: 2px;
    background: #fff;
    color: #27354a;
    font: inherit;
    outline: none;
}

.cc-form-card textarea {
    min-height: 115px;
    resize: vertical;
}

.cc-form-card input:focus,
.cc-form-card textarea:focus,
.cc-form-card select:focus {
    border-color: #43536b;
    box-shadow: 0 0 0 1px rgba(67,83,107,.16);
}

.cc-form-card fieldset {
    padding: 14px 16px;
    border: 1px solid #b7c5cf;
    background: rgba(230,239,244,.34);
}

.cc-form-card legend {
    padding: 0 6px;
    font-weight: 700;
}

.cc-form-actions {
    justify-content: center;
    margin-top: 4px;
}

@media (max-width:700px) {
    .cc-profile-controls {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .cc-character-select { width: auto; }
    .cc-character-select select { min-width: 180px; }
    .cc-hero { align-items: flex-start; flex-wrap: wrap; }
    .cc-hero .cc-character-switch { width: 100%; margin-left: 0; }
    .cc-hero .cc-character-switch select { width: 100%; }
    .cc-form-card { padding: 20px 16px 22px; }
}


/* 0.1.6: Forum-Unterverzeichnis wird bei CSS- und Theme-Iconpfaden korrekt berücksichtigt. */
.cc-secret,
.cc-shared {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Kein Emoji-/Handy-Schloss: kleines, rein per CSS gezeichnetes Vorhängeschloss. */
.cc-lock {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 8px;
    box-sizing: border-box;
    border: 1px solid currentColor;
    border-radius: 1px;
    opacity: .78;
    flex: 0 0 auto;
}
.cc-lock::before {
    content: "";
    position: absolute;
    left: 1px;
    top: -7px;
    width: 6px;
    height: 7px;
    box-sizing: border-box;
    border: 1px solid currentColor;
    border-bottom: 0;
    border-radius: 5px 5px 0 0;
}

.cc-user-autocomplete {
    position: relative;
}

.cc-user-suggestions {
    position: absolute;
    z-index: 50;
    top: calc(100% + 3px);
    left: 0;
    right: 0;
    overflow: hidden;
    border: 1px solid #8799a8;
    background: #fff;
    box-shadow: 0 5px 14px rgba(39,53,74,.12);
}

.cc-user-suggestion {
    display: block;
    width: 100%;
    padding: 9px 11px;
    border: 0;
    border-bottom: 1px solid #dce3e8;
    background: #fff;
    color: #27354a;
    text-align: left;
    font: inherit;
    cursor: pointer;
}
.cc-user-suggestion:last-child { border-bottom: 0; }
.cc-user-suggestion:hover,
.cc-user-suggestion:focus {
    background: #e6eff4;
    outline: none;
}

.cc-form-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.cc-form-actions .cc-save-button,
.cc-form-actions .cc-cancel-button {
    min-width: 118px;
    min-height: 38px;
    padding: 0 18px;
    box-sizing: border-box;
    border: 1px solid #43536b;
    border-radius: 2px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.cc-form-actions .cc-save-button {
    background: #43536b;
    color: #fff;
}

.cc-form-actions .cc-cancel-button {
    background: #fff;
    color: #43536b;
}

.cc-form-actions .cc-save-button:hover,
.cc-form-actions .cc-save-button:focus {
    background: #2f3c50;
    border-color: #2f3c50;
    color: #fff;
    transform: translateY(-1px);
    outline: none;
}

.cc-form-actions .cc-cancel-button:hover,
.cc-form-actions .cc-cancel-button:focus {
    background: #e6eff4;
    color: #27354a;
    border-color: #8799a8;
    transform: translateY(-1px);
    outline: none;
}


/* 0.1.15: Formularaktionen als eindeutig sichtbare Buttons. */
.cc-form-card .cc-form-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px !important;
    margin-top: 16px !important;
}

.cc-form-card .cc-form-actions .cc-save-button,
.cc-form-card .cc-form-actions .cc-cancel-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 132px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    border: 1px solid #43536b !important;
    border-radius: 2px !important;
    font: inherit !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.cc-form-card .cc-form-actions button.cc-save-button {
    background: #43536b !important;
    color: #fff !important;
}

.cc-form-card .cc-form-actions a.cc-cancel-button {
    background: #fff !important;
    color: #43536b !important;
}

.cc-form-card .cc-form-actions button.cc-save-button:hover,
.cc-form-card .cc-form-actions button.cc-save-button:focus {
    background: #2f3c50 !important;
    border-color: #2f3c50 !important;
    color: #fff !important;
    transform: translateY(-1px);
    outline: none;
}

.cc-form-card .cc-form-actions a.cc-cancel-button:hover,
.cc-form-card .cc-form-actions a.cc-cancel-button:focus {
    background: #e6eff4 !important;
    border-color: #8799a8 !important;
    color: #27354a !important;
    transform: translateY(-1px);
    outline: none;
}


/* 0.1.20 – Profilansicht wieder wie die ausgearbeitete Chrono-Version */
.cc-profile-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    margin: 0 0 18px;
    box-sizing: border-box;
    background: rgba(224, 237, 245, .72);
    border: 1px solid rgba(112, 135, 156, .34);
}

.cc-profile-identity {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.cc-profile-avatar {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    flex: 0 0 72px;
}

.cc-profile-name {
    margin-top: 5px;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: .01em;
}

.cc-profile-hero .cc-character-select {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    min-width: 220px;
    margin-left: auto;
}

.cc-profile-hero .cc-character-select > span {
    font-size: 11px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    opacity: .72;
}

.cc-profile-hero .cc-character-select select {
    width: 100%;
    min-width: 220px;
    padding: 9px 32px 9px 11px;
    border: 1px solid rgba(76, 96, 119, .42);
    border-radius: 0;
    background: rgba(255,255,255,.72);
    font: inherit;
    color: inherit;
    box-shadow: none;
}

.cc-profile-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

.cc-profile-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 26px;
}

.cc-profile-actions .cc-primary,
.cc-profile-actions .cc-secondary {
    min-height: 0;
    padding: 4px 2px;
    border: 0;
    background: transparent;
    box-shadow: none;
    text-decoration: none;
    font-weight: 700;
}

.cc-profile-actions .cc-primary:hover,
.cc-profile-actions .cc-secondary:hover {
    background: transparent;
    text-decoration: underline;
}

.cc-profile-actions .cc-action-icon {
    display: inline-block;
    margin-right: 6px;
    font-size: 13px;
    line-height: 1;
}

@media (max-width: 720px) {
    .cc-profile-hero {
        align-items: flex-start;
        flex-direction: column;
    }
    .cc-profile-hero .cc-character-select {
        width: 100%;
        min-width: 0;
        margin-left: 0;
    }
    .cc-profile-hero .cc-character-select select {
        min-width: 0;
    }
}


/* 0.1.21 – Profilkopf verwendet exakt den bewährten Chronologie-Header */
.cc-profile-card > .cc-profile-hero {
    margin: 0 0 20px;
}

.cc-profile-card > .cc-profile-hero .cc-avatar {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    margin-right: 0;
    border-radius: 50%;
    object-fit: cover;
}

.cc-profile-card > .cc-profile-hero h1 {
    margin: 3px 0 0;
    font-size: 30px;
    font-weight: 500;
}

.cc-profile-card > .cc-profile-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 26px;
    padding: 0;
    border: 0;
}

.cc-profile-card > .cc-profile-controls .cc-profile-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

.cc-profile-card > .cc-profile-controls .cc-primary,
.cc-profile-card > .cc-profile-controls .cc-secondary {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-decoration: none;
}

.cc-profile-card > .cc-profile-controls .cc-primary:hover,
.cc-profile-card > .cc-profile-controls .cc-secondary:hover {
    background: transparent;
    text-decoration: underline;
}


/* 0.1.22 – Charakterauswahl im Profil bewusst schlicht */
.cc-profile-card .cc-character-switch {
    margin-left: auto;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.cc-profile-card .cc-character-switch::before,
.cc-profile-card .cc-character-switch::after {
    content: none !important;
    display: none !important;
}

.cc-profile-card .cc-character-switch select {
    display: block;
    width: 220px;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 8px 30px 8px 10px;
    border: 1px solid rgba(76, 96, 119, .42);
    border-radius: 0 !important;
    background: rgba(255,255,255,.78);
    box-shadow: none !important;
    color: inherit;
    font: inherit;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.cc-profile-card .cc-character-switch select:hover,
.cc-profile-card .cc-character-switch select:focus {
    border-color: rgba(76, 96, 119, .62);
    outline: none;
    box-shadow: none !important;
}

@media (max-width: 720px) {
    .cc-profile-card .cc-character-switch {
        width: 100%;
        margin-left: 0;
    }
    .cc-profile-card .cc-character-switch select {
        width: 100%;
    }
}


/* =========================================================
   CHRONOLOGY TIMELINE REDESIGN
   Optik: ruhige, elegante Lebenslinie wie in der Vorschau
   ========================================================= */

/* Mehr Luft zwischen Werkzeugleiste und erster Station */
.cc-profile-card > .cc-profile-controls,
.cc-page > .cc-controls {
    margin-bottom: 22px !important;
}

/* Die eigentliche Chronologie bekommt eine klare linke Lebenslinie. */
.cc-profile-list,
.cc-timeline {
    position: relative;
    padding: 4px 0 12px;
}

/* Ein Eintrag ist kein Kasten mehr, sondern eine Station an der Linie. */
.cc-profile-list .cc-entry,
.cc-timeline .cc-entry {
    position: relative;
    margin: 0;
    padding: 18px 18px 24px 96px;
    border: 0 !important;
    background: transparent !important;
}

/* Durchgehende vertikale Timeline.
   Jeder Eintrag zeichnet seinen Abschnitt; so funktioniert es auch
   bei unterschiedlich langen Texten. */
.cc-profile-list .cc-entry::before,
.cc-timeline .cc-entry::before {
    content: "";
    position: absolute;
    display: block !important;
    left: 42px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #9bb0c5;
    opacity: .9;
}

/* Kleiner Abschluss oben/unten der Timeline */
.cc-profile-list .cc-entry:first-child::after,
.cc-timeline .cc-entry:first-child::after {
    content: "";
    position: absolute;
    left: 39px;
    top: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8fa8c1;
}

.cc-profile-list .cc-entry:last-child::before,
.cc-timeline .cc-entry:last-child::before {
    bottom: 12px;
}

.cc-profile-list .cc-entry:last-child {
    padding-bottom: 18px;
}

/* Icon sitzt mittig auf der Timeline. */
.cc-profile-list .cc-category-icon,
.cc-timeline .cc-category-icon,
.cc-entry-profile .cc-category-icon {
    position: absolute !important;
    z-index: 2;
    left: -79px !important;
    top: -7px !important;
    width: 50px !important;
    height: 50px !important;
    object-fit: contain !important;
    margin: 0 !important;
}

/* Datum + feine waagerechte Linie */
.cc-profile-list .cc-time-row,
.cc-timeline .cc-time-row {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 38px;
    gap: 10px;
    padding: 0 0 8px;
    margin: 0 0 7px;
    border-bottom: 1px solid #9bb0c5;
    width: min(590px, 72%);
}

/* kleiner Punkt am Ende der waagerechten Linie */
.cc-profile-list .cc-time-row::after,
.cc-timeline .cc-time-row::after {
    content: "";
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8fa8c1;
}

/* Datum deutlich, aber nicht klobig */
.cc-profile-list .cc-time,
.cc-timeline .cc-time,
.cc-entry-profile .cc-time {
    margin: 0 !important;
    color: #293b59;
    font-size: 18px !important;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .07em;
}

/* Text unter dem Datum */
.cc-profile-list .cc-event,
.cc-timeline .cc-event,
.cc-entry-profile .cc-event {
    max-width: 760px;
    margin: 0 !important;
    padding: 0;
    font-size: 13px !important;
    line-height: 1.65;
}

/* Szenenlink etwas eleganter und vom Fließtext getrennt */
.cc-profile-list .cc-scene,
.cc-timeline .cc-scene {
    margin-top: 7px;
    font-size: 10px;
    letter-spacing: .04em;
    opacity: .62;
}

/* Geheim / geteilt bleibt sichtbar, aber tritt zurück */
.cc-profile-list .cc-secret,
.cc-profile-list .cc-shared,
.cc-timeline .cc-secret,
.cc-timeline .cc-shared {
    color: #77879a;
    opacity: .8;
}

.cc-profile-list .cc-shared,
.cc-timeline .cc-shared {
    margin-top: 8px;
    font-size: 10px;
}

/* Bearbeiten/Löschen im Edit-Modus nicht in die Datumszeile quetschen */
.cc-profile-list .cc-entry-tools,
.cc-timeline .cc-entry-tools {
    margin-left: auto;
    padding-left: 12px;
}

/* Werkzeugleiste mittig und mit dezenter Trennung wie in der Vorschau */
.cc-profile-card > .cc-profile-controls .cc-profile-actions,
.cc-page > .cc-controls {
    gap: 0 !important;
}

.cc-profile-card > .cc-profile-controls .cc-primary,
.cc-profile-card > .cc-profile-controls .cc-secondary,
.cc-page > .cc-controls .cc-primary,
.cc-page > .cc-controls .cc-secondary {
    padding: 4px 22px !important;
    text-decoration: none !important;
}

.cc-profile-card > .cc-profile-controls .cc-secondary,
.cc-page > .cc-controls .cc-secondary {
    border-left: 1px solid #c7d2dc !important;
}

.cc-profile-card > .cc-profile-controls .cc-primary:hover,
.cc-profile-card > .cc-profile-controls .cc-secondary:hover,
.cc-page > .cc-controls .cc-primary:hover,
.cc-page > .cc-controls .cc-secondary:hover {
    color: #425d7a;
    text-decoration: none !important;
}

/* Etwas mehr Abstand unter dem schönen hellblauen Profilkopf */
.cc-profile-card > .cc-profile-hero {
    margin-bottom: 18px !important;
}

/* Leere Chronologie soll nicht an einer halben Linie hängen */
.cc-profile-list .cc-empty,
.cc-timeline .cc-empty {
   padding: 24px 0;
    text-align: center;
    font-size: 18px;
}

/* Responsive: Linie und Icons rücken zusammen, ohne Text zu zerquetschen */
@media (max-width: 760px) {
    .cc-profile-list .cc-entry,
    .cc-timeline .cc-entry {
        padding-left: 74px;
        padding-right: 8px;
    }

    .cc-profile-list .cc-entry::before,
    .cc-timeline .cc-entry::before {
        left: 28px;
    }

    .cc-profile-list .cc-entry:first-child::after,
    .cc-timeline .cc-entry:first-child::after {
        left: 25px;
    }

    .cc-profile-list .cc-category-icon,
    .cc-timeline .cc-category-icon,
    .cc-entry-profile .cc-category-icon {
        left: -67px !important;
        width: 44px !important;
        height: 44px !important;
    }

    .cc-profile-list .cc-time-row,
    .cc-timeline .cc-time-row {
        width: 100%;
    }

    .cc-profile-list .cc-time,
    .cc-timeline .cc-time,
    .cc-entry-profile .cc-time {
        font-size: 16px !important;
        letter-spacing: .04em;
    }
}


















