:root {
  --paper: #f3efe7;
  --paper-2: #ebe5d8;
  --ink: #191713;
  --ink-soft: #343029;
  --muted: #6b655b;
  --faint: #8d8578;
  --line: #d7cdbb;
  --line-strong: #b9ad96;
  --river: #315b55;
  --river-deep: #23433f;
  --river-fg: #f7f3eb;
  --seal: #943d34;
  --gold: #90764e;
  --card: #fbf7ef;
  --white: #fffdf8;
  --display: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 1px 0 rgba(25, 23, 19, .04), 0 18px 50px -34px rgba(25, 23, 19, .35);
  --radius: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(1000px 440px at 5% -8%, color-mix(in oklab, var(--river) 9%, transparent), transparent 60%),
    linear-gradient(180deg, #f7f3eb 0, var(--paper) 28rem);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
button, input, select { font: inherit; }

.qy-wrap { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.qy-wide { width: min(1000px, calc(100% - 36px)); }
.qy-narrow { width: min(720px, calc(100% - 36px)); }

.qy-header {
  position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid color-mix(in oklab, var(--line) 82%, transparent);
  background: color-mix(in oklab, #f7f3eb 88%, transparent);
  backdrop-filter: blur(16px) saturate(120%);
}
.qy-header-inner { min-height: 70px; display: flex; align-items: center; gap: 18px; }
.qy-brand { display: flex; align-items: center; gap: 11px; min-width: 0; flex: none; }
.qy-brand strong { display: block; font-family: var(--display); font-size: 15px; letter-spacing: -.025em; white-space: nowrap; }
.qy-brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 10.5px; white-space: nowrap; }
.qy-mark {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center;
  border: 1px solid color-mix(in oklab, var(--river) 34%, var(--line)); border-radius: 11px;
  background: var(--card); color: var(--river); box-shadow: 0 6px 20px -18px var(--ink);
}
.qy-mark svg { width: 24px; height: 24px; }
.qy-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.qy-nav > a {
  display: inline-flex; min-height: 40px; align-items: center; gap: 6px;
  padding: 0 9px; border-radius: 10px; color: var(--ink-soft); font-size: 13px; white-space: nowrap;
}
.qy-nav > a svg { width: 15px; height: 15px; flex: none; }
.qy-nav > a:hover { background: var(--paper-2); }
.qy-nav > a.is-on { background: var(--river); color: var(--river-fg); }
.qy-lang { display: inline-flex; height: 38px; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--card); padding: 2px; margin-left: 6px; }
.qy-lang a { display: inline-flex; height: 32px; align-items: center; padding: 0 9px; border-radius: 7px; font-size: 11px; }
.qy-lang a.is-on { background: var(--ink); color: var(--paper); }
.qy-menu-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); padding: 10px; }
.qy-menu-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 4px 0; }

.qy-main { padding: 32px 0 84px; min-height: 70vh; }
.qy-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: 12px; }
.qy-footer-inner { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.qy-footer strong { color: var(--ink); font-family: var(--display); font-size: 15px; }
.qy-footer p { margin: 5px 0 0; }

.qy-kicker { margin: 0; color: var(--river); font-size: 11px; letter-spacing: .18em; font-weight: 600; text-transform: uppercase; }
.qy-page-title { margin: 8px 0 0; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.08; }
.qy-lead { color: var(--muted); max-width: 49rem; line-height: 1.72; font-size: 14px; }
.qy-lead-strong { color: var(--ink-soft); font-size: clamp(1rem, 1.8vw, 1.12rem); line-height: 1.8; }
.qy-hint { margin-top: 48px; color: var(--faint); font-size: 12px; }
.qy-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.qy-section-head h2 { margin: 6px 0 0; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.qy-section-head > h2 { margin: 0; }
.qy-section-copy h3 { margin: 7px 0 8px; font-size: clamp(1.45rem, 2.8vw, 2.25rem); }
.qy-section-copy p:not(.qy-kicker) { margin: 0; color: var(--muted); line-height: 1.7; max-width: 35rem; }

.qy-home-hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr);
  min-height: 440px; border: 1px solid var(--line); border-radius: 34px; background: var(--ink); color: var(--paper); box-shadow: var(--shadow);
}
.qy-home-hero::before {
  content: ""; position: absolute; width: 58%; aspect-ratio: 1; right: -11%; top: -45%; border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--paper) 18%, transparent); box-shadow: 0 0 0 70px color-mix(in oklab, var(--paper) 2%, transparent), 0 0 0 140px color-mix(in oklab, var(--paper) 1.5%, transparent);
}
.qy-home-hero::after {
  content: "北江"; position: absolute; right: 12%; bottom: -2rem; font-family: var(--display); font-size: clamp(6rem, 16vw, 13rem); line-height: 1; color: color-mix(in oklab, var(--paper) 4.5%, transparent); pointer-events: none;
}
.qy-home-hero-main { position: relative; z-index: 2; padding: clamp(34px, 6vw, 72px); align-self: center; }
.qy-home-hero .qy-kicker { color: color-mix(in oklab, var(--paper) 67%, transparent); }
.qy-home-hero h1 { margin: 13px 0 0; font-size: clamp(2.7rem, 7vw, 5.6rem); line-height: .98; color: var(--paper); }
.qy-hero-lead { margin: 22px 0 0; font-family: var(--display); font-size: clamp(1.15rem, 2.1vw, 1.55rem); color: var(--paper); }
.qy-hero-desc { max-width: 42rem; margin: 12px 0 0; color: color-mix(in oklab, var(--paper) 67%, transparent); font-size: 14px; line-height: 1.75; }
.qy-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.qy-btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid color-mix(in oklab, var(--paper) 24%, transparent); border-radius: 12px; color: var(--paper); font-size: 13px; }
.qy-btn:hover { border-color: color-mix(in oklab, var(--paper) 60%, transparent); }
.qy-btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.qy-hero-metrics { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; align-content: end; border-left: 1px solid color-mix(in oklab, var(--paper) 12%, transparent); background: color-mix(in oklab, var(--ink) 82%, transparent); }
.qy-hero-metric { min-height: 118px; padding: 22px; display: flex; flex-direction: column; justify-content: end; border-right: 1px solid color-mix(in oklab, var(--paper) 10%, transparent); border-top: 1px solid color-mix(in oklab, var(--paper) 10%, transparent); }
.qy-hero-metric strong { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 500; font-variant-numeric: tabular-nums; }
.qy-hero-metric span { margin-top: 5px; color: color-mix(in oklab, var(--paper) 58%, transparent); font-size: 11px; }

.qy-explore, .qy-atlas, .qy-search, .qy-holdings { margin-top: 56px; }
.qy-explore-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 14px; }
.qy-explore-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 22px; box-shadow: var(--shadow); }
.qy-card-headline { display: flex; align-items: center; gap: 12px; }
.qy-card-headline h3 { margin: 0; font-size: 1.25rem; }
.qy-card-headline p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.qy-head-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--river); flex: none; }
.qy-head-icon svg { width: 19px; height: 19px; }

.qy-map-stage { position: relative; min-height: 390px; margin-top: 20px; border-radius: 20px; background: linear-gradient(135deg, color-mix(in oklab, var(--river) 8%, var(--paper)), var(--paper-2)); overflow: hidden; }
.qy-map-stage::before { content: "QINGYUAN"; position: absolute; left: 7%; bottom: 5%; font-family: var(--display); font-size: clamp(3rem, 8vw, 6rem); letter-spacing: .08em; color: color-mix(in oklab, var(--ink) 5%, transparent); }
.qy-map-river { position: absolute; left: 42%; top: -5%; width: 15%; height: 115%; border-left: 2px solid color-mix(in oklab, var(--river) 30%, transparent); border-right: 1px solid color-mix(in oklab, var(--river) 14%, transparent); transform: rotate(11deg); border-radius: 50%; }
.qy-map-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); min-width: 72px; padding: 9px 10px; border: 1px solid color-mix(in oklab, var(--river) 25%, var(--line)); border-radius: 13px; background: color-mix(in oklab, var(--card) 94%, transparent); box-shadow: 0 12px 22px -18px var(--ink); text-align: center; transition: .2s ease; }
.qy-map-node:hover { transform: translate(-50%, -50%) scale(1.06); border-color: var(--river); z-index: 4; }
.qy-map-node strong { display: block; font-family: var(--display); font-size: 14px; }
.qy-map-node span { display: block; margin-top: 2px; color: var(--river); font-size: 11px; font-variant-numeric: tabular-nums; }

.qy-time-card { display: flex; flex-direction: column; }
.qy-time-mini { list-style: none; margin: 20px 0 0; padding: 0 0 0 18px; border-left: 1px solid var(--line); flex: 1; }
.qy-time-mini li { position: relative; padding: 0 0 13px 10px; }
.qy-time-mini li::before { content: ""; position: absolute; left: -22px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--card); border: 1px solid var(--river); }
.qy-time-mini a { display: grid; grid-template-columns: 8rem 1fr; gap: 10px; align-items: baseline; }
.qy-time-mini span { color: var(--faint); font-size: 10.5px; }
.qy-time-mini strong { font-family: var(--display); font-size: 13.5px; font-weight: 600; }
.qy-time-mini a:hover strong { color: var(--river); }
.qy-text-link { display: inline-flex; margin-top: 15px; color: var(--river); font-size: 12px; }

.qy-graph-feature { display: grid; grid-template-columns: .72fr 1.28fr; gap: 28px; align-items: center; margin-top: 14px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, var(--card), color-mix(in oklab, var(--river) 6%, var(--card))); box-shadow: var(--shadow); }
.qy-network { position: relative; min-height: 360px; border-radius: 22px; overflow: hidden; background: color-mix(in oklab, var(--paper) 78%, var(--white)); }
.qy-network-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.qy-network-lines line { stroke: color-mix(in oklab, var(--river) 27%, transparent); stroke-width: 1; }
.qy-network-center { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 112px; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--river); color: var(--river-fg); text-align: center; box-shadow: 0 20px 40px -26px var(--ink); padding: 12px; }
.qy-network-center small { font-size: 10px; opacity: .67; }
.qy-network-center strong { margin-top: 3px; font-family: var(--display); font-size: 17px; }
.qy-network-orbit { position: absolute; inset: 0; }
.qy-network-node { position: absolute; z-index: 2; max-width: 138px; min-width: 84px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 13px; background: var(--card); text-align: center; font-size: 11.5px; line-height: 1.35; box-shadow: 0 10px 28px -24px var(--ink); }
.qy-network-node small { display: block; color: var(--faint); font-size: 9px; margin-bottom: 2px; }
.qy-network-node:hover { border-color: var(--river); color: var(--river); }
.qy-network-node:nth-child(1) { left: 8%; top: 13%; }
.qy-network-node:nth-child(2) { left: 39%; top: 6%; }
.qy-network-node:nth-child(3) { right: 7%; top: 17%; }
.qy-network-node:nth-child(4) { right: 4%; top: 49%; }
.qy-network-node:nth-child(5) { right: 15%; bottom: 9%; }
.qy-network-node:nth-child(6) { left: 39%; bottom: 6%; }
.qy-network-node:nth-child(7) { left: 8%; bottom: 16%; }
.qy-network-node:nth-child(8) { left: 4%; top: 47%; }
.qy-network-node:nth-child(9) { left: 22%; top: 30%; }
.qy-network-node:nth-child(10) { right: 22%; bottom: 31%; }
.qy-network-detail { min-height: 400px; border: 1px solid var(--line); }

.qy-atlas-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.qy-atlas-card { display: flex; flex-direction: column; gap: 10px; min-height: 176px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--card); box-shadow: var(--shadow); transition: .2s ease; }
.qy-atlas-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.qy-atlas-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.qy-atlas-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in oklab, var(--river) 9%, var(--paper)); color: var(--river); }
.qy-atlas-icon svg { width: 17px; height: 17px; }
.qy-atlas-title { margin-top: auto; font-family: var(--display); font-size: 1.15rem; letter-spacing: -.025em; font-weight: 600; }
.qy-atlas-lead { color: var(--muted); font-size: 12.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }


.qy-badge { display: inline-flex; align-items: center; min-height: 23px; padding: 0 8px; border-radius: 999px; background: var(--paper-2); color: var(--ink-soft); font-size: 11px; line-height: 1; white-space: nowrap; }
.qy-badge.is-river { background: color-mix(in oklab, var(--river) 14%, white); color: var(--river); }
.qy-badge.is-seal { background: color-mix(in oklab, var(--seal) 14%, white); color: var(--seal); }
.qy-badge-abs { position: absolute; top: 12px; left: 12px; z-index: 2; }

.qy-search { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); padding: 24px; }
.qy-search-head { align-items: center; }
.qy-search-count { display: flex; align-items: baseline; gap: 8px; text-align: right; }
.qy-search-count strong { font-family: var(--display); font-size: 2rem; font-weight: 600; }
.qy-search-count span { color: var(--muted); font-size: 11px; }
.qy-search-form { display: grid; gap: 12px; }
.qy-search-q { position: relative; display: block; }
.qy-search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--faint); display: flex; }
.qy-search-q input[type="search"] { width: 100%; height: 52px; border: 1px solid var(--line); border-radius: 14px; padding: 0 15px 0 42px; background: var(--paper); color: var(--ink); }
.qy-search-q input[type="search"]:focus { outline: 2px solid color-mix(in oklab, var(--river) 28%, white); border-color: var(--river); }
.qy-filters { display: grid; gap: 8px; grid-template-columns: repeat(4, 1fr); }
.qy-filters select { height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 34px 0 12px; background: var(--paper); color: var(--ink); appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.qy-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.qy-chips-loose { margin: 8px 0 24px; }
.qy-chip { display: inline-flex; align-items: center; min-height: 29px; padding: 0 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-soft); font-size: 11px; }
.qy-chip.is-on, .qy-chip:hover { background: color-mix(in oklab, var(--river) 14%, white); color: var(--river); }
.qy-active-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); font-size: 11px; }
.qy-active-filters b { font-weight: 500; color: var(--ink); background: var(--paper); padding: 5px 8px; border-radius: 7px; }
.qy-clear { margin-left: auto; color: var(--river); font-size: 11px; }

.qy-holdings > h2, .qy-atlas-block h2 { margin: 0 0 16px; font-size: 1.55rem; }
.qy-region { margin-top: 34px; }
.qy-region-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.qy-region-head h3 { margin: 0; font-size: 1.25rem; }
.qy-region-head a { font-size: 11px; color: var(--river); }
.qy-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.qy-grid-top10 { display: grid; gap: 12px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.qy-grid-top5 { display: grid; gap: 12px; grid-template-columns: repeat(5, minmax(0, 1fr)); }

.qy-card, .qy-topic-card { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); overflow: hidden; box-shadow: var(--shadow); }
.qy-card > a, .qy-topic-card { display: flex; flex-direction: column; height: 100%; }
.qy-card:hover, .qy-topic-card:hover { border-color: var(--line-strong); }
.qy-card:hover h3, .qy-topic-card:hover h3 { color: var(--river); }
.qy-card-cover { position: relative; display: block; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--paper-2), color-mix(in oklab, var(--river) 5%, var(--paper))); overflow: hidden; }
.qy-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.qy-card:hover .qy-card-cover img, .qy-topic-card:hover .qy-card-cover img { transform: scale(1.025); }
.qy-card-cover.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in oklab, var(--ink) 35%, transparent), transparent 68%); pointer-events: none; }
.qy-card-glyph { position: absolute; left: 18px; bottom: 10px; font-family: var(--display); font-size: 4rem; color: color-mix(in oklab, var(--line-strong) 78%, transparent); }
.qy-card-body, .qy-topic-body { display: flex; flex-direction: column; gap: 7px; padding: 16px; flex: 1; }
.qy-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.qy-code { margin: 10px 0 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10.5px; letter-spacing: .04em; color: var(--faint); }
.qy-card h3, .qy-topic-card h3 { margin: 2px 0 0; font-size: 1.05rem; line-height: 1.35; }
.qy-official { margin: 0; font-size: 11px; color: var(--muted); }
.qy-official-large { font-size: 12px; margin-top: 7px; }
.qy-card p, .qy-topic-card p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qy-topic-card p { -webkit-line-clamp: 3; }
.qy-faint { color: var(--faint) !important; font-size: 11px !important; -webkit-line-clamp: 1 !important; }
.qy-topic-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.qy-topic-grid-2 { grid-template-columns: repeat(2, 1fr); }
.qy-atlas-block { margin-top: 48px; }

.qy-timeline { list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 1px solid var(--line); }
.qy-timeline li { position: relative; padding: 0 0 24px 5px; }
.qy-timeline li:last-child { padding-bottom: 0; }
.qy-timeline li::before { content: ""; position: absolute; left: -24.5px; top: 8px; width: 9px; height: 9px; border-radius: 99px; border: 1px solid var(--river); background: var(--paper); }
.qy-timeline h3 { margin: 6px 0 4px; font-size: 1.1rem; }
.qy-timeline p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; max-width: 48rem; }

.qy-back { display: inline-flex; min-height: 42px; align-items: center; color: var(--muted); font-size: 12px; }
.qy-back:hover { color: var(--river); }
.qy-mt { margin-top: 20px; }
.qy-hero-img { margin: 14px 0 0; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); }
.qy-hero-img img { width: 100%; aspect-ratio: 16/8.5; object-fit: cover; }
.qy-detail-head { padding: 22px 0 10px; }
.qy-detail-section { margin-top: 42px; }
.qy-inline-count { color: var(--muted); font-size: .6em; font-family: var(--sans); font-weight: 500; }
.qy-dl { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.qy-dl-card { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); overflow: hidden; }
.qy-dl > div { display: grid; gap: 5px; padding: 13px 16px; border-bottom: 1px solid var(--line); grid-template-columns: 8rem 1fr; }
.qy-dl > div:last-child { border-bottom: 0; }
.qy-dl dt { font-size: 11px; color: var(--muted); }
.qy-dl dd { margin: 0; font-size: 13px; line-height: 1.65; }
.qy-dl a { color: var(--river); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }

.qy-notes { display: grid; gap: 12px; }
.qy-empty { margin-top: 64px; text-align: center; }
.qy-empty-title { font-family: var(--display); font-size: 1.15rem; margin: 0 0 8px; }
.qy-src, .qy-muted { color: var(--faint); font-size: 12px; }
.qy-warn { border: 1px solid var(--line); padding: 16px; border-radius: 12px; background: var(--card); }
.qy-calendar { list-style: none; padding: 0; }
.qy-calendar li { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); padding: 16px; margin: 0 0 12px; }
.qy-h2 { margin: 40px 0 16px; }
.qy-more { margin-top: 24px; }
.qy-more a { color: var(--river); text-decoration: underline; text-underline-offset: 4px; }

button, [type="submit"] { cursor: pointer; }
.search-form { display: flex; gap: 8px; margin: 16px 0 24px; }
.search-form input[type="search"] { flex: 1; height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; background: var(--card); color: var(--ink); }
.search-form input[type="submit"] { height: 44px; border: 0; border-radius: 8px; padding: 0 16px; background: var(--river); color: var(--river-fg); }
.qy-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; }

@media (max-width: 1080px) {
  .qy-nav > a { padding-inline: 7px; }
  .qy-nav > a span { display: none; }
  .qy-atlas-grid, .qy-grid, .qy-topic-grid { grid-template-columns: repeat(2, 1fr); }
  .qy-grid-top10 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .qy-grid-top5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .qy-header-inner { min-height: 62px; flex-wrap: wrap; padding: 9px 0; }
  .qy-brand small { display: none; }
  .qy-menu-toggle { display: block; }
  .qy-nav { display: none; order: 3; width: 100%; margin-left: 0; padding: 8px 0 4px; border-top: 1px solid var(--line); grid-template-columns: repeat(2, 1fr); }
  .qy-header.is-open .qy-nav { display: grid; }
  .qy-nav > a { min-height: 42px; padding: 0 11px; }
  .qy-nav > a span { display: inline; }
  .qy-lang { grid-column: 1 / -1; margin: 5px 0 0; width: max-content; }
  .qy-home-hero { grid-template-columns: 1fr; min-height: 0; }
  .qy-hero-metrics { border-left: 0; border-top: 1px solid color-mix(in oklab, var(--paper) 12%, transparent); }
  .qy-hero-metric { min-height: 90px; }
  .qy-explore-grid, .qy-graph-feature { grid-template-columns: 1fr; }
  .qy-map-stage { min-height: 350px; }
  .qy-network { min-height: 350px; }
  .qy-filters { grid-template-columns: 1fr 1fr; }
  .qy-footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .qy-wrap, .qy-wide, .qy-narrow { width: min(100% - 24px, 1180px); }
  .qy-main { padding-top: 18px; }
  .qy-home-hero { border-radius: 24px; }
  .qy-home-hero-main { padding: 30px 22px 34px; }
  .qy-home-hero h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .qy-hero-desc { font-size: 12.5px; }
  .qy-hero-metric { padding: 16px; min-height: 82px; }
  .qy-hero-metric strong { font-size: 2rem; }
  .qy-explore, .qy-atlas, .qy-search, .qy-holdings { margin-top: 42px; }
  .qy-explore-card, .qy-graph-feature, .qy-search { padding: 17px; border-radius: 22px; }
  .qy-map-stage { min-height: 330px; }
  .qy-map-node { min-width: 61px; padding: 7px 8px; }
  .qy-map-node strong { font-size: 12px; }
  .qy-time-mini a { grid-template-columns: 6.5rem 1fr; gap: 7px; }
  .qy-time-mini strong { font-size: 12px; }
  .qy-network { min-height: 390px; }
  .qy-network-center { width: 96px; }
  .qy-network-node { max-width: 112px; min-width: 72px; padding: 8px; font-size: 10.5px; }
  .qy-atlas-grid, .qy-grid, .qy-topic-grid, .qy-topic-grid-2 { grid-template-columns: 1fr; }
  .qy-grid-top10 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qy-grid-top5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qy-atlas-card { min-height: 145px; }
  .qy-filters { grid-template-columns: 1fr; }
  .qy-search-head { align-items: flex-start; }
  .qy-search-count { flex-direction: column; gap: 0; }
  .qy-search-count strong { font-size: 1.5rem; }
  .qy-dl > div { grid-template-columns: 1fr; }
}


/* 2.3 unified record content/media */
.qy-entry-content{font-size:16px;line-height:1.9;max-width:920px}
.qy-entry-content p{margin:0 0 1em}.qy-entry-content h2,.qy-entry-content h3{margin:1.6em 0 .7em}
.qy-entry-content img{max-width:100%;height:auto}
.qy-media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.qy-media-grid figure{margin:0;background:#f4f1ea;border-radius:12px;overflow:hidden}
.qy-media-grid img{display:block;width:100%;height:100%;min-height:180px;object-fit:cover}
.qy-video-list{display:grid;gap:18px}.qy-video-list video,.qy-video-embed iframe{width:100%;max-width:1120px;aspect-ratio:16/9;height:auto;border:0;border-radius:12px;background:#111}

/* 2.4 real map / POI / routes */
.qy-map-page,.qy-routes-page{padding-bottom:72px}
.qy-page-head{padding:30px 0 18px;max-width:860px}.qy-page-head h1{margin:.15em 0 .3em;font-family:var(--display);font-size:clamp(2.2rem,5vw,4.6rem);line-height:1}.qy-page-head>p:last-child{max-width:760px;color:var(--muted);line-height:1.75}
.qy-map-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--card);margin:10px 0 14px}.qy-map-toolbar label{display:grid;gap:5px;font-size:11px;color:var(--muted)}.qy-map-toolbar select{min-width:150px;height:40px;border:1px solid var(--line);border-radius:9px;background:var(--paper);padding:0 10px;color:var(--ink)}.qy-map-count{margin-left:auto;font-size:12px;color:var(--muted)}.qy-map-count strong{font-size:1.4rem;color:var(--ink)}
.qy-real-map{height:min(72vh,720px);min-height:520px;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--paper-2);z-index:1}.qy-map-note{font-size:11px;color:var(--faint);margin:10px 2px 0}
.qy-map-popup{display:grid;gap:5px;min-width:180px;max-width:260px}.qy-map-popup img{width:100%;height:96px;object-fit:cover;border-radius:7px}.qy-map-popup strong{font-size:14px}.qy-map-popup small,.qy-map-popup span{display:block;color:#666;line-height:1.45}.qy-map-popup a{display:inline-block;margin-top:3px;text-decoration:underline}
.qy-single-map{height:420px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--paper-2)}.qy-map-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.qy-map-actions a{display:inline-flex;align-items:center;min-height:38px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:var(--card);font-size:12px}
.qy-nearby-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.qy-nearby-item{display:grid;gap:5px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--card)}.qy-nearby-item strong{font-size:14px}.qy-nearby-item span{font-size:11px;color:var(--muted)}
.qy-route-card>a{display:block;height:100%}.qy-route-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.qy-route-card h2{margin:5px 0;font-size:1.1rem}.qy-route-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.qy-route-meta span{border:1px solid var(--line);border-radius:999px;padding:4px 8px;font-size:10.5px;color:var(--muted)}
.qy-route-map{height:500px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--paper-2)}.qy-route-stops{counter-reset:route;display:grid;gap:0;border-top:1px solid var(--line);margin-top:16px}.qy-route-stop{position:relative;display:grid;grid-template-columns:42px 1fr;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.qy-route-stop::before{counter-increment:route;content:counter(route);display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line-strong);border-radius:50%;font-size:12px}.qy-route-stop h3{margin:0 0 4px;font-size:1rem}.qy-route-stop p{margin:0;color:var(--muted);font-size:12px}.qy-route-number{background:var(--ink)!important;color:var(--paper)!important;border:0!important;border-radius:50%!important;box-shadow:none!important;width:24px!important;height:24px!important;line-height:24px!important;margin-left:-12px!important;margin-top:-12px!important;text-align:center!important;font-weight:700}
@media(max-width:820px){.qy-real-map{min-height:480px;height:66vh}.qy-map-count{margin-left:0}.qy-nearby-grid{grid-template-columns:repeat(2,1fr)}.qy-single-map,.qy-route-map{height:420px}}
@media(max-width:600px){.qy-map-toolbar{align-items:stretch}.qy-map-toolbar label{width:100%}.qy-map-toolbar select{width:100%}.qy-map-count{width:100%}.qy-real-map{min-height:430px}.qy-nearby-grid{grid-template-columns:1fr}.qy-single-map,.qy-route-map{height:360px}}
.qy-map-fallback{display:grid;place-items:center;height:100%;min-height:260px;padding:24px;text-align:center;color:var(--muted);background:var(--paper-2)}
.qy-nearby-radius{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.qy-nearby-radius>span{font-size:11px;color:var(--muted);margin-right:3px}

.qy-route-stop-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.qy-route-stop-actions a{font-size:12px;text-decoration:none;border-bottom:1px solid currentColor;opacity:.76}.qy-route-stop-actions a:hover{opacity:1}

/* 2.5 events / living culture */
.qy-events-page{padding-bottom:72px}.qy-event-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 14px}.qy-event-tabs a{display:inline-flex;min-height:38px;align-items:center;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:var(--card);font-size:12px;color:var(--muted)}.qy-event-tabs a.is-on{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.qy-event-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--card);margin:0 0 18px}.qy-event-filters label{display:grid;gap:5px;font-size:11px;color:var(--muted)}.qy-event-filters select{min-width:160px;height:40px;border:1px solid var(--line);border-radius:9px;background:var(--paper);padding:0 10px;color:var(--ink)}.qy-event-count{margin-left:auto;color:var(--muted);font-size:12px}.qy-event-count strong{font-size:1.35rem;color:var(--ink)}
.qy-event-list{display:grid;gap:14px}.qy-event-card{display:grid;grid-template-columns:minmax(220px,32%) 1fr;min-height:250px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--card)}.qy-event-cover{display:block;background:var(--paper-2);min-height:100%}.qy-event-cover img{display:block;width:100%;height:100%;object-fit:cover}.qy-event-cover-placeholder{display:grid;place-items:center;height:100%;min-height:250px;font-family:var(--display);font-size:5rem;color:var(--faint)}.qy-event-card-body{display:flex;flex-direction:column;padding:22px}.qy-event-meta-top{display:flex;gap:7px;flex-wrap:wrap}.qy-event-card time{display:block;margin:14px 0 5px;color:var(--river);font-size:13px;font-weight:700}.qy-event-card h2{font-family:var(--display);font-size:clamp(1.45rem,2.5vw,2.35rem);line-height:1.08;margin:0 0 9px}.qy-event-card p{margin:0;color:var(--muted);line-height:1.7}.qy-event-facts{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.qy-event-facts span{font-size:11px;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:5px 9px}.qy-event-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:auto;padding-top:16px}.qy-event-card.is-cancelled{opacity:.6}.qy-event-card.is-past{opacity:.78}
.qy-home-events{margin-top:56px}.qy-home-event-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.qy-home-event{border:1px solid var(--line);border-radius:14px;background:var(--card);min-height:160px}.qy-home-event>a{display:block;height:100%;padding:16px}.qy-home-event time{display:block;color:var(--river);font-size:12px;font-weight:700;margin-bottom:10px}.qy-home-event h3{font-family:var(--display);font-size:1.15rem;line-height:1.25;margin:12px 0 6px}.qy-home-event p{margin:0;color:var(--muted);font-size:12px}
.qy-event-hero-panel{display:grid;grid-template-columns:minmax(220px,.65fr) 1.35fr;gap:22px;padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--card)}.qy-event-date-block{display:flex;flex-direction:column;justify-content:center;padding:18px;border-radius:14px;background:var(--ink);color:var(--paper)}.qy-event-date-block span{font-size:11px;opacity:.72;text-transform:uppercase;letter-spacing:.08em}.qy-event-date-block strong{font-family:var(--display);font-size:clamp(1.35rem,3vw,2.3rem);line-height:1.1;margin-top:8px}.qy-event-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.qy-event-summary-grid>div{padding:12px;border:1px solid var(--line);border-radius:12px}.qy-event-summary-grid small{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}.qy-event-summary-grid strong{font-size:13px;line-height:1.5}.qy-event-summary-grid a{color:var(--river)}.qy-event-notice{grid-column:1/-1;padding:14px;border-left:3px solid var(--river);background:var(--paper-2);border-radius:8px}.qy-event-notice p{margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.7}.qy-event-cta{grid-column:1/-1;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.qy-event-cta span{font-size:11px;color:var(--muted)}
.qy-live-calendar li{display:grid;grid-template-columns:minmax(150px,220px) 1fr;gap:6px 14px}.qy-live-calendar time{color:var(--river);font-weight:700}.qy-live-calendar strong{font-size:14px}.qy-live-calendar span{grid-column:2;color:var(--muted);font-size:11px}
@media(max-width:820px){.qy-event-card{grid-template-columns:1fr}.qy-event-cover{min-height:220px}.qy-event-cover img{aspect-ratio:16/9}.qy-home-event-grid{grid-template-columns:repeat(2,1fr)}.qy-event-hero-panel{grid-template-columns:1fr}.qy-event-count{margin-left:0}.qy-live-calendar li{grid-template-columns:1fr}.qy-live-calendar span{grid-column:1}}
@media(max-width:600px){.qy-event-filters{align-items:stretch}.qy-event-filters label,.qy-event-filters select{width:100%}.qy-event-count{width:100%}.qy-home-event-grid{grid-template-columns:1fr}.qy-event-summary-grid{grid-template-columns:1fr}.qy-event-card-body{padding:17px}}

/* 2.6 ISQY field review */
.qy-review-panel{display:grid;grid-template-columns:120px 1fr;gap:24px;align-items:center}.qy-review-score{display:flex;align-items:baseline;justify-content:center;min-height:100px;border:1px solid var(--line,#ddd);border-radius:18px;padding:18px}.qy-review-score strong{font-size:2.4rem}.qy-review-score span{font-size:.9rem;margin-left:3px}.qy-review-status.is-reviewed{font-weight:800}.qy-consumer-group{margin-top:18px}.qy-consumer-group h4{margin:0 0 10px}@media(max-width:640px){.qy-review-panel{grid-template-columns:1fr}.qy-review-score{min-height:auto;justify-content:flex-start}}

.qy-review-dimensions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.qy-review-dimensions>div,.qy-review-history a{border:1px solid var(--line,#ddd);border-radius:14px;padding:14px;display:flex;justify-content:space-between;gap:12px}.qy-review-history{display:grid;gap:10px}.qy-review-history a{text-decoration:none}@media(max-width:820px){.qy-review-dimensions{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* 2.7 knowledge graph + overseas foundation */
.qy-graph-shell{padding-top:28px;padding-bottom:72px}.qy-graph-filters{display:grid;grid-template-columns:1.5fr repeat(5,minmax(110px,1fr)) auto;gap:10px;align-items:end}.qy-graph-filters label{font-size:12px}.qy-graph-filters input,.qy-graph-filters select{display:block;width:100%;margin-top:5px}.qy-graph-summary{margin:18px 0;color:var(--qy-muted,#68707b)}.qy-graph-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px}.qy-graph-stage{border:1px solid rgba(0,0,0,.12);border-radius:18px;overflow:hidden;background:rgba(255,255,255,.72);min-height:620px}.qy-graph-stage svg{width:100%;height:680px}.qy-graph-edge{stroke:currentColor;stroke-opacity:.2;stroke-width:1.2;cursor:pointer}.qy-graph-edge:hover{stroke-opacity:.75;stroke-width:2}.qy-graph-node{cursor:pointer}.qy-graph-node circle{fill:currentColor;opacity:.85}.qy-graph-node text{font-size:12px;fill:currentColor}.qy-graph-detail{border:1px solid rgba(0,0,0,.12);border-radius:18px;padding:18px;align-self:start;position:sticky;top:90px}.qy-world-actions,.qy-world-links{display:flex;gap:10px;flex-wrap:wrap}.qy-world-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.qy-world-card{border:1px solid rgba(0,0,0,.12);border-radius:18px;padding:20px}.qy-world-card h3{font-size:24px;margin:.3em 0}.qy-world-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.qy-world-list a{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid rgba(0,0,0,.1)}
@media(max-width:900px){.qy-graph-filters{grid-template-columns:1fr 1fr}.qy-graph-layout{grid-template-columns:1fr}.qy-graph-detail{position:static}.qy-world-grid{grid-template-columns:1fr 1fr}}@media(max-width:640px){.qy-graph-filters,.qy-world-grid,.qy-world-list{grid-template-columns:1fr}.qy-graph-stage{min-height:520px}.qy-graph-stage svg{height:560px}}

.qy-world-cover{display:block;margin:-20px -20px 16px;aspect-ratio:16/9;overflow:hidden;border-radius:18px 18px 0 0}.qy-world-cover img{width:100%;height:100%;object-fit:cover;display:block}.qy-world-entry-panel{background:rgba(255,255,255,.55);border:1px solid rgba(0,0,0,.1);border-radius:18px;padding:22px}
