:root {
  --bg: #0b0d10;
  --panel: #13171c;
  --panel-2: #191e25;
  --line: rgba(232, 228, 218, .12);
  --text: #ece8de;
  --muted: rgba(236, 232, 222, .66);
  --faint: rgba(236, 232, 222, .4);
  --accent: #ffb347;
  --accent-ink: #1a1206;
  --ok: #5fd39a;
  --bad: #ff6b57;
  --radius: 14px;
  --gap: clamp(14px, 2vw, 22px);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 var(--font); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.hero, main, footer { width: min(1180px, 100% - 32px); margin: 0 auto; }
.hero { padding: clamp(40px, 8vw, 88px) 0 clamp(28px, 4vw, 44px); }
.kicker { margin: 0 0 14px; color: var(--faint); font-size: 14px; letter-spacing: .04em; }
.kicker a { text-decoration: none; }
.kicker a:hover { color: var(--text); }
h1 { margin: 0; font-size: clamp(30px, 5.4vw, 54px); line-height: 1.15; letter-spacing: -.01em; max-width: 16em; }
.lead { margin: 18px 0 0; max-width: 46em; color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); }
.need { margin: 14px 0 0; color: var(--faint); font-size: 14px; }
.need.mobile { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
  border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--text);
  font-weight: 600; font-size: 15px; text-decoration: none; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--panel-2); border-color: rgba(236, 232, 222, .28); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #ffc46b; }

h2 { margin: 0 0 12px; font-size: clamp(22px, 2.6vw, 28px); }
section { padding: clamp(26px, 4vw, 40px) 0; border-top: 1px solid var(--line); }
.sub { margin: -4px 0 20px; color: var(--muted); font-size: 14px; }

.prompt blockquote { margin: 0; padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--panel);
  border-radius: 0 var(--radius) var(--radius) 0; font: 16px/1.65 var(--mono); color: var(--text); }
.prompt .zh { margin: 12px 0 0; color: var(--muted); }
.rules { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rules li { padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); font-size: 14px; }
.rules strong { display: block; color: var(--text); font-size: 17px; margin-bottom: 2px; }

.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card.broken { opacity: .92; }
.shot { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.shot:hover img { transform: scale(1.03); }
.noshot { position: absolute; inset: 0; display: grid; place-items: center; color: var(--faint); font-size: 14px; }
.badge { position: absolute; left: 12px; top: 12px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(0, 0, 0, .66); }
.badge.ok { color: var(--ok); }
.badge.bad { color: var(--bad); }
.body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.who { display: flex; align-items: center; gap: 12px; }
.face { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); background: var(--panel-2); }
.who h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.model { margin: 0; color: var(--faint); font: 12.5px/1.5 var(--mono); }
.title { margin: 0; font-weight: 700; letter-spacing: .02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.note { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 2px 0 0; }
.stats div { padding: 8px 6px; background: var(--panel-2); border-radius: 8px; text-align: center; min-width: 0; }
.stats dt { color: var(--faint); font-size: 11.5px; line-height: 1.3; }
.stats dd { margin: 2px 0 0; font: 600 13.5px/1.3 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
blockquote { margin: 0; color: var(--muted); font-size: 14px; font-style: italic; padding-left: 12px; border-left: 2px solid var(--line); }
.card blockquote { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.actions { display: flex; gap: 10px; margin-top: auto; padding-top: 6px; }
.actions .btn { flex: 1; min-height: 42px; padding: 0 12px; font-size: 14px; }

.how p { max-width: 52em; color: var(--muted); }
footer { padding: 28px 0 48px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }

@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
