.memberprofile {
  background: var(--tbl-main-tr2);
  overflow: hidden;
  font-family: var(--fliesstext);
  color: var(--txtcol);
	  position: relative;
}

.memberprofile[class~="9"]  { background-color: rgba(var(--vampir-rgb), 0.4);  }
.memberprofile[class~="8"]  { background-color: rgba(var(--hexe-rgb), 0.4);  }
.memberprofile[class~="13"]  { background-color: rgba(var(--medium-rgb), 0.4);  }
.memberprofile[class~="14"]  { background-color: rgba(var(--beschenkt-rgb), 0.4);  }
.memberprofile[class~="11"]  { background-color: rgba(var(--daemon-rgb), 0.4);  }
.memberprofile[class~="10"]  { background-color: rgba(var(--werwesen-rgb), 0.4);  }
.memberprofile[class~="12"]  { background-color: rgba(var(--mensch-rgb), 0.4);  }
.memberprofile[class~="2"]  { background-color: rgba(var(--bewerber-rgb), 0.2);  }

.mp-banner {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.mp-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.mp-overlay {
  position: absolute;
  bottom: 10px;
  left: 20px;
    right: 280px;
    display: flex;
    flex-direction: column;
  flex-direction: column;
  color: var(--tbl-main);
	z-index: 2;
	align-items: flex-end;
}

.mp-avatar {
  position: absolute;
  top: 220px;       /* Höhe vom Profilrand aus */
  right: 30px;
  z-index: 5;
}

.mp-avatar img {
  width: 230px;
  height: 275px;
  object-fit: cover;
  border: 4px solid var(--tbl-main);
  background: var(--akzent-dkl);
}

.mp-rest {
  position: absolute;
  top: 875px;
  right: 30px;
  z-index: 5;
	  border: 4px solid var(--tbl-main);
  background: var(--akzent-dkl);
	  width: 230px;
	    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mp-gif {
  position: absolute;
  top: 740px;       /* Höhe vom Profilrand aus */
  right: 30px;
  z-index: 5;
	  border: 4px solid var(--tbl-main);
  background: var(--akzent-dkl);
	  width: 230px;
}

.mp-gif > img { 
	height: 125px; }

/* Buttons unterhalb des Avatars */
.mp-avatar-buttons {
  position: absolute;
   top: calc(220px + 287px);
    display: flex;
    right: 30px;
    gap: 5px;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-content: center;
    width: 238px;
}

.mp-avatar-buttons .button {
    display: flex;
    padding: 5px;
    background: var(--tbl-main);
    font-size: var(--txtxxsmall);
    gap: 3px;
    justify-content: center;
    align-items: center;
	width: 100%;
}


.mp-avatar img {
  border: 4px solid var(--tbl-main);
  background: var(--akzent-dkl);
}

.mp-username {
display: flex;
    justify-content: flex-start;
    gap: 20px;
    font-size: var(--txtxxxl);
    font-family: var(--akzenttext);
	color: var(--txtcol);
    text-transform: lowercase;
    z-index: 3;
	align-items: center;
    flex-direction: row-reverse;
    text-shadow: 3px 2px 1px var(--tbl-main-tr);
	line-height: 0.5em;
}

.mp-usertitle {
  font-size: var(--txtm);
  font-family: var(--fliesstext);
  letter-spacing: 2px;
  font-weight: 200;
  text-shadow: none;
  margin-top: 5px;
}

.mp-basics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 15px;
  background: var(--tbl-main-tr);
}

.mp-basics > div:not(.postbit-online,.postbit-offline,.postbit-away) {
  background: var(--tbl-main-tr2);
  padding: 6px 10px;
  border-radius: 5px;
  font-size: var(--txtxsmall);
  color: var(--akzent-flash3);
	    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
	z-index: 2;
}

/* Tabs nur für Memberprofile */
.memprof-tabs {
  margin-top: 15px;
  font-size: var(--txtm);
  color: var(--akzent-flash2);
  z-index: 2;
}

.memprof-tab_icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    background: var(--tbl-main-tr2);
    padding: 5px 10px;
    font-weight: 900;
    margin-right: 270px;
}

.memprof-tab_icons i {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: var(--txtm);
  color: var(--akzent-flash2);
  padding: 6px 12px;
  border-radius: 5px;
  transition: all 0.2s ease;
  transform: scale(1);
}

.memprof-tab_icons i.active {
  background: var(--tbl-main-tr);
  color: var(--akzent-dkl);
  transform: scale(1.1);
  box-shadow: 0 0 6px var(--akzent-dkl);
}

.memprof-tab_icons i:hover:not(.active) {
  background: var(--tbl-main);
  color: var(--akzent-flash3);
  transform: scale(1.05);
}

.memprof-tab_content {
  background: var(--tbl-main-tr);
  padding: 15px;
	    text-align-last: left;
    text-align: justify;
    line-height: 1.5em;
	color: var(--txtcol);
	  margin-right: 270px;
  min-height: 580px;
  box-sizing: border-box;
}

.memprof-tab_panel { display: none; }
.memprof-tab_panel.active { display: block; }

.mp-extra-tabs {
    display: flex;
    flex-direction: row;
    gap: 5px;
    margin-top: 5px;
    width: 100%;
    justify-content: space-around;
}

.mp-extra-tabs .button {
  background: var(--tbl-main-tr2);
  color: var(--akzent-flash2);
  padding: 6px 10px;
  font-size: var(--txtxsmall);
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mp-extra-tabs .button:hover {
  background: var(--tbl-main);
  color: var(--akzent-flash3);
}

.mp-quote  {
	align-items: center;
    justify-content: flex-end;
    display: flex;
    gap: 30px;
	margin-bottom: 20px;
	width: 100%;
 }

.mp-quote2 {  background: var(--tbl-main-tr3);
    padding: 25px;
    text-align-last: left;
    text-align: justify;
    line-height: 0.8em;
    color: var(--txtcol);
    width: 100%;
    font-size: var(--txtxxl);
    font-family: var(--akzenttext);
	text-shadow: 3px 2px 1px var(--tbl-main-tr);
position: relative; } 

.mp-quote2::before {
  content: "“"; 
  position: absolute;
  top: 15px;
  left: -10px;
  font-size: var(--txtxxxl);
  color: var(--akzent-dkl);
  opacity: 0.6;
  z-index: 2;
}

.mp-quote2::after {
  content: "”";
  position: absolute;
  top: 15px;
  right: -10px;
  font-size: var(--txtxxxl);
  color: var(--akzent-dkl);
  opacity: 0.6;
  z-index: 2;
}

.mp-signatur { background: var(--tbl-main-tr2);
  padding: 15px;
	color: var(--txtcol);
	width: auto;
display: flex;
justify-content: center;
    align-items: center; }

.mp-look1 {     align-items: center;
    justify-content: space-evenly;
	    display: flex;
    gap: 30px;
position: relative; }

.mp-look2 { 	align-items: center;
    justify-content: flex-end;
    display: flex;
    gap: 30px;
position: relative; }

.mp-look {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* zwei Spalten */
  gap: 10px;
  background: var(--tbl-main-tr2);
	height: 160px;
    width: 50%;
}

.mp-lookfield {
  position: relative;
  background: var(--tbl-main-tr2);
  padding: 6px 10px;
  font-size: var(--txtxsmall);
  color: var(--akzent-flash3);
  text-align: center;
	margin: 15px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icons als Pseudo-Elemente */
.mp-lookfield::before {
    font-size: var(--txtxl);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: -5px;
    left: -5px;
    color: var(--tbl-main);
    text-shadow: 3px 2px 1px var(--tbl-main-tr2);
}

.mp-lookfield.groesse::before {
  content: "\f545"; /* ruler-vertical */
}

.mp-lookfield.statur::before {
  content: "\f183"; 
}

.mp-lookfield.haare::before {
  content: "\f55d"; /* brush */
}

.mp-lookfield.augen::before {
  content: "\f06e"; 
}

.mp-looktext {
  background: var(--tbl-main-tr3);
  padding: 15px;
  border-radius: 5px;
  font-size: var(--txtm);
  color: var(--txtcol);
  line-height: 1.4em;
  text-align: justify;
  text-align-last: left;
}

.mp-img {
  border: 4px solid var(--tbl-main-tr);
  background: var(--akzent-dkl);
  min-width: 160px; 
  max-width: 160px; 
  height: 275px;
  background: var(--akzent-dkl);
  overflow: hidden; 
  display: flex;
  align-items: center; 
  justify-content: center;
}
.mp-img > img {
  max-width: none;
  max-height: none;
  opacity: 0.7;
}

.mp-img2 {
  border: 4px solid var(--tbl-main-tr);
  background: var(--akzent-dkl);
  height: 160px;
  width: 50%;
  background: var(--akzent-dkl);
  overflow: hidden; 
  display: flex;
  align-items: center; 
  justify-content: center;
}
.mp-img2 > img {
  max-width: none;
  max-height: none;
  opacity: 0.7;
}

.mp-charakter { background: var(--tbl-main-tr3);
  padding: 15px;
	    text-align-last: left;
    text-align: justify;
    line-height: 1.5em;
	color: var(--txtcol); 
	width: auto; }

/* Familiar-Box */
.familiar-box {
  background: var(--tbl-main-tr3);
  padding: 20px;
  margin-top: 10px;
  color: var(--txtcol);
  font-family: var(--fliesstext);
  font-size: var(--txtm);
  line-height: 1.4em;
  position: relative;
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

/* Name als Badge */
.familiar-name {
  float: right;
  padding: 6px 10px;
  font-size: var(--txtxxl);
  color: var(--akzent-dkl);
  margin-left: 10px;
  margin-top: 5px;
  text-transform: lowercase;
  font-weight: 600;
  font-family: var(--akzenttext);
}

/* Art (klein daneben) 
.familiar-box .markierung {
  font-size: var(--txtxxsmall);
  font-style: italic;
  color: var(--akzent-flash2);
  margin-left: 5px;
}*/

/* Bildcontainer */
.mp-img-fam {
  min-width: 230px; 
  max-width: 230px; 
  height: 275px;
  margin: 10px;
  border: 4px solid var(--tbl-main);
  background: var(--akzent-dkl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mp-img-fam img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; 
  display: block;
}

.familiar-box .fambeschreibung {
  margin-top: 10px;
  font-size: var(--txtm);
  text-align: justify;
  text-align-last: left;
  line-height: 1.5em;
}


.chara-as {width: 220px;
    height: 70px;
    display: flex;
    gap: 5px;
    padding: 5px;
    overflow: auto; }

.chara-as img { width: 50px; }

.likes-dislikes-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
  font-family: var(--fliesstext);
  font-size: var(--txtm);
  color: var(--txtcol);
}

.likes-block, .dislikes-block {
  background: var(--tbl-main-tr3);
  padding: 20px;
  position: relative;
  min-height: 150px;
  overflow: hidden;
  text-align: justify;
  line-height: 1.5em;
}

.block-label {
  font-family: var(--akzenttext);
  font-size: var(--txtxl);
  text-transform: lowercase;
  margin-bottom: 10px;
  color: var(--akzent-dkl);
  position: relative;
  z-index: 2;
line-height: 0.8em;
}

.likes-block::before {
content: "\f004";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: var(--txtxl);
  color: var(--akzent-flash2);
  opacity: 0.2;
  z-index: 1;
}

.dislikes-block::before {
content: "\f05e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: var(--txtxl);
  color: var(--akzent-flash2);
  opacity: 0.2;
  z-index: 1;
}

/* Trivia-Box */
.trivia-block {
  background: var(--tbl-main-tr3);
  margin-top: 30px;
  padding: 20px;
  font-family: var(--fliesstext);
  font-size: var(--txtm);
  color: var(--txtcol);
  text-align: justify;
  line-height: 1.5em;
  position: relative;
}

.trivia-block::before {
  content: "\f5dc"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 60px;
  color: var(--akzent-flash);
  opacity: 0.2;
}

