:root {
  color-scheme: dark;
  --ink: #f7f4ed;
  --soft-ink: rgba(247, 244, 237, 0.68);
  --night: #08090b;
  --panel: rgba(18, 19, 23, 0.82);
  --line: rgba(255, 255, 255, 0.13);
  --signal: #ff4d3d;
  --signal-soft: rgba(255, 77, 61, 0.16);
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

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

body {
  background: #d7d5d0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  overflow-x: hidden;
}

.page-shell {
  min-height: 100svh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.72), transparent 25rem),
    linear-gradient(135deg, #eceae5 0%, #c9c8c4 100%);
}

.phone-stage {
  position: relative;
  width: min(100%, 430px);
  min-height: min(900px, calc(100svh - 36px));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 46px;
  background: var(--night);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}

.phone-stage::before {
  content: "01";
  position: absolute;
  z-index: -1;
  right: -14px;
  bottom: 180px;
  color: rgba(255, 255, 255, 0.025);
  font: 800 190px/1 Georgia, serif;
}

.top-rail {
  position: absolute;
  z-index: 8;
  top: max(12px, env(safe-area-inset-top));
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.38);
  color: #fff;
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  text-decoration: none;
}

.brand-mark,
.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--signal);
  color: #fff;
  font: 800 15px/1 Georgia, serif;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 11px;
  letter-spacing: 0.12em;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.54);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.issue-label {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 650;
}

.video-badge {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(8, 9, 11, 0.46);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

.video-wrap {
  position: relative;
  height: clamp(560px, 75svh, 720px);
  background: #050507;
}

video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.video-shade {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 26%),
    linear-gradient(0deg, #08090b 0%, rgba(8, 9, 11, 0.76) 14%, transparent 44%);
}

.video-status {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 9, 11, 0.42);
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 650;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 5px var(--signal-soft);
  animation: pulse 1.8s ease-in-out infinite;
}

.sound-gate {
  position: absolute;
  z-index: 3;
  left: 18px;
  bottom: 110px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 7px 14px 7px 7px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(8, 9, 11, 0.58);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.sound-gate[hidden] {
  display: none;
}

.sound-gate:active {
  transform: scale(0.98);
}

.sound-gate:focus-visible {
  outline: 3px solid rgba(255, 77, 61, 0.76);
  outline-offset: 3px;
}

.play-glyph {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding-left: 2px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 9px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.gate-copy {
  display: grid;
  gap: 1px;
}

.gate-copy strong {
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.gate-copy small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 600;
}

.story-panel {
  position: relative;
  z-index: 4;
  margin: -104px 0 0;
  padding: 0 20px calc(34px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, var(--night) 78px);
}

.story-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--signal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.story-time {
  color: rgba(255, 255, 255, 0.46);
  font-weight: 650;
  letter-spacing: 0;
}

.story-time::before {
  content: "/";
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.18);
}

.social-card {
  display: flex;
  gap: 11px;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}

.social-card p {
  margin: 0;
  color: rgba(247, 244, 237, 0.77);
  font-size: 13px;
  line-height: 1.48;
}

.avatar {
  width: 38px;
  height: 38px;
  background: #f7f4ed;
  color: #111216;
}

.post-copy {
  min-width: 0;
}

.social-card .source {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 6px;
  color: #fff;
}

.source span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

h1 {
  margin: 0;
  max-width: 390px;
  color: #fff;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(35px, 9.4vw, 45px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.055em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.summary {
  max-width: 360px;
  margin: 15px 0 0;
  color: var(--soft-ink);
  font-size: 14px;
  line-height: 1.58;
}

a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a:focus-visible,
video:focus-visible {
  outline: 3px solid rgba(255, 77, 61, 0.76);
  outline-offset: 3px;
}

.topic-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.topic-row span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.topic-row a {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  text-decoration: none;
}

@keyframes pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.82; }
  50% { transform: scale(1.08); opacity: 1; }
}

#qqtime-frame {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 420px) {
  .page-shell {
    padding: 0;
    background: #050507;
  }

  .phone-stage {
    width: 100%;
    min-height: 100svh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .video-wrap {
    height: 73svh;
  }
}

@media (max-width: 760px) {
  .page-shell {
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot {
    animation: none;
  }
}
