/* 页眉与可键盘操作的移动导航。 */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--header-paper); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: var(--shadow-2); }
.header-inner { height: var(--header-height); display: flex; align-items: center; gap: var(--s4); }
.brand { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; color: var(--ink); flex-shrink: 0; }
.brand__mark { width: 28px; height: 32px; color: var(--primary); }
.brand__word { font-size: 21px; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; }
.brand__word span { color: var(--primary); }
.world-switch { display: flex; flex-shrink: 0; background: var(--tint); border: 1px solid var(--line); padding: var(--s1); border-radius: var(--r-pill); }
.world-switch a { display: grid; place-items: center; min-width: 44px; height: 44px; font-size: 13px; font-weight: 700; color: var(--muted); border-radius: var(--r-pill); }
.world-switch a:hover { color: var(--primary); background: var(--paper); }
.world-switch a[aria-current] { background: var(--gradient); color: var(--on-primary); }
.header-sheet { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: var(--s3); min-width: 0; }
.header-nav { display: flex; align-items: center; margin-inline: auto; border: 1px solid var(--line); padding: var(--s1); border-radius: var(--r-pill); background: var(--paper); }
.header-nav a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: var(--s2) var(--s3); font-size: 14px; font-weight: 600; line-height: 1.4; white-space: nowrap; color: var(--ink); border-radius: var(--r-pill); }
.header-nav a:hover { background: var(--tint); color: var(--primary); }
.header-nav a[aria-current="page"] { background: var(--gradient); color: var(--on-primary); }
.header-actions { display: flex; align-items: center; gap: var(--s2); }
.btn.menu-toggle { display: none; }
.no-js-menu { display: none; }
.menu-backdrop { position: fixed; inset: var(--header-height) 0 0; background: var(--veil); z-index: 20; }

/* 平面按钮：金色仅用于下载与进入游戏。 */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; padding: var(--s3) var(--s5); border: 1px solid var(--transparent); border-radius: var(--r-pill); background: var(--paper); color: var(--primary); font-size: 14px; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; transition: transform var(--fast) var(--ease), background var(--fast) var(--ease); }
.btn:hover { transform: translateY(-1px); background: var(--hover-paper); }
.btn:active { transform: translateY(1px); border-bottom-width: 0; }
.btn--gold { background: var(--gold); color: var(--on-gold); border-bottom: 2px solid var(--gold-deep); }
.btn--gold:hover { background: var(--hover-gold); }
.btn--primary { background: var(--gradient); color: var(--on-primary); }
.btn--primary:hover { background: var(--gradient); }
.btn--secondary { border-color: var(--primary); }
.btn--ghost { background: var(--dark-line); color: var(--on-dark); border-color: var(--on-dark-muted); }
.btn--ghost:hover { background: var(--dark-raised); }
.btn--danger-outline { border-color: var(--danger); color: var(--danger); }
.btn--danger-outline:hover { background: var(--danger-tint); }
.btn--submit { min-height: 56px; }
.btn--hero { min-height: 64px; padding-inline: var(--s8); }
.btn--wide { width: 100%; }
.btn--icon { width: 44px; height: 44px; padding: var(--s2); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { min-width: 160px; }
.text-link { display: inline-flex; align-items: center; gap: var(--s2); min-width: 44px; min-height: 44px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 表单、固定反馈行和可复用的小型状态。 */
.field { display: grid; gap: var(--s2); }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.input { width: 100%; height: 48px; padding: var(--s3) var(--s4); color: var(--ink); background: var(--paper); border: 1px solid var(--control-line); border-radius: var(--r-sm); font-size: 15px; }
.input:focus { border-color: var(--primary); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.input:read-only { background: var(--tint); }
.input-wrap { display: flex; align-items: center; position: relative; }
.input-wrap .input { padding-right: var(--s14); }
.input-wrap .btn { position: absolute; right: var(--s1); }
.field-error { font-size: 13px; color: var(--danger); }
.message-line { min-height: 24px; font-size: 13px; line-height: 24px; color: var(--muted); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.message-line--success { color: var(--ok); }
.message-line--error { color: var(--danger); }
.message-line--warning { color: var(--warn); }
.pill { display: inline-flex; align-items: center; gap: var(--s2); min-height: 24px; padding: var(--s1) var(--s2); border-radius: var(--r-pill); background: var(--tint); color: var(--primary); font-size: 12px; line-height: 1.3; font-weight: 700; white-space: nowrap; }
.pill--quiet { color: var(--muted); }
.pill--gold { color: var(--on-gold); background: var(--gold); }
.pill--status { color: var(--muted); background: var(--paper); border: 1px solid var(--line); }
.pill--status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--online { color: var(--ok); }
.pill--online::before { animation: status-pulse 2s ease-in-out infinite; }
.pill--maintenance { color: var(--warn); background: var(--warn-tint); }
.panel-dark .pill--status { background: var(--dark-raised); color: var(--on-dark-muted); border-color: var(--dark-line); }
.panel-dark .pill--online { color: var(--ok-on-dark); }
.panel-dark .pill--maintenance { color: var(--gold-on-dark); }
@keyframes status-pulse { 50% { opacity: .6; } }

/* 卡片、深色数据面板与纸色提示。 */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s6); box-shadow: var(--shadow-1); min-width: 0; }
.panel-dark { padding: var(--s5); background: var(--dark); color: var(--on-dark); border-radius: var(--r); min-width: 0; }
.panel-dark .meta, .panel-dark .muted { color: var(--on-dark-muted); }
.panel-dark__heading { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.data-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 44px; padding-block: var(--s2); border-bottom: 1px solid var(--dark-line); }
.data-row dt { color: var(--on-dark-muted); font-size: 13px; }
.data-row dd { margin: 0; text-align: right; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.data-row:last-child { border-bottom: 0; }
.data-row .data-value { color: var(--gold-on-dark); }
.notice { padding: var(--s4) var(--s5); border-left: 4px solid var(--primary); background: var(--parchment); color: var(--parchment-ink); border-radius: var(--r-sm); }
.notice h2 { color: var(--parchment-ink); }
.notice .meta { color: var(--parchment-ink); }
.feature-card { display: flex; align-items: flex-start; gap: var(--s4); }
.feature-card h3 { margin-bottom: var(--s2); }
.feature-card p { color: var(--muted); }
.entry-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; color: var(--ink); transition: transform var(--fast) var(--ease); }
.entry-card:hover { transform: translateY(-1px); }
.entry-card__top { display: flex; align-items: center; gap: var(--s4); padding: var(--s6); background: var(--tint); flex: 1; }
.entry-card__top .icon-tile { background: var(--paper); }
.entry-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: var(--s3) var(--s4); min-height: 56px; font-size: 13px; color: var(--on-dark-muted); background: var(--dark); }
.entry-card__bottom .pill { color: var(--on-dark-muted); background: var(--dark-raised); }

/* 筛选按钮、标签页和分页采用统一的 44px 命中区域。 */
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.chip { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; padding: var(--s2) var(--s4); border: 1px solid var(--control-line); border-radius: var(--r-pill); color: var(--primary); background: var(--paper); font-size: 14px; font-weight: 600; line-height: 1.4; }
.chip:hover { background: var(--tint); }
.chip:active { transform: translateY(1px); }
.chip[aria-pressed="true"], .chip[aria-current] { color: var(--on-primary); background: var(--gradient); border-color: var(--transparent); }
.chip:disabled { opacity: .55; }
.fact-chip { display: inline-flex; align-items: center; gap: var(--s2); padding: var(--s2) var(--s3); border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--muted); background: var(--quiet-fill); font-size: 13px; line-height: 1.5; }
.fact-chip strong { color: var(--ink); font-weight: 700; }
.tabs { display: flex; flex-wrap: wrap; gap: var(--s5); border-bottom: 1px solid var(--line); }
.tab { min-height: 44px; padding: var(--s3) var(--s4); border: 0; border-bottom: 3px solid var(--transparent); background: var(--transparent); color: var(--muted); font-size: 14px; font-weight: 600; }
.tab:hover { color: var(--primary); }
.tab[aria-selected="true"] { color: var(--primary); border-bottom-color: var(--primary); font-weight: 700; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s2); margin-top: var(--s6); }
.pager__controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s1); }
.pager__page { width: 44px; height: 44px; flex: 0 0 44px; padding: var(--s2); }
.pager__ellipsis { text-align: center; min-width: 16px; }
.pager__page[aria-current] { background: var(--gradient); color: var(--on-primary); }

/* 步骤是普通有序列表；没有铆钉、缎带或装饰性窗口。 */
.step-list { list-style: none; padding: var(--s6); border-left: 4px solid var(--primary); border-radius: var(--r); background: var(--parchment); color: var(--parchment-ink); }
.step-list li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--s4); padding-bottom: var(--s6); }
.step-list li:last-child { padding-bottom: 0; }
.step-list li:not(:last-child)::before { content: ""; position: absolute; top: 40px; bottom: var(--s2); left: 15px; border-left: 2px dotted var(--parchment-line); }
.step-list__number { width: 32px; height: 32px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--parchment-line); border-radius: 50%; font-size: 14px; font-weight: 800; }
.step-list h3 { margin-bottom: var(--s2); }
.step-list p { font-size: 15px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; margin-inline: calc(-1 * var(--s3)); list-style: none; color: var(--muted); font-size: 13px; line-height: 1.5; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li[aria-current] { padding-inline: var(--s3); }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--muted); }
.breadcrumb a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; padding-inline: var(--s3); color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); text-decoration: underline; }
.accordion { border: 1px solid var(--line); background: var(--paper); border-radius: var(--r-sm); }
.accordion + .accordion { margin-top: var(--s3); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 56px; padding: var(--s4); list-style: none; font-weight: 600; line-height: 1.5; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 21px; font-weight: 400; color: var(--primary); }
.accordion[open] summary::after { content: "−"; }
.accordion summary:hover { background: var(--quiet-fill); border-radius: var(--r-sm); }
.accordion__body { padding: 0 var(--s4) var(--s4); color: var(--muted); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.table caption { text-align: left; font-size: 13px; color: var(--muted); padding-bottom: var(--s4); }
.table th { background: var(--tint); color: var(--ink); font-weight: 600; text-align: left; }
.table th, .table td { padding: var(--s4); border-bottom: 1px solid var(--line); }
.table td { color: var(--muted); }
.definition-list > div { padding-block: var(--s3); border-bottom: 1px solid var(--line); }
.definition-list > div:last-child { border: 0; }
.definition-list dt { font-size: 13px; color: var(--muted); }
.definition-list dd { margin: var(--s1) 0 0; }

/* 静态骨架和功能尚未开放时的完整落点。 */
.skeleton { display: block; height: 16px; background: var(--tint); border-radius: var(--r-sm); animation: skeleton-pulse 1.4s ease-in-out infinite; }
.skeleton--title { width: 60%; height: 24px; }
.skeleton--row { height: 56px; }
.skeleton-card { display: grid; gap: var(--s4); padding: var(--s6); border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
@keyframes skeleton-pulse { 50% { opacity: .6; } }
.coming-soon { text-align: center; display: grid; justify-items: center; gap: var(--s4); padding: var(--s14) var(--s8); }
.coming-soon__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: var(--r); background: var(--tint); color: var(--primary); }
.coming-soon p { color: var(--muted); max-width: 30em; }
.noscript-card { padding: var(--s4); margin-block: var(--s6); background: var(--parchment); color: var(--parchment-ink); border-left: 4px solid var(--primary); border-radius: var(--r-sm); }

.header-account { position: relative; min-width: 0; }
.account-checking { width: 72px; height: 40px; border-radius: var(--r-pill); }
.account-toggle { max-width: 144px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-inline: var(--s3); }
.account-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 200px; padding: var(--s3); display: grid; gap: var(--s2); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2); }
.account-menu .btn { justify-content: flex-start; }
.account-menu .message-line:empty { display: none; }
.app-skeleton { display: grid; gap: 0; background: var(--paper); border-radius: var(--r); overflow: hidden; }
.app-skeleton .skeleton--row { border-radius: 0; border-bottom: 1px solid var(--paper); background: var(--quiet-fill); position: relative; }
.app-skeleton .skeleton--row::before { content: ""; position: absolute; inset: var(--s2) auto var(--s2) var(--s4); width: 40px; border-radius: var(--r-sm); background: var(--tint); }
.app-skeleton .skeleton--row::after { content: ""; position: absolute; inset: var(--s5) var(--s8) var(--s5) var(--s18); background: var(--tint); border-radius: var(--r-sm); }
.app-state { display: grid; justify-items: center; align-content: center; gap: var(--s4); min-height: 320px; padding: var(--s8); text-align: center; border-radius: var(--r); background: var(--paper); }
.app-state h2 { font-size: 21px; }
.app-state p { max-width: 30em; overflow-wrap: anywhere; }
.state-mark { font-size: 32px; line-height: 1; color: var(--primary); }
.locked-preview { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); min-height: 504px; background: var(--paper); }
.locked-workspace { display: grid; grid-template-columns: 160px minmax(0, 1fr); opacity: .8; }
.locked-rail { display: grid; align-content: start; gap: var(--s3); padding: var(--s5); border-right: 1px solid var(--line); }
.locked-rail > span { height: 32px; border-radius: var(--r-sm); background: var(--preview-bar); }
.locked-center { min-width: 0; }
.locked-toolbar { height: 56px; padding: var(--s3); border-bottom: 1px solid var(--line); }
.locked-toolbar::before { content: ""; display: block; width: 64%; height: 32px; background: var(--preview-bar); border-radius: var(--r-sm); }
.locked-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 20%; align-items: center; gap: var(--s4); height: 56px; padding: var(--s2) var(--s4); border-bottom: 1px solid var(--line); }
.locked-row__icon { width: 40px; height: 40px; background: var(--preview-bar); border-radius: var(--r-sm); }
.locked-row__text { display: grid; gap: var(--s2); }
.locked-row__text::before, .locked-row__text::after, .locked-row__price { content: ""; height: 8px; background: var(--preview-bar); border-radius: var(--r-pill); }
.locked-row__text::before { width: 64%; }
.locked-row__text::after { width: 40%; }
.locked-preview::after { content: ""; position: absolute; inset: 0; background: var(--locked-veil); }
.locked-preview .login-prompt { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); z-index: 1; min-height: 0; box-shadow: var(--shadow-1); width: min(460px, calc(100% - 48px)); margin: 0; border: 1px solid var(--line); }
.expired-content { opacity: .35; pointer-events: none; max-height: 480px; overflow: hidden; }
.expired-content + * { margin-top: var(--s6); }
.login-prompt { border: 1px solid var(--line); margin-bottom: var(--s4); }
.item-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: var(--r-sm); background: var(--tint); color: var(--muted); overflow: hidden; }
.item-icon img { object-fit: contain; image-rendering: pixelated; width: 40px; height: 40px; }
.item-icon--large, .item-icon--large img { width: 56px; height: 56px; }
.item-icon--large { flex-basis: 56px; }
.item-icon--missing::after { content: "◇"; font-size: 24px; line-height: 1; }
.panel-dark .item-icon { background: var(--dark-raised); color: var(--on-dark-muted); }
.tier-rare { color: var(--item-rare); }
.tier-epic { color: var(--item-epic); }
.tier-unique { color: var(--item-unique); }
.tier-legendary { color: var(--item-legendary); }
.panel-dark .tier-rare { color: var(--item-rare-dark); }
.panel-dark .tier-epic { color: var(--item-epic-dark); }
.panel-dark .tier-unique { color: var(--item-unique-dark); }
.panel-dark .tier-legendary { color: var(--item-legendary-dark); }
.tier-tag { display: inline-flex; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: var(--r-sm); padding: 0 var(--s1); min-height: 20px; font-size: 12px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.item-tags { display: flex; gap: var(--s2); flex-wrap: wrap; align-items: center; margin-top: var(--s2); }
.item-tags .tier-tag + .item-category::before { content: "· "; }
.item-category { font-size: 12px; color: var(--on-dark-muted); }
.inspector-mount { min-width: 0; position: sticky; top: 96px; align-self: start; border-radius: var(--r); background: var(--dark); }
.inspector-mount::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 24px; background: var(--inspector-fade); border-radius: 0 0 var(--r) var(--r); pointer-events: none; }
.item-inspector { overflow-y: auto; overscroll-behavior: contain; max-height: calc(100dvh - 120px); padding-bottom: var(--s8); border: 1px solid var(--dark-line); scrollbar-width: thin; scrollbar-color: var(--on-dark-muted) var(--dark); }
.item-inspector--empty { min-height: 320px; display: grid; justify-items: center; align-content: center; gap: var(--s4); text-align: center; }
.item-inspector--empty h2 { font-size: 18px; }
.inspector-motif { color: var(--on-dark-muted); font-size: 40px; }
.inspector-heading { display: flex; align-items: flex-start; gap: var(--s3); }
.inspector-heading > div { min-width: 0; }
.inspector-heading h2 { font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; text-wrap: pretty; }
.item-stars { color: var(--gold-on-dark); font-weight: 700; margin-top: var(--s4); }
.inspector-upgrades { margin-top: var(--s3); }
.item-stats { margin-top: var(--s3); }
.item-stats .data-row { min-height: 32px; padding-block: var(--s1); }
.potential-block { padding: var(--s3); border: 1px solid var(--dark-line); border-radius: var(--r-sm); margin-top: var(--s4); }
.potential-block h3 { font-size: 14px; margin-bottom: var(--s2); }
.potential-block p { font-size: 13px; overflow-wrap: anywhere; }
.listing-facts { margin-block: var(--s4); border-top: 1px solid var(--dark-line); padding-top: var(--s2); }
.listing-facts .data-row { min-height: 32px; padding-block: var(--s1); }
.listing-facts dd { overflow-wrap: anywhere; max-width: 72%; }
.inspector-price { margin-block: var(--s2); color: var(--gold-on-dark); font-size: 28px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.inspector-currency { font-size: 14px; white-space: nowrap; }
.inspector-foot { border-top: 1px solid var(--dark-line); padding-top: var(--s4); margin-top: var(--s4); }
.item-sheet-open { overflow: hidden; }
.item-sheet-backdrop { position: fixed; inset: 0; z-index: 80; background: var(--veil); display: flex; align-items: flex-end; justify-content: center; }
.item-sheet { width: min(640px, 100%); max-height: 85vh; max-height: 85dvh; border-radius: var(--r-lg) var(--r-lg) 0 0; padding: var(--s2) var(--s4) var(--s4); display: flex; flex-direction: column; box-shadow: var(--shadow-2); }
.sheet-handle { width: 40px; height: 4px; background: var(--on-dark-muted); border-radius: var(--r-pill); align-self: center; flex-shrink: 0; }
.sheet-toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 56px; flex-shrink: 0; }
.sheet-toolbar h2 { font-size: 17px; }
.item-sheet .item-inspector { max-height: none; min-height: 0; overflow: auto; padding: var(--s4) 0; }
.launcher-update { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); font-size: 14px; }
.launcher-update > p { flex: 1 1 100%; min-width: 0; font-size: 12px; line-height: 20px; }
.launcher-update__title { white-space: nowrap; }
.launcher-update > .btn { flex-shrink: 0; }
.data-freshness { display: flex; align-items: center; justify-content: flex-end; gap: var(--s3); }
.data-freshness > p { font-size: 12px; }
.job-glyph { width: 40px; height: 40px; flex: 0 0 40px; border-radius: var(--r-sm); background: var(--tint); color: var(--primary); display: grid; place-items: center; }
.panel-dark .job-glyph { background: var(--dark-raised); color: var(--gold-on-dark); }
@media (max-width: 1100px) and (min-width: 861px) {
  .header-actions > .btn { width: 44px; padding: var(--s2); }
  .header-actions > .btn span { display: none; }
  .header-actions > .btn .icon { display: block; }
  .account-toggle { max-width: 104px; padding-inline: var(--s2); }
}
@media (max-width: 1099px) { .inspector-mount { display: none; } }
@media (max-width: 860px) {
  .header-account { order: -1; }
  .header-account > .btn { width: 100%; max-width: none; min-height: 56px; justify-content: flex-start; }
  .account-menu { position: static; box-shadow: none; margin-block: var(--s2); }
  .account-menu .btn { min-height: 56px; }
}
@media (max-width: 520px) {
  .app-state { padding: var(--s6) var(--s4); min-height: 280px; }
  .locked-preview .login-prompt { width: calc(100% - 32px); }
  .locked-workspace { grid-template-columns: 64px minmax(0, 1fr); }
  .locked-rail { padding: var(--s3) var(--s2); }
  .locked-row { grid-template-columns: 32px minmax(0, 1fr) 20%; gap: var(--s2); padding-inline: var(--s2); }
  .locked-row__icon { width: 32px; height: 32px; }
  .data-freshness { justify-content: space-between; }
  .inspector-price { font-size: 24px; }
  .launcher-update { padding: var(--s3); }
}

/* 页脚只保留直线世界渐变，不使用云边。 */
.site-footer { margin-top: var(--s18); padding: var(--s10) 0 var(--s6); background: var(--dark); color: var(--on-dark); position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--gradient); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s10); margin-bottom: var(--s8); }
.site-footer .brand { color: var(--on-dark); }
.site-footer .brand__word span, .site-footer .brand__mark { color: var(--gold-on-dark); }
.footer-intro p { max-width: 26em; margin-top: var(--s3); font-size: 13px; color: var(--on-dark-muted); }
.footer-nav h2 { font-size: 15px; margin-block: var(--s3) var(--s2); }
.footer-nav a { display: flex; align-items: center; min-height: 44px; min-width: 44px; width: fit-content; font-size: 13px; color: var(--on-dark-muted); }
.footer-nav a:hover { color: var(--gold-on-dark); text-decoration: underline; }
@media (min-width: 860px) {
  .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; column-gap: var(--s4); }
  .footer-nav h2 { grid-column: 1 / -1; }
}
.footer-legal { border-top: 1px solid var(--dark-line); padding-top: var(--s6); display: grid; gap: var(--s3); color: var(--on-dark-muted); font-size: 12px; line-height: 1.75; }
.footer-bottom { margin-top: var(--s6); display: flex; justify-content: space-between; gap: var(--s4); color: var(--on-dark-muted); font-size: 12px; }
.footer-community { margin-bottom: var(--s6); }
.footer-community a { color: var(--gold-on-dark); min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 1100px) and (min-width: 861px) {
  .header-inner { gap: var(--s2); width: calc(100% - 32px); }
  .header-nav a { padding-inline: var(--s2); }
  .header-actions > .btn { padding-inline: var(--s3); }
  .header-actions > .btn .icon { display: none; }
  .brand__word { font-size: 18px; }
}
@media (max-width: 860px) {
  .header-inner { justify-content: space-between; gap: var(--s2); }
  .brand__word { font-size: 20px; }
  .world-switch { margin-left: auto; padding: 0; }
  .btn.menu-toggle { display: inline-flex; background: var(--tint); color: var(--primary); }
  .header-sheet { display: none; }
  .js .header-sheet.is-open { display: flex; }
  .header-sheet { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; flex-direction: column; align-items: stretch; padding: var(--s4); background: var(--paper); box-shadow: var(--shadow-2); }
  .header-nav { display: flex; flex-direction: column; align-items: stretch; margin: 0; padding: 0; border: 0; border-radius: 0; }
  .header-nav a { min-height: 56px; justify-content: flex-start; padding-inline: var(--s5); }
  .header-actions { display: flex; flex-direction: column; align-items: stretch; padding-top: var(--s3); border-top: 1px solid var(--line); }
  .header-actions > .btn { min-height: 56px; }
  .no-js .btn.menu-toggle { display: none; }
  .no-js .no-js-menu { display: block; position: relative; }
  .no-js-menu summary { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--tint); color: var(--primary); list-style: none; }
  .no-js-menu summary::-webkit-details-marker { display: none; }
  .no-js-menu__panel { position: absolute; top: 56px; right: 0; width: calc(100vw - 32px); max-height: calc(100dvh - 96px); overflow-y: auto; padding: var(--s4); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2); }
  .no-js-menu__panel .btn { margin-top: var(--s3); }
  .footer-top { gap: var(--s6); }
}
@media (max-width: 520px) {
  .brand__mark { width: 24px; height: 28px; }
  .brand__word { font-size: 18px; }
  .brand { gap: var(--s1); }
  .header-inner { gap: var(--s2); }
  .card { padding: var(--s4); }
  .entry-card { padding: 0; }
  .entry-card__top { padding: var(--s4); }
  .step-list { padding: var(--s4); }
  .coming-soon { padding: var(--s10) var(--s4); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s4); }
  .footer-intro { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: var(--s2); }
  .pager__count { flex-basis: 100%; text-align: center; }
}
