:root {
  color-scheme: light;
  --resource-ink: #162033;
  --resource-muted: #667085;
  --resource-line: #e5eaf2;
  --resource-blue: #2563eb;
  --resource-blue-soft: #eff6ff;
  --resource-surface: rgba(255, 255, 255, .94);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: #f6f8fc; }
body { margin: 0; color: var(--resource-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; background: radial-gradient(circle at 50% -20%, #eaf3ff 0, #f6f8fc 46%, #f6f8fc 100%); }
a { color: inherit; }
.resource-header { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.resource-header img { display: block; width: 180px; height: auto; }
.resource-breadcrumb { display: flex; align-items: center; gap: 9px; color: var(--resource-muted); font-size: 13px; }
.resource-breadcrumb a { color: var(--resource-blue); text-decoration: none; }
.resource-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 72px; }
.resource-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.resource-main, .resource-aside, .resource-index-card { border: 1px solid var(--resource-line); border-radius: 22px; background: var(--resource-surface); box-shadow: 0 16px 42px rgba(35, 52, 79, .06); }
.resource-main { padding: clamp(24px, 4vw, 48px); }
.resource-aside { position: sticky; top: 20px; padding: 24px; }
.resource-eyebrow { margin: 0 0 12px; color: var(--resource-blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.resource-main h1 { max-width: 760px; margin: 0; font-size: clamp(28px, 4vw, 46px); line-height: 1.18; letter-spacing: -.04em; }
.resource-cover { max-width: 420px; margin: 24px 0 0; }
.resource-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; background: linear-gradient(135deg, #eaf3ff, #f6f8fc); }
.resource-lead { max-width: 720px; margin: 20px 0 0; color: #475467; font-size: 17px; line-height: 1.85; }
.resource-live-title-note { display: block; margin-top: 8px; color: #667085; font-size: 13px; line-height: 1.65; }
.resource-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.resource-fact { display: inline-flex; align-items: center; min-height: 30px; padding: 0 11px; border-radius: 999px; color: #475467; background: #f2f4f7; font-size: 12px; }
.resource-section { margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--resource-line); }
.resource-section h2 { margin: 0 0 12px; font-size: 19px; letter-spacing: -.02em; }
.resource-section p { margin: 0; color: #475467; line-height: 1.85; white-space: pre-line; }
.resource-section ul { margin: 12px 0 0; padding-left: 20px; color: #475467; line-height: 1.9; }
.resource-files { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.resource-files li { padding: 10px 12px; border: 1px solid #edf0f5; border-radius: 10px; color: #475467; font-size: 13px; overflow-wrap: anywhere; }
.resource-clue-label { margin-top: 18px !important; color: var(--resource-muted) !important; font-size: 12px; }
.resource-note { margin-top: 18px; padding: 13px 14px; border-radius: 12px; color: #667085; background: #f8fafc; font-size: 12px; line-height: 1.7; }
.resource-aside h2 { margin: 0; font-size: 17px; }
.resource-aside-label { margin: 22px 0 6px; color: var(--resource-muted); font-size: 12px; }
.resource-aside-value { margin: 0; color: var(--resource-ink); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.resource-status { display: inline-flex; align-items: center; justify-content: center; margin-top: 8px; padding: 5px 9px; border: 1px solid transparent; border-radius: 7px; color: #9a6700; background: #fff7df; font: inherit; font-size: 12px; cursor: pointer; }
.resource-status:disabled { cursor: wait; opacity: .72; }
.resource-status-valid { color: #166534; background: #ecfdf3; border-color: #bbf7d0; }
.resource-status-uncertain { color: #9a6700; background: #fff7df; border-color: #fde68a; }
.resource-status-checking { color: #1d4ed8; background: #eff6ff; border-color: #bfdbfe; }
.resource-open { display: flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 24px; border-radius: 12px; color: #fff; background: var(--resource-blue); font-weight: 700; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.resource-open:hover { background: #1d4ed8; transform: translateY(-1px); }
.resource-open.is-disabled { color: #98a2b3; background: #f2f4f7; pointer-events: none; }
.resource-back { display: inline-flex; margin-top: 24px; color: var(--resource-blue); font-size: 13px; text-decoration: none; }
.resource-footer { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 30px; color: #98a2b3; font-size: 12px; line-height: 1.7; }
.resource-footer a { color: #667085; }
.resource-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.resource-index-card { display: block; padding: 22px; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.resource-index-card:hover { border-color: #b7cdfb; transform: translateY(-2px); }
.resource-index-card h2 { margin: 0; font-size: 18px; line-height: 1.45; }
.resource-index-card p { margin: 10px 0 0; color: var(--resource-muted); font-size: 13px; line-height: 1.7; }
.resource-index-meta { display: flex; gap: 8px; margin-top: 16px; color: #98a2b3; font-size: 12px; }
@media (max-width: 760px) {
  .resource-header, .resource-shell, .resource-footer { width: min(100% - 28px, 1120px); }
  .resource-header { padding: 18px 0; align-items: flex-start; flex-direction: column; gap: 12px; }
  .resource-layout, .resource-index { grid-template-columns: 1fr; }
  .resource-aside { position: static; }
  .resource-main { padding: 24px 20px; border-radius: 18px; }
  .resource-aside, .resource-index-card { border-radius: 16px; }
  .resource-main h1 { font-size: 30px; }
  .resource-lead { font-size: 15px; }
}
