.nav {
  display: flex;
  align-items: flex-end;
  height: 64px;
  flex: none;
  width: 100%;
  gap: 32px;
  position: static;
}
@container game (width < 1000px) {
  .nav {
    gap: 12px;
  }
}
.nav__button {
  --navbtnBG: transparent;
  --navbtnC: var(--Pitch-black);
  --navbtnBC: var(--Neutral-Gray-2);
  margin: 2px 2px -2px 2px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  padding: 4px 32px 0;
  background: var(--navbtnBG);
  border-radius: 16px 16px 0 0;
  color: var(--navbtnC);
  border: none;
  border-bottom: 2px solid white;
  transition: all 0.2s;
}
@container game (width < 1000px) {
  .nav__button {
    padding: 4px 16px 0;
    font-size: 14px;
    gap: 4px;
  }
}
.nav__button--1, .nav__button--2 {
  height: 60px;
  box-shadow: 1px -1px 0px 1px var(--navbtnBC), -1px -1px 0px 1px var(--navbtnBC);
}
.nav__button--1.active, .nav__button--1:active, .nav__button--2.active, .nav__button--2:active {
  --navbtnBC: #3C3C3C;
  z-index: 50;
}
.nav__button--1.active, .nav__button--2.active {
  pointer-events: none;
  cursor: inherit;
}
.nav__button--1:hover, .nav__button--2:hover {
  background-color: #D9D9D9;
  --navbtnBC: #8B8B8B;
  border-bottom-color: #D9D9D9;
}
.nav__button--1:hover:before {
  background-color: #D9D9D9;
}
.nav__button--1.active, .nav__button--1:active {
  --navbtnBC: #3C3C3C;
  z-index: 1;
}
.nav__button--1:before {
  content: "";
  width: 100%;
  height: 20px;
  border-left: 2px solid var(--navbtnBC);
  position: absolute;
  left: -2px;
  top: 100%;
  background: var(--navbtnBG);
}
.nav__button--3 {
  height: 36px;
  margin-left: auto;
  --navbtnBG: var(--Neutral-Gray-2);
  --navbtnC: var(--Pure-White);
}
@container game (width < 1000px) {
  .nav__button--3 {
    display: none;
  }
}
.nav__button--3:before {
  content: "";
  position: absolute;
  background: var(--navbtnBG);
  left: -8px;
  right: 0;
  height: 22px;
  top: 100%;
  z-index: 2;
  transition: all 0.2s;
}
.nav__button--3.active, .nav__button--3:active {
  --navbtnBG: var(--Pitch-black);
  --navbtnBC: var(--Pitch-black);
}
.nav__button--3 .nav__button__corner--left {
  right: calc(100% + 2px);
  border-right-color: var(--navbtnBC) !important;
  transform: rotate(90deg);
  z-index: 5 !important;
  background: white;
  border-radius: 0 10px 0 0px;
  border-top-color: var(--navbtnBC) !important;
  border-top-width: 0;
}

.popup {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: 2px solid var(--Pitch-black);
  background: var(--Accents-Red);
  box-shadow: 0 4px 0 0 #18191F;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 9999;
}
.popup.inActive {
  display: none;
}
.popup .btn {
  position: relative;
}
.popup .btn:before, .popup .btn:after {
  content: "";
  position: absolute;
  top: calc(50% - 30px);
  background-size: contain;
  background-repeat: no-repeat;
  width: 370px;
  height: 60px;
  pointer-events: none;
  animation: scale 5s infinite ease-in-out;
  z-index: 2;
}
.popup .btn:after {
  background-image: url("/img/arrow-right.png");
  left: calc(100% + 108px);
  transform-origin: right;
}
.popup .btn:before {
  background-image: url("/img/arrow-left.png");
  right: calc(100% + 108px);
  transform-origin: left;
}
.popup__border {
  --border-color: var(--Pitch-black);
  border-radius: 9999px;
  position: absolute;
  pointer-events: none;
  border: 60px solid var(--border-color);
  z-index: 1;
  animation: scaleBodrer 5s 2.5s infinite ease-in-out;
}
.popup__border--1 {
  width: 614px;
  height: 614px;
  --border-color: var(--Pure-White);
}
.popup__border--2 {
  width: 990px;
  height: 990px;
}
.popup__border--3 {
  width: 1374px;
  height: 1374px;
}

@keyframes scale {
  0%, 100% {
    transform: scale(1.1, 1);
  }
  50% {
    transform: scale(1.2, 1);
  }
}
@keyframes scaleBodrer {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
@container game (width > 1000px) {
  .hood .main__chat {
    transform: translateX(-488px);
    padding: 0 10px;
  }
  .hood .main__chat .main__messages {
    width: calc(100% - 488px);
    margin-left: auto;
  }
  .hood .main__chat .main__messages .main__messages__wrapper {
    grid-template-columns: 55px 1fr 200px;
  }
  .hood .main__chat .input__wrapper {
    width: calc(100% - 400px);
    margin-left: auto;
  }
  .hood .main__chat .input__wrapper input {
    width: calc(100% - 201px);
    margin-left: auto;
  }
}
.hood .main__hood {
  transform: scale(1, 1);
}

.mansion .main {
  border-radius: 16px 16px 16px 16px;
}
.mansion .main__animate .main__wrapper {
  opacity: 0;
}
.mansion .main__animate .mansionMap {
  opacity: 1;
}

.main {
  height: 720px;
  overflow: hidden;
  border-radius: 0 16px 16px 16px;
  transition: all 0.2s;
}
.main .main__animate {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.main__wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  padding-block: 16px;
  transition: all 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.main__wrapper.active .chat__wrapper {
  z-index: 2;
  opacity: 0;
}
.main__wrapper.active .selectPerson {
  opacity: 1;
  z-index: 9;
}
.main__chat {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 680px;
  display: flex;
  flex-direction: column-reverse;
  transition: all 0.2s;
}
@container game (width > 1000px) {
  .main__chat {
    padding: 0 30px;
  }
}
@container game (width < 1000px) {
  .main__chat {
    padding: 0;
  }
}
.main__chat__wrapper {
  overflow-anchor: none;
  display: flex;
  align-items: stretch;
}
@container game (width < 1000px) {
  .main__chat__wrapper {
    flex-direction: column;
    margin-bottom: 40px;
  }
}
@container game (width > 1000px) {
  .main__chat__wrapper:not(:first-child) .main__persons > div:first-child {
    border-top: 1px solid var(--Neutral-Gray-4);
  }
}
.main__chat__wrapper--sticky {
  position: sticky;
  bottom: 0;
  height: 95px;
  background: white;
}
@container game (width < 1000px) {
  .main__chat__wrapper--sticky {
    margin-bottom: 0;
    height: 60px;
  }
}
.main .chat__wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  background: white;
  z-index: 9;
  opacity: 1;
  transition: all 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  bottom: 0;
}
.main__persons {
  flex: none;
}
@container game (width > 1000px) {
  .main__persons > div:first-child {
    padding-top: 40px;
  }
}
@container game (width > 1000px) {
  .main__persons {
    width: 275px;
    padding-right: 30px;
    border-right: 1px dashed var(--Neutral-Gray-4);
  }
}
@container game (width < 1000px) {
  .main__persons {
    width: 100%;
    padding: 16px 20px;
    position: sticky;
    top: 0;
    border-radius: 16px 16px 0 0;
    background: var(--Pure-White, #FFF);
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 2px 0 0 #18191F;
  }
}
.main__persons__image {
  width: 100%;
  margin-bottom: 26px;
}
@container game (width < 1000px) {
  .main__persons__image {
    width: 100%;
    display: none;
  }
}
.main__persons__name {
  color: var(--Pitch-black);
}
@container game (width > 1000px) {
  .main__persons__name {
    font-size: 36px;
    font-style: normal;
    font-weight: 800;
    line-height: 40px;
  }
}
@container game (width < 1000px) {
  .main__persons__name {
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
  }
}
.main__persons__title {
  color: var(--Pitch-black, #000);
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 141.176% */
  margin-top: 8px;
}
@container game (width < 1000px) {
  .main__persons__title {
    display: none;
  }
}
@container game (width > 1000px) {
  .main__messages {
    margin-left: 30px;
    padding-block: 40px;
    border-bottom: 1px solid var(--Neutral-Gray-4);
    transition: all 0.2s;
    width: 100%;
  }
}
@container game (width < 1000px) {
  .main__messages {
    padding: 0 10px;
  }
}
.main__messages__wrapper {
  display: grid;
}
@container game (width > 1000px) {
  .main__messages__wrapper {
    grid-template-columns: 55px 1fr 264px;
    grid-template-areas: "icon text comment";
  }
}
@container game (width < 1000px) {
  .main__messages__wrapper {
    grid-template-columns: 38px 1fr;
    grid-template-areas: "icon text " "... comment";
    margin-top: 25px;
  }
}
.main__messages__icon {
  grid-area: icon;
  align-self: flex-start;
}
@container game (width > 1000px) {
  .main__messages__icon {
    width: 55px;
    height: 55px;
  }
}
@container game (width < 1000px) {
  .main__messages__icon {
    width: 38px;
    height: 38px;
  }
}
.main__messages__text {
  grid-area: text;
  --textColor: var(--Pitch-black);
  --bgColor: var(--Pure-White);
  --bColor: var(--Pitch-black);
}
@container game (width > 1000px) {
  .main__messages__text {
    padding-left: 11px;
    padding-right: 30px;
    padding-top: 14px;
    border-right: 1px dashed var(--Neutral-Gray-4);
  }
}
@container game (width < 1000px) {
  .main__messages__text {
    padding-left: 10px;
  }
}
.main__messages__text--two {
  --textColor: var(--Pure-White);
  --bgColor: var(--Pitch-black);
  --bColor: var(--Pitch-black);
}
.main__messages__text > div {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  border: 2px solid var(--bColor);
  color: var(--textColor);
  background-color: var(--bgColor);
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
}
@container game (width > 1000px) {
  .main__messages__text > div {
    letter-spacing: 0.17px;
    font-size: 17px;
    padding: 20px 25px;
  }
}
@container game (width < 1000px) {
  .main__messages__text > div {
    padding: 15px 20px;
    font-size: 15px;
    letter-spacing: 0.15px;
  }
}
.main__messages__comment {
  grid-area: comment;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%; /* 19.6px */
  letter-spacing: 0.14px;
  color: var(--Pitch-black, #000);
}
@container game (width > 1000px) {
  .main__messages__comment {
    align-self: center;
    padding-left: 30px;
  }
  .main__messages__comment--finish {
    color: var(--Accents-Red, #FF270F);
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
  }
  .main__messages__comment--border {
    border-left: 5px solid var(--Accents-Red);
  }
}
@container game (width < 1000px) {
  .main__messages__comment {
    margin-top: 5px;
    padding-left: 10px;
  }
  .main__messages__comment--finish {
    font-weight: 600;
  }
  .main__messages__comment--border {
    border-left: 5px solid var(--Accents-Red);
  }
}
.main .button__wrapper {
  padding-top: 10px;
  padding-bottom: 20px;
  width: 275px;
  height: 100%;
  padding-right: 30px;
  border-right: 1px dashed var(--Neutral-Gray-4);
}
@container game (width < 1000px) {
  .main .button__wrapper {
    display: none;
  }
}
.main .input__wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
@container game (width > 1000px) {
  .main .input__wrapper {
    padding-inline: 30px;
  }
}
@container game (width < 1000px) {
  .main .input__wrapper {
    padding-inline: 10px;
  }
}
.main .input__wrapper input:not(:placeholder-shown) + label, .main .input__wrapper input:focus + label {
  opacity: 0;
}
.main .input__wrapper input {
  display: flex;
  width: 100%;
  padding: 16px 20px;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  border-radius: 66px;
  border: 2px solid var(--Pitch-black, #000);
  background: var(--Pure-White, #FFF);
  box-shadow: 0 4px 0 0 #000 inset;
}
@container game (width > 1000px) {
  .main .input__wrapper input {
    height: 56px;
  }
}
@container game (width < 1000px) {
  .main .input__wrapper input {
    height: 50px;
    flex-shrink: 0;
  }
}
.main .input__wrapper input:focus ~ label {
  opacity: 0;
  color: var(--Pitch-black);
}
.main .input__wrapper input::placeholder {
  text-align: right;
}
@container game (width > 1000px) {
  .main .input__wrapper label {
    position: absolute;
    transition: all 0.2s;
    pointer-events: none;
  }
  .main .input__wrapper label.left {
    left: 50px;
    color: rgb(117, 117, 117);
  }
}
@container game (width < 1000px) {
  .main .input__wrapper label {
    display: none;
  }
}
.main__hood {
  font-family: "Iosevka Web";
  position: absolute;
  top: 0;
  right: 0;
  transform: scale(0, 1);
  border-radius: 16px;
  background: var(--Pitch-black, #000);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  transition: all 0.2s;
  padding: 20px;
  color: white;
  transform-origin: right;
}
.main__hood__content {
  width: 100%;
  height: 100%;
  word-wrap: break-word;
  overflow-y: auto;
}
@container game (width > 1000px) {
  .main__hood {
    width: 488px;
    height: 100%;
    flex-shrink: 0;
  }
}
@container game (width < 1000px) {
  .main__hood {
    inset: 0;
  }
}
.main__hood .red {
  color: #FF270F;
}
.main__hood .blue {
  color: #034FDC;
}
.main__hood .green {
  color: #FFBD12;
}

.mansionMap {
  width: 100%;
  height: 100%;
  max-width: 100%;
  background-color: white;
  position: absolute;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
@container game (width > 1000px) {
  .mansionMap:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image: url("../img/Trees.png");
    background-size: contain;
    background-repeat: no-repeat;
  }
}
.mansionMap__wrapper {
  width: fit-content;
  height: fit-content;
  overflow: hidden;
  margin: auto;
  z-index: 15;
  max-width: 100%;
  max-height: 100%;
}
@container game (width < 1000px) {
  .mansionMap__wrapper {
    overflow-x: auto;
    height: 100%;
  }
}
.mansionMap img {
  width: 1060px;
  height: 650px;
  max-width: unset;
  max-height: unset;
}
@container game (width < 1000px) {
  .mansionMap img {
    height: 100%;
  }
}

@container game (width > 1000px) {
  .btn--back {
    display: none;
  }
}
@container game (width < 1000px) {
  .btn--back {
    --circleFill: white;
    --pathStroke: black;
    width: 30px;
    height: 30px;
    border: none !important;
  }
  .btn--back:active {
    --circleFill: black;
    --pathStroke: white;
  }
}

.selectPerson {
  padding: 40px 30px 20px;
  width: 100%;
  height: 100%;
  position: absolute;
  background: white;
  opacity: 0;
  z-index: 2;
  transition: all 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
@container game (width < 1000px) {
  .selectPerson {
    padding: 40px 20px 20px;
  }
}
@container game (width > 1000px) {
  .selectPerson .btn {
    margin-bottom: 33px;
  }
}
@container game (width < 1000px) {
  .selectPerson .btn {
    display: none;
  }
}
.selectPerson__title {
  color: var(--Pitch-black, #000);
  font-style: normal;
}
@container game (width > 1000px) {
  .selectPerson__title {
    font-size: 48px;
    font-weight: 800;
    line-height: 40px;
  }
}
@container game (width < 1000px) {
  .selectPerson__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 110%; /* 39.6px */
    letter-spacing: -1.08px;
  }
}
.selectPerson__content {
  margin-top: 6px;
  color: var(--Pitch-black, #000);
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 141.176% */
}
.selectPerson__wrapper {
  display: flex;
  width: 100%;
  align-items: stretch;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 10px;
  padding-bottom: 20px;
}
@container game (width > 1000px) {
  .selectPerson__wrapper {
    margin-top: 38px;
  }
}
@container game (width < 1000px) {
  .selectPerson__wrapper {
    margin-top: 32px;
  }
}
.selectPerson__persons {
  flex: none;
  width: 240px;
  display: flex;
  flex-direction: column;
}
.selectPerson__persons__image {
  width: 100%;
  aspect-ratio: 240/253;
}
.selectPerson__persons__name {
  color: var(--Pitch-black);
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 36px */
}
@container game (width > 1000px) {
  .selectPerson__persons__name {
    font-size: 30px;
    margin-top: 20px;
    padding-right: 30px;
  }
}
@container game (width < 1000px) {
  .selectPerson__persons__name {
    font-size: 24px;
    margin-top: 15px;
  }
}
.selectPerson__persons__title {
  padding-top: 8px;
  margin-top: auto;
  color: var(--Pitch-black);
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 141.176% */
}

#overlay.hidden {
  display: none;
}

#overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 343px;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFF 100%);
  color: white;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  gap: 23px;
  z-index: 1000;
  padding-block: 36px;
  font-size: 1.2rem;
}
@container game (width > 1000px) {
  #overlay {
    display: none;
  }
}
#overlay div {
  max-width: 143px;
  color: #000;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
}

#hand-icon {
  animation: swipe 2s infinite;
}

@keyframes swipe {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  50% {
    transform: translate(-20px, 0);
    opacity: 0.9;
  }
  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}
@-webkit-keyframes flip-scale-2-hor-bottom {
  0% {
    transform: translateY(0) rotateX(0) scale(1);
    transform-origin: 50% 100%;
  }
  50% {
    transform: translateY(50%) rotateX(90deg) scale(2);
    transform-origin: 50% 50%;
  }
  100% {
    transform: translateY(100%) rotateX(180deg) scale(1);
    transform-origin: 50% 0;
  }
}
body {
  background: black;
}

button {
  cursor: pointer;
}

.btn {
  --btnBG: var(--Pure-White);
  --btnC1: var(--Pitch-black);
  --btnC2: var(--Neutral-Gray-2);
  background: transparent;
  outline: none;
  cursor: pointer;
  user-select: none;
  border-radius: 16px;
  border: 2px solid var(--Pitch-black);
  background: var(--btnBG);
  transition: all 0.2s;
  color: var(--btnC1);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
}
.btn:hover {
  --btnBG: var(--Neutral-Gray-4);
}
.btn:active {
  --btnBG: var(--Pitch-black) !important;
  --btnC1: var(--Pure-White);
  --btnC2: var(--Pure-White);
}
.btn--type--2, .btn--type--3 {
  width: 245px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.btn--type--2 .btn--text, .btn--type--3 .btn--text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  transition: all 0.2s;
}
.btn--type--2 .btn--text--small, .btn--type--3 .btn--text--small {
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  color: var(--btnC2);
}
.btn--type--2 {
  height: 100%;
}
.btn--type--2 .btn--text {
  text-align: left;
}
.btn--type--3 {
  height: 90px;
  box-shadow: 0 4px 0 0 #18191F;
}
.btn--type--1 {
  display: flex;
  width: 167px;
  height: 55px;
  padding: 15px 20px;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  border-radius: 16px;
  border: 2px solid var(--Pitch-black, #000);
}

.main {
  flex: 1;
  width: 100%;
  border: 2px solid black;
  background: #FFF;
  box-shadow: 0 4px 0 0 #18191F;
  position: relative;
  z-index: 15;
}

img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

:root {
  --Pitch-black: #000;
  --Pure-White: #FFF;
  --Accents-Red: #FF270F;
  --Neutral-Gray-1: #606060;
  --Neutral-Gray-2: #8B8B8B;
  --Neutral-Gray-4: #DDD;
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

svg {
  color: inherit;
}

input {
  font-size: inherit;
}

body, html {
  /*width: 100%;
  height: 100%;*/
  background-color: var(--Pure-White);
}

body {
  font-family: "Montserrat", sans-serif;
  width: 100%;
  height: 100%;
  background-color: var(--theme);
  color: var(--tColor-1);
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.game {
  width: 100%;
  height: 100%;
  max-width: 1200px;
  position: relative;
  container: game/inline-size;
}

.ignore-component {
  display: contents;
}

/*# sourceMappingURL=main.css.map */
