:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #171717;
  --muted: #6b6b6b;
  --line: #dededb;
  --line-strong: #bdbdb8;
  --accent: #1769d2;
  --accent-soft: #edf4fd;
  --brand-yellow: var(--accent-soft);
  --brand-red: var(--accent);
  --cream: var(--bg);
}

*, *::before, *::after {
  box-sizing: border-box;
  animation: none !important;
  transition: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
}

html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
::selection { background: var(--accent-soft); color: var(--text); }

h1, h2, h3, p, ul { margin-top: 0; }
[hidden] { display: none !important; }

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--accent); }

.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 64px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: rgba(247,247,245,.98);
  border-bottom: 1px solid var(--line);
}
.app-header .nav-links { grid-column: 2; }

.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: var(--text); text-decoration: none; }
.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--text);
  border-radius: 4px;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  transform: none;
}
.brand strong { display: block; font-family: inherit; font-size: 16px; line-height: 1.2; letter-spacing: 0; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; line-height: 1.2; letter-spacing: .08em; }

.nav-links { display: flex; align-self: stretch; gap: 28px; }
.nav-link {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  cursor: pointer;
}
.nav-link:hover { color: var(--text); background: transparent; }
.nav-link.active { color: var(--text); background: transparent; font-weight: 600; }
.language-toggle { min-width: 44px; height: 30px; margin-left: 8px; align-self: center; padding: 0 9px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--accent); font-size: 11px; font-weight: 700; cursor: pointer; }
.app-header>.language-toggle { grid-column: 3; justify-self: end; }
.nav-link.active::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--accent); }

.header-actions { display: none; }
.ghost-btn, .primary-btn, .action-btn, .quick-tags button, .filter-list button, .active-filters button {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
.primary-btn { border-color: var(--accent); background: var(--accent); color: #fff; }
.ghost-btn:hover, .action-btn:hover, .quick-tags button:hover, .filter-list button:hover { border-color: var(--text); background: var(--surface); transform: none; }
.primary-btn:hover { background: var(--accent); transform: none; }

main { max-width: 1180px; margin: 0 auto; padding: 28px 32px 80px; }
.search-stage { min-height: 0; padding: 0 0 24px; text-align: left; background: none; border: 0; }
.search-stage::before, .search-stage::after { display: none; }
.search-copy { max-width: 720px; margin: 0; }
.eyebrow, .section-kicker { display: block; margin-bottom: 10px; color: var(--muted); font-family: inherit; font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.search-copy h1 { margin: 0; font-family: inherit; font-size: clamp(30px, 4vw, 46px); line-height: 1.2; letter-spacing: -.03em; }
.search-copy .highlight { color: inherit; background: none; border: 0; }
.search-copy p { max-width: 660px; margin: 14px 0 0; color: var(--muted); font-size: 16px; }

.search-box {
  width: 100%;
  max-width: none;
  height: 44px;
  margin: 0;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
}
.search-box:focus-within { border-color: var(--accent); outline: 2px solid var(--accent-soft); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.search-box > span { color: var(--muted); font-size: 18px; }
.search-box kbd { padding: 2px 6px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg); color: var(--muted); font: inherit; font-size: 11px; }
.quick-tags { margin-top: 8px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; justify-content: flex-start; }
.quick-tags > span { color: var(--muted); font-size: 13px; }
.quick-tags button { min-height: 30px; padding: 4px 9px; border-color: var(--line); color: var(--muted); font-size: 13px; }

.stats-strip {
  margin: 0 0 30px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.stats-strip > div { padding: 0 20px; border-right: 1px solid var(--line); text-align: left; }
.stats-strip > div:first-child { padding-left: 0; }
.stats-strip > div:last-child { border-right: 0; }
.stats-strip strong { display: block; color: var(--text); font-family: inherit; font-size: 20px; line-height: 1.3; }
.stats-strip span { color: var(--muted); font-size: 12px; }

.market-layout { display: grid; grid-template-columns: 148px minmax(0,1fr); gap: 22px; align-items: start; }
.sidebar { position: sticky; top: 92px; width: auto; padding: 0; border: 0; background: transparent; }
.sidebar section { margin: 0 0 28px; }
.side-title { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.side-title span { color: var(--muted); font-size: 11px; }
.side-title h2 { margin: 0; font-family: inherit; font-size: 13px; font-weight: 600; }
.filter-list { display: grid; gap: 2px; }
.filter-list button { width: 100%; min-height: 34px; padding: 6px 8px; border-color: transparent; background: transparent; color: var(--muted); text-align: left; }
.filter-list button.active { border-color: var(--line); background: var(--surface); color: var(--text); }
.sidebar-sort .sort-control { display: block; }
.sidebar-sort select { width: 100%; height: 36px; padding: 0 7px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--text); font-size: 13px; }
.sort-control label { display: none; }
.sort-control select { width: 100%; height: 36px; padding: 0 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--text); }
.trust-note { padding: 14px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.trust-note span, .trust-note strong, .trust-note p { display: block; margin: 0 0 5px; }
.trust-note span { color: var(--muted); font-size: 10px; letter-spacing: .06em; }
.trust-note strong { font-size: 13px; }
.trust-note p { color: var(--muted); font-size: 12px; line-height: 1.6; }

.catalog-head { margin-bottom: 18px; padding: 0; display: block; border: 0; }
.catalog-head h2 { margin: 0; font-family: inherit; font-size: 24px; letter-spacing: -.02em; }
.catalog-head p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.catalog-head .sort-control { display: none; }
.active-filters { margin: 0 0 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.active-filters em { color: var(--text); font-style: normal; }

.skill-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.skill-card {
  position: relative;
  min-height: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  overflow: visible;
}
.skill-card::before, .skill-card::after { display: none; }
.skill-card:hover { border-color: var(--line-strong); transform: none; }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.skill-icon { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); font-size: 16px; }
.score-badge { padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 12px; }
.score-badge b { color: var(--muted); }
.skill-card h3 { margin: 0 0 4px; font-family: inherit; font-size: 17px; line-height: 1.4; }
.creator { color: var(--muted); font-size: 12px; }
.description { min-height: 0; margin: 9px 0; color: #444; font-size: 13px; line-height: 1.55; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 2px 7px; border: 1px solid var(--line); border-radius: 3px; background: transparent; color: var(--muted); font-size: 11px; }
.card-metrics { margin: 11px 0 8px; padding: 9px 0; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card-metrics div { padding: 0 8px; border-right: 1px solid var(--line); }
.card-metrics div:first-child { padding-left: 0; }
.card-metrics div:last-child { border-right: 0; }
.card-metrics strong { display: block; font-size: 14px; }
.card-metrics span { color: var(--muted); font-size: 10px; }
.card-actions { display: flex; gap: 8px; }
.card-actions .action-btn { flex: 1; text-align: center; }
.detail-btn { width: 100%; }
.clickable-card { cursor: pointer; }
.clickable-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.card-open-hint { color: var(--accent); font-size: 11px; text-align: right; }
.pagination { margin-top: 24px; display: flex; justify-content: center; gap: 6px; }
.pagination button, .repo-topbar button, .repo-topbar a, .back-btn { min-height: 36px; padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface); color: var(--text); text-decoration: none; cursor: pointer; }
.pagination button.active { border-color: var(--accent); background: var(--accent); color: #fff; }
.pagination button:disabled { opacity: .4; cursor: default; }

.detail-view { min-height: calc(100vh - 64px); padding: 32px; background: #f6f8fa; }
.repo-shell { max-width: 1180px; margin: 0 auto; }
.repo-topbar { margin-bottom: 22px; display: flex; justify-content: space-between; gap: 16px; }
.repo-actions { display: flex; gap: 8px; }
.repo-header { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 14px; padding: 4px 0 20px; }
.repo-icon { width: 40px; height: 40px; font-size: 21px; }
.repo-path { color: var(--accent); font-size: 20px; }
.repo-header p { margin: 5px 0 0; color: var(--muted); }
.score-pill { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; white-space: nowrap; }
.repo-tabs { display: flex; gap: 24px; border-bottom: 1px solid #d0d7de; }
.repo-tabs span { padding: 10px 2px; color: var(--muted); font-size: 13px; }
.repo-tabs .active { border-bottom: 2px solid #fd8c73; color: var(--text); font-weight: 600; }
.repo-layout { margin-top: 24px; display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 24px; align-items: start; }
.readme { border: 1px solid #d0d7de; border-radius: 6px; background: #fff; }
.readme-title { padding: 10px 16px; border-bottom: 1px solid #d0d7de; background: #f6f8fa; font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; }
.readme-content { padding: 28px 32px 44px; }
.readme-content h1 { padding-bottom: 10px; border-bottom: 1px solid #d8dee4; font-size: 30px; }
.readme-content h2 { margin-top: 30px; padding-bottom: 8px; border-bottom: 1px solid #d8dee4; font-size: 21px; }
.readme-content .lead { color: #444; font-size: 17px; }
.readme-content ul { padding-left: 24px; }
.repo-about { padding: 4px 0; }
.repo-about h3 { font-size: 16px; }
.repo-about h4 { margin-bottom: 8px; }
.repo-about p { color: #57606a; font-size: 13px; }
.repo-about hr { margin: 18px 0; border: 0; border-top: 1px solid #d8dee4; }
.topic { border: 0; border-radius: 999px; background: #ddf4ff; color: #0969da; }

.data-view { max-width: 1180px; margin: 0 auto; padding: 56px 32px 80px; }
.content-view { max-width: 1180px; min-height: calc(100vh - 150px); margin: 0 auto; padding: 28px 32px 80px; }
.view-toolbar { margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.view-toolbar .section-kicker { margin-bottom: 3px; }
.view-toolbar p { margin: 0; color: var(--muted); font-size: 13px; }
.simple-page { max-width: 100%; }
.simple-page h1 { margin-bottom: 8px; font-size: 40px; }
.page-lead { max-width: 720px; color: var(--muted); font-size: 17px; }
.news-masthead { margin-bottom: 28px; padding: 14px 0 28px; display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; border-bottom: 1px solid var(--line); }
.news-masthead h1 { margin: 0; font-size: clamp(28px,4vw,46px); line-height: 1.18; letter-spacing: -.04em; }
.news-masthead p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.news-status { min-width: 120px; padding-left: 20px; border-left: 1px solid var(--line); }
.news-status strong,.news-status span,.news-status small { display: block; }
.news-status strong { font-size: 34px; line-height: 1; }
.news-status span { margin-top: 7px; font-size: 12px; }
.news-status small { margin-top: 9px; color: var(--muted); font-size: 10px; }
.news-feature { margin-bottom: 12px; padding: clamp(20px,2.5vw,30px); border: 1px solid var(--text); background: var(--surface); cursor: pointer; }
.feature-label { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; }
.feature-label span { padding: 2px 7px; background: var(--accent-soft); color: var(--accent); font-weight: 700; letter-spacing: .08em; }
.news-feature h2 { max-width: 900px; margin: 14px 0 8px; font-size: clamp(21px,2.7vw,31px); line-height: 1.3; }
.news-feature>p { max-width: 920px; margin-bottom: 0; display: -webkit-box; overflow: hidden; color: #444; font-size: 14px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.news-feature footer,.news-item footer { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 12px; }
.news-feature footer { margin-top: 15px; padding-top: 10px; border-top: 1px solid var(--line); }
.news-feature footer button,.news-item h2 button,.news-item footer button { padding: 0; border: 0; background: transparent; color: var(--accent); cursor: pointer; text-align: left; }
.news-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.news-item { min-height: 245px; padding: 16px; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.news-item-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 10px; }
.news-item-meta>span { color: var(--accent); font-weight: 700; }
.news-item h2 { margin: 14px 0 8px; font-size: 16px; line-height: 1.45; }
.news-item h2 a { color: var(--text); text-decoration: none; }
.news-item h2 button { color: var(--text); font-size: inherit; font-weight: 700; line-height: inherit; }
.news-item h2 a:hover { background: linear-gradient(transparent 68%,rgba(244,215,88,.55) 68%); }
.news-item>p { display: -webkit-box; overflow: hidden; color: #555; font-size: 12px; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.news-item footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.product-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; }
.product-mark { color: var(--accent-soft); font-size: clamp(80px,12vw,150px); font-weight: 800; line-height: .75; opacity: 1; }
.product-tabs { margin-top: 38px; display: flex; gap: 4px; border-bottom: 2px solid #eee; }
.product-tabs button { margin-bottom: -2px; padding: 12px 22px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); cursor: pointer; }
.product-tabs button span { margin-left: 7px; font-size: 10px; letter-spacing: .07em; }
.product-tabs button.active { border-bottom-color: var(--accent); color: var(--accent); font-weight: 700; }
.product-panel { display: none; padding-top: 28px; }
.product-panel.active { display: block; }
.product-list { display: grid; gap: 12px; }
.product-card { min-height: 210px; padding: clamp(24px,3vw,38px); display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: start; border: 1px solid var(--line); background: var(--surface); }
.product-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 15px; color: #fff; font-size: 25px; font-weight: 800; }
.apple-icon { background: #1a1a1a; }
.exe-icon { background: var(--blue); }
.wechat-icon { background: #2aae67; }
.product-type { color: var(--muted); font-size: 10px; letter-spacing: .09em; }
.product-card h2 { margin: 8px 0; font-size: 24px; }
.product-card p { max-width: 650px; color: #555; }
.product-tags { display: flex; gap: 6px; }
.product-tags span { padding: 3px 8px; background: var(--accent-soft); color: var(--accent); font-size: 11px; }
.product-index { color: var(--line); font-size: 52px; font-weight: 700; line-height: 1; }
.goal-dashboard { display: grid; grid-template-columns: 1.45fr repeat(3,.55fr) .85fr; border: 1px solid var(--line-strong); background: var(--surface); }
.goal-dashboard>div { min-height: 190px; padding: 18px 20px; border-right: 1px solid var(--line); }
.goal-dashboard>div:last-child { border-right: 0; }
.goal-intro h1 { margin: 15px 0 7px; font-size: clamp(24px,2.7vw,36px); line-height: 1.2; letter-spacing: -.04em; }
.goal-intro p { margin: 0; max-width: 390px; color: var(--muted); font-size: 13px; }
.goal-stat { display: flex; flex-direction: column; justify-content: space-between; }
.goal-stat>span { color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.goal-stat strong { color: var(--accent); font-size: clamp(44px,4.5vw,64px); line-height: 1; }
.goal-stat small { font-size: 12px; }
.wechat-space { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.qr-placeholder { width: 90px; aspect-ratio: 1; margin-bottom: 8px; display: grid; place-content: center; border: 1px dashed var(--line-strong); background: var(--bg); color: var(--muted); }
.qr-placeholder span,.qr-placeholder small { display: block; }
.qr-placeholder span { font-size: 12px; }
.qr-placeholder small { margin-top: 4px; font-size: 10px; }
.wechat-qr-link { width: 120px; aspect-ratio: 1; margin-bottom: 8px; display: block; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.wechat-qr-link img { width: 100%; height: 100%; display: block; object-fit: contain; }
.wechat-qr-link:hover { outline: 3px solid var(--accent-soft); outline-offset: 2px; }
.wechat-space>strong { font-size: 14px; }
.wechat-space>p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.product-library-head { margin-top: 18px; display: flex; align-items: end; justify-content: space-between; gap: 24px; border-bottom: 2px solid #eee; }
.product-library-head .product-tabs { margin-top: 0; border-bottom: 0; }
.product-sort { padding-bottom: 8px; display: flex; align-items: center; gap: 5px; }
.product-sort>span { margin-right: 4px; color: var(--muted); font-size: 11px; }
.product-sort button { padding: 5px 9px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 11px; cursor: pointer; }
.product-sort button.active { border-color: var(--accent); color: var(--accent); }
.product-grid-four { margin-top: 12px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.product-tile { min-height: 260px; padding: 16px; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.product-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.product-tile-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.product-mini-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; color: #fff; font-weight: 800; }
.product-position { color: var(--line-strong); font-size: 24px; font-weight: 700; }
.product-tile .product-type { margin-top: 18px; }
.product-tile h2 { margin: 7px 0 8px; font-size: 17px; line-height: 1.4; }
.product-tile>p { color: var(--muted); font-size: 12px; }
.product-meta { margin: 12px 0; display: flex; flex-wrap: wrap; gap: 5px; }
.product-meta span { padding: 3px 7px; border: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.product-tile footer { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.product-tile footer strong { color: var(--text); font-weight: 600; }
.product-empty { grid-column: 1 / -1; min-height: 220px; display: grid; place-content: center; gap: 7px; border: 1px dashed var(--line-strong); color: var(--muted); text-align: center; }
.product-empty strong { color: var(--text); font-family: 'Noto Serif SC',serif; font-size: 18px; }
.about-page { max-width: 100%; }
.about-hero { display: grid; grid-template-columns: 1fr 270px; gap: 70px; align-items: center; }
.about-hero h1 { font-size: clamp(38px,6vw,70px); line-height: 1.2; letter-spacing: -.05em; }
.hl-yellow { background: linear-gradient(transparent 63%,var(--accent-soft) 63%); }
.about-badge { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px dashed var(--accent); border-radius: 50%; transform: rotate(3deg); }
.about-badge span { color: var(--accent); font-size: 46px; font-weight: 800; line-height: 1; }
.about-badge strong { margin-top: 5px; font-size: 20px; }
.about-badge small { margin-top: 13px; color: var(--muted); font-size: 9px; letter-spacing: .08em; }
.about-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.about-actions button { min-height: 38px; padding: 7px 13px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); cursor: pointer; }
.about-actions button:first-child { border-color: var(--accent); background: var(--accent); color: #fff; }
.about-grid { margin-top: 70px; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid section { padding: 28px; border-right: 1px solid var(--line); }
.about-grid section:first-child { padding-left: 0; }
.about-grid section:last-child { border-right: 0; }
.about-num { color: var(--brand-red); font-size: 11px; font-weight: 700; }
.about-grid h2 { margin: 26px 0 10px; font-size: 20px; }
.about-grid p { color: #555; font-size: 14px; }
.evolution-section { margin-top: 64px; padding-top: 30px; border-top: 1px solid var(--line); }
.evolution-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.evolution-head h2 { margin: 0; font-size: 28px; }
.evolution-head p { margin: 0; color: var(--muted); }
.evolution-track { margin-top: 28px; display: grid; grid-template-columns: repeat(4,1fr); }
.evolution-track article { min-height: 170px; padding: 20px; border: 1px solid var(--line); border-right: 0; background: var(--surface); }
.evolution-track article:last-child { border-right: 1px solid var(--line); }
.evolution-track span { color: var(--accent); font-size: 11px; font-weight: 700; }
.evolution-track h3 { margin: 28px 0 7px; font-size: 18px; }
.evolution-track p { margin: 0; color: var(--muted); font-size: 13px; }
.contact-section { margin-top: 64px; padding: 30px 0; display: grid; grid-template-columns: .7fr 1fr; gap: 60px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-section h2 { margin: 0 0 8px; font-size: 28px; }
.contact-section p { color: var(--muted); }
.contact-list { display: grid; }
.contact-list article { padding: 12px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.contact-list article:last-child { border-bottom: 0; }
.contact-list span { color: var(--muted); font-size: 12px; }
.about-statement { margin-top: 70px; padding: clamp(32px,5vw,58px); display: grid; grid-template-columns: auto 1fr; gap: 60px; align-items: start; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.about-statement span { padding: 4px 9px; background: var(--accent-soft); color: var(--accent); font-size: 11px; }
.about-statement p { margin: 0; font-size: clamp(24px,3.5vw,40px); line-height: 1.5; }
.about-page-v2 { color: var(--text); }
.about-intro-v2 { min-height: 620px; padding: clamp(34px,6vw,78px) 0; display: grid; grid-template-columns: minmax(0,1fr) 240px; gap: clamp(42px,7vw,100px); align-items: center; }
.about-intro-v2 h1 { max-width: 850px; margin: 14px 0 22px; font-family: 'Noto Serif SC',serif; font-size: clamp(38px,5.5vw,68px); line-height: 1.28; letter-spacing: -.045em; }
.about-lead-v2 { max-width: 790px; color: #45454f; font-size: clamp(16px,1.7vw,20px); line-height: 1.9; }
.about-tags-v2 { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 7px; }
.about-tags-v2 span { padding: 5px 10px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 11px; }
.about-actions a { min-height: 38px; padding: 7px 13px; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); text-decoration: none; }
.about-number-v2 { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px dashed var(--accent); border-radius: 50%; transform: rotate(3deg); }
.about-number-v2 span { color: var(--accent); font-size: clamp(58px,8vw,92px); font-weight: 800; line-height: .9; }
.about-number-v2 strong { margin-top: 9px; font-family: 'Noto Serif SC',serif; font-size: 20px; }
.about-number-v2 small { margin-top: 12px; color: var(--muted); font-size: 8px; letter-spacing: .1em; }
.about-story-v2 { padding: clamp(64px,9vw,110px) 0; display: grid; grid-template-columns: .38fr 1fr; gap: clamp(40px,7vw,110px); border-top: 1px solid var(--line); }
.story-label { position: sticky; top: 100px; align-self: start; }
.story-label span { color: rgba(43,127,216,.14); font-size: clamp(72px,10vw,130px); font-weight: 800; line-height: .8; }
.story-label h2 { margin-top: 18px; font-family: 'Noto Serif SC',serif; font-size: 28px; }
.story-copy { max-width: 760px; }
.story-copy p { margin-bottom: 24px; color: #45454f; font-size: clamp(16px,1.7vw,19px); line-height: 2; }
.about-products-v2,.growth-path-v2 { padding: clamp(64px,9vw,110px) 0; border-top: 1px solid var(--line); }
.about-section-head { display: grid; grid-template-columns: .7fr 1fr; gap: 40px; align-items: end; margin-bottom: 34px; }
.about-section-head .section-kicker { grid-column: 1/-1; }
.about-section-head h2 { font-family: 'Noto Serif SC',serif; font-size: clamp(28px,4vw,45px); line-height: 1.35; }
.about-section-head p { color: var(--muted); font-size: 16px; }
.about-product-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.about-product-grid article { position: relative; min-height: 300px; padding: clamp(26px,4vw,46px); overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.about-product-grid .product-no { position: absolute; top: -18px; right: 14px; color: rgba(43,127,216,.08); font-size: 92px; font-weight: 800; line-height: 1; }
.about-product-grid em { color: var(--accent); font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .1em; }
.about-product-grid h3 { margin: 36px 0 12px; font-family: 'Noto Serif SC',serif; font-size: clamp(20px,2.5vw,29px); }
.about-product-grid p { color: #555; line-height: 1.85; }
.about-product-grid small { margin-top: 24px; display: block; color: var(--accent); font-size: 11px; font-weight: 700; }
.growth-track-v2 { display: grid; grid-template-columns: repeat(4,1fr); }
.growth-track-v2 article { min-height: 235px; padding: 25px 22px; border: 1px solid var(--line); border-right: 0; background: var(--surface); }
.growth-track-v2 article:last-child { border-right: 1px solid var(--line); }
.growth-track-v2 span { color: var(--brand-red); font-size: 11px; font-weight: 700; }
.growth-track-v2 h3 { margin: 38px 0 10px; font-family: 'Noto Serif SC',serif; font-size: 19px; }
.growth-track-v2 p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.about-belief-v2 { margin: clamp(64px,9vw,110px) calc(50% - 50vw) 0; padding: clamp(70px,9vw,120px) max(32px,calc((100vw - 1180px)/2)); display: grid; grid-template-columns: .9fr 1fr; gap: clamp(50px,8vw,120px); background: #151821; color: #eef0f6; }
.about-belief-v2 h2 { margin-top: 14px; font-family: 'Noto Serif SC',serif; font-size: clamp(29px,4vw,48px); line-height: 1.5; }
.about-belief-v2 p { margin-bottom: 22px; color: #cbd0dc; font-size: 16px; line-height: 2; }
.quote-editorial-v2 { position: relative; margin: clamp(70px,10vw,130px) auto; padding: clamp(48px,7vw,84px); max-width: 980px; background: var(--surface); box-shadow: 0 8px 40px rgba(0,0,0,.04); }
.quote-editorial-v2::before { content: '\201C'; position: absolute; top: 8px; left: 24px; color: var(--brand-yellow); font-family: serif; font-size: 88px; line-height: 1; }
.quote-editorial-v2>span { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.quote-editorial-v2 p { margin: 25px 0 18px; font-family: 'Noto Serif SC',serif; font-size: clamp(25px,3.5vw,42px); line-height: 1.65; }
.quote-editorial-v2 small { color: var(--muted); font-size: 13px; }
.future-v2 { padding: clamp(70px,10vw,130px) 0; display: grid; grid-template-columns: .38fr 1fr; gap: clamp(40px,7vw,100px); border-top: 1px solid var(--line); }
.future-number { color: rgba(232,74,95,.12); font-size: clamp(100px,16vw,210px); font-weight: 800; line-height: .8; }
.future-v2 h2 { margin: 14px 0 24px; font-family: 'Noto Serif SC',serif; font-size: clamp(29px,4vw,46px); line-height: 1.5; }
.future-v2 p { margin-bottom: 18px; color: #50505a; line-height: 1.95; }
.future-v2 strong { display: inline; font-family: 'Noto Serif SC',serif; font-size: 19px; background: linear-gradient(transparent 62%,rgba(244,215,88,.48) 62%); }
.contact-v2 { padding: clamp(65px,9vw,110px) 0; display: grid; grid-template-columns: 1fr .8fr; gap: clamp(45px,8vw,100px); border-top: 1px solid var(--line); }
.contact-v2 h2 { margin: 14px 0 10px; font-family: 'Noto Serif SC',serif; font-size: clamp(28px,4vw,44px); }
.contact-v2>div>p { color: var(--muted); }
.contact-card-v2 { padding: 28px; border: 2px dashed rgba(43,127,216,.25); background: var(--surface); }
.contact-card-v2 span { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.contact-card-v2 strong { margin: 12px 0 7px; display: block; font-size: 28px; }
.contact-card-v2 p { color: var(--muted); font-size: 13px; }
.contact-card-v2 a { margin-top: 18px; display: inline-block; color: var(--accent); font-weight: 700; text-decoration: none; }
.about-ending-v2 { margin: 20px 0 50px; padding: clamp(40px,7vw,76px); background: var(--brand-yellow); color: var(--text); }
.about-ending-v2 span { font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.about-ending-v2 p { margin: 22px 0; font-family: 'Noto Serif SC',serif; font-size: clamp(25px,4vw,46px); line-height: 1.55; }
.about-ending-v2 small { font-size: 11px; }
.about-page-v3 { max-width: 1060px; margin: 0 auto; }
.about-hero-v3 { min-height: 520px; padding: clamp(42px,7vw,86px) 0; display: grid; grid-template-columns: minmax(0,1fr) 210px; gap: clamp(40px,7vw,90px); align-items: center; }
.about-hero-v3 h1 { max-width: 760px; margin: 14px 0 20px; font-family: 'Noto Serif SC',serif; font-size: clamp(38px,5.2vw,62px); line-height: 1.3; letter-spacing: -.045em; }
.about-hero-v3 p { max-width: 700px; color: #50505a; font-size: clamp(16px,1.7vw,19px); line-height: 1.9; }
.about-summary-v3 { padding: clamp(58px,8vw,92px) 0; display: grid; grid-template-columns: .75fr 1fr; gap: clamp(36px,6vw,80px); border-top: 1px solid var(--line); }
.about-summary-v3>.section-kicker { grid-column: 1/-1; }
.about-summary-v3 h2 { font-family: 'Noto Serif SC',serif; font-size: clamp(28px,3.6vw,42px); line-height: 1.5; }
.about-summary-v3 p { margin-bottom: 18px; color: #50505a; line-height: 1.95; }
.about-products-v3 { padding: clamp(58px,8vw,92px) 0; border-top: 1px solid var(--line); }
.about-head-v3 { margin-bottom: 28px; }
.about-head-v3 h2 { margin-top: 8px; font-family: 'Noto Serif SC',serif; font-size: clamp(28px,3.6vw,42px); }
.product-list-v3 { border-top: 1px solid var(--line); }
.product-list-v3 article { min-height: 105px; padding: 20px 8px; display: grid; grid-template-columns: 52px 1fr auto; gap: 22px; align-items: center; border-bottom: 1px solid var(--line); }
.product-list-v3 article>span { color: rgba(43,127,216,.28); font-size: 25px; font-weight: 800; }
.product-list-v3 h3 { font-family: 'Noto Serif SC',serif; font-size: 19px; }
.product-list-v3 p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.product-list-v3 small { padding: 4px 8px; background: var(--accent-soft); color: var(--accent); font-size: 10px; }
.about-product-link-v3 { margin-top: 20px; padding: 9px 13px; border: 1px solid var(--accent); background: var(--surface); color: var(--accent); }
.about-values-v3 { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.about-values-v3 article { min-height: 300px; padding: clamp(28px,4vw,48px); background: var(--surface); }
.about-values-v3 article+article { border-left: 1px solid var(--line); }
.about-values-v3 span { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.about-values-v3 h2 { margin: 32px 0 16px; font-family: 'Noto Serif SC',serif; font-size: clamp(22px,2.7vw,31px); line-height: 1.6; }
.about-values-v3 p { color: var(--muted); line-height: 1.85; }
.about-contact-v3 { margin-top: clamp(58px,8vw,92px); padding: clamp(38px,6vw,65px); display: grid; grid-template-columns: 1fr .65fr; gap: clamp(35px,6vw,75px); background: var(--brand-yellow); }
.about-contact-v3 h2 { margin: 12px 0; font-family: 'Noto Serif SC',serif; font-size: clamp(27px,3.5vw,40px); line-height: 1.55; }
.about-contact-v3>div>p { color: #4f4a34; }
.about-contact-v3>div:last-child { align-self: center; padding: 22px; background: rgba(255,255,255,.45); }
.about-contact-v3 strong { font-size: 22px; }
.about-contact-v3 a { margin-top: 15px; display: inline-block; color: var(--text); font-weight: 700; }
.about-three { max-width: 1060px; margin: 0 auto; }
.about-position { min-height: 540px; padding: clamp(48px,8vw,92px) 0; display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: clamp(44px,7vw,90px); align-items: center; }
.about-position h1 { margin: 14px 0 20px; font-family: 'Noto Serif SC',serif; font-size: clamp(38px,5.2vw,62px); line-height: 1.3; letter-spacing: -.045em; }
.about-position>div>p { max-width: 720px; color: #50505a; font-size: clamp(16px,1.6vw,19px); line-height: 1.9; }
.business-card { padding: 30px; border: 2px dashed rgba(43,127,216,.28); background: var(--surface); }
.business-card>span { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.business-card strong { margin: 14px 0 6px; display: block; font-size: 30px; }
.business-card p { color: var(--muted); font-size: 13px; }
.business-card a { margin-top: 20px; display: inline-block; color: var(--accent); font-weight: 700; }
.about-nomad { padding: clamp(65px,9vw,110px) 0; display: grid; grid-template-columns: .38fr 1fr; gap: clamp(40px,7vw,90px); border-top: 1px solid var(--line); }
.nomad-number { color: rgba(232,74,95,.12); font-size: clamp(105px,16vw,190px); font-weight: 800; line-height: .8; }
.about-nomad h2 { margin: 14px 0 20px; font-family: 'Noto Serif SC',serif; font-size: clamp(30px,4vw,46px); line-height: 1.5; }
.about-nomad p { margin-bottom: 18px; color: #50505a; line-height: 1.95; }
.about-nomad strong { font-family: 'Noto Serif SC',serif; font-size: 18px; background: linear-gradient(transparent 62%,rgba(244,215,88,.48) 62%); }
.about-brief { padding: clamp(65px,9vw,110px) 0; display: grid; grid-template-columns: .8fr 1fr; gap: clamp(42px,7vw,90px); border-top: 1px solid var(--line); }
.about-brief h2 { margin-top: 14px; font-family: 'Noto Serif SC',serif; font-size: clamp(27px,3.5vw,40px); line-height: 1.55; }
.about-brief p { margin-bottom: 19px; color: #50505a; line-height: 1.95; }
.about-reference { max-width: 1180px; margin: 0 auto; }
.about-reference-hero { min-height: 330px; padding: clamp(22px,3vw,34px) 0; display: grid; grid-template-columns: minmax(0,1fr) 230px; gap: clamp(40px,7vw,90px); align-items: center; }
.about-reference-copy h1 { margin: 8px 0 10px; font-family: 'Noto Serif SC',serif; font-size: clamp(38px,4.5vw,58px); line-height: 1.16; letter-spacing: -.05em; }
.about-reference-copy>p { max-width: 720px; color: #555; font-size: 16px; line-height: 1.7; }
.reference-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 9px; }
.reference-actions a,.reference-actions button { min-height: 42px; padding: 9px 16px; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); text-decoration: none; }
.reference-actions .reference-primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.reference-badge { width: 220px; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px dashed var(--accent); border-radius: 50%; }
.reference-badge span { color: var(--accent); font-size: 48px; font-weight: 800; line-height: 1; }
.reference-badge strong { margin-top: 6px; font-size: 18px; }
.reference-badge small { margin-top: 14px; color: var(--muted); font-size: 8px; letter-spacing: .1em; }
.about-reference-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-reference-grid article { min-height: 205px; padding: clamp(20px,2.5vw,30px); border-right: 1px solid var(--line); }
.about-reference-grid article:last-child { border-right: 0; }
.about-reference-grid article>span { color: var(--accent); font-size: 11px; font-weight: 700; }
.about-reference-grid h2 { margin: 22px 0 8px; font-family: 'Noto Serif SC',serif; font-size: 20px; }
.about-reference-grid p { color: #555; font-size: 13px; line-height: 1.7; }
.about-reference-grid a,.about-reference-grid strong,.about-reference-grid small { margin-top: 12px; display: inline-block; color: var(--accent); font-size: 11px; font-weight: 700; }
.about-services-hero { min-height: 330px; padding: 0 0 34px; display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: clamp(48px,7vw,96px); align-items: center; }
.about-services-main h1 { margin: 0 0 22px; font-family: 'Noto Serif SC',serif; font-size: clamp(30px,3.5vw,44px); line-height: 1.15; letter-spacing: -.04em; }
.service-lines { border-top: 1px solid var(--line); }
.service-lines article { min-width: 0; padding: 11px 0; display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; border-bottom: 1px solid var(--line); }
.service-lines span { padding-top: 3px; color: var(--accent); font-size: 10px; font-weight: 700; }
.service-lines p { margin: 0; color: #333; font-size: 15px; line-height: 1.65; }
.service-contact { margin-top: 18px; }
.service-avatar-circle { width: 250px; aspect-ratio: 1; padding: 8px; overflow: hidden; border: 2px dashed var(--accent); border-radius: 50%; background: var(--surface); }
.service-avatar-circle img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; object-position: center 36%; }
.cooperation-principles { padding: clamp(24px,3vw,34px); border: 1px solid var(--line-strong); background: var(--surface); }
.cooperation-principles h2 { margin: 10px 0 22px; font-family: 'Noto Serif SC',serif; font-size: clamp(25px,2.5vw,32px); }
.principle-lines p { margin: 0; padding: 15px 0; color: #444; line-height: 1.75; border-top: 1px solid var(--line); }
.principle-lines p:last-child { padding-bottom: 0; }
.reader-overlay { position: fixed; inset: 0; z-index: 240; display: none; justify-content: flex-end; background: rgba(0,0,0,.35); }
.reader-overlay.active { display: flex; }
.reader-panel { position: relative; width: min(720px,100%); height: 100%; padding: clamp(28px,5vw,64px); overflow-y: auto; background: var(--surface); border-left: 1px solid var(--line-strong); }
.reader-close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.reader-meta { padding-right: 50px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; }
.reader-meta span { color: var(--accent); font-weight: 700; }
.reader-panel h1 { margin: 36px 0 12px; font-size: clamp(28px,4vw,44px); line-height: 1.3; }
.reader-source { padding-bottom: 22px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.reader-content { padding: 26px 0; color: #333; font-size: 17px; line-height: 2; }
.reader-actions { margin-top: 30px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.reader-actions button,.reader-actions a { padding: 8px 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); text-decoration: none; cursor: pointer; }
.reader-actions a { border-color: var(--accent); background: var(--accent); color: #fff; }
.data-head { margin-bottom: 28px; padding: 0 0 24px; display: flex; align-items: end; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.data-head h1 { margin: 0; font-family: inherit; font-size: 36px; letter-spacing: -.03em; }
.data-head p { margin: 8px 0 0; color: var(--muted); }
.source-credit { color: var(--muted); font-size: 12px; text-align: right; }
.news-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.news-card { min-height: 0; padding: 20px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.news-card:hover { border-color: var(--line-strong); transform: none; }
.news-card time { color: var(--muted); font-size: 11px; }
.news-card h2 { margin: 8px 0; font-family: inherit; font-size: 17px; line-height: 1.5; }
.news-card p { margin: 0; color: #444; font-size: 14px; }
.news-card footer { margin-top: 18px; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

.modal-open { overflow: hidden; }
.modal-overlay, .community-dialog {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.35);
}
.modal-overlay.active, .community-dialog.active { display: flex; }
.modal-panel, .dialog-card { border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface); }
.modal-panel, .dialog-card { position: relative; max-height: 88vh; overflow: auto; padding: 28px; }
.modal-panel { width: min(680px, calc(100vw - 32px)); }
.dialog-card { width: min(520px, 100%); }
.modal-close, .dialog-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--text); cursor: pointer; }
.modal-hero { border: 0; background: transparent; }
.modal-section, .community-box { border-color: var(--line); border-radius: 0; background: transparent; }
.modal-section { padding: 18px 0; border-bottom: 1px solid var(--line); }
.modal-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.permission-list, .comment-list { margin: 0; padding: 0; list-style: none; }
.permission-list { display: flex; flex-wrap: wrap; gap: 6px; }
.permission-list li { padding: 4px 8px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); font-size: 12px; }
.form-stack { display: flex; flex-direction: column; gap: 12px; }
.form-stack label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; }
.form-stack input, .form-stack select, .form-stack textarea, .comment-form textarea { width: 100%; padding: 9px 10px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface); outline: 0; }
.form-stack textarea { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.form-message { min-height: 18px; color: #a22; font-size: 12px; }
.free-note { border: 1px solid var(--line); border-radius: 4px; background: var(--bg); color: var(--muted); }
.free-note { padding: 9px 11px; }
.rating-row { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.rating-row button { padding: 2px; border: 0; background: transparent; color: #999; font-size: 20px; cursor: pointer; }
.rating-row button.active { color: var(--accent); }
.community-summary { margin-left: 6px; color: var(--muted); font-size: 12px; }
.comment-form { margin: 14px 0; }
.comment-form textarea { min-height: 76px; resize: vertical; }
.comment-form-actions { margin-top: 8px; display: flex; justify-content: flex-end; }
.comment-list { display: grid; gap: 8px; }
.comment-item { padding: 12px; border: 1px solid var(--line); border-radius: 4px; }
.comment-item header { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 11px; }
.comment-item p { margin: 6px 0 0; white-space: pre-wrap; }
.view-loading, .empty-state { padding: 70px 20px; color: var(--muted); text-align: center; }
.toast { position: fixed; bottom: 24px; left: 50%; z-index: 220; display: none; transform: translateX(-50%); padding: 9px 13px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--text); color: #fff; }
.toast.show { display: block; }

body > footer { max-width: 1180px; margin: 0 auto; padding: 24px 32px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); }
.ds-credit { padding: 0 32px 24px; background: transparent; color: #999; font-size: 10px; text-align: center; }

@media (max-width: 1024px) {
  html, body { max-width: 100%; overflow-x: clip; }
  main, .data-view, .content-view, .detail-view { width: 100%; min-width: 0; }
  img, video, svg, canvas { max-width: 100%; height: auto; }
  .catalog, .skill-card, .news-item, .product-tile, .goal-dashboard>div, .repo-layout>* { min-width: 0; }
  .skill-card h3, .news-item h2, .product-tile h2, .product-tile p, .repo-path, .readme-content, .about-reference-copy { overflow-wrap: anywhere; }
  .goal-dashboard { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .goal-intro { grid-column: 1 / -1; }
  .goal-intro,.goal-stat:nth-of-type(3) { border-bottom: 1px solid var(--line); }
  .wechat-space { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .product-grid-four { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .app-header { padding: 0 18px; grid-template-columns: 1fr auto; }
  .app-header .nav-links { order: 3; grid-column: 1 / -1; min-height: 44px; justify-content: center; }
  .app-header>.language-toggle { grid-column: 2; grid-row: 1; }
  .header-actions { display: none; }
  main, .data-view { padding: 38px 18px 60px; }
  .market-layout { grid-template-columns: 1fr; gap: 24px; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .trust-note { display: none; }
  .filter-list { display: flex; flex-wrap: wrap; }
  .filter-list button { width: auto; }
  .skill-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .repo-layout { grid-template-columns: 1fr; }
  .repo-about { order: -1; }
  .product-grid { grid-template-columns: 1fr; }
  .goal-dashboard { grid-template-columns: repeat(3,1fr); }
  .goal-intro { grid-column: 1 / -1; }
  .goal-dashboard>div { min-height: 170px; }
  .goal-intro,.goal-stat:nth-of-type(3) { border-bottom: 1px solid var(--line); }
  .wechat-space { grid-column: span 3; border-top: 1px solid var(--line); }
  .product-grid-four { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .news-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about-hero { grid-template-columns: 1fr; }
  .about-badge { width: 220px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid section,.about-grid section:first-child { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-grid section:last-child { border-bottom: 0; }
  .evolution-track { grid-template-columns: repeat(2,1fr); }
  .evolution-track article:nth-child(2) { border-right: 1px solid var(--line); }
  .contact-section { grid-template-columns: 1fr; gap: 24px; }
  .about-intro-v2 { grid-template-columns: 1fr; min-height: 0; }
  .about-number-v2 { width: 220px; }
  .about-story-v2,.future-v2 { grid-template-columns: 1fr; }
  .story-label { position: static; }
  .story-label span { font-size: 76px; }
  .about-section-head { grid-template-columns: 1fr; gap: 10px; }
  .about-product-grid { grid-template-columns: 1fr; }
  .growth-track-v2 { grid-template-columns: repeat(2,1fr); }
  .growth-track-v2 article:nth-child(2) { border-right: 1px solid var(--line); }
  .about-belief-v2,.contact-v2 { grid-template-columns: 1fr; }
  .about-hero-v3 { grid-template-columns: 1fr; min-height: 0; }
  .about-summary-v3,.about-contact-v3 { grid-template-columns: 1fr; }
  .about-values-v3 { grid-template-columns: 1fr; }
  .about-values-v3 article+article { border-left: 0; border-top: 1px solid var(--line); }
  .about-position { grid-template-columns: 1fr; min-height: 0; }
  .business-card { max-width: 420px; }
  .about-nomad,.about-brief { grid-template-columns: 1fr; }
  .about-reference-hero { grid-template-columns: 1fr 220px; gap: 40px; }
  .reference-badge { width: 220px; }
  .about-reference-grid { grid-template-columns: 1fr; }
  .about-reference-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .about-reference-grid article:last-child { border-bottom: 0; }
  .about-services-hero { grid-template-columns: minmax(0,1fr) 220px; gap: 36px; }
  .service-avatar-circle { width: 210px; }
}

@media (max-width: 600px) {
  .app-header { padding: 0 16px; column-gap: 12px; }
  .app-header .nav-links { width: 100%; gap: 0; justify-content: stretch; }
  .nav-link { min-width: 0; min-height: 44px; flex: 1; padding: 0 5px; white-space: nowrap; }
  .brand { min-width: 0; }
  .brand>span:last-child { min-width: 0; }
  .brand strong { font-size: 14px; white-space: nowrap; }
  .brand small { display: none; }
  main, .data-view, .content-view { padding: 24px 16px 48px; }
  .detail-view { padding: 16px; }
  .quick-tags>span { flex-basis: 100%; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stats-strip > div { padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .stats-strip > div:nth-child(2) { border-right: 0; }
  .stats-strip > div:nth-child(3), .stats-strip > div:nth-child(4) { border-bottom: 0; }
  .sidebar { grid-template-columns: 1fr; }
  .data-head { display: block; }
  .source-credit { display: block; margin-top: 12px; text-align: left; }
  .search-copy h1 { font-size: 32px; }
  .search-box kbd { display: none; }
  .skill-card, .news-card { padding: 16px; }
  .news-masthead { grid-template-columns: 1fr; gap: 22px; }
  .news-status { padding: 0; display: flex; align-items: baseline; gap: 8px; border-left: 0; }
  .news-status small { margin-left: auto; }
  .news-list { grid-template-columns: 1fr; }
  .news-item { min-height: 0; }
  .product-card { grid-template-columns: auto 1fr; gap: 16px; }
  .goal-dashboard { grid-template-columns: 1fr; }
  .goal-intro,.wechat-space { grid-column: auto; }
  .goal-dashboard>div { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .goal-dashboard>div:last-child { border-bottom: 0; }
  .goal-stat { min-height: 130px !important; }
  .product-library-head { display: block; }
  .product-tabs { width: 100%; }
  .product-tabs button { min-width: 0; flex: 1; padding: 10px 4px; text-align: center; overflow-wrap: anywhere; }
  .product-tabs button span { display: block; margin: 2px 0 0; }
  .product-sort { padding: 10px 0; flex-wrap: wrap; overflow-x: visible; }
  .product-grid-four { grid-template-columns: 1fr; }
  .product-tile { min-height: 220px; }
  .product-tile footer { flex-wrap: wrap; }
  .product-index { display: none; }
  .about-statement { grid-template-columns: 1fr; gap: 24px; }
  .about-intro-v2 h1 { font-size: 34px; }
  .about-number-v2 { width: 180px; }
  .about-product-grid article { min-height: 0; }
  .growth-track-v2 { grid-template-columns: 1fr; }
  .growth-track-v2 article { min-height: 0; border-right: 1px solid var(--line); border-bottom: 0; }
  .growth-track-v2 article:last-child { border-bottom: 1px solid var(--line); }
  .about-belief-v2 { margin-inline: -18px; padding-inline: 18px; }
  .quote-editorial-v2 { padding: 54px 24px 34px; }
  .future-number { font-size: 100px; }
  .about-hero-v3 h1 { font-size: 34px; }
  .product-list-v3 article { grid-template-columns: 38px 1fr; gap: 12px; }
  .product-list-v3 small { grid-column: 2; width: fit-content; }
  .about-values-v3 article { min-height: 0; }
  .about-contact-v3 { margin-inline: -18px; }
  .about-position h1 { font-size: 34px; }
  .nomad-number { font-size: 100px; }
  .about-reference-hero { grid-template-columns: 1fr; min-height: 0; }
  .about-reference-copy h1 { font-size: 40px; }
  .reference-actions { align-items: stretch; }
  .reference-actions a,.reference-actions button { justify-content: center; }
  .reference-badge { width: 180px; }
  .about-services-hero { min-height: 0; grid-template-columns: 1fr; gap: 26px; padding: 0 0 30px; }
  .about-services-main h1 { font-size: 30px; }
  .service-avatar-circle { width: 180px; }
  .cooperation-principles { padding: 22px 18px; }
  .evolution-head { grid-template-columns: 1fr; gap: 8px; }
  .evolution-track { grid-template-columns: 1fr; }
  .evolution-track article { min-height: 0; border-right: 1px solid var(--line); border-bottom: 0; }
  .evolution-track article:last-child { border-bottom: 1px solid var(--line); }
  .reader-panel { padding: 50px 20px 28px; }
  .reader-actions { flex-direction: column; }
  .reader-actions button,.reader-actions a { width: 100%; text-align: center; }
  .skill-grid { grid-template-columns: 1fr; }
  .repo-header { grid-template-columns: auto 1fr; }
  .score-pill { grid-column: 2; width: fit-content; }
  .repo-topbar, .repo-actions { flex-wrap: wrap; }
  .repo-tabs { gap: 12px; overflow-x: auto; white-space: nowrap; }
  .form-row { grid-template-columns: 1fr; }
  .readme-content { padding: 22px 18px 32px; }
  body > footer { padding-inline: 16px; flex-direction: column; gap: 8px; }
  .ds-credit { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
