/* 基础样式设置 */
body,
html {
  height: 100%;
  width: 100vw;
}
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
}
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}
*,
::before,
::after {
  border-width: 0;
  border-style: solid;
  border-color: theme('borderColor.DEFAULT', currentColor);
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  outline: 0;
  border: none;
}
body {
  position: relative;
  margin: 0 auto;
  width: 100vw;
  font-size: 15px;
  color: #64748b;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  font-family: PingFangSC-Regular, Helvetica Neue, Helvetica, Arial, sans-serif, Tahoma, 'Lucida Grande', Verdana, 'Microsoft Yahei';
}
/* 定义屏幕尺寸 */
/* 定义颜色 */
/* 定义阴影 */
/* 定义圆角 */
/* 定义全局尺寸变量 */
/* 定义"添加"按钮背景色 */
/* 定义模态框背景色 */
.color-active {
  color: #00a5ed;
}
.color-normal {
  color: #475569;
}
#hui-toast {
  bottom: 50vh;
}
.top .bg {
  width: 150vw;
  height: 90vw;
  background: linear-gradient(#6db1fa, #00a5ed);
  border-radius: 0 0 100% 100%;
  transform: translateX(-25vw);
  box-shadow: 0 -1px 6px -1px rgba(0, 0, 0, 0.9);
}
.top .bg img {
  width: 150vw;
  height: 150vw;
  opacity: 0.3;
  position: absolute;
  top: -40vw;
}
.top .box-inside {
  width: 70vw;
  height: 70vw;
  position: absolute;
  top: 2vw;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 33.33%);
  grid-template-rows: repeat(3, 33.33%);
  justify-items: center;
  align-items: center;
}
.top .box-inside img {
  width: 20vw;
  height: 18vw;
  clip-path: polygon(0 50%, 25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%);
  -webkit-clip-path: polygon(0 50%, 25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%);
}
.label {
  width: 60vw;
  height: 25vw;
  text-align: center;
  background-color: #f1f5f9;
  box-shadow: 0 0px 6px -1px rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  position: relative;
  top: -12.5vw;
  left: 50%;
  transform: translateX(-50%);
}
.label div {
  color: #94a3b8;
  line-height: 8vw;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.label #box-name,
.label #box-gift-name {
  color: #64748b;
}
.label #msg-2 {
  line-height: 25vw;
  color: #64748b;
  text-align: center;
}
.btn-list {
  width: 80vw;
  height: 50vw;
  position: relative;
  top: -5vw;
  left: 10vw;
  display: flex;
}
.btn-list .left,
.btn-list .right {
  width: 20vw;
  height: 50vw;
  position: relative;
}
.btn-list .left img,
.btn-list .right img {
  width: 15vw;
  height: 15vw;
  display: inline-block;
  position: relative;
  top: 12vw;
  left: 3vw;
}
.btn-list .left .label,
.btn-list .right .label {
  width: 20vw;
  height: 8vw;
  line-height: 8vw;
  font-size: 3vw;
  position: relative;
  top: 12vw;
  text-align: center;
  color: #64748b;
  background-color: transparent;
  box-shadow: none;
}
.btn-list .center {
  width: 40vw;
  height: 50vw;
  position: relative;
}
.btn-list .center img {
  width: 40vw;
  height: 40vw;
  position: relative;
}
.btn-list .center .label {
  width: 10vw;
  height: 6vw;
  line-height: 6vw;
  white-space: wrap;
  font-size: 4vw;
  position: relative;
  top: -26vw;
  text-align: center;
  color: #00a5ed;
  font-weight: 600;
  text-shadow: #f1f5f9 1px 0 0, #f1f5f9 0 1px 0, #f1f5f9 -1px 0 0, #f1f5f9 0 -1px 0;
  background-color: transparent;
  box-shadow: none;
}
.popwindow {
  width: 100vw;
  height: 100vh;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  top: 0vw;
  z-index: 999;
}
.popwindow .hui-list {
  width: 90vw;
  border-radius: 1.6vw;
  position: absolute;
  top: 20vw;
  left: 50%;
  transform: translateX(-50%);
}
.popwindow .hui-list .list-title {
  color: #94a3b8;
  width: 100%;
  line-height: 15vw;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}
.popwindow .hui-list ul {
  padding: 2vw 0;
  height: 100vw;
  overflow: scroll;
}
.popwindow .hui-list .hui-list-text {
  display: flex;
}
.popwindow .hui-list .hui-list-text .pic {
  width: 12vw;
  height: 12vw;
  padding: 1.1vw;
}
.popwindow .hui-list .hui-list-text .pic img {
  width: 10vw;
  height: 10vw;
}
.popwindow .hui-list .hui-list-text .box-name {
  width: 60vw;
  height: 12vw;
  padding: 0 2vw;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  color: #475569;
}
.popwindow .hui-list .hui-list-text .status {
  width: 20vw;
  height: 12vw;
  color: #38f;
}
.popwindow .colse-btn {
  width: 6vw;
  height: 6vw;
  line-height: 5vw;
  font-size: 6vw;
  text-align: center;
  position: absolute;
  top: 22vw;
  right: 8vw;
  border: 1px solid #64748b;
  border-radius: 50%;
  color: #64748b;
}
.popwindow .pop-bg {
  width: 80vw;
  height: 100vw;
  position: relative;
  top: 30vw;
  left: 15vw;
}
.popwindow .pop-bg .bg-img {
  width: 70vw;
  height: 70vw;
}
.popwindow .pop-bg .gift-img {
  width: 22vw;
  height: 22vw;
  position: absolute;
  top: 17vw;
  left: 24vw;
  border-radius: 1.6vw;
  border: 2px solid #f1f5f9;
}
.popwindow .text {
  margin: 3vw 0;
  width: 100%;
  line-height: 8vw;
  text-align: center;
  color: #f1f5f9;
  font-size: 5vw;
}
.popwindow .text span {
  color: #f1f5f9;
}
.popwindow button {
  width: 40vw;
  height: 12vw;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-background-size: 100% 100%;
  -moz-background-size: 100% 100%;
  background-color: transparent;
  position: relative;
  top: 5vw;
  left: 50%;
  transform: translateX(-50%);
}
.popwindow button span {
  position: relative;
  top: -1.5vw;
  color: #a54b0a;
}
#hui-toast {
  z-index: 999;
}
