/* 壁纸派 — 主样式 移动优先 */
:root {
  --bg: #0c0d12;
  --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;
}
* { 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;
  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 3rem; max-width: 1280px; 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: rgba(12,13,18,.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.logo {
  font-weight: 800; font-size: 1.25rem; 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: 0.9rem;
  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: 0.88rem; 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-admin { font-style: normal; color: #ffcc73; border: 1px solid rgba(255,204,115,.55); border-radius: 999px; padding: 0.1rem 0.45rem; font-size: .75rem; }
.header-logout-form { margin: 0; }
.btn-header-logout {
  padding: 0.38rem 0.88rem;
  font-size: 0.82rem;
  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: 0.86rem;
}
.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: 360px;
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 1.25rem; text-align: center; box-shadow: var(--shadow);
}
.wechat-modal-close {
  position: absolute; top: 0.4rem; right: 0.5rem; width: 2rem; height: 2rem;
  line-height: 2rem; 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; }
.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.4rem; align-items: center; }
.nav a { padding: 0.35rem 0.5rem; border-radius: 6px; color: var(--muted); font-size: 0.9rem; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); text-decoration: none; }
.nav-item--drop { position: relative; }
.nav-sub-toggle {
  padding: 0.35rem 0.55rem; border-radius: 6px; border: 0;
  background: transparent; color: var(--muted); font-size: 0.9rem; 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: 100%; left: 0; margin-top: 0.2rem;
  min-width: 15rem; max-width: min(100vw - 2rem, 56rem);
  max-height: min(80vh, 32rem); overflow: auto;
  padding: 0.75rem; border-radius: 10px;
  background: #15171f; border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
/* 分辨率：五列需足够宽度，避免标题重叠、按钮文字被截断 */
.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-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: 0.62rem; 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.38rem 0.25rem; font-size: 0.72rem; 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.28rem 0.35rem; font-size: 0.75rem; 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-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: 0.86rem; 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; }
.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-4k { position: absolute; top: 0.5rem; right: 0.5rem; background: rgba(0,0,0,.65); color: #7fdfff; font-size: 0.7rem; padding: 0.2rem 0.5rem; border-radius: 4px; }
.admin-del-btn {
  position: absolute; top: .5rem; left: .5rem; z-index: 2; border: 0; cursor: pointer;
  background: rgba(195, 48, 48, .92); color: #fff; font-size: .72rem; border-radius: 4px; padding: .22rem .48rem;
}
.wall-admin-actions { display: flex; gap: .5rem; margin: .55rem 0 .85rem; }
.btn-admin-del { background: #b33030; }
.btn-admin-edit { background: #2e5785; }
.btn-admin-save { background: #2c6a3d; }
.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; 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; }
.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: 0.85rem; color: var(--muted); }
.pagination { display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: center; margin-top: 2rem; }
.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: 0.88rem; 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: 0.82rem; 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: 0.78rem; 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: 0.82rem;
  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: 0.8rem; 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: 0.75rem; 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: 0.88rem; 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: 0.88rem; 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: 0.72rem; 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.32rem 0.28rem;
  font-size: 0.72rem;
  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: 0.82rem; 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: 0.8rem; color: var(--muted); }
.footer { padding: 2rem 1rem; border-top: 1px solid rgba(255,255,255,.06); text-align: center; color: var(--muted); font-size: 0.85rem; }
.footer-brand { margin: 0 0 0.75rem; color: #e8e9ef; font-size: 0.95rem; font-weight: 600; }
.footer-intro { margin: 0 auto 1.1rem; max-width: 52rem; line-height: 1.75; font-size: 0.82rem; color: #9a9da8; text-align: left; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: center; margin: 0 0 0.9rem; }
.footer-legal a { color: var(--accent); font-size: 0.86rem; text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }
.footer-copy { margin: 1.25rem 0 0; font-size: 0.75rem; color: #6a6e7a; line-height: 1.5; }
.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: 0.8rem; }
.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: 0.86rem; }
.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: 0.88rem; }
.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; }
