.personal {
width: calc(100% - 2px);
    background: url(https://forumstatic.ru//files/001b/70/52/78282.png);
    border: 1px solid #000;
    margin: 0 auto;
    border-radius: 0; overflow: hidden; 
    margin: 0px 0 15px;
    display: grid;
    grid-template-columns: 550px auto;
    height: 700px;
    border-radius: 0 30px 30px 0;
    width: 966px;
}

.personal-left {padding-bottom:30px; max-height: 700px;
    display: flex;
    flex-direction: column;
    overflow: hidden;}

    .personal-left > * {
    flex-shrink: 0;
}


.personal__intro-block {
width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.personal__name {
font-family: var(--font-accent);
    font-size: 70px;
    display: -webkit-box;
    display: -ms-flexbox;
    background: var(--personal-name);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: min-content;
    height: 100%;
    text-transform: uppercase;
    line-height: 56px;
    margin-left: -18px;
    position: relative;
    z-index: 10;
    letter-spacing: -1.5px;
    margin-top: -2px;
    font-weight: 600;
}



.personal__powers {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.personal__powers__item {
    font-family: var(--font-accent);
    color: var(--white-font);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    position: relative;
    cursor: pointer;
    text-transform: uppercase;
    margin-left: 44px;
    background: #111;
    padding: 5px 20px 5px 5px;
    display: flex;
    flex-direction: row;
    border-radius: 10px 0 0 10px;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.personal__powers__item::before {
font-family: Material Symbols Rounded;
font-variation-settings: 'FILL' 1;
    color: var(--bull-accent);
    position: relative;
    top: 0;
    margin-left: 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 0;
    display: block;
}

.personal__powers__item.nature::before {
    content: "\ef55\ec1c\ea35";
}

.personal__powers__item.soul::before {
    content: "\f31e\f894\f7fe";
}

.personal__powers__item.fruit::before {
    content: "\e110";
}

.personal__about-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
          margin: 20px 30px 0;
          gap: 20px;
}

.personal__job {
position: relative;
    font-size: 23px;
    font-family: var(--font-accent);
    text-transform: uppercase;
    font-weight: 500;
    line-height: 0px;
}

.personal__job::before {
    content: '—';
    position: relative;
    font-weight: normal;
    margin-right: 10px;
}

.personal__job span {
font-size: 15px;
    font-weight: 600;
    line-height: 20px;
}

.personal__job span::before{
    content: ';';
    position: relative;
    font-weight: normal;
    margin-right: 10px; font-size: 23px;
}



.personal__about {
font-size: 9px;
    font-family: var(--main-title);
    line-height: 10px;
    text-align: justify;
    background-color: #000;
    color: #fff;
    padding: 8px 20px 8px 70px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);

}

.personal__about::before {
position: absolute;
    content: "“";
    font-weight: 600;
    font-size: 138px;
    text-transform: uppercase;
    background: var(--personal-name);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-accent);
    left: -12px;
    z-index: 10;
    color: #ff0000;
    top: -23px;
    line-height: initial;
}



.personal__info {
  padding: 30px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 570px auto;
      grid-template-columns: 570px auto;
  -webkit-column-gap: 30px;
          column-gap: 30px;
  height: 194px;
}

.personal__inventar-outer {
border-radius: 10px;
    overflow: hidden;
    display: flex;
    margin: 20px 30px 0;
    flex: 1;
}

.personal__inventar {
  background-color: var(--personal-color);
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    cursor: default;
}

.personal__inventar__item {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto auto;
      grid-template-columns: auto auto;
  -webkit-column-gap: 30px;
          column-gap: 30px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}



.personal__inventar__img {
  width: 60px;
    height: 60px;
    padding: 20px;
    background: linear-gradient(45deg, var(--accent) 15%, transparent 90%);
    border-radius: 15px;
    box-shadow: 0 4px 4px var(--accent2);
    transition: transform 0.2s;

}

.personal__inventar__item:hover .personal__inventar__img {
    transform: scale(1.08);
}

.personal__inventar__text {
  text-align: justify;
  font-family: var(--main-title);
  font-size: 11px;
  line-height: 11px;
  color: #000;
}


.personal-right {
    background: url(/files/001c/03/d3/36971.jpg);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: -5px 0 12px 0 rgba(0, 0, 0, 0.25);
    padding: 30px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    box-sizing: border-box;
}

.personal__stickers-wrapper {
    position: relative;
    flex-shrink: 0;
    margin-top: auto;
}

.personal__stickers-label {
    font-family: var(--font-accent);
    color: var(--accent-on-black);
    background-color: #000;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 10px 0 0 0;
    position: absolute;
    top: -10px;
    left: 10px;
    z-index: 2;     
    user-select: none;
}

.personal__stickers-outer {
border-radius: 10px;
overflow: hidden;
display: flex;
}

.personal__stickers {
    height: 61px;
    background-color: var(--personal-color);
    padding: 15px 14px;
    display: grid;
    grid-template-columns: repeat(5, 60px);
    overflow-y: scroll;
    gap: 7px;
    justify-items: center;
    align-items: center;
    position: relative;
}

.personal__stickers img {
    height: 55px;
    width: 55px;
    filter: var(--filter);
    transition: all 0.2s;
    transform-origin: center; 
}

.personal__stickers img:hover {
    transform: scale(1.09);;
}

.personal__collections-section {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-height: 0;
    margin-top: 20px;
}

.personal__collections-tabs {
    position: absolute;
    top: -10px;
    left: 10px;
    display: flex;
    gap: 5px;
    z-index: 20;
}

.collections-tab {
    font-family: var(--font-accent);
    background-color: #000;
    color: var(--accent-on-black);
    border: none;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    transition: all .2s linear 0s;
    opacity: 1;
    white-space: nowrap;
}

.collections-tab.active {
    opacity: 1;
    background-color: #1a1a1a;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
}

.collections-tab:hover {
    color: var(--accent);
}

.personal__collections-outer {
border-radius: 10px;
overflow: hidden;
display: flex;
flex: 1 1 0;
}

.personal__collections {
    flex: 1 1 0;
    min-height: 0;
    background-color: var(--personal-color);
    padding: 15px 15px;
    padding-top: 25px; /* îòñòóï, ÷òîáû êîíòåíò íå áûë ïîä òàáàìè */
    overflow-y: auto;
}

.collections-content {
    display: none;
    gap: 10px 5px;
    justify-items: center;
    align-items: start;
    justify-content: space-between;
}

.collections-content[data-content="tab1"] {
    grid-template-columns: repeat(3, 105px);
    justify-content: space-between;
}

.collections-content[data-content="tab2"] {
    grid-template-columns: repeat(3, auto);
}

.collections-content[data-content="tab3"] {
    grid-template-columns: auto auto;
}

.collections-content.active {
    display: grid;
}


.collections__plank {
    width: 160px;
    height: 60px;
    border-radius: 10px;
    border: 1px solid var(----accent);
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 2px 2px var(--accent2);
    filter: var(--filter);

}

.collections__plank img {
    width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



.collections__plank .pl {
    bottom: 0px;
}


.collections__plank .pl a {
    border-radius: 0;
    pointer-events: none;
}


.npc-collection {
  width: 105px;
  height: 150px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  filter: var(--filter);
}

.npc-collection__inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.npc-collection__base {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background: #000;
  filter: grayscale(1) brightness(0.8);

}

.npc-collection.start .npc-collection__inner::before {
    content: "??? ??? ???";
    top: 2px;
    left: 1px;
    font-size: 55px;
    font-family: var(--font-accent);
    z-index: 2;
    position: absolute;
    color: #818181;
    transform: rotate(12deg);
    line-height: 48px;
}

.npc-collection.start .npc-collection__gradient {
opacity: 0.7;
}

.npc-collection.start .npc-collection__frame {
background-image: url(https://forumstatic.ru/files/001c/03/d3/21123.png);
}

.npc-collection.start .npc-collection__base, 
.npc-collection.gold .npc-collection__base, 
.npc-collection.prism .npc-collection__base {
    filter: none;
}

.npc-collection__frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-image: url('/files/001c/03/d3/46252.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.npc-collection.gold .npc-collection__frame {
  background-image: url('/files/001c/03/d3/77422.png');
}

.npc-collection.prism .npc-collection__frame {
  background-image: url('/files/001c/03/d3/21123.png');
  position: relative; 
}

.npc-collection.prism .npc-collection__frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/files/001c/03/d3/68322.gif') center/cover no-repeat;
  mask-image: url('/files/001c/03/d3/98772.png');
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-image: url('/files/001c/03/d3/98772.png');
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mix-blend-mode: hard-light;
  pointer-events: none;
  z-index: 1;
}

.npc-collection__gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(252deg, rgba(255, 255, 255, 0) 10.19%, rgba(255, 255, 255, 0.5) 36.06%, rgba(255, 255, 255, 0) 78.85%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  mix-blend-mode: plus-lighter;
  z-index: 3;
  pointer-events: none;
}

.npc-collection.prism .npc-collection__gradient {
  background: linear-gradient(252deg, rgba(187, 199, 251, 0) 0%, rgba(187, 199, 251, 0) 5%, rgb(190 202 255 / 73%) 36.06%, rgb(252 229 255 / 22%) 56.06%, rgba(251, 218, 255, 0) 95%, rgba(251, 218, 255, 0) 100%);
  background-size: calc(100% + 20px) 100%;
  background-repeat: no-repeat;
  animation: gradientSlide 3s ease-in-out infinite;
  width: calc(100% + 30px);
  left: -15px;
}

@keyframes gradientSlide {
  0% {
    background-position: 0px 0;
  }
  50% {
    background-position: 15px 0;
  }
  100% {
    background-position: 0px 0;
  }
}

.npc-collection__text-bottom {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 95px;
  text-align: left;
  background: #fff;
  z-index: 4;
  font-weight: 400;
  font-size: 7px;
  line-height: 100%;
  text-transform: uppercase;
  color: #000;
  font-family: var(--main-title);
  border-radius: 0 5px 5px 0;
  padding: 4px 0 2px 10px;
  box-sizing: border-box;
  user-select: none;
}

.npc-collection__text-bottom::before {
  content: "";
  display: block;
  background: url(/files/001c/03/d3/99832.svg?v=1);
  width: 100%;
  height: 13px;
  position: absolute;
  top: -10px;
  left: 8px;
  background-repeat: no-repeat;
}

.npc-collection.gold .npc-collection__text-bottom::before {
  background: url(/files/001c/03/d3/81212.svg?v=1);
  background-repeat: no-repeat;
}

.npc-collection.prism .npc-collection__text-bottom::before {
  background: url(/files/001c/03/d3/79872.svg?v=1);
  background-repeat: no-repeat;
}

.npc-collection__text-side {
  position: absolute;
  top: 15px;
  left: 2px;
  writing-mode: sideways-lr;
  text-orientation: mixed;
  padding: 2px 3px;
  z-index: 4;
  font-family: var(--main-title);
  font-size: 7px;
  text-transform: uppercase;
  text-align: center;
  color: #000;
  height: 110px;
  user-select: none;
}

.personal__events__img {
  width: 60px;
    height: 60px;
    padding: 20px;
    background: linear-gradient(45deg, var(--accent) 15%, transparent 90%);
    border-radius: 15px;
    box-shadow: 0 4px 4px var(--accent2);
    transition: transform 0.2s;

}

.personal__events__img:hover {
    transform: scale(1.08);
}


.personal__inventar::-webkit-scrollbar, .personal__collections::-webkit-scrollbar, .personal__stickers::-webkit-scrollbar, .collections-content::-webkit-scrollbar  {
    width: 2px!important;
    height: 0px!important;
}