/* 壁纸派 — 主样式 移动优先 */
:root {
  --bg: #0c0d12;
  --header-bar: #14161f;
  --header-bar-scrolled: rgba(12, 14, 20, 0.72);
  --surface: #15171f;
  --text: #e8e9ef;
  --muted: #8b8f9a;
  --accent: #6b9eff;
  --accent-2: #3d5a8c;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0,0,0,.4);
  font-synthesis: none;
}
html {
  font-size: 100%;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.main { flex: 1; padding: 0 1rem 0.5rem; max-width: 1380px; margin: 0 auto; width: 100%; }
.header {
  position: sticky; top: 0; z-index: 50;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, rgba(28, 30, 40, 0.98) 0%, var(--header-bar) 55%, rgba(18, 19, 26, 0.96) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, backdrop-filter 0.22s ease;
}
.header.header--scrolled {
  background: var(--header-bar-scrolled);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.42);
}
.logo {
  font-weight: 800; font-size: 1.3125rem; color: #fff; letter-spacing: 0.02em;
  text-decoration: none; margin-right: 0.5rem;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-header-login {
  padding: 0.4rem 0.9rem;
  font-size: 14px;
  border-radius: 8px;
  background: var(--surface);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
  font-family: inherit;
}
.btn-header-login:hover { background: #1e2028; }
.header-user { font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 0.4rem; }
.header-user-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255,255,255,.2); }
.header-user-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-user-link { color: var(--muted); }
.header-user-link:hover { color: #fff; text-decoration: none; }
.header-user-admin { font-style: normal; color: #ffcc73; border: 1px solid rgba(255,204,115,.55); border-radius: 999px; padding: 0.1rem 0.45rem; font-size: 14px; }
.header-admin-link {
  color: #c8dcff;
  border: 1px solid rgba(123, 165, 255, .55);
  border-radius: 999px;
  padding: .1rem .45rem;
  font-size: 14px;
}
.header-admin-link:hover { text-decoration: none; color: #fff; background: rgba(96, 146, 255, .24); }
.header-logout-form { margin: 0; }
.btn-header-logout {
  padding: 0.38rem 0.88rem;
  font-size: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,95,95,.2), rgba(255,95,95,.08));
  color: #ffd1d1;
  border: 1px solid rgba(255,120,120,.45);
  cursor: pointer;
  font-family: inherit;
  transition: all .16s ease;
}
.btn-header-logout:hover { color: #fff; border-color: rgba(255,135,135,.7); background: linear-gradient(180deg, rgba(255,105,105,.3), rgba(255,105,105,.12)); }
.btn-header-logout:disabled,
.btn-header-logout.is-loading { opacity: .72; cursor: not-allowed; }
.wall-dl-recommend {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.35rem 0 0.8rem;
  flex-wrap: wrap;
}
.wall-dl-recommend-lab {
  color: var(--muted);
  font-size: 14px;
}
.btn-dl-recommend {
  border-color: rgba(92, 151, 255, .6);
  background: rgba(92, 151, 255, .12);
  color: #cfe0ff;
}
.btn-dl-recommend:hover {
  border-color: rgba(124, 172, 255, .95);
  background: rgba(92, 151, 255, .2);
}
.wechat-modal[hidden] { display: none !important; }
.wechat-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.wechat-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); }
.wechat-modal-box {
  position: relative; z-index: 1; max-width: 92vw; width: 380px;
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.1);
  padding: 1.1rem 1.1rem 1rem; text-align: center; box-shadow: var(--shadow);
  min-height: 426px;
  display: flex;
  flex-direction: column;
}
.wechat-modal-close {
  position: absolute; top: 0.3rem; right: 0.4rem; width: 1.75rem; height: 1.75rem;
  line-height: 1.75rem; border: 0; border-radius: 6px; background: transparent;
  color: var(--muted); font-size: 1.4rem; cursor: pointer; font-family: inherit;
}
.wechat-modal-close:hover { color: #fff; background: rgba(255,255,255,.08); }
.wechat-modal .qrcode-tip { margin: 0 0 1rem; color: var(--muted); font-size: 0.95rem; }
.wechat-modal .qrcode-slot { display: flex; justify-content: center; }
.wechat-modal .qrcode-slot img { display: block; margin: 0 auto; border-radius: 8px; background: #fff; padding: 4px; max-width: 100%; height: auto; }
.wechat-login-tabs {
  display: flex;
  gap: .45rem;
  margin-bottom: .7rem;
  padding-right: 2rem;
}
.wechat-login-tab {
  flex: 1;
  border: 1px solid rgba(255,255,255,.15);
  background: #111521;
  color: #c8cfde;
  border-radius: 8px;
  padding: .45rem .5rem;
  cursor: pointer;
}
.wechat-login-tab.is-active {
  background: linear-gradient(180deg, #5f90ff, #4469ca);
  color: #fff;
  border-color: rgba(140,174,255,.8);
}
.wechat-login-panel { display: none; min-height: 335px; }
.wechat-login-panel.is-active { display: block; }
.wechat-modal .qrcode-tip { margin: 0 0 .75rem; }
.wechat-login-panel .qrcode-slot { min-height: 236px; align-items: center; }
.account-login-form {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  text-align: left;
}
.account-login-form label {
  display: flex;
  flex-direction: column;
  gap: .28rem;
  color: var(--muted);
  font-size: 14px;
}
.account-login-form input {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: #0f121a;
  color: #fff;
  padding: .5rem .58rem;
}
.account-captcha-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .35rem;
  align-items: center;
}
.account-captcha-img {
  width: 110px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18);
  background: #111;
  cursor: pointer;
}
#accountLoginTip {
  min-height: 1.35rem;
  margin-top: .15rem;
}
@media (max-height: 680px) {
  .wechat-modal-box {
    min-height: auto;
    max-height: 92vh;
    overflow: auto;
  }
  .wechat-login-panel {
    min-height: auto;
  }
  .wechat-login-panel .qrcode-slot {
    min-height: 210px;
  }
}
.nav-toggle { display: none; background: var(--surface); color: #fff; border: 0; border-radius: 8px; padding: 0.35rem 0.6rem; font-size: 1.2rem; }
.nav { display: flex; flex-wrap: wrap; gap: 0.45rem 0.5rem; align-items: center; }
.nav a { padding: 0.42rem 0.55rem; border-radius: 6px; color: var(--muted); font-size: 16px; font-weight: 500; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); text-decoration: none; }
.nav-item--drop { position: relative; }
.nav-item--drop::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}
.nav-sub-toggle {
  padding: 0.42rem 0.55rem; border-radius: 6px; border: 0;
  background: transparent; color: var(--muted); font-size: 16px; font-weight: 500; font-family: inherit; cursor: pointer;
}
.nav-sub-toggle:hover, .nav-item--drop:hover .nav-sub-toggle { color: #fff; background: rgba(255,255,255,.06); }
.nav-sub {
  display: none; position: absolute; z-index: 200; top: calc(100% - 1px); left: 0; margin-top: 0;
  min-width: 15rem; max-width: min(100vw - 2rem, 56rem);
  max-height: min(80vh, 32rem); overflow: auto;
  padding: 0.75rem; border-radius: 10px;
  background: rgba(18, 21, 28, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
/* 分辨率：五列需足够宽度，避免标题重叠、按钮文字被截断 */
.nav-sub--res {
  min-width: min(96vw, 56rem);
  max-width: min(98vw, 72rem);
  overflow-x: hidden;
  overflow-y: auto;
}
/* 色系：三列需足够列宽，避免「泛黄色」等三字标签换行 */
.nav-sub--colors {
  min-width: min(98vw, 28rem);
  max-width: min(98vw, 42rem);
}
.nav-sub--cats {
  min-width: 12rem;
  max-width: 18rem;
}
.nav-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
}
.nav-sub-res {
  display: grid;
  gap: 0.5rem 0.5rem;
  grid-template-columns: repeat(5, minmax(5.75rem, 1fr));
  align-items: start;
  min-width: 0;
}
@media (max-width: 1200px) {
  .nav-sub--res { min-width: min(96vw, 36rem); }
  .nav-sub-res { grid-template-columns: repeat(2, minmax(6.5rem, 1fr)); }
}
.nav-sub-res-col { min-width: 0; }
.nav-sub-cat {
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: #7d8497;
  margin: 0 0 0.35rem; line-height: 1.25; text-align: center;
  white-space: normal; word-break: break-word; hyphens: auto;
}
.nav-sub-btns { display: flex; flex-direction: column; gap: 0.3rem; }
.nav-sub-a {
  display: block; text-align: center; padding: 0.4rem 0.28rem; font-size: 14px; color: #c9cdd8;
  border-radius: 6px; text-decoration: none; border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(40, 43, 55, 0.9) 0%, rgba(20, 22, 30, 0.95) 100%);
  line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-sub-a:hover { color: #fff; background: rgba(61, 90, 140, 0.4); text-decoration: none; border-color: rgba(107, 158, 255, 0.2); }
/* 色系：一行 3 个，单列最小宽度保证常见四字内不换行 */
.nav-color-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(8.5rem, 1fr)); gap: 0.3rem 0.45rem;
}
.nav-color-link {
  display: flex; align-items: center; gap: 0.35rem; padding: 0.32rem 0.38rem; font-size: 14px; color: #c9cdd8;
  border-radius: 6px; text-decoration: none; min-width: 0; white-space: nowrap;
}
.nav-color-txt { min-width: 0; line-height: 1.2; flex: 1; overflow: hidden; text-overflow: ellipsis; }
.nav-color-link .menu-color { flex-shrink: 0; }
.nav-color-link:hover { background: rgba(255,255,255,0.06); color: #fff; text-decoration: none; }
.menu-color {
  display: inline-block; width: 1rem; height: 1rem; border-radius: 3px; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}
@media (min-width: 901px) {
  .nav-item--drop:hover .nav-sub,
  .nav-item--drop:focus-within .nav-sub { display: block; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; }
  .nav.is-open { display: flex; }
  .nav-item--drop { width: 100%; }
  .nav-item--drop::after { display: none; }
  .nav-sub { position: static; max-width: none; max-height: 45vh; margin-top: 0.35rem; }
  .nav-item--drop.is-sub-open .nav-sub { display: block; }
  .nav-sub--res { min-width: 0 !important; max-width: none; }
  .nav-sub-res { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-color-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  @media (min-width: 420px) {
    .nav-color-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  .nav-item--drop:hover .nav-sub { display: none; }
  .nav-item--drop.is-sub-open .nav-sub { display: block; }
  .nav-item--drop.is-sub-open:hover .nav-sub { display: block; }
}
@media (min-width: 901px) {
  .nav-item--drop.is-sub-open .nav-sub { display: block; }
}
.filter-color-line {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.2rem 0.35rem; border-radius: 6px;
  font-size: 14px; color: #b8bcc8; text-decoration: none;
}
.filter-color-line:hover { background: rgba(255,255,255,0.05); color: #fff; text-decoration: none; }
.filter-color-line .menu-color { width: 1.1rem; height: 1.1rem; }
.filter-color-list--menu { flex-direction: column; max-height: 16rem; overflow: auto; flex-wrap: nowrap; }
.filter-color-line.is-current { outline: 1px solid var(--accent); }
.hero { text-align: center; padding: 2rem 0 1.5rem; }
.hero h1 { font-size: clamp(1.5rem, 4vw, 2rem); margin: 0 0 0.5rem; font-weight: 700; }
.vip-card {
  background: linear-gradient(180deg, rgba(23,26,36,.96), rgba(18,21,30,.96));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
  margin: 1rem 0 0.65rem;
  box-shadow: 0 14px 34px rgba(3,8,18,.28);
}
.vip-hero-head {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 1.55rem 1rem 1.45rem;
  text-align: center;
  background-image:
    linear-gradient(130deg, rgba(29,44,84,.72), rgba(92,58,168,.62) 45%, rgba(206,124,40,.48)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='360' viewBox='0 0 1200 360'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%231d3564'/%3E%3Cstop offset='1' stop-color='%238a4f1d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1200' height='360' fill='url(%23g)'/%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.22'%3E%3Cpath d='M0 300 C180 240 260 340 430 280 C560 230 700 310 840 260 C980 210 1080 260 1200 220'/%3E%3Cpath d='M0 260 C160 200 280 300 430 240 C590 180 700 250 850 210 C1020 165 1100 200 1200 160'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover, cover;
  border: 1px solid rgba(255,255,255,.14);
}
.vip-hero-head h1,
.vip-hero-head .section-desc {
  text-align: center;
}
.vip-hero-head h1 {
  margin: 0 0 .36rem;
  color: #fff;
  text-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.vip-hero-head .section-desc {
  margin: 0;
  color: #f0f4ff;
  font-size: .95rem;
}
.vip-table-wrap { overflow: auto; border-radius: 10px; }
.vip-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.vip-table th, .vip-table td { border-bottom: 1px solid rgba(255,255,255,.08); padding: 0.62rem 0.58rem; text-align: left; font-size: 0.9rem; }
.vip-table th { color: #dde5f7; background: rgba(255,255,255,.025); }
.vip-rules { margin: .95rem 0 0; color: var(--muted); padding-left: 1.15rem; line-height: 1.75; }
.vip-pay-box { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem; }
.vip-pay-box label { display: flex; flex-direction: column; gap: .3rem; font-size: 14px; color: var(--muted); }
.vip-pay-box select { min-width: 180px; background: #0f1117; color: #fff; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; padding: .4rem .45rem; }
.vip-pay-tip { color: var(--muted); width: 100%; }
.vip-plan-grid {
  margin-top: 1.1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.vip-plan-card {
  position: relative;
  border: 1px solid rgba(138,173,255,.28);
  background: linear-gradient(180deg, rgba(42,48,72,.9), rgba(25,30,47,.96));
  border-radius: 13px;
  padding: 1.05rem .98rem 1rem;
  text-align: center;
  box-shadow: 0 12px 26px rgba(9,14,28,.27);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.vip-plan-card:hover {
  border-color: rgba(255,208,112,.92);
  box-shadow: 0 0 0 1px rgba(255,208,112,.38) inset, 0 16px 34px rgba(28,35,60,.42);
  transform: translateY(-1px);
}
.vip-plan-tag {
  position: absolute;
  top: -10px;
  right: 12px;
  background: linear-gradient(180deg, #ffd56b, #ffb037);
  color: #3d2a00;
  font-size: 14px;
  font-weight: 700;
  padding: .2rem .52rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,.28);
}
.vip-plan-card.is-current {
  border-color: rgba(255,208,112,.92);
  box-shadow: 0 0 0 1px rgba(255,208,112,.44) inset, 0 18px 38px rgba(28,35,60,.45);
}
.vip-plan-head h3 { margin: 0; font-size: 1.1rem; }
.vip-plan-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
}
.vip-plan-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.2));
}
.vip-plan-price { margin: 0.28rem 0 0; color: #fff; font-size: 1.62rem; font-weight: 700; line-height: 1.15; }
.vip-plan-duration { margin: 0.22rem 0 0; color: #b9c5ea; font-size: 14px; }
.vip-plan-benefits { margin: 0.84rem 0 0; padding-left: 0; color: #dce5ff; font-size: 14px; list-style: none; }
.vip-plan-benefits li { margin: .36rem 0; }
.vip-plan-actions { margin-top: .88rem; display: grid; gap: .48rem; }
.vip-pay-btn { width: 100%; background: linear-gradient(180deg, #5f90ff, #4469ca); border-color: rgba(140,174,255,.85); }
.vip-pay-btn:hover { background: linear-gradient(180deg, #78a5ff, #4e77dc); text-decoration: none; }
.vip-pay-btn--wechat { background: linear-gradient(180deg, #2ab663, #188944); border-color: rgba(87,218,136,.72); }
.vip-pay-btn--wechat:hover { background: linear-gradient(180deg, #31c06c, #1e9950); }
.vip-plan-note { margin: .82rem 0 0; color: var(--muted); font-size: 14px; }
.vip-wechat-wrap { margin-top: .55rem; padding: .75rem .8rem; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.vip-wechat-text { margin: 0; word-break: break-all; color: #cfe0ff; }
.vip-wechat-qr {
  margin: .55rem 0 .45rem;
  width: 220px;
  height: 220px;
  max-width: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
}
.vip-wechat-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.vip-notice-modal[hidden] { display: none !important; }
.vip-notice-modal { position: fixed; inset: 0; z-index: 900; }
.vip-notice-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.vip-notice-box {
  position: relative;
  z-index: 1;
  width: min(92vw, 420px);
  margin: 20vh auto 0;
  padding: .95rem 1rem .9rem;
  border-radius: 10px;
  background: #141b2a;
  border: 1px solid rgba(255,255,255,.15);
  color: #e9efff;
}
.vip-notice-close {
  position: absolute;
  top: .25rem;
  right: .4rem;
  border: 0;
  background: transparent;
  color: #d0d8ec;
  font-size: 1.25rem;
  cursor: pointer;
}
.vip-notice-box p { margin: 0; line-height: 1.6; padding-right: 1.1rem; }
.vip-notice-modal.is-error .vip-notice-box { border-color: rgba(239,98,98,.68); }
.vip-notice-modal.is-success .vip-notice-box { border-color: rgba(64,208,130,.65); }
.vip-notice-modal.is-info .vip-notice-box { border-color: rgba(107,158,255,.65); }
.vip-wechat-pay-modal[hidden] { display: none !important; }
.vip-wechat-pay-modal { position: fixed; inset: 0; z-index: 920; }
.vip-wechat-pay-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.vip-wechat-pay-box {
  position: relative;
  z-index: 1;
  width: min(92vw, 420px);
  margin: 10vh auto 0;
  border-radius: 12px;
  background: #141b2a;
  border: 1px solid rgba(255,255,255,.16);
  padding: .95rem 1rem 1rem;
  text-align: center;
}
.vip-wechat-pay-close {
  position: absolute;
  top: .25rem;
  right: .42rem;
  border: 0;
  background: transparent;
  color: #d0d8ec;
  font-size: 1.25rem;
  cursor: pointer;
}
.vip-wechat-pay-box h3 { margin: 0 0 .25rem; }
.vip-wechat-pay-tip { margin: 0 0 .55rem; color: #c5d2ef; font-size: .9rem; }
.vip-wechat-pay-qr {
  width: 260px;
  height: 260px;
  margin: 0 auto .55rem;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
}
.vip-wechat-pay-qr img { display: block; width: 100%; height: 100%; object-fit: contain; }
.vip-wechat-pay-code { margin: 0; font-size: 14px; color: #9db1da; word-break: break-all; }
@media (max-width: 920px) {
  .vip-card { padding: .95rem .92rem; }
  .vip-plan-grid { grid-template-columns: 1fr; gap: .85rem; }
  .vip-table { min-width: 620px; }
  .vip-wechat-pay-qr { width: 220px; height: 220px; }
}
.profile-form {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.profile-form label {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  color: var(--muted);
}
.profile-form input[type="text"],
.profile-form input[type="password"] {
  max-width: 420px;
  background: #11141d;
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: .5rem .58rem;
}
.app-toast-layer {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  pointer-events: none;
}
.app-toast {
  min-width: 220px;
  max-width: min(86vw, 560px);
  padding: .58rem .82rem;
  border-radius: 9px;
  background: rgba(24, 27, 36, .97);
  border: 1px solid rgba(255,255,255,.15);
  color: #eef1f7;
  font-size: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.36);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease;
}
.app-toast.is-show {
  opacity: 1;
  transform: translateY(0);
}
.app-toast--success { border-color: rgba(74, 177, 112, .55); }
.app-toast--error { border-color: rgba(225, 97, 97, .62); }
.profile-avatar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: .5rem;
  max-width: 680px;
}
.profile-avatar-current {
  display: flex;
  gap: .75rem;
  align-items: center;
}
.profile-avatar-preview {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
  object-fit: cover;
  background: #11141d;
}
.profile-avatar-modal[hidden] { display: none; }
.profile-avatar-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
}
.profile-avatar-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}
.profile-avatar-modal-panel {
  position: relative;
  margin: 6vh auto 0;
  width: min(860px, calc(100vw - 1.2rem));
  max-height: 86vh;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(23,26,36,.98), rgba(14,16,24,.98));
  padding: .9rem;
}
.profile-avatar-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .6rem;
}
.profile-avatar-modal-head h3 {
  margin: 0;
  font-size: 1rem;
}
.profile-avatar-modal-close {
  border: 0;
  background: transparent;
  color: #cdd3e2;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.profile-avatar-grid--modal { max-width: none; }
.profile-avatar-pick {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 0;
  background: #11141d;
  cursor: pointer;
}
.profile-avatar-pick img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
.profile-avatar-pick.is-active {
  outline: 2px solid #6b9eff;
  outline-offset: 1px;
}
.profile-avatar-item {
  position: relative;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  overflow: hidden;
  background: #11141d;
  cursor: pointer;
}
.profile-avatar-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.profile-avatar-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.profile-avatar-item input:checked + img {
  outline: 2px solid #6b9eff;
}
.hero-sub { color: var(--muted); margin: 0 0 1.5rem; }
.search-form { display: flex; gap: 0.5rem; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.input-search {
  flex: 1; min-width: 200px; padding: 0.65rem 1rem; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.1); background: var(--surface); color: #fff;
}
.btn {
  display: inline-block; padding: 0.65rem 1.1rem; border-radius: var(--radius);
  background: var(--accent-2); color: #fff; border: 0; cursor: pointer; font-size: 0.95rem;
}
.btn:hover { filter: brightness(1.1); }
.btn-primary { background: linear-gradient(135deg, #4a6fa5, #2d4a6f); }
.grid-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.grid-masonry.small { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.05);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.card-img-wrap { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: #000; }
.card-img { width: 100%; height: 100%; object-fit: cover; }
.badge-featured { position: absolute; top: 0.5rem; left: 0.5rem; background: linear-gradient(135deg, #c9a227, #8b6914); color: #fff; font-size: 14px; padding: 0.22rem 0.48rem; border-radius: 4px; font-weight: 600; }
.badge-4k { position: absolute; top: 0.5rem; right: 0.5rem; background: rgba(0,0,0,.65); color: #7fdfff; font-size: 14px; padding: 0.22rem 0.52rem; border-radius: 4px; }
.wall-featured-badge { display: inline-block; margin-left: 0.35rem; font-size: 14px; font-weight: 600; padding: 0.18rem 0.48rem; border-radius: 4px; background: linear-gradient(135deg, #c9a227, #8b6914); color: #fff; vertical-align: middle; }
.wall-desc-tags {
  margin: 0.85rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
  align-items: center;
}
.wall-desc-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  padding: 0.32rem 0.65rem;
  border-radius: 4px;
  text-decoration: none;
  line-height: 1.25;
  border: 0;
  transition: filter 0.15s ease, transform 0.12s ease;
}
.wall-desc-tag:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.admin-edit-form label.admin-featured-check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}
.admin-edit-form label.admin-featured-check input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  max-width: none;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  align-self: center;
}
.admin-edit-form label.admin-featured-check > span {
  flex: 0 1 auto;
  line-height: 1.35;
}
.admin-del-btn {
  position: absolute; bottom: .5rem; right: .5rem; top: auto; left: auto; z-index: 2; border: 0; cursor: pointer;
  background: rgba(195, 48, 48, .92); color: #fff; font-size: .72rem; border-radius: 4px; padding: .22rem .48rem;
}
.admin-featured-btn {
  position: absolute; bottom: .5rem; left: .5rem; z-index: 2; border: 0; cursor: pointer;
  background: rgba(32, 118, 72, .93); color: #fff; font-size: .72rem; border-radius: 4px; padding: .22rem .48rem;
}
.admin-featured-btn.is-on {
  background: rgba(201, 162, 39, .96); color: #1a1a1a;
}
.wall-admin-actions { display: flex; gap: .5rem; margin: .55rem 0 .85rem; flex-wrap: wrap; }
.btn-admin-del { background: #b33030; }
.btn-admin-edit { background: #2e5785; }
.btn-admin-featured { background: #4a6d3a; color: #fff; border: 1px solid rgba(160, 210, 140, .45); }
.btn-admin-featured.is-on { background: #c9a227; color: #1a1a1a; border-color: rgba(255, 230, 160, .65); }
.btn-admin-save { background: #2c6a3d; }
.wall-admin-preview-hint {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  background: rgba(201, 162, 39, 0.18);
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: #e8e0c8;
  font-size: 0.9rem;
  line-height: 1.4;
}
.admin-edit-modal[hidden] { display: none !important; }
.admin-edit-modal { position: fixed; inset: 0; z-index: 99999; }
.admin-edit-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.admin-edit-box {
  position: relative; z-index: 1; max-width: 640px; max-height: 88vh; overflow-y: auto; margin: 6vh auto; background: #141722;
  border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 1rem;
}
.admin-edit-close { position: absolute; top: 8px; right: 10px; border: 0; background: transparent; color: #fff; font-size: 24px; cursor: pointer; }
.admin-edit-form { display: grid; gap: .65rem; }
.admin-edit-form label { display: grid; gap: .35rem; font-size: .9rem; color: #cfd3de; }
.admin-edit-form input, .admin-edit-form select, .admin-edit-form textarea {
  width: 100%; border: 1px solid rgba(255,255,255,.14); background: #0f121a; color: #fff; border-radius: 6px; padding: .55rem .65rem;
}
.admin-cat-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem .65rem; }
.admin-cat-item { display: flex !important; align-items: center; gap: .4rem; font-size: .88rem; color: #d8dce8; }
.admin-cat-item input[type="checkbox"] { width: 16px; height: 16px; }
.admin-tag-label { display: grid; gap: 0.35rem; }
.admin-tag-field { display: grid; gap: 0.45rem; }
.admin-tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  align-items: center;
  min-height: 0;
}
.admin-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  max-width: 100%;
  padding: 0.2rem 0.3rem 0.2rem 0.45rem;
  border-radius: 6px;
  border: 1px solid rgba(107, 158, 255, 0.42);
  background: rgba(42, 72, 118, 0.38);
  color: #e8eef9;
  font-size: 0.86rem;
  line-height: 1.35;
}
.admin-tag-chip-t {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 12rem;
}
.admin-tag-chip-x {
  flex: 0 0 auto;
  margin: 0;
  padding: 0 0.25rem;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #b8c0d8;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.admin-tag-chip-x:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.admin-tag-input-wrap {
  position: relative;
}
.admin-tag-input-wrap .admin-tag-input {
  width: 100%;
}
.admin-tag-dd {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: #0f121a;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.25rem, 1fr));
  gap: 0.3rem 0.35rem;
  padding: 0.45rem;
  align-content: start;
}
.admin-tag-dd-item {
  display: block;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.03);
  color: #e8eef9;
  padding: 0.32rem 0.35rem;
  font-size: 0.82rem;
  line-height: 1.3;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-tag-dd-item:hover,
.admin-tag-dd-item.is-active {
  background: rgba(74, 120, 200, 0.42);
  border-color: rgba(120, 160, 230, 0.45);
}
.admin-tag-hint {
  margin: 0;
  font-size: 0.78rem;
  color: #8b92a8;
  line-height: 1.45;
}
.admin-tag-sync {
  display: none;
}
.card-body { padding: 0.85rem 1rem 1.1rem; }
.card-title { font-size: 1rem; margin: 0 0 0.35rem; font-weight: 600; }
.card-title a { color: #fff; }
.card-title-center { text-align: center; margin-bottom: 0; }
.card-desc { margin: 0; font-size: 14px; color: var(--muted); }
.pagination { display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: center; margin-top: 1.35rem; }
.pagination a, .page-cur { padding: 0.4rem 0.7rem; border-radius: 6px; }
.pagination a { background: var(--surface); }
.page-cur { background: var(--accent-2); color: #fff; }
.page-ellipsis { padding: 0.4rem 0.45rem; color: var(--muted); }
.breadcrumb { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--accent); }
.section-head h1 { margin: 0 0 0.5rem; font-size: 1.4rem; }
.section-desc, .empty { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* 筛选：分辨率网格 + 主色 */
.filter-panel {
  margin-bottom: 2rem;
  padding: 1.25rem 1.1rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(24, 26, 34, 0.95) 0%, rgba(14, 15, 20, 0.92) 100%);
  border: 1px solid rgba(107, 158, 255, 0.1);
  box-shadow: var(--shadow);
}
.filter-screen-hint { margin: 0 0 1rem; font-size: 14px; color: #9aa0b0; }
.filter-block { margin-bottom: 1.5rem; }
.filter-block:last-child { margin-bottom: 0; }
.filter-heading { font-size: 1.05rem; font-weight: 600; margin: 0 0 0.45rem; color: var(--text); }
.filter-note { margin: 0 0 0.85rem; font-size: 14px; color: var(--muted); line-height: 1.5; }
.filter-res-cols {
  display: grid;
  gap: 1rem 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .filter-res-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .filter-res-cols { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.filter-res-cat { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #8b92a3; margin: 0 0 0.45rem; }
.filter-res-btns { display: flex; flex-direction: column; gap: 0.45rem; align-items: stretch; }
.filter-res-btn {
  display: block;
  text-align: center;
  padding: 0.45rem 0.5rem;
  font-size: 14px;
  color: #e8e9ef;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(45, 48, 58, 0.95) 0%, rgba(22, 24, 32, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.filter-res-btn:hover { background: rgba(61, 90, 140, 0.35); border-color: rgba(107, 158, 255, 0.25); text-decoration: none; }
.filter-res-btn.is-current { outline: 2px solid var(--accent); outline-offset: 1px; }
.filter-color-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center;
}
.filter-color-swatch {
  display: block; width: 2rem; height: 2rem; border-radius: 8px;
  background: var(--swatch, #444);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  text-decoration: none;
}
.filter-color-swatch:hover { transform: scale(1.06); border-color: rgba(255, 255, 255, 0.45); text-decoration: none; }
.filter-color-swatch.is-current { outline: 2px solid var(--accent); outline-offset: 2px; }
.wall-colors { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.wall-colors-title { font-size: 0.95rem; font-weight: 600; margin: 0 0 0.5rem; }
.wall-colors-row { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.wall-color-link {
  display: inline-block; width: 1.75rem; height: 1.75rem; border-radius: 6px;
  background: var(--w, #444);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
}
.wall-color-link:hover { transform: scale(1.08); text-decoration: none; }
/* 404 页面：全屏感居中、玻璃卡片、SVG 小精灵 + 数字弹跳 */
.err-page { min-height: min(70vh, calc(100vh - 7rem)); display: flex; align-items: center; justify-content: center; padding: 1.5rem 1rem 3.5rem; }
.err-wrap { width: 100%; max-width: 26rem; margin: 0 auto; display: flex; justify-content: center; }
.err-box {
  width: 100%;
  text-align: center;
  padding: 2rem 1.75rem 2.15rem;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(30, 33, 44, 0.92) 0%, rgba(12, 13, 18, 0.88) 100%);
  border: 1px solid rgba(107, 158, 255, 0.12);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}
.err-box::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(107, 158, 255, 0.12), transparent 55%);
  pointer-events: none;
}
.err-illu { margin: 0 auto 0.25rem; position: relative; z-index: 1; }
.err-mascot { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.err-mascot-float { animation: err-mascot-float 3.2s ease-in-out infinite; transform-origin: 50% 80%; }
.err-eyes { animation: err-blink 4.2s steps(1) infinite; }
.err-star { animation: err-star-tw 2.4s ease-in-out infinite; transform-origin: center; }
.err-star + .err-star { animation-delay: 0.5s; }
.err-code {
  position: relative;
  z-index: 1;
  font-size: clamp(2.75rem, 9vw, 3.6rem);
  font-weight: 800;
  margin: 0.15rem 0 0.2rem;
  line-height: 1;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #9ec0ff 0%, #5a7eb8 45%, #4a6fa5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 10px rgba(107, 158, 255, 0.35));
}
.err-digit { display: inline-block; animation: err-digit-bounce 1.1s ease-in-out calc(var(--d, 0s) + 0.3s) infinite; }
.err-title { font-size: 1.2rem; margin: 0.55rem 0 0.85rem; color: #eef0f5; position: relative; z-index: 1; font-weight: 600; }
.err-desc { color: #9a9eac; line-height: 1.75; font-size: 0.9rem; margin: 0 0 1.5rem; position: relative; z-index: 1; }
.err-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; position: relative; z-index: 1; }
a.btn-err, .btn-err { display: inline-block; padding: 0.62rem 1.3rem; border-radius: 10px; background: linear-gradient(180deg, #4a6fa5, #2d4a6f); color: #fff; text-decoration: none; font-size: 0.92rem; border: 0; cursor: pointer; font-family: inherit; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); }
a.btn-err:hover { filter: brightness(1.1); }
.btn-err-ghost { display: inline-block; padding: 0.62rem 1.3rem; border-radius: 10px; border: 1px solid rgba(107, 158, 255, 0.3); color: #c5cce0; text-decoration: none; font-size: 0.92rem; }
.btn-err-ghost:hover { background: rgba(107, 158, 255, 0.1); color: #e8e9ef; }
.err-hint { margin: 1.35rem 0 0; font-size: 14px; color: #6a6f7a; position: relative; z-index: 1; }
@keyframes err-mascot-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-1.5deg); } }
@keyframes err-blink { 0%, 45%, 50%, 100% { opacity: 1; } 48% { opacity: 0.15; } }
@keyframes err-star-tw { 0%, 100% { transform: scale(1) rotate(0); opacity: 0.6; } 50% { transform: scale(1.15) rotate(12deg); opacity: 1; } }
@keyframes err-digit-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) {
  .err-mascot-float, .err-eyes, .err-star, .err-digit { animation: none; }
  .err-mascot-float { transform: none; }
}
.wall-detail { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) {
  /* 侧栏为原 1fr 的约 3/4（短四分之一），多出的比例给主列，便于左侧加框展示 */
  .wall-detail { grid-template-columns: minmax(0, 1.95fr) minmax(220px, 0.75fr); gap: 1.75rem; }
  .wall-left-framed {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 1rem 1.1rem 1.15rem;
    background: rgba(0, 0, 0, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }
  .wall-left-framed .wall-preview {
    border-radius: calc(var(--radius) - 4px);
  }
}
.wall-left { min-width: 0; }
.wall-preview { border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid rgba(255,255,255,.08); }
.wall-img { width: 100%; height: auto; display: block; vertical-align: middle; }
.wall-desc-block { margin-top: 1.25rem; }
.wall-desc-title { font-size: 1.05rem; font-weight: 600; margin: 0 0 0.65rem; color: var(--text); }
.wall-desc-content { margin: 0; color: #c2c4d0; line-height: 1.7; font-size: 0.95rem; }
.wall-adj { margin-top: 1.1rem; padding-top: 0.85rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.wall-adj-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 0.75rem 1.25rem;
}
.wall-adj-item { flex: 1 1 10rem; min-width: 0; max-width: 100%; display: flex; flex-direction: column; gap: 0.3rem; }
.wall-adj-item--next { text-align: right; align-items: flex-end; }
.wall-adj-lab { font-size: 14px; font-weight: 600; color: #6e7585; text-transform: uppercase; letter-spacing: 0.04em; }
.wall-adj-link { color: var(--accent); font-size: 0.92rem; line-height: 1.4; text-decoration: none; word-break: break-word; }
.wall-adj-link:hover { text-decoration: underline; color: #8eb8ff; }
.wall-adj-none { font-size: 0.9rem; color: #5a5f6c; user-select: none; }
.wall-related { margin-top: 1.2rem; }
.wall-related-title { font-size: 1.05rem; font-weight: 600; margin: 0 0 0.75rem; color: var(--text); }
.wall-related-grid { gap: 0.7rem; }
.wall-sidebar { min-width: 0; }
.wall-title { font-size: 1.35rem; line-height: 1.35; margin: 0 0 0.65rem; font-weight: 700; }
.wall-res-line { margin: 0 0 1rem; font-size: 14px; color: var(--muted); }
.wall-res-line span { color: #6b6f7a; margin-right: 0.35rem; }
.wall-res { color: var(--muted); font-size: 0.9rem; }
.wall-info-grid { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; background: rgba(0,0,0,.2); }
.wall-info-pair { display: grid; grid-template-columns: 6.5em 1fr; gap: 0.5rem 1rem; margin: 0; padding: 0.6rem 0.85rem; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 0.9rem; align-items: start; }
.wall-info-pair:last-of-type { border-bottom: 0; }
.wall-info-grid dt { margin: 0; color: var(--muted); font-weight: 500; }
.wall-info-grid dd { margin: 0; color: #e4e5ec; font-weight: 500; }
.download-box { margin-top: 1.5rem; padding: 1.1rem 1.15rem; background: rgba(0,0,0,.3); border-radius: var(--radius); border: 1px solid rgba(255,255,255,.1); }
.download-heading { font-size: 1rem; font-weight: 600; margin: 0 0 0.85rem; }
.download-hint { margin: 0 0 0.9rem; font-size: 14px; color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
/* 详情侧栏：按与顶栏一致的分组展示分辨率 */
.wall-dl-group { margin-top: 0.85rem; }
.wall-dl-group:first-of-type { margin-top: 0.35rem; }
.wall-dl-cat {
  font-size: 14px; font-weight: 600; color: #8b95a8; text-transform: uppercase; letter-spacing: 0.04em;
  margin: 0 0 0.4rem; line-height: 1.2;
}
.btn-row--dl { margin-bottom: 0; }
/* 侧栏每行 3 个分辨率按钮，缩小内边距与字重以免换行 */
.download-box .btn-row--dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.3rem 0.32rem;
  align-items: stretch;
}
.download-box a.btn-dl,
.download-box button.btn-dl {
  padding: 0.36rem 0.28rem;
  font-size: 14px;
  line-height: 1.2;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}
.wall-dl-orig { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.wall-dl-orig .btn-dl { min-width: 0; width: 100%; max-width: 12rem; }
.btn-dl { background: #2a3f5f; font-family: inherit; }
.btn-dl-cta { background: linear-gradient(180deg, #2d6a4a 0%, #1b4332 100%); font-weight: 600; }
.btn-dl-cta:hover, a.btn-dl-cta:hover { filter: brightness(1.1); }
button.btn-dl { border: 0; cursor: pointer; }
button.btn-dl:hover, a.btn-dl:hover { filter: brightness(1.08); text-decoration: none; }
.download-note { margin: 0.75rem 0 0; font-size: 14px; color: var(--muted); }
.related { margin-top: 2.5rem; }
.related h2 { font-size: 1.1rem; margin: 0 0 1rem; }
.card.small { display: block; }
.card.small img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card.small span { display: block; padding: 0.5rem; font-size: 14px; color: var(--muted); }
.footer {
  padding: 1.15rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.footer-brand {
  margin: 0 0 0.45rem;
  color: #e8e9ef;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.footer-intro {
  margin: 0 auto 0.65rem;
  max-width: 52rem;
  line-height: 1.7;
  font-size: 14px;
  color: #a9aeb8;
  text-align: left;
}
.home-friendly-links {
  margin: 1rem auto 0;
  padding: 0;
  max-width: 1380px;
  width: 100%;
  box-sizing: border-box;
}
.home-friendly-links .footer-links {
  width: 100%;
  max-width: none;
  margin: 0;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  padding: 0.65rem 1rem;
  box-sizing: border-box;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  align-items: center;
  justify-content: center;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0.65rem 0.85rem;
  line-height: 1.55;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}
.footer-links--home {
  margin-bottom: 0;
}
.footer-links-title {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: #b0b6c4;
  margin-right: 0.35rem;
}
.home-friendly-links .footer-links-title {
  margin-right: 0.65rem;
}
.footer-links a {
  font-size: 14px;
  color: #aab1bf;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.15rem 0;
}
.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.footer-links a:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 0.72em;
  margin-left: 0.65rem;
  background: rgba(255, 255, 255, 0.12);
  vertical-align: -0.1em;
}
.footer-inner {
  max-width: 52rem;
  margin: 0 auto;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 0 0 0.5rem;
}
.footer-legal a {
  color: var(--accent);
  font-size: 14px;
  text-decoration: none;
  padding: 0.15rem 0;
}
.footer-legal a + a::before {
  content: '·';
  margin: 0 0.7rem;
  color: rgba(255, 255, 255, 0.28);
  font-weight: 700;
  pointer-events: none;
}
.footer-legal a:hover { text-decoration: underline; }
.footer-copy { margin: 0.55rem 0 0; font-size: 14px; color: #90959f; line-height: 1.55; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 0.75rem; max-width: 900px; margin-left: auto; margin-right: auto; }
.footer-nav a { color: var(--muted); font-size: 14px; }
.sitemap-page { max-width: 56rem; margin: 0 auto; }
.sitemap-h1 { font-size: 1.5rem; margin: 0 0 0.75rem; }
.sitemap-lead { color: var(--muted); font-size: 0.9rem; margin: 0 0 1.5rem; line-height: 1.6; }
.sitemap-section { margin-bottom: 1.75rem; }
.sitemap-h2 { font-size: 1.1rem; margin: 0 0 0.65rem; color: #e8e9ef; }
.sitemap-list { margin: 0; padding: 0; list-style: none; }
.sitemap-list-inline { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.sitemap-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0.4rem 1rem; }
.sitemap-titles a { color: var(--accent); font-size: 14px; }
.sitemap-titles a:hover { text-decoration: underline; }
.static-page { max-width: 48rem; margin: 0 auto; }
.static-page h1 { font-size: 1.45rem; margin: 0 0 1rem; }
.static-page h2 { font-size: 1.05rem; margin: 1.4rem 0 0.5rem; color: #e4e5ec; }
.static-page p { line-height: 1.8; color: #c2c4d0; margin: 0 0 0.9rem; font-size: 0.95rem; }
.static-muted { color: var(--muted); font-size: 14px; }
.static-back { margin-top: 1.75rem; font-size: 0.9rem; }
.static-back a { color: var(--accent); }
@media (min-width: 700px) {
  .footer-intro { text-align: center; }
}
.qrcode-wrap { margin-top: 1rem; text-align: center; }
.qrcode-tip { color: var(--muted); font-size: 0.9rem; }
.qrcode-slot img { border-radius: 8px; background: #fff; padding: 4px; }
