@charset "utf-8";

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
/* 清除所有网站自带的默认边距 */
ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: 'Courier New', Courier, monospace;
  font-size: 16px;
  color: black;
  line-height: 1;
  background-color: #b9cec7;
}

img {
  max-width: 100%;
}

/* ------------------------------------------ */

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  background:
    radial-gradient(
      ellipse at 50% 42%,
      #dcebe5 0%,
      #afc8c0 58%,
      #718f87 100%
    );
}

#terminalCanvas {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

#status {
  position: fixed;
  top: 24px;
  left: 24px;

  color: #173a31;
  font-family: "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;

  z-index: 20;
  pointer-events: none;
  transition: opacity 300ms ease;
}

#status.is-hidden {
  opacity: 0;
}

/* 这是包含关闭按钮的整个panel */
.keijiban-panel {
  padding: 0;
  border: 0;
  width: 60vw;
  aspect-ratio: 11/7;
  /* 控制我们面板的比例 */
  max-width: none;
  max-height: none;
  overflow: hidden;
  background-image:url(../asset/image/terminal/CorkBoard.png);
  background-size: cover;
  background-repeat: no-repeat;

  position: fixed;
  inset: 0;
  margin: auto;

  

  
}

.keijiban-panel::backdrop {
  
  background: #173a311c;
  backdrop-filter: blur(5px);
}

/* 包含地图区域和图片区域 */
.keijiban-layout {
  display: grid;
  grid-template-columns: 48% 52%;
  /* 地图区域和图片区域的固定比例 */
  width: 100%;
  height: 100%;
}

.keijiban-map {
  position: relative;
  overflow: hidden;
}

.keijiban-map iframe {
  display: block;
  
  margin-left: 14%;
  
  margin-top: 14%;
  width: 80%;
  height: 80%;
  border: 0;
}

.keijiban-content {
  position: relative;
  overflow: hidden;
  /* background: #ffffff; */
}

.board-item {
  position: absolute;
  display: block;
  height: auto;
}

.board-item:hover {
  transform: scale(1.03);
}

.money {
  left: 8%;
  top: 10%;
  width: 50%;
  transform: rotate(0);
}



.annoucement {
  left: 20%;
  top: 40%;
  width: 55%;
  transform: rotate(0);
}

.buymeacoffee {

}

.keijiban-panel-close {
  position: absolute;
  z-index: 100;

  top: 5%;
  right: 3%;
  width: 5%;
  font-size: 30px;
  aspect-ratio: 1;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.exit-button {
  position: absolute;
  align-items: center;
  justify-content: center;
  display: flex;
  font-size: 20px;
  width: 50px;
  height: 50px;
  z-index: 4;
  right: 5%;
  bottom: 5%;
  cursor: pointer;
  /* background: rgba(255, 255, 255, 0.04); */
  /* border: 1px solid rgba(30, 40, 34, 0.3); */
}

.exit-button:hover {
  color:#ff0000;
  /* background-color: #ff0000; */
  /* border: 1px solid rgba(30, 40, 34, 0.5); */
}

.image-lightbox {
  width: 100vw;
  height: 100vh;
  padding: 40px;
  background: transparent;
  overflow: hidden;
  position: fixed;
  inset: 0;
  margin: auto;
  border: 0;
}

.image-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-lightbox::backdrop {
  background: #fbfbfb43;
  backdrop-filter: blur(4px);
}

.image-lightbox img {
  display: block;
  max-width: 70vw;
  max-height: 70vh;
  object-fit: contain;

}
.image-lightbox-close {
  position: fixed;
  top: 24px;
  right: 30px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 40px;
  cursor: pointer;
}
@media (max-width: 700px) {
  .keijiban-panel {
    width: 80vw;
  }
}