#profile-main {
    box-sizing: border-box;
    margin: auto;
    width: 100%;
    height: 350px;
    background: var(--base-color);
}

.profile-header{
    position: relative;
    text-align: center;
}

.profile-banner img{
    width: 420px;
    height: 240px;
    object-fit: cover;
    display: block;
    margin: auto;
    padding: 20px;
}

.profile-groupicon{
    position: absolute;
    left: 50%;
    top: 20%;
    transform: translate(-50%,-50%);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.profile-groupicon img{
    width: 80px;
    height: 80px;
}

.profile-divider-area{
    position: relative;
    z-index: 2;
}

.profile-divider{
    position: relative;
    z-index: 2;
    letter-spacing: 6px;
    margin: 5px 0;
    color: var(--muted-tone);
}

.profile-maininfo{
    text-align: center;
    margin-top: -55px;
    position: relative;
    z-index: 2;
}

.profile-maininfo-text {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    text-align: justify;
    font-color: var(--base-color) !important;
    letter-spacing: 0;
}

.profile-maininfo-text-lists {
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    font-color: var(--base-color) !important;
    letter-spacing: 0;
}

#profile-charaname {
    font-family: var(--font-title);
    font-size: 45px;
    text-transform: lowercase !important;
    color: var(--muted-tone);
    vertical-align: top;
    text-align: center;
    text-shadow:0 2px 6px rgba(0,0,0,0.25);
}

#profile-title {
    font-family: var(--font-title);
    font-size: 50px;
    text-transform: lowercase !important;
    margin: auto;
    color: var(--muted-tone);
    vertical-align: top;
    text-align: right !important;
}

#profile-titlesmall {
    font-family: var(--font-title);
    font-size: 25px;
    text-transform: lowercase !important;
    color: var(--muted-tone);
    vertical-align: top;
    text-align: left !important;
}

#profile-quote {
    font-family: var(--font-title);
    font-size: 35px;
    font-style: italic;
    text-transform: lowercase !important;
    color: #a0a0a0;;
    vertical-align: top;
    text-align: center !important;
}

#profile-tabs {
    box-sizing: border-box;
    min-height: auto;
    margin: auto;
    background: var(--base-color);
    font-color: var(--muted-tone);
}

#profile-info {
    box-sizing: border-box;
    width: 100%;
    min-height: 400px;
    margin: auto;
    padding: 50px;
    background: var(--base-color);
    font-color: var(--muted-tone);
}

.profilefields {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 50px;
    text-align: center;
    margin-bottom: 40px;
}

.profilefields-main {
    display: block;
    position: relative;
    z-index: 2;
    color: var(--muted-tone);
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
}

.profilefields-infotext {
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    color: #a0a0a0;
    text-transform: uppercase;
}

#profile-player {
    box-sizing: border-box;
    margin: auto;
    height: auto;
    background: var(--base-color);
    font-family: 'Roboto', sans-serif;
    font-color: var(--muted-tone);
    font-size: 10px;
    font-weight: normal;
    text-transform: uppercase;
    padding: 50px;
}

/* =========================
   SPIELERBEREICH
   ========================= */

#profile-player {
    box-sizing: border-box;
    margin: auto;
    height: auto;
    background: var(--base-color);
    font-family: 'Roboto', sans-serif;
    font-color: var(--muted-tone);
    font-size: 10px;
    font-weight: normal;
    text-transform: uppercase;
    padding: 50px;
}

/* =========================
   SPIELER-AWARDS OVERLAY
   ========================= */

.player-awards-overlay {
    position: fixed;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    z-index: 10000;

    background: rgba(0, 0, 0, 0.65);
}

.player-awards-overlay.active {
    display: flex;
}

.player-awards-popup {
    position: relative;

    width: min(700px, 85%);
    max-height: 80vh;

    overflow-y: auto;

    box-sizing: border-box;

    padding: 40px;

    background: var(--base-color);
    color: var(--muted-tone);

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.player-awards-popup #profile-title {
    margin-bottom: 30px;
}

.player-awards-content {
    text-align: left;
    gap: 5px;
    margin: 10px 0 0 0;
}

.player-awards-close {
    border: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
    color: var(--muted-tone);
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.player-awards-close:hover,
.player-awards-close:focus,
.player-awards-close:active {
    border: 0;
    outline: none;
    box-shadow: none;
}


/* =========================
   SPIELER – KOPF
   ========================= */

.player-header {
    width: 100%;
    text-align: right;
    color: #a0a0a0;
}

.player-title-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.player-title-row #profile-title {
    margin: 0;
}


/* Award-Button */

.player-awards-trigger {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
    color: var(--muted-tone);
    font-size: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 5px;
}

.player-awards-trigger i {
    transform: translateY(2px);
}

.player-awards-trigger:hover,
.player-awards-trigger:focus,
.player-awards-trigger:active {
    border: 0;
    outline: none;
    box-shadow: none;
}

/* =========================
   SPIELER – RATINGS
   ========================= */

.player-ratings {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.player-pronouns {
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    color: #a0a0a0;
    text-transform: uppercase;
    white-space: nowrap;
}

.pepper-rating,
.violence-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-bottom: 0;
}


/* =========================
   SPIELER – METADATEN
   ========================= */

.player-meta-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 8px;

    margin-top: 4px;

    color: #a0a0a0;
    font-size: 10px;
}

.player-pronouns {
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    color: #a0a0a0;
    text-transform: uppercase;
    white-space: nowrap;
}

.player-meta-separator {
    color: #a0a0a0;
    opacity: 0.5;
}

.pepper-rating,
.violence-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-bottom: 0;
}

.pepper-rating i,
.violence-rating i {
    font-size: 10px;
}


/* =========================
   SPIELER – AKTIONEN
   ========================= */

.player-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 6px;

    margin-top: 7px;

    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
}

.player-actions a {
    color: var(--muted-tone);
    text-decoration: none;
}

.player-actions a:hover {
    text-decoration: underline;
}

.player-actions span {
    color: #a0a0a0;
}


/* =========================
   SPIELER – INFORMATIONEN
   ========================= */

.player-information {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    column-gap: 40px;
    row-gap: 22px;

    width: 100%;

    margin-top: 35px;
    padding: 5px 0;
}

.player-information-item {
    text-align: center;
}

.player-information-item .profilefields-main {
    margin-bottom: 4px;
}

.player-information-item .profilefields-infotext {
    line-height: 1.4;
}


/* =========================
   SPIELER – ANDERE GESICHTER
   ========================= */

.player-characters {
    width: 100%;
    margin-top: 35px;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 800px) {

    .player-information {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 30px;
    }

}

@media (max-width: 500px) {

    .player-information {
        grid-template-columns: 1fr;
    }

}

.button-text {
    font-family: 'Roboto', sans-serif;
    font-size: 9px;
    text-transform: uppercase;
    color: var(--muted-tone);
    letter-spacing: 1px;
    text-align: center;
}

.skilltable {
    background: transparent;
    border: 1px solid #a0a0a0;
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    font-color: #a0a0a0;
}

.profile-tabs-icons{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px; /* Abstand zwischen Icon und Text */
    color:var(--muted-tone);
    font-size:20px;
}

.profile-tabs-desc{
    font-family:'Roboto', sans-serif;
    font-size:10px;
    color:#a0a0a0;
    text-transform:uppercase;
}

.profile-tabs {
    width: 100%;
}

/* TAB NAVIGATION */

.profile-tabs-nav-wrapper {
    position: relative;
    border-bottom: 1px solid #ddd;
}

.profile-tabs-nav {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-tabs-btn {
    cursor: pointer;
    padding: 10px 15px;
    position: relative;
    text-align: center;
    transition: color 0.2s ease;
}

.profile-tabs-btn:hover {
    color: #fff;
}

.profile-tabs-btn.active {
    color: var(--muted-tone);
}

/* ANIMIERTE LINIE */

.profile-tabs-underline {
    position:absolute;
    height:2px;
    width:0;
    background: var(--muted-tone);
    transition:all 0.3s ease;
}

/* TAB CONTENT */

.profile-tab-panel {
    display: none;
    padding: 15px 0;
}

.profile-tab-panel.active {
    display: block;
}

.profile-maininfo-text {
    display: block;
}

.profile-maininfo-text:empty {
    display: none;
}

#profile-titlesmall:has(+ .profile-maininfo-text:empty) {
    display: none;
}

.profile-domain-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top :20px;
}

.profile-domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
}

.domain-box {
    border: 1px solid #a0a0a0;
    padding: 20px;
}

.domain-items {
    border: 1px solid #a0a0a0;
    padding: 20px;
    margin-top: 25px;
}

.domain-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.domain-list li {
    position: relative;
    padding-left: 14px;
    line-height: 1.6;
}

.domain-list li::before {
   content: "✦";
   position: absolute;
   left: 0;
   color: var(--muted-tone); }

ul {
    list-style: none;
}

ul li::marker {
    content: "✦ ";
}

.profile-maininfo-text ul {
    list-style: none;
    padding-left: 0;
    margin-left: 10px;
}

.profile-maininfo-text ul li {
    position: relative;
    padding-left: 16px;
}

.profile-maininfo-text ul li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--muted-tone);
}

.domain-box:has(.domain-list:empty),
.domain-items:has(.domain-list:empty){
    display:none;
}

#trigger-warning-profile {
    width: 96%;
    background-color: var(--base-color);
    background-image: var(--light-background);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-left: 4px solid var(--muted-tone);
    color: var(--maincolor-text);
    padding: 15px 20px;
    margin: 10px auto;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    text-align: justify;
    display: flex;          /* Flexbox aktivieren */
    align-items: center;    /* ICON vertikal mittig ausrichten */
    gap: 10px;              /* Abstand zwischen Icon und Text */
}

.trigger-icon {
    font-size: 40px;       /* Icon-Größe */
    color: var(--muted-tone);  /* Icon-Farbe passend zum Banner */
    flex-shrink: 0;        /* Icon bleibt immer gleich groß */
}

.trigger-text {
    flex: 1;               /* Text nimmt den Rest des Platzes ein */
}

.pepper-rating,
.violence-rating {
    display: inline-flex;
    gap: 4px;
    padding-bottom: 5px;
}

/* Pepper */
.pepper-rating .fa-pepper-hot {
    color: #aaa;
}

.pepper-rating.pepper-1 .fa-pepper-hot:nth-child(1),
.pepper-rating.pepper-2 .fa-pepper-hot:nth-child(-n+2),
.pepper-rating.pepper-3 .fa-pepper-hot:nth-child(-n+3),
.pepper-rating.pepper-4 .fa-pepper-hot:nth-child(-n+4),
.pepper-rating.pepper-5 .fa-pepper-hot:nth-child(-n+5) {
    color: var(--muted-tone);
}

/* Violence */
.violence-rating .fa-hand-fist {
    color: #aaa;
}

.violence-rating.violence-1 .fa-hand-fist:nth-child(1),
.violence-rating.violence-2 .fa-hand-fist:nth-child(-n+2),
.violence-rating.violence-3 .fa-hand-fist:nth-child(-n+3),
.violence-rating.violence-4 .fa-hand-fist:nth-child(-n+4),
.violence-rating.violence-5 .fa-hand-fist:nth-child(-n+5) {
    color: var(--muted-tone);
}

.inspiration-spalten {
    display: flex;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

.inspiration-spalte {
    flex: 1 1 0;
    min-width: 0;
}

@media (max-width: 700px) {
    .inspiration-spalte {
        flex: 0 0 100%;
    }
}

.spotify-container {
    width: 100%;
    margin-top: 5px;
}

.spotify-iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}