:root {
  color-scheme: light;
  --ink: #132339;
  --muted: #52647b;
  --blue: #1458e5;
  --cyan: #007c9e;
  --surface: #fff;
  --line: #dce7f5;
  --sky: #eff7ff;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: #fcfdff; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid #5d9cff; outline-offset: 3px; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 5; background: #fffffff5;
  backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.06rem; font-weight: 750; white-space: nowrap; }
.brand img { border-radius: 13px; }
.brand-dot { color: var(--blue); }
nav { display: flex; gap: clamp(20px, 4vw, 46px); color: var(--muted); font-size: .94rem; }
nav a:hover, footer a:hover { color: var(--blue); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 12px;
  font-size: .94rem; font-weight: 650; white-space: nowrap;
}
.button-primary {
  color: #fff; background: linear-gradient(105deg, #154fe4, #1870eb);
  box-shadow: 0 8px 20px #1458e529;
}
.button-primary:hover { background: #154bd0; }
.button-soft, .button-small { background: #fff; color: #234571; border-color: #d6e3f5; }
.button-soft:hover, .button-small:hover { color: var(--blue); border-color: #92b6ef; background: #f5f9ff; }
.button-small { min-height: 35px; padding-inline: 12px; font-size: .86rem; border-radius: 9px; }
.header-download { min-height: 40px; }
.download-version:not(:empty) { font-size: .84rem; padding-left: 10px; border-left: 1px solid #ffffff70; }
.hero {
  position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 90% 9%, #c9eafa 0, transparent 51%),
    radial-gradient(ellipse at 51% 113%, #d2e0ff, transparent 59%), #f2f8fe;
}
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero::before {
  background-image: linear-gradient(#3771bd0d 1px, transparent 1px), linear-gradient(90deg, #3771bd0d 1px, transparent 1px);
  background-size: 42px 42px; mask-image: linear-gradient(#000, #000b 64%, transparent);
}
.hero::after {
  inset: -45% -35%; opacity: .6;
  background: linear-gradient(113deg, transparent 39%, #fff8 50%, transparent 62%);
  transform: translateX(-32%); animation: drift 13s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translateX(30%); } }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  gap: clamp(32px, 5.5vw, 84px); align-items: center; padding-block: clamp(58px, 7.2vw, 102px);
}
.platform {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 19px;
  color: #25518d; font-size: .87rem; font-weight: 700; letter-spacing: .035em;
}
.platform span { width: 19px; height: 3px; border-radius: 4px; background: linear-gradient(90deg, var(--blue), #57b7e7); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(3rem, 5.2vw, 5.08rem); line-height: 1.11; letter-spacing: -.071em; font-weight: 820; }
h1 span { color: var(--blue); background: linear-gradient(98deg, #194ddb 5%, #007c9e 95%); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-summary { margin-top: 24px; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.17rem); line-height: 1.78; max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 25px 0 13px; }
.hero-actions .button { min-height: 50px; padding-inline: 20px; }
.download-note { color: var(--muted); font-size: .82rem; }
.signal {
  background: #ffffffdb; border: 1px solid #fff; border-radius: 23px; padding: 23px;
  box-shadow: 0 15px 40px #2e60a825, inset 0 0 0 1px #dceafa; min-width: 0;
}
.signal-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 17px; }
.signal-source { color: #315c91; font-size: .81rem; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.signal-source span { width: 7px; height: 7px; background: #117b9b; border-radius: 50%; }
.signal-header h2 { font-size: 1.54rem; margin-top: 6px; letter-spacing: -.035em; }
.updates { min-height: 198px; border-top: 1px solid var(--line); }
.update-row {
  display: flex; gap: 11px; align-items: center; width: 100%; min-height: 66px; padding: 8px 3px;
  border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; color: var(--ink);
}
.update-row:hover { background: #eff7ff; }
.update-title { flex: 1; min-width: 0; display: grid; gap: 3px; }
.update-title strong { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.update-title span, .update-date, .signal-footer { color: var(--muted); font-size: .81rem; }
.update-date { white-space: nowrap; font-variant-numeric: tabular-nums; }
.signal-footer { padding-top: 13px; min-height: 31px; }

.signal-carousel { position: relative; min-width: 0; }
.signal-pages { touch-action: pan-y; }
.signal.is-entering { animation: signal-enter 290ms cubic-bezier(.2,.72,.24,1) both; --signal-offset: 14px; }
.signal.is-entering-back { --signal-offset: -14px; }
@keyframes signal-enter {
  from { opacity: 0; transform: translateX(var(--signal-offset)); }
  to { opacity: 1; transform: translateX(0); }
}
.signal-pager {
  position: absolute; top: calc(100% + 4px); inset-inline: 0;
  width: max-content; margin-inline: auto; display: flex; align-items: center; gap: 4px;
}
.signal-tabs { display: flex; align-items: center; }
.signal-tabs button, .signal-play {
  display: grid; place-items: center; width: 30px; height: 28px;
  padding: 0; border: 0; border-radius: 8px; color: #355985; background: transparent;
}
.signal-tabs button::before { content: ""; width: 6px; height: 6px; border-radius: 6px; background: #7e9ccc; transition: width .24s ease, background-color .24s ease; }
.signal-tabs button[aria-selected="true"]::before { width: 19px; background: #1757db; }
.signal-tabs button:hover, .signal-play:hover { background: #eaf3ff; color: var(--blue); }
.pause-mark { width: 8px; height: 10px; border-inline: 1.5px solid currentColor; border-radius: 1px; }
.pause-mark.is-paused { width: 0; height: 0; border: 0; border-block: 5px solid transparent; border-left: 7px solid currentColor; }
.app-icon { width: 34px; height: 34px; border-radius: 9px; }
.signal-app-name { flex: 1; min-width: 0; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.signal-app-meta { max-width: 36%; color: var(--muted); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.signal-state { padding: 14px 2px 0; color: var(--muted); font-size: .82rem; }
.signal-region { margin: 5px 0 0 2px; color: #206984; font-size: .76rem; }
.app-icon {
  position: relative; flex: none; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px; overflow: hidden;
  font-weight: 760; color: #1b55b0; background: #eaf2ff;
}
.app-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.empty { color: var(--muted); padding-block: 22px; font-size: .94rem; }
.overview {
  padding-block: 28px; display: grid; grid-template-columns: 1fr 2.6fr; gap: 24px; align-items: center;
  border-bottom: 1px solid var(--line);
}
.overview h2 { font-size: 1.25rem; }
.overview p, .section-head p { color: var(--muted); line-height: 1.65; margin-top: 5px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; gap: 13px; }
.metrics div { border-left: 1px solid var(--line); padding-left: 22px; }
.metrics dt { color: var(--muted); font-size: .86rem; }
.metrics dd { margin: 1px 0 0; font-size: clamp(1.65rem, 3vw, 2.25rem); font-weight: 780; color: #163d86; font-variant-numeric: tabular-nums; }
.catalog { padding-block: 56px 45px; }
:where(#guide, #catalog, #faq) { scroll-margin-top: 94px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 19px; }
.section-head h2, .faq h2 { font-size: clamp(1.68rem, 3.3vw, 2.5rem); line-height: 1.22; letter-spacing: -.045em; }
.filters { display: flex; align-items: center; gap: 9px; }
.filters input, .filters select {
  height: 44px; min-width: 0; border: 1px solid #cdddf0; border-radius: 11px;
  padding: 0 12px; background: #fff; color: var(--ink);
}
.filters input { width: clamp(155px, 23vw, 240px); }
.filters input::placeholder { color: #61728a; }
.filters select { appearance: none; padding-right: 33px; background: linear-gradient(45deg,transparent 50%,#44658f 50%) calc(100% - 15px) 19px/5px 5px no-repeat, linear-gradient(135deg,#44658f 50%,transparent 50%) calc(100% - 10px) 19px/5px 5px no-repeat, #fff; }
.categories { display: flex; flex-wrap: wrap; gap: 8px; }
.category { min-height: 38px; min-width: 58px; padding: 0 13px; color: #294673; font-size: .9rem; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.category[aria-pressed="true"] { color: #fff; background: #1757db; border-color: #1757db; }
.category:hover:not([aria-pressed="true"]) { background: var(--sky); }
.catalog-status { min-height: 22px; margin: 15px 0 10px; font-size: .86rem; color: var(--muted); }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.app-card {
  display: flex; flex-flow: column; align-items: stretch; min-width: 0; gap: 12px; padding: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; color: inherit; text-align: left;
}
.app-card:hover, .app-card:focus-within { border-color: #9dbbf0; background: #f8fbff; }
.app-card-main {
  display: grid; gap: 12px; min-width: 0; padding: 0; border: 0; border-radius: 6px;
  color: inherit; background: transparent; text-align: left;
}
.app-card-heading, .app-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.app-card-label { flex: 1; min-width: 0; display: grid; gap: 2px; }
.app-card-label strong { font-size: 1.04rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-card-label > span, .region { color: var(--muted); font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.region { color: #15677c; background: #e2f5fb; padding: 2px 7px; border-radius: 6px; }
.app-summary {
  font-size: .91rem; line-height: 1.56; color: var(--muted); height: 2.85em;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.app-card-foot { margin-top: auto; }
.app-card-actions { flex: none; display: flex; gap: 6px; }
.app-card-actions .button { min-width: 47px; min-height: 34px; padding-inline: 9px; }
.app-card-actions .button-primary { color: #fff; border-color: transparent; background: #1757db; box-shadow: none; }
.app-card-actions .button-primary:hover { background: #154bd0; }
.app-card-actions button:disabled { cursor: default; color: var(--muted); background: #f2f6fb; }
.app-stats { color: var(--muted); font-size: .84rem; display: flex; flex-wrap: wrap; gap: 4px 11px; }
.more { display: flex; justify-content: center; margin-top: 24px; }
.guide-band { border-block: 1px solid var(--line); background: #edf5ff; }
.guide { padding-block: 48px; }
.guide-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; margin: 21px 0 0; padding: 0; counter-reset: steps; list-style: none; }
.guide-steps li { padding-left: 39px; position: relative; counter-increment: steps; }
.guide-steps li::before {
  content: counter(steps); position: absolute; left: 0; top: 0; display: grid; place-items: center;
  width: 29px; height: 29px; border-radius: 8px; color: #1757c9; background: #dceaff; font-size: .9rem; font-weight: 760;
}
.guide-steps h3 { font-size: 1.05rem; line-height: 29px; }
.guide-steps p, .faq details p { color: var(--muted); line-height: 1.7; }
.guide-steps p { margin-top: 5px; }
.faq { padding-block: 48px 66px; max-width: 980px; }
.faq h2 { margin-bottom: 16px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 4px; font-weight: 650; }
.faq details p { margin: 0 4px 17px; }
footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: .89rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
dialog { width: min(100% - 32px, 560px); max-height: calc(100% - 32px); padding: 24px; color: var(--ink); border: 1px solid #cadcf1; border-radius: 20px; box-shadow: 0 20px 75px #091c4357; }
dialog::backdrop { background: #15264670; backdrop-filter: blur(4px); }
.detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.detail-header h2 { font-size: 1.55rem; overflow-wrap: anywhere; }
.detail-identity, .detail-actions { display: flex; align-items: center; gap: 12px; }
.detail-identity .app-icon { width: 48px; height: 48px; }
.detail-meta { color: var(--muted); font-size: .9rem; margin-bottom: 4px; }
.detail-intro { color: var(--muted); line-height: 1.58; overflow-wrap: anywhere; margin-top: 15px; }
.detail-actions { flex-wrap: wrap; margin-top: 15px; }
.detail-release { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 14px; }
.detail-release h3 { margin-bottom: 7px; }
.release-body { background: #eff5ff; padding: 12px; border-radius: 10px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 235px; overflow: auto; font-size: .91rem; line-height: 1.6; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 42px); }
  .hero-inner { grid-template-columns: 1fr minmax(280px, .9fr); gap: 26px; }
  h1 { font-size: clamp(2.5rem, 5.8vw, 4rem); }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
  .wrap { width: calc(100% - 32px); }
  .site-header nav { display: none; }
  .header-inner { min-height: 62px; gap: 12px; }
  .hero-inner { grid-template-columns: 1fr; gap: 26px; padding-block: 39px 27px; }
  .hero-summary { margin-top: 16px; }
  .hero-actions { margin-top: 17px; }
  .signal-carousel { margin-bottom: 19px; }
  .signal { padding: 16px; }
  .overview { grid-template-columns: 1fr; gap: 10px; padding-block: 20px; }
  .metrics { gap: 5px; }
  .metrics div { padding-left: 8px; }
  .metrics div:first-child { padding-left: 0; border-left: 0; }
  .metrics dt { font-size: .76rem; }
  .catalog, .guide, .faq { padding-block: 34px; }
  .section-head { align-items: stretch; flex-direction: column; gap: 12px; }
  .filters input { flex: 1; width: 0; }
  .guide-steps, .app-grid { grid-template-columns: 1fr; gap: 12px; }
  .guide-steps { gap: 19px; }
  .app-card, .app-card-main { gap: 9px; }
  :where(#guide, #catalog, #faq) { scroll-margin-top: 74px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .hero::after, .signal.is-entering { animation: none; }
  .signal-tabs button::before { transition: none; }
}
