html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

:root {
  color-scheme: light;
  --paper: #fff3e4;
  --ink: #2c2118;
  --muted: #7a6556;
  --card: #fffdf9;
  --line: #f0d7bf;
  --orange: #ff7a32;
  --orange-deep: #e15d12;
  --sky: #7ec8ff;
  --good: #2f9e6b;
  --star: #e2a30d;
  --shadow: 0 10px 0 #f3d7b8;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

[hidden] { display: none !important; }

button {
  cursor: pointer;
}

a { color: inherit; }

.back {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  flex: none;
  border-radius: 50%;
  background: #ffd36a;
  color: #2c2118;
  border: 3px solid #2c2118;
  box-shadow: 0 4px 0 #f3d7b8;
  text-decoration: none;
}

.back svg {
  width: 24px;
  height: 24px;
  display: block;
}

.player-top .back { margin: 0; }

.cheer-layer {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  pointer-events: none;
  overflow: hidden;
}
.cheer-layer i {
  position: absolute;
  display: block;
  width: 12px;
  height: 16px;
  border-radius: 40% 40% 50% 50%;
  opacity: 1;
}
.cheer-hands {
  position: absolute;
  left: 50%;
  top: 22%;
  font-size: 72px;
  line-height: 1;
  transform: translateX(-50%);
  -webkit-animation: cheer-clap 0.35s ease-in-out 4;
  animation: cheer-clap 0.35s ease-in-out 4;
}
@-webkit-keyframes cheer-fall {
  from { -webkit-transform: translateY(0) rotate(0deg); transform: translateY(0) rotate(0deg); opacity: 1; }
  to { -webkit-transform: translateY(110vh) rotate(180deg); transform: translateY(110vh) rotate(180deg); opacity: 0.15; }
}
@keyframes cheer-fall {
  from { transform: translateY(0) rotate(0deg); opacity: 1; }
  to { transform: translateY(110vh) rotate(180deg); opacity: 0.15; }
}
@-webkit-keyframes cheer-clap {
  0% { -webkit-transform: translateX(-50%) scale(1); transform: translateX(-50%) scale(1); }
  50% { -webkit-transform: translateX(-50%) scale(1.22); transform: translateX(-50%) scale(1.22); }
  100% { -webkit-transform: translateX(-50%) scale(1); transform: translateX(-50%) scale(1); }
}
@keyframes cheer-clap {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.22); }
  100% { transform: translateX(-50%) scale(1); }
}

.hear-now {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 40;
  min-width: 180px;
  height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  border: 3px solid #2c2118;
  background: #ffd36a;
  box-shadow: 0 5px 0 #f3d7b8;
  font-size: 20px;
  font-weight: 800;
}

.lamp {
  width: 72px;
  height: 84px;
  position: relative;
  flex: none;
}

.lamp-glow {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffd36a;
  border: 4px solid #2c2118;
}

.lamp-glow::before,
.lamp-glow::after {
  content: "";
  position: absolute;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2c2118;
}

.lamp-glow::before { left: 14px; }
.lamp-glow::after { right: 14px; }

.lamp-foot {
  position: absolute;
  left: 28px;
  bottom: 4px;
  width: 16px;
  height: 18px;
  border-radius: 0 0 8px 8px;
  background: #2c2118;
}
