:root {
  color-scheme: light;
  --ink: #14253b;
  --soft-ink: #465469;
  --muted: #566172;
  --paper: #f8f6f0;
  --white: #fffefb;
  --line: #dddcd3;
  --red: #a93623;
  --rose: #fbe7df;
  --blue-tint: #e7edf2;
  --radius: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
button, input, select { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
a { color: inherit; }
.shell { max-width: 1250px; margin-inline: auto; padding-inline: 42px; }
.topbar { background: var(--white); border-bottom: 1px solid var(--line); }
.topbar-inner { min-height: 61px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; font-size: 14px; white-space: nowrap; }
.brand-icon { display: grid; grid-template-columns: repeat(2, 5px); grid-template-rows: repeat(2, 5px); place-content: center; gap: 2px; width: 28px; height: 28px; background: var(--ink); border-radius: 7px; }
.brand-icon i { border: 1px solid #f8f6f0; border-radius: 1px; }
.brand-icon i:last-child { border-color: #f08a70; background: #f08a70; }
.brand-divider { color: var(--red); margin-inline: 2px; }
.updated { color: var(--muted); font-size: 12px; white-space: nowrap; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 36px; padding-block: 43px 36px; }
.eyebrow { color: var(--red); font-size: 12px; letter-spacing: .1em; font-weight: 750; margin: 0 0 14px; }
.eyebrow span, .stats i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-right: 6px; vertical-align: 2px; }
h1 { font-family: "Songti SC", "Noto Serif CJK SC", "SimSun", serif; font-size: clamp(42px, 6vw, 74px); line-height: 1.04; font-weight: 800; letter-spacing: -.06em; margin: 0; }
h1 span { color: var(--red); }
.intro { color: var(--soft-ink); font-size: 14px; line-height: 1.85; max-width: 570px; margin: 18px 0 0; }
.dossier-link { margin-top: 12px; }
.product-audit { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 16px 18px; margin-bottom: 15px; }
.product-audit h2 { margin: 0 0 8px; font-size: 18px; }
.product-audit p, .product-audit li { color: var(--soft-ink); font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.product-audit p { margin: 7px 0; }
.product-audit summary { cursor: pointer; font-size: 13px; font-weight: 700; }
.product-audit ul { margin: 7px 0 2px; padding-left: 22px; }
.product-audit li + li { margin-top: 5px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(82px, 1fr)); padding: 0 0 4px; }
.stats div { display: flex; flex-direction: column; gap: 4px; align-items: center; border-left: 1px solid var(--line); padding: 0 14px; }
.stats strong { font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.045em; }
.stats div:first-child strong { color: var(--red); }
.stats span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.stats i { width: 5px; height: 5px; margin-right: 3px; }
.views { display: flex; gap: 5px; overflow: auto; border-block: 1px solid var(--line); scrollbar-width: thin; }
.view { position: relative; appearance: none; background: transparent; border: 0; padding: 13px 15px; font-size: 14px; font-weight: 650; color: var(--soft-ink); white-space: nowrap; }
.view:hover { color: var(--red); }
.view:focus-visible { outline-offset: -4px; }
.view[aria-pressed="true"] { color: var(--ink); }
.view[aria-pressed="true"]::after { content: ""; position: absolute; bottom: 0; left: 14px; right: 14px; height: 3px; background: var(--red); }
.view span { margin-left: 4px; font-size: 11px; padding: 2px 5px; border-radius: 4px; background: #eeebe2; color: var(--muted); }
.view[data-view="paid"] span { background: var(--rose); color: var(--red); }
.filters { display: grid; grid-template-columns: minmax(180px, 1.65fr) repeat(4, minmax(104px, 1fr)); gap: 8px; margin-top: 15px; }
.filters label { min-width: 0; position: relative; }
.filters input, .filters select { width: 100%; height: 42px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); font-size: 13px; }
.filters input { padding: 0 11px 0 37px; }
.filters select { padding: 0 26px 0 10px; appearance: none; overflow: hidden; text-overflow: ellipsis; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23465469' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.search svg { position: absolute; left: 11px; top: 12px; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; pointer-events: none; }
.results-line { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.results-line p { color: var(--muted); font-size: 12px; margin: 0; }
.text-button { border: 0; background: transparent; color: var(--red); text-decoration: underline; text-underline-offset: 3px; font-size: 12px; padding: 4px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { min-width: 0; overflow: hidden; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); display: flex; flex-direction: column; }
.card:hover { border-color: #b9bab2; }
.thumb { display: block; position: relative; width: 100%; text-align: left; padding: 0; border: 0; aspect-ratio: 2.15; background: var(--blue-tint); overflow: hidden; color: var(--ink); }
.thumb:focus-visible { outline-offset: -4px; }
.thumb[data-tone="paid"], .detail-media[data-tone="paid"] { background: #f2e0d6; }
.thumb[data-tone="commercial"], .detail-media[data-tone="commercial"] { background: #eae3d4; }
.thumb[data-tone="official"], .detail-media[data-tone="official"] { background: #dee7e9; }
.thumb[data-tone="store"], .detail-media[data-tone="store"] { background: #e9e5ee; }
.thumb.has-image { background: #e9e8e1; }
.thumb img { width: 100%; height: 100%; display: block; object-fit: contain; }
.media-label { position: absolute; left: 11px; top: 11px; border-radius: 5px; padding: 4px 7px; background: var(--white); color: var(--ink); font-size: 11px; line-height: 1.2; box-shadow: 0 1px 3px #14253b20; }
.media-mark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #fffaf5c0; border: 1px solid #ffffffb8; }
.media-mark svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 13px 14px 14px; }
.card-kicker { color: var(--muted); font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .03em; margin: 0; }
.card h2 { font-size: 16px; line-height: 1.47; margin: 0; overflow-wrap: anywhere; }
.card-title { text-decoration: none; appearance: none; border: 0; background: none; padding: 0; text-align: left; font: inherit; font-weight: 750; }
.card-title:hover { color: var(--red); }
.card-angle { color: var(--soft-ink); font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; margin: 0; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.tag { color: #344456; background: #eef0ee; padding: 3px 6px; border-radius: 5px; font-weight: 650; line-height: 1.25; font-size: 11px; }
.tag[data-status="paid"] { color: #882a18; background: var(--rose); }
.tag[data-status="commercial"] { color: #734a20; background: #f3ead6; }
.tag[data-status="official"] { color: #23495d; background: #e2ebf1; }
.card-meta { color: var(--muted); font-size: 11px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.card .actions { border-top: 1px solid #ece9e0; margin-top: auto; padding-top: 10px; }
.button { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 7px; padding: 6px 10px; text-decoration: none; background: var(--ink); color: #fff; font-weight: 670; font-size: 12px; }
.button:hover { background: #283e57; }
.button-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.button-outline:hover { background: #eeece3; }
.button:disabled { opacity: .42; cursor: default; }
.card-link { font-size: 12px; font-weight: 670; color: var(--red); padding-block: 5px; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.empty { text-align: center; padding: 38px 16px; border: 1px dashed #cccac0; border-radius: var(--radius); }
.empty h2 { margin: 0; font-size: 17px; }
.empty p { color: var(--muted); font-size: 13px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 12px; padding-block: 22px 0; }
.pagination span { color: var(--muted); font-size: 12px; }
.footer { margin-top: 38px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 8px 20px; padding-block: 15px 22px; color: var(--muted); font-size: 11px; }
.footer span { font-weight: 700; color: var(--ink); }
.footer p { margin: 0; }
dialog { width: min(660px, calc(100% - 24px)); max-height: calc(100% - 24px); border: 1px solid var(--line); border-radius: 17px; background: var(--white); color: var(--ink); padding: 0; box-shadow: 0 24px 80px #0e1b3640; }
dialog::backdrop { background: #101b2d80; }
.detail-inner { position: relative; }
.close { position: absolute; z-index: 1; top: 10px; right: 10px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); font-size: 23px; line-height: 1; }
.close:hover { color: var(--red); }
.detail-media { position: relative; min-height: 120px; background: var(--blue-tint); display: grid; place-items: center; }
.detail-media img { display: block; width: 100%; max-height: 55vh; object-fit: contain; }
.detail-media iframe { width: 100%; border: 0; aspect-ratio: 16 / 9; background: #192434; }
.detail-media .embed-trigger { position: absolute; left: 12px; bottom: 12px; }
.detail-body { padding: 21px; }
.detail-body h2 { font-size: clamp(19px, 4vw, 25px); line-height: 1.4; margin: 6px 0 10px; overflow-wrap: anywhere; }
.detail-fields { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 14px; font-size: 13px; line-height: 1.5; }
.detail-fields dt { color: var(--muted); }
.detail-fields dd { margin: 0; overflow-wrap: anywhere; }
.detail-notes { margin: 13px 0; font-size: 13px; line-height: 1.7; color: var(--soft-ink); white-space: pre-line; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
  .shell { padding-inline: 24px; }
  .hero { gap: 16px; }
  .stats { grid-template-columns: repeat(3, minmax(68px, 1fr)); }
  .stats div { padding-inline: 8px; }
}
@media (max-width: 720px) {
  .shell { padding-inline: 17px; }
  .hero { grid-template-columns: 1fr; padding-block: 30px 22px; gap: 17px; }
  .stats { justify-self: start; }
  .stats div:first-child { border-left: 0; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters .search { grid-column: 1 / -1; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .view { padding-inline: 9px; }
  .view[aria-pressed="true"]::after { left: 9px; right: 9px; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 410px) {
  .shell { padding-inline: 12px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .updated { font-size: 10px; }
  .brand { gap: 6px; }
  .view { font-size: 12px; }
  .view span { margin-left: 1px; }
}
