:root {
  color-scheme: light dark;
  --bg: #f6f6f8;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --muted: #66666c;
  --line: #e4e4e9;
  --accent: #c73e2f;
  --good: #2e9e6b;
  --bad: #c73e2f;
  --neutral: #8a6d3b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b10;
    --surface: #1c1c1f;
    --ink: #f5f5f7;
    --muted: #a1a1a8;
    --line: #2c2c31;
    --accent: #ef7b64;
    --good: #3fc07f;
    --bad: #f28b76;
    --neutral: #d0ab68;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 24px 64px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

main {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 72px;
}

.home-link,
.back {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 36px;
}

.home-link:hover,
.back:hover { color: var(--accent); }

.page-head h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.03em;
}

.page-head p {
  margin: 12px 0 0;
  color: var(--muted);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 22px;
}

.filter-chip {
  padding: 0.45em 1em;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 48%, var(--line));
}

.filter-chip span {
  margin-left: 4px;
  font-size: 0.75rem;
  opacity: 0.72;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.share-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.share-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 32%, var(--line));
}

.share-card.is-hidden { display: none; }

.share-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line);
}

.share-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.share-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  padding: 16px;
}

.share-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.share-category,
.single-category {
  color: var(--muted);
  font-size: 0.76rem;
}

.verdict {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.1em 0.55em;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

.verdict.good {
  color: var(--good);
  background: color-mix(in srgb, var(--good) 12%, transparent);
}

.verdict.bad {
  color: var(--bad);
  background: color-mix(in srgb, var(--bad) 12%, transparent);
}

.verdict.neutral {
  color: var(--neutral);
  background: color-mix(in srgb, var(--neutral) 12%, transparent);
}

.share-title {
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.4;
}

.share-item {
  color: var(--muted);
  font-size: 0.86rem;
}

.share-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--muted);
  font-size: 0.76rem;
}

.empty {
  margin-top: 32px;
  color: var(--muted);
}

.share-single {
  width: min(780px, 100%);
  margin: 0 auto;
}

.single-head {
  margin: 4px 0 26px;
}

.single-head h1 {
  margin: 8px 0 8px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.25;
}

.single-item {
  margin: 0;
  color: var(--muted);
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.84rem;
}

.single-meta .score {
  color: var(--accent);
  font-weight: 650;
}

.single-figure {
  margin: 0 0 28px;
}

.single-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.single-content {
  font-size: 1rem;
}

.single-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.pros,
.cons {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pros h2,
.cons h2 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.pros h2 { color: var(--good); }
.cons h2 { color: var(--bad); }

.pros ul,
.cons ul {
  margin: 0;
  padding-left: 1.2em;
}

.pros li,
.cons li {
  margin: 6px 0;
}

.disclosure {
  margin-top: 26px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.82rem;
  background: color-mix(in srgb, var(--neutral) 8%, transparent);
  border-left: 3px solid var(--neutral);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

@media (max-width: 800px) {
  .share-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  main { padding: 42px 0 56px; }

  .share-grid,
  .pros-cons {
    grid-template-columns: 1fr;
  }
}
