/* ==============================
MEMBER PROFILE - RPG VERSION
============================== */

html,
body {
overflow-x: hidden;
}

.rpg-profile {
max-width: 1260px;
margin: 0 auto 60px auto;
box-sizing: border-box;
}

/* Hauptkarte */
.rpg-profile-card {
background: rgba(255,255,255,0.76);
border-radius: 20px;
padding: 22px;
box-shadow: 0 22px 55px rgba(45,36,31,0.12);
box-sizing: border-box;
}

/* Hero oben */
.rpg-profile-hero {
display: grid;
grid-template-columns: minmax(0, 1fr) 330px;
min-height: 260px;
background: #3a302d;
border-radius: 16px;
overflow: hidden;
}

.rpg-profile-hero-left {
display: flex;
align-items: center;
gap: 26px;
padding: 34px;
box-sizing: border-box;
}

.rpg-profile-avatar-small {
flex: 0 0 96px;
width: 96px;
height: 96px;
border-radius: 50%;
padding: 6px;
background: #f8f4ef;
box-shadow: 0 12px 30px rgba(0,0,0,0.18);
overflow: hidden;
box-sizing: border-box;
}

.rpg-profile-avatar-small img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
}

.rpg-profile-name {
font-family: Georgia, serif;
font-size: 42px;
line-height: 1;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #c9a764;
}

.rpg-profile-faceclaim {
margin-top: 9px;
color: #f5f0ed;
font-size: 10px;
letter-spacing: 0.26em;
text-transform: uppercase;
}

.rpg-profile-userline {
margin-top: 14px;
color: rgba(245,240,237,0.74);
font-size: 12px;
letter-spacing: 0.08em;
text-transform: uppercase;
}

.rpg-profile-hero-image {
min-height: 260px;
background: rgba(0,0,0,0.15);
}

.rpg-profile-hero-image img {
display: block;
width: 100%;
height: 100%;
min-height: 260px;
object-fit: cover;
filter: sepia(0.18) contrast(0.95);
}

.rpg-profile-hero-image img[src=""] {
display: none;
}

/* Hauptlayout */
.rpg-profile-main {
display: grid;
grid-template-columns: minmax(0, 1fr) 360px;
gap: 24px;
margin-top: 24px;
align-items: start;
}

.rpg-profile-left,
.rpg-profile-right {
min-width: 0;
}

/* Quote */
.rpg-profile-quote {
background: rgba(255,255,255,0.94);
border-radius: 16px;
padding: 24px 34px;
margin-bottom: 22px;
text-align: center;
box-shadow: 0 10px 26px rgba(45,36,31,0.06);
}

.rpg-profile-quote div {
max-width: 520px;
margin: 0 auto;
line-height: 1.7;
font-size: 14px;
}

.rpg-profile-quote span:not(.rpg-profile-quote-mark) {
font-size: 11px;
letter-spacing: 0.16em;
text-transform: uppercase;
color: #8d7661;
}

.rpg-profile-quote-mark {
display: block;
font-family: Georgia, serif;
font-size: 42px;
line-height: 0.8;
color: #3a302d;
opacity: 0.25;
}

/* Allgemeine Boxen */
.rpg-profile-textbox,
.rpg-profile-section,
.rpg-profile-facts,
.rpg-profile-miniinfo {
background: rgba(255,255,255,0.94);
border-radius: 16px;
margin-bottom: 22px;
overflow: hidden;
box-shadow: 0 10px 26px rgba(45,36,31,0.06);
}

.rpg-profile-box-title {
background: #3a302d;
color: #c9a764;
font-family: Georgia, serif;
font-size: 15px;
font-weight: 700;
letter-spacing: 0.20em;
text-transform: uppercase;
padding: 15px 20px;
text-align: center;
}

.rpg-profile-text {
padding: 26px 30px;
line-height: 1.85;
color: #1f1a18;
font-size: 14px;
white-space: pre-line;
overflow-wrap: break-word;
text-align: left;
}

/* Wissenswertes als große, lesbare Box */
.rpg-profile-notes {
text-align: left;
columns: 2;
column-gap: 38px;
line-height: 1.85;
}

/* Rechte Sidebar */
.rpg-profile-sidebar-sticky {
position: sticky;
top: 20px;
}

/* Steckbrief + Board Info */
.rpg-profile-fact {
display: grid;
grid-template-columns: 120px minmax(0, 1fr);
border-bottom: 1px solid rgba(58,48,45,0.08);
}

.rpg-profile-fact:last-child {
border-bottom: 0;
}

.rpg-profile-fact span {
background: rgba(58,48,45,0.055);
color: #c9a764;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.16em;
text-transform: uppercase;
padding: 14px;
box-sizing: border-box;
text-align: center;
}

.rpg-profile-fact strong {
padding: 14px;
font-size: 13px;
font-weight: 500;
color: #1f1a18;
overflow-wrap: break-word;
box-sizing: border-box;
text-align: center;
}

/* Zwei breite Boxen */
.rpg-profile-widegrid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 24px;
margin-top: 28px;
}

/* Szenentracker */
.rpg-profile-tracker {
padding: 24px;
text-align: center;
line-height: 1.65;
}

.rpg-profile-tracker table {
max-width: 100%;
}

/* Forum Info */
.rpg-profile-forumgrid {
display: grid;
grid-template-columns: 220px minmax(0, 1fr);
}

.rpg-profile-label,
.rpg-profile-value {
padding: 15px 18px;
border-bottom: 1px solid rgba(58,48,45,0.08);
box-sizing: border-box;
}

.rpg-profile-label {
background: rgba(58,48,45,0.055);
color: #3a302d;
font-weight: 700;
text-align: left;
}

.rpg-profile-value {
color: #1f1a18;
overflow-wrap: break-word;
text-align: left;
}

/* MyBB-Reste entschärfen */
.rpg-profile table {
max-width: 100%;
box-sizing: border-box;
}

.rpg-profile img {
max-width: 100%;
height: auto;
}

.rpg-profile-actions {
text-align: center;
margin-top: 24px;
}

/* Falls alte Profilfeldbox noch irgendwo auftaucht */
.profilfeldbox {
width: 100%;
}

/* Responsive */
@media (max-width: 1050px) {
.rpg-profile-hero {
grid-template-columns: 1fr;
}

```
.rpg-profile-hero-image {
    max-height: 320px;
}

.rpg-profile-main {
    grid-template-columns: 1fr;
}

.rpg-profile-widegrid {
    grid-template-columns: 1fr;
}

.rpg-profile-notes {
    columns: 1;
}

.rpg-profile-sidebar-sticky {
    position: static;
    top: auto;
}
```

}

@media (max-width: 700px) {
.rpg-profile-hero-left {
flex-direction: column;
align-items: flex-start;
}

```
.rpg-profile-name {
    font-size: 30px;
}

.rpg-profile-fact {
    grid-template-columns: 1fr;
}

.rpg-profile-forumgrid {
    grid-template-columns: 1fr;
}
```

}
