/* ========================================
   GESAMTES PROFIL
   ======================================== */

.profile-wrapper {
    width: 950px;
    height: 950px;

    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;

    padding: 20px;

    box-sizing: border-box;

    background: #111;

    overflow: hidden;
}


/* ========================================
   LINKE SIDEBAR
   ======================================== */

.profile-sidebar {
    width: 280px;
    height: 910px;

    box-sizing: border-box;

    overflow: hidden;
}


/* ========================================
   CHARAKTERNAME
   ======================================== */

.profile-name {
    width: 100%;

    padding: 10px;
    margin-bottom: 15px;

    box-sizing: border-box;

    text-align: center;
    font-weight: bold;

    background: #222;
}


/* ========================================
   AVATAR
   ======================================== */

.profile-avatar {
    width: 280px;
    height: 250px;

    margin-bottom: 20px;

    overflow: hidden;
}

.profile-avatar img {
    width: 280px;
    height: 250px;

    object-fit: cover;

    display: block;
}


/* ========================================
   SIDEBAR BOXEN
   ======================================== */

.sidebar-box {
    width: 100%;

    margin-bottom: 15px;

    box-sizing: border-box;
}

.sidebar-title {
    width: 100%;

    padding: 6px 10px;

    box-sizing: border-box;

    text-align: center;
    font-weight: bold;

    background: #222;
}

.sidebar-content {
    width: 100%;

    padding: 10px;

    box-sizing: border-box;

    text-align: center;

    background: #181818;
}


/* ========================================
   RECHTER BEREICH
   ======================================== */

.profile-main {
    min-width: 0;
    height: 910px;

    display: flex;
    flex-direction: column;

    box-sizing: border-box;

    overflow: hidden;
}


/* ========================================
   TAB NAVIGATION
   ======================================== */

.profile-tabs {
    width: 100%;
    height: 44px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;

    margin-bottom: 20px;

    box-sizing: border-box;

    flex-shrink: 0;
}


/* ========================================
   EINZELNE TABS
   ======================================== */

.profile-tab {
    width: 100%;
    height: 44px;

    padding: 5px;

    border: 0;

    box-sizing: border-box;

    cursor: pointer;

    background: #222;
    color: #aaa;

    font-family: inherit;
    font-size: inherit;
}

.profile-tab:hover {
    background: #333;
    color: #fff;
}

.profile-tab.active {
    background: #444;
    color: #fff;
}


/* ========================================
   TAB INHALTE
   ======================================== */

.profile-tab-content {
    display: none;

    width: 100%;
    height: 846px;

    box-sizing: border-box;

    overflow: hidden;
}

.profile-tab-content.active {
    display: block;
}


/* ========================================
   GRID INNERHALB DER TABS
   ======================================== */

.profile-grid {
    width: 100%;
    height: 100%;

    display: grid;

    grid-template-columns: repeat(12, 1fr);

    gap: 15px;

    box-sizing: border-box;

    align-content: stretch;
}


/* ========================================
   VERSCHIEDENE ZEILEN-AUFTEILUNGEN
   ======================================== */


/* Eine Reihe */

.grid-rows-1 {
    grid-template-rows: 1fr;
}


/* Zwei Reihen:
   oben kleiner, unten größer */

.grid-rows-2 {
    grid-template-rows: 150px 1fr;
}


/* Zwei gleich große Reihen */

.grid-rows-2-equal {
    grid-template-rows: repeat(2, 1fr);
}


/* Zwei Reihen:
   oben größer, unten kleiner */

.grid-rows-2-reverse {
    grid-template-rows: 1fr 150px;
}


/* Drei gleich große Reihen */

.grid-rows-3 {
    grid-template-rows: repeat(3, 1fr);
}


/* Drei Reihen:
   oben + unten klein,
   Mitte groß */

.grid-rows-3-middle {
    grid-template-rows: 150px 1fr 150px;
}


/* ========================================
   PROFILBOXEN
   ======================================== */

.profile-box {
    min-width: 0;
    min-height: 0;

    display: flex;
    flex-direction: column;

    box-sizing: border-box;

    background: #181818;

    overflow: hidden;
}


/* ========================================
   PROFILBOX ÜBERSCHRIFT
   ======================================== */

.profile-box-title {
    width: 100%;

    padding: 6px 10px;

    box-sizing: border-box;

    text-align: center;
    font-weight: bold;

    background: #222;

    flex-shrink: 0;
}


/* ========================================
   PROFILBOX INHALT
   ======================================== */

.profile-box-content {
    width: 100%;

    padding: 12px;

    box-sizing: border-box;

    flex: 1;

    min-height: 0;
}


/* ========================================
   SCROLLBARE INHALTE
   ======================================== */

.profile-box-content.scroll {
    overflow-y: auto;
    overflow-x: hidden;
}


/* ========================================
   BOXBREITEN
   ======================================== */


/* 1/4 */

.box-quarter {
    grid-column: span 3;
}


/* 1/3 */

.box-third {
    grid-column: span 4;
}


/* 1/2 */

.box-half {
    grid-column: span 6;
}


/* 2/3 */

.box-two-thirds {
    grid-column: span 8;
}


/* 3/4 */

.box-three-quarter {
    grid-column: span 9;
}


/* Ganze Breite */

.box-full {
    grid-column: span 12;
}