/* ========================================
   CHARACTER PROFILE – GRUNDGERÜST
======================================== */

.character-profile {
    background: var(--border);
    border: solid 1px var(--secondcontent);
    border-radius: 22px;
    padding: 12px;
	margin: 10px;
    color: var(--font1);
    overflow: hidden;
}


/* ========================================
   PROFILHEADER
======================================== */

.character-header {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 110px;
    padding: 0px 0px 0px 20px;
    box-sizing: border-box;
    background: var(--secondmain);
    color: var(--font1);
    border-radius: 0;
    position: relative;
    overflow: visible;
    border: solid 1px var(--secondcontent);
    border-bottom: 0px;
}

/* Avatar links */

.character-header-avatar {
    width: 82px;
    height: 82px;
    flex-shrink: 0;
    border: 3px solid var(--content);
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 5;
    transform: translateY(30px);
}

.character-header-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Charaktername */

.character-header-name {
    min-width: 0;
    flex: 1;
}

.character-name {
    color: var(--content);
    font-size: 40px;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
	line-height: 1;
	    font-family: 'Mulish';

}

.character-faceclaim {
    color: var(--content);
    font-size: 10px;
    font-style: italic;
    letter-spacing: 3px;
    margin-top: 1px;
	text-transform: uppercase;
}

/* Userinformationen rechts */

.character-header-user {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: flex-end;
    margin-bottom: 0;
    padding: 15px 5px 10px 25px;
    background: var(--content);
    border-radius: 20px 0px 0 0;
    color: var(--darkcolor);
    font-size: 11px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 260px;
    box-sizing: border-box;
}

/* ========================================
   PROFILHAUPTBEREICH
======================================== */

.character-body {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr) 260px;
    gap: 12px;
    padding-top: 0px;
	padding-left: 10px;
    min-height: 450px;
    background: var(--content);
    border: solid 1px var(--transparentlight);
    border-top: 0;
}


/* ========================================
   TAB-NAVIGATION LINKS
======================================== */

.character-tabs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-radius: 14px;
    margin: 10px;
    margin-top: 30px;
}

.character-tab {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border: 0;
    border-radius: 10px;

    background: transparent;
    color: var(--darkcolor);

    font-size: 23px;
    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}

.character-tab:hover {
       color: var(--font3);
}

.character-tab.active {
     color: var(--font3);
}

.character-tab:focus-visible {
    outline: 2px solid var(--link1);
    outline-offset: 2px;
}


/* ========================================
   WECHSELNDE TAB-INHALTE
======================================== */

.character-tab-content {
    min-width: 0;
    padding: 14px;

}

/* Einzelne Panels */

.character-panel {
    width: 100%;
    box-sizing: border-box;
}

.character-panel[hidden] {
    display: none !important;
}

/* Überschriften innerhalb der Tabs */

.character-panel h3 {
    margin: 0 0 15px;
    padding: 10px 15px;

    background: var(--dark-verlauf);
    color: var(--content);

    font-size: 17px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
}


/* ========================================
   FESTE PROFILGRAFIK RECHTS
======================================== */

.character-profile-image {
	position: relative;
    min-width: 0;
    overflow: hidden;
	width: 260px;
    height: 550px;
}

.character-profile-image img {
   display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PROFIL – ABWESENHEITSANZEIGE */

.character-profile-away {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 15px;
    z-index: 2;

    background: #f8f8f8;
    border: 1px solid #e3e4e8;
    border-radius: 0;
    box-sizing: border-box;

    box-shadow: 0 3px 12px rgba(30, 40, 60, 0.12);
    overflow: hidden;
}


/* ÜBERSCHRIFT */

.character-profile-away__header {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 9px 12px;

   
    background: var(--font3);
    color: var(--content);


    font-size: 11px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.08em;
}

.character-profile-away__header svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.7;
    flex-shrink: 0;
}


/* INHALT */

.character-profile-away__content {
    padding: 12px;
    font-size: 11px;
    line-height: 1.5;
}

.character-profile-away__title {
    font-weight: 600;
}

.character-profile-away__reason {
    margin-top: 4px;
    color: var(--font3);
    font-size: 10px;
    overflow-wrap: anywhere;
}


/* DATUMSLEISTE */

.character-profile-away__dates {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;

    padding: 9px 10px;

    background: #eeeeef;
    border-top: 1px solid #e1e2e6;

    color: #66738c;
    font-size: 9px;
    font-weight: 600;
}

.character-profile-away__dates span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.character-profile-away__dates svg {
    width: 12px;
    height: 12px;
    stroke-width: 1.6;
    flex-shrink: 0;
}

/* ========================================
   PROFIL – TAB ÜBERSICHT
======================================== */

.character-overview {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}


/* ========================================
   ZITATBOX
======================================== */

.overview-quote {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 106px;
    padding: 10px;
    box-sizing: border-box;
    background: var(--content);
    border: 6px solid var(--border);
    border-radius: 5px;
    overflow: hidden;
}


.overview-quote-text {
    position: relative;
    z-index: 1;

    width: 100%;
    max-height: 85px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    padding: 5px 10px;
    color: var(--font1);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    overflow-wrap: anywhere;

    scrollbar-width: thin;
    scrollbar-color: var(--secondmain) transparent;
}

.overview-quote-mark {
    position: absolute;
    color: var(--font3);
    font-family: Georgia, serif;
    font-size: 65px;
    line-height: 1;
}

.overview-quote-left {
    left: 25px;
    top: 20px;
	opacity: 0.2;

}

.overview-quote-right {
    right: 25px;
    top: 60px;
	opacity: 0.2;

}



/* ========================================
   ZWEISPALTIGES LAYOUT
======================================== */

.overview-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 10px;
    min-width: 0;
}

.overview-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.overview-box {
    min-width: 0;
    padding: 5px;
    box-sizing: border-box;
    background: var(--content);
    border: 6px solid var(--border);
    border-radius: 5px;
}


/* ========================================
   CHARAKTERBESCHREIBUNG
======================================== */

.overview-biography-title {
    padding: 5px 7px;
    border-radius: 0px;
    background:var(--secondmain);
    color: var(--content);
    font-size: 9px;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 3px;
    text-align: center;
    text-transform: uppercase;
}

.overview-biography-text {
    height: 148px;
    overflow-y: auto;
    margin-top: 10px;
    padding: 0 10px 5px;
    color: var(--font1);
    font-size: 11px;
    line-height: 1.25;
    text-align: justify;
    overflow-wrap: anywhere;
}


/* ========================================
   STECKBRIEFDATEN
======================================== */

.overview-details,
.overview-appearance {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.overview-fact {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 25px;
    background: var(--border);
    border-radius: 0px;
    overflow: hidden;
}

.overview-fact-label {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    min-height: 25px;
    padding: 5px 10px 3px 5px;
    box-sizing: border-box;
    border-radius: 0px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0px;
    text-transform: uppercase;
    background: var(--secondmain);
    color: var(--border);
}

.overview-fact-label i {
    flex-shrink: 0;
    width: 18px;
    font-size: 14px;
    text-align: center;
}

.overview-fact-label span {
    min-width: 0;
}

.overview-fact-value {
    flex: 1;
    min-width: 0;
    padding: 4px 8px;
    color: var(--font1);
    font-size: 10px;
    text-align: right;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}


.overview-appearance {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.overview-appearance-features {
    display: flex;
    flex-direction: column;
    height: 79px;
    min-height: 0;
    box-sizing: border-box;
    background: var(--border);
}

.overview-appearance-features-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    width: fit-content;
    padding: 5px 10px 3px 5px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--secondmain);
    color: var(--border);
}

.overview-appearance-features-title i {
    font-size: 13px;
}

.overview-appearance-features-text {
    flex: 1;
    min-height: 0;
    margin-top: 8px;
    padding: 0 5px;
    overflow-y: auto;
    overflow-x: hidden;
    color: var(--font1);
    font-size: 12px;
    line-height: 1.4;
    text-align: justify;
    overflow-wrap: anywhere;
}

/* ========================================
   PROFIL – TAB GESCHICHTE
======================================== */

.character-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    width: 100%;
    min-width: 0;
    height: 520px;
    box-sizing: border-box;
}

/* ========================================
   ALLGEMEINE STORY-BOXEN
======================================== */

.story-box {
    min-width: 0;
    min-height: 0;
    padding: 12px;
    box-sizing: border-box;
    background: var(--border);
    border-radius: 6px;
    overflow: hidden;
}

/* ========================================
   LINKE SPALTE – CHARAKTERGESCHICHTE
======================================== */

.story-history {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.story-history-text {
    flex: 1;
    min-height: 0;
    padding: 12px 16px;
    box-sizing: border-box;
    background: var(--content);
    color: var(--font1);
    font-size: 11px;
    line-height: 1.6;
    text-align: justify;
    overflow-y: auto;
    overflow-x: hidden;
    overflow-wrap: anywhere;
}

/* ========================================
   RECHTE SPALTE – FAKTEN / STÄRKEN / SCHWÄCHEN
======================================== */

.story-right {
    display: grid;
    grid-template-rows: 1.3fr 1fr 1fr;
    gap: 12px;
    min-width: 0;
    min-height: 0;
}

.story-facts,
.story-strengths,
.story-weaknesses {
    display: flex;
    flex-direction: column;
}

/* ========================================
   ÜBERSCHRIFTEN
======================================== */

.story-box-title {
    flex-shrink: 0;
    padding: 7px 10px;
    background: var(--secondmain);
    color: var(--content);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}

.story-box-title i {
    font-weight: 400;
    letter-spacing: 2px;
}

/* ========================================
   TEXTBEREICHE
======================================== */

.story-box-text {
    flex: 1;
    min-height: 0;
    padding: 12px 16px;
    box-sizing: border-box;
    background: var(--content);
    color: var(--font1);
    font-size: 11px;
    line-height: 1.5;
    text-align: justify;
    overflow-y: auto;
    overflow-x: hidden;
    overflow-wrap: anywhere;
}



/* ========================================
   PROFIL – EXTRAS
======================================== */

.character-extras {
    display: flex;
    align-items: center;
    gap: 0;
    width: auto;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    margin: 10px;
    padding: 8px 12px;
    background: var(--content);
    border: 6px solid var(--border);
    border-radius: 5px;
    color: var(--font1);
}


/* ========================================
   EXTRAS – ÜBERSCHRIFT
======================================== */

.extras-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    align-self: stretch;
    padding: 0 14px 0 6px;
    margin-right: 14px;
    border-right: 1px solid var(--secondmain);
    color: var(--darkcolor);
    font-size: 12px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.extras-heading i {
    font-size: 18px;
}


/* ========================================
   EXTRAS – ALLGEMEINE BESCHRIFTUNGEN
======================================== */

.extras-label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    color: var(--darkcolor);
    font-size: 11px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.extras-label i {
    font-size: 21px;
}


/* ========================================
   SPOTIFY – LINKE HÄLFTE
======================================== */

.extras-spotify {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 0;
    gap: 10px;
    width: 0;
    min-width: 0;
    min-height: 0;
    padding-right: 14px;
    box-sizing: border-box;
    border-right: 1px solid var(--secondmain);
}


/* Kompakte Spotify-Vorschau */

.extras-spotify-mini {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    gap: 8px;
    min-width: 0;
    padding: 5px 8px;
    background: var(--secondcontent);
    border-radius: 5px;
}


/* Playlist-Cover-Platzhalter */

.extras-spotify-artwork {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    background: var(--content);
    border-radius: 4px;
    color: var(--darkcolor);
}

.extras-spotify-artwork i {
    font-size: 18px;
}


/* Playlist-Titel und Untertitel */

.extras-spotify-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    gap: 4px;
    min-width: 0;
}

.extras-spotify-title {
    display: block;
    overflow: hidden;
    color: var(--font1);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.extras-spotify-subtitle {
    display: block;
    overflow: hidden;
    color: var(--font2);
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* Button zum Öffnen des Players */

.extras-spotify-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: none;
    color: var(--darkcolor);
    font-size: 24px;
    cursor: pointer;
    transition: color .2s ease;
}

.extras-spotify-toggle:hover {
    color: var(--link1);
}


/* Externer Spotify-Link */

.extras-spotify-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--darkcolor);
    font-size: 14px;
    text-decoration: none;
    transition: color .2s ease;
}

.extras-spotify-link:hover {
    color: var(--link1);
}


/* ========================================
   SPOTIFY – SCHWEBENDES POPUP
======================================== */

.extras-spotify-popup {
    position: absolute;
    z-index: 100;
    top: calc(100% + 12px);
    left: 0;
    width: min(390px, 90vw);
    box-sizing: border-box;
    padding: 12px;
    background: var(--content);
    border: 1px solid var(--secondmain);
    border-radius: 8px;
    box-shadow: 0 6px 24px var(--transparentlight);
}

.extras-spotify-popup[hidden] {
    display: none !important;
}


/* Schließen-Button */

.extras-spotify-close {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 8px auto;
    padding: 3px;
    border: 0;
    background: none;
    color: var(--darkcolor);
    font-size: 16px;
    cursor: pointer;
}

.extras-spotify-close:hover {
    color: var(--link1);
}


/* Echter Spotify-Player im Popup */

.extras-spotify-player {
    display: block;
    width: 100%;
    height: 152px;
    overflow: hidden;
    border-radius: 5px;
}

.extras-spotify-player iframe {
    display: block;
    width: 100%;
    height: 152px;
    border: 0;
    border-radius: 5px;
}


/* ========================================
   PINTEREST – RECHTE HÄLFTE
======================================== */

.extras-pinterest {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    gap: 10px;
    width: 0;
    min-width: 0;
    min-height: 0;
    padding-left: 14px;
    box-sizing: border-box;
}


/* Pinnwand-Vorschau */

.extras-pinterest-preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    height: 45px;
    box-sizing: border-box;
    overflow: hidden;
    background: var(--content);
    border-radius: 4px;
}


/* Offizielles Pinterest-Widget */

.extras-pinterest-preview > a {
    display: block;
    max-width: 100%;
}

.extras-pinterest-preview > span {
    display: block;
    flex-shrink: 0;
    transform: none;
    margin: 0;
}


/* Rechten Pinterest-Scrollbalken verdecken */

.extras-pinterest-preview::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 100%;
    background: var(--content);
    pointer-events: none;
}


/* Externer Pinterest-Link */

.extras-pinterest-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--darkcolor);
    font-size: 14px;
    text-decoration: none;
    transition: color .2s ease;
}

.extras-pinterest-link:hover {
    color: var(--link1);
}


/* ========================================
   UNTERER PROFILBEREICH
======================================== */

.profile-bottom {
    display: flex;
    flex-direction: column;
    margin: 10px;
    min-width: 0;
    box-sizing: border-box;
    margin-top: 12px;
    color: var(--font1);
    background: var(--border);
    border: solid 1px var(--secondcontent);
    border-radius: 22px;
	padding: 5px;
}

/* ========================================
   TAB-STEUERUNG
======================================== */

.profile-bottom-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}


/* ========================================
   DURCHGEHENDE TAB-NAVIGATION
======================================== */

.profile-bottom-nav{
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    box-sizing: border-box;
    padding: 6px;
    border-radius: 0px;
    margin: 5px;
    background: var(--content);
    border: solid 1px var(--transparentlight);
}

.profile-bottom-nav label,
.profile-bottom-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1 1 0;
    min-width: 0;
    padding: 11px 8px;
    box-sizing: border-box;
    background: var(--border);
    border-radius: 0px;
    color: var(--darkcolor);
    font-size: 11px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 1.2px;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.profile-bottom-nav label i,
.profile-bottom-nav a i {
    font-size: 16px;
}

.profile-bottom-nav label:hover,
.profile-bottom-nav a:hover {
    background: var(--main);
    color: var(--font1);
}

/* Aktiver Tab */

#bottom-tab-info:checked ~ .profile-bottom-nav label[for="bottom-tab-info"],
#bottom-tab-scenes:checked ~ .profile-bottom-nav label[for="bottom-tab-scenes"],
#bottom-tab-additional:checked ~ .profile-bottom-nav label[for="bottom-tab-additional"] {
    background: var(--darkcolor);
    color: var(--content);
}

/* Tastatur-Fokus */

#bottom-tab-info:focus-visible ~ .profile-bottom-nav label[for="bottom-tab-info"],
#bottom-tab-scenes:focus-visible ~ .profile-bottom-nav label[for="bottom-tab-scenes"],
#bottom-tab-additional:focus-visible ~ .profile-bottom-nav label[for="bottom-tab-additional"] {
    outline: 2px solid var(--link1);
    outline-offset: 2px;
}


/* ========================================
   TAB-INHALTE
======================================== */

.profile-bottom-panel {
    display: none;
    flex-direction: column;
    gap: 10px;
    width: auto;
    min-width: 0;
    margin: 0 5px;
    box-sizing: border-box;
}

#bottom-tab-info:checked ~ .bottom-panel-info,
#bottom-tab-scenes:checked ~ .bottom-panel-scenes,
#bottom-tab-additional:checked ~ .bottom-panel-additional {
    display: flex;
}


/* ========================================
   INFORMATIVES – OBERE REIHE
======================================== */

.profile-bottom-top {
    display: grid;
    grid-template-columns: 275px minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
}


/* ========================================
   LINKE BILDSPALTE
======================================== */


/* ========================================
   LINKE BILDSPALTE
======================================== */

.profile-bottom-images {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    width: 100%;
    min-width: 0;
}

/* Gemeinsamer Rahmen */

.profile-bottom-image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 5px;
    background: var(--content);
    border: solid 1px var(--transparentlight);
}


/* Obere Grafik */

.profile-bottom-image:first-child img {
    display: block;
    width: 240px;
    height: 280px;
    object-fit: cover;
    padding: 5px;
    background: var(--border);
    border-radius: 5px;
    margin: 5px;
}

/* Untere Grafik */

.profile-bottom-image:last-child img {
    display: block;
    width: 240px;
    height: 120px;
    object-fit: cover;
	padding: 5px;
    background: var(--border);
    border-radius: 5px;
    margin: 5px;
}


/* ========================================
   RECHTER HAUPTBEREICH
======================================== */

.profile-bottom-main {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 5px;
    min-width: 0;
}

.profile-bottom-main-top {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
}


/* ========================================
   GEMEINSAME BOXEN
======================================== */

.profile-bottom-tabs,
.profile-bottom-side,
.profile-bottom-characters,
.profile-bottom-signature,
.profile-bottom-stickers,
.profile-bottom-empty {
    min-width: 0;
    box-sizing: border-box;
    padding: 12px;
    background: var(--content);
	border: solid 1px var(--transparentlight);
}


/* ========================================
   GEMEINSAME ÜBERSCHRIFTEN
======================================== */

.profile-bottom-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--secondcontent);
    color: var(--darkcolor);
    font-size: 12px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.profile-bottom-heading i {
    font-size: 17px;
}


/* ========================================
   GEMEINSAME PLATZHALTER
======================================== */

.profile-bottom-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-width: 0;
    min-height: 80px;
    box-sizing: border-box;
    padding: 12px;
    background: var(--secondcontent);
    border-radius: 4px;
    color: var(--darkcolor);
    text-align: center;
}

.profile-bottom-placeholder > i {
    font-size: 23px;
}

.profile-bottom-placeholder > span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.profile-bottom-placeholder > small {
    color: var(--font2);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.5;
}



/* ========================================
   INFORMATIVES – MITTLERE INFOBOX
======================================== */

.profile-bottom-tabs {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    border-radius: 0px;
    background: var(--content);
    border: solid 1px var(--transparentlight);
}

/* Container für alle acht Informationszeilen */

.profile-bottom-information {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 auto;
    gap: 5px;
    min-width: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 0px;
}

/* Einzelne Informationszeile */

.profile-bottom-info-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    min-height: 32px;
    box-sizing: border-box;
    background: var(--border);
    overflow: hidden;
}

/* Linke Beschriftung */

.profile-bottom-info-label {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    min-width: 0;
    padding: 6px 9px;
    box-sizing: border-box;
    background: var(--secondmain);
    color: var(--content);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.profile-bottom-info-label i {
    flex: 0 0 auto;
    font-size: 10px;
}

/* Rechter Wert */

.profile-bottom-info-value {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
    padding: 6px 9px;
    box-sizing: border-box;
    color: var(--font1);
    font-size: 10px;
    font-weight: 400;
    text-align: right;
    text-transform: uppercase;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* ========================================
   INFORMATIVES – RECHTE INFOBOX
======================================== */

.profile-bottom-side {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    min-height: 230px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}


/* ========================================
   PAIRING – OBERE BOX
======================================== */

.profile-bottom-pairing {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 12px;
    box-sizing: border-box;
    border-radius: 0px;
    background: var(--content);
    border: solid 1px var(--transparentlight);
	padding: 6px;
}

.profile-bottom-pairing-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 6px;
    padding-top: 0;
    text-align: center;
}

/* Satz über der Grafik */

.profile-bottom-pairing-quote {
    width: 100%;
    color: var(--font1);
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
}

/* Pairing-Grafik */

.profile-bottom-pairing-content img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
}

/* Charaktername als Link */

.profile-bottom-pairing-content a {
    display: block;
    padding: 6px 0 2px;
    color: var(--darkcolor);
    font-size: 11px;
    text-decoration: none;
    text-transform: uppercase;
}

.profile-bottom-pairing-content a:hover {
    color: var(--link1);
}


/* ========================================
   PAIRING – UNTERE INFOBOX
======================================== */

.profile-bottom-pairing-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 5px;
    box-sizing: border-box;
    background: var(--content);
    border: solid 1px var(--transparentlight);
    margin-top: 0px;
}

/* Einzelne Informationszeile */

.profile-bottom-pairing-fact {
    display: flex;
    align-items: stretch;
    min-width: 0;
    min-height: 24px;
    background: var(--border);
}

/* Linke Beschriftung */

.profile-bottom-pairing-label {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    padding: 5px 5px;
    background: var(--secondmain);
    color: var(--content);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.profile-bottom-pairing-label i {
    font-size: 11px;
}

/* Rechter Wert */

.profile-bottom-pairing-value {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    min-width: 0;
    padding: 5px 8px;
    color: var(--font1);
    font-size: 9px;
    text-align: right;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}


/* ========================================
   ZWEITCHARAKTERE
======================================== */

.profile-bottom-characters {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 110px;
}

.profile-bottom-characters-content {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
}


/* ========================================
   ZWEITCHARAKTERE – GÄSTE
======================================== */

.character-accounts-guest {
    display: flex;
    align-items: center;
    gap: 18px;

    width: 100%;
    min-height: 80px;
    padding: 15px 20px;
    box-sizing: border-box;
    background: var(--border);
    border-radius: 5px;
}

/* Rundes Schloss-Symbol */

.character-accounts-guest-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;
    flex: 0 0 60px;

    border-radius: 50%;
    background: var(--content);
    color: var(--darkcolor);
}

.character-accounts-guest-icon i {
    font-size: 22px;
}

/* Textbereich */

.character-accounts-guest-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.character-accounts-guest-title {
    color: var(--font1);
    font-size: 13px;
    font-weight: 700;
}

.character-accounts-guest-text {
    color: var(--font2);
    font-size: 11px;
    line-height: 1.5;
}




.profile-bottom-characters-content .profile-bottom-placeholder {
    flex: 1 1 auto;
    min-height: 55px;
}


/* ========================================
   UNTERE REIHE
======================================== */

.profile-bottom-footer {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
}


/* ========================================
   SIGNATUR – UNTEN LINKS
======================================== */

.profile-bottom-signature {
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.profile-bottom-signature-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--font1);
    font-size: 12px;
    line-height: 1.6;
}

.profile-bottom-signature-content img {
    max-width: 100%;
    height: auto;
}

.profile-bottom-signature-content .profile-bottom-placeholder {
    flex: 1 1 auto;
}


/* ========================================
   STICKER – UNTEN RECHTS
======================================== */

.profile-bottom-stickers {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 220px;
}

.profile-bottom-stickers-content {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
}

.profile-bottom-stickers-content .profile-bottom-placeholder {
    flex: 1 1 auto;
}

/* +N Button */
button.character-accounts-more {
    cursor: pointer;
    font: inherit;
    color: inherit;
    background: transparent;
    border: 0;
    padding: 0;
}



/* ========================================
   ZWEITCHARAKTERE – POPUP
======================================== */

/* Abgedunkelter Hintergrund */

.character-accounts-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;

    background: var(--transparentlight);
    backdrop-filter: blur(5px);
}

.character-accounts-overlay[hidden] {
    display: none !important;
}

/* Popup-Fenster */

.character-accounts-popup {
    position: relative;
    width: 100%;
    max-width: 705px;
    max-height: 75vh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 55px 30px 35px;
    box-shadow: 0 12px 40px var(--transparentlight);
    background: var(--content);
    border: solid 1px var(--transparentlight);
}

/* Schließen-X */

.character-accounts-close {
    position: absolute;
    top: 12px;
    right: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    padding: 0;
    border: 0;
    border-radius: 50%;

    background: var(--secondcontent);
    color: var(--darkcolor);

    font-size: 22px;
    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.character-accounts-close:hover {
    background: var(--secondmain);
    color: var(--content);
}

/* Avatar-Raster */

.character-accounts-popup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 100px);
    justify-content: center;
    gap: 20px;
    background: var(--border);
    padding: 15px;
    border-radius: 10px;
}

/* Runde Avatare */

.character-accounts-popup-avatar {
    display: block;

    width: 100px;
    height: 100px;

    overflow: hidden;
    box-sizing: border-box;

    border: 3px solid var(--main);
    border-radius: 50%;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}

/* Bilder */

.character-accounts-popup-avatar img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

/* Hover */

.character-accounts-popup-avatar:hover {
    border-color: var(--link1);
    transform: scale(1.05);
}

/* Tastaturfokus */

.character-accounts-popup-avatar:focus-visible,
.character-accounts-close:focus-visible {
    outline: 2px solid var(--link1);
    outline-offset: 3px;
}


/* ========================================
   ZWEITCHARAKTERE – MITGLIEDERANSICHT
======================================== */

/* Zweispaltiger Hauptbereich */

.character-accounts-member {
    display: grid;
    grid-template-columns: 375px 1fr;
    align-items: center;
    gap: 20px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 12px 15px;
    background: var(--secondcontent);
    border: 1px solid var(--border);

}

/* Linke Spalte – Avatare */

.character-accounts-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;

    min-width: 0;
}

/* Runde Avatar-Ausschnitte */

.character-accounts-avatar {
    display: block;
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    overflow: hidden;
    border-radius: 50%;
    border: 4px solid var(--border);
    box-sizing: border-box;

    transition: border-color 0.2s ease;
}

.character-accounts-avatar img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

/* Hover-Effekt */

.character-accounts-avatar:hover {
    border-color: var(--link1);
}

/* +N Button */

button.character-accounts-more {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;
    flex: 0 0 60px;

    padding: 0;
    border: none;
    border-radius: 50%;

    background: var(--secondmain);
    color: var(--content);

	border: solid 4px var(--border);
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;

    transition: background 0.2s ease;
}

button.character-accounts-more:hover {
    background: var(--darkcolor);
}

/* Rechte Spalte – Infotext */

.character-accounts-description {
    display: flex;
    align-items: center;

    min-width: 0;
    min-height: 60px;
    padding-left: 20px;

    border-left: 1px solid var(--secondmain);

    color: var(--font1);
    font-size: 12px;
    line-height: 1.6;
}

/* Tastaturfokus */

.character-accounts-avatar:focus-visible,
.character-accounts-more:focus-visible {
    outline: 2px solid var(--link1);
    outline-offset: 3px;
}

/* ========================================
   PROFIL – SIGNATURANZEIGE
======================================== */

.profile-bottom-signature {
    gap: 10px;
}

.profile-bottom-signature-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 180px;
    padding: 15px;
    box-sizing: border-box;
    color: var(--font1);
    text-align: center;
    overflow-wrap: anywhere;
}

/* Signaturbilder */

.profile-bottom-signature-display img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Signaturlinks */

.profile-bottom-signature-display a {
    color: var(--link1);
    text-decoration: none;
}

.profile-bottom-signature-display a:hover {
    color: var(--darkcolor);
}


/* ========================================
   PROFIL – GESUCHE
======================================== */

.character-searches {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.character-searches-heading {
    padding: 8px 2px 12px;
    margin-bottom: 4px;
    background: transparent;
    border-bottom: 1px solid var(--secondmain);
    color: var(--darkcolor);
    font-family: 'Mulish', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: left;
}

.character-searches-owner {
    color: var(--secondmain);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.character-searches-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 450px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--secondmain) var(--border);
}

/* Einzelne Gesuchkarte */

.character-search-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 15px;
    box-sizing: border-box;
    background: var(--border);
    border: 1px solid var(--secondcontent);
    border-radius: 5px;
}

/* Icon links */

.character-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--secondmain);
    color: var(--content);
    font-size: 16px;
}

/* Titel und Informationen */

.character-search-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.character-search-title {
    color: var(--darkcolor);
    font-family: 'Mulish', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

.character-search-title:hover {
    color: var(--link1);
}

.character-search-details {
    color: var(--font2);
    font-family: 'Mulish', sans-serif;
    font-size: 10px;
    line-height: 1.6;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

/* Link rechts */

.character-search-link {
    flex: 0 0 auto;
    padding: 8px;
    color: var(--darkcolor);
    font-size: 14px;
    text-decoration: none;
    transition: color .2s ease;
}

.character-search-link:hover {
    color: var(--link1);
}

/* PROFIL – CONTENT WARNING */

.profile-trigger{
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--content);
    border: solid 1px var(--background-light);
    margin: auto;
    margin-top: 15px;
    box-sizing: border-box;
    width: 80%;
}

.profile-trigger > svg {
    width: 21px;
    height: 21px;
    color: #c87c7c;
    stroke-width: 1.6;
    flex-shrink: 0;
}

.profile-trigger__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.profile-trigger__title {
    color: #66738c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-style: italic;
}

.profile-trigger__text {
    color: #57647b;
    font-size: 12px;
    line-height: 1.5;
}