/* ====== 游戏界面完整样式 ====== */
/* ====== 字体常量 ====== */
/* ====== 颜色常量 ====== */
/* ====== 基础字体函数 ====== */
/* ====== 文本选择函数 ====== */
.user-select {
  /* 标准：禁止选中 */
  user-select: none;
  /* Safari / Chrome */
  -webkit-user-select: none;
  /* Firefox */
  -moz-user-select: none;
  /* IE/Edge */
  -ms-user-select: none;
  /* 禁止长按弹出菜单（手机） */
  -webkit-touch-callout: none;
}
/* ====== 重置样式 ====== */
* {
  /* 标准：禁止选中 */
  user-select: none;
  /* Safari / Chrome */
  -webkit-user-select: none;
  /* Firefox */
  -moz-user-select: none;
  /* IE/Edge */
  -ms-user-select: none;
  /* 禁止长按弹出菜单（手机） */
  -webkit-touch-callout: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Press Start 2P', monospace, "Microsoft YaHei", sans-serif;
}
/* ====== 基础样式 ====== */
html,
body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  color: #fff;
  image-rendering: pixelated;
  display: flex;
  align-items: center;
  justify-content: center;
}
body {
  background: #2a46a9 url(./img/bg.jpg);
  background-size: cover;
}
/* ====== 容器样式 ====== */
.container {
  display: flex;
  gap: 0;
  border: 3px solid #fff;
  align-items: stretch;
  justify-content: center;
}
/* ====== 游戏界面：主体画布区域样式 ====== */
.main {
  flex: 3;
  image-rendering: pixelated;
  align-self: center;
}
/* ====== 游戏界面：侧边栏样式 ====== */
.aside {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5vh;
  border-left: 3px solid #ccc;
  justify-content: space-between;
  align-items: center;
}
/* ====== 游戏界面：侧边栏子面板样式 ====== */
.panel {
  padding: 1vh 1vw;
  text-align: center;
  width: 100%;
}
/* ====== 游戏界面：侧边栏子面板文字段落样式 ====== */
.panel-text {
  font-size: 1.75vh;
  line-height: 1.4;
  color: #fff;
  text-shadow: 1px 1px 0 #000;
  white-space: nowrap;
  margin: 0.5vh 0;
}
/* ====== 游戏界面：下一个方块预览区域样式 ====== */
.next {
  padding: 2vh 1vh 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* ====== 游戏界面：下一个方块预览区域标题样式 ====== */
.next-title {
  color: #ff0;
  font-size: 2.2vh;
  text-shadow: 2px 2px 0 #000;
  white-space: nowrap;
}
/* ====== 游戏界面：下一个方块预览画布区域样式 ====== */
.next-piece {
  width: 96%;
  border: none;
  image-rendering: pixelated;
  display: block;
  aspect-ratio: 1;
}
/* ====== 高亮样式 ====== */
.highlight {
  color: #ff0;
}
/* ====== 游戏界面引入字体的 @font-face 完整样式 ====== */
/* cyrillic-ext */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./font/cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./font/cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./font/greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./font/latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Press Start 2P';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./font/latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/*# sourceMappingURL=tetris.css.map */