.lp_postdesript,
.cursed-profile-text{
  white-space:pre-wrap;
}
/* Scrollbar */
.profil_text::-webkit-scrollbar-thumb,
#tabs4::-webkit-scrollbar-thumb,
#tabs5::-webkit-scrollbar-thumb {
    background: rgba(111, 135, 152, 0.25);
}


<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">

/* ==========================================================
   WRAPPER
========================================================== */

.cursed-profile-wrap{
    width:550px;
    margin:20px auto;
    padding:20px;

    background:var(--tbf-bg-panel);
    color:var(--tbf-text);

    font-family:var(--tbf-font-body);
    font-size:13px;
    line-height:1.9;

    border:1px solid var(--line);
    box-shadow:var(--shadow);
}


/* MAIN */

.cursed-profile-inner{
  background:
        linear-gradient(
            180deg,
            var(--tbf-bg-card) 0%,
            var(--tbf-bg-row-2) 100%
        );

    border:1px solid var(--line);
	border-radius:14px;
  overflow:hidden;
}

/* HEADER */

.cursed-profile-head{
  padding:34px 28px 24px;
  background:
        linear-gradient(
            180deg,
            var(--tbf-bg-row-2),
            var(--tbf-bg-panel)
        );

    border-bottom:1px solid var(--line);
}

.cursed-profile-title,
.cursed-profile-name,
.cursed-profile-h2{
    font-family:var(--tbf-font-display);
    color:var(--accent);
  font-size:50px;
  line-height:.9;
}

.cursed-profile-sub{
  margin-top:10px;
  font-size:8px;
  text-transform:uppercase;
   color:var(--tbf-text-muted);
    letter-spacing:.35em;
}

.cursed-profile-icons{
  margin-top:18px;
  display:flex;
  gap:18px;
  color:var(--accent);
  font-size:13px;
}

/* ==========================================================
   TABS
========================================================== */


.cursed-profile-tabs{
  padding:18px;
	 gap:10px;
}

.cursed-profile-tabs input[type="radio"]{
    display:none;
}

.cursed-profile-nav{
  display:flex;
  gap:8px;
  margin-bottom:16px;
}

.cursed-profile-nav label{
  flex:1;
    background:var(--tbf-bg-row-1);
    border:1px solid var(--line);
    color:var(--tbf-text-muted);
    border-radius:4px;
    font-size:.72rem;
    transition:var(--ease);
  padding:10px 8px;
  text-align:center;
  letter-spacing:2px;
  text-transform:uppercase;
  cursor:pointer;
}

.cursed-profile-nav label:hover{
    border-color:var(--line-strong);
    color:var(--accent);
}

#tab-basic:checked ~ .cursed-profile-nav label[for="tab-basic"],
#tab-player:checked ~ .cursed-profile-nav label[for="tab-player"],
#tab-story:checked ~ .cursed-profile-nav label[for="tab-story"],
#tab-facts:checked ~ .cursed-profile-nav label[for="tab-facts"],
#tab-relations:checked ~ .cursed-profile-nav label[for="tab-relations"],
#tab-inplay:checked ~ .cursed-profile-nav label[for="tab-inplay"],
#tab-extra:checked ~ .cursed-profile-nav label[for="tab-extra"]{
  background:var(--accent);
    color:var(--tbf-bg);
    border-color:var(--accent);
}

.cursed-profile-panel{
  display:none;
  background:var(--tbf-bg-row-1);
    border:1px solid var(--line);
    border-radius:4px;
    padding:24px;
}

#tab-basic:checked ~ .cursed-profile-content .basic,
#tab-player:checked ~ .cursed-profile-content .player,
#tab-story:checked ~ .cursed-profile-content .story,
#tab-facts:checked ~ .cursed-profile-content .facts,
#tab-relations:checked ~ .cursed-profile-content .relations,
#tab-inplay:checked ~ .cursed-profile-content .inplay,
#tab-extra:checked ~ .cursed-profile-content .extra{
  display:block;
}

/* ==========================================================
   AVATAR
========================================================== */


.cursed-profile-grid{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:18px;
}

.cursed-profile-img{
  position:relative;
  overflow:hidden;
  background:var(--tbf-bg-panel);
    border:1px solid var(--line);
    border-radius:4px;
  height:220px;
  width:250px;
}

.cursed-profile-img img{
  width:250px;
  height:220px;
  object-fit:cover;
filter:
        grayscale(35%)
        sepia(15%)
        contrast(1.08)
        brightness(.92);
}

.cursed-profile-img-icon{
  position:absolute;
  left:14px;
  bottom:14px;
  width:34px;
  height:34px;
  background:rgba(20,17,13,.95);
    border:1px solid var(--line);
    color:var(--accent);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}
/* ==========================================================
   FACTS
========================================================== */

.cursed-profile-facts{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.cursed-profile-facts span{
  background:var(--tbf-bg-panel);
    border:1px solid var(--line);
    border-radius:4px;
    color:var(--tbf-text);
    font-size:.72rem;
  padding:8px 10px;
  text-transform:uppercase;
  letter-spacing:1px;
}

.cursed-profile-large{
    height:120px;
    align-items:flex-start;
    padding-top:15px;
  overflow: scroll;
-ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none;
}

.cursed-profile-facts b{
  color:var(--accent);
}

/* ==========================================================
   TEXT
========================================================== */

.cursed-profile-text,
.cursed-profile-list,
.cursed-profile-relation-text{

  overflow-y:auto;
  padding-right:7px;
  text-align:justify;
  color:var(--tbf-text);
	  line-height:1.9;
}

.cursed-profile-text::-webkit-scrollbar{
  width:4px;
}

.cursed-profile-text::-webkit-scrollbar-thumb{
  background:#8ea4b5;
  border-radius:10px;
}

.cursed-profile-text::-webkit-scrollbar-track{
  background:#d4d0c8;
}

/* ==========================================================
   RELATIONS
========================================================== */

.cursed-profile-relations{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.cursed-profile-relation-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.cursed-profile-relation-char{
  position:relative;
   background:var(--tbf-bg-row-1);
    border:1px solid var(--line);
    border-radius:4px;
  padding:12px;
 
}

.cursed-profile-relation-char img{
  width:100%;
  height:120px;
  object-fit:cover;

border-radius:4px;

    filter:
        grayscale(35%)
        sepia(15%)
        contrast(1.08)
        brightness(.92);
}

.cursed-profile-relation-name{
  margin-top:10px;
  color:var(--accent);
 font-family:var(--tbf-font-display);
  font-size:28px;
  line-height:.9;
}

.cursed-profile-relation-icon{
  position:absolute;
  right:20px;
  top:94px;
  width:30px;
  height:30px;
 background:var(--tbf-bg-panel);
    border:1px solid var(--line);
    color:var(--accent);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  z-index:3;
}

.cursed-profile-relation-text{
  max-height:90px;
  overflow-y:auto;

  padding-right:6px;

  text-align:justify;
  font-size:10px;
  line-height:1.6;
 color: var(--tbf-text);
}

.cursed-profile-relation-text::-webkit-scrollbar{
  width:4px;
}

.cursed-profile-relation-text::-webkit-scrollbar-thumb{
  background:#8ea4b5;
  border-radius:10px;
}

.cursed-profile-relation-text::-webkit-scrollbar-track{
  background:#d4d0c8;
}

.rel-main-wrapper{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.rel-column{
    width:100%;
}

.rel-card-container{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
    gap:15px;
    margin-top:10px;
}

.cursed-profile-inplay-grid{
    display:block;
    width:100%;
}

.cursed-profile-inplay-grid fieldset{
    width:100%;
    box-sizing:border-box;
}

/* EXTRA */

.cursed-profile-list{
  margin:0;
  padding:0;
  list-style:none;
  color:var(--tbf-text);
}

.cursed-profile-list li{
  position:relative;
  padding-left:24px;
  margin-bottom:10px;
}

.cursed-profile-list li i{
  position:absolute;
  left:0;
  top:3px;
  color:var(--tbf-text);
}

/* BOLD */

.cursed-profile-bold{
  background:rgba(184,108,74,.1);
  color:#2a2e31;

  padding:2px 7px;
  border-radius:20px;

  font-size:10px;
  text-transform:uppercase;
  letter-spacing:1px;
}

/* FOOTER */

.cursed-profile-footer{
 background:var(--tbf-bg-panel);
    border-top:1px solid var(--line);
    color:var(--tbf-text-muted);
  padding:13px 20px;
  display:flex;
  justify-content:flex-end;
  gap:16px;
}

.cursed-profile-credit{
  position:relative;
    color:var(--accent)!important;
  text-decoration:none!important;
}

.cursed-profile-credit::after{
  content:"© Nia";

  position:absolute;
  right:0;
  bottom:24px;
   background:var(--tbf-bg-row-1);
    border:1px solid var(--line);
    color:var(--tbf-text);
  padding:6px 10px;
  border-radius:10px;
  font-size:8px;
  letter-spacing:1px;
  text-transform:uppercase;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;

  transform:translateY(6px);
  transition:.3s ease;
}

.cursed-profile-credit:hover::after{
  opacity:1;
  transform:translateY(0);
}

.cursed-profile-full{
  grid-column:1 / -1;
}

.cursed-profile-mood{
  display:grid;

  grid-template-columns:1.2fr .8fr;
  grid-template-rows:120px 120px;

  gap:10px;
}

.cursed-profile-mood-big{
  grid-row:1 / 3;
  position:relative;
  overflow:hidden;
  border-radius:14px;
}

.cursed-profile-mood-big img,
.cursed-profile-mood-small img{
  width:100%;
  height:100%;
  object-fit:cover;

  filter:
    grayscale(55%)
    sepia(18%)
    brightness(.9)
    contrast(1.06);
}

.cursed-profile-mood-small{
  overflow:hidden;
  border-radius:14px;
}

.cursed-profile-mood-quote,
.cursed-profile-mood-song{
   background:var(--tbf-bg-row-1);
    border:1px solid var(--line);
    border-radius:4px;
    color:var(--tbf-text);
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-family:'UnifrakturCook', serif;
  font-size:24px;
  line-height:1.1; 
}


.cursed-profile-mood-song i{
  color:var(--accent);
}

.rel-npc-form,
.rel-add-form,
.rel-column,
.rel-column-content{
    overflow:visible !important;
    height:auto !important;
    max-height:none !important;
}

.rel-npc-button{
    display:inline-block !important;
    visibility:visible !important;

    margin-top:10px !important;
    padding:8px 16px !important;

    background:#b86c4a !important;
    color:#fff !important;

    border:none !important;
    border-radius:20px !important;

    cursor:pointer;
}

.cursed-profile-panel.extra .cursed-profile-text{
    max-height:none;
    overflow:visible;
}