@charset "utf-8";

.game-announcement[hidden] {
  display: none !important;
}

.game-announcement-notice[hidden] {
  display: none !important;
}

.game-announcement-notice {
  position: sticky;
  z-index: 9000;
  top: 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 480px;
  min-height: 43px;
  margin: 0 auto 3px;
  padding: 4px 7px;
  color: #fff;
  background: url('/img/inter/bg2.jpg') repeat-x #242424;
  border: 1px solid #d2d2d2;
  border-top: 2px solid #ffb700;
  box-shadow: 0 2px 5px #000;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.game-announcement-notice:hover,
.game-announcement-notice:focus {
  background-color: #343434;
  outline: 1px solid #ffb700;
}

.game-announcement-notice__icon {
  flex: 0 0 27px;
  box-sizing: border-box;
  width: 27px;
  height: 27px;
  margin-right: 7px;
  color: #fff;
  background: #ad1313;
  border: 1px solid #ff7a55;
  font: bold 20px/25px Arial, sans-serif;
  text-align: center;
}

.game-announcement-notice__text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.game-announcement-notice__text b,
.game-announcement-notice__text small {
  display: block;
}

.game-announcement-notice__text b {
  color: #ffb700;
  text-shadow: 0 1px #000;
}

.game-announcement-notice__text small {
  margin-top: 2px;
  color: #d2d2d2;
  font-size: 11px;
  line-height: 13px;
}

.game-announcement-notice__text [data-countdown-compact] {
  color: #fff;
  font-weight: bold;
  white-space: nowrap;
}

.game-announcement-notice__action {
  display: block;
  flex: 0 0 74px;
  box-sizing: border-box;
  width: 74px;
  height: 27px;
  margin-left: 7px;
  padding-top: 5px;
  color: #000;
  background: url('/img/inter/but2.png') center top / 100% 27px no-repeat;
  font-size: 12px;
  line-height: 17px;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px rgba(255, 255, 255, 0.35);
}

.game-announcement {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  padding: 8px;
  background: rgba(0, 0, 0, 0.86);
}

.game-announcement__window {
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 16px);
  max-height: calc(100dvh - 16px);
  overflow: hidden;
  color: #fff;
  background: #33333e;
  border: 2px solid #d2d2d2;
  box-shadow: 0 0 0 2px #111, 0 8px 30px #000;
}

.game-announcement__header {
  position: relative;
  min-height: 31px;
  color: #fff;
  background: url('/img/inter/bg2.jpg') repeat-x #2a2a2a;
  border-bottom: 1px solid #fff;
}

.game-announcement__title {
  padding: 6px 42px 6px 9px;
  color: #ffb700;
  font-weight: bold;
  text-shadow: 0 1px #000;
}

.game-announcement__close {
  position: absolute;
  top: 2px;
  right: 3px;
  width: 29px;
  height: 27px;
  padding: 0;
  color: #fff;
  background: #ad1313;
  border: 1px solid #ff7a55;
  font: bold 24px/23px Arial, sans-serif;
  text-align: center;
  cursor: pointer;
}

.game-announcement__close:hover,
.game-announcement__close:focus {
  background: #d02626;
}

.game-announcement__body {
  max-height: calc(100vh - 101px);
  max-height: calc(100dvh - 101px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.game-announcement__timer {
  padding: 7px 5px 8px;
  background: #131313;
  border-bottom: 1px solid #777;
  text-align: center;
}

.game-announcement__timer-title {
  margin-bottom: 6px;
  color: #ebc02b;
  font-weight: bold;
}

.game-announcement__countdown {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.game-announcement__countdown span {
  display: block;
  box-sizing: border-box;
  min-width: 61px;
  padding: 4px 3px;
  color: #fff;
  background: #393944;
  border: 1px solid #787878;
  box-shadow: inset 0 0 0 1px #1e1e24;
}

.game-announcement__countdown b,
.game-announcement__countdown small {
  display: block;
}

.game-announcement__countdown b {
  color: #ffb700;
  font-size: 20px;
  line-height: 21px;
}

.game-announcement__countdown small {
  margin-top: 2px;
  color: #bfc2c4;
  font-size: 10px;
}

.game-announcement__copy {
  padding: 8px 9px 3px;
  color: #fff;
  line-height: 1.34;
}

.game-announcement__copy p {
  margin: 0 0 9px;
}

.game-announcement__copy strong {
  color: #ff9600;
}

.game-announcement__contact {
  padding: 6px;
  background: #202020;
  border: 1px solid #626262;
  text-align: center;
}

.game-announcement__contact a {
  color: #ffb700;
  font-weight: bold;
}

.game-announcement__footer {
  padding: 4px 0 5px;
  background: #7b7f61;
  border-top: 1px solid #fff;
  text-align: center;
}

.game-announcement__footer .but2 {
  display: block;
  box-sizing: border-box;
  width: 178px;
  height: 31px;
  margin: 2px auto;
  padding: 0 0 3px;
  color: #000;
  background: url('/img/inter/but2.png') no-repeat;
  border: 0;
  font: inherit;
  line-height: 27px;
  text-align: center;
  cursor: pointer;
}

@media (max-width: 340px) {
  .game-announcement {
    padding: 3px;
  }

  .game-announcement__window {
    max-height: calc(100vh - 6px);
    max-height: calc(100dvh - 6px);
  }

  .game-announcement__body {
    max-height: calc(100vh - 91px);
    max-height: calc(100dvh - 91px);
  }

  .game-announcement__countdown {
    gap: 2px;
  }

  .game-announcement__countdown span {
    min-width: 0;
    width: 24%;
    padding-right: 1px;
    padding-left: 1px;
  }

  .game-announcement-notice {
    padding-right: 4px;
    padding-left: 4px;
  }

  .game-announcement-notice__icon {
    margin-right: 4px;
  }

  .game-announcement-notice__action {
    flex-basis: 66px;
    width: 66px;
    margin-left: 4px;
    font-size: 11px;
  }
}
