:root {
  color-scheme: light;
  --paper: #f8f8f3;
  --surface: #fdfdf9;
  --ink: #1a201f;
  --dim: #5d645f;
  --line: #ced2c8;
  --blue: #2846bd;
  --orange: #d35b28;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding: 1.5rem; }
body { margin: 0; padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); background: var(--paper); color: var(--ink); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button { border: 0; background: none; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip:focus { position: absolute; top: 8px; left: 8px; z-index: 10; padding: .5em 1em; background: var(--surface); }
.wrap { width: min(1220px, calc(100% - clamp(3rem, 9vw, 11rem))); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .brand, .site-header nav, .source-button, .section-name, .eyebrow { display: flex; align-items: center; }
.header-inner { min-height: 66px; justify-content: space-between; }
.brand { gap: 11px; font-size: 19px; font-weight: 780; letter-spacing: -.04em; }
.brand img { flex: none; }
.brand-code { margin-left: 3px; padding-left: 13px; border-left: 1px solid #b4bab1; color: var(--dim); font: 10px/1.3 var(--mono); letter-spacing: .11em; }
.site-header nav { gap: 30px; font-weight: 580; font-size: 13px; }
.site-header nav a:not(.source-button) { padding: 12px 0; }
.site-header nav a:hover, .footer a:hover, .guide a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.source-button { gap: 6px; border: 1px solid #c0c5bb; border-radius: 5px; padding: 5px 10px; font: 600 12px/1.6 var(--sans); }
.source-button svg { width: 16px; height: 16px; }
.out-arrow { font-size: 14px; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.11fr 1fr; align-items: stretch; border-bottom: 1px solid #abb1a6; }
.intro { align-self: center; padding: 41px 16px 42px 0; }
.eyebrow, .section-en, .figure-ref, .blueprint figcaption, .guide-steps li > span { font: 600 10px/1.3 var(--mono); letter-spacing: .12em; }
.hero-eyebrow { color: var(--blue); gap: 9px; }
.signal { width: 20px; height: 7px; background: repeating-linear-gradient(120deg, var(--orange) 0 3px, transparent 3px 6px); }
h1, h2, h3, p, figure { margin: 0; }
h1 { margin: 13px 0 9px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -.075em; font-size: clamp(54px,6.2vw,86px); line-height: .99; white-space: nowrap; font-weight: 590; }
h1 em { font-family: Iowan Old Style, Baskerville, Georgia, serif; color: var(--blue); font-weight: 500; letter-spacing: -.085em; }
.title-dot { color: var(--orange); }
.lead { font-size: clamp(19px,1.65vw,25px); font-weight: 690; letter-spacing: -.035em; }
.intro-description { margin-top: 6px; color: var(--dim); font-size: 14px; }
.blueprint { position: relative; isolation: isolate; align-self: stretch; margin: 19px 0; overflow: hidden; color: var(--blue); background: linear-gradient(to right, transparent 0 23px, #334dc50c 23px 24px), linear-gradient(to bottom, transparent 0 23px, #334dc50c 23px 24px); background-size: 24px 24px; }
.blueprint::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; background: linear-gradient(90deg, var(--paper), transparent 10%, transparent 92%, var(--paper)); }
.plane { display: block; position: absolute; inset: 1% 3%; height: 98%; width: 94%; object-fit: contain; }
.figure-ref, .blueprint figcaption { position: absolute; z-index: 1; font-size: 8px; color: #4558a2; }
.figure-ref { top: 10px; right: 12px; }
.blueprint figcaption { left: 13px; bottom: 10px; }
.blueprint figcaption b { color: var(--blue); margin-right: 8px; }
.scale { width: 28px; height: 5px; position: absolute; bottom: 10px; right: 14px; background: repeating-linear-gradient(to right,var(--blue) 0 1px,transparent 1px 5px); border-bottom: 1px solid var(--blue); }
.draft-cross { position: absolute; z-index: 1; width: 10px; height: 10px; color: #8293ce; background: linear-gradient(currentColor,currentColor) center/100% 1px no-repeat,linear-gradient(currentColor,currentColor) center/1px 100% no-repeat; }
.cross-left { left: 8px; top: 8px; }.cross-right { right: 8px; bottom: 32px; }
.directory { padding: 31px 0 36px; }
.directory-heading, .filters, .results-info, .footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-name { gap: 12px; }
.section-no { display: inline-flex; align-items: center; justify-content: center; align-self: center; border: 1px solid #8d9bd1; border-radius: 3px; min-width: 26px; height: 21px; font: 600 11px/1 var(--mono); color: var(--blue); }
h2 { letter-spacing: -.06em; font-size: clamp(25px,2.35vw,33px); line-height: 1.25; font-weight: 730; }
.section-en { color: var(--dim); font-size: 10px; align-self: center; letter-spacing: .1em; }
.search-box { display: flex; position: relative; align-items: center; width: min(328px,34%); height: 43px; border: 1px solid #b9c0b5; border-radius: 6px; background: var(--surface); padding: 0 13px; }
.search-box:focus-within { outline: 2px solid var(--blue); outline-offset: 1px; }
.search-box > svg { width: 19px; height: 19px; margin-right: 9px; flex-shrink: 0; fill: none; stroke: #535c55; stroke-width: 1.7; stroke-linecap: round; }
#query { width: 100%; min-width: 0; border: 0; padding: 6px 0; outline: none; background: transparent; color: var(--ink); font-size: 14px; }
#query::placeholder { color: #787e76; }
#query::-webkit-search-cancel-button { -webkit-appearance: none; }
#clear-search { font-size: 19px; line-height: 1; border-radius: 4px; min-width: 30px; min-height: 32px; color: var(--dim); }
.filters { align-items: center; gap: 12px; padding: 17px 0 14px; border-bottom: 1px solid var(--line); }
#platform-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; min-width: 0; }
#platform-filters button { min-height: 34px; padding: 4px 14px; border: 1px solid transparent; border-radius: 5px; font-size: 13px; letter-spacing: -.015em; font-weight: 590; white-space: nowrap; }
#platform-filters button:hover { color: var(--blue); background: #e7ebe9; }
#platform-filters :is(.active,[aria-pressed="true"],[aria-selected="true"]) { color: white; background: var(--blue); }
#platform-filters button span { margin-left: 4px; font-size: 10px; opacity: .85; font-weight: 450; }
.select-wrap { display: inline-flex; align-items: center; position: relative; gap: 5px; flex: none; }
.select-wrap label { font-size: 12px; color: var(--dim); margin-right: 3px; }
.select-wrap select { appearance: none; border: 1px solid var(--line); background: var(--surface); border-radius: 4px; padding: 6px 27px 6px 10px; font-size: 12px; line-height: 1.6; }
.select-wrap svg { position: absolute; pointer-events: none; right: 8px; width: 12px; height: 12px; fill: none; stroke: var(--ink); stroke-width: 1.5; }
.mobile-platform { display: none; }
.results-info { padding: 12px 0 13px; font-size: 12px; color: var(--dim); }
#result-count { color: var(--ink); font-weight: 620; }
.status-note { font-size: 11px; }
#results { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.app-card { min-width: 0; padding: 16px 17px 13px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); display: flex; flex-direction: column; align-items: flex-start; position: relative; transition: border-color .18s ease, background-color .18s ease; }
.app-card:focus-within, .app-card:hover { border-color: #94a1cc; background: #fffffc; }
.card-top { width: 100%; display: flex; align-items: center; gap: 12px; }
.card-identity { min-width: 0; }
.app-description { font-size: 15px; line-height: 1.65; margin: 12px 0 14px; color: #414943; overflow-wrap: anywhere; }
.card-footer { width: 100%; margin-top: auto; padding-top: 4px; border-top: 1px solid #e5e7de; display: flex; align-items: center; gap: 10px; }
.description-source { display: inline-flex; align-items: center; font-size: 12px; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
.app-icon { display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; min-width: 39px; height: 39px; padding: 0 5px; color: #3148a8; background: #e4e8f9; border-radius: 10px; font: 650 18px/1 "Helvetica Neue",var(--sans); letter-spacing: -.05em; }
.app-icon[data-tone="green"] { color: #3d6251; background: #e0eae0; }
.app-icon[data-tone="violet"] { color: #665187; background: #eae5ee; }
.app-icon[data-tone="orange"] { color: #8b542d; background: #f6e7d6; }
.app-icon[data-tone="ink"] { color: #475459; background: #e6eaeb; }
.app-icon[data-tone="pink"] { color: #8f4a61; background: #f6e1e6; }
.app-icon svg { width: 22px; height: 22px; }
.card-status { display: inline-flex; align-items: center; gap: 5px; color: var(--dim); font-size: 11px; font-weight: 530; }
.card-status::before { content: ""; width: 6px; height: 6px; background: #9ba3a1; border-radius: 50%; }
.card-status:is([data-status="open"],[data-status="available"],.open)::before { background: #39835f; }
.card-status:is([data-status="full"],.full)::before { background: #bd793f; }
.card-status:is([data-status="closed"],.closed)::before { background: #898b91; }
.app-name { margin: 0; font-size: 18px; color: var(--ink); font-weight: 690; line-height: 1.35; letter-spacing: -.035em; overflow-wrap: anywhere; }
.card-meta { margin-top: 3px; color: var(--dim); font: 500 11px/1.55 var(--mono); overflow-wrap: anywhere; }
.app-link { display: inline-flex; align-items: center; justify-content: center; gap: 5px; color: var(--blue); font-size: 13px; font-weight: 650; line-height: 1.5; min-height: 34px; padding-inline: 5px; margin-left: auto; }
.app-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.empty-state { grid-column: 1/-1; border: 1px dashed var(--line); color: var(--dim); padding: 26px; text-align: center; border-radius: 6px; }
.empty-state .reset-filters { margin-top: 10px; padding: 6px 12px; background: var(--blue); color: white; border-radius: 4px; }
.empty-state a { color: var(--blue); text-decoration: underline; }
#pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; margin-top: 21px; }
#pagination:empty { margin: 0; }
#pagination button, #pagination a { min-width: 37px; min-height: 37px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; background: var(--surface); }
#pagination button:hover:not(:disabled), #pagination a:hover { color: var(--blue); border-color: var(--blue); }
#pagination :is([aria-current="page"],.active) { background: var(--ink); color: white; border-color: var(--ink); }
#pagination :disabled { opacity: .5; cursor: default; }
.guide { border-block: 1px solid var(--line); padding: 26px 0; }
.guide-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.guide-steps li { border-left: 2px solid #bdc6dd; padding-left: 12px; }
.guide-steps li > span { color: var(--blue); letter-spacing: .06em; }
.guide h3 { margin: 6px 0 4px; font-size: 16px; }
.guide p { color: var(--dim); font-size: 13px; }
.guide a,.footer a:hover { color: var(--blue); }
.footer { padding-block: 21px 26px; font-size: 11px; color: var(--dim); align-items: baseline; flex-wrap: wrap; gap: 7px 18px; }
.footer b { color: var(--ink); }
.footer-slash { padding: 0 9px; color: #959c92; }
#source-meta { overflow-wrap: anywhere; }
@media (min-width: 1500px) { .intro { padding-block: 50px; } }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .intro { padding-block: 34px; }
  .hero { grid-template-columns: 1.1fr .9fr; }
  #platform-filters button { padding-inline: 9px; }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 58px; }
  .brand-code, .nav-index { display: none; }
  .site-header nav { gap: 15px; font-size: 12px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .hero { grid-template-columns: 1.4fr .8fr; }
  .intro { padding-block: 30px; }
  h1 { font-size: clamp(39px,8.2vw,58px); }
  .intro-description { font-size: 12px; }
  .figure-ref, .scale, .cross-right, .blueprint figcaption { display: none; }
  .directory { padding-top: 24px; }
  .filters { align-items: flex-start; flex-wrap: wrap; }
  .search-box { width: 42%; }
  .section-en { display: none; }
  #results { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .guide-steps { gap: 16px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 57px; }
  .site-header nav { gap: 12px; }
  .brand, .site-header nav a { min-height: 44px; }
  .source-button { border: 0; padding: 5px 2px; }
  .hero { display: block; }
  .intro { padding: 21px 0 19px; position: relative; }
  h1 { margin: 10px 0 8px; font-size: clamp(38px,10vw,56px); }
  .hero-eyebrow { font-size: 9px; }
  .blueprint { position: absolute; right: 0; top: 12px; width: 21%; height: 58px; margin: 0; }
  .plane { inset: 0; width: 100%; height: 100%; }
  .draft-cross { display: none; }
  .directory { padding-top: 19px; }
  .directory-heading { align-items: stretch; flex-direction: column; gap: 13px; }
  .section-en { display: block; }
  .search-box { width: 100%; min-height: 46px; }
  #query { font-size: 16px; min-height: 44px; }
  #clear-search { min-width: 44px; min-height: 44px; margin-right: -10px; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 9px 0 11px; }
  #platform-filters { display: none; }
  .filters .select-wrap { display: flex; min-width: 0; }
  .filters .select-wrap label { position: absolute; left: 12px; top: 6px; pointer-events: none; font: 500 11px/1.2 var(--sans); }
  .filters select { width: 100%; min-height: 49px; padding: 20px 22px 5px 11px; font-size: 16px; line-height: 1.35; }
  .results-info { font-size: 12px; gap: 7px; flex-wrap: wrap; padding: 10px 0; }
  #results { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .app-card { padding: 14px 15px 5px; border-radius: 9px; }
  .app-name { font-size: 18px; line-height: 1.35; }
  .app-description { margin: 10px 0 12px; line-height: 1.6; }
  .card-footer { padding-top: 0; }
  .card-status { font-size: 12px; }
  .app-link { min-height: 44px; padding-inline: 8px; }
  .description-source { min-height: 44px; padding-inline: 3px; }
  #pagination button, .reset-filters { min-height: 44px; min-width: 44px; }
  .guide-steps { grid-template-columns: 1fr; }
}
@media (pointer: coarse) and (orientation: landscape) {
  #platform-filters button, .select-wrap select, .app-link, .description-source, #pagination button { min-height: 44px; }
  #query, .select-wrap select { font-size: 16px; }
}
@media (max-width: 355px) {
  .out-arrow { display: none; }
  .brand { font-size: 15px; }
  .app-card { padding: 9px; }
  .card-status { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
