:root {
  --bg-deep: #120d0f;
  --bg-warm: #231517;
  --paper: rgba(255, 246, 232, 0.9);
  --card: rgba(34, 20, 18, 0.72);
  --line: rgba(255, 220, 192, 0.18);
  --gold: #efbf73;
  --gold-soft: #ffdba0;
  --rose: #ff8b71;
  --text-main: #fff4e7;
  --text-muted: rgba(255, 235, 214, 0.74);
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 167, 95, 0.18), transparent 18%),
    radial-gradient(circle at 82% 16%, rgba(255, 117, 89, 0.16), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(255, 203, 119, 0.12), transparent 28%),
    linear-gradient(180deg, #160e11 0%, #281619 50%, #140d0f 100%);
  color: var(--text-main);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

.activity-page,
.empty-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.ambient {
  position: absolute;
  width: 42vw;
  height: 42vw;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.42;
}

.ambient-one {
  top: -8vw;
  left: -6vw;
  background: radial-gradient(circle, rgba(255, 190, 110, 0.32), transparent 62%);
}

.ambient-two {
  right: -10vw;
  bottom: -8vw;
  background: radial-gradient(circle, rgba(255, 104, 92, 0.26), transparent 62%);
}

.activity-shell,
.empty-shell {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 64px;
}

.title-card,
.media-card,
.empty-shell {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(44, 23, 22, 0.88), rgba(25, 15, 17, 0.86));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.title-card {
  border-radius: 34px;
  padding: 34px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.title-card h1,
.empty-shell h1,
.empty-media h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.08;
}

.summary,
.link-copy,
.countdown-copy,
.entry-panel p,
.empty-shell p,
.empty-media p {
  color: var(--text-muted);
  line-height: 1.75;
}

.description-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.description-text {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
}


.display-stack {
  display: grid;
  gap: 22px;
}

.media-card {
  border-radius: 30px;
  padding: 22px;
}

.poster-frame,
.entry-panel {
  border-radius: 26px;
  border: 1px solid rgba(255, 220, 192, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 244, 229, 0.08), rgba(255, 244, 229, 0.03)),
    rgba(255, 255, 255, 0.03);
  min-height: 280px;
}

.poster-frame {
  padding: 16px;
}

.poster-frame img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.entry-panel {
  padding: 22px;
  display: grid;
  place-items: center;
  text-align: center;
}

.qr-image {
  width: min(100%, 360px);
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  padding: 14px;
  background: rgba(255, 250, 244, 0.96);
  box-shadow: inset 0 0 0 1px rgba(32, 21, 16, 0.08);
}

.jump-button {
  min-width: 220px;
  margin: 6px 0 12px;
}

.empty-media,
.empty-shell {
  display: grid;
  place-items: center;
  text-align: center;
}

.empty-media {
  min-height: 240px;
  padding: 18px;
}

.empty-media.compact {
  min-height: 160px;
}

@media (max-width: 720px) {
  .activity-shell,
  .empty-shell {
    width: min(100% - 20px, 100%);
    padding: 20px 0 42px;
  }

  .title-card,
  .media-card,
  .empty-shell {
    border-radius: 24px;
    padding: 18px;
  }

  .poster-frame,
  .entry-panel {
    min-height: 220px;
  }
}
