/* =========================================================
   鏋佺畝 路 浣涘北CIS 鏍″洯绀惧尯
   璁捐浠ょ墝娌跨敤鍙傝€冪珯锛堝喎鐏拌摑搴?+ 钃濊壊寮鸿皟锛夛紝灞曠ず灞傞噸鍐?   ========================================================= */

:root {
  color-scheme: light;
  --surface: 249 250 252;
  --surface-2: 244 246 250;
  --surface-3: 235 240 247;
  --card: 255 255 255;
  --line: 229 234 241;
  --line-strong: 213 221 233;
  --ink: 21 28 42;
  --muted: 101 112 134;
  --faint: 112 123 144;
  --brand: 37 99 235;
  --brand-hover: 29 78 216;
  --brand-ink: 29 78 216;
  --brand-soft: 238 244 255;
  --brand-solid: 37 99 235;

  --bg: rgb(var(--surface));
  --bg2: rgb(var(--surface-2));
  --bg3: rgb(var(--surface-3));
  --card-bg: rgb(var(--card));
  --text: rgb(var(--ink));
  --text-muted: rgb(var(--muted));
  --text-faint: rgb(var(--faint));
  --line-c: rgb(var(--line));
  --line-strong-c: rgb(var(--line-strong));
  --brand-c: rgb(var(--brand));
  --brand-soft-c: rgb(var(--brand-soft));

  --tint-warm: #fdf3ee;
  --tint-warm-line: #f4ddd2;
  --tint-warm-ink: #b8482b;
  --tint-green: #eef6f0;
  --tint-green-line: #dcece1;
  --tint-purple: #f6f2fd;
  --tint-purple-line: #e8defa;
  --tint-blue: #eef4ff;
  --tint-blue-line: #dfe9fb;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-md: 0 8px 24px -8px rgba(16, 24, 40, .14);
  --shadow-lg: 0 24px 60px -16px rgba(16, 24, 40, .26);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  --hdr-h: 64px;
  --maxw: 1280px;
  --rail-l: 196px;
  --rail-r: 268px;
  --gap: 24px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

html.dark {
  color-scheme: dark;
  --surface: 13 18 28;
  --surface-2: 20 28 41;
  --surface-3: 27 39 57;
  --card: 20 28 41;
  --line: 41 52 73;
  --line-strong: 57 70 94;
  --ink: 238 242 248;
  --muted: 170 181 200;
  --faint: 148 162 184;
  --brand: 121 167 255;
  --brand-hover: 148 185 255;
  --brand-ink: 160 195 255;
  --brand-soft: 32 47 73;
  --brand-solid: 59 130 246;

  --tint-warm: 45 32 28;
  --tint-warm-line: 68 45 37;
  --tint-warm-ink: #e8a68d;
  --tint-green: 26 38 33;
  --tint-green-line: 38 54 47;
  --tint-purple: 38 33 50;
  --tint-purple-line: 52 45 68;
  --tint-blue: 27 37 55;
  --tint-blue-line: 38 52 76;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, .5);
  --shadow-lg: 0 24px 60px -16px rgba(0, 0, 0, .7);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-y: scroll;
}

::selection { background: rgba(37, 99, 235, .18); }

a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }

.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 10px; background: var(--brand-c); color: #fff;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* 婊氬姩鏉?*/
* { scrollbar-width: thin; scrollbar-color: rgb(var(--line-strong)) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgb(var(--line-strong)); border-radius: 8px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: rgb(var(--faint)); background-clip: content-box; border: 3px solid transparent; }
::-webkit-scrollbar-track { background: transparent; }

/* ============================ 澶撮儴 ============================ */

.hdr {
  position: sticky; top: 0; z-index: 60;
  height: var(--hdr-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line-c);
}
html.dark .hdr { background: rgba(13, 18, 28, .78); }

.hdr-in {
  max-width: var(--maxw); height: 100%; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 18px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0;
  background: #eef4ff;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .18);
}
.brand-mark img { width: 28px; height: 28px; object-fit: contain; display: block; }
html.dark .brand-mark { background: #1f2c44; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 16px; font-weight: 700; letter-spacing: .1em; }
.brand-text em { font-style: normal; font-size: 10.5px; color: var(--text-faint); margin-top: 3px; letter-spacing: .01em; }

.nav { display: flex; align-self: stretch; gap: 0; margin-left: 6px; }
.nav a {
  position: relative; display: flex; align-items: center; padding: 0 13px;
  font-size: 14px; color: var(--text-muted); text-decoration: none;
  transition: color .16s ease;
}
.nav a { border-radius: 10px 10px 0 0; z-index: 0; }
.nav a::before {
  content: ""; position: absolute; inset: 7px 5px 2px; border-radius: 10px;
  background: rgb(var(--brand)/.075); opacity: 0; transform: scaleX(.62);
  transform-origin: 50% 100%; transition: opacity .2s ease, transform .26s var(--ease-spring);
  z-index: -1;
}
.nav a:hover { color: var(--brand-c); }
.nav a:hover::before { opacity: 0; }
.nav a:focus, .nav a:focus-visible { outline: none; }
.nav a[aria-current="page"] { color: var(--brand-c); font-weight: 600; }
.nav a[aria-current="page"]::before { opacity: 0; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 22px; height: 2.5px;
  border-radius: 3px; background: var(--brand-c);
  animation: navUnderline .36s var(--ease-spring) both;
}
@keyframes navUnderline { from { transform: translateX(-50%) scaleX(.2); opacity: 0; } to { transform: translateX(-50%) scaleX(1); opacity: 1; } }
.nav a.nav-app {
  align-self: center; margin-left: 6px; padding: 6px 15px; border-radius: 999px;
  background: rgb(var(--brand)/.13); color: var(--brand-c); font-weight: 600;
}
.nav a.nav-app:hover { background: rgb(var(--brand)/.22); color: var(--brand-c); }
.nav a.nav-app::after { display: none; }

.hdr-search { position: relative; margin-left: auto; width: 264px; flex-shrink: 1; }
.hdr-search input {
  width: 100%; height: 38px; padding: 0 56px 0 36px;
  border: 1px solid transparent; border-radius: 10px;
  background: var(--bg2); color: var(--text); font-size: 13px;
  outline: none; transition: background .18s, border-color .18s, box-shadow .18s;
}
.hdr-search input::placeholder { color: var(--text-faint); }
.hdr-search input:focus {
  background: var(--card-bg); border-color: var(--line-strong-c);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}
html.dark .hdr-search input:focus { box-shadow: 0 0 0 4px rgba(121, 167, 255, .14); }
.hdr-search input::-webkit-search-cancel-button { display: none; }
.hs-icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); display: flex; color: var(--text-faint); pointer-events: none; }
.hs-icon .ic { width: 16px; height: 16px; }
.hdr-search kbd {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 10px; color: var(--text-faint);
  background: var(--card-bg); border: 1px solid var(--line-c); border-radius: 5px;
  padding: 2px 5px; pointer-events: none;
}

.hdr-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }

.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid transparent;
  background: transparent; color: var(--text-muted);
  display: grid; place-items: center; transition: background .16s, color .16s;
}
.icon-btn:hover { background: var(--bg2); color: var(--text); }
.icon-btn:active { transform: scale(.96); }
.icon-btn .ic { width: 18px; height: 18px; }
.lang-btn {
  height: 36px; min-width: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid transparent;
  background: transparent; color: var(--text-muted); font-size: 13px; font-weight: 600; line-height: 1;
  display: grid; place-items: center; cursor: pointer; transition: background .16s, color .16s;
}
.lang-btn:hover { background: var(--bg2); color: var(--text); }
.lang-btn:active { transform: scale(.96); }
.bell-btn { position: relative; }
.dot {
  position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%;
  background: #ef4444; box-shadow: 0 0 0 2px var(--card-bg);
}

.user-slot { display: flex; align-items: center; gap: 8px; margin-left: 4px; }

/* 澶村儚 */
.avatar {
  --h: 215;
  display: inline-grid; place-items: center; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: hsl(var(--h) 44% 46%);
  color: #fff; font-size: 11px; font-weight: 600; line-height: 1;
  letter-spacing: 0; user-select: none; overflow: hidden;
}
.avatar.lg { width: 40px; height: 40px; font-size: 15px; }
.avatar.xl { width: 76px; height: 76px; font-size: 28px; border-radius: 24px; }
.avatar.sm { width: 20px; height: 20px; font-size: 9px; }
.avatar.anon { background: rgb(var(--surface-3)); color: var(--text-faint); }
.avatar-img { width: 100%; height: 100%; object-fit: cover; }

/* 鎸夐挳 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 14px; border-radius: 10px;
  border: 1px solid transparent; font-size: 13.5px; font-weight: 500;
  text-decoration: none; white-space: nowrap; transition: background .16s, border-color .16s, color .16s, transform .1s, box-shadow .16s;
}
.btn:active { transform: translateY(1px); }
.btn .ic { width: 16px; height: 16px; }
.btn-primary { background: var(--brand-c); color: #fff; box-shadow: 0 1px 2px rgba(37, 99, 235, .28); }
.btn-primary:hover { background: rgb(var(--brand-hover)); }
html.dark .btn-primary { color: #071426; }
.btn-ghost { background: var(--card-bg); border-color: var(--line-c); color: var(--text); }
.btn-ghost:hover { border-color: var(--line-strong-c); background: var(--bg2); }
.btn-soft { background: var(--brand-soft-c); color: var(--brand-ink); }
.btn-soft:hover { background: rgb(var(--brand) / .16); }
.btn-danger { background: #fef2f2; color: #dc2626; border-color: #fee2e2; }
html.dark .btn-danger { background: #3a1d1f; color: #fca5a5; border-color: #4d2225; }
.btn-sm { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.btn-sm .ic { width: 14px; height: 14px; }
.btn-lg { height: 42px; padding: 0 18px; font-size: 14px; border-radius: 11px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-link { background: none; border: 0; padding: 0; color: var(--brand-ink); font-size: 13px; text-decoration: none; }
.btn-link:hover { text-decoration: underline; }

/* ============================ 甯冨眬 ============================ */

.shell {
  max-width: var(--maxw); margin: 0 auto; padding: 22px 32px 64px;
  display: grid; grid-template-columns: var(--rail-l) minmax(0, 1fr) var(--rail-r);
  gap: var(--gap); align-items: start;
}

.view { min-width: 0; }
.view:focus { outline: none; }
.view.enter > * { animation: viewIn .32s cubic-bezier(.22, .8, .3, 1) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.rail-left {
  position: sticky; top: calc(var(--hdr-h) + 22px);
  max-height: calc(100vh - var(--hdr-h) - 40px);
  overflow: auto; scrollbar-width: none; padding-right: 2px;
}
.rail-left::-webkit-scrollbar { display: none; }
.rail-right { position: sticky; top: calc(var(--hdr-h) + 22px); }

.rail-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 6px 12px; font-size: 11px; color: var(--text-faint); letter-spacing: .06em;
}
.rail-head b { font-size: 12px; font-weight: 600; color: var(--text); letter-spacing: .03em; }

/* 宸︽爮锛氭澘鍧楁爲 */
.nav-all, .b-item, .bg-title { text-decoration: none; }
.nav-all {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px;
  font-size: 13.5px; font-weight: 500; color: var(--text); margin-bottom: 6px;
  transition: background .15s;
}
.nav-all:hover { background: var(--bg2); }
.nav-all[aria-current="page"] { background: var(--brand-soft-c); color: var(--brand-ink); }
.nav-all .ic { width: 16px; height: 16px; }
.nav-all .cnt { margin-left: auto; font-size: 11px; color: var(--text-faint); font-variant-numeric: tabular-nums; }

.board-group { margin-bottom: 2px; }
.bg-title {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 10px; border-radius: 9px; border: 0; background: none;
  color: var(--text-muted); font-size: 13px; font-weight: 500; text-align: left;
  transition: background .15s, color .15s;
}
.bg-title:hover { background: var(--bg2); color: var(--text); }
.bg-title .ic { width: 16px; height: 16px; flex-shrink: 0; }
.bg-title .cnt { margin-left: auto; font-size: 11.5px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.bg-title .chev { width: 14px; height: 14px; color: var(--text-faint); transition: transform .2s; }
.bg-title[aria-expanded="false"] .chev { transform: rotate(-90deg); }

.board-list { display: none; padding: 2px 0 8px; }
.board-list.open { display: block; animation: unfold .18s ease; }
@keyframes unfold { from { opacity: 0; transform: translateY(-4px); } }
.b-item {
  position: relative; display: flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 30px; border-radius: 8px; font-size: 13px; color: var(--text-muted);
  transition: background .14s, color .14s;
}
.b-item::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 4px; height: 4px;
  border-radius: 50%; background: var(--line-strong-c); transform: translateY(-50%);
}
.b-item:hover { background: var(--bg2); color: var(--text); }
.b-item[aria-current="page"] { background: var(--brand-soft-c); color: var(--brand-ink); font-weight: 600; }
.b-item[aria-current="page"]::before { background: var(--brand-c); }
.b-item .cnt { margin-left: auto; font-size: 10.5px; color: var(--text-faint); }

/* 宸︽爮锛氭帹骞夸笌鍏ュ彛 */
.promo {
  display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 11px;
  border-radius: 14px; text-decoration: none; color: var(--text);
  background: linear-gradient(135deg, var(--tint-blue), var(--tint-purple));
  border: 1px solid var(--tint-blue-line); transition: transform .2s, box-shadow .2s;
}
.promo:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.promo-art {
  width: 44px; height: 44px; border-radius: 12px; background: var(--card-bg);
  display: grid; place-items: center; font-size: 23px; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(16, 24, 40, .08);
}
.promo-txt { min-width: 0; }
.promo-txt b { display: block; font-size: 12.5px; font-weight: 600; }
.promo-txt span { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pill-link {
  display: flex; align-items: center; gap: 9px; margin-top: 8px; padding: 9px 12px;
  border-radius: 11px; border: 1px solid var(--line-c); background: var(--card-bg);
  color: var(--text-muted); font-size: 12.5px; text-decoration: none;
  transition: border-color .16s, color .16s, background .16s;
}
.pill-link .ic { width: 15px; height: 15px; }
.pill-link:hover { color: var(--text); border-color: var(--line-strong-c); }
.pill-link.music { background: var(--tint-purple); border-color: var(--tint-purple-line); color: #6d4aa8; }
.pill-link.focus { background: var(--tint-green); border-color: var(--tint-green-line); color: #2f7d55; }
html.dark .pill-link.music { color: #c3abef; }
html.dark .pill-link.focus { color: #8fd8b3; }

.rail-links { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-c); }
.rail-link {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px;
  font-size: 12.5px; color: var(--text-muted); text-decoration: none;
}
.rail-link:hover { background: var(--bg2); color: var(--text); }
.rail-link .ic { width: 15px; height: 15px; }
.rail-link .go { margin-left: auto; color: var(--text-faint); font-size: 12px; }

/* ============================ 鍗＄墖 ============================ */

.card {
  background: var(--card-bg); border: 1px solid var(--line-c);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.card-pad { padding: 18px 20px; }
.card-hd {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line-c);
}
.card-hd h2 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.card-hd .sub { font-size: 12px; color: var(--text-faint); font-weight: 400; }

/* 妯箙 */
.hero-stack { display: grid; gap: 12px; margin-bottom: 16px; }
.hero {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; border-radius: var(--r-xl); text-decoration: none; color: var(--text);
  overflow: hidden; transition: transform .22s, box-shadow .22s;
  border: 1px solid transparent;
}
.hero:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.hero-a { background: linear-gradient(112deg, #edf6ef 0%, #e9f4ec 42%, #f6f2e6 100%); border-color: #e2eee5; }
.hero-b { background: linear-gradient(112deg, #eef4ff 0%, #e9f0ff 58%, #f4f7ff 100%); border-color: var(--tint-blue-line); }
html.dark .hero-a { background: linear-gradient(112deg, #1b2a23, #1d2c26 45%, #2a271d); border-color: #26382e; }
html.dark .hero-b { background: linear-gradient(112deg, #1b2537, #1d2940 58%, #1a2233); border-color: #283449; }
.hero-art {
  width: 58px; height: 58px; border-radius: 16px; background: var(--card-bg);
  display: grid; place-items: center; font-size: 30px; flex-shrink: 0;
  box-shadow: 0 8px 20px -6px rgba(16, 24, 40, .18);
}
.hero-txt { min-width: 0; flex: 1; }
.hero-txt h2 { font-size: 21px; font-weight: 650; letter-spacing: -.02em; line-height: 1.3; }
.hero-txt p { margin-top: 4px; font-size: 12.5px; color: var(--text-muted); }
.hero-go {
  display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--text-muted);
  flex-shrink: 0;
}
.hero:hover .hero-go { color: var(--brand-ink); }
.hero-go .ic { width: 14px; height: 14px; }

/* 鍙戝笘寮曞 */
.compose-cta {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 16px;
  border-radius: var(--r-lg); background: var(--card-bg); border: 1px solid var(--line-c);
  text-decoration: none; color: var(--text-muted); font-size: 13.5px; cursor: pointer;
  transition: transform .18s ease, border-color .18s, box-shadow .18s, color .18s;
}
.compose-cta:hover { transform: translateY(-2px); border-color: rgb(var(--brand) / .35); box-shadow: var(--shadow-md); color: var(--text); }
.compose-cta:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.compose-cta .avatar { width: 30px; height: 30px; font-size: 12px; transition: transform .18s ease; }
.compose-cta:hover .avatar { transform: scale(1.08); }
.compose-cta .cta { flex: 1; transition: color .18s; }
.compose-cta .btn { pointer-events: none; transition: background .18s, transform .18s; }
.compose-cta:hover .btn { background: rgb(var(--brand) / .16); }
.compose-cta:hover .btn .ic { transform: translateX(2px); }

/* 淇℃伅娴佸伐鍏锋潯 */
.feed-bar { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line-c); margin-bottom: 2px; }
.feed-tabs { display: flex; gap: 2px; flex: 1; min-width: 0; }
.feed-tab {
  position: relative; padding: 11px 10px; border: 0; background: none;
  font-size: 14px; color: var(--text-muted); transition: color .16s;
}
.feed-tab:hover { color: var(--text); }
.feed-tab[aria-selected="true"] { color: var(--text); font-weight: 600; }
.feed-tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px;
  background: var(--brand-c); border-radius: 2px 2px 0 0;
}
.feed-tools { display: flex; align-items: center; gap: 2px; padding-bottom: 4px; }
.feed-tools .icon-btn { width: 32px; height: 32px; }
.feed-tools .icon-btn.on { background: var(--brand-soft-c); color: var(--brand-ink); }
.feed-tools .icon-btn .ic { width: 16px; height: 16px; }

.feed-hint { display: flex; align-items: center; gap: 8px; padding: 10px 2px; font-size: 11.5px; color: var(--text-faint); }
.feed-hint .ic { width: 13px; height: 13px; }
.feed-hint b { color: var(--text-muted); font-weight: 500; }

/* 甯栧瓙鍒楄〃 */
.post-list { background: var(--card-bg); border: 1px solid var(--line-c); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.post {
  display: flex; gap: 16px; padding: 17px 20px; text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--line-c); transition: background .16s; position: relative;
}
.post:last-child { border-bottom: 0; }
.post:hover { background: var(--bg2); }
.post:focus-visible { outline: 2px solid var(--brand-c); outline-offset: -2px; }
.post.is-pinned { background: linear-gradient(90deg, rgba(37, 99, 235, .045), transparent 60%); }
.post-main { flex: 1; min-width: 0; }
.post-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 4px; height: 21px; padding: 0 7px;
  border-radius: 6px; font-size: 11px; font-weight: 500; white-space: nowrap;
  background: var(--brand-soft-c); color: var(--brand-ink);
}
.chip .ic { width: 12px; height: 12px; }
.chip-warm { background: var(--tint-warm); color: var(--tint-warm-ink); }
.chip-poll { background: var(--tint-warm); color: var(--tint-warm-ink); }
.chip-gray { background: var(--bg3); color: var(--text-muted); }
.chip-green { background: var(--tint-green); color: #2f7d55; }
html.dark .chip-green { color: #8fd8b3; }
.post-time { font-size: 11.5px; color: var(--text-faint); }
.post h3 {
  font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-excerpt {
  margin-top: 5px; font-size: 13px; line-height: 1.6; color: var(--text-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  word-break: break-word;
}
.post-foot { display: flex; align-items: center; gap: 14px; margin-top: 10px; font-size: 11.5px; color: var(--text-faint); }
.post-who { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); max-width: 160px; }
.post-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-stat { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.post-stat .ic { width: 13px; height: 13px; }
.post-stat.liked { color: #e05b4a; }
.post-cover {
  width: 118px; height: 82px; border-radius: 11px; flex-shrink: 0; align-self: center;
  display: grid; place-items: center; font-size: 30px; overflow: hidden; position: relative;
}
.post-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,.22), transparent 55%); }
.g1 { background: linear-gradient(135deg, #dbeafe, #c7ddff); }
.g2 { background: linear-gradient(135deg, #fde8d7, #fbd3ba); }
.g3 { background: linear-gradient(135deg, #d9f2e3, #c2ead1); }
.g4 { background: linear-gradient(135deg, #ede4fb, #dccdf8); }
.g5 { background: linear-gradient(135deg, #fde2e4, #fbcdd2); }
.g6 { background: linear-gradient(135deg, #e3eeee, #cfe3e2); }
.g7 { background: linear-gradient(135deg, #fdf0cf, #f9e3a8); }
.g8 { background: linear-gradient(135deg, #e6e9f5, #d3d9ee); }
html.dark .post-cover { filter: none; background-color: #16202f; background-blend-mode: multiply; }

.post.preview-hide .post-excerpt { display: none; }
.post-list.compact .post { padding: 11px 20px; }
.post-list.compact .post-cover { display: none; }
.post-list.compact .post-excerpt { display: none; }
.post-list.compact .post h3 { font-size: 14.5px; -webkit-line-clamp: 1; }
.post-list.compact .post-meta { margin-bottom: 4px; }
.post-list.compact .post-foot { margin-top: 6px; }

.load-more { display: flex; justify-content: center; padding: 18px 0 4px; }
.load-more .btn { min-width: 180px; }

.feed-empty { padding: 48px 20px; text-align: center; color: var(--text-faint); }
.feed-empty .ic { width: 30px; height: 30px; margin-bottom: 10px; opacity: .6; }
.feed-empty p { font-size: 13px; }

/* 楠ㄦ灦灞?*/
.sk {
  background: linear-gradient(90deg, var(--bg2) 25%, var(--bg3) 37%, var(--bg2) 63%);
  background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: 6px;
}
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.sk-post { padding: 18px 20px; border-bottom: 1px solid var(--line-c); }
.sk-post .line { height: 11px; margin-bottom: 10px; }

/* ============================ 鍙虫爮 ============================ */

.r-card {
  background: var(--card-bg); border: 1px solid var(--line-c); border-radius: var(--r-lg);
  padding: 15px 17px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.r-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; font-weight: 600; margin-bottom: 12px; }
.r-title .sub { font-size: 11px; color: var(--text-faint); font-weight: 400; }
.r-title .ic { width: 14px; height: 14px; }

.pulse { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.pulse > div { padding: 6px 0; border-radius: 9px; }
.pulse > div + div { border-left: 1px solid var(--line-c); border-radius: 0; }
.pulse b { display: block; font-size: 19px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pulse span { display: block; font-size: 10.5px; color: var(--text-faint); margin-top: 2px; }

.online-list { display: flex; flex-wrap: wrap; gap: 6px; }
.online-user {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 4px;
  border-radius: 20px; background: var(--bg2); text-decoration: none; color: var(--text-muted);
  font-size: 11.5px; max-width: 100%;
}
.online-user:hover { background: var(--bg3); color: var(--text); }
.online-user span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.rank-list { display: flex; flex-direction: column; }
.rank-item { display: flex; gap: 9px; padding: 7px 0; text-decoration: none; color: var(--text-muted); font-size: 12.5px; line-height: 1.45; }
.rank-item:hover { color: var(--text); }
.rank-item:hover .rank-t { color: var(--brand-ink); }
.rank-num { width: 15px; flex-shrink: 0; font-weight: 700; font-size: 11.5px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.rank-item:nth-child(1) .rank-num { color: #e0623f; }
.rank-item:nth-child(2) .rank-num { color: #d98a2b; }
.rank-item:nth-child(3) .rank-num { color: #b4903a; }
.rank-t { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; transition: color .14s; }

.topic-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.topic {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px;
  border-radius: 20px; background: var(--bg2); color: var(--text-muted);
  font-size: 12px; text-decoration: none; transition: background .15s, color .15s;
}
.topic:hover { background: var(--brand-soft-c); color: var(--brand-ink); }
.topic i { font-style: normal; color: var(--text-faint); margin-left: 5px; font-size: 10.5px; }

.r-details summary {
  display: flex; align-items: center; justify-content: space-between; cursor: pointer;
  font-size: 12.5px; font-weight: 600; list-style: none;
}
.r-details summary::-webkit-details-marker { display: none; }
.r-details summary .ic { width: 14px; height: 14px; color: var(--text-faint); transition: transform .2s; }
.r-details[open] summary .ic { transform: rotate(180deg); }
.r-details .rank-list { margin-top: 10px; }

.r-note { font-size: 11.5px; line-height: 1.7; color: var(--text-faint); }
.r-note b { color: var(--text-muted); font-weight: 500; }

.r-empty { font-size: 12px; color: var(--text-faint); padding: 6px 0; }

/* ============================ 椤佃剼 / 搴曟爮 ============================ */

.foot { border-top: 1px solid var(--line-c); background: var(--card-bg); }
.foot-in {
  max-width: var(--maxw); margin: 0 auto; padding: 26px 32px 34px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px;
}
.foot-brand { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-muted); }
.foot-brand img { border-radius: 6px; background: #fdf7f3; }
.foot-links { display: flex; gap: 16px; margin-left: auto; }
.foot-links a { font-size: 12px; color: var(--text-faint); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot-note { flex-basis: 100%; font-size: 11px; color: var(--text-faint); }

.tabbar { display: none !important; }

/* ============================ 閫氱敤鏂囨湰/宸ュ叿 ============================ */

.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }
.small { font-size: 12px; }
.mono { font-family: var(--mono); }
.spacer { flex: 1; }
.hidden { display: none !important; }
.nowrap { white-space: nowrap; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.divider { height: 1px; background: var(--line-c); margin: 14px 0; }
.row { display: flex; align-items: center; gap: 10px; }
.col { display: flex; flex-direction: column; }
.wrap { flex-wrap: wrap; }
.ic { display: inline-block; vertical-align: -2px; flex-shrink: 0; }

.link { color: var(--brand-ink); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ============================ 甯栧瓙璇︽儏 ============================ */

.thread-wrap { display: grid; gap: 14px; }

.crumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-faint); padding: 0 2px 2px; flex-wrap: wrap; }
.crumb a { color: var(--text-muted); text-decoration: none; }
.crumb a:hover { color: var(--brand-ink); }
.crumb .ic { width: 12px; height: 12px; }

.thread-head { padding: 20px 22px 16px; }
.thread-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.thread-title { font-size: 25px; line-height: 1.38; font-weight: 650; letter-spacing: -.022em; }
.thread-sub { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 12px; color: var(--text-faint); flex-wrap: wrap; }
.thread-sub .who { display: inline-flex; align-items: center; gap: 7px; color: var(--text-muted); text-decoration: none; }
.thread-sub .who b { font-weight: 500; color: var(--text); }
.thread-body { padding: 4px 22px 20px; font-size: 15px; line-height: 1.9; color: var(--ink); }

.tr-translated { margin-bottom: 12px; }
.tr-orig-label { font-size: 12px; color: var(--text-muted); margin: 10px 0 6px; letter-spacing: .02em; }
.tr-orig { padding-left: 12px; border-left: 2px solid var(--line-c); opacity: .88; }

.thread-actions {
  display: flex; align-items: center; gap: 8px; padding: 12px 22px;
  border-top: 1px solid var(--line-c); flex-wrap: wrap;
}
.act {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px;
  border-radius: 9px; border: 1px solid var(--line-c); background: var(--card-bg);
  font-size: 12.5px; color: var(--text-muted); transition: all .15s;
}
.act:hover { border-color: var(--line-strong-c); color: var(--text); background: var(--bg2); }
.act .ic { width: 15px; height: 15px; }
.act.on { color: #dc4d3a; border-color: #f6cfc7; background: #fdf2ef; }
html.dark .act.on { color: #f2a08f; border-color: #4c2a25; background: #2c1e1b; }
.act.bookmarked.on { color: var(--brand-ink); border-color: #cfe0ff; background: var(--brand-soft-c); }
html.dark .act.bookmarked.on { border-color: #2e4468; }

/* 鎶曠エ */
.poll-box { margin: 0 22px 18px; padding: 14px; border: 1px solid var(--line-c); border-radius: 14px; background: var(--bg2); }
.poll-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; font-size: 12.5px; color: var(--text-muted); }
.poll-hd b { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-size: 13px; font-weight: 600; }
.poll-hd b .ic { width: 15px; height: 15px; color: var(--brand-ink); }
.poll-hd span { margin-left: auto; font-size: 12px; }
.poll-options { display: grid; gap: 8px; }
.poll-opt {
  position: relative; display: flex; align-items: center; gap: 10px; width: 100%;
  min-height: 40px; padding: 9px 12px; overflow: hidden; text-align: left;
  border: 1px solid var(--line-c); border-radius: 10px; background: var(--card-bg);
  color: var(--text); font-size: 13.5px; cursor: pointer; transition: border-color .16s, transform .16s;
}
.poll-opt:hover { border-color: var(--line-strong-c); }
.poll-opt:active { transform: scale(.995); }
.poll-opt.on { border-color: rgba(37, 99, 235, .55); }
.poll-opt:disabled { cursor: default; }
.poll-bar { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(37, 99, 235, .12); transition: width .4s cubic-bezier(.22,1,.36,1); }
.poll-opt.on .poll-bar { background: rgba(37, 99, 235, .2); }
.poll-label { position: relative; z-index: 1; flex: 1; min-width: 0; }
.poll-pct { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 3px; color: var(--text-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.poll-pct .ic { width: 13px; height: 13px; color: var(--brand-ink); }
.poll-foot { margin-top: 9px; font-size: 11.5px; color: var(--text-faint); }
.poll-toggle-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.poll-toggle-row .btn { flex: 0 0 auto; }
.poll-editor { margin-top: 10px; padding: 12px; border: 1px dashed var(--line-strong-c); border-radius: 11px; background: var(--bg2); }
.poll-editor-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 12.5px; }
.poll-editor-hd .btn-link { font-size: 12px; color: var(--brand-ink); }
.poll-edit-row { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; }
.poll-edit-row .input { flex: 1; height: 34px; font-size: 13px; }
.poll-edit-row .icon-btn { width: 30px; height: 30px; flex: 0 0 auto; color: var(--text-faint); }

/* Markdown 姝ｆ枃 */
.md { font-size: 15px; line-height: 1.9; word-break: break-word; }
.md > *:first-child { margin-top: 0; }
.md > *:last-child { margin-bottom: 0; }
.md p { margin: 0 0 12px; }
.md h1, .md h2, .md h3 { margin: 22px 0 10px; line-height: 1.4; font-weight: 650; letter-spacing: -.01em; }
.md h1 { font-size: 21px; }
.md h2 { font-size: 18px; }
.md h3 { font-size: 16px; }
.md a { color: var(--brand-ink); text-decoration: none; border-bottom: 1px solid rgba(37, 99, 235, .3); }
.md a:hover { border-bottom-color: currentColor; }
.md strong { font-weight: 650; }
.md em { font-style: italic; }
.md del { color: var(--text-faint); }
.md code {
  font-family: var(--mono); font-size: .88em; padding: 2px 5px; border-radius: 5px;
  background: var(--bg3); color: rgb(var(--ink));
}
.md pre {
  margin: 0 0 14px; padding: 13px 15px; border-radius: 11px; background: var(--bg2);
  border: 1px solid var(--line-c); overflow: auto;
}
.md pre code { padding: 0; background: none; font-size: 12.5px; line-height: 1.7; }
.md blockquote {
  margin: 0 0 14px; padding: 8px 14px; border-left: 3px solid var(--line-strong-c);
  background: var(--bg2); border-radius: 0 8px 8px 0; color: var(--text-muted); font-size: 14px;
}
.md ul, .md ol { margin: 0 0 12px; padding-left: 22px; }
.md li { margin: 3px 0; }
.md hr { border: 0; border-top: 1px solid var(--line-c); margin: 18px 0; }
.md img { max-width: 100%; border-radius: 10px; margin: 6px 0; border: 1px solid var(--line-c); }
.md table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 13.5px; }
.md th, .md td { border: 1px solid var(--line-c); padding: 7px 10px; text-align: left; }
.md th { background: var(--bg2); font-weight: 600; }
.md .mention { color: var(--brand-ink); font-weight: 500; border-bottom: 0; background: var(--brand-soft-c); padding: 1px 4px; border-radius: 4px; }
.md .hashtag { color: var(--brand-ink); border-bottom: 0; }

/* 鍥炲 */
.reply-list { }
.reply-hd { display: flex; align-items: center; justify-content: space-between; padding: 15px 22px; border-bottom: 1px solid var(--line-c); }
.reply-hd h2 { font-size: 14px; font-weight: 600; }
.reply { display: flex; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line-c); scroll-margin-top: calc(var(--hdr-h) + 18px); }
.reply:last-child { border-bottom: 0; }
.reply:target, .reply.flash { background: var(--brand-soft-c); box-shadow: inset 3px 0 0 var(--brand); }
.reply-main { flex: 1; min-width: 0; }
.reply-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.reply-name { font-size: 13px; font-weight: 600; color: var(--text); text-decoration: none; }
.reply-name:hover { color: var(--brand-ink); }
.reply-badge { font-size: 10.5px; color: var(--text-faint); background: var(--bg2); padding: 1px 6px; border-radius: 5px; }
.reply-floor { margin-left: auto; font-size: 11px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.reply-body { margin-top: 6px; font-size: 14px; line-height: 1.8; }
.reply-body .md { font-size: 14px; }
.quote-box {
  display: block; margin: 8px 0 4px; padding: 8px 12px; border-radius: 8px; background: var(--bg2);
  border-left: 2px solid var(--line-strong-c); font-size: 12.5px; color: var(--text-muted); line-height: 1.7;
  text-decoration: none; transition: border-color .15s, background .15s;
}
.quote-box:hover { border-left-color: var(--brand); background: var(--brand-soft-c); }
.quote-box b { color: var(--text); font-weight: 500; }
.quote-floor { color: var(--text-faint); font-variant-numeric: tabular-nums; }
.reply-acts { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.reply-acts button, .reply-acts a {
  display: inline-flex; align-items: center; gap: 4px; border: 0; background: none;
  font-size: 11.5px; color: var(--text-faint); padding: 2px 0; text-decoration: none;
}
.reply-acts button:hover, .reply-acts a:hover { color: var(--text); }
.reply-acts .ic { width: 13px; height: 13px; }
.reply-acts .liked { color: #dc4d3a; }

/* 鍥炲妗?*/
.reply-box { padding: 16px 22px 18px; }
.reply-box textarea {
  width: 100%; min-height: 92px; resize: vertical; padding: 12px 13px;
  border-radius: 10px; border: 1px solid var(--line-c); background: var(--bg2);
  font-size: 13.5px; line-height: 1.7; outline: none; transition: border-color .16s, background .16s, box-shadow .16s;
}
.reply-box textarea:focus { background: var(--card-bg); border-color: var(--brand-c); box-shadow: 0 0 0 3px rgba(37, 99, 235, .1); }
.reply-box .rb-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.reply-box .hint { font-size: 11.5px; color: var(--text-faint); }

/* 妤间富鍗?*/
.author-card { text-align: center; padding: 20px 16px 16px; }
.author-card .avatar { margin-bottom: 10px; }
.author-card b { display: block; font-size: 14px; }
.author-card .role { font-size: 11px; color: var(--text-faint); margin-top: 2px; }
.author-card .bio { font-size: 12px; color: var(--text-muted); margin-top: 10px; line-height: 1.6; }
.author-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 0 12px; border-top: 1px solid var(--line-c); padding-top: 12px; }
.author-stats b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
.author-stats span { font-size: 10.5px; color: var(--text-faint); }

/* ============================ 鍙戝笘鍣?============================ */

.composer { width: min(940px, 94vw); }
.composer-hd { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line-c); flex: 0 0 auto; }
.composer-hd h2 { font-size: 16px; font-weight: 650; }
.composer-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 360px; flex: 1 1 auto; overflow: auto; }
.composer-col { padding: 16px 20px; min-width: 0; }
.composer-col + .composer-col { border-left: 1px solid var(--line-c); background: var(--bg2); overflow: auto; max-height: 62vh; }
.composer-foot { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line-c); flex-wrap: wrap; flex: 0 0 auto; }
.mention-pop { position: fixed; z-index: 260; width: 280px; padding: 6px; border-radius: 12px; background: var(--card-bg); border: 1px solid var(--line-c); box-shadow: 0 14px 40px rgba(0, 0, 0, .18); }
.mention-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 8px 9px; border: 0; border-radius: 8px; background: none; color: var(--text); text-align: left; cursor: pointer; }
.mention-item:hover, .mention-item.on { background: var(--brand-soft-c); }
.mention-name { font-size: 13px; font-weight: 550; }
.mention-meta { font-size: 11px; color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; font-weight: 500; }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line-c); background: var(--card-bg); color: var(--text);
  border-radius: 10px; padding: 9px 12px; font-size: 13.5px; outline: none;
  transition: border-color .16s, box-shadow .16s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand-c); box-shadow: 0 0 0 3px rgba(37, 99, 235, .1); }
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.textarea { resize: vertical; min-height: 180px; line-height: 1.75; font-size: 14px; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-faint) 50%), linear-gradient(135deg, var(--text-faint) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }

.toolbar { display: flex; align-items: center; gap: 2px; padding: 6px 0 8px; flex-wrap: wrap; }
.toolbar button {
  width: 30px; height: 30px; border-radius: 7px; border: 0; background: none;
  color: var(--text-muted); display: grid; place-items: center;
}
.toolbar button:hover { background: var(--bg3); color: var(--text); }
.toolbar .ic { width: 16px; height: 16px; }
.toolbar .sep { width: 1px; height: 16px; background: var(--line-c); margin: 0 5px; }

.preview-pane { font-size: 14px; }
.preview-pane .md { font-size: 14px; }
.preview-empty { color: var(--text-faint); font-size: 12.5px; padding: 30px 0; text-align: center; }

.mode-switch { display: inline-flex; background: var(--bg2); border-radius: 9px; padding: 3px; gap: 2px; }
.mode-switch button { border: 0; background: none; padding: 5px 12px; border-radius: 7px; font-size: 12.5px; color: var(--text-muted); }
.mode-switch button.on { background: var(--card-bg); color: var(--text); font-weight: 500; box-shadow: var(--shadow-sm); }

.anon-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-muted); }
.switch { position: relative; width: 36px; height: 20px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 20px; background: var(--line-strong-c); transition: background .18s; }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .18s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + i { background: var(--brand-c); }
.switch input:checked + i::after { transform: translateX(16px); }

/* ============================ 寮瑰眰 ============================ */

#modalRoot:empty { display: none; }
.modal-mask {
  position: fixed; inset: 0; z-index: 120; background: rgba(15, 23, 42, .5);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 8vh 16px 16px; overflow: auto;
  animation: fadeIn .18s ease both;
}
html.dark .modal-mask { background: rgba(0, 0, 0, .58); }
@keyframes fadeIn { from { opacity: 0; } }
.modal-panel {
  width: min(520px, 100%); background: var(--card-bg); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line-c);
  animation: popIn .22s cubic-bezier(.2, .9, .3, 1.1) both; overflow: hidden;
  max-height: 88vh; display: flex; flex-direction: column;
}
@keyframes popIn { from { opacity: 0; transform: scale(.97) translateY(6px); } }
.modal-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 12px; }
.modal-hd h3 { font-size: 15.5px; font-weight: 650; }
.modal-bd { padding: 4px 20px 18px; overflow: auto; font-size: 13.5px; color: var(--text-muted); line-height: 1.75; }
.modal-ft { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 12px 20px 16px; border-top: 1px solid var(--line-c); }

/* 鐧诲綍/娉ㄥ唽 */
.auth { width: min(420px, 94vw); }
.auth-tabs { display: flex; gap: 4px; padding: 14px 20px 0; }
.auth-tabs button {
  flex: 1; height: 36px; border: 0; background: none; border-radius: 9px;
  font-size: 13.5px; color: var(--text-muted); transition: background .15s, color .15s;
}
.auth-tabs button.on { background: var(--bg2); color: var(--text); font-weight: 600; }
.auth-body { padding: 14px 20px 8px; }
.auth-note { margin-top: 10px; font-size: 11.5px; color: var(--text-faint); line-height: 1.7; background: var(--bg2); padding: 9px 11px; border-radius: 9px; }
.auth-err { color: #dc2626; font-size: 12px; min-height: 18px; margin-top: 8px; }

/* ============================ 閫氱煡 / 娑堟伅 ============================ */

.notif-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line-c); padding: 0 10px; }
.notif-tabs button { position: relative; border: 0; background: none; padding: 12px 12px; font-size: 13.5px; color: var(--text-muted); }
.notif-tabs button.on { color: var(--text); font-weight: 600; }
.notif-tabs button.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--brand-c); }
.notif-tabs .mark { margin-left: auto; align-self: center; padding: 12px 4px; }

.notif { display: flex; gap: 12px; padding: 15px 20px; border-bottom: 1px solid var(--line-c); position: relative; text-decoration: none; color: inherit; }
.notif:hover { background: var(--bg2); }
.notif:last-child { border-bottom: 0; }
.notif.unread { background: rgba(37, 99, 235, .045); }
.notif.unread::before { content: ""; position: absolute; left: 8px; top: 22px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-c); }
.notif-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: var(--bg2); color: var(--text-muted); }
.notif-ico .ic { width: 16px; height: 16px; }
.notif-ico.reply { background: var(--brand-soft-c); color: var(--brand-ink); }
.notif-ico.like { background: #fdf0ee; color: #d9543d; }
html.dark .notif-ico.like { background: #34201d; color: #f0a08c; }
.notif-ico.mention { background: var(--tint-purple); color: #7a56b8; }
html.dark .notif-ico.mention { background: #2c2540; color: #c0a6ea; }
.notif-ico.system { background: var(--tint-warm); color: var(--tint-warm-ink); }
.notif-body { flex: 1; min-width: 0; }
.notif-body p { font-size: 13px; line-height: 1.65; color: var(--text); }
.notif-body p b { font-weight: 600; }
.notif-body .excerpt { margin-top: 4px; font-size: 12px; color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notif-time { font-size: 11px; color: var(--text-faint); flex-shrink: 0; }

/* 绉佷俊 */
.msg-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 560px; }
.msg-side { border-right: 1px solid var(--line-c); display: flex; flex-direction: column; min-width: 0; }
.msg-side-hd { padding: 14px 16px; border-bottom: 1px solid var(--line-c); display: flex; align-items: center; justify-content: space-between; }
.msg-side-hd h2 { font-size: 14px; font-weight: 650; }
.msg-list { overflow: auto; flex: 1; }
.msg-item { display: flex; gap: 10px; padding: 12px 14px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line-c); }
.msg-item:hover { background: var(--bg2); }
.msg-item.on { background: var(--brand-soft-c); }
.msg-item-body { min-width: 0; flex: 1; }
.msg-item-top { display: flex; align-items: baseline; gap: 8px; }
.msg-item-top b { font-size: 13px; font-weight: 600; }
.msg-item-top time { margin-left: auto; font-size: 10.5px; color: var(--text-faint); }
.msg-item p { font-size: 11.5px; color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 3px; }
.msg-unread { min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--brand-c); color: #fff; font-size: 10px; display: grid; place-items: center; align-self: center; }

.chat { display: flex; flex-direction: column; min-width: 0; }
.chat-hd { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line-c); }
.chat-hd b { font-size: 13.5px; }
.chat-stream { flex: 1; overflow: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--bg2); }
.bubble-row { display: flex; gap: 8px; align-items: flex-end; }
.bubble-row.mine { flex-direction: row-reverse; }
.bubble { max-width: 72%; padding: 9px 12px; border-radius: 13px; background: var(--card-bg); border: 1px solid var(--line-c); font-size: 13.5px; line-height: 1.6; word-break: break-word; }
.bubble-row.mine .bubble { background: var(--brand-c); color: #fff; border-color: transparent; }
html.dark .bubble-row.mine .bubble { color: #06101f; }
.bubble time { display: block; font-size: 10px; opacity: .55; margin-top: 3px; }
.chat-input { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line-c); }
.chat-input textarea { flex: 1; resize: none; height: 40px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-c); background: var(--bg2); font-size: 13.5px; outline: none; }
.chat-input textarea:focus { border-color: var(--brand-c); background: var(--card-bg); }
.chat-empty { margin: auto; text-align: center; color: var(--text-faint); font-size: 12.5px; padding: 30px; }

/* ============================ 涓汉涓婚〉 ============================ */

.profile-hero {
  position: relative; border-radius: var(--r-lg) var(--r-lg) 0 0; height: 108px;
  background: linear-gradient(120deg, #e8effd, #f2f6ff 45%, #eef6f0); border: 1px solid var(--line-c); border-bottom: 0;
}
html.dark .profile-hero { background: linear-gradient(120deg, #1b2740, #1d2940 45%, #1b2a23); }
.profile-main { padding: 0 22px 18px; position: relative; }
.profile-avatar { margin-top: -40px; display: flex; align-items: flex-end; gap: 14px; }
.profile-avatar .avatar { border: 4px solid var(--card-bg); box-shadow: var(--shadow-sm); }
.profile-id { padding-bottom: 4px; }
.profile-id h1 { font-size: 20px; font-weight: 650; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.profile-id .meta { font-size: 12px; color: var(--text-faint); margin-top: 3px; }
.profile-actions { margin-left: auto; display: flex; gap: 8px; padding-bottom: 4px; }
.profile-bio { margin-top: 14px; font-size: 13.5px; color: var(--text-muted); line-height: 1.7; max-width: 620px; }
.profile-stats { display: flex; gap: 26px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-c); flex-wrap: wrap; }
.profile-stats a, .profile-stats div { text-decoration: none; color: inherit; font-size: 12px; color: var(--text-faint); }
.profile-stats b { display: block; font-size: 17px; font-weight: 650; color: var(--text); font-variant-numeric: tabular-nums; margin-bottom: 1px; }
.profile-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.pbadge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: var(--brand-soft-c); color: var(--brand-ink); font-size: 11.5px; font-weight: 550; }
.pbadge .ic { width: 13px; height: 13px; }
.pbadge { color: var(--text); }
.pbadge::first-letter { color: var(--bc, #c9a227); }
.pbadge.sm { padding: 2px 7px; font-size: 11px; }
.author-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.sponsor-name { color: #b8860b; font-weight: 600; }
.chip-gold { background: linear-gradient(135deg, #fbf0d2, #f3e0a8); color: #8a6d1b; }
html.dark .chip-gold { background: #3a3216; color: #e6c96a; }

/* 鑽ｈ獕骞垮満锛堟暀鏉愰〉涓嬫柟锛?*/
.honor-plaza { margin-top: 28px; }
.hp-wrap { display: flex; flex-direction: column; gap: 18px; }
.hp-head h2 { font-size: 19px; font-weight: 700; margin: 0; }
.hp-head p { margin: 4px 0 0; font-size: 13px; color: var(--text-faint); }
.hp-levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.hp-lvl { display: flex; flex-direction: column; gap: 3px; padding: 14px; border: 1px solid var(--line-c); border-radius: 14px; background: var(--bg2); }
.hp-lvl-tag { font-size: 11px; font-weight: 700; color: #b8860b; letter-spacing: .5px; }
.hp-lvl b { font-size: 14px; }
.hp-lvl span.faint { font-size: 11.5px; }
.hp-card { padding: 18px; border: 1px solid var(--line-c); border-radius: 16px; background: var(--bg); }
.hp-card h3 { font-size: 15px; margin: 0 0 12px; }
.hp-sponsors { display: flex; flex-direction: column; gap: 10px; }
.hp-sponsor { display: flex; align-items: center; gap: 11px; position: relative; }
.hp-ava { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 600; flex: 0 0 auto; }
.hp-sponsor div { flex: 1; min-width: 0; }
.hp-sponsor b { display: block; font-size: 13.5px; }
.hp-sponsor span { font-size: 12px; color: var(--text-faint); }
.hp-crown { font-style: normal; color: #d4a017; font-size: 16px; }
.hp-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.hp-badge { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px; border: 1px solid var(--line-c); border-radius: 14px; text-align: center; background: var(--bg2); }
.hp-b-icon { font-size: 26px; line-height: 1; }
.hp-badge b { font-size: 13px; }
.hp-badge small { font-size: 11px; color: var(--text-faint); line-height: 1.4; }
.hp-badge em { font-style: normal; font-size: 10.5px; color: var(--text-faint); }

/* 鎽勫奖鑽ｈ獕绮鹃€夊 */
.gl-honor { margin-bottom: 20px; padding: 16px 18px; border: 1px solid var(--line-c); border-radius: 16px; background: linear-gradient(135deg, var(--bg2), var(--bg)); }
.gl-honor-hd { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.gl-honor-ico { font-size: 22px; }
.gl-honor-hd b { display: block; font-size: 14.5px; }
.gl-honor-hd small { font-size: 12px; color: var(--text-faint); }
.gl-honor-list { display: flex; flex-wrap: wrap; gap: 12px; }
.gl-honor-p { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-c); text-decoration: none; color: inherit; font-size: 13px; }
.gl-honor-p:hover { border-color: var(--brand); }

/* 鍚庡彴锛氳禐鍔╁綍鍏?/ 闂ㄦ / 鎺堜簣 */
.donate-cell { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.donate-cell .lvl { font-size: 12px; color: #b8860b; font-weight: 600; min-width: 64px; }
.honor-admin { display: flex; flex-direction: column; gap: 16px; }
.ha-title { font-size: 15px; margin: 0 0 12px; }
.lvl-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.lvl-tag { font-weight: 700; color: #b8860b; min-width: 34px; }
.grant-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.grant-row label { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.learn-foot { display: flex; align-items: center; gap: 11px; margin-top: 14px; padding: 11px 13px; border: 1px solid var(--line-c); border-radius: 11px; background: var(--bg2); text-decoration: none; color: inherit; transition: border-color .15s, background .15s; }
.learn-foot:hover { border-color: var(--brand); background: var(--brand-soft-c); }
.learn-foot-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: #fff; flex: 0 0 auto; }
.learn-foot-ico .ic { width: 17px; height: 17px; }
.learn-foot-main { flex: 1; min-width: 0; }
.learn-foot-main b { display: block; font-size: 12.5px; color: var(--text); }
.learn-foot-main em { display: block; margin-top: 2px; font-style: normal; font-size: 11.5px; color: var(--text-faint); line-height: 1.5; }
.learn-foot-go { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; color: var(--brand-ink); white-space: nowrap; }
.learn-foot-go .ic { width: 13px; height: 13px; }
.follow-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 0 0 14px; }
.follow-tags-label { font-size: 11.5px; color: var(--text-faint); margin-right: 2px; }
.follow-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line-c); color: var(--text-muted); text-decoration: none; font-size: 12px; transition: border-color .15s, color .15s, background .15s; }
.follow-tag:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--brand-soft-c); }
.follow-tag em { font-style: normal; font-size: 10.5px; color: var(--text-faint); }

.profile-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line-c); padding: 0 14px; margin-top: 4px; }
.profile-tabs a { position: relative; padding: 12px 12px; font-size: 13.5px; color: var(--text-muted); text-decoration: none; }
.profile-tabs a.on { color: var(--text); font-weight: 600; }
.profile-tabs a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--brand-c); }

/* ============================ 鏉垮潡椤?/ 鐑 / 鑷範瀹?/ 绠＄悊 ============================ */

.page-hd { margin-bottom: 16px; }
.page-hd h1 { font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.page-hd p { margin-top: 5px; font-size: 12.5px; color: var(--text-muted); }

.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 12px; }
.board-card {
  display: block; padding: 16px; border-radius: var(--r-lg); background: var(--card-bg);
  border: 1px solid var(--line-c); text-decoration: none; color: inherit;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.board-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong-c); }
.board-card .bc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.board-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft-c); color: var(--brand-ink); flex-shrink: 0; }
.board-ico .ic { width: 18px; height: 18px; }
.board-card b { font-size: 14px; font-weight: 600; }
.board-card .desc { font-size: 12px; color: var(--text-faint); line-height: 1.6; min-height: 38px; }
.board-card .bc-foot { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-c); font-size: 11px; color: var(--text-faint); }
.board-card .bc-foot .spacer { flex: 1; }

.hot-section { display: grid; gap: 14px; }
.hot-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line-c); text-decoration: none; color: inherit; }
.hot-row:last-child { border-bottom: 0; }
.hot-row:hover { background: var(--bg2); }
.hot-rank { width: 26px; font-size: 15px; font-weight: 700; color: var(--text-faint); font-variant-numeric: tabular-nums; text-align: center; }
.hot-row:nth-child(1) .hot-rank { color: #e0623f; }
.hot-row:nth-child(2) .hot-rank { color: #d98a2b; }
.hot-row:nth-child(3) .hot-rank { color: #b4903a; }
.hot-body { flex: 1; min-width: 0; }
.hot-body b { display: block; font-size: 13.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hot-body span { font-size: 11px; color: var(--text-faint); }
.hot-score { font-size: 12px; color: var(--text-faint); font-variant-numeric: tabular-nums; }

/* 鑷範瀹?*/
/* 鑷範瀹わ紙浠块附灏忕珯 Study & Rooftop锛?*/
.sr-scene {
  min-height: calc(100vh - 150px); margin: -8px -16px 0; padding: 20px 20px 40px;
  display: flex; flex-direction: column; align-items: center; gap: 26px;
  border-radius: 20px; color: #33402f; transition: background .8s ease;
}
.sr-scene[data-phase="morning"]   { background: linear-gradient(160deg, #f7ecd3, #f1ddb4); }
.sr-scene[data-phase="afternoon"] { background: linear-gradient(160deg, #e9f1e6, #dce8de); }
.sr-scene[data-phase="dusk"]       { background: linear-gradient(160deg, #f4e2d2, #e6c6b2); }
.sr-scene[data-phase="night"]      { background: linear-gradient(160deg, #e3e9f2, #cdd9e8); }
.sr-top { width: 100%; max-width: 720px; display: flex; align-items: center; justify-content: space-between; }
.sr-title { font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.sr-clock { display: flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; }
.sr-clock b { font-size: 22px; font-weight: 600; }
.sr-clock em { font-style: normal; font-size: 13px; opacity: .7; }
.sr-center { text-align: center; margin-top: 8px; }
.sr-status { font-size: 14.5px; opacity: .8; margin-bottom: 10px; min-height: 22px; }
.sr-time { font-size: 84px; font-weight: 300; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; font-family: Georgia, 'Songti SC', serif; }
.sr-progress { width: 260px; height: 4px; margin: 18px auto 12px; border-radius: 999px; background: rgba(51,64,47,.14); overflow: hidden; }
.sr-progress i { display: block; height: 100%; width: 100%; border-radius: 999px; background: #4a6b45; transition: width .5s linear; }
.sr-count { font-size: 13.5px; opacity: .75; }
.sr-count b { font-weight: 700; }
.sr-panel { width: 100%; max-width: 720px; background: rgba(255,255,255,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.6); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 10px 30px rgba(60,80,55,.1); }
.sr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 10px; }
.sr-input { width: 100%; min-height: 40px; padding: 8px 12px; border-radius: 11px; border: 1px solid rgba(51,64,47,.18);
  background: rgba(255,255,255,.7); color: #33402f; font: inherit; font-size: 13.5px; }
.sr-input:focus { outline: none; border-color: #4a6b45; box-shadow: 0 0 0 3px rgba(74,107,69,.15); }
.sr-vol-wrap { display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 11px; background: rgba(255,255,255,.7); border: 1px solid rgba(51,64,47,.18); white-space: nowrap; font-size: 13px; }
.sr-vol-wrap::before { content: '闊抽噺'; flex-shrink: 0; opacity: .7; }
.sr-vol { flex: 1; min-width: 0; accent-color: #4a6b45; }
.sr-actions { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }
@media (max-width: 640px) {
  .sr-grid { grid-template-columns: 1fr; }
  .sr-time { font-size: 62px; }
}

/* 绠＄悊鍚庡彴 */
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat-card { padding: 16px; border-radius: var(--r-lg); background: var(--card-bg); border: 1px solid var(--line-c); }
.stat-card span { font-size: 11.5px; color: var(--text-faint); }
.stat-card b { display: block; font-size: 24px; font-weight: 650; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.admin-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line-c); padding: 0 10px; margin-bottom: 0; }
.admin-tabs button { border: 0; background: none; padding: 12px; font-size: 13.5px; color: var(--text-muted); position: relative; }
.admin-tabs button.on { color: var(--text); font-weight: 600; }
.admin-tabs button.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--brand-c); }

.mini-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mini-table th { text-align: left; font-weight: 500; color: var(--text-faint); padding: 9px 12px; border-bottom: 1px solid var(--line-c); font-size: 11.5px; }
.mini-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-c); }
.mini-table tr:last-child td { border-bottom: 0; }
.mini-table tr:hover td { background: var(--bg2); }

/* 鎼滅储娴眰 */
#paletteRoot:empty { display: none; }
.palette-mask { position: fixed; inset: 0; z-index: 150; background: rgba(15, 23, 42, .4); backdrop-filter: blur(4px); padding: 10vh 16px; display: flex; justify-content: center; animation: fadeIn .15s both; }
.palette { width: min(600px, 100%); max-height: 70vh; background: var(--card-bg); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; animation: popIn .2s both; border: 1px solid var(--line-c); }
.palette-in { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line-c); }
.palette-in .ic { width: 18px; height: 18px; color: var(--text-faint); }
.palette-in input { flex: 1; border: 0; background: none; outline: none; font-size: 15px; }
.palette-res { overflow: auto; padding: 8px; }
.palette-group { font-size: 10.5px; color: var(--text-faint); padding: 8px 10px 4px; letter-spacing: .05em; }
.palette-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; text-decoration: none; color: inherit; }
.palette-item:hover, .palette-item.on { background: var(--bg2); }
.palette-item .pt { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette-item .ph { font-size: 11px; color: var(--text-faint); }
.palette-empty { padding: 30px; text-align: center; color: var(--text-faint); font-size: 12.5px; }
.palette-foot { border-top: 1px solid var(--line-c); padding: 8px 14px; font-size: 11px; color: var(--text-faint); display: flex; gap: 14px; }

/* Toast */
.toast-root { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  background: rgba(17, 24, 39, .94); color: #fff; font-size: 12.5px; padding: 9px 15px;
  border-radius: 10px; box-shadow: var(--shadow-lg); animation: toastIn .24s cubic-bezier(.2,.9,.3,1.2) both;
  display: flex; align-items: center; gap: 7px; max-width: 84vw;
}
.toast .ic { width: 14px; height: 14px; }
.toast.err { background: #b91c1c; }
.toast.ok { background: #15803d; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* 鎶藉眽 */
.drawer { position: fixed; inset: 0; z-index: 110; }
.drawer-mask { position: absolute; inset: 0; background: rgba(15,23,42,.42); backdrop-filter: blur(3px); animation: fadeIn .18s both; }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(312px, 86vw); background: var(--card-bg); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: slideIn .24s cubic-bezier(.2,.9,.3,1) both; }
@keyframes slideIn { from { transform: translateX(-100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line-c); }
.drawer-body { padding: 12px; overflow: auto; }

/* 鎻愮ず鏉?*/
.notice-bar {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; margin-bottom: 14px;
  border-radius: 11px; background: var(--tint-warm); color: var(--tint-warm-ink);
  font-size: 12.5px; border: 1px solid var(--tint-warm-line);
}
.notice-bar .ic { width: 15px; height: 15px; flex-shrink: 0; }
.notice-bar a { color: inherit; font-weight: 600; }

/* ============================ 鍝嶅簲寮?============================ */

@media (max-width: 1180px) {
  :root { --rail-r: 240px; --gap: 18px; }
  .shell { padding: 20px 22px 56px; }
  .hdr-in { padding: 0 22px; }
  .hdr-search { width: 220px; }
}

@media (max-width: 1023px) {
  .shell { grid-template-columns: var(--rail-l) minmax(0, 1fr); }
  .rail-right { display: none; }
  .hdr-search { width: 200px; }
  .hdr-search kbd { display: none; }
}

@media (max-width: 900px) {
  :root { --hdr-h: 58px; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .shell { grid-template-columns: minmax(0, 1fr); padding: 12px 14px 30px; }
  .rail-left { display: none; }
  .hdr-in { padding: 0 14px; gap: 10px; }
  .nav { display: none; }
  .hdr-search { display: none; }
  .brand-text em { display: none; }
  .brand-text strong { font-size: 15px; }
  .hdr-actions { margin-left: auto; }
  .foot-in { padding: 20px 16px 24px; }
  .foot-links { margin-left: 0; }
  .tabbar {
    display: flex !important; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    height: calc(58px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid var(--line-c);
  }
  html.dark .tabbar { background: rgba(13, 18, 28, .92); }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--text-faint); position: relative; }
  .tabbar a .ic { width: 21px; height: 21px; }
  .tabbar a em { font-style: normal; font-size: 10px; }
  .tabbar a[aria-current="page"] { color: var(--brand-ink); }
  .tab-compose {
    flex: 0 0 64px; border: 0; background: none; display: grid; place-items: center;
  }
  .tab-compose span {
    width: 44px; height: 34px; border-radius: 11px; background: var(--brand-c); color: #fff;
    display: grid; place-items: center; box-shadow: 0 4px 14px -2px rgba(37, 99, 235, .5);
  }
  .tab-compose .ic { width: 20px; height: 20px; }
  .tab-dot { position: absolute; top: 9px; right: 26%; width: 6px; height: 6px; border-radius: 50%; background: #ef4444; }
  .post { padding: 14px 15px; gap: 12px; }
  .post-cover { width: 84px; height: 64px; font-size: 22px; }
  .hero { padding: 16px; }
  .hero-art { width: 46px; height: 46px; font-size: 24px; }
  .hero-txt h2 { font-size: 17px; }
  .hero-go { display: none; }
  .thread-title { font-size: 21px; }
  .thread-head, .thread-body, .thread-actions, .reply, .reply-hd, .reply-box { padding-left: 16px; padding-right: 16px; }
  .composer-body { grid-template-columns: 1fr; }
  .composer-col + .composer-col { display: none; }
  .composer-col { max-height: 66vh; overflow: auto; }
  .msg-layout { grid-template-columns: 1fr; min-height: 0; }
  .msg-side { border-right: 0; }
  .msg-layout.has-chat .msg-side { display: none; }
  .msg-layout:not(.has-chat) .chat { display: none; }
  .modal-mask { padding: 4vh 10px 10px; align-items: flex-start; }
  .focus-clock { font-size: 48px; }
  .profile-avatar { flex-wrap: wrap; }
  .profile-actions { margin-left: 0; width: 100%; }
  .board-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

@media (max-width: 520px) {
  .board-grid { grid-template-columns: 1fr; }
  .post-cover { display: none; }
  .feed-tab { padding: 10px 8px; font-size: 13.5px; }
  .profile-stats { gap: 18px; }
  .card-pad { padding: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* 鎵撳嵃 */
@media print {
  .hdr, .foot, .tabbar, .rail-left, .rail-right, .thread-actions, .reply-box { display: none !important; }
  .shell { display: block; padding: 0; }
}

/* ===== 琛ュ厖锛氳处鍙疯彍鍗?/ 鏍囩 / 寰€鏈熺儹璁?/ 鍥炲鏉＄洰 ===== */
.menu-btn { display: none; }

.user-btn {
  display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 11px 0 5px;
  border: 1px solid var(--line-c); background: var(--card-bg); border-radius: 999px;
  cursor: pointer; color: var(--text); font: inherit; font-size: 12.5px;
  transition: background .16s ease, border-color .16s ease;
}
.user-btn:hover { background: var(--surface-2); border-color: var(--line-strong-c); }
.user-btn .avatar { width: 28px; height: 28px; font-size: 11.5px; }
.ub-name { max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.ub-chev { width: 14px; height: 14px; color: var(--text-faint); }

.menu {
  position: fixed; z-index: 200; width: 218px; padding: 6px;
  background: var(--card-bg); border: 1px solid var(--line-c); border-radius: 14px;
  box-shadow: 0 18px 44px -16px rgba(16, 24, 40, .3), 0 2px 8px rgba(16, 24, 40, .06);
  animation: menuIn .14s ease-out;
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-5px) scale(.98); } }
.menu-head { display: flex; align-items: center; gap: 10px; padding: 9px 8px 11px; border-bottom: 1px solid var(--line-c); margin-bottom: 6px; }
.menu-head b { display: block; font-size: 13px; line-height: 1.4; }
.menu-head span { display: block; font-size: 11px; color: var(--text-faint); line-height: 1.5; }
.menu-item {
  display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 10px;
  border: 0; border-radius: 9px; background: none; cursor: pointer;
  color: var(--text); font-family: inherit; font-size: 13px; text-align: left; text-decoration: none;
}
.menu-item .ic { width: 16px; height: 16px; color: var(--text-muted); }
.menu-item:hover { background: var(--surface-2); }
.menu-item.danger { color: #dc2626; }
.menu-item.danger .ic { color: #dc2626; }
.menu-sep { height: 1px; margin: 6px 4px; background: var(--line-c); }

.post-tag {
  display: inline-flex; align-items: center; height: 21px; padding: 0 8px; border-radius: 6px;
  background: var(--surface-2); color: var(--text-muted); font-size: 11.5px; text-decoration: none;
  transition: color .15s ease, background .15s ease;
}
.post-tag:hover { background: var(--brand-soft-c); color: var(--brand-ink); }

.archive-strip {
  display: flex; align-items: center; gap: 10px; padding: 11px 16px;
  background: linear-gradient(90deg, rgba(253, 243, 238, .9), rgba(255, 255, 255, 0));
  border-top: 1px solid var(--line-c); border-bottom: 1px solid var(--line-c);
  text-decoration: none; color: var(--text);
}
html.dark .archive-strip { background: linear-gradient(90deg, rgba(184, 72, 43, .12), rgba(20, 28, 41, 0)); }
.as-tag { flex: none; font-size: 11px; color: #b8482b; letter-spacing: .04em; }
.as-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.as-meta { flex: none; font-size: 11.5px; color: var(--text-faint); }

.reply-item { display: block; padding: 15px 18px; border-bottom: 1px solid var(--line-c); text-decoration: none; color: var(--text); }
.reply-item:last-child { border-bottom: 0; }
.reply-item:hover { background: var(--surface-2); }
.reply-item p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.7; color: var(--text-muted); }

.danger-link { color: #dc2626 !important; }
.danger-link:hover { text-decoration: underline; }

.board-ico.lg { width: 46px; height: 46px; border-radius: 13px; }
.board-ico.lg .ic { width: 23px; height: 23px; }

.rb-foot { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.rb-foot .hint { font-size: 11.5px; color: var(--text-faint); }

@media (max-width: 1023px) {
  .menu-btn { display: grid; }
  .ub-name { display: none; }
  .user-btn { padding: 0 5px; }
  .ub-chev { display: none; }
}

/* 鍥炬爣鍩虹灏哄锛堟棤 scoped 瑙勫垯鏃剁殑鍏滃簳锛?*/
.ic { width: 18px; height: 18px; }
.chat-empty .ic { width: 46px; height: 46px; opacity: .4; display: block; margin: 0 auto 4px; }

/* 鏈閫氱煡鏁磋搴曡壊 */
.notif.unread { background: color-mix(in srgb, var(--brand) 5%, transparent); }
.notif.unread:hover { background: color-mix(in srgb, var(--brand) 9%, transparent); }

/* 绠＄悊鍚庡彴鐢ㄦ埛鍗曞厓鏍?*/
.u-cell { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.u-cell:hover span { color: var(--brand); }

/* 鏉冮檺涓嶈冻绛夌獎鍗＄墖 */
.card-slim { padding: 0; }
.card-slim .feed-empty { padding: 64px 20px; }

/* 澶村儚鑹茬浉婊戝潡 */
.range { -webkit-appearance: none; appearance: none; width: 220px; height: 8px; border-radius: 999px; outline: none;
  background: linear-gradient(90deg, hsl(0 60% 55%), hsl(60 60% 50%), hsl(120 55% 45%), hsl(180 55% 45%), hsl(240 60% 60%), hsl(300 55% 55%), hsl(360 60% 55%));
  cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff;
  border: 2px solid var(--brand); box-shadow: 0 1px 4px rgb(15 23 42 / .2); cursor: grab; }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); }

/* ===== 琛ュ厖锛氬乏鍙虫爮婊氬姩璺熼殢 ===== */
@media (min-width: 1024px) {
  .rail-left, .rail-right { position: sticky; top: calc(var(--hdr-h) + 18px); align-self: start; max-height: calc(100vh - var(--hdr-h) - 36px); overflow-y: auto; scrollbar-width: thin; }
  .rail-left::-webkit-scrollbar, .rail-right::-webkit-scrollbar { width: 6px; }
  .rail-left::-webkit-scrollbar-thumb, .rail-right::-webkit-scrollbar-thumb { background: var(--line-strong-c); border-radius: 3px; }
}

/* ============================ 绉诲姩绔€傞厤锛堢浜岃疆鎵撶（锛?============================ */

.search-btn { display: none; }

@media (max-width: 900px) {
  .search-btn { display: inline-flex; align-items: center; justify-content: center; }
  .hdr-in { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
  .brand-mark img { width: 27px; height: 27px; }
  .brand { gap: 9px; }
  .icon-btn { width: 34px; height: 34px; }
  .hdr-actions { gap: 2px; }
  .bell-btn .dot { top: 7px; right: 7px; }

  .page-hd { margin-bottom: 12px; }
  .page-hd h1 { font-size: 20px; }
  .page-hd p { font-size: 12px; line-height: 1.55; }

  .crumb { flex-wrap: nowrap; overflow: hidden; }
  .crumb > * { flex: 0 0 auto; }
  .crumb > :last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .feed-bar { gap: 6px; }
  .feed-tabs { overflow-x: auto; scrollbar-width: none; }
  .feed-tabs::-webkit-scrollbar { display: none; }
  .feed-tab { white-space: nowrap; }

  .post { padding: 14px 15px; gap: 12px; }
  .post h3 { font-size: 15.5px; line-height: 1.45; }
  .post-excerpt { font-size: 12.5px; -webkit-line-clamp: 3; }
  .post-foot { gap: 11px; font-size: 11px; margin-top: 9px; }
  .post-cover { width: 88px; height: 66px; font-size: 23px; border-radius: 10px; }

  .thread-title { font-size: 19px; line-height: 1.42; }
  .thread-body { font-size: 14.5px; line-height: 1.85; }
  .md { font-size: 14.5px; line-height: 1.85; }
  .md h2 { font-size: 17px; margin: 20px 0 8px; }
  .md h3 { font-size: 15.5px; }
  .thread-actions { gap: 6px; }
  .thread-actions .btn { padding: 8px 12px; font-size: 12.5px; }

  .board-card { padding: 14px 15px; }
  .board-card .bc-foot { margin-top: 8px; padding-top: 8px; }

  .profile-hero { height: 88px; }
  .profile-main { padding: 0 15px 15px; }
  .profile-avatar { margin-top: -34px; gap: 11px; }
  .profile-id h1 { font-size: 18px; }
  .profile-bio { margin-top: 11px; font-size: 13px; }
  .profile-stats { gap: 0; justify-content: space-between; }
  .profile-stats > * { flex: 1 1 0; min-width: 0; text-align: center; }
  .profile-stats b { font-size: 16px; }
  .profile-stats a, .profile-stats div { font-size: 11px; }
  .profile-tabs { overflow-x: auto; scrollbar-width: none; padding: 0 6px; }
  .profile-tabs::-webkit-scrollbar { display: none; }
  .profile-tabs a { padding: 11px 9px; font-size: 13px; white-space: nowrap; }

  .msg-layout { min-height: 0; }
  .chat { min-height: 60vh; }
  .chat-input { padding: 9px 12px; gap: 7px; }
  .chat-input .btn { padding: 8px 12px; }

  .foot { margin-top: 6px; }
  .foot-in { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 16px calc(22px + env(safe-area-inset-bottom)); }
  .foot-links { flex-wrap: wrap; gap: 12px; }

  .modal-mask { padding: 3vh 8px 8px; }
  .modal-panel { border-radius: 16px; max-height: 94vh; }
  .menu { width: 216px; }
  .reply-box { padding: 14px 15px; }
  .notif { padding: 12px 14px; }
}

@media (max-width: 520px) {
  .hdr-in { padding: 0 12px; }
  .shell { padding: 10px 12px 26px; }
  .hero { padding: 14px 14px; gap: 11px; border-radius: 14px; }
  .hero-txt h2 { font-size: 16px; }
  .hero-txt p { font-size: 11.5px; }
  .compose-cta { padding: 12px 13px; }
  .compose-cta .cta-text { font-size: 13px; }

  .thread-title { font-size: 18px; }
  .thread-head { padding: 16px 14px 12px; }
  .thread-body { padding: 2px 14px 16px; }
  .thread-actions { padding: 10px 14px; }

  .post-cover { display: none; }
  .post h3 { font-size: 15px; }

  .profile-stats b { font-size: 15px; }
  .profile-avatar { flex-wrap: wrap; }
  .profile-actions { margin-left: 0; width: 100%; padding-bottom: 0; }

  .board-grid { gap: 10px; }
  .board-card .bc-top { margin-bottom: 7px; }
  .board-ico { width: 32px; height: 32px; }

  .form-row { grid-template-columns: 1fr; }
  .composer { border-radius: 14px; }
  .tabbar em { font-size: 9.5px; }
  .tabbar a .ic { width: 20px; height: 20px; }
  .tab-compose span { width: 42px; height: 32px; }
}

/* 绐勫睆涓嬬鐢ㄥ乏鍙虫爮鐨?sticky锛堢渷寰楀拰铏氭嫙婊氬姩鎵撴灦锛?*/
@media (max-width: 1023px) {
  .rail-left, .rail-right { position: static; max-height: none; overflow: visible; }
}

.chat-back { display: none; align-items: center; justify-content: center; width: 30px; height: 30px; margin-right: 2px; border-radius: 9px; color: var(--text-muted); text-decoration: none; }
.chat-back:hover { background: var(--bg3); color: var(--text); }
@media (max-width: 900px) { .chat-back { display: inline-flex; } }

@media (max-width: 900px) {
  .composer { width: calc(100vw - 16px); max-height: calc(100vh - 32px); display: flex; flex-direction: column; }
  .composer-hd { padding: 14px 16px; }
  .composer-body { min-height: 0; flex: 1; overflow: hidden; }
  .composer-col { max-height: none; overflow-y: auto; padding: 14px 16px; }
  .composer-foot { padding: 12px 16px; position: sticky; bottom: 0; background: var(--card-bg); }
  .composer-foot .foot-note { display: none; }
}

@media (max-width: 900px) {
  .foot { margin-bottom: calc(58px + env(safe-area-inset-bottom)); }
}

/* ============================================================
   瀵归綈鍙傝€冪珯瀹炴祴灏哄锛坅udit 2026-11-19锛?280脳800锛?   鍒楀 196 | 740 | 228锛岄棿璺?30锛涙鏂囪 20px 涓婁笅鐣欑櫧 + 缁嗗垎鍓茬嚎
   ============================================================ */
:root { --maxw: 1224px; --rail-r: 228px; --gap: 30px; }

body { background: #fff; }
html.dark body { background: var(--bg); }
.shell { padding: 24px 28px 80px; column-gap: 30px; row-gap: 22px; grid-template-columns: 196px minmax(0, 1fr) 228px; max-width: 1280px; }

/* 澶撮儴 */
.hdr { background: #fff; backdrop-filter: none; border-bottom: 1px solid var(--line); }
html.dark .hdr { background: var(--bg2); }
.hdr-in { padding: 0 28px; gap: 20px; }
.brand { gap: 8px; }
.brand-text strong { font-size: 18px; font-weight: 750; letter-spacing: -0.63px; }
.brand-text em { font-size: 10px; margin-top: 2px; }
.nav { gap: 18px; margin-left: 0; }
.nav a { font-size: 13px; font-weight: 400; padding: 0 3px; color: var(--text-muted); }
.nav a[aria-current="page"] { font-weight: 600; color: var(--brand-c); }
.hdr-search { width: 240px; height: 36px; border-radius: 8px; background: #f5f7fa; }
html.dark .hdr-search { background: var(--bg3); }
.hdr-search input { font-size: 12px; }
.hdr-search kbd { border-radius: 5px; background: #f4f6fa; }
.btn-login, .hdr-actions .btn-primary { border-radius: 8px; }

/* 涓爮鍒楄〃锛氬幓鎺夊崱鐗囧寲锛屾敼涓虹粏鍒嗗壊绾跨殑鏂囩珷琛?*/
.post-list { background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.post { padding: 20px 0; border-bottom: 1px solid #eef1f5; border-radius: 0; gap: 24px; }
html.dark .post { border-bottom-color: var(--line); }
.post:hover { background: #fafbfc; }
html.dark .post:hover { background: rgba(255, 255, 255, .03); }
.post-meta { margin-bottom: 7px; gap: 8px; }
.post .chip, .chip { height: 24px; border-radius: 5px; font-size: 11px; font-weight: 600; color: var(--text-muted); background: #f5f7fa; padding: 0 7px; }
html.dark .chip { background: var(--bg3); }
.chip-warm { background: #fdf3ee; color: #b8482b; }
.chip-green { background: #eef6f0; color: #2f7d4a; }
.post h3, .post-title { font-size: 18px; font-weight: 650; line-height: 1.45; letter-spacing: -0.27px; }
.post-excerpt { font-size: 13px; line-height: 22px; margin-top: 7px; color: var(--text-muted); }
.post-foot { margin-top: 11px; font-size: 11.5px; color: var(--faint); }
.post-foot .avatar.sm { width: 18px; height: 18px; font-size: 10px; }
.post-stat { font-size: 11.5px; }
.post-cover { width: 100px; height: 66px; border-radius: 8px; font-size: 26px; }
.post-tag { font-size: 11.5px; color: var(--text-muted); }

/* 宸︽爮 */
.rail-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px 18px 0; }
.rail-head b { font-size: 12px; font-weight: 650; color: var(--text-muted); letter-spacing: 0.02em; }
.rail-head span { font-size: 10px; color: var(--faint); letter-spacing: 0.08em; }
.rail-left { gap: 4px; }
.promo-card { display: block; position: relative; height: 120px; border-radius: 12px; background: #ffe56d; padding: 8px 12px; text-decoration: none; color: #29271f; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.promo-card b { display: block; font-size: 15px; font-weight: 700; }
.promo-card .marks { position: absolute; right: 10px; top: 8px; font-size: 11px; letter-spacing: 3px; color: #b8a13a; }
.promo-card .art { position: absolute; left: 10px; right: 10px; bottom: 34px; font-size: 26px; line-height: 1; transition: transform .2s ease; }
.promo-card .pmeta { position: absolute; left: 12px; bottom: 9px; font-size: 10px; color: #6b6450; }
.promo-card .go { position: absolute; right: 10px; bottom: 8px; font-size: 10px; font-weight: 600; background: #29271f; color: #ffe56d; border-radius: 999px; padding: 2px 8px; transition: transform .2s ease; }
.promo-card.promo-photo { background:#dbeafe; color:#1e3a5f; }
.promo-card.promo-photo .marks { color:#7aa7e0; }
.promo-card.promo-photo .pmeta { color:#4a6485; }
.promo-card.promo-photo .go { background:#1e3a5f; color:#dbeafe; }
.promo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.promo-card:hover .art { transform: scale(1.12); }
.promo-card:hover .go { transform: translateX(3px); }
.pill-link, .nav-pill { display: flex; align-items: center; gap: 10px; height: 44px; padding: 10px 12px; border-radius: 12px; font-size: 13px; font-weight: 500; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
button.nav-pill { width: 100%; border: 0; cursor: pointer; font-family: inherit; text-align: left; }
.pill-link.music, .nav-pill.purple { background: #f1ecfe; color: #4b3a7a; }
.pill-link.focus, .nav-pill.green { background: #e9f4ec; color: #2f5c3c; }
.nav-pill.pink { background: #fdeaf1; color: #6b2f47; }
.nav-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); filter: brightness(1.04); }
.nav-pill svg { transition: transform .18s ease; }
.nav-pill:hover svg { transform: translateX(3px); }
.rail-sub { display: flex; align-items: center; justify-content: space-between; padding: 14px 2px 6px; }
.rail-sub b { font-size: 12px; font-weight: 650; color: var(--text-muted); }
.rail-sub span { font-size: 10.5px; color: var(--faint); }
.nav-all, .bg-title, .b-item, .rail-link { border-radius: 12px; font-size: 13px; }
.nav-all { height: 44px; padding: 10px 12px; }
.bg-title { height: 44px; padding: 10px 12px; font-weight: 500; }
.b-item { padding: 9px 12px 9px 34px; }
.rail-links { margin-top: 12px; gap: 2px; }
.rail-link { height: 38px; padding: 8px 12px; font-size: 12px; }

/* 鍙虫爮 */
.r-card { background: transparent; border: 0; border-radius: 14px; padding: 0; }
.r-card + .r-card { margin-top: 4px; }
.r-hd, .r-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 18px; font-size: 13px; font-weight: 650; letter-spacing: 0.26px; }
.r-title .sub, .r-hd .sub { font-size: 10px; font-weight: 400; color: var(--faint); }
.pulse-card { background: #f5f7fa; border-radius: 14px; padding: 12px; }
html.dark .pulse-card { background: var(--bg3); }
.pulse-card .r-title { padding: 0 0 6px; }
.pulse { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.pulse > div b { font-size: 26px; font-weight: 550; letter-spacing: -1.04px; line-height: 1.25; }
.pulse > div span { font-size: 10px; font-weight: 550; color: var(--faint); }
.r-card .online-list { padding: 4px 18px 14px; }
.online-user { font-size: 12px; }
.r-card details, details.r-card { border-radius: 14px; }
details.r-card { border: 1px solid var(--line); background: #fff; overflow: hidden; }
html.dark details.r-card { background: var(--bg2); }
details.r-card > summary { display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 8px 18px; font-size: 13px; font-weight: 650; letter-spacing: 0.26px; cursor: pointer; list-style: none; }
details.r-card > summary::-webkit-details-marker { display: none; }
details.r-card > summary .ic { transition: transform .18s ease; }
details.r-card[open] > summary .ic { transform: rotate(180deg); }
.racc-body { padding: 4px 18px 17px; }
.racc-body .rank-item { font-size: 12.5px; }
.shortcuts { padding: 6px 0 5px; }
.shortcuts h2 { font-size: 12px; font-weight: 650; padding: 0 10px; margin-bottom: 4px; }
.shortcuts .sc-row { display: flex; align-items: center; justify-content: space-between; padding: 4px 10px; font-size: 12px; color: var(--text-muted); text-decoration: none; }
.shortcuts .sc-hint { font-size: 11px; color: var(--faint); padding: 8px 10px 4px; }
.billboard { display: block; height: 216px; border-radius: 18px; background: #143862; color: #fff; padding: 24px 20px; text-decoration: none; position: relative; overflow: hidden; }
.billboard b { display: block; font-size: 16px; line-height: 1.5; }
.billboard > span { position: absolute; right: 16px; bottom: 14px; font-size: 34px; }
.billboard.bio-card { height: auto; padding: 16px 14px; }
.bio-hd { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.bio-hd b { font-size: 15px; }
.bio-hd span { position: static; font-size: 11px; opacity: .7; }
.bio-list { display: flex; flex-direction: column; gap: 2px; }
.bio-row { display: flex; align-items: center; gap: 10px; padding: 7px 6px; border-radius: 10px; color: #fff; text-decoration: none; }
.bio-row:hover { background: rgba(255, 255, 255, .1); }
.bio-row > svg:first-child { width: 18px; height: 18px; flex: none; opacity: .85; }
.bio-tx { flex: 1; min-width: 0; }
.bio-tx b { display: block; font-size: 13.5px; line-height: 1.3; }
.bio-tx em { display: block; font-style: normal; font-size: 11px; opacity: .65; }
.bio-row > svg:last-child { width: 14px; height: 14px; opacity: .6; }

/* 鍙虫爮琛ュ厖锛氬湪绾垮ご鍍忚銆佽瘽棰樹簯銆佹敹钘忓窘鏍?*/
.online-body { padding: 2px 18px 14px; }
.online-row { display: flex; gap: 8px; margin-bottom: 10px; }
.online-count { font-size: 12px; color: var(--faint); }
.online-user .avatar { width: 30px; height: 30px; font-size: 12.5px; }
.topic-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { border-radius: 999px; background: #f5f7fa; }
html.dark .topic { background: var(--bg3); }
.badge { font-style: normal; background: var(--brand-c); color: #fff; font-size: 10px; font-weight: 650; border-radius: 999px; padding: 0 5px; }

/* 缁嗚妭淇锛氬鑸笅鍒掔嚎瀹藉害銆佸湪绾垮ご鍍忔崲琛屻€佸搧鐗岃楂?*/
.nav a[aria-current="page"] { color: var(--brand-c); font-weight: 600; }
.online-row { flex-wrap: wrap; }
.online-user .avatar { width: 30px; height: 30px; }
.brand-text em { font-size: 10px; letter-spacing: 0; }

/* 绀惧尯鍏憡寮圭獥 */
.notice-panel { width: min(560px, 92vw); }
.notice-hd { padding: 4px 4px 6px; }
.notice-hd h2 { font-size: 15px; font-weight: 650; letter-spacing: 0.02em; }
.notice-body { padding: 6px 4px 14px; }
.notice-body p { font-size: 13px; line-height: 1.9; color: var(--text-muted); margin: 0 0 12px; }
.notice-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); cursor: pointer; }
.notice-check input { width: 16px; height: 16px; accent-color: var(--brand-c); }
.notice-tip { font-size: 11.5px; color: var(--faint); margin: 10px 0 0; }
.notice-ft { display: flex; justify-content: flex-start; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }

/* 鍏憡寮圭獥瀹藉害淇 */
.notice-panel { width: 100%; padding: 18px 22px 16px; }
.notice-hd { padding: 0 0 8px; }
.notice-modal { width: min(560px, 94vw); }

/* 鍒楄〃琛岋細鏍囬鍐呰仈鏍囩 + 搴曢儴鍗曡鍏冧俊鎭紙瀵归綈鍙傝€冪珯锛?*/
.post h3 { font-size: 18px; font-weight: 650; line-height: 26px; letter-spacing: -0.27px; }
.pin-label { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; margin-right: 8px; border-radius: 5px; background: #fdf3ee; color: #b8482b; font-size: 11px; font-weight: 600; vertical-align: 3px; }
.pin-label.feature { background: #eef6f0; color: #2f7d4a; }
.post-foot { display: flex; align-items: center; gap: 8px; height: 32px; margin-top: 11px; font-size: 11.5px; }
.post-foot .chip { height: 24px; }
.post-who { display: inline-flex; align-items: center; gap: 6px; }
.post-who .avatar { width: 18px; height: 18px; font-size: 10px; }
.who-name { font-size: 11.5px; font-weight: 570; color: var(--text-muted); }
.who-lvl { font-size: 10.5px; color: var(--faint); }
.post-sep { color: var(--faint); }
.post-time { color: var(--faint); font-size: 11.5px; }
.post-acts { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.post-acts .post-stat { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 550; color: var(--text-muted); }
.post-acts .ic { width: 14px; height: 14px; }
.post-acts .liked { color: #d0455b; }
.post-meta { display: none; }

/* 灏侀潰缂╃暐鍥惧榻愬弬鑰冪珯 132脳100 */
.post-cover { width: 132px; height: 100px; border-radius: 7px; font-size: 34px; }
@media (max-width: 900px) { .post-cover { width: 88px; height: 66px; font-size: 24px; } }

/* 涓庡弬鑰冪珯瀵归綈锛歨ero 112 / 73锛宖eedbar 54锛宧int 19 */
.hero { min-height: 112px; padding: 20px 22px; }
.hero-b { min-height: 73px; padding: 14px 20px; }
.hero h2, .hero b { font-size: 26px; }
.feed-bar { height: 54px; }
.feed-hint { min-height: 19px; font-size: 11.5px; }

.hero.hero-b { min-height: 73px; padding: 12px 20px; }
.feed-hint { height: 19px; padding: 0; line-height: 19px; display: flex; align-items: center; }

.hero.hero-b { height: auto; min-height: 73px; padding: 10px 20px; }
.hero.hero-b .hero-art, .hero.hero-b .hero-ico { width: 40px; height: 40px; font-size: 22px; }
.hero.hero-b .hero-geo { width: 40px; height: 40px; border-radius: 12px; }
.hero.hero-b .hero-geo svg { width: 22px; height: 22px; }
.hero.hero-b h2, .hero.hero-b b { font-size: 22px; }

.hero.hero-a .hero-art { width: 56px; height: 56px; border-radius: 14px; font-size: 30px; }

/* dembrandt 瀹炴祴锛氭寜閽?44 楂?/ 鍦嗚 11 / 杈规 #e5eaf1锛涘崱鐗囬槾褰卞亸鏆栭粦 */
.btn { border-radius: 11px; min-height: 40px; padding: 0 14px; }
.btn-sm { min-height: 32px; border-radius: 9px; padding: 0 11px; }
.btn-lg { min-height: 44px; border-radius: 11px; padding: 0 18px; }
.card, .r-card, .r-section { box-shadow: 0 1px 2px rgba(27, 30, 27, .04); }
.modal-panel { box-shadow: rgba(27, 30, 27, .12) 0 12px 36px; }
.ui-input, .composer input, .composer textarea { border-radius: 8px; }

/* ================= 琛ㄥ崟绮句慨锛堢櫥褰?娉ㄥ唽锛?================= */
.auth-body { display: grid; gap: 14px; }
.fld { display: grid; gap: 6px; }
.fld-label { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--text); }
.fld-label .req, .fld-label .opt { font-size: 10px; font-weight: 600; letter-spacing: .02em; padding: 1px 6px; border-radius: 999px; }
.fld-label .req { color: #b8482b; background: #fdf3ee; }
.fld-label .opt { color: var(--text-muted); background: var(--bg3); }
.fld-help { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--text-muted); }
.fld-help.is-strong { color: #2f7d4a; }
.fld-err { margin: 0; font-size: 11.5px; line-height: 1.5; color: #c0392b; }
.fld.is-invalid .input { border-color: #e6a79a; background: #fff7f4; }
.fld.is-invalid .input:focus { box-shadow: 0 0 0 3px rgba(192, 57, 43, .12); }
html.dark .fld-label .req { color: #f0a08a; background: rgba(184, 72, 43, .18); }
html.dark .fld.is-invalid .input { border-color: #8d4a3e; background: rgba(184, 72, 43, .1); }

.pw-wrap { position: relative; display: block; }
.pw-wrap .input { padding-right: 40px; }
.pw-eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 8px; background: transparent; color: var(--text-muted); cursor: pointer;
  transition: background 150ms var(--ease-out, ease-out), color 150ms ease;
}
.pw-eye:hover { background: var(--bg3); color: var(--text); }
.pw-eye .ic { width: 16px; height: 16px; }

.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 2px; }
.pw-meter i { height: 3px; border-radius: 999px; background: var(--line-c); transition: background 200ms ease; }
.pw-meter[data-score="1"] i:nth-child(-n+1) { background: #d9534f; }
.pw-meter[data-score="2"] i:nth-child(-n+2) { background: #e0a03b; }
.pw-meter[data-score="3"] i:nth-child(-n+3) { background: #7cb342; }
.pw-meter[data-score="4"] i:nth-child(-n+4) { background: #2f9e44; }

.auth-err:not([hidden]) { display: block; padding: 8px 11px; border-radius: 10px; font-size: 12px; background: #fff4f1; color: #b03a2e; }
html.dark .auth-err:not([hidden]) { background: rgba(184, 72, 43, .16); color: #f2a894; }
.auth-body .btn-block { margin-top: 2px; }

.auth-err:empty { display: none !important; }

/* 娣辫壊涓嬩笁鏋氬僵鑹茶嵂涓稿帇浣庨ケ鍜屽害锛岄伩鍏嶅埡鐪?*/
html.dark .pill-link { background: rgb(255 255 255 / 5%); color: var(--text); }
html.dark .pill-link.music { background: rgba(148, 120, 255, .16); color: #cbbcff; }
html.dark .pill-link.focus { background: rgba(60, 180, 130, .14); color: #9fe0bf; }
html.dark .pill-link:hover { background: rgb(255 255 255 / 9%); }

/* 娣辫壊涓嬪乏鏍忎笁鏋氳嵂涓革紙鐪熷疄绫诲悕 .nav-pill锛?*/
html.dark .nav-pill { background: rgb(255 255 255 / 5%); color: var(--text); border-color: var(--line-c); }
html.dark .nav-pill.pink { background: rgba(255, 120, 150, .14); color: #ffb3c4; }
html.dark .nav-pill.purple { background: rgba(148, 120, 255, .16); color: #cbbcff; }
html.dark .nav-pill.green { background: rgba(60, 180, 130, .14); color: #9fe0bf; }
html.dark .nav-pill:hover { filter: brightness(1.12); }

/* 1920 绛夊灞忥細鍙傝€冪珯瀹瑰櫒鏄?1600 鑰屼笉鏄?1280锛屼腑鏍忛殢瑙嗗彛鍙樺 */
:root { --maxw: 1600px; }
.shell { max-width: 1600px; }
.hdr-in { max-width: 1600px; }
.foot-in { max-width: 1600px; }

/* 琛岄珮瀵归綈锛氬弬鑰冪珯 2 琛屾憳瑕?160銆? 琛屾憳瑕?138 */
.post-excerpt { margin-top: 4px; }
.post-foot { margin-top: 9px; }
/* 鍙虫爮鍗＄墖瀹藉害瀵归綈鍙傝€冪珯鐨?216锛堟爮瀹?228锛?*/
.rail-right .r-card, .rail-right .billboard { width: 216px; }

/* 琛岄珮鍥為€€锛氬疄娴?161/141锛屼笌鍙傝€?160/138 浠呭樊 1鈥?px锛岄伩鍏嶈繃搴︽嫙鍚?*/
.post-excerpt { margin-top: 5px; }
.post-foot { margin-top: 10px; }

/* ===== 闂ㄦ埛椤碉細瀛︿範 / 鍗囧 ===== */
.mine-list { padding: 4px 0 8px; }
.mine-list a { display: flex; align-items: center; gap: 9px; padding: 7px 0; color: var(--text-muted); text-decoration: none; font-size: 12.5px; }
.mine-list a span { flex: 1; }
.mine-list a .ic { width: 15px; height: 15px; }
.mine-list a:hover { color: var(--brand-ink); }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card-link { display: block; padding: 18px 20px; background: var(--card-bg); border: 1px solid var(--line-c); border-radius: var(--r-lg); text-decoration: none; color: inherit; transition: border-color .16s, transform .16s; }
.card-link:hover { border-color: var(--line-strong-c); transform: translateY(-1px); }
.card-link .cl-ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft-c); color: var(--brand-ink); margin-bottom: 10px; }
.card-link b { display: block; font-size: 14.5px; font-weight: 650; }
.card-link p { margin-top: 4px; font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }
.card-link .cl-go { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 12px; color: var(--brand-ink); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.table-card { padding: 4px 0; overflow-x: auto; }
.req-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.req-table th { text-align: left; padding: 12px 18px; font-size: 11.5px; font-weight: 600; color: var(--text-muted); border-bottom: 1px solid var(--line-c); white-space: nowrap; }
.req-table td { padding: 12px 18px; border-bottom: 1px solid var(--line-c); white-space: nowrap; }
.req-table tr:last-child td { border-bottom: 0; }
.req-table tbody tr:hover { background: var(--bg2); }
.muted-note { font-size: 12.5px; color: var(--text-muted); line-height: 1.8; }

/* ===== 瀛︿範璧勬簮搴?/learn ===== */
.learn-wrap { display: grid; grid-template-columns: 212px minmax(0, 1fr); gap: 22px; align-items: start; }
.learn-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 3px; }
.learn-side-t { font-size: 12px; font-weight: 600; color: var(--text-muted); padding: 8px 12px 6px; letter-spacing: .02em; }
.learn-cat { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 8px 12px; border: 0; background: transparent; border-radius: 10px; font-size: 13.5px; color: var(--text-muted); cursor: pointer; text-align: left; }
.learn-cat:hover { background: var(--bg2); color: var(--text); }
.learn-cat.on { background: var(--brand-soft-c); color: var(--brand-ink); font-weight: 600; }
.learn-cat span { font-size: 11.5px; opacity: .7; font-weight: 400; }
.learn-main { min-width: 0; }
.learn-search { position: relative; margin-bottom: 14px; }
.ls-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--text-muted); pointer-events: none; }
.learn-search input { width: 100%; padding: 13px 46px 13px 42px; border: 1px solid var(--line-c); border-radius: 14px; background: var(--card-bg); font-size: 14px; color: var(--text); }
.learn-search input:focus { outline: 2px solid var(--brand-soft-c); border-color: var(--brand-ink); }
.learn-search kbd { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-family: inherit; font-size: 11px; color: var(--text-muted); border: 1px solid var(--line-c); border-radius: 6px; padding: 2px 7px; }
.learn-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.learn-sel { padding: 9px 12px; border: 1px solid var(--line-c); border-radius: 10px; background: var(--card-bg); font-size: 13px; color: var(--text); cursor: pointer; }
.learn-summary { font-size: 12.5px; color: var(--text-muted); margin: 2px 2px 14px; }
.learn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lr-card { position: relative; display: block; padding: 16px 18px; background: var(--card-bg); border: 1px solid var(--line-c); border-radius: 14px; text-decoration: none; color: inherit; transition: border-color .16s, transform .16s, box-shadow .16s; }
.lr-card:hover { border-color: var(--line-strong-c); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.lr-top { display: flex; gap: 10px; align-items: flex-start; }
.lr-top b { font-size: 14.5px; font-weight: 650; line-height: 1.5; }
.lr-star { margin-left: auto; flex: 0 0 auto; background: none; border: 0; cursor: pointer; color: var(--text-muted); padding: 2px; display: grid; place-items: center; }
.lr-star svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: all .15s; }
.lr-star.on { color: #f5b301; }
.lr-star.on svg { fill: #f5b301; stroke: #f5b301; }
.lr-title { color: inherit; text-decoration: none; }
.lr-title:hover b { color: var(--brand-ink); }
.lr-src { display: block; font-size: 11.5px; color: var(--text-muted); margin-top: 5px; text-decoration: none; }
.lr-src:hover { color: var(--brand-ink); }
.lr-meta { font-size: 12.5px; color: var(--text-muted); line-height: 1.65; margin-top: 4px; }
.lr-stat { font-size: 12px; color: var(--text-muted); margin-top: 9px; }
.lr-chip { display: inline-block; font-size: 11px; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft-c); color: var(--brand-ink); }
.learn-empty { padding: 48px 20px; text-align: center; color: var(--text-muted); font-size: 13.5px; }

/* ===== 鍗囧瑕佹眰搴?/xuanxiao ===== */
.goal-hero { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 18px 20px; background: linear-gradient(135deg, var(--brand-c), #2563eb); color: #fff; border-radius: 16px; margin-bottom: 16px; }
.goal-left { min-width: 150px; }
.goal-eyebrow { font-size: 12px; opacity: .85; letter-spacing: .04em; }
.goal-num { font-size: 38px; font-weight: 700; line-height: 1.1; }
.goal-num span { font-size: 15px; font-weight: 500; margin-left: 4px; opacity: .9; }
.goal-sub { font-size: 12.5px; opacity: .88; margin-top: 2px; }
.goal-tiles { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; }
.goal-tile { background: rgba(255,255,255,.16); border-radius: 12px; padding: 10px 14px; min-width: 86px; }
.goal-tile span { display: block; font-size: 11.5px; opacity: .85; }
.goal-tile b { font-size: 19px; font-weight: 650; }
.goal-hero .btn-ghost { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.35); }
.goal-set-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.goal-set-row > span { width: 72px; font-size: 13.5px; color: var(--text-muted); flex-shrink: 0; }
.goal-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.goal-chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-c); background: var(--bg2); font-size: 13.5px; cursor: pointer; }
.goal-chip.on { background: var(--brand-c); color: #fff; border-color: var(--brand-c); }

/* 鎵囧舰閫夋嫨鍣細浠庡簳閮ㄦ灑杞村睍寮€锛屽儚鎵嬫墖/瀛旈泙寮€灞?*/
.goal-set-row.fan-row { display: block; margin-bottom: 4px; }
.goal-set-row.fan-row > span { display: block; width: auto; margin: 0 0 2px 4px; font-size: 12px; letter-spacing: .04em; }
.fan-picker { position: relative; height: 154px; width: 100%; overflow: visible; }
.fan-picker::before {
  content: ""; position: absolute; left: 50%; bottom: 20px; width: 104px; height: 104px;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--brand)/.12), transparent 68%);
  opacity: 0; transition: opacity .4s ease .18s;
}
.fan-picker.open::before { opacity: 1; }
.fan-chip {
  position: absolute; left: 50%; bottom: 14px; z-index: 1;
  min-width: 54px; height: 34px; padding: 0 12px;
  border: 1px solid var(--line-c); border-radius: 999px;
  background: var(--card-bg); color: var(--text);
  font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
  transform: translate(-50%, 0) scale(.24) rotate(0deg);
  opacity: 0; transform-origin: 50% 100%;
  transition: transform .62s cubic-bezier(.16, 1, .3, 1), opacity .28s ease, background .18s ease, color .18s ease, box-shadow .2s ease;
  transition-delay: calc(var(--i) * 38ms);
}
.fan-picker.open .fan-chip {
  transform: translate(calc(-50% + var(--fx)), calc(-1 * var(--fy))) rotate(var(--fr)) scale(1);
  opacity: 1;
}
.fan-chip:hover { z-index: 4; background: var(--brand-soft-c); color: var(--brand-c); box-shadow: 0 10px 24px rgb(var(--brand)/.22); }
.fan-chip.on {
  z-index: 3; background: var(--brand-c); color: #fff; border-color: var(--brand-c);
  box-shadow: 0 10px 26px rgb(var(--brand)/.38);
}
.fan-picker.open .fan-chip.on { transform: translate(calc(-50% + var(--fx)), calc(-1 * var(--fy))) rotate(var(--fr)) scale(1.1); }
@media (max-width: 520px) {
  .fan-picker { height: 144px; }
  .fan-chip { min-width: 46px; padding: 0 9px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .fan-chip, .fan-picker::before { transition: none !important; }
}
/* 鍗囧鍥涢〉绛撅細瑕佹眰 / 璺嚎 / 鍏嶈垂鐢宠 / QS */
.xx-tabs { display: flex; gap: 2px; margin: 2px 0 18px; border-bottom: 1px solid var(--line-c); overflow-x: auto; scrollbar-width: none; }
.xx-tabs::-webkit-scrollbar { display: none; }
.xx-tab { position: relative; flex: 0 0 auto; padding: 11px 16px; border: 0; background: none; color: var(--text-muted); font-size: 13.5px; font-weight: 500; cursor: pointer; border-radius: 10px 10px 0 0; transition: color .16s ease, background .16s ease; }
.xx-tab:hover { color: var(--text); background: rgb(var(--brand)/.05); }
.xx-tab.on { color: var(--brand-ink); font-weight: 650; box-shadow: inset 0 -2px 0 var(--brand-c); }
.xx-tab.on::after { display: none; }
.xx-panel[hidden] { display: none !important; }
#view:not(.no-anim) .xx-panel { animation: riseSoft .36s var(--ease-page) both; }
.xx-road { position: relative; margin: 4px 0 8px; }
.xx-road::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 1px; background: linear-gradient(var(--line-c), transparent); }
.xx-road-item { position: relative; display: flex; gap: 14px; padding: 0 0 18px; }
.xx-road-dot { position: relative; z-index: 1; flex: 0 0 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg2); border: 1px solid var(--line-c); color: var(--text-muted); font-size: 11px; font-weight: 700; }
.xx-road-item.done .xx-road-dot { background: var(--brand-soft-c); border-color: transparent; color: var(--brand-ink); }
.xx-road-item.now .xx-road-dot { background: var(--brand-c); color: #fff; border-color: transparent; box-shadow: 0 0 0 6px rgb(var(--brand)/.12); }
.xx-road-main { flex: 1; min-width: 0; padding: 8px 14px 12px; border: 1px solid var(--line-c); border-radius: 14px; background: var(--card-bg); transition: border-color .18s ease, transform .18s ease; }
.xx-road-item.now .xx-road-main { border-color: rgb(var(--brand)/.4); background: linear-gradient(120deg, rgb(var(--brand)/.06), transparent 60%); }
.xx-road-item:hover .xx-road-main { transform: translateX(2px); border-color: rgb(var(--brand)/.35); }
.xx-road-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.xx-road-h b { font-size: 14px; }
.xx-road-h em { font-style: normal; font-size: 11.5px; color: var(--brand-ink); font-weight: 600; white-space: nowrap; }
.xx-road-main p { margin: 5px 0 0; font-size: 12.5px; color: var(--text-muted); line-height: 1.75; }
.xx-continent { margin-bottom: 26px; }
.xx-continent > h3 { display: flex; align-items: baseline; gap: 8px; font-size: 17px; margin: 0 0 12px; }
.xx-continent > h3 span, .xx-country-h span { font-size: 11px; color: var(--text-faint); font-weight: 400; }
.xx-country { margin-bottom: 18px; padding: 14px; border: 1px solid var(--line-c); border-radius: 16px; background: var(--bg2); }
.xx-country-h { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.xx-country-note { margin: 6px 0 12px; font-size: 12px; color: var(--text-muted); line-height: 1.7; }
.xx-apply-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.xx-apply-card { padding: 12px; border-radius: 12px; background: var(--card-bg); border: 1px solid var(--line-c); transition: transform .18s ease, border-color .18s ease; }
.xx-apply-card:hover { transform: translateY(-2px); border-color: rgb(var(--brand)/.4); }
.xx-apply-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.xx-apply-top b { font-size: 13px; line-height: 1.5; }
.xx-tier { flex: 0 0 auto; font-size: 10.5px; padding: 2px 7px; border-radius: 999px; background: var(--brand-soft-c); color: var(--brand-ink); }
.xx-apply-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 5px; font-size: 11px; color: var(--text-muted); }
.xx-apply-note { margin: 7px 0; font-size: 11.5px; color: var(--text-muted); line-height: 1.6; }
.xx-apply-req { display: flex; gap: 8px; font-size: 11.5px; line-height: 1.6; margin-top: 3px; }
.xx-apply-req i { flex: 0 0 auto; font-style: normal; color: var(--text-faint); }
.xx-tips { margin-top: 8px; padding: 16px; border-radius: 14px; background: var(--brand-soft-c); }
.xx-tips h3 { font-size: 14px; margin: 0 0 8px; }
.xx-tips p { margin: 0 0 6px; font-size: 12px; line-height: 1.7; color: var(--text-muted); }
.xx-qs-tools { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.xx-qs-tools input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--line-c); border-radius: 12px; background: var(--card-bg); color: var(--text); font-size: 13px; }
.xx-qs-tools span { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.xx-qs-list { border: 1px solid var(--line-c); border-radius: 14px; overflow: hidden; background: var(--card-bg); }
.xx-qrow { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line-c); transition: background .15s ease; }
.xx-qrow:last-child { border-bottom: 0; }
.xx-qrow:hover { background: var(--bg2); }
.xx-qrank { flex: 0 0 34px; font-size: 12px; font-weight: 700; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.xx-qmain { flex: 1; min-width: 0; }
.xx-qmain b { display: block; font-size: 13px; }
.xx-qmain em { display: block; margin-top: 1px; font-style: normal; font-size: 11px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xx-qcountry { flex: 0 0 auto; font-size: 11px; color: var(--text-muted); }
.xx-empty { padding: 28px; text-align: center; color: var(--text-muted); font-size: 13px; }
@media (max-width: 720px) { .xx-apply-grid { grid-template-columns: minmax(0, 1fr); } .xx-road-main { padding: 7px 11px 10px; } }
.xx-note { font-size: 12.5px; color: var(--text-muted); line-height: 1.8; background: var(--bg2); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.xx-grade { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; background: var(--card-bg); border: 1px solid var(--line-c); border-radius: 14px; margin-bottom: 18px; }
.xx-grade-v { font-size: 13.5px; flex: 1; min-width: 140px; color: var(--text-muted); }
.xx-grade-v b { color: var(--text); font-weight: 600; }
.xx-grade-hint { font-size: 12px; color: var(--text-muted); width: 100%; }
.xx-regions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.xx-chip { padding: 7px 14px; border: 1px solid var(--line-c); border-radius: 999px; background: var(--card-bg); font-size: 13px; color: var(--text-muted); cursor: pointer; transition: all .15s; }
.xx-chip:hover { border-color: var(--line-strong-c); color: var(--text); }
.xx-chip.on { background: rgb(var(--brand-ink)); color: #fff; border-color: rgb(var(--brand-ink)); }
.xx-chip span { margin-left: 6px; font-size: 11px; opacity: .65; }
.xx-chip.on span { opacity: .85; }
.xx-summary { font-size: 12.5px; color: var(--text-muted); margin-bottom: 14px; }
.xx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
/* 鍗囧鏂瑰悜 路 涓撲笟鐩綍 */
.srch-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.mj-group { margin-bottom: 26px; }
.mj-gtitle { display: flex; flex-direction: column; gap: 3px; margin: 6px 0 12px; }
.mj-gtitle b { font-size: 17px; font-weight: 700; }
.mj-gtitle span { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }
.mj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.mj-card { background: var(--card-bg); border: 1px solid var(--line-c); border-radius: 15px; padding: 15px 16px;
  display: flex; flex-direction: column; gap: 9px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.mj-card:hover { transform: translateY(-2px); border-color: rgb(var(--brand)/.35); box-shadow: 0 8px 22px rgb(var(--brand)/.1); }
.mj-card-h b { font-size: 15px; font-weight: 650; }
.mj-row { display: flex; gap: 10px; font-size: 12.5px; line-height: 1.7; }
.mj-row i { flex: 0 0 34px; font-style: normal; color: var(--brand-ink); font-weight: 600; }
.mj-row span { color: var(--text-muted); flex: 1; }
@media (max-width: 720px) { .mj-grid { grid-template-columns: minmax(0, 1fr); } }
.xx-card { background: var(--card-bg); border: 1px solid var(--line-c); border-radius: 16px; padding: 18px; transition: border-color .16s; }
.xx-card.open { border-color: var(--line-strong-c); }
.xx-card-h { display: flex; gap: 12px; align-items: flex-start; }
.xx-card-t { flex: 1; min-width: 0; }
.xx-card-t b { font-size: 16px; font-weight: 650; display: block; }
.xx-en { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; }
.xx-qs { flex: 0 0 auto; font-size: 11.5px; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft-c); color: var(--brand-ink); font-weight: 600; }
.xx-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12.5px; color: var(--text-muted); margin: 10px 0 12px; }
.xx-req { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; padding: 10px 12px; background: var(--bg2); border-radius: 12px; }
.xx-req i { font-style: normal; font-size: 11px; color: var(--text-muted); display: block; }
.xx-req b { font-size: 13px; font-weight: 600; display: block; margin-top: 2px; }
.xx-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--brand-ink); background: none; border: 0; cursor: pointer; padding: 0; }
.xx-depts { margin-top: 14px; border-top: 1px dashed var(--line-c); padding-top: 14px; display: none; }
.xx-card.open .xx-depts { display: block; }
.xx-dept { padding: 12px 0; border-bottom: 1px solid var(--line-c); }
.xx-dept:last-child { border-bottom: 0; }
.xx-dept-h { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; font-weight: 600; }
.xx-dept-r { font-size: 12.5px; color: var(--text-muted); margin-top: 4px; line-height: 1.7; }
.xx-field { display: block; margin-bottom: 12px; }
.xx-field span { display: block; font-size: 12.5px; color: var(--text-muted); margin-bottom: 6px; }
.xx-field input { width: 100%; padding: 10px 12px; border: 1px solid var(--line-c); border-radius: 10px; font-size: 14px; background: var(--bg2); color: var(--text); }
@media (max-width: 760px) {
  .card-grid, .learn-grid, .xx-grid { grid-template-columns: minmax(0, 1fr); }
  .learn-wrap { grid-template-columns: minmax(0, 1fr); }
  .learn-side { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .learn-side-t { width: 100%; }
  .learn-cat { width: auto; }
  .xx-req { grid-template-columns: repeat(2, 1fr); }
}

/* 鏃堕棿绛涢€夋潯 + 鍒楄〃/鍗＄墖妯″紡 */
.range-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 14px; }
.range-chip { padding: 6px 14px; border: 1px solid var(--line-c); border-radius: 999px; background: var(--card-bg); font-size: 13px; color: var(--text-muted); cursor: pointer; transition: all .15s; }
.range-chip:hover { border-color: var(--line-strong-c); color: var(--text); }
.range-chip.on { background: rgb(var(--brand-ink)); color: #fff; border-color: rgb(var(--brand-ink)); }
.post-list.card-mode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.pcard { display: block; background: var(--card-bg); border: 1px solid var(--line-c); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .16s, transform .16s, box-shadow .16s; }
.pcard:hover { border-color: var(--line-strong-c); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
.pcard-cover { aspect-ratio: 16 / 9; background: var(--bg2); overflow: hidden; }
.pcard-cover img { width: 100%; height: 100%; object-fit: cover; }
.pcard-body { padding: 14px 16px; }
.pcard-body h3 { font-size: 15px; font-weight: 650; line-height: 1.5; margin-bottom: 6px; }
.pcard-ex { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.pcard-acts { display: flex; gap: 14px; font-size: 12.5px; color: var(--text-muted); }
.pcard-acts .liked { color: #e5484d; }
@media (max-width: 760px) { .post-list.card-mode { grid-template-columns: minmax(0, 1fr); } }

/* 鍝嶅簲寮忓垪瑕嗙洊锛氭闈富棰樺潡鍚庡啓锛岄渶鍦ㄦ閲嶇敵浠ュ厤鍘嬭繃绐勫睆甯冨眬 */
@media (max-width: 1023px) {
  .shell { grid-template-columns: var(--rail-l) minmax(0, 1fr); }
  .rail-right { display: none; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .rail-left { display: none; }
}


/* ============ 鑻规灉鍦嗚锛堣繛缁洸鐜囷級============
   鏍囧噯鍦嗚 = 鐭竟 脳 18%锛涘湪鏀寔 corner-shape 鐨勬祻瑙堝櫒涓婂彔鍔?squircle 杩炵画鏇茬巼銆?   涓嶆敮鎸佹椂鑷姩閫€鍥炴櫘閫氬渾瑙掞紝涓嶅奖鍝嶅竷灞€銆?*/
:root{
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px; --r-2xl: 26px; --r-pill: 999px;
}
@supports (corner-shape: squircle) {
  .card, .r-card, .post-cover, .promo, .billboard, .btn, .btn-sm, .btn-lg, .chip,
  .pin-label, .nav-pill, .hdr-search, .icon-btn, .brand-mark, .tool-card, .tool-input,
  .tool-field input, .tool-field select, .a-card, .a-metric, .a-btn, .a-chip, .a-input,
  .modal-panel, .drawer-panel, .auth-tabs, .fld input, .fld select, .fld textarea,
  .cal-month, .heat-cell, .qr-card, .menu, .thread-card, .notif, .msg-item, .bubble,
  .tool-btn, .tool-chip, .tool-tile, .pc-row, .req-table th, .req-table td {
    corner-shape: squircle;
  }
}
/* 鏂瑰舰鍥惧潡锛氱煭杈?18% */
.brand-mark { border-radius: 18%; }
.avatar { border-radius: 50%; }
/* 鍗＄墖涓庡鍣ㄧ粺涓€鍒版洿鏌斿拰鐨勫崐寰?*/
.card, .r-card, .tool-card, .a-card, .cal-month { border-radius: var(--r-xl); }
.post-cover { border-radius: var(--r-md); }
.btn { border-radius: var(--r-md); }
.btn-sm { border-radius: 10px; }
.chip, .pin-label { border-radius: 6px; }
.modal-panel { border-radius: var(--r-2xl); }
.tool-input, .tool-field input, .tool-field select { border-radius: var(--r-md); }
.billboard { border-radius: var(--r-2xl); }

/* ===== 闂ㄦ埛棣栭〉 portal ===== */
.portal-wrap { display:flex; flex-direction:column; gap:18px; }
.portal-hero { padding: 18px 4px 4px; }
.portal-title { font-size: clamp(26px,4vw,38px); font-weight:800; letter-spacing:-.02em; color:var(--text); margin:0 0 8px; line-height:1.2; }
.portal-title .hl { color:var(--brand-c); }
.portal-sub { color:var(--text-muted); font-size:14.5px; margin:0 0 16px; }
.portal-chips { display:flex; flex-wrap:wrap; gap:10px; }
.pchip { padding:8px 18px; border-radius:999px; background:var(--card-bg); border:1px solid var(--line-c); color:var(--text); font-size:13.5px; text-decoration:none; transition:.18s; }
.pchip:hover { border-color:var(--brand-c); color:var(--brand-c); }

.portal-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
@media(max-width:860px){ .portal-cards{grid-template-columns:1fr;} }
.pcard-portal { position:relative; display:flex; flex-direction:column; justify-content:space-between; min-height:200px; padding:18px; border-radius:var(--r-xl); text-decoration:none; overflow:hidden; }
.pcard-learn { background:var(--card-bg); border:1px solid var(--line-c); }
.pcard-photo { color:#fff; background-size:cover; background-position:center; }
.pcardp-scrim { position:absolute; inset:0; background:linear-gradient(180deg,rgba(15,23,42,.12) 0%,rgba(15,23,42,.58) 100%); }
.pcard-portal > *:not(.pcardp-scrim) { position:relative; z-index:1; }
.pcardp-top { display:flex; align-items:center; gap:10px; }
.pcardp-ico { width:40px;height:40px;border-radius:12px; background:var(--brand-soft-c); color:var(--brand-c); display:flex;align-items:center;justify-content:center; flex-shrink:0; }
.pcard-photo .pcardp-ico { background:rgba(255,255,255,.22); color:#fff; }
.pcardp-top h3 { font-size:19px; font-weight:700; margin:0; flex:1; color:var(--text); }
.pcard-photo h3 { color:#fff; }
.pcardp-go { color:var(--text-faint); display:flex; }
.pcard-photo .pcardp-go { color:rgba(255,255,255,.85); }
.pcardp-desc { margin:10px 0 4px; font-size:13px; color:var(--text-muted); }
.pcardp-desc.light { color:rgba(255,255,255,.9); }
.pcardp-hl { margin:2px 0 14px; font-size:14px; font-weight:600; color:var(--brand-c); }
.pcardp-hl.light { color:#fff; }
.pcardp-btn { align-self:flex-start; font-size:13px; font-weight:600; color:var(--brand-c); background:var(--brand-soft-c); padding:7px 14px; border-radius:999px; transition:all .18s ease; cursor:pointer; }
.pcardp-btn.light { color:#fff; background:rgba(255,255,255,.22); }
/* 鎸夐挳鎮仠鍙樹寒锛氱収鐗囧崱涓婄殑鎸夐挳杞櫧搴曟繁瀛楋紝鏅€氭寜閽浆涓昏摑 */
.pcardp-btn:hover { transform:translateY(-1px); box-shadow:0 4px 14px rgba(15,23,42,.28); }
.pcardp-btn.light:hover { background:#fff; color:#1e3a5f; }
.pcardp-btn:not(.light):hover { background:var(--brand); color:#fff; }
html[lang="en"] .pcardp-desc { display:none; }
html[lang="en"] .pcardp-top h3 { font-size:17px; }
html[lang="en"] .pcardp-hl { font-size:13px; line-height:1.35; margin:6px 0 10px; }

.portal-music { display:flex; align-items:center; gap:14px; padding:16px 18px; border-radius:var(--r-xl); background:linear-gradient(90deg,var(--brand-soft-c),rgba(186,222,255,.35)); text-decoration:none; }
.pm-ico { width:42px;height:42px;border-radius:12px;background:var(--brand-c);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.pm-txt { flex:1; display:flex; flex-direction:column; }
.pm-txt strong { font-size:15px; color:var(--text); }
.pm-txt em { font-style:normal; font-size:12.5px; color:var(--text-muted); }
.pm-go { font-size:13.5px; font-weight:600; color:var(--brand-c); white-space:nowrap; }

/* 寮€鏀惧伐鍏风珯瀹ｄ紶妯箙 */
.promo { display:flex; align-items:center; gap:22px; justify-content:space-between; padding:26px; border-radius:var(--r-xl); text-decoration:none; color:#fff; position:relative; overflow:hidden;
  background:linear-gradient(120deg,#1e3a8a 0%,#2563eb 55%,#3b82f6 100%);
  box-shadow:0 12px 32px -12px rgba(37,99,235,.5); transition:transform .18s ease, box-shadow .18s ease; }
.promo::before { content:""; position:absolute; right:-60px; top:-60px; width:220px; height:220px; border-radius:50%; background:radial-gradient(circle,rgba(255,255,255,.18),transparent 70%); }
.promo::after { content:""; position:absolute; left:40%; bottom:-90px; width:260px; height:260px; border-radius:50%; background:radial-gradient(circle,rgba(255,255,255,.1),transparent 70%); }
.promo:hover { transform:translateY(-2px); box-shadow:0 18px 40px -12px rgba(37,99,235,.55); }
.promo-lead { position:relative; z-index:1; flex:1; }
.promo-kicker { display:inline-block; font-size:12px; font-weight:600; letter-spacing:.08em; opacity:.9; background:rgba(255,255,255,.16); padding:4px 12px; border-radius:999px; margin-bottom:12px; }
.promo-title { font-size:24px; font-weight:800; margin:0 0 8px; line-height:1.3; }
.promo-line { font-size:15px; margin:0 0 14px; opacity:.95; }
.promo-slogans { display:flex; flex-wrap:wrap; gap:8px; }
.promo-st { font-size:12.5px; padding:6px 12px; border-radius:999px; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.22); }
.promo-side { position:relative; z-index:1; display:flex; flex-direction:column; align-items:flex-end; gap:12px; flex-shrink:0; }
.promo-badge { font-size:13px; font-weight:700; padding:8px 16px; border-radius:14px; background:rgba(255,255,255,.2); border:1px solid rgba(255,255,255,.28); }
.promo-go { font-size:14px; font-weight:700; white-space:nowrap; display:flex; align-items:center; gap:6px; }
.promo-go svg { transition:transform .18s ease; }
.promo:hover .promo-go svg { transform:translateX(5px); }
@media (max-width:720px) { .promo { flex-direction:column; align-items:flex-start; gap:16px; padding:22px; } .promo-title { font-size:20px; } .promo-side { flex-direction:row; align-items:center; } }

/* 鏍″洯蹇楅〉寮曞鏉?*/
.proj-pitch { background:var(--tint-blue); border:1px solid var(--tint-blue-line); border-radius:var(--r-lg); padding:18px 20px; margin:14px 0 20px; }
.proj-pitch h3 { font-size:17px; font-weight:800; margin:0 0 6px; color:var(--text); }
.proj-pitch p { font-size:13.5px; color:var(--text-muted); margin:0; line-height:1.7; }

/* 椤圭洰寮€鍙戞晠浜嬮〉 */
.sv-wrap { max-width:860px; margin:0 auto; padding:8px 4px 48px; }
.sv-reveal { opacity:0; transform:translateY(26px); transition:opacity .6s ease, transform .6s ease; }
.sv-reveal.is-in { opacity:1; transform:none; }
.sv-hero { text-align:center; padding:64px 16px 48px; }
.sv-kicker { display:inline-block; font-size:12px; letter-spacing:.06em; color:var(--text-muted); background:var(--bg2); padding:6px 14px; border-radius:999px; margin-bottom:22px; }
.sv-hero h1 { font-size:40px; font-weight:800; margin:0 0 10px; color:var(--text); }
.sv-hero-sub { font-size:19px; font-weight:600; color:var(--brand-c); margin:0 0 12px; }
.sv-sub { font-size:15px; color:var(--text-muted); margin:0 0 28px; }
.sv-scroll { font-size:12px; letter-spacing:.18em; color:var(--text-faint); }
.sv-chapter { display:flex; gap:28px; padding:48px 0; }
.sv-no { font-size:56px; font-weight:800; line-height:1; width:90px; flex-shrink:0; color:transparent; -webkit-text-stroke:1.5px var(--brand-c); }
.sv-body { flex:1; }
.sv-en { display:block; font-size:12px; letter-spacing:.16em; color:var(--text-faint); margin-bottom:10px; }
.sv-body h2 { font-size:30px; font-weight:800; line-height:1.35; margin:0 0 16px; color:var(--text); }
.sv-body p { font-size:15px; line-height:1.9; color:var(--text-muted); margin:0 0 12px; }
.sv-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-top:18px; }
.sv-cell { background:var(--card-bg); border:1px solid var(--line-c); border-radius:var(--r-lg); padding:16px 18px; transition:transform .18s ease, border-color .18s ease; }
.sv-cell:hover { transform:translateY(-2px); border-color:var(--line-strong-c); }
.sv-cell b { display:block; font-size:15px; margin-bottom:6px; color:var(--text); }
.sv-cell span { font-size:13px; color:var(--text-muted); line-height:1.6; }
.sv-wx { font:inherit; font-weight:700; color:var(--brand-c); background:var(--brand-soft-c); border:1px solid rgb(var(--brand)/.25); padding:3px 12px; border-radius:999px; cursor:pointer; transition:background .18s ease; }
.sv-wx:hover { background:rgb(var(--brand)/.16); }
.sv-end { text-align:center; padding:64px 16px 24px; }
.sv-end h2 { font-size:30px; font-weight:800; line-height:1.4; margin:0 0 14px; color:var(--text); }
.sv-end p { font-size:15px; color:var(--text-muted); margin:0 0 24px; }
.sv-cta { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
@media (max-width:720px) {
  .sv-hero h1 { font-size:30px; }
  .sv-chapter { flex-direction:column; gap:12px; }
  .sv-no { font-size:38px; width:auto; }
  .sv-body h2 { font-size:24px; }
  .sv-grid { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce) { .sv-reveal { opacity:1; transform:none; transition:none; } }

.portal-events { background:var(--card-bg); border:1px solid var(--line-c); border-radius:var(--r-xl); padding:18px; }
.pe-head { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:14px; }
.pe-head h2 { font-size:20px; font-weight:800; margin:0; color:var(--text); }
.pe-head h2 span { font-size:14px; font-weight:600; color:var(--text-faint); margin-left:6px; }
.pe-more { font-size:13px; color:var(--brand-c); text-decoration:none; }
.pe-body { display:grid; grid-template-columns:1.8fr 1fr; gap:16px; }
@media(max-width:860px){ .pe-body{grid-template-columns:1fr;} }
.pe-feature { display:flex; gap:14px; padding:14px; border-radius:var(--r-lg); background:var(--bg2); text-decoration:none; }
.pe-cover { width:190px; height:120px; flex-shrink:0; align-self:flex-start; border-radius:var(--r-md); overflow:hidden; border:1px solid var(--line-c); }
.pe-cover img { width:100%; height:100%; object-fit:cover; display:block; }
.pe-info h3 { font-size:16px; margin:0 0 6px; color:var(--text); }
.pe-info p { font-size:13px; color:var(--text-muted); margin:0 0 10px; line-height:1.6; }
.pe-slogans { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px; }
.pe-slogans span { font-size:12px; color:var(--text-muted); background:var(--bg3); padding:4px 10px; border-radius:999px; }
.pe-tag { font-size:12.5px; color:var(--brand-c); font-weight:600; display:inline-flex; align-items:center; gap:4px; }
.pe-tag svg { transition:transform .18s ease; }
.pe-feature:hover .pe-tag svg { transform:translateX(4px); }
.pe-side { display:flex; flex-direction:column; gap:10px; }
.pe-link { display:flex; align-items:center; gap:12px; padding:12px 14px; border-radius:var(--r-lg); background:var(--bg2); text-decoration:none; }
.pe-li { color:var(--brand-c); display:flex; }
.pe-link div { display:flex; flex-direction:column; }
.pe-link strong { font-size:14px; color:var(--text); }
.pe-link em { font-style:normal; font-size:12px; color:var(--text-muted); }

.portal-gridblk { background:var(--card-bg); border:1px solid var(--line-c); border-radius:var(--r-xl); padding:18px; }
.pgb-head { display:flex; align-items:baseline; gap:10px; margin-bottom:14px; }
.pgb-head h2 { font-size:19px; font-weight:800; margin:0; color:var(--text); }
.pgb-head span { font-size:13px; color:var(--text-faint); }
.pgb-items { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
@media(max-width:860px){ .pgb-items{grid-template-columns:1fr;} }
.pgb-item { display:flex; align-items:center; gap:14px; padding:14px 16px; border-radius:var(--r-lg); background:var(--bg2); text-decoration:none; transition:.18s; }
.pgb-item:hover { background:var(--brand-soft-c); }
.pgb-ico { width:40px;height:40px;border-radius:12px;background:var(--brand-soft-c);color:var(--brand-c);display:flex;align-items:center;justify-content:center;flex-shrink:0; }
.pgb-item div { flex:1; display:flex; flex-direction:column; }
.pgb-item strong { font-size:15px; color:var(--text); }
.pgb-item em { font-style:normal; font-size:12.5px; color:var(--text-muted); margin-top:2px; }
.pgb-go { color:var(--text-faint); display:flex; }

.tool-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
@media(max-width:860px){ .tool-grid{grid-template-columns:repeat(2,1fr);} }
.tg-item { display:flex; flex-direction:column; gap:8px; padding:14px; border-radius:var(--r-lg); background:var(--bg2); text-decoration:none; transition:.18s; }
.tg-item:hover { background:var(--brand-soft-c); }
.tg-ico { width:38px;height:38px;border-radius:11px;background:var(--brand-soft-c);color:var(--brand-c);display:flex;align-items:center;justify-content:center; }
.tg-item strong { font-size:14px; color:var(--text); }
.tg-item em { font-style:normal; font-size:12px; color:var(--text-muted); }

/* ===== 椋熷爞 / 澶栧崠姒?===== */
.canteen-day { margin-bottom:18px; }
.canteen-day h3 { font-size:17px; margin:0 0 10px; color:var(--text); }
.meal { margin-bottom:12px; }
.meal h4 { font-size:13px; color:var(--text-muted); margin:0 0 8px; }
.dish-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
@media(max-width:760px){ .dish-grid{grid-template-columns:1fr;} }
.dish { background:var(--card-bg); border:1px solid var(--line-c); border-radius:var(--r-lg); padding:12px 14px; }
.dish-top { display:flex; justify-content:space-between; gap:8px; align-items:baseline; margin-bottom:6px; }
.dish-name { font-size:14px; font-weight:600; color:var(--text); }
.dish-score { font-size:12px; color:var(--text-muted); }
.stars { display:flex; gap:2px; }
.star { background:none; border:none; font-size:20px; color:var(--text-faint); cursor:pointer; padding:0 2px; line-height:1; }
.star.on { color:#f5a623; }
.dish-my { font-size:11.5px; color:var(--text-faint); margin-top:4px; }
.shop-search { margin-bottom:14px; }
.shop-search input { width:100%; padding:10px 14px; border-radius:var(--r-md); background:var(--card-bg); border:1px solid var(--line-c); color:var(--text); }
.shop-row { display:flex; align-items:center; gap:14px; padding:13px 16px; background:var(--card-bg); border:1px solid var(--line-c); border-radius:var(--r-lg); margin-bottom:10px; }
.shop-rank { width:28px; height:28px; border-radius:8px; background:var(--brand-soft-c); color:var(--brand-c); display:flex; align-items:center; justify-content:center; font-weight:700; flex-shrink:0; }
.shop-main { flex:1; display:flex; flex-direction:column; }
.shop-main strong { font-size:15px; color:var(--text); }
.shop-main em { font-style:normal; font-size:11.5px; color:var(--text-faint); }
.shop-score { font-size:12px; color:var(--text-muted); margin-top:2px; }
.shop-my { font-size:12px; color:var(--text-muted); min-width:64px; text-align:right; }

/* ===== 鍗囧鐢宠蹇嵎 /apply ===== */
.apply-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0; }
.apply-tab { padding:9px 16px; border-radius:var(--r-md); background:var(--card-bg); border:1px solid var(--line-c); color:var(--text-muted); font-size:13.5px; cursor:pointer; transition:all .15s; }
.apply-tab:hover { border-color:var(--brand-c); color:var(--brand-c); }
.apply-tab.on { background:var(--brand); color:#fff; border-color:var(--brand); font-weight:600; }
.apply-link { display:flex; align-items:center; gap:14px; padding:14px 16px; background:var(--card-bg); border:1px solid var(--line-c); border-radius:var(--r-lg); margin-bottom:10px; text-decoration:none; transition:all .15s; }
.apply-link:hover { border-color:var(--brand-c); transform:translateY(-1px); box-shadow:0 4px 14px rgba(37,99,235,.12); }
.apply-tag { flex-shrink:0; min-width:52px; text-align:center; padding:4px 10px; border-radius:8px; background:var(--brand-soft-c); color:var(--brand-c); font-size:11.5px; font-weight:600; }
.apply-main { flex:1; display:flex; flex-direction:column; gap:2px; }
.apply-main strong { font-size:15px; color:var(--text); }
.apply-main em { font-style:normal; font-size:12px; color:var(--text-faint); }
.apply-go { color:var(--text-muted); flex-shrink:0; }
.apply-link:hover .apply-go { color:var(--brand-c); }

/* ===== 鎮仠浜や簰锛堝榻愰附灏忕珯锛氬崱鐗囦笂娴?/ 鍒楄〃鍙崇Щ / 鍥炬爣鑱斿姩锛?===== */
.pcard-portal, .tg-item, .pgb-item, .portal-music, .pe-link, .pe-feature, .xx-card, .dish, .shop-row { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease; }
.pcardp-go, .pcardp-ico, .tg-ico, .pgb-ico, .pgb-go, .pm-go { transition: transform .18s ease, color .18s ease; }

/* 闂ㄦ埛涓夊紶澶у崱锛堝涔?/ 璁哄潧 / 鍗囧锛夛細涓婃诞 + 娣卞奖锛屽浘鏍囦笌绠ご鑱斿姩 */
.pcard-portal:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(15,23,42,.22); }
.pcard-portal:hover .pcardp-go { transform: translateX(5px); }
.pcard-portal:hover .pcardp-ico { transform: scale(1.1) rotate(-4deg); }
/* 涓夊崱鑱斿姩锛氭偓鍋滀换涓€寮狅紝涓夊紶涓€璧峰井寰寒璧凤紝褰撳墠寮犳渶浜?*/
.portal-cards:hover .pcard-portal { box-shadow: 0 6px 20px rgba(37,99,235,.14); }
.portal-cards:hover .pcard-portal:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(37,99,235,.32); }
/* 鐐瑰嚮鐬棿涓夊紶钃濆厜闂儊 */
@keyframes pcardFlash {
  0% { box-shadow: 0 0 0 0 rgba(37,99,235,.55); }
  100% { box-shadow: 0 0 0 20px rgba(37,99,235,0); }
}
.pcard-flash { animation: pcardFlash .6s ease-out; }

/* 宸ュ叿涔濇牸 / 鍗囧鐢宠椤癸細涓婃诞 + 娴呬富鑹插簳 + 鍥炬爣鏀惧ぇ + 绠ご鍙虫粦 */
.tg-item:hover, .pgb-item:hover { transform: translateY(-3px); background: var(--brand-soft-c); box-shadow: 0 8px 22px rgba(37,99,235,.14); }
.tg-item:hover .tg-ico, .pgb-item:hover .pgb-ico { transform: scale(1.14); }
.pgb-item:hover .pgb-go { transform: translateX(5px); color: var(--brand-c); }

/* 闊充箰鏉?/ 鏍″洯蹇楅摼鎺?/ 鐗硅壊鍗★細涓婃诞 */
.portal-music:hover, .pe-link:hover, .pe-feature:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,23,42,.12); }
.portal-music:hover .pm-go { transform: translateX(5px); }

/* 澶у瑕佹眰鍗★細涓婃诞 + 涓昏壊杈?*/
.xx-card:hover { transform: translateY(-2px); border-color: var(--brand-c); box-shadow: 0 8px 22px rgba(37,99,235,.13); }

/* 鍗囧/瀛︿範/鏉垮潡椤电殑杞婚噺鍏ュ満锛氫笉鏀瑰彉甯冨眬锛屽彧璁╁唴瀹规湁鍛煎惛 */
@keyframes riseSoft { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes glowIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }
#view:not(.no-anim) .xx-hero, #view:not(.no-anim) .ln-hero, #view:not(.no-anim) .cat-head { animation: riseSoft .52s var(--ease-page) both; }
#view:not(.no-anim) .xx-card, #view:not(.no-anim) .learn-grid .lr-card, #view:not(.no-anim) .card-grid > *, #view:not(.no-anim) .cat-grid > * { animation: riseSoft .46s var(--ease-page) both; }
.xx-card:nth-child(1), .learn-grid .lr-card:nth-child(1), .card-grid > *:nth-child(1), .cat-grid > *:nth-child(1) { animation-delay: 40ms; }
.xx-card:nth-child(2), .learn-grid .lr-card:nth-child(2), .card-grid > *:nth-child(2), .cat-grid > *:nth-child(2) { animation-delay: 80ms; }
.xx-card:nth-child(3), .learn-grid .lr-card:nth-child(3), .card-grid > *:nth-child(3), .cat-grid > *:nth-child(3) { animation-delay: 120ms; }
.xx-card:nth-child(4), .learn-grid .lr-card:nth-child(4), .card-grid > *:nth-child(4), .cat-grid > *:nth-child(4) { animation-delay: 160ms; }
.xx-card:nth-child(n+5), .learn-grid .lr-card:nth-child(n+5), .card-grid > *:nth-child(n+5), .cat-grid > *:nth-child(n+5) { animation-delay: 200ms; }
#view:not(.no-anim) .goal-hero { animation: glowIn .5s var(--ease-page) both; }
.xx-chip, .xx-more, .xx-card .btn { transition: transform .16s var(--ease-spring), background .16s ease, color .16s ease, border-color .16s ease; }
.xx-chip:hover, .xx-more:hover { transform: translateY(-1px); }
.xx-card.open .xx-depts { animation: riseSoft .32s var(--ease-out) both; }
@media (prefers-reduced-motion: reduce) {
  .xx-hero, .ln-hero, .cat-head, .xx-card, .learn-grid .lr-card, .card-grid > *, .cat-grid > *, .goal-hero, .xx-card.open .xx-depts { animation: none !important; }
}

/* 椋熷爞鑿?/ 澶栧崠琛岋細鍙崇Щ + 涓昏壊杈癸紙楦藉皬绔欏垪琛ㄩ」濂楄矾锛?*/
.dish:hover, .shop-row:hover { transform: translateX(5px); border-color: var(--brand-c); box-shadow: 0 6px 18px rgba(37,99,235,.13); }

/* 渚ф爮鏉垮潡椤?/ 瀵艰埅閾炬帴锛氬彸绉?+ 涓昏壊锛屽渾鐐圭偣浜?*/
.b-item, .rail-link { transition: transform .18s ease, background .18s ease, color .18s ease; }
.b-item:hover { transform: translateX(5px); color: var(--brand-ink); }
.b-item:hover::before { background: var(--brand-c); }
.rail-link:hover { transform: translateX(5px); background: var(--brand-soft-c); color: var(--brand-ink); }
.board-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(37,99,235,.15); }

/* ===== 鏍″洯 WiFi 椤?===== */
.wifi-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin:16px 0; }
@media(max-width:860px){ .wifi-grid{ grid-template-columns:1fr; } }
.wifi-card { background:var(--card-bg); border:1px solid var(--line-c); border-radius:var(--r-xl); padding:18px; transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
.wifi-card:hover { transform:translateY(-3px); border-color:var(--brand-c); box-shadow:0 10px 26px rgba(37,99,235,.15); }
.wifi-h { display:flex; align-items:center; gap:10px; }
.wifi-h b { font-size:18px; font-weight:700; color:var(--text); font-family:ui-monospace,Consolas,monospace; }
.wifi-tag { font-size:12px; font-weight:600; color:var(--brand-c); background:var(--brand-soft-c); padding:3px 10px; border-radius:999px; }
.wifi-note { font-size:13px; color:var(--text-muted); margin:8px 0 12px; }
.wifi-pwd { display:flex; align-items:center; gap:10px; font-size:14px; color:var(--text-muted); margin-bottom:14px; }
.wifi-pwd code { font-family:ui-monospace,Consolas,monospace; font-size:15px; font-weight:600; color:var(--brand-c); background:var(--brand-soft-c); padding:5px 12px; border-radius:8px; }
.wifi-qr { width:180px; height:180px; object-fit:cover; border-radius:var(--r-md); border:1px solid var(--line-c); display:block; }

/* 鏁欐潗涔︽灦 /books锛堝鐓?gexzh.com/learn/books.html锛?*/
.bk-head { margin:8px 0 18px; }
.bk-head h1 { font-size:clamp(1.7rem,4vw,2.15rem); margin:0 0 8px; line-height:1.25; }
.bk-head p { color:var(--text-muted); font-size:14px; margin:0; max-width:680px; }
.bk-filters { margin:14px 0; }
.bk-search { position:relative; margin-bottom:10px; }
.bk-search-ic { position:absolute; left:12px; top:50%; transform:translateY(-50%); color:var(--text-muted); display:flex; }
.bk-search input { width:100%; min-height:44px; padding:8px 12px 8px 38px; border:1px solid var(--line-c); border-radius:10px; background:var(--card-bg); color:var(--text); font:inherit; }
.bk-search input:focus { outline:none; border-color:rgb(var(--brand)/.45); box-shadow:0 0 0 3px rgb(var(--brand)/.12); }
.bk-filter-row { display:flex; flex-wrap:wrap; align-items:end; gap:8px 12px; }
.bk-filter-row label { display:inline-flex; flex-direction:column; gap:4px; font-size:12.5px; color:var(--text-muted); }
.bk-filter-row select { min-height:38px; min-width:96px; padding:6px 10px; border:1px solid var(--line-c); border-radius:9px; background:var(--card-bg); color:var(--text); font:inherit; font-size:13.5px; }
.bk-summary { display:flex; justify-content:space-between; align-items:baseline; gap:12px; color:var(--text-muted); font-size:13px; margin:6px 0 14px; }
.bk-summary a { color:var(--brand-c); text-decoration:none; }
.bk-group h2 { font-size:1.1rem; margin:22px 0 10px; }
.bk-row { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:13px 15px; margin-bottom:8px; border:1px solid var(--line-c); border-radius:12px; background:var(--card-bg); transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.bk-row:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); border-color:rgb(var(--brand)/.3); }
.bk-info { min-width:0; overflow-wrap:anywhere; }
.bk-subject { margin:0 0 3px; color:var(--text-muted); font-size:12.5px; }
.bk-title { margin:2px 0; font-size:15px; line-height:1.35; color:var(--text); }
.bk-meta { margin:3px 0 0; color:var(--text-muted); font-size:12.5px; }
.bk-links { display:flex; flex-shrink:0; flex-wrap:wrap; justify-content:flex-end; gap:6px 8px; max-width:44%; }
.bk-links a { padding:7px 11px; border-radius:8px; background:var(--brand-soft-c); color:var(--brand-c); font-size:12.5px; font-weight:600; text-decoration:none; transition:background .16s ease, transform .16s ease; }
.bk-links a:hover { background:rgb(var(--brand)/.16); transform:translateY(-1px); }
.bk-empty { margin:24px 0; color:var(--text-muted); }
@media (max-width:650px) {
  .bk-row { flex-direction:column; align-items:flex-start; }
  .bk-links { max-width:100%; justify-content:flex-start; }
}

/* 鎵囧舰寮瑰嚭閫夋嫨鍣?*/
.fan-wrap { position:relative; display:inline-block; }
.fan-trigger { display:inline-flex; align-items:center; gap:6px; min-height:38px; padding:6px 14px; border:1px solid var(--line-c); border-radius:999px; background:var(--card-bg); color:var(--text); font:inherit; font-size:13.5px; cursor:pointer; transition:border-color .16s, background .16s, box-shadow .16s; }
.fan-trigger:hover { border-color:rgb(var(--brand)/.4); box-shadow:var(--shadow-sm); }
.fan-caret { font-size:10px; color:var(--text-muted); transition:transform .2s; }
.fan-wrap.open .fan-caret { transform:rotate(180deg); }
/* 鎸夐挳姝ｄ笅鏂圭殑瑙勬暣绔栧垪闈㈡澘锛屼笣婊戞粦鍏ワ紝涓嶉噸鍙犱笉閬尅 */
.fan-pop {
  position:absolute; left:0; top:calc(100% + 8px); z-index:60;
  min-width:150px; max-width:280px; max-height:268px; overflow-y:auto;
  display:flex; flex-direction:column; gap:2px; padding:6px;
  border-radius:14px; background:var(--card-bg); border:1px solid var(--line-c); box-shadow:var(--shadow-md);
  opacity:0; transform:translateY(-8px) scale(.98); transform-origin:top left;
  transition:opacity .18s ease, transform .18s ease;
}
.fan-pop.fan-align-right { left:auto; right:0; transform-origin:top right; }
.fan-wrap.open .fan-pop { opacity:1; transform:translateY(0) scale(1); }
.fan-item {
  display:flex; align-items:center; gap:10px; width:100%; padding:8px 12px;
  border-radius:10px; background:transparent; border:0; box-shadow:none;
  font-size:13.5px; color:var(--text); cursor:pointer; text-align:left;
  opacity:0; transform:translateY(-4px);
  transition:background .14s, color .14s, opacity .16s ease, transform .16s ease;
}
.fan-wrap.open .fan-item { opacity:1; transform:translateY(0); transition-delay:calc(var(--i) * 16ms); }
.fan-item:hover { background:rgb(var(--brand)/.1); color:var(--brand-c); }
.fan-item.on { background:var(--brand-soft-c); color:var(--brand-c); font-weight:600; }
.fan-t { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fan-item em { margin-left:auto; flex-shrink:0; font-style:normal; font-size:11px; opacity:.65; }

/* ===== 鏍″洯蹇楅」鐩?/ 鎽勫奖鐢诲粖 ===== */
.hd-actions { margin-top:12px; }
.hd-en { font-size:13px; font-weight:400; color:var(--text-faint); margin-left:6px; letter-spacing:.04em; }
.empty-state { text-align:center; padding:56px 20px; background:var(--card-bg); border:1px dashed var(--line-c); border-radius:16px; }
.empty-ico { width:56px; height:56px; margin:0 auto 14px; display:flex; align-items:center; justify-content:center; border-radius:16px; background:rgb(var(--brand)/.1); color:var(--brand-c); font-size:24px; font-weight:700; }
.empty-state h3 { font-size:18px; margin:0 0 8px; }
.empty-state p { color:var(--text-muted); font-size:14px; line-height:1.7; margin:0 0 18px; }
.empty-hint { font-size:12.5px; color:var(--text-faint); margin-top:14px; }
.proj-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:16px; }
.proj-card { background:var(--card-bg); border:1px solid var(--line-c); border-radius:var(--r-xl); overflow:hidden; cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.proj-card:hover { transform:translateY(-2px); border-color:var(--line-strong-c); box-shadow:var(--shadow-md); }
.proj-cover { height:180px; overflow:hidden; }
.proj-cover img { width:100%; height:100%; object-fit:cover; display:block; }
.proj-body { padding:18px 20px; }
.proj-card h3 { font-size:17px; font-weight:800; margin:0 0 6px; }
.proj-tagline { color:var(--text-muted); font-size:13.5px; margin:0 0 10px; line-height:1.6; }
.proj-meta { display:flex; align-items:center; gap:12px; flex-wrap:wrap; font-size:12.5px; color:var(--text-faint); }
.proj-author { display:inline-flex; align-items:center; gap:4px; }
.proj-open-hint { margin-left:auto; color:var(--brand-c); font-weight:600; }
.proj-detail-panel { padding:0 20px 22px; }
.sv-hero-mini { padding:18px 0 6px; border-top:1px solid var(--line-c); margin-top:4px; }
.sv-hero-mini .sv-kicker { margin-bottom:10px; }
.sv-hero-mini h2 { font-size:21px; font-weight:800; margin:0 0 6px; color:var(--text); }
.sv-hero-mini p { font-size:14px; color:var(--text-muted); margin:0; }
.proj-detail-panel .sv-chapter { opacity:0; transform:translateY(20px); transition:opacity .5s ease, transform .5s ease; padding:26px 0; }
.proj-detail-panel .sv-chapter.is-in { opacity:1; transform:none; }
.gl-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:16px; }
.gl-card { background:var(--card-bg); border:1px solid var(--line-c); border-radius:16px; overflow:hidden; transition:transform .18s, box-shadow .18s; }
.gl-card:hover { transform:translateY(-2px); box-shadow:0 8px 22px rgba(37,99,235,.12); }
.gl-img { aspect-ratio:4/3; background-size:cover; background-position:center; }
.gl-img--empty { display:flex; align-items:center; justify-content:center; font-size:34px; background:var(--bg2); }
.gl-info { padding:12px 14px; }
.gl-title { display:block; font-size:15px; font-weight:600; margin-bottom:4px; }
.gl-loc { font-size:12.5px; color:var(--text-muted); }
.gl-meta { display:flex; justify-content:space-between; font-size:12.5px; color:var(--text-muted); margin-top:8px; }
.gl-preview { width:100%; height:160px; border-radius:12px; background-size:cover; background-position:center; margin-top:8px; border:1px solid var(--line-c); }
.gl-card { position:relative; display:block; color:inherit; text-decoration:none; }
.gl-like-badge { position:absolute; top:10px; right:10px; display:flex; align-items:center; gap:4px; padding:4px 9px; border-radius:999px; background:rgba(0,0,0,.45); color:#fff; font-size:12.5px; backdrop-filter:blur(6px); }
.gl-like-badge svg { width:13px; height:13px; fill:#fff; }
.gl-section { margin-bottom:28px; }
.gl-section-hd { font-size:17px; font-weight:700; margin:0 0 14px; display:flex; align-items:center; gap:8px; }
/* 鎽勫奖璇︽儏 */
.g-detail { padding:0; overflow:hidden; }
.g-detail-img { aspect-ratio:16/10; max-height:560px; background-size:cover; background-position:center; background-color:var(--bg2); }
.g-detail-body { padding:20px 22px; }
.g-detail-title { font-size:21px; font-weight:700; margin:0 0 10px; line-height:1.35; }
.g-detail-sub { display:flex; align-items:center; flex-wrap:wrap; gap:10px; font-size:13px; color:var(--text-muted); }
.g-detail-sub .who { display:inline-flex; align-items:center; gap:6px; color:inherit; text-decoration:none; }
.g-detail-sub .who b { color:var(--text); font-weight:600; }
.g-detail-caption { margin:14px 0 0; font-size:14.5px; line-height:1.7; color:var(--text); white-space:pre-wrap; }
.g-actions { margin-top:16px; padding-top:16px; border-top:1px solid var(--line-c); display:flex; gap:10px; }
.g-comments { margin-top:18px; padding:20px 22px; }
.g-comments-hd { font-size:16px; font-weight:700; margin:0 0 16px; }
.g-comment-list { display:flex; flex-direction:column; gap:16px; margin-bottom:18px; }
.g-comment { display:flex; gap:11px; }
.g-comment-bd { flex:1; min-width:0; }
.g-comment-h { display:flex; align-items:baseline; gap:8px; }
.g-comment-h b { font-size:13.5px; }
.g-comment-time { font-size:12px; color:var(--text-faint); }
.g-comment-txt { margin:4px 0 0; font-size:14px; line-height:1.6; color:var(--text); white-space:pre-wrap; word-break:break-word; }
.g-comment-form { display:flex; gap:10px; align-items:flex-start; }
.g-comment-form textarea { flex:1; resize:vertical; min-height:48px; padding:10px 13px; border:1px solid var(--line-c); border-radius:12px; background:var(--bg); font-size:14px; font-family:inherit; color:var(--text); }
.g-comment-form textarea:focus { outline:none; border-color:var(--brand); }

/* ===== 缂栬緫璧勬枡椤?===== */
.set-card { max-width:620px; display:flex; flex-direction:column; gap:18px; }
.av-row { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.av-upload { position:relative; width:96px; height:96px; border-radius:50%; cursor:pointer; flex-shrink:0;
  border:2px dashed rgb(var(--brand)/.35); display:flex; align-items:center; justify-content:center; overflow:hidden;
  transition:border-color .2s ease, transform .2s ease; }
.av-upload:hover, .av-upload.drag { border-color:var(--brand-c); border-style:solid; transform:scale(1.03); }
.av-preview { width:100%; height:100%; }
.av-preview .avatar { width:100%; height:100%; font-size:38px; }
.av-mask { position:absolute; inset:0; border-radius:50%; background:rgba(0,0,0,.42); color:#fff;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; font-size:12px;
  opacity:0; transition:opacity .2s ease; }
.av-upload:hover .av-mask, .av-upload.drag .av-mask { opacity:1; }
.av-side { flex:1; min-width:200px; display:flex; flex-direction:column; gap:8px; }
.link-btn { align-self:flex-start; background:none; border:0; padding:0; color:var(--brand-c); font-size:13px; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.fld { display:flex; flex-direction:column; gap:6px; }
.fld > label { font-size:13.5px; font-weight:600; color:var(--text); }
.fld .req { color:#c0392b; margin-left:2px; }
.fld .opt-tag { font-size:11px; font-weight:500; color:var(--text-muted); background:var(--bg3); padding:1px 8px; border-radius:999px; margin-left:6px; }
.input.is-invalid { border-color:#e6a79a; background:#fff7f4; }
.input.is-invalid:focus { box-shadow:0 0 0 3px rgba(192,57,43,.12); }
html.dark .input.is-invalid { border-color:#8d4a3e; background:rgba(184,72,43,.1); }
/* 鍑虹敓骞存湀鏃?路 鑻规灉鐜荤拑澶栧３锛堜繚鐣欑洿鎺ヨ緭鍏?+ 鏃ュ巻寮归€夛級 */
.date-shell {
  position:relative; display:flex; align-items:center; min-height:42px;
  border:1px solid var(--line-c); border-radius:14px;
  background:var(--card-bg);
  transition:border-color .16s, box-shadow .16s, background .16s;
}
html.dark .date-shell { background:var(--card-bg); border-color:rgba(255,255,255,.12); }
.date-shell:focus-within { border-color:var(--brand-c); box-shadow:0 0 0 3px rgba(37,99,235,.12); }
.date-shell input[type="date"].input {
  position:absolute; inset:0; width:100%; height:100%; opacity:0; border:0; background:transparent;
  box-shadow:none; outline:none; cursor:pointer; color-scheme:light;
}
html.dark .date-shell input[type="date"].input { color-scheme:dark; }
.date-shell input[type="date"].input::-webkit-calendar-picker-indicator { display:none; }
.date-text {
  flex:1; min-width:0; padding:0 10px 0 14px; align-self:center;
  font-size:14px; font-variant-numeric:tabular-nums; color:var(--text); pointer-events:none;
}
.date-text.is-ph { color:var(--text-faint); }
.date-icon {
  flex-shrink:0; width:34px; height:34px; margin-right:6px; border-radius:11px;
  display:grid; place-items:center; cursor:pointer; color:var(--brand-c);
  background:rgba(37,99,235,.1); transition:background .16s, transform .16s;
}
.date-icon:hover { background:rgba(37,99,235,.18); transform:scale(1.05); }
.date-icon:active { transform:scale(.96); }
.avatar.has-img { overflow:hidden; }
.avatar.has-img img { width:100%; height:100%; object-fit:cover; }
.btn.loading { opacity:.7; pointer-events:none; transform:scale(.97); }
.btn { transition:transform .15s ease, opacity .15s ease; }

/* 骞寸骇 路 鑻规灉椋庢恫鎬佺幓鐠冪珫鍒楀脊灞?*/
.grade-picker { position:relative; }
.grade-trigger { width:100%; display:flex; align-items:center; justify-content:space-between; gap:10px; cursor:pointer; text-align:left; }
.grade-trigger .gp-text { color:var(--text); }
.grade-trigger .gp-text.is-ph { color:var(--text-faint); }
.grade-trigger .gp-chevron { flex-shrink:0; color:var(--text-muted); transition:transform .28s cubic-bezier(.2,.8,.2,1); }
.grade-picker.open .gp-chevron { transform:rotate(180deg); }
.gp-pop {
  position:absolute; top:calc(100% + 8px); left:0; right:0; z-index:30;
  display:grid; grid-template-columns:repeat(4,1fr); gap:8px; padding:10px;
  border-radius:18px;
  background:rgba(255,255,255,.97);
  border:1px solid rgba(255,255,255,.65);
  box-shadow:0 16px 40px rgba(15,23,42,.20), inset 0 1px 0 rgba(255,255,255,.75);
  opacity:0; transform:translateY(-8px) scale(.97); transform-origin:top center; pointer-events:none;
  transition:opacity .22s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}
html.dark .gp-pop { background:rgba(24,28,38,.55); border-color:rgba(255,255,255,.12); box-shadow:0 16px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.1); }
.grade-picker.open .gp-pop { opacity:1; transform:none; pointer-events:auto; }
.gp-item {
  padding:11px 0; border-radius:13px; border:1px solid transparent;
  background:rgba(255,255,255,.72);
  color:var(--text); font-size:14px; font-weight:500; cursor:pointer; text-align:center;
  opacity:0; transform:translateY(10px);
  transition:opacity .25s ease, transform .32s cubic-bezier(.2,.8,.2,1), background .18s, color .18s, box-shadow .18s;
}
.grade-picker.open .gp-item { opacity:1; transform:none; }
.gp-item:hover { background:rgba(255,255,255,.8); }
.gp-item.on { background:var(--brand-c); color:#fff; box-shadow:0 6px 16px -4px rgba(37,99,235,.5); }
html.dark .gp-item { background:rgba(255,255,255,.08); }
html.dark .gp-item:hover { background:rgba(255,255,255,.16); }
html.dark .gp-item.on { background:var(--brand-c); color:#fff; }

/* 鍑虹敓骞存湀鏃?路 鑻规灉閫愮骇閫夋嫨搴曢儴闈㈡澘锛堝勾 鈫?鏈?鈫?鏃ワ級 */
.bs-mask { position:fixed; inset:0; z-index:200; background:rgba(15,23,42,.42); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); display:flex; align-items:flex-end; justify-content:center; opacity:0; transition:opacity .25s ease; }
.bs-mask.show { opacity:1; }
.bs-sheet { width:100%; max-width:480px; background:var(--card-bg); border-radius:22px 22px 0 0; padding:6px 12px calc(14px + env(safe-area-inset-bottom)); transform:translateY(100%); transition:transform .34s cubic-bezier(.2,.8,.2,1); box-shadow:0 -12px 44px rgba(0,0,0,.25); }
.bs-mask.show .bs-sheet { transform:translateY(0); }
.bs-head { display:flex; align-items:center; justify-content:space-between; padding:10px 8px 6px; }
.bs-title { font-weight:600; font-size:15px; color:var(--text); }
.bs-cancel, .bs-done { background:none; border:0; color:var(--brand-c); font-size:15px; cursor:pointer; padding:6px 12px; border-radius:10px; transition:background .15s; }
.bs-cancel:hover, .bs-done:hover { background:rgba(37,99,235,.1); }
.bs-stage { max-height:320px; overflow-y:auto; padding:4px 2px; }
.bs-item { display:block; width:100%; padding:13px 10px; background:none; border:0; border-radius:13px; font-size:16px; color:var(--text); cursor:pointer; text-align:center; animation:bsIn .3s cubic-bezier(.2,.8,.2,1) both; transition:background .15s, color .15s; }
@keyframes bsIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
.bs-item.on { color:var(--brand-c); font-weight:600; background:rgba(37,99,235,.09); }
.bs-item:hover { background:rgba(37,99,235,.06); }

/* community level */
.lvl-chip{display:inline-flex;align-items:center;gap:3px;height:20px;padding:0 7px;border-radius:999px;background:color-mix(in srgb,var(--lvl,#7c8ba1) 14%,transparent);color:color-mix(in srgb,var(--lvl,#7c8ba1) 82%,rgb(var(--ink)));font-size:10.5px;font-weight:700;line-height:1;white-space:nowrap;border:1px solid color-mix(in srgb,var(--lvl,#7c8ba1) 22%,transparent)}
.lvl-chip.sm{height:18px;padding:0 5px;font-size:10px}
html.dark .lvl-chip{color:color-mix(in srgb,var(--lvl,#a8b4c8) 74%,#fff);border-color:color-mix(in srgb,var(--lvl,#a8b4c8) 32%,transparent)}

/* leaderboard */
.lb-hd p{max-width:680px}
.lb-tabs{display:flex;align-items:center;gap:6px;margin:14px 0 16px;flex-wrap:wrap}
.lb-tab{padding:7px 14px;border-radius:999px;border:1px solid var(--line);background:var(--card);color:var(--muted);font-size:12.5px;font-weight:600;text-decoration:none;transition:all .2s ease}
.lb-tab.on{background:rgb(var(--brand));border-color:rgb(var(--brand));color:#fff;box-shadow:0 8px 20px -12px rgb(var(--brand) / .55)}
.lb-updated{margin-left:auto;font-size:11.5px;color:var(--muted)}
.lb-podiums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px;align-items:end}
.lb-podium{position:relative;display:flex;flex-direction:column;align-items:center;gap:5px;padding:18px 12px 14px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,color-mix(in srgb,var(--lvl,#7c8ba1) 9%,rgb(var(--card))),rgb(var(--card)));text-decoration:none;color:inherit;overflow:hidden;transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s ease}
.lb-podium:hover{transform:translateY(-4px);box-shadow:0 20px 40px -28px rgb(15 23 42 / .45)}
.lb-podium.p1{transform:translateY(-10px);border-color:color-mix(in srgb,#d4a017 32%,var(--line))}
.lb-podium.p1:hover{transform:translateY(-14px)}
.lb-podium .lb-crown{position:absolute;top:9px;left:12px;font-size:18px;opacity:.9}
.lb-podium b{font-size:15px}
.lb-podium .lb-mini{font-size:11.5px;color:var(--muted)}
.lb-level{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;background:color-mix(in srgb,var(--lvl,#7c8ba1) 13%,transparent);color:color-mix(in srgb,var(--lvl,#7c8ba1) 84%,var(--ink));font-size:10.5px;font-weight:700;white-space:nowrap}
.lb-score{font-size:20px;font-weight:800;font-variant-numeric:tabular-nums}
.lb-score em{font-size:10.5px;font-style:normal;color:var(--muted);font-weight:500}
.lb-score.sm{font-size:13px}
.lb-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:14px;align-items:start}
.lb-list{padding:6px}
.lb-row{display:grid;grid-template-columns:38px 30px minmax(0,1.2fr) auto minmax(0,1fr) 60px;align-items:center;gap:9px;padding:10px 9px;border-radius:11px;text-decoration:none;color:inherit;transition:background .16s ease}
.lb-row:hover{background:rgb(var(--brand-soft))}
.lb-rank{font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.lb-name{display:flex;flex-direction:column;min-width:0}
.lb-name b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lb-name em{font-size:10.5px;color:var(--muted);font-style:normal}
.lb-stats{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lb-side{display:flex;flex-direction:column;gap:12px;position:sticky;top:calc(var(--hdr-h) + 18px)}
.lb-mine{padding:14px}
.lb-mine-hd{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.lb-mine-hd b{font-size:13px}
.lb-mine-hd span{font-size:11px;color:var(--muted);margin-left:auto}
.lb-progress{height:7px;border-radius:99px;background:rgb(var(--line));overflow:hidden;margin:10px 0 7px}
.lb-progress i{display:block;height:100%;border-radius:inherit;transition:width .8s cubic-bezier(.2,.8,.2,1)}
.lb-mine p{font-size:11.5px;color:var(--muted);margin:0}
.lb-ladder{padding:14px}
.lb-lv{display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:6px;padding:6px 0;border-top:1px dashed var(--line);font-size:12px}
.lb-lv:first-of-type{border-top:0}
.lb-lv em{font-style:normal;font-size:10.5px;color:var(--muted)}
.lb-lv span{text-align:center}
@media (max-width:900px){.lb-grid{grid-template-columns:1fr}.lb-side{position:static;order:2}.lb-podiums{gap:8px}.lb-podium b{font-size:13px}.lb-stats{display:none}.lb-row{grid-template-columns:30px 26px minmax(0,1fr) auto 54px}}
@media (max-width:620px){.lb-podiums{grid-template-columns:1fr}.lb-podium.p1{transform:none}.lb-podium.p1:hover{transform:translateY(-4px)}.lb-podium{flex-direction:row;justify-content:flex-start;text-align:left;padding:12px}.lb-podium .lb-crown{position:static}.lb-podium .lb-score{margin-left:auto}.lb-podium .lb-mini{display:none}}
@media (prefers-reduced-motion:reduce){.lb-podium,.lb-tab,.lb-progress i{transition:none}.lb-podium:hover,.lb-podium.p1:hover{transform:none}}

.post-foot{flex-wrap:wrap;row-gap:5px}
.post-who{min-width:0;overflow:hidden}
.post-who .who-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:12em}
.lvl-chip.sm{width:18px;height:18px;flex:0 0 18px}

/* 绔欏唴鍒囬〉锛氭暣椤典粠鍙充晶杞绘粦鍏ワ紝閬垮厤鐩存帴闂嚭 */
@keyframes routeIn{from{opacity:0;transform:translate3d(22px,10px,0)}to{opacity:1;transform:none}}
.view.route-enter{animation:routeIn .34s cubic-bezier(.22,.8,.3,1) both;will-change:transform,opacity}
@media (prefers-reduced-motion:reduce){.view.route-enter{animation:none}}
/* ============================ 娑叉€佺幓鐠冪郴缁?============================ */
:root{
  --glass-bg: rgb(var(--card) / .74);
  --glass-bg-strong: rgb(var(--card) / .88);
  --glass-line: rgba(255,255,255,.58);
  --glass-line-soft: rgb(var(--line) / .7);
  --glass-hl: inset 0 1px 0 rgba(255,255,255,.68);
  --glass-shadow: 0 22px 60px -32px rgba(15,23,42,.42), 0 2px 10px -6px rgba(15,23,42,.18);
}
html.dark{
  --glass-bg: rgb(var(--card) / .68);
  --glass-bg-strong: rgb(var(--card) / .84);
  --glass-line: rgba(255,255,255,.10);
  --glass-line-soft: rgb(var(--line) / .8);
  --glass-hl: inset 0 1px 0 rgba(255,255,255,.08);
  --glass-shadow: 0 24px 70px -34px rgba(0,0,0,.72), 0 2px 10px -6px rgba(0,0,0,.5);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
  /* 鎬ц兘浼樺厛锛氬脊绐?鎶藉眽/甯搁┗鍗＄墖鏀圭敤楂樹笉閫忔槑搴﹀簳鑹蹭唬鏇?backdrop-filter锛?     鍏ㄦ枃 blur(22px) 浼氬湪姣忔婊氬姩/鍔ㄧ敾鏃跺鏁撮〉鍋氫竴娆″彇鏍凤紝鏄富瑕佺殑鎺夊抚鏉ユ簮 */
  .modal-panel, .drawer, .tabbar, .r-card, .lb-mine, .story-card, .story-cta{
    background: rgb(var(--card) / .96);
    border-color: var(--glass-line);
    box-shadow: var(--glass-hl), var(--glass-shadow);
  }
  .modal-mask{ backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10, 14, 26, .52); }
  .palette, .hdr-search input{ background: var(--glass-bg-strong); }
}
.uni-sheet-modal .modal-panel{ max-width: 640px; border-radius: 28px; overflow: hidden; }
.uni-sheet-hd{ display:flex; justify-content:space-between; gap:18px; padding:24px 26px 14px; }
.uni-sheet-kicker{ font-size:11px; letter-spacing:.12em; color:var(--text-faint); }
.uni-sheet-hd h3{ margin:6px 0 4px; font-size:26px; letter-spacing:-.03em; }
.uni-sheet-hd p{ margin:0; color:var(--text-faint); font-size:13px; }
.uni-sheet-meta{ display:flex; gap:8px; flex-wrap:wrap; padding:0 26px 16px; }
.uni-sheet-meta span{ font-size:12px; color:var(--text-faint); background:rgb(var(--brand-soft)); border:1px solid var(--line-c); padding:5px 9px; border-radius:999px; }
.uni-sheet-req{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; padding:0 26px 18px; }
.uni-sheet-req div{ padding:12px 10px; border-radius:14px; background:var(--bg2); border:1px solid var(--line-c); }
.uni-sheet-req i{ display:block; font-style:normal; font-size:10.5px; color:var(--text-faint); letter-spacing:.06em; margin-bottom:4px; }
.uni-sheet-req b{ font-size:14px; }
.uni-sheet-list{ max-height:34vh; overflow:auto; padding:0 26px 10px; display:grid; gap:8px; }
.uni-sheet-dept{ padding:13px 14px; border-radius:16px; border:1px solid var(--line-c); background:rgb(var(--card) / .55); }
.uni-sheet-ft{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 26px 22px; border-top:1px solid var(--line-c); }
.uni-sheet-hint{ font-size:11px; color:var(--text-faint); }
.xx-card{ cursor:pointer; }
.xx-card:focus-visible{ outline:2px solid rgb(var(--brand)); outline-offset:3px; }

/* ============================ 璁捐鏁呬簨 ============================ */
.story-page{ display:grid; gap:22px; }
.story-rise{ animation:riseSoft .62s var(--ease-page) both; animation-delay:calc(var(--i,0)*70ms); }
.story-hero{ position:relative; overflow:hidden; padding:44px 40px 34px; border-radius:32px; background:
  radial-gradient(110% 130% at 90% 0%, rgba(37,99,235,.16), transparent 52%),
  radial-gradient(80% 110% at 0% 100%, rgba(16,185,129,.14), transparent 56%),
  rgb(var(--card) / .78);
  border:1px solid var(--glass-line); box-shadow:var(--glass-hl), var(--glass-shadow);
}
.story-kicker{ font-size:11px; letter-spacing:.16em; color:var(--text-faint); }
.story-hero h1{ margin:14px 0 16px; font-size:clamp(38px,5vw,64px); line-height:1.03; letter-spacing:-.055em; }
.story-hero h1 em{ font-style:normal; color:rgb(var(--brand)); }
.story-lead{ max-width:620px; margin:0; font-size:16px; line-height:1.8; color:var(--text-soft); }
.story-stats{ display:flex; gap:28px; flex-wrap:wrap; margin-top:30px; }
.story-stats div{ display:grid; gap:2px; }
.story-stats b{ font-size:24px; letter-spacing:-.03em; font-variant-numeric:tabular-nums; }
.story-stats span{ font-size:12px; color:var(--text-faint); }
.story-grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.story-card{ padding:24px 24px 22px; border-radius:22px; border:1px solid var(--line-c); background:rgb(var(--card) / .62); }
.story-no{ font-size:11px; letter-spacing:.14em; color:rgb(var(--brand)); }
.story-card h2{ margin:12px 0 8px; font-size:20px; letter-spacing:-.03em; }
.story-card p{ margin:0; font-size:13.5px; line-height:1.75; color:var(--text-soft); }
.story-timeline{ padding:28px 28px 10px; border-radius:26px; border:1px solid var(--line-c); background:rgb(var(--card) / .55); }
.story-sec-hd{ margin-bottom:18px; }
.story-sec-hd span{ font-size:10.5px; letter-spacing:.16em; color:var(--text-faint); }
.story-sec-hd h2{ margin:4px 0 0; font-size:24px; letter-spacing:-.03em; }
.story-line{ display:grid; gap:2px; }
.story-step{ display:grid; grid-template-columns:92px 1fr; gap:16px; padding:16px 0; border-top:1px solid var(--line-c); }
.story-step b{ font-size:12px; color:rgb(var(--brand)); letter-spacing:.04em; }
.story-step h3{ margin:0 0 4px; font-size:15px; }
.story-step p{ margin:0; font-size:13px; color:var(--text-soft); line-height:1.7; }
.story-quote{ padding:34px 36px; border-radius:28px; border:1px solid var(--glass-line); background:linear-gradient(135deg, rgba(37,99,235,.10), rgba(16,185,129,.08)); }
.story-quote span{ font-size:52px; line-height:.7; color:rgb(var(--brand)); opacity:.5; }
.story-quote p{ margin:10px 0 12px; font-size:clamp(20px,2.6vw,30px); line-height:1.5; letter-spacing:-.03em; }
.story-quote em{ font-style:normal; font-size:12px; color:var(--text-faint); }
.story-cta{ display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; padding:28px 30px; border-radius:24px; border:1px solid var(--line-c); }
.story-cta h2{ margin:2px 0 4px; font-size:24px; letter-spacing:-.03em; }
.story-cta p{ margin:0; color:var(--text-faint); font-size:13px; }
.story-cta-btns{ display:flex; gap:8px; flex-wrap:wrap; }
@media (max-width:760px){ .story-hero{ padding:30px 22px; } .story-grid{ grid-template-columns:1fr; } .story-step{ grid-template-columns:1fr; gap:4px; } .uni-sheet-req{ grid-template-columns:repeat(2,1fr); } }
@media (prefers-reduced-motion:reduce){ .story-rise{ animation:none; } }

.uni-sheet-dept .xx-dept-h{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.uni-sheet-dept .xx-dept-h span{color:var(--text-faint);font-size:11px;text-align:right}
.uni-sheet-dept .xx-dept-r{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:6px;color:var(--text-soft);font-size:12px}
.uni-sheet-dept .xx-dept-r i{font-style:normal;flex:0 0 auto;padding:2px 7px;border-radius:999px;background:rgb(var(--brand-soft));color:rgb(var(--brand-ink));font-size:10.5px}

/* 性能：去掉 background-attachment:fixed（会让整页失去合成层滚动，滚动时每帧重绘） */
body{background:radial-gradient(1200px 620px at 12% -12%, rgba(37,99,235,.10), transparent 58%),radial-gradient(980px 560px at 92% 0%, rgba(16,185,129,.08), transparent 60%),var(--bg)}
html.dark body{background:radial-gradient(1200px 620px at 12% -12%, rgba(37,99,235,.18), transparent 58%),radial-gradient(980px 560px at 92% 0%, rgba(16,185,129,.10), transparent 60%),var(--bg)}
/* 鎬ц兘锛氬崱鐗囦笉鍐嶅彔 backdrop-filter锛堝垪琛ㄩ噷鍑犲崄寮犲崱鐗囧悇鍋氫竴娆″叏灞忓彇鏍凤紝婊氬姩蹇呭崱锛?*/
.pcard,.cat-card,.xx-card,.tool-card,.lb-list{background:rgb(var(--card) / .96)}

/* 绐勫睆鏀跺彛锛氭柊椤甸潰銆佸脊绐椾笌鐜荤拑灞傛 */
@media (max-width:900px){
  .story-page{gap:16px}.story-hero{padding:32px 24px 26px;border-radius:26px}.story-hero h1{font-size:clamp(34px,8vw,48px)}.story-lead{font-size:14.5px}.story-stats{gap:18px 26px;margin-top:24px}.story-grid{gap:12px}.story-card{padding:20px}.story-timeline{padding:22px 20px 6px}.story-quote{padding:26px 22px}.story-cta{padding:22px 20px}
  .uni-sheet-modal .modal-panel{width:calc(100vw - 24px);max-width:640px;max-height:90vh;border-radius:24px}
}
@media (max-width:640px){
  .view.route-enter{animation-name:routeInMobile}
  .story-hero{padding:26px 18px 22px;border-radius:22px}.story-hero h1{font-size:34px;letter-spacing:-.045em}.story-kicker{font-size:10px}
  .story-stats{display:grid;grid-template-columns:1fr 1fr;gap:16px}.story-stats b{font-size:21px}
  .story-card,.story-timeline,.story-quote,.story-cta{border-radius:18px}
  .story-card{padding:18px}.story-card h2{font-size:18px}.story-timeline{padding:20px 16px 4px}.story-step{padding:13px 0}.story-quote{padding:22px 18px}.story-quote p{font-size:20px;line-height:1.6}
  .story-cta{flex-direction:column;align-items:flex-start;padding:20px 18px}.story-cta-btns{width:100%}.story-cta-btns .btn{flex:1 1 auto;justify-content:center}
  .uni-sheet-modal .modal-panel{width:calc(100vw - 16px);max-height:92vh;border-radius:20px}
  .uni-sheet-hd{padding:18px 18px 10px}.uni-sheet-hd h3{font-size:22px}.uni-sheet-meta{padding:0 18px 12px}.uni-sheet-req{padding:0 18px 14px;grid-template-columns:repeat(2,1fr);gap:7px}.uni-sheet-list{padding:0 18px 8px;max-height:40vh}.uni-sheet-ft{padding:12px 18px 18px}
  .modal-mask{padding:8px}

}
@keyframes routeInMobile{from{opacity:0;transform:translate3d(14px,8px,0)}to{opacity:1;transform:none}}
/* 鎴愬氨涓績 */
.portal-achv{background:linear-gradient(90deg,rgba(255,246,224,.95),rgba(255,232,190,.42));border:1px solid rgba(217,152,43,.18)}
html.dark .portal-achv{background:linear-gradient(90deg,rgba(120,84,30,.35),rgba(217,152,43,.10));border-color:rgba(217,152,43,.22)}
.portal-achv .achv-medal{isolation:isolate;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;flex:0 0 46px;position:relative;background:radial-gradient(circle at 32% 24%,#fff 0 18%,rgba(255,255,255,.78) 38%,var(--bc) 130%);box-shadow:inset 0 1px 1px rgba(255,255,255,.9),0 8px 18px -8px color-mix(in srgb,var(--bc) 65%,transparent)}
.portal-achv .achv-medal::before{content:"";position:absolute;inset:-4px;border-radius:50%;background:conic-gradient(from 210deg,var(--bc),#fff,var(--bc),#fff,var(--bc));z-index:-1;opacity:.8}
.portal-achv .achv-medal b{font-size:22px;line-height:1}
.portal-achv .pm-txt{gap:2px;min-width:0}
.portal-achv .pm-txt strong small{font-size:10px;font-weight:700;color:var(--text-faint);letter-spacing:.06em;margin-left:4px}
.achv-progress{height:6px;border-radius:99px;background:rgba(120,84,30,.14);overflow:hidden;margin-top:5px}
.achv-progress i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#f0b23c,#dd7b22)}
.achv-page{display:flex;flex-direction:column;gap:18px}
.achv-hero{position:relative;overflow:hidden;padding:34px 34px 22px;border-radius:28px;border:1px solid var(--glass-line,rgba(255,255,255,.55));background:linear-gradient(135deg,rgba(255,250,238,.92),rgba(255,241,214,.55));box-shadow:var(--glass-shadow,0 20px 50px -30px rgba(31,41,55,.35))}
html.dark .achv-hero{background:linear-gradient(135deg,rgba(64,48,28,.72),rgba(48,37,23,.6))}
.achv-hero-top{display:flex;gap:24px;align-items:flex-start;justify-content:space-between}
.achv-kicker{display:block;font-size:10px;letter-spacing:.16em;font-weight:700;color:#b07822;text-transform:uppercase;margin-bottom:10px}
.achv-hero h1{font-size:clamp(28px,4vw,46px);line-height:1.12;letter-spacing:-.04em;margin:0 0 12px}
.achv-lead{max-width:560px;color:var(--text-muted);font-size:14px;line-height:1.7;margin:0}
.achv-current{display:flex;align-items:center;gap:12px;flex:0 0 auto;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.6);border:1px solid rgba(217,152,43,.2)}
html.dark .achv-current{background:rgba(255,255,255,.06)}
.achv-current b{display:block;font-size:16px}.achv-current em{display:block;font-size:12px;color:var(--text-muted);font-style:normal;margin-top:2px}
.achv-progress-bar{height:10px;border-radius:99px;background:rgba(120,84,30,.14);overflow:hidden;margin:22px 0 10px}
.achv-progress-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#f0b23c,#dd7b22);box-shadow:0 0 18px rgba(240,178,60,.5)}
.achv-hero-foot{display:flex;justify-content:space-between;gap:18px;font-size:12.5px;color:var(--text-muted)}
.achv-hero-foot b{color:var(--text)}
.achv-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr);gap:18px;align-items:start}
.achv-card{padding:22px;border-radius:24px;border:1px solid var(--line-c);background:var(--card-bg)}
.achv-card-hd{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:14px}.achv-card-hd h2{font-size:17px;margin:0}.achv-card-hd span{font-size:11px;color:var(--text-faint);letter-spacing:.08em}
.achv-levels{display:flex;flex-direction:column;gap:6px}
.achv-lv-row{display:flex;align-items:center;gap:11px;padding:10px 11px;border-radius:14px;border:1px solid transparent}
.achv-lv-row.current{background:rgba(240,178,60,.12);border-color:rgba(217,152,43,.32)}
.achv-lv-dot{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;flex:0 0 32px;background:radial-gradient(circle at 35% 25%,#fff,var(--bc));font-size:15px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.5)}
.achv-lv-copy{flex:1;min-width:0}.achv-lv-copy b{display:block;font-size:13.5px}.achv-lv-copy em{display:block;font-size:11.5px;color:var(--text-faint);font-style:normal;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.achv-now,.achv-ok,.achv-gap{font-size:10.5px;font-weight:600;padding:3px 8px;border-radius:99px;white-space:nowrap}.achv-now{background:rgba(240,178,60,.2);color:#9a6417}.achv-ok{background:rgba(47,158,121,.12);color:#227a5c}.achv-gap{color:var(--text-faint)}
.badge-wall{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}
.badge-card{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:16px 10px 12px;border-radius:18px;border:1px solid var(--line-c);background:linear-gradient(180deg,rgba(255,255,255,.6),transparent)}
html.dark .badge-card{background:linear-gradient(180deg,rgba(255,255,255,.04),transparent)}
.badge-card h3{font-size:13px;margin:4px 0 0}.badge-card p{font-size:11px;line-height:1.45;color:var(--text-muted);margin:0;min-height:30px}.badge-meta{font-size:10.5px;color:var(--text-faint);margin-top:2px}
.badge-medal{isolation:isolate;position:relative;width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 32% 24%,#fff 0 14%,rgba(255,255,255,.75) 32%,var(--bc) 128%);box-shadow:inset 0 1px 2px rgba(255,255,255,.95),0 9px 18px -10px color-mix(in srgb,var(--bc) 75%,transparent)}
.badge-medal::before{content:"";position:absolute;inset:-5px;border-radius:50%;background:conic-gradient(from 210deg,var(--bc),#fff,var(--bc),#fff,var(--bc));z-index:-1;opacity:.85}
.badge-medal b{font-size:26px;line-height:1;filter:drop-shadow(0 2px 2px rgba(0,0,0,.15))}.badge-medal i{position:absolute;right:-3px;bottom:-2px;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#1f9d6b;box-shadow:0 2px 6px rgba(0,0,0,.18)}
.badge-medal i svg{width:12px;height:12px}.badge-card.locked .badge-medal{filter:grayscale(1);opacity:.42}.badge-card.locked .badge-medal i{color:#94a3b8}
.badge-card.locked{border-style:dashed}.badge-card.got:hover{transform:translateY(-2px);box-shadow:0 10px 24px -16px rgba(217,152,43,.6)}
.badge-shine{position:absolute;inset:0;border-radius:50%;background:linear-gradient(120deg,transparent 30%,rgba(255,255,255,.65) 45%,transparent 60%);opacity:0;transition:opacity .2s}
.badge-card:hover .badge-shine{opacity:1}
.achv-how{padding:24px;border-radius:24px;border:1px solid var(--line-c);background:var(--card-bg)}
.achv-how h2{font-size:17px;margin:0 0 14px}.achv-how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.achv-how-grid>div{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:12px;background:var(--bg2)}.achv-how-grid b{font-size:12.5px}.achv-how-grid span{font-size:11px;color:var(--text-muted)}.achv-note{font-size:12px;line-height:1.7;color:var(--text-muted);margin:14px 0 0}
.achv-login{max-width:560px;margin:40px auto;text-align:center}.achv-login .btn{margin-top:14px}
.profile-level{text-decoration:none;color:inherit}
@media (max-width:900px){.achv-grid{grid-template-columns:1fr}.achv-hero-top{flex-direction:column}.achv-current{width:100%}.achv-how-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.achv-hero{padding:24px 18px 18px;border-radius:22px}.achv-hero h1{font-size:30px}.achv-hero-foot{flex-direction:column;gap:4px}.achv-card,.achv-how{padding:18px;border-radius:20px}.badge-wall{grid-template-columns:repeat(2,1fr)}.badge-card p{min-height:0}.achv-how-grid{grid-template-columns:1fr 1fr}.portal-achv .pm-go{font-size:12px}}

/* 渚ф爮鍙厑璁哥旱鍚戞粴鍔紝閬垮厤榧犳爣鎮仠鏃跺嚭鐜版í鍚戞粴鍔ㄦ潯 */
.rail-left,.rail-right{overflow-x:hidden;overscroll-behavior:contain}
.rail-left>*{max-width:100%}

/* 鎴愬氨涓績锛氬啿楦墦鍗?*/
.achv-checkin{display:flex;align-items:center;gap:14px;padding:16px 18px;margin:0 0 18px;border-radius:18px;background:linear-gradient(115deg,rgba(255,244,214,.92),rgba(255,255,255,.84));border:1px solid rgba(217,160,60,.28);box-shadow:0 10px 30px rgba(160,120,40,.08)}
.achv-checkin-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#fff6df;font-size:24px;flex:0 0 auto;box-shadow:inset 0 0 0 1px rgba(217,160,60,.2)}
.achv-checkin-copy{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.achv-checkin-copy b{font-size:14px;color:var(--text)}
.achv-checkin-copy span{font-size:12.5px;color:var(--text-muted);line-height:1.55}
.achv-checkin-copy em{font-style:normal;font-size:11.5px;color:#9a6a12}
.achv-checkin .btn{flex:0 0 auto}
@media(max-width:640px){.achv-checkin{align-items:flex-start;flex-wrap:wrap}.achv-checkin .btn{width:100%}}

/* 椋熷爞锛氭瘡鍛ㄨ彍鍗?*/
.canteen-page{max-width:920px;margin:0 auto;padding:28px 20px 72px}
.canteen-week{background:var(--card);border:1px solid var(--line-c);border-radius:20px;padding:18px;box-shadow:var(--shadow-sm);margin:18px 0 26px}
.canteen-week-hd{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.canteen-week-hd b{display:block;font-size:17px;color:var(--text)}
.canteen-week-hd span{display:block;margin-top:2px;font-size:12px;color:var(--text-muted)}
.canteen-admin{font-size:12px;color:var(--brand-ink);border:1px solid var(--line-c);border-radius:999px;padding:6px 10px}
.canteen-week>img{display:block;width:100%;height:auto;border-radius:14px;background:#f3f1ea}
.canteen-week>p{margin:12px 2px 0;font-size:13px;color:var(--text-muted);line-height:1.7}
.canteen-empty{margin:18px 0;text-align:center}
.canteen-empty p{font-size:13px;color:var(--text-muted)}
.canteen-past h2{font-size:17px;margin:0 0 12px}
.canteen-past-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.canteen-past-grid figure{margin:0;background:var(--card);border:1px solid var(--line-c);border-radius:14px;overflow:hidden}
.canteen-past-grid img{display:block;width:100%;height:120px;object-fit:cover}
.canteen-past-grid figcaption{display:flex;justify-content:space-between;gap:6px;padding:9px 11px;font-size:11.5px;color:var(--text-muted)}
.canteen-past-grid figcaption b{color:var(--text);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:640px){.canteen-past-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.canteen-week{padding:12px}.canteen-week-hd{align-items:flex-start}.canteen-admin{white-space:nowrap}}

/* 椋熷爞鑿滃崟澶у浘 */
.canteen-week img{cursor:zoom-in}
.canteen-lightbox-modal{width:min(96vw,1240px)!important;max-width:none!important;padding:18px!important;background:rgba(252,251,248,.92)!important;backdrop-filter:blur(18px)}
.canteen-lightbox{display:flex;flex-direction:column;gap:12px;align-items:center}
.canteen-lightbox img{width:100%;max-height:80vh;object-fit:contain;border-radius:14px;background:#fff}
.canteen-lightbox-close{align-self:flex-end}

/* ============================ 鐧诲綍 / 娉ㄥ唽 v2 ============================ */
.auth{width:min(920px,96vw);max-height:92vh;padding:0!important;overflow:hidden;border-radius:22px}
.auth-shell{display:grid;grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr);min-height:590px}
.auth-aside{position:relative;display:flex;flex-direction:column;gap:26px;padding:34px 30px 28px;color:#eaf1ff;overflow:hidden;background:
  radial-gradient(120% 90% at 8% 0%,#315cf5 0%,transparent 55%),
  radial-gradient(100% 80% at 100% 100%,#0f766e 0%,transparent 52%),
  linear-gradient(158deg,#0b1220 0%,#111d36 45%,#0b1a2b 100%)}
.auth-aside::before{content:"";position:absolute;width:280px;height:280px;right:-120px;top:-100px;border-radius:50%;border:1px solid rgba(255,255,255,.14);box-shadow:0 0 0 26px rgba(255,255,255,.035),0 0 0 54px rgba(255,255,255,.02)}
.auth-aside::after{content:"";position:absolute;left:-60px;bottom:-80px;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,rgba(56,189,248,.24),transparent 70%);filter:blur(8px)}
.auth-brand{display:flex;align-items:center;gap:11px;position:relative;z-index:1}
.auth-mark{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(10px)}
.auth-mark img{width:26px;height:26px;object-fit:contain}
.auth-brand strong{display:block;font-size:15px;letter-spacing:.02em}
.auth-brand em{display:block;font-style:normal;font-size:9.5px;letter-spacing:.18em;color:rgba(234,241,255,.55);margin-top:2px;text-transform:uppercase}
.auth-quote{position:relative;z-index:1;margin-top:6px}
.auth-kicker{display:block;font-size:9.5px;font-weight:700;letter-spacing:.22em;color:rgba(234,241,255,.55);text-transform:uppercase}
.auth-quote h2{font-size:29px;line-height:1.22;letter-spacing:-.03em;margin:10px 0 12px;font-weight:750}
.auth-quote p{font-size:12.5px;line-height:1.75;color:rgba(234,241,255,.7);max-width:34ch}
.auth-perks{list-style:none;margin:0;padding:0;display:grid;gap:12px;position:relative;z-index:1}
.auth-perks li{display:grid;grid-template-columns:22px 1fr;gap:0 9px;align-items:start}
.auth-perks span{grid-row:1/3;font-size:9px;font-weight:700;color:rgba(147,197,253,.7);letter-spacing:.08em;padding-top:2px}
.auth-perks b{font-size:12px;font-weight:650;color:#f4f8ff}
.auth-perks em{font-style:normal;font-size:10.5px;color:rgba(234,241,255,.55);margin-top:2px}
.auth-stats{display:flex;gap:14px;flex-wrap:wrap;margin-top:auto;padding-top:14px;border-top:1px solid rgba(255,255,255,.12);position:relative;z-index:1}
.auth-stats span{font-size:10.5px;color:rgba(234,241,255,.55)}
.auth-stats b{font-size:16px;color:#fff;margin-right:3px;font-variant-numeric:tabular-nums}
.auth-main{position:relative;padding:32px 34px 28px;background:var(--card);overflow:auto;min-width:0}
.auth-close{position:absolute;top:14px;right:14px;width:30px;height:30px;border-radius:50%;border:1px solid var(--line-c);background:var(--bg2);color:var(--text-muted);font-size:18px;line-height:1;display:grid;place-items:center;cursor:pointer;z-index:2;transition:.16s}
.auth-close:hover{color:var(--text);border-color:var(--line-strong-c);transform:rotate(90deg)}
.auth-body [data-form][hidden]{display:none!important}
.auth-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.auth-head .auth-kicker{color:var(--text-faint)}
.auth-head h3{font-size:25px;letter-spacing:-.03em;margin:8px 0 5px;font-weight:750}
.auth-head p{font-size:12.5px;color:var(--text-muted);margin:0}
.auth-seal{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-family:Georgia,serif;font-size:17px;color:var(--text);background:var(--bg2);border:1px solid var(--line-c);flex:0 0 auto}
.auth-tabs{display:flex;gap:3px;margin-top:22px;padding:4px;border-radius:12px;background:var(--bg2);border:1px solid var(--line-c)}
.auth-tabs button{flex:1;height:36px;border-radius:9px;border:0;background:none;font-size:12.5px;font-weight:600;color:var(--text-muted)}
.auth-tabs button.on{background:var(--card);color:var(--text);box-shadow:0 2px 8px rgba(15,23,42,.08);border:1px solid var(--line-c)}
.auth-body{display:block!important;padding:18px 0 0!important}
.auth-body [data-form]{display:grid;gap:13px}
.auth-body .fld,.auth-body .field{display:grid;gap:6px}
.auth-body .fld-label{font-size:11.5px}
.auth-body .fld-label .req,.auth-body .fld-label .opt{font-size:9px}
.auth-body .fld input,.auth-body .field input{height:45px;border-radius:11px;font-size:13px}
.auth-body .fld-help{font-size:10.5px;margin-top:1px}
.auth-submit{height:46px!important;border-radius:12px!important;font-size:13.5px!important;margin-top:2px;box-shadow:0 8px 20px rgba(37,99,235,.22)}
.auth-demo{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:3px;padding-top:12px;border-top:1px dashed var(--line-c)}
.auth-demo span{font-size:10.5px;color:var(--text-faint);margin-right:2px}
.auth-demo button{height:27px;padding:0 10px;border-radius:999px;border:1px solid var(--line-c);background:var(--bg2);font-size:11px;color:var(--text-muted);cursor:pointer;transition:.15s}
.auth-demo button:hover{border-color:rgb(var(--brand));color:rgb(var(--brand-ink));background:var(--brand-soft)}
.auth-note{font-size:10.5px;line-height:1.65;color:var(--text-faint);background:var(--bg2);border:1px solid var(--line-c);border-radius:10px;padding:9px 11px;margin-top:2px}
html.dark .auth-main{background:#121621}
html.dark .auth-seal{background:#1b2130}
html.dark .auth-demo button:hover{background:rgba(37,99,235,.18);color:#93c5fd}
@media(max-width:760px){
  .auth{width:96vw;max-height:92vh;border-radius:18px}
  .auth-shell{grid-template-columns:1fr;min-height:0}
  .auth-aside{padding:22px 22px 18px;gap:16px}
  .auth-aside::before,.auth-aside::after{display:none}
  .auth-quote h2{font-size:23px;margin:8px 0 8px}
  .auth-quote p{font-size:11.5px}
  .auth-perks,.auth-stats{display:none}
  .auth-main{padding:22px 20px 20px}
  .auth-head h3{font-size:22px}
  .auth-seal{display:none}
}

/* 娉ㄥ唽瀵嗙爜寮哄害锛氶摵婊″瓧娈靛搴︼紝涓嶅拰甯姪鏂囧瓧鎸ゅ湪涓€琛?*/
.auth-body .pw-meter { width: 100%; margin-top: 7px; gap: 5px; }
.auth-body .pw-meter i { height: 4px; }
.auth-body .field > .pw-meter { display: grid; }
.auth-body .fld-help { margin-top: 5px; }

/* ---- 娉ㄥ唽椤甸偖绠遍獙璇佺爜涓€琛?---- */
.reg-code-row{display:flex;gap:8px;align-items:stretch}
.reg-code-row .input{flex:1 1 auto;min-width:0;letter-spacing:.16em}
.reg-code-row .btn{flex:0 0 auto;white-space:nowrap}
