/* Shared chat-window styles. Page variants use zero-specificity scopes to preserve the original cascade. */
.chat-page {
  width: 100%;
  display: flex;
  min-height: 100vh;
  align-items: center;
  flex-direction: column;
  background-size: cover;
  background-image: url("../../public/game-background-desktop-1500w.jpg");
  background-repeat: no-repeat;
  background-position: center;
}
.chat-panel {
  gap: 30px;
}
.chat-header {
  width: 100%;
  display: flex;
  align-items: center;
  border-color: var(--dl-color-default-bluegradient);
  border-width: 1px;
  flex-direction: row;
  padding-bottom: 25px;
  justify-content: space-between;
  border-top-width: 0px;
  border-left-width: 0px;
  border-right-width: 0px;
}
.chat-title {
  fill: var(--dl-color-default-bluegradient);
  color: var(--dl-color-default-bluegradient);
  z-index: 1;
}
.chat-close {
  cursor: pointer;
  align-self: flex-end;
  background-size: cover;
  background-image: url("../../public/close.svg");
}
.chat-content {
  flex: 1;
  width: 85%;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
}
.window-decoration {
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  position: absolute;
  align-self: center;
}
.window-decoration-content {
  display: contents;
}
.platform-placeholder {
  display: contents;
}
.game-timer {
  width: 100%;
  height: 250px;
  display: none;
  overflow: hidden;
  position: relative;
  box-shadow: 5px 5px 8px 0px rgba(29, 29, 29, 0.5);
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.game-timer-top {
  top: 0px;
  left: 0px;
  z-index: 4;
  position: absolute;
  object-fit: cover;
}
.game-timer-win {
  z-index: 4;
  position: absolute;
}
.game-timer-win-content {
  display: contents;
}
.game-timer-countdown {
  z-index: 2;
}
.game-timer-countdown-content {
  display: contents;
}
.game-timer-bottom {
  right: 0px;
  bottom: 0px;
  margin: auto;
  z-index: 4;
  position: absolute;
  object-fit: cover;
}
.game-timer-background {
  width: 100%;
  height: 100%;
  z-index: 3;
  position: absolute;
}
.game-timer-background-content {
  display: contents;
}
.game-timer-grid {
  width: 100%;
  height: 100%;
  z-index: 1;
  position: absolute;
}
.game-timer-grid-content {
  display: contents;
}
@media (max-width: 991px) {
  .chat-content {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .chat-page {
    background-size: cover;
    background-image: url("../../public/game-background-mobile-1500w.jpg");
  }
  .chat-title {
    font-size: 20px;
  }
  .game-timer {
    height: 100px;
  }
  .game-timer-top {
    width: 155px;
  }
  .game-timer-bottom {
    width: 50px;
  }
}
.fundo-com-cantos {
  width: 100%;
  height: 100%;
  background-color: #02031990;
  clip-path: polygon(
    0px 0%,
    100% 0%,
    100% calc(100% - 150px),
    calc(100% - 150px) 100%,
    0% 100%,
    0% 150px
  );
}
@media (max-width: 991px) {
  .fundo-com-cantos {
    clip-path: polygon(0px 0%, 100% 0%, 100% 100%, 0% 100%);
  }
}
:where([data-css-page="chat-white-hat"]) .chat-content {
  display: block;
}
