:root {
  --paper: #fbfaf7;
  --surface: #ffffff;
  --surface-soft: #f4f1ea;
  --ink: #17232b;
  --muted: #687178;
  --line: #e4e2dc;
  --accent: #f2643c;
  --accent-dark: #d94d29;
  --teal: #145f5c;
  --teal-dark: #0d4543;
  --lime: #d9ef85;
  --yellow: #f6cb65;
  --violet: #8c79b9;
  --shadow-sm: 0 8px 28px rgba(31, 42, 47, .07);
  --shadow-lg: 0 28px 70px rgba(31, 42, 47, .14);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  color-scheme: light;
}

html[data-theme="dark"] {
  --paper: #101716;
  --surface: #17201f;
  --surface-soft: #202927;
  --ink: #f2f3ed;
  --muted: #a9b0ab;
  --line: #303a37;
  --teal: #52b6aa;
  --teal-dark: #9bd7cf;
  --shadow-sm: 0 8px 28px rgba(0, 0, 0, .22);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, .32);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 200; top: 8px; left: 8px; padding: 10px 16px; color: #fff; background: var(--teal-dark); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 50; top: 0; height: 76px; border-bottom: 1px solid color-mix(in srgb, var(--line) 76%, transparent); background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(18px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 42px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { position: relative; display: grid; width: 42px; height: 42px; place-items: center; overflow: hidden; color: #fff; background: var(--teal-dark); border-radius: 13px 13px 13px 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.brand-mark::after { position: absolute; width: 16px; height: 16px; content: ""; right: -5px; top: -5px; background: var(--accent); border-radius: 50%; }
.brand-mark span { font-family: Georgia, "Songti SC", serif; font-size: 21px; font-weight: 700; line-height: 1; }
.brand-copy { display: flex; flex-direction: column; gap: 1px; line-height: 1; }
.brand-copy strong { font-size: 19px; letter-spacing: .08em; }
.brand-copy small { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.main-nav { display: flex; align-items: center; gap: 34px; margin-left: 26px; }
.main-nav a { position: relative; color: var(--muted); font-size: 14px; font-weight: 600; transition: color .2s ease; }
.main-nav a::after { position: absolute; content: ""; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--accent); transition: right .2s ease; }
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-button { display: grid; width: 40px; height: 40px; padding: 0; place-items: center; color: var(--ink); border: 1px solid var(--line); background: var(--surface); border-radius: 50%; transition: transform .2s, border-color .2s; }
.icon-button:hover { border-color: var(--accent); transform: translateY(-2px); }
.icon-button svg { width: 18px; height: 18px; }
.theme-toggle .moon-icon, html[data-theme="dark"] .theme-toggle .sun-icon { display: none; }
html[data-theme="dark"] .theme-toggle .moon-icon { display: block; }
.admin-link { padding: 9px 16px; color: #fff; background: var(--teal-dark); border-radius: 999px; font-size: 13px; font-weight: 700; transition: transform .2s, background .2s; }
.admin-link:hover { background: var(--accent); transform: translateY(-2px); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 620px; overflow: hidden; background: #eee8db; }
html[data-theme="dark"] .hero { background: #17201f; }
.hero::before { position: absolute; content: ""; inset: 0; opacity: .28; background-image: linear-gradient(rgba(20, 95, 92, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 95, 92, .1) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to right, #000, transparent 60%); }
.hero-grid { position: relative; display: grid; min-height: 620px; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.hero-copy { position: relative; z-index: 2; padding: 70px 0 76px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 19px; color: var(--teal-dark); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.eyebrow span { width: 24px; height: 2px; background: var(--accent); }
.hero h1 { max-width: 720px; margin: 0; font-family: Georgia, "Noto Serif SC", "Songti SC", serif; font-size: clamp(46px, 5vw, 70px); font-weight: 600; line-height: 1.16; letter-spacing: -.035em; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero-copy > p { max-width: 580px; margin: 23px 0 31px; color: #59625f; font-size: 17px; line-height: 1.9; }
html[data-theme="dark"] .hero-copy > p { color: var(--muted); }
.hero-search { display: flex; max-width: 610px; height: 64px; align-items: center; gap: 12px; padding: 7px 7px 7px 19px; background: var(--surface); border: 1px solid rgba(23, 35, 43, .07); border-radius: 16px; box-shadow: 0 14px 35px rgba(36, 46, 50, .12); }
.hero-search > svg { flex: 0 0 22px; width: 22px; color: var(--muted); }
.hero-search input { min-width: 0; flex: 1 1 auto; padding: 0 4px; outline: 0; border: 0; background: transparent; font-size: 15px; }
.hero-search input::placeholder { color: #9da3a3; }
.hero-search button { height: 48px; padding: 0 23px; color: #fff; border: 0; background: var(--accent); border-radius: 11px; font-size: 14px; font-weight: 800; transition: transform .2s, background .2s; }
.hero-search button:hover { background: var(--accent-dark); transform: translateX(2px); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 23px; color: #5e6764; font-size: 12px; font-weight: 700; }
html[data-theme="dark"] .hero-trust { color: var(--muted); }
.hero-trust span { display: flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 16px; height: 16px; padding: 2px; color: var(--teal-dark); border: 1px solid currentColor; border-radius: 50%; stroke-width: 2.4; }
.hero-art { position: relative; align-self: stretch; min-height: 560px; }
.art-orbit { position: absolute; border: 1px solid rgba(20, 95, 92, .19); border-radius: 50%; }
.orbit-one { width: 530px; height: 530px; top: 45px; left: -22px; }
.orbit-two { width: 410px; height: 410px; top: 105px; left: 38px; border-style: dashed; transform: rotate(12deg); }
.art-card { position: absolute; background: #fff; box-shadow: var(--shadow-lg); }
.art-card-main { width: 330px; top: 86px; left: 84px; padding: 12px; transform: rotate(4deg); border-radius: 20px; }
.art-window-bar { display: flex; gap: 5px; padding: 4px 2px 10px; }
.art-window-bar i { width: 6px; height: 6px; background: #d9d7ce; border-radius: 50%; }
.art-cover { position: relative; display: flex; min-height: 325px; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 27px; color: #fff; background: var(--teal); border-radius: 13px; }
.art-cover::before { position: absolute; width: 280px; height: 280px; content: ""; top: -95px; right: -78px; background: var(--lime); border-radius: 38% 62% 46% 54%; transform: rotate(18deg); }
.art-cover::after { position: absolute; width: 160px; height: 160px; content: ""; top: 34px; left: -75px; background: var(--accent); border-radius: 50%; }
.art-cover span { position: absolute; z-index: 1; top: 19px; left: 19px; padding: 4px 9px; color: var(--ink); background: var(--yellow); border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.art-cover strong { position: relative; z-index: 1; font-family: Georgia, "Songti SC", serif; font-size: 46px; line-height: 1.08; }
.art-cover small { position: relative; z-index: 1; margin-top: 13px; font-size: 9px; font-weight: 800; letter-spacing: .18em; opacity: .75; }
.art-lines { display: grid; gap: 6px; padding: 15px 4px 3px; }
.art-lines i { height: 5px; background: #e9e6de; border-radius: 999px; }
.art-lines i:nth-child(1) { width: 85%; } .art-lines i:nth-child(2) { width: 62%; } .art-lines i:nth-child(3) { width: 72%; }
.art-card-small { z-index: 3; width: 142px; right: -6px; bottom: 88px; padding: 22px; color: var(--ink); background: var(--yellow); border-radius: 50% 50% 18px 50%; transform: rotate(-5deg); }
.art-card-small span { display: block; font-family: Georgia, serif; font-size: 43px; font-weight: 700; line-height: 1; }
.art-card-small small { font-size: 11px; font-weight: 800; }
.art-badge { position: absolute; z-index: 4; display: grid; width: 112px; height: 112px; top: 62px; right: -15px; place-items: center; color: #fff; background: var(--accent); border: 6px solid #eee8db; border-radius: 50%; font-size: 32px; line-height: 1; transform: rotate(8deg); }
html[data-theme="dark"] .art-badge { border-color: #17201f; }
.art-badge span { display: block; margin-top: -27px; font-size: 10px; font-weight: 800; }
.art-spark { position: absolute; color: var(--teal); font-size: 38px; }
.spark-one { left: 0; bottom: 95px; } .spark-two { right: 55px; top: 245px; color: var(--accent); font-size: 23px; }

.catalog-section { padding: 96px 0 110px; background: var(--paper); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.section-kicker { display: block; margin-bottom: 9px; color: var(--accent); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.section-heading h2, .how-intro h2, .detail-content h2 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(31px, 4vw, 44px); line-height: 1.2; letter-spacing: -.02em; }
.section-heading p, .how-intro p { margin: 10px 0 0; color: var(--muted); }
.download-stat { display: flex; align-items: baseline; gap: 9px; padding-bottom: 7px; }
.download-stat strong { color: var(--teal); font-family: Georgia, serif; font-size: 32px; }
.download-stat span { color: var(--muted); font-size: 12px; font-weight: 700; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 36px 0 33px; }
.filter-chip { padding: 9px 17px; color: var(--muted); border: 1px solid var(--line); background: var(--surface); border-radius: 999px; font-size: 13px; font-weight: 700; transition: .2s ease; }
.filter-chip:hover, .filter-chip.active { color: #fff; border-color: var(--teal-dark); background: var(--teal-dark); transform: translateY(-1px); }
.filter-clear { margin-left: auto; color: var(--accent); font-size: 12px; font-weight: 800; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 27px; }
.resource-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 0 rgba(23, 35, 43, .02); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.resource-card:hover { border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); box-shadow: var(--shadow-sm); transform: translateY(-7px); }
.card-cover { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; margin: 9px 9px 0; background: var(--surface-soft); border-radius: 14px; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.resource-card:hover .card-cover img { transform: scale(1.045); }
.featured-badge { position: absolute; top: 13px; left: 13px; padding: 5px 10px; color: var(--teal-dark); background: var(--lime); border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: .04em; }
.cover-arrow { position: absolute; display: grid; width: 37px; height: 37px; right: 13px; bottom: 13px; place-items: center; color: #fff; background: rgba(17, 28, 31, .75); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; backdrop-filter: blur(8px); transition: transform .25s, background .25s; }
.resource-card:hover .cover-arrow { background: var(--accent); transform: rotate(45deg); }
.card-body { padding: 20px 22px 22px; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--accent); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.card-meta span:last-child { color: var(--muted); }
.card-body h3 { margin: 8px 0 8px; font-family: Georgia, "Songti SC", serif; font-size: 21px; line-height: 1.36; }
.card-body h3 a:hover { color: var(--teal); }
.card-body > p { display: -webkit-box; min-height: 49px; margin: 0; overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-footer { display: flex; align-items: center; gap: 12px; margin-top: 19px; padding-top: 16px; color: var(--muted); border-top: 1px solid var(--line); font-size: 11px; }
.card-footer span { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.card-footer svg { width: 15px; height: 15px; }
.card-footer a { margin-left: auto; color: var(--teal); font-size: 12px; font-weight: 800; white-space: nowrap; }
.card-footer a b { display: inline-block; margin-left: 3px; transition: transform .2s; }
.card-footer a:hover b { transform: translateX(3px); }
.empty-state { padding: 75px 20px; text-align: center; border: 1px dashed var(--line); background: var(--surface); border-radius: var(--radius); }
.empty-state > div { color: var(--accent); font-family: Georgia, serif; font-size: 50px; }
.empty-state h3 { margin: 5px 0; font-family: Georgia, "Songti SC", serif; font-size: 25px; }
.empty-state p { margin: 0 0 22px; color: var(--muted); }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 21px; border-radius: 11px; font-size: 13px; font-weight: 800; }
.button.primary { color: #fff; background: var(--accent); }
.button.secondary { border: 1px solid var(--line); background: var(--surface-soft); }

.how-section { padding: 100px 0 110px; color: #fff; background: var(--teal-dark); }
.how-section .section-kicker { color: var(--lime); }
.how-intro { max-width: 540px; }
.how-intro p { color: rgba(255,255,255,.65); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.how-card { position: relative; min-height: 255px; overflow: hidden; padding: 32px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11); border-radius: var(--radius); }
.how-card::after { position: absolute; width: 120px; height: 120px; content: ""; right: -55px; bottom: -65px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.how-card.featured { color: var(--ink); background: var(--lime); border-color: var(--lime); transform: translateY(-10px); }
.how-card > span { position: absolute; top: 25px; right: 27px; font-family: Georgia, serif; font-size: 13px; opacity: .55; }
.how-icon { display: grid; width: 51px; height: 51px; place-items: center; margin-bottom: 29px; color: var(--teal-dark); background: var(--yellow); border-radius: 16px 16px 16px 4px; font-size: 24px; font-weight: 700; }
.how-card.featured .how-icon { color: #fff; background: var(--accent); }
.how-card h3 { margin: 0 0 8px; font-family: Georgia, "Songti SC", serif; font-size: 22px; }
.how-card p { margin: 0; color: rgba(255,255,255,.64); font-size: 13px; }
.how-card.featured p { color: #586444; }

.detail-page { padding: 38px 0 94px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 28px; overflow: hidden; color: var(--muted); font-size: 12px; white-space: nowrap; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; }
.detail-hero { display: grid; grid-template-columns: 1.02fr .98fr; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.detail-cover { min-height: 480px; padding: 14px; background: var(--surface-soft); }
.detail-cover img { width: 100%; height: 100%; min-height: 450px; object-fit: contain; border-radius: 20px; }
.detail-summary { display: flex; flex-direction: column; justify-content: center; padding: 50px 54px; }
.detail-label-row { display: flex; flex-wrap: wrap; gap: 8px; }
.category-label, .editor-label { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: .05em; }
.category-label { color: #fff; background: var(--teal-dark); }
.editor-label { color: var(--teal-dark); background: var(--lime); }
.detail-summary h1 { margin: 18px 0 15px; font-family: Georgia, "Songti SC", serif; font-size: clamp(35px, 4vw, 49px); line-height: 1.19; letter-spacing: -.025em; }
.detail-lead { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.detail-tags span { color: var(--teal); font-size: 11px; font-weight: 700; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 29px 0 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.detail-facts div { padding: 17px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-facts dt { color: var(--muted); font-size: 10px; font-weight: 700; }
.detail-facts dd { margin: 2px 0 0; font-size: 13px; font-weight: 800; }
.detail-social { display: flex; align-items: center; gap: 20px; margin-top: 21px; color: var(--muted); font-size: 11px; }
.detail-social b { color: var(--ink); }
.copy-link { margin-left: auto; padding: 0; color: var(--teal); border: 0; background: transparent; font-size: 11px; font-weight: 800; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 375px; align-items: start; gap: 40px; margin-top: 54px; }
.detail-content { min-width: 0; padding: 9px 12px 0 7px; }
.detail-content h2 { font-size: 34px; }
.rich-text { margin-top: 26px; color: var(--muted); font-size: 15px; line-height: 2; white-space: pre-line; }
.content-note { margin-top: 38px; padding: 22px 24px; border-left: 3px solid var(--accent); background: var(--surface-soft); border-radius: 0 12px 12px 0; }
.content-note strong { font-size: 13px; }
.content-note p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.download-panel { position: sticky; top: 100px; padding: 28px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.download-panel-head { display: flex; align-items: center; gap: 14px; }
.download-icon { display: grid; width: 45px; height: 45px; place-items: center; color: #fff; background: var(--accent); border-radius: 14px 14px 14px 4px; font-size: 23px; font-weight: 800; }
.download-panel-head small { display: block; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.download-panel-head h2 { margin: 1px 0 0; font-family: Georgia, "Songti SC", serif; font-size: 23px; }
.file-ticket { display: grid; grid-template-columns: 43px minmax(0, 1fr) 20px; align-items: center; gap: 11px; margin-top: 22px; padding: 13px; background: var(--surface-soft); border-radius: 12px; }
.file-type { display: grid; width: 43px; height: 43px; place-items: center; color: var(--teal-dark); background: var(--lime); border-radius: 9px; font-size: 9px; font-weight: 900; }
.file-ticket strong, .file-ticket span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-ticket strong { font-size: 11px; }
.file-ticket span { color: var(--muted); font-size: 9px; }
.file-ticket i { display: grid; width: 18px; height: 18px; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; font-size: 9px; font-style: normal; }
.download-button { display: flex; height: 58px; align-items: center; justify-content: space-between; margin-top: 15px; padding: 0 11px 0 22px; color: #fff; background: var(--accent); border-radius: 13px; font-size: 15px; font-weight: 900; box-shadow: 0 12px 25px rgba(242, 100, 60, .25); transition: background .2s, transform .2s; }
.download-button b { display: grid; width: 38px; height: 38px; place-items: center; color: var(--accent); background: #fff; border-radius: 10px; font-size: 18px; transition: transform .2s; }
.download-button:hover { background: var(--accent-dark); transform: translateY(-2px); }
.download-button:hover b { transform: rotate(45deg); }
.download-hint { display: flex; align-items: flex-start; gap: 7px; margin: 13px 4px 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.download-hint svg { flex: 0 0 15px; width: 15px; color: var(--teal); }
.download-divider { height: 1px; margin: 22px 0 15px; background: var(--line); }
.download-panel dl { display: grid; gap: 10px; margin: 0; }
.download-panel dl div { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.download-panel dt, .download-panel dd { margin: 0; }
.download-panel dd { color: var(--ink); font-weight: 700; }
.online-dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; background: #3cb879; border-radius: 50%; box-shadow: 0 0 0 3px rgba(60,184,121,.12); }
.back-link { display: inline-block; margin-top: 49px; color: var(--teal); font-size: 13px; font-weight: 800; }

.status-page { display: grid; min-height: 67vh; padding: 80px 0; place-items: center; }
.status-card { max-width: 660px; padding: 65px 40px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.status-card > span { display: block; color: var(--accent); font-family: Georgia, serif; font-size: 68px; font-weight: 700; line-height: 1; }
.status-card h1 { margin: 13px 0 8px; font-family: Georgia, "Songti SC", serif; font-size: 30px; }
.status-card p { margin: 0 0 25px; color: var(--muted); }

.site-footer { padding: 62px 0 20px; color: rgba(255,255,255,.72); background: #101917; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.15fr .45fr; gap: 70px; align-items: start; }
.footer-brand { color: #fff; }
.footer-brand .brand-mark { background: var(--accent); }
.footer-brand .brand-copy small { color: rgba(255,255,255,.5); }
.footer-grid p { max-width: 350px; margin: 17px 0 0; font-size: 12px; line-height: 1.8; }
.footer-note strong { color: #fff; font-size: 12px; }
.footer-note p { margin-top: 8px; }
.footer-links { display: grid; gap: 10px; font-size: 12px; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: 9px; letter-spacing: .05em; }

@media (max-width: 1040px) {
  .hero-grid { gap: 20px; }
  .art-card-main { left: 48px; }
  .art-badge { right: 0; }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-summary { padding: 40px 35px; }
}

@media (max-width: 820px) {
  .site-header { height: 68px; }
  .header-inner { gap: 18px; }
  .main-nav { position: absolute; display: none; top: 68px; left: 20px; right: 20px; margin: 0; padding: 16px; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 9px; }
  .main-nav a::after { display: none; }
  .menu-toggle { display: grid; }
  .admin-link { display: none; }
  .hero, .hero-grid { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 66px 0 60px; }
  .hero-art { display: none; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-cover { min-height: 0; }
  .detail-cover img { min-height: 0; aspect-ratio: 4 / 3; }
  .detail-layout { grid-template-columns: 1fr; }
  .download-panel { position: static; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-links { display: none; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1180px); }
  .brand-copy { display: none; }
  .hero-copy { padding: 52px 0 48px; }
  .hero h1 { font-size: 42px; }
  .hero-copy > p { margin-top: 18px; font-size: 14px; }
  .hero-search { height: auto; min-height: 58px; flex-wrap: wrap; padding: 8px; }
  .hero-search > svg { margin-left: 8px; }
  .hero-search input { min-width: calc(100% - 48px); height: 41px; }
  .hero-search button { width: 100%; }
  .hero-trust { gap: 11px 18px; }
  .catalog-section { padding: 70px 0 76px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .download-stat { display: none; }
  .filter-row { margin: 27px 0 25px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 7px; scrollbar-width: none; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-chip { white-space: nowrap; }
  .filter-clear { display: none; }
  .resource-grid { grid-template-columns: 1fr; gap: 20px; }
  .how-section { padding: 72px 0; }
  .how-grid { grid-template-columns: 1fr; }
  .how-card, .how-card.featured { min-height: 220px; transform: none; }
  .detail-page { padding-top: 22px; }
  .breadcrumb { margin-bottom: 17px; }
  .detail-hero { border-radius: 20px; }
  .detail-cover { padding: 9px; }
  .detail-cover img { border-radius: 14px; }
  .detail-summary { padding: 30px 23px; }
  .detail-summary h1 { font-size: 35px; }
  .detail-social { flex-wrap: wrap; gap: 8px 15px; }
  .copy-link { margin-left: 0; width: 100%; text-align: left; }
  .detail-layout { gap: 30px; margin-top: 30px; }
  .detail-content { padding: 0 4px; }
  .download-panel { padding: 23px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand .brand-copy { display: flex; }
  .footer-bottom { gap: 15px; flex-direction: column; }
}

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