:root {
  color-scheme: light;
  --paper: #fff;
  --panel: #f5f5f7;
  --text: #17181b;
  --muted: #555862;
  --line: #e5e5e9;
  --accent: #0066cc;
  --on-accent: #fff;
  --hero-text: #111521;
  --hero-muted: #3c465a;
  --hero-bg: #edf3fa;
  --hero-edge: #f7f9fc;
  --hero-accent: #0066cc;
  --hero-on-accent: #fff;
  --hero-stroke: #bbc9db;
  --focus: #0071e3;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--text); -webkit-font-smoothing: antialiased; }
.theme-cc {
  --panel: #f5f3f0;
  --muted: #625b53;
  --accent: #85461f;
  --hero-text: #fff7ed;
  --hero-muted: #dec9b8;
  --hero-bg: #1a100e;
  --hero-edge: #100c0b;
  --hero-accent: #e8b68a;
  --hero-on-accent: #271509;
  --hero-stroke: #725441;
  --focus: #9d5628;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: #cde5ff; color: #172943; }
.theme-cc ::selection { background: #f4d3b5; color: #432b1e; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 10; top: .5rem; left: .5rem; background: var(--paper); padding: .7rem 1rem; border-radius: 8px; }
.site-header { position: sticky; inset-block-start: 0; z-index: 4; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.topbar { width: min(1120px, calc(100% - 64px)); margin: auto; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: clamp(.75rem, 3vw, 3rem); }
.wordmark { display: inline-flex; align-items: center; flex: none; justify-self: start; }
.site-logo { width: clamp(130px, 16vw, 152px); height: auto; }
.site-nav { display: flex; gap: clamp(1rem, 3vw, 2.6rem); align-items: center; justify-content: center; font-size: .81rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--accent); }
.search-link { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .35rem 0 .35rem .4rem; min-width: 42px; min-height: 42px; border: 0; background: transparent; color: var(--text); font-size: .82rem; white-space: nowrap; }
.search-link:hover { color: var(--accent); }
.search-icon { display: inline-block; width: 14px; height: 14px; border: 1.55px solid currentColor; border-radius: 50%; position: relative; margin-right: 4px; flex: none; }
.search-icon::after { content: ""; position: absolute; width: 6px; height: 1.55px; border-radius: 1px; background: currentColor; bottom: -2px; right: -4px; transform: rotate(48deg); }
.hero { position: relative; overflow: hidden; display: grid; justify-items: center; text-align: center; color: var(--hero-text); background: radial-gradient(ellipse at 50% 72%, var(--hero-bg) 0%, var(--hero-edge) 74%); }
.hero-copy { padding: clamp(3.1rem, 7.3vw, 6.4rem) 1rem 0; z-index: 1; }
.hero h1 { margin: 0; font-size: clamp(2.55rem, 6.2vw, 5.25rem); font-weight: 720; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.hero p { margin: .95rem auto 0; max-width: 36ch; color: var(--hero-muted); font-size: clamp(1rem, 1.8vw, 1.25rem); line-height: 1.6; text-wrap: balance; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.55rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 43px; padding: .65rem 1.2rem; border: 1px solid transparent; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .91rem; font-weight: 620; transition: filter .16s, background-color .16s; }
.button:hover { filter: brightness(.9); }
.button.secondary { color: var(--accent); border-color: var(--line); background: transparent; }
.hero .button { background: var(--hero-accent); color: var(--hero-on-accent); }
.hero .button.secondary { background: transparent; border-color: var(--hero-stroke); color: var(--hero-text); }
.hero .button.secondary:hover { background: var(--hero-bg); }
.hero-art { width: min(100%, 980px); height: clamp(220px, 33vw, 448px); margin: .15rem 0 0; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.hero-art img, img.hero-art { width: 100%; height: 100%; object-fit: cover; object-position: center 53%; mask-image: radial-gradient(ellipse 66% 73% at 50% 50%, #000 47%, transparent 96%); }
.hero-art:empty { display: none; }
.shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.catalog, .archive-shell { padding-block: clamp(3rem, 6.4vw, 5.75rem); }
.section-heading { margin-bottom: 1.45rem; }
.section-heading h1, .section-heading h2 { margin: 0; font-weight: 720; letter-spacing: -.035em; font-size: clamp(1.95rem, 4vw, 3.15rem); line-height: 1.15; }
.section-heading p { margin: .65rem 0 0; color: var(--muted); line-height: 1.7; }
.category-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin-block: 0 1.6rem; }
.category-nav a, .category-nav button { border: 1px solid var(--line); display: inline-flex; align-items: center; min-height: 39px; padding: .45rem .92rem; border-radius: 999px; background: var(--paper); color: var(--text); font-size: .88rem; white-space: nowrap; }
.category-nav a:hover, .category-nav button:hover { background: var(--panel); }
.category-nav .is-active, .category-nav [aria-current], .category-nav [aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--paper); }
.category-nav .is-active:hover, .category-nav [aria-current]:hover, .category-nav [aria-pressed="true"]:hover { background: #34353a; }
.entries { display: grid; gap: 14px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.entry { display: flex; min-width: 0; flex-direction: column; grid-column: span 2; border-radius: 15px; overflow: hidden; background: var(--panel); }
.entry:nth-child(-n+2) { grid-column: span 3; }
.entry-media { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 8; overflow: hidden; background: #e6edf6; }
.theme-cc .entry-media { background: #2b1d18; }
.entry-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .26s ease-out; }
.entry:hover .entry-media img { transform: scale(1.04); }
.entry:nth-child(3n + 2) .entry-media img { object-position: center 66%; }
.entry:nth-child(3n) .entry-media img { object-position: center 35%; }
.entry-body { padding: 1.25rem 1.4rem 1.4rem; }
.entry-meta { margin: 0 0 .38rem; color: var(--accent); font-size: .78rem; font-weight: 650; }
.entry h2, .entry h3 { margin: 0; font-weight: 700; line-height: 1.25; letter-spacing: -.025em; font-size: clamp(1.24rem, 2.15vw, 1.7rem); }
.entry h2 a:hover, .entry h3 a:hover { color: var(--accent); }
.entry p:not(.entry-meta) { margin: .55rem 0 0; color: var(--muted); font-size: .93rem; line-height: 1.65; }
.entry-link { display: inline-flex; margin-top: .8rem; align-items: center; min-height: 32px; gap: .42rem; color: var(--accent); font-size: .88rem; font-weight: 640; }
.entry-link:hover { text-decoration: underline; text-underline-offset: .18em; }
.chevron { display: inline-block; width: .37rem; height: .37rem; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.search-box, .search-form { display: flex; width: min(100%, 32rem); align-items: center; gap: .6rem; margin-block: 0 1.2rem; }
.search-box input, .search-form input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid #c9c9d0; border-radius: 9px; background: var(--paper); padding: .6rem .8rem; color: var(--text); }
.search-form label { display: contents; }
.search-form .search-submit { min-height: 44px; padding: 0 .9rem; border: 0; border-radius: 9px; color: var(--on-accent); background: var(--accent); cursor: pointer; }
.status, .empty { color: var(--muted); font-size: .91rem; line-height: 1.6; }
.status { margin: -.55rem 0 .9rem; }
.empty { background: var(--panel); border-radius: 14px; padding: 1.4rem; }
.detail { width: min(740px, calc(100% - 64px)); margin-inline: auto; padding-block: clamp(2.75rem, 7vw, 6rem); }
.detail .entry-meta { margin: 1.2rem 0 .55rem; }
.detail h1 { margin: 0 0 1rem; font-size: clamp(2.3rem, 6vw, 4.6rem); font-weight: 730; letter-spacing: -.04em; line-height: 1.1; overflow-wrap: anywhere; }
.detail .entry-media { margin-block: 1.5rem; border-radius: 15px; }
.detail .lead { font-size: 1.14rem; color: var(--muted); }
.detail p, .detail li { line-height: 1.85; overflow-wrap: anywhere; }
.detail a, .back-link { color: var(--accent); text-underline-offset: .2em; }
.detail a:hover { text-decoration: underline; }
.detail .alignwide, .detail .alignfull { max-width: 100%; }
.detail :is(iframe,video) { max-width: 100%; }
.detail figure { margin-inline: 0; }
.detail pre { overflow: auto; }
.site-footer { background: var(--panel); border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.site-footer .shell { padding-block: 1.45rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; }
.site-footer p { margin: 0; }
.site-footer a:hover { color: var(--accent); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1.5rem; color: var(--accent); }
.page-numbers.current { color: var(--text); font-weight: 700; }
@media (max-width: 720px) {
  html { scroll-padding-top: 58px; }
  .topbar, .shell, .detail { width: calc(100% - 28px); }
  .topbar { min-height: 46px; }
  .site-logo { width: 108px; }
  .site-nav { display: none; }
  .hero-copy { padding: 1rem .8rem 0; }
  .hero h1 { font-size: clamp(1.68rem, 7.4vw, 2.5rem); }
  .hero p { font-size: .83rem; margin-top: .35rem; line-height: 1.45; }
  .hero .actions { margin-top: .55rem; gap: .45rem; }
  .hero .button { min-height: 38px; padding: .28rem .7rem; font-size: .8rem; }
  .hero-art { width: min(100%, 500px); height: clamp(86px, 28vw, 152px); margin-top: 0; }
  .hero-art img, img.hero-art { object-fit: contain; mask-image: radial-gradient(ellipse 65% 76% at 50% 50%, #000 52%, transparent 93%); }
  .catalog, .archive-shell { padding-block: 1.05rem 1.45rem; }
  .section-heading { margin-bottom: .55rem; }
  .section-heading h1, .section-heading h2 { font-size: clamp(1.25rem, 5.1vw, 1.7rem); }
  .category-nav { gap: 4px 5px; margin-block: 0 .7rem; }
  .category-nav a, .category-nav button { min-height: 31px; padding: .25rem clamp(.35rem, 1.6vw, .65rem); font-size: .75rem; }
  .entries { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .entry, .entry:nth-child(-n+2) { grid-column: span 1; border-radius: 10px; }
  .entry-media { aspect-ratio: 16 / 8; }
  .entry-body { position: relative; flex: 1; padding: .53rem .57rem .44rem; }
  .entry-meta { margin-bottom: .2rem; font-size: .68rem; }
  .entry h2, .entry h3 { font-size: .94rem; overflow-wrap: anywhere; }
  .entry p:not(.entry-meta) { margin-top: .25rem; font-size: .72rem; line-height: 1.45; }
  .entry .entry-link { min-height: 30px; margin-top: .18rem; font-size: .75rem; }
  .entry .entry-link::after { content: ""; position: absolute; inset: 0; }
  .entry:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
  .detail { padding-block: 1.4rem 2rem; }
  .site-footer .shell { padding-block: .85rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
.site-nav > .menu { display: flex; gap: inherit; align-items: center; margin: 0; padding: 0; list-style: none; }
.site-nav .current-menu-item > a { color: var(--accent); }
.admin-bar .site-header { inset-block-start: 32px; }
.comments-area { margin-top: 2.5rem; }
.comment-list, .comment-list .children { padding-inline-start: 1.5rem; }
.comment-form :is(input:not([type=checkbox]), textarea) { display: block; width: min(100%, 32rem); border: 1px solid var(--line); border-radius: 9px; padding: .65rem .75rem; }
.comment-form input[type=submit] { width: auto; color: var(--on-accent); background: var(--accent); cursor: pointer; }
@media (max-width: 782px) { .admin-bar .site-header { inset-block-start: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { inset-block-start: 0; } }
.entry-summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.entry-media.cover-cool { background: radial-gradient(ellipse at 54% 40%, #f2f7ff 0%, #d5e6f9 40%, #adc6e7 100%); }
.entry-media.cover-neutral { background: radial-gradient(ellipse at 46% 32%, #fff 0%, #dfe4e9 58%, #b9c1cc 100%); }
.theme-cc .entry-media.cover-cool { background: radial-gradient(ellipse at 53% 34%, #70442d, #3e241a 46%, #1b1211 100%); }
.theme-cc .entry-media.cover-neutral { background: radial-gradient(ellipse at 45% 33%, #fbecde 0%, #e5c4a6 55%, #b99880 100%); }
.detail-actions { margin-top: 1.5rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.detail-actions .button:not(.secondary) { color: var(--on-accent); }
.more-wrap { text-align: center; }
.more-wrap .button { margin-top: 1.6rem; }
.entry-media.cover-cool img { mix-blend-mode: multiply; object-position: center 47%; }
.entry-media.cover-neutral img { transform: scale(1.22) rotate(-7deg); mix-blend-mode: multiply; object-position: center 55%; }
.entry:hover .entry-media.cover-neutral img { transform: scale(1.27) rotate(-7deg); }
.theme-cc .entry-media.cover-cool img { mix-blend-mode: screen; }
.theme-cc .entry-media.cover-neutral img { mix-blend-mode: normal; }
