/* GLOBAL */
html {
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* LEFT SIDEBAR */
.postbitleft {
  width: 22rem !important;
  min-width: 22rem !important;
  max-width: 22rem !important;
  flex: 0 0 22rem !important;
}


/* MAIN CONTAINERS */
.postbitbox,
.postbithd,
.postbox,
.postbitbottom,
.postbitheader {
  width: min(100%, 100rem);
  margin: 0 auto;
}



/* HEADER */
.postbithd {
  background-color: rgba(18, 18, 17, 0.6);
  backdrop-filter: blur(5px);
  padding: 1.25rem;
  background-image: url(https://i.ibb.co/QjRLCLr/ezgif-129111cbe0b44.png);
  background-size: cover;
  background-position: center;
}

/* NAME WRAPPER */
.postname {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  overflow: hidden;
}

/* LARGE BACKGROUND NAME */
.postbitname {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  text-transform: uppercase;
  color: rgba(169, 169, 169, 0.1);
  text-align: left;
  line-height: 2.1;
}

/* FOREGROUND NAME */
.postbitfullname {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.125rem;
  color: #bad072;
  text-align: left;
  margin-top: -2.4rem;
  margin-right: 2.5rem;
  text-shadow: 2px 4px 3px #000;
}

/* SUBTEXT */
.postbitlook {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  text-align: left;
  width: 100%;
  max-width: 75rem;
  color: #ececec;
  margin-top: 0.2rem;
  text-shadow: 2px 2px 5px black;
}

/* POST BOX */
.postbox {
  width: min(100%, 100rem);
  margin: 0 auto 3.75rem;
  background-color: rgba(18, 18, 17, 0.3);
  backdrop-filter: blur(5px);
}

/* USER SECTION */
.postbituser {
  width: 100%;
  max-width: 22rem;
  padding: 1.25rem;
  margin: 0 auto 2rem auto;
}

/* AVATAR */
.postbitava {
  width: 100%;
  max-width: 17.5rem;
  height: auto;
  display: block;
  margin: 0 auto 0.9rem auto;
  border: solid 5px #191919;
  border-radius: 4px;
}

/* CHARACTER INFO ROWS */
.charquickinfo {
  width: 100%;
  max-width: 17.5rem;
  margin: 1rem auto 1.25rem auto;
  background: #161614;
  border: 2px solid #191919;
  font-family: 'Josefin Sans', sans-serif;
  overflow: hidden;
}

.charrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateY(8px);
  animation: rowFadeUp 0.45s ease forwards;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.charrow:nth-child(1) { animation-delay: 0.05s; }
.charrow:nth-child(2) { animation-delay: 0.12s; }
.charrow:nth-child(3) { animation-delay: 0.19s; }
.charrow:nth-child(4) { animation-delay: 0.26s; }

.charrow:last-child {
  border-bottom: none;
}

.charrow:hover {
  background: #1b1b18;
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(186, 208, 114, 0.08);
}

.charrow b {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  color: #9fbf6a;
  font-weight: 600;
}

.charrow b::after {
  content: " —";
  margin-left: 0.1rem;
}

.charrow span {
  font-size: 0.72rem;
  color: #ececec;
  text-align: center;
}

/* CHARACTER BOX */
.postbitchar {
  width: 100%;
  max-width: 17.5rem;
  height: 11.25rem;
  background-color: #191919;
  padding: 0.3125rem;
  margin: 0.85rem auto 1.25rem auto;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}

.postbitchar::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.postbitchartxt {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.75rem;
  text-align: justify;
  line-height: 1.55;
  color: #ececec;
  padding: 0.35rem;
  font-weight: 400;
}

/* PROGRESS BARS */
.progresswrap {
  width: 100%;
  max-width: 17.5rem;
  margin: 0.9rem auto;
}

.progressouter {
  width: 100%;
  height: 1.25rem;
  background: #0f0f0f;
  border: 2px solid #191919;
  border-radius: 1.25rem;
  overflow: hidden;
}

.progressinner {
  height: 100%;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  padding-left: 0.45rem;
  box-sizing: border-box;
}

.healthfill {
  background: linear-gradient(90deg, #157a34 0%, #29c253 100%);
}

.hungerfill {
  background: linear-gradient(90deg, #c96516 0%, #f58a2a 100%);
}

.progresstxt {
  font-size: 0.68rem;
  line-height: 1;
  color: #000;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
}

/* STAT GRID */
.postbitgrid {
  width: 100%;
  max-width: 17.5rem;
  margin: 1.25rem auto 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.infobox {
  background: #161614;
  border: 1px solid #1f1f1f;
  min-height: 0.5rem;
  padding: 0.6rem 0.45rem;
  overflow: hidden;
  transition: background 0.2s ease;
}

.infobox:hover {
  background: #1c1c1a;
}

.infotitle {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06rem;
  color: #bad072;
  margin-bottom: 0.25rem;
  text-align: center;
}

.infotxt {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.7rem;
  line-height: 1.35;
  color: #ececec;
  text-align: center;
}

/* MAIN POST TEXT */
.postbittxt {
  width: min(100%, 75rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
}

/* DIVIDER */
.postbithr {
  width: min(100%, 70rem);
  height: 1px;
  background-color: #393939;
  margin: 1.25rem auto 1.875rem;
}

/* BOTTOM BAR */
.postbitbottom {
  background-color: rgba(18, 18, 17, 0.6);
  width: min(100%, 100rem);
  padding: 0.75rem;
  margin: 0 auto;
}

.postbitsub {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  color: #a9a9a9;
  text-align: left;
  margin-left: 0.625rem;
  margin-right: 0.625rem;
}

/* TITLE */
.postbitheader {
  background-color: rgba(18, 18, 17, 0.9);
  backdrop-filter: blur(5px);
  padding: 0.75rem;
}

.postbittitle {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.125rem;
  color: #bad072;
  text-align: right;
  margin: 1.5rem 1.875rem 0.625rem;
}

.postbitsubtitle {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  color: #ececec;
  text-align: right;
  margin: 0 1.875rem 1.5rem;
}

/* REMOVE POST NUMBER ICON */
.post_number a:after {
  content: none !important;
}

/* SIGNATURE */
.sigwrap {
  width: min(100%, 70rem);
  margin: 0 auto;
  text-align: left;
  color: red;
}

/* ANIMATION */
@keyframes rowFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .postbitname {
    text-align: center;
    line-height: 1.8;
  }

  .postbitfullname {
    text-align: center;
    margin-top: -1rem;
    margin-right: 0;
  }

  .postbitlook,
  .postbittitle,
  .postbitsubtitle {
    text-align: center;
  }

  .postbittxt {
    width: 100%;
    padding: 1.25rem 0.875rem;
  }

  .postbittitle,
  .postbitsubtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .postbitava,
  .postbitchar,
  .postbitgrid,
  .charquickinfo {
    max-width: 100%;
  }

  .sigwrap,
  .postbithr {
    width: 100%;
  }

	