:root {
  color-scheme: light;
  --page: #f7f8fb;
  --surface: #fff;
  --text: #253047;
  --muted: #667085;
  --blue: #4265db;
  --border: #e5e9f1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; margin: 0; background-color: var(--page); background-image: linear-gradient(180deg, rgb(247 248 251 / 20%), rgb(247 248 251 / 8%) 55%, rgb(247 248 251 / 24%)), url("assets/reading-background.webp"); background-position: center; background-size: cover; background-repeat: no-repeat; background-attachment: fixed; color: var(--text); font-size: 14px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #8099f0; outline-offset: 5px; border-radius: 4px; }
::selection { background: #dce5ff; color: #2649bd; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.container { width: min(1144px, calc(100% - 80px)); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.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; }
.skip-link { position: fixed; left: 18px; top: 12px; z-index: 100; padding: 8px 15px; background: var(--blue); color: white; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { flex-shrink: 0; height: 72px; background: rgb(250 251 253 / 88%); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 650; letter-spacing: 2px; }
.brand-mark { display: block; width: 42px; height: 42px; object-fit: contain; }
.header-tide { display: block; width: 120px; height: 40px; flex-shrink: 0; color: var(--blue); opacity: .38; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
main.container { flex: 1; }
.intro { padding: 34px 0 31px; }
h1 { font-size: 34px; line-height: 1.6; font-weight: 620; letter-spacing: .5px; }
h1 > span { color: var(--blue); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 266px; gap: 32px; align-items: start; padding-bottom: 58px; }
.section-heading { margin-bottom: 18px; }
.section-heading h2 { display: flex; align-items: center; gap: 9px; font-size: 17px; line-height: 1.7; font-weight: 600; }
.section-icon { color: #6782c5; width: 18px; height: 18px; }
.reading-list { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding-inline: 26px; }
.reading-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 18px; row-gap: 13px; padding: 27px 0 28px; }
.reading-card + .reading-card { border-top: 1px solid #edf0f5; }
.article-emblem { grid-column: 1; grid-row: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-top: 2px; background: #fff; border: 1px solid #e8ecf3; overflow: hidden; }
.article-icon { display: block; width: 30px; height: 30px; object-fit: contain; }
.reading-card h3 { grid-column: 2; font-size: 18px; line-height: 1.8; font-weight: 570; overflow-wrap: break-word; }
.reading-card h3 a { transition: color 150ms; }
.reading-card h3 a:hover { color: var(--blue); }
.reading-excerpt { grid-column: 2; color: #596477; font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; text-wrap: pretty; }
.article-arrow { width: 15px; height: 15px; margin-left: 4px; vertical-align: -2px; color: #7d8fb5; opacity: .7; transition: color 150ms, opacity 150ms; }
.reading-card:hover .article-arrow, .reading-card:focus-within .article-arrow { color: var(--blue); opacity: 1; }
.reading-source { grid-column: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: 12px; }
.reading-source a:hover { color: var(--blue); }
.source-separator { color: #94a0b3; }

.website-sidebar { display: grid; gap: 28px; min-width: 0; padding: 0; }
.bookmark-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.bookmark-content { padding: 17px 20px 15px; }
.resource-link { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: #5b6473; font-size: 13px; }
.resource-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; background: #fff; border: 1px solid #e8ecf3; overflow: hidden; }
.site-icon { display: block; width: 24px; height: 24px; object-fit: contain; }
.resource-label { min-width: 0; }
.leaderboard-links .resource-label { overflow-wrap: anywhere; }
.resource-link > .icon { width: 13px; height: 13px; margin-left: auto; color: #8393ae; transition: color 150ms; }
.resource-link:hover, .resource-link:hover > .icon { color: var(--blue); }

.site-footer { flex-shrink: 0; background: rgb(241 243 248 / 82%); backdrop-filter: blur(10px); border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 62px; color: var(--muted); font-size: 11px; }
.footer-inner a:hover { color: var(--blue); }
.filing-info { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }

@media (max-width: 1000px) {
  .container { width: calc(100% - 56px); }
  .content-layout { grid-template-columns: minmax(0, 1fr) 234px; gap: 25px; }
  .reading-list { padding-inline: 23px; }
  .reading-card h3 { font-size: 17px; }
  .bookmark-content { padding-inline: 18px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 44px); }
  .content-layout { grid-template-columns: minmax(0, 1fr) 205px; gap: 19px; }
  .reading-list { padding-inline: 20px; }
  .reading-card h3 { font-size: 16px; }
  .reading-card { grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; }
  .article-emblem { width: 36px; height: 36px; border-radius: 10px; }
  .article-icon { width: 26px; height: 26px; }
  .intro { padding-block: 29px; }
  h1 { font-size: 30px; }
  .bookmark-content { padding-inline: 16px; }
  .resource-link { font-size: 12px; gap: 8px; }
  .resource-mark { width: 25px; height: 25px; border-radius: 7px; }
  .site-icon { width: 21px; height: 21px; }
}
@media (max-width: 650px) {
  body { background-attachment: scroll; background-position: center top; }
  .container { width: calc(100% - 36px); }
  .site-header { height: 65px; }
  .header-tide { display: none; }
  .brand { font-size: 21px; gap: 7px; }
  .brand-mark { width: 38px; height: 38px; }
  .intro { padding: 28px 0 30px; }
  h1 { font-size: 30px; letter-spacing: .3px; }
  .content-layout { display: flex; flex-direction: column; gap: 25px; padding-bottom: 39px; }
  .content-layout > * { width: 100%; }
  .section-heading { margin-bottom: 15px; }
  .section-heading h2 { font-size: 16px; }
  .reading-list { padding-inline: 20px; }
  .reading-card { grid-template-columns: 34px minmax(0, 1fr); column-gap: 13px; row-gap: 12px; padding: 24px 0 25px; }
  .article-emblem { width: 34px; height: 34px; border-radius: 10px; }
  .article-icon { width: 24px; height: 24px; }
  .reading-card h3 { font-size: 16px; line-height: 1.85; }
  .reading-excerpt, .reading-source { grid-column: 1 / -1; }
  .reading-source { font-size: 12px; }
  .bookmark-content { padding: 14px 18px 12px; }
  .resource-link { font-size: 13px; gap: 10px; padding: 10px 0; }
  .resource-mark { width: 28px; height: 28px; border-radius: 8px; }
  .site-icon { width: 24px; height: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-height: 65px; padding-block: 10px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 28px); }
  h1 { font-size: 28px; }
  .reading-list { padding-inline: 17px; }
  .reading-card h3 { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
