* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0b110e;
}

body {
  background: radial-gradient(125% 85% at 50% 42%, #1d2a22 0%, #0e1512 58%, #070b09 100%);
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  font-family: Georgia, "Palatino Linotype", "Times New Roman", serif;
}

#stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 540px;
  height: 960px;
  transform-origin: 50% 50%;
  transform: translate(-50%, -50%) scale(1);
  background: #efe8d6;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

canvas {
  display: block;
  width: 540px;
  height: 960px;
  touch-action: none;
}

#overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 1;
  transition: opacity 260ms ease-out;
}

#overlay.hidden {
  opacity: 0;
}

.panel {
  position: relative;
  width: 428px;
  padding: 44px 38px 30px;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255, 253, 244, 0.95), rgba(240, 233, 214, 0.96) 55%, rgba(226, 217, 194, 0.97)),
    #f2ebda;
  border: 1px solid rgba(38, 50, 42, 0.35);
  box-shadow:
    0 18px 48px rgba(16, 22, 18, 0.42),
    inset 0 0 0 6px rgba(246, 241, 229, 0.6),
    inset 0 0 0 7px rgba(38, 50, 42, 0.16);
  transform: rotate(-1.1deg);
  text-align: center;
}

.panel::before,
.panel::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  height: 3px;
  background: linear-gradient(90deg, rgba(38, 50, 42, 0) 0%, rgba(38, 50, 42, 0.55) 12%, rgba(38, 50, 42, 0.2) 60%, rgba(38, 50, 42, 0.5) 92%, rgba(38, 50, 42, 0) 100%);
  border-radius: 3px;
}

.panel::before { top: 12px; }
.panel::after { bottom: 12px; opacity: 0.6; }

.seal {
  position: absolute;
  top: -26px;
  right: 26px;
  width: 58px;
  height: 58px;
  background: #9d2b25;
  border-radius: 5px;
  transform: rotate(4deg);
  box-shadow: 0 6px 14px rgba(90, 26, 22, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.seal i {
  display: block;
  width: 4px;
  background: rgba(250, 240, 222, 0.92);
  border-radius: 1px;
}

.seal i:nth-child(1) { height: 26px; }
.seal i:nth-child(2) { height: 16px; margin-top: -8px; }
.seal i:nth-child(3) { height: 22px; margin-top: 6px; }

.kicker {
  font-size: 12.5px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(58, 72, 62, 0.72);
  margin-bottom: 10px;
  padding-left: 0.4em;
}

h1 {
  font-size: 33px;
  line-height: 1.1;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #1d2a23;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.reason {
  margin-top: 10px;
  font-size: 16px;
  font-style: italic;
  line-height: 1.4;
  color: rgba(52, 66, 56, 0.88);
}

.rule {
  height: 1px;
  margin: 22px 6px 18px;
  background: linear-gradient(90deg, rgba(38, 50, 42, 0) 0%, rgba(38, 50, 42, 0.4) 20%, rgba(38, 50, 42, 0.4) 80%, rgba(38, 50, 42, 0) 100%);
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat span {
  font-size: 11.5px;
  letter-spacing: 0.24em;
  color: rgba(58, 72, 62, 0.7);
  padding-left: 0.24em;
}

.stat strong {
  font-size: 31px;
  font-weight: 600;
  color: #24312a;
  letter-spacing: 0.02em;
}

.stat strong.hot {
  color: #a8322b;
}

.again {
  margin-top: 24px;
  font-size: 13.5px;
  letter-spacing: 0.22em;
  color: #8e2f27;
  padding-left: 0.22em;
}