:root {
  color-scheme: light;
  --paper: #faf7ed;
  --ink: #282b25;
  --muted: #615f53;
  --red: #c54631;
  --green: #244f41;
  --line: #403f33;
  --mono: "Courier New", Courier, monospace;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "DengXian", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper) url("paper.png") repeat; font: 1rem/1.65 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #1d6470; outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { color: #fff9e7; background: var(--green); }
.container { width: min(1192px, calc(100% - clamp(40px, 9vw, 144px))); margin-inline: auto; }
.icon-bank, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: fixed; top: -100px; left: 12px; background: var(--paper); padding: 10px 18px; border: 2px solid; z-index: 10; }
.skip-link:focus { top: 7px; }
.site-head { position: relative; z-index: 3; border-bottom: 1.5px solid var(--ink); }
.header-line { display: flex; align-items: center; min-height: 82px; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; margin-right: auto; }
.brand img { transform: rotate(-4deg); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.45rem; line-height: 1.23; font-weight: 900; letter-spacing: .055em; }
.brand small { font: bold .71rem/1.5 var(--mono); letter-spacing: .125em; }
.main-nav { display: flex; align-items: stretch; gap: 35px; }
.main-nav a { position: relative; display: inline-flex; align-items: center; padding: 12px 1px; font-weight: 650; font-size: .94rem; }
.main-nav a[aria-current], .main-nav a:hover { color: var(--red); }
.main-nav a[aria-current]::after { content: ""; position: absolute; bottom: 3px; left: 1px; right: 1px; height: 3px; background: var(--red); }
.head-actions { display: flex; align-items: center; gap: 10px; }
.book-link { display: flex; align-items: center; gap: 8px; background: #fffbed; border: 1.6px solid var(--ink); border-radius: 5px; padding: 7px 14px; font-size: .91rem; font-weight: 700; box-shadow: 2px 2px 0 var(--ink); }
.book-link .icon { width: 17px; height: 17px; }
.book-link:hover, .book-link[aria-current] { background: #f9e1a0; }
.saved-count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 3px; font: bold .78rem var(--mono); background: var(--red); color: white; border-radius: 50%; }
.menu-toggle { display: none; width: 40px; height: 40px; place-items: center; background: transparent; border: 1.5px solid var(--ink); border-radius: 4px; }
.hero { position: relative; isolation: isolate; border-bottom: 1.5px solid var(--ink); overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .24; background-image: radial-gradient(#afa990 .65px, transparent .8px); background-size: 5px 5px; mask-image: linear-gradient(105deg, black, transparent 70%); }
.hero-layout { display: grid; grid-template-columns: .98fr 1.02fr; align-items: center; gap: clamp(20px,4.5vw,72px); padding-block: 32px 36px; }
.hero-copy { padding-left: 2px; }
.hero-kicker { display: flex; align-items: center; gap: 11px; font-size: .88rem; font-weight: 750; color: var(--green); letter-spacing: .15em; }
.signal-bars { display: inline-flex; gap: 3px; transform: skew(-16deg); }
.signal-bars i { width: 6px; height: 15px; background: #668e72; }
.signal-bars i:nth-child(2) { background: #e4b447; }
.signal-bars i:nth-child(3) { background: #cf5038; }
.hero h1 { margin: 14px 0 17px; font-size: clamp(3.7rem,5.65vw,5.5rem); font-weight: 950; line-height: 1.08; letter-spacing: -.075em; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-copy p { margin: 0 0 23px; font-size: clamp(.98rem,1.18vw,1.12rem); line-height: 1.85; color: #4e5047; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 45px; padding: 8px 19px; background: var(--red); color: #fffaed; border: 1.6px solid var(--ink); border-radius: 5px; box-shadow: 3px 3px 0 var(--ink); font-weight: 750; letter-spacing: .045em; }
.primary-button:hover { background: #aa3726; transform: translate(-1px,-1px); }
.primary-button:active { box-shadow: 1px 1px 0 var(--ink); transform: translate(1px,1px); }
.primary-button .icon { width: 16px; height: 16px; }
.poster-wrap { padding: 4px 6px 4px 3px; position: relative; }
.feature-poster { display: block; position: relative; border: 2px solid #333b30; background: #d0e3cd; box-shadow: 5px 6px 0 #333b30; transform: rotate(1deg); transition: transform .2s; }
.feature-poster:hover { transform: rotate(.35deg) translateY(-2px); }
.poster-image { position: relative; overflow: hidden; background: #b7d6bb; aspect-ratio: 1.52; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.poster-register { position: absolute; height: 10px; width: 10px; color: #376653; border-left: 1.5px solid; left: 10px; }
.r-tl { top: 10px; border-top: 1.5px solid; }.r-bl { bottom: 10px; border-bottom: 1.5px solid; }
.poster-code { position: absolute; top: 20px; left: 20px; color: #2b5548; font: bold .77rem/1.12 var(--mono); letter-spacing: .08em; }
.burst { width: 76px; aspect-ratio: 1; position: absolute; right: 16px; top: 14px; display: grid; place-items: center; transform: rotate(9deg); background: #473c2d; clip-path: polygon(50% 0%,57% 12%,68% 3%,71% 17%,84% 10%,83% 24%,96% 23%,90% 36%,100% 41%,89% 49%,100% 59%,87% 63%,95% 76%,81% 75%,82% 90%,69% 83%,66% 97%,56% 88%,49% 100%,43% 87%,32% 97%,29% 82%,16% 89%,17% 75%,4% 77%,10% 63%,0% 59%,11% 50%,0% 41%,13% 36%,6% 24%,19% 25%,18% 10%,31% 17%,34% 3%,44% 12%); }
.burst::before { content: ""; position: absolute; inset: 1.7px; clip-path: inherit; background: #f6ca64; }
.burst span { position: relative; font-size: 1.03rem; line-height: 1.18; font-weight: 900; letter-spacing: .09em; color: #393d2c; }
.poster-caption { display: flex; align-items: center; gap: 10px; padding: 10px 15px; min-height: 45px; border-top: 1.6px solid var(--ink); background: var(--green); color: #fbf5df; }
.poster-caption strong { font-size: 1.04rem; letter-spacing: .06em; }
.caption-symbol { color: #e9c971; font-size: 1.4rem; line-height: 1; }
.caption-en { margin-left: 2px; font: bold .74rem/1.2 var(--mono); color: #d4dfcb; letter-spacing: .08em; }
.poster-caption .icon { margin-left: auto; width: 20px; height: 20px; }
.catalog { padding-block: 31px 66px; scroll-margin-top: 20px; }
.section-overline { display: flex; align-items: center; gap: 9px; color: var(--red); font: bold .77rem/1.5 var(--mono); letter-spacing: .14em; }
.section-rule { width: 23px; height: 3px; background: var(--red); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.section-heading h2, .subpage h1 { margin: 3px 0 0; font-size: clamp(2rem,2.65vw,2.6rem); line-height: 1.4; font-weight: 900; letter-spacing: -.055em; }
.inventory-count { color: var(--muted); font-size: .88rem; }
.inventory-count b { color: var(--ink); font-family: var(--mono); }
.filters { display: flex; gap: 9px; flex-wrap: wrap; margin: 19px 0 23px; }
.filter { min-height: 35px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 15px; border: 1.3px solid #777569; border-radius: 4px; font-weight: 650; font-size: .88rem; background: #faf8ef; }
.filter[aria-pressed="true"] { color: #fffcef; background: var(--green); border-color: var(--green); }
.filter:hover { border-color: var(--green); background: #e0e8d6; }
.filter[aria-pressed="true"]:hover { background: #1e473a; }
.filter .icon { width: 14px; height: 14px; }
.toy-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,2vw,28px); }
.toy-card { position: relative; min-width: 0; overflow: hidden; background: #fffdf3; border: 1.5px solid var(--ink); border-radius: 7px; box-shadow: 2px 3px 0 #c8c5b8; transition: box-shadow .17s, transform .17s; }
.toy-card:hover, .toy-card:focus-within { box-shadow: 3px 5px 0 #989c8b; transform: translateY(-2px); }
.toy-card > a { display: block; height: 100%; }
.toy-card > a:focus-visible { outline-offset: -4px; }
.card-image { position: relative; border-bottom: 1px solid var(--ink); aspect-ratio: 1.73; background: #e3e5d5; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-era { position: absolute; left: 12px; top: 12px; background: #fff9e7; color: #343b31; border: 1px solid #57584c; padding: 2px 8px; border-radius: 3px; font: 600 .76rem/1.6 var(--mono), var(--sans); }
.save-button { display: grid; place-items: center; width: 34px; height: 34px; color: #373b31; background: #fffbeeec; border: 1.3px solid #45483d; border-radius: 50%; }
.toy-card > .save-button { position: absolute; right: 10px; top: 10px; }
.save-button .icon { width: 16px; height: 16px; }
.save-button:hover, .save-button[aria-pressed="true"] { color: #fff9e6; background: var(--green); }
.save-button[aria-pressed="true"] .icon { fill: currentColor; }
.card-body { padding: 15px 18px 19px; }
.card-body .card-meta { display: flex; align-items: center; gap: 8px; color: #636659; font: bold .75rem/1.3 var(--mono); letter-spacing: .09em; }
.card-meta::before { content: ""; width: 14px; height: 2px; background: var(--red); }
.card-body h3 { font-size: clamp(1.16rem,1.57vw,1.4rem); line-height: 1.4; letter-spacing: -.03em; margin: 6px 0 5px; }
.card-body p { color: #5b5e51; font-size: 1rem; line-height: 1.6; margin: 0; }
.site-foot { border-top: 1.5px solid var(--ink); background: #ecebdf; }
.foot-line { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; min-height: 79px; color: #53564c; font-size: .88rem; }
.foot-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 800; font-size: 1rem; }
.foot-line > a:last-child { margin-left: auto; text-decoration: underline; text-underline-offset: 4px; }
.subpage { min-height: calc(100vh - 163px); padding-block: 52px 70px; }
.sub-intro { margin: 11px 0 26px; color: var(--muted); }
.empty-state { padding: 44px 20px 48px; text-align: center; border: 1.5px dashed #899786; background: #ecf0e4; }
.empty-state > .icon { color: var(--green); height: 38px; width: 38px; }
.empty-state h2 { margin: 12px 0 0; font-size: 1.35rem; }
.empty-state p { color: var(--muted); margin: 7px 0 22px; }
.about-sheet { margin-top: 25px; display: grid; grid-template-columns: 1fr 1.08fr; border: 1.5px solid var(--ink); border-radius: 5px; overflow: hidden; background: #fffdf2; }
.about-photo { position: relative; background: #dbe8d9; border-right: 1.5px solid var(--ink); display: flex; flex-direction: column; }
.about-photo img { width: 100%; flex: 1; object-fit: contain; object-position: center; min-height: 0; }
.about-photo-caption { background: var(--green); color: #fff7dd; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 16px; font-weight: bold; }
.about-photo-caption span { font: .78rem var(--mono); }
.about-copy { padding: clamp(22px,3.3vw,46px); }
.about-copy > .icon { width: 36px; height: 36px; color: var(--red); }
.about-copy h2 { margin: 8px 0 12px; font-size: 1.8rem; }
.about-copy h3 { font-size: 1.06rem; margin: 23px 0 5px; }
.about-copy p { margin: 0 0 13px; color: #50534b; line-height: 1.85; }
.text-link { text-decoration: underline; text-underline-offset: 5px; font-weight: bold; color: var(--green); }
dialog { width: min(920px, calc(100vw - 40px)); max-height: calc(100dvh - 48px); padding: 0; color: var(--ink); background: var(--paper) url("paper.png"); border: 2px solid var(--ink); border-radius: 8px; box-shadow: 7px 7px 0 #273c33; overscroll-behavior: contain; }
dialog::backdrop { background: #1d2922b8; }
.detail-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff9df; background: var(--green); padding: 7px 16px; border-bottom: 1.5px solid var(--ink); }
.detail-bar span { font: bold .79rem var(--mono), var(--sans); letter-spacing: .11em; }
.close-button { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #fcf7dd; border-radius: 4px; background: transparent; color: #fff9df; }
.close-button:hover { background: #496e57; }
.detail-layout { display: grid; grid-template-columns: .92fr 1.08fr; }
.detail-aside { padding: 23px; background: #ecebdd; border-right: 1px solid #9b9b88; }
.detail-image { width: 100%; border: 1.2px solid var(--ink); border-radius: 4px; }
.detail-aside dl { margin: 18px 0; }
.detail-aside dl div { padding: 8px 0; display: grid; grid-template-columns: 5em 1fr; border-bottom: 1px dotted #919586; font-size: .91rem; }
.detail-aside dt { color: var(--muted); }
.detail-aside dd { margin: 0; font-weight: 600; }
.detail-save { display: inline-flex; align-items: center; gap: 7px; border: 1.3px solid var(--green); border-radius: 4px; padding: 7px 14px; color: var(--green); background: #fffcef; font-weight: 700; }
.detail-save[aria-pressed="true"] { background: var(--green); color: #fffbed; }
.detail-save .icon { width: 17px; height: 17px; }
.detail-prose { padding: 25px clamp(20px,3vw,35px) 30px; }
.detail-prose h2 { margin: 4px 0 14px; line-height: 1.35; font-size: clamp(1.6rem,2.3vw,2rem); letter-spacing: -.04em; }
.detail-prose h3 { font-size: 1.02rem; color: var(--green); margin: 21px 0 5px; }
.detail-prose p { line-height: 1.83; color: #50544b; margin: 0 0 11px; }
.detail-kicker { color: var(--red); font: bold .77rem var(--mono); letter-spacing: .09em; }
.toast { position: fixed; z-index: 5; left: 50%; bottom: 30px; max-width: calc(100vw - 24px); width: max-content; padding: 8px 16px; border-radius: 5px; background: var(--green); color: #fffcee; border: 1px solid var(--ink); font-size: .9rem; opacity: 0; transform: translate(-50%,8px); transition: opacity .15s, transform .15s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
@media (min-width: 1500px) { .hero-layout { padding-block: 40px 44px; } }
@media (max-width: 900px) {
  .hero-layout { gap: 23px; grid-template-columns: .96fr 1.04fr; padding-block: 35px 39px; }
  .hero h1 { font-size: clamp(3.15rem,6.9vw,4.2rem); }
  .poster-image { aspect-ratio: 1.38; }
  .hero-copy p { font-size: 1rem; }
  .caption-en { display: none; }
  .header-line { gap: 23px; }
  .main-nav { gap: 22px; }
  .toy-grid { gap: 18px; }
  .card-body { padding: 13px; }
  .burst { width: 62px; right: 9px; top: 10px; }
  .burst span { font-size: .91rem; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 38px); }
  .header-line { min-height: 67px; gap: 12px; }
  .brand { gap: 8px; }
  .brand img { width: 37px; height: 37px; }
  .brand strong { font-size: 1.15rem; }.brand small { font-size: .6rem; }
  .book-link { padding: 6px 9px; font-size: .85rem; }
  .menu-toggle { display: grid; width: 36px; height: 36px; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); padding: 5px 19px 10px; border-bottom: 1.5px solid var(--ink); box-shadow: 0 3px 0 #b9b8a6; }
  .main-nav.open { display: flex; justify-content: space-around; }
  .hero-layout { grid-template-columns: 1fr; gap: 27px; padding-block: 29px 34px; }
  .hero h1 { font-size: clamp(3.35rem,10.4vw,4.3rem); margin: 12px 0 14px; }
  .hero-copy p { margin-bottom: 17px; }
  .poster-wrap { width: min(100%, 500px); margin-inline: auto; }
  .poster-image { aspect-ratio: 1.52; }
  .poster-caption { padding: 7px 12px; min-height: 39px; }
  .caption-en { display: inline; font-size: .66rem; }
  .catalog { padding: 31px 0 42px; }
  .filters { gap: 7px; margin: 14px 0 19px; }
  .filter { padding: 5px 10px; }
  .toy-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
  .card-era { left: 7px; top: 7px; }
  .toy-card > .save-button { right: 6px; top: 6px; }
  .foot-line { padding-block: 18px; gap: 8px 12px; }
  .subpage { padding-block: 28px 45px; }
  .detail-layout, .about-sheet { grid-template-columns: 1fr; }
  .detail-aside { border-right: 0; border-bottom: 1px solid #9b9b88; padding: 16px 20px; }
  .detail-image { max-height: 240px; object-fit: contain; background: #e8e8da; }
  .detail-aside dl { margin: 8px 0 12px; }
  .detail-prose { padding: 20px; }
  .about-photo { border-right: 0; border-bottom: 1.5px solid var(--ink); }
  .about-photo img { max-height: 260px; object-fit: cover; }
  .detail-bar { position: sticky; top: 0; z-index: 1; }
}
@media (max-width: 490px) {
  .poster-caption strong { white-space: nowrap; }
  .poster-caption .caption-en { display: none; }
  .toy-grid { grid-template-columns: 1fr; gap: 20px; }
  .card-body { padding: 14px 16px 16px; }
  .card-body h3 { font-size: 1.27rem; }
  .card-image { aspect-ratio: 1.77; }
  .toy-card > .save-button { right: 10px; top: 10px; }
  .card-era { left: 10px; top: 10px; }
  .foot-line > span { font-size: .76rem; }
  .foot-line > a:last-child { font-size: .8rem; }
  dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 23px); box-shadow: 3px 3px 0 #273c33; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
