@charset "UTF-8";
/* ==========================================================================
   武师同学录 · 设计系统
   现代清爽 + 保留品牌绿。全部手写，无构建步骤。
   ========================================================================== */

/* ---------- 1. 设计令牌 ------------------------------------------------ */
:root {
  /* 品牌绿 */
  --brand-50:  #EEF7EE;
  --brand-100: #DCEEDC;
  --brand-200: #BADCBB;
  --brand-300: #8FC792;
  --brand-400: #63AE68;
  --brand-500: #43A047;
  --brand-600: #2E7D32;
  --brand-700: #246127;
  --brand-800: #1B481D;

  /* 中性色 */
  --ink-900: #161A16;
  --ink-800: #262C26;
  --ink-700: #3C443C;
  --ink-600: #556055;
  --ink-500: #6E7A6E;
  --ink-400: #8E998E;
  --ink-300: #B3BCB3;
  --ink-200: #D6DCD6;
  --ink-100: #E8EDE8;
  --ink-50:  #F3F6F3;
  --ink-25:  #FAFBFA;

  /* 语义色 */
  --warn:  #C77A22;  --warn-bg:  #FDF4E7;
  --danger:#C4453D;  --danger-bg:#FCEDEC;
  --info:  #3268B5;  --info-bg:  #EDF3FC;
  --gold:  #C99A2E;

  /* 表面 */
  --canvas:  #F5F8F5;
  --surface: #FFFFFF;
  --surface-2: #FAFCFA;
  --line:    #E4EAE4;
  --line-strong: #D2DAD2;

  --text:      var(--ink-800);
  --text-soft: var(--ink-500);
  --text-mute: var(--ink-400);

  /* 圆角 */
  --r-xs: 6px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px; --r-full: 999px;

  /* 阴影 */
  --sh-xs: 0 1px 2px rgba(22,26,22,.05);
  --sh-sm: 0 1px 3px rgba(22,26,22,.06), 0 1px 2px rgba(22,26,22,.04);
  --sh-md: 0 4px 14px rgba(22,26,22,.07), 0 1px 3px rgba(22,26,22,.04);
  --sh-lg: 0 12px 34px rgba(22,26,22,.11), 0 3px 8px rgba(22,26,22,.05);
  --sh-focus: 0 0 0 3px var(--brand-100);

  /* 间距 */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px;
  --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;

  /* 排版 */
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system,
          BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", "Helvetica Neue", sans-serif;
  --font-num: ui-rounded, "SF Pro Rounded", var(--font);

  /* 布局 */
  --topbar-h: 60px;
  --nav-w: 216px;
  --rail-w: 288px;
  --shell-max: 1480px;

  --ease: cubic-bezier(.32,.72,.36,1);
}

/* ---------- 2. Reset --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: var(--brand-600); text-decoration: none; transition: color .16s var(--ease); }
a:hover { color: var(--brand-500); }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
h1,h2,h3,h4,h5 { font-weight: 600; line-height: 1.35; color: var(--ink-900); }
h1 { font-size: 22px; } h2 { font-size: 18px; } h3 { font-size: 16px; } h4 { font-size: 14px; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-5) 0; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }

:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; border-radius: var(--r-xs); }

::selection { background: var(--brand-200); color: var(--ink-900); }

/* 细滚动条 */
* { scrollbar-width: thin; scrollbar-color: var(--ink-200) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--ink-200); border-radius: 8px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-300); background-clip: content-box; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- 3. 图标 ---------------------------------------------------- */
.ic {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.ic-sm { width: 15px; height: 15px; stroke-width: 1.8; }
.ic-lg { width: 22px; height: 22px; stroke-width: 1.6; }
.ic-xl { width: 30px; height: 30px; stroke-width: 1.4; }

/* ---------- 4. 应用外壳 ------------------------------------------------ */
.topbar {
  position: sticky; top: 0; z-index: 60;
  height: var(--topbar-h);
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-in {
  max-width: var(--shell-max); margin: 0 auto; height: 100%;
  padding: 0 var(--sp-6);
  display: flex; align-items: center; gap: var(--sp-4);
}

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(140deg, var(--brand-400), var(--brand-600));
  display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(46,125,50,.28);
}
.brand-mark svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 1.6; fill: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 15px; font-weight: 700; color: var(--ink-900); letter-spacing: .2px; }
.brand-sub  { font-size: 11px; color: var(--text-mute); letter-spacing: .3px; }

.topbar-search { flex: 1; max-width: 420px; margin-left: var(--sp-2); }
.search-box { position: relative; display: flex; align-items: center; }
.search-box .ic { position: absolute; left: 11px; color: var(--text-mute); pointer-events: none; }
.search-box input {
  width: 100%; height: 38px; padding: 0 14px 0 36px;
  border: 1px solid var(--line); border-radius: var(--r-full);
  background: var(--ink-50); transition: all .18s var(--ease);
}
.search-box input::placeholder { color: var(--text-mute); }
.search-box input:focus {
  outline: none; background: #fff;
  border-color: var(--brand-300); box-shadow: var(--sh-focus);
}

.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: var(--sp-2); }

.icon-btn {
  position: relative; width: 38px; height: 38px; border-radius: var(--r-full);
  display: grid; place-items: center; color: var(--ink-600);
  transition: background .16s var(--ease), color .16s var(--ease);
}
.icon-btn:hover { background: var(--ink-50); color: var(--brand-600); }
.icon-btn .dot {
  position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px;
  padding: 0 4px; border-radius: var(--r-full);
  background: var(--danger); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 16px; text-align: center;
  border: 2px solid var(--surface); box-sizing: content-box;
}

.nav-toggle { display: none; }

/* 外壳栅格 */
.shell {
  max-width: var(--shell-max); margin: 0 auto;
  padding: var(--sp-6);
  display: grid; gap: var(--sp-6);
  grid-template-columns: var(--nav-w) minmax(0,1fr) var(--rail-w);
  align-items: start;
}
.shell.no-rail  { grid-template-columns: var(--nav-w) minmax(0,1fr); }
.shell.no-nav   { grid-template-columns: minmax(0,1fr); max-width: 1080px; }

/* narrow = 正文窄一点的页面（上传、写纸条、添加影视…）。
   左侧导航照常在左边占一列 —— 之前这里写成单列，导航和正文被塞进同一列，
   而导航是 position:sticky，滚动时就整块糊在正文上面。 */
.shell.narrow   { grid-template-columns: var(--nav-w) minmax(0,1fr); max-width: 1000px; }
.shell.narrow.no-nav { grid-template-columns: minmax(0,1fr); max-width: 760px; }

/* 兜底：万一哪个页面只剩一列，导航就别再 sticky 了，免得盖住正文 */
.shell:not(.no-nav) > .col-nav { align-self: start; }

.col-main { min-width: 0; display: flex; flex-direction: column; gap: var(--sp-5); }
.col-nav, .col-rail { position: sticky; top: calc(var(--topbar-h) + var(--sp-6)); }
.col-rail { display: flex; flex-direction: column; gap: var(--sp-4); }

/* ---------- 5. 侧边导航 ------------------------------------------------ */
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-group-title {
  font-size: 11px; font-weight: 700; letter-spacing: .8px;
  color: var(--text-mute); text-transform: uppercase;
  padding: var(--sp-4) 12px var(--sp-2);
}
.nav-item {
  display: flex; align-items: center; gap: 11px;
  height: 38px; padding: 0 12px; border-radius: var(--r-sm);
  color: var(--ink-700); font-size: 13.5px; font-weight: 500;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav-item .ic { color: var(--ink-400); transition: color .15s var(--ease); }
.nav-item:hover { background: var(--ink-50); color: var(--ink-900); }
.nav-item:hover .ic { color: var(--brand-500); }
.nav-item.on {
  background: var(--brand-50); color: var(--brand-700); font-weight: 600;
}
.nav-item.on .ic { color: var(--brand-600); }
.nav-item .count {
  margin-left: auto; font-size: 11px; font-weight: 700;
  background: var(--danger); color: #fff;
  min-width: 18px; height: 18px; line-height: 18px;
  border-radius: var(--r-full); text-align: center; padding: 0 5px;
}
.nav-item .count.quiet { background: var(--ink-100); color: var(--ink-500); }

/* ---------- 6. 卡片 ---------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
}
.card-pad { padding: var(--sp-5); }
.card-hd {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 14px var(--sp-5); border-bottom: 1px solid var(--line);
}
.card-hd h2, .card-hd h3 { font-size: 15px; }
.card-hd .ic { color: var(--brand-500); }
.card-hd .more { margin-left: auto; font-size: 12.5px; color: var(--text-soft); display: flex; align-items: center; gap: 3px; }
.card-hd .more:hover { color: var(--brand-600); }
.card-bd { padding: var(--sp-5); }
.card-bd.tight { padding: var(--sp-3) var(--sp-5); }
.card-ft { padding: 12px var(--sp-5); border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.card-hover { transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease); }
.card-hover:hover { box-shadow: var(--sh-md); border-color: var(--line-strong); transform: translateY(-1px); }

/* 页头 */
.page-head { display: flex; align-items: flex-end; gap: var(--sp-4); flex-wrap: wrap; }
.page-head h1 { font-size: 21px; letter-spacing: -.2px; }
.page-head .sub { color: var(--text-soft); font-size: 13px; }
.page-head .spacer { margin-left: auto; }

/* ---------- 7. 按钮 ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; padding: 0 16px; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: all .16s var(--ease);
}
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn .ic { width: 16px; height: 16px; }

.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 1px 2px rgba(46,125,50,.28); }
.btn-primary:hover { background: var(--brand-500); color: #fff; box-shadow: 0 3px 10px rgba(46,125,50,.3); }
.btn-primary:active { background: var(--brand-700); box-shadow: none; }

.btn-soft { background: var(--brand-50); color: var(--brand-700); }
.btn-soft:hover { background: var(--brand-100); color: var(--brand-800); }

.btn-ghost { background: var(--surface); color: var(--ink-700); border-color: var(--line); }
.btn-ghost:hover { background: var(--ink-50); border-color: var(--line-strong); color: var(--ink-900); }

.btn-quiet { background: transparent; color: var(--text-soft); padding: 0 10px; }
.btn-quiet:hover { background: var(--ink-50); color: var(--ink-800); }

.btn-danger { background: var(--danger-bg); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }

.btn-sm { height: 31px; padding: 0 11px; font-size: 12.5px; border-radius: var(--r-xs); }
.btn-lg { height: 44px; padding: 0 22px; font-size: 15px; border-radius: var(--r-md); }
.btn-block { width: 100%; }
.btn-icon { width: 38px; padding: 0; }
.btn-icon.btn-sm { width: 31px; }

/* ---------- 8. 表单 ---------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .label {
  font-size: 12.5px; font-weight: 600; color: var(--ink-600);
}
.field .hint { font-size: 12px; color: var(--text-mute); }
.field .err  { font-size: 12px; color: var(--danger); }

.input, .select, .textarea {
  width: 100%; min-height: 38px; padding: 8px 12px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--surface); color: var(--text);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--text-mute); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-300); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--brand-400); box-shadow: var(--sh-focus);
}
.input:disabled, .textarea:disabled { background: var(--ink-50); color: var(--text-mute); }
.textarea { min-height: 96px; resize: vertical; line-height: 1.7; }
.select {
  appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E7A6E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; background-size: 15px;
}
.form-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(2, minmax(0,1fr)); }
.form-grid .span2 { grid-column: 1 / -1; }
.form-row { display: flex; gap: var(--sp-3); align-items: center; flex-wrap: wrap; }

.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; color: var(--ink-700); }
.check input { width: 16px; height: 16px; accent-color: var(--brand-600); cursor: pointer; }

.radio-cards { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.radio-cards label {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-full);
  font-size: 13px; transition: all .15s var(--ease);
}
.radio-cards input { display: none; }
.radio-cards label:hover { border-color: var(--brand-300); background: var(--brand-50); }
.radio-cards input:checked + span { color: var(--brand-700); font-weight: 600; }
.radio-cards label:has(input:checked) { border-color: var(--brand-400); background: var(--brand-50); box-shadow: var(--sh-focus); }

/* ---------- 9. 头像 ---------------------------------------------------- */
.av {
  --size: 40px;
  width: var(--size); height: var(--size); flex: none;
  border-radius: var(--r-full); overflow: hidden;
  display: grid; place-items: center;
  color: #fff; font-weight: 600; font-size: calc(var(--size) * .4);
  background: var(--ink-300); user-select: none;
  box-shadow: inset 0 0 0 1px rgba(22,26,22,.06);
}
.av img { width: 100%; height: 100%; object-fit: cover; }
.av-xs { --size: 24px; } .av-sm { --size: 32px; } .av-md { --size: 40px; }
.av-lg { --size: 56px; } .av-xl { --size: 84px; } .av-2xl { --size: 112px; }
.av-ring { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--brand-200); }

.av-stack { display: flex; }
.av-stack .av { margin-left: -9px; box-shadow: 0 0 0 2px var(--surface); }
.av-stack .av:first-child { margin-left: 0; }

.user-line { display: flex; align-items: center; gap: 10px; min-width: 0; }
.user-line .u-name { font-weight: 600; color: var(--ink-800); font-size: 13.5px; }
.user-line .u-name:hover { color: var(--brand-600); }
.user-line .u-meta { font-size: 12px; color: var(--text-mute); }

/* ---------- 10. 徽章 / 标签 -------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: var(--r-full);
  font-size: 11.5px; font-weight: 600; line-height: 19px;
  background: var(--ink-100); color: var(--ink-600);
}
.badge .ic { width: 12px; height: 12px; stroke-width: 2.2; }
.badge-brand  { background: var(--brand-50);  color: var(--brand-700); }
.badge-gold   { background: #FBF3DF; color: var(--gold); }
.badge-warn   { background: var(--warn-bg);   color: var(--warn); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info   { background: var(--info-bg);   color: var(--info); }
.badge-dot::before { content:""; width:6px; height:6px; border-radius:50%; background: currentColor; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 13px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-600); transition: all .15s var(--ease);
}
.chip:hover { border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-50); }
.chip.on { background: var(--brand-600); border-color: var(--brand-600); color: #fff; font-weight: 600; }
.chip-row { display: flex; gap: var(--sp-2); flex-wrap: wrap; }

/* ---------- 11. 标签页 ------------------------------------------------- */
.tabs { display: flex; gap: var(--sp-1); border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs::-webkit-scrollbar { height: 0; }
.tab {
  position: relative; padding: 11px 14px; white-space: nowrap;
  font-size: 13.5px; font-weight: 500; color: var(--text-soft);
  transition: color .15s var(--ease);
}
.tab:hover { color: var(--ink-800); }
.tab.on { color: var(--brand-700); font-weight: 600; }
.tab.on::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px;
  height: 2px; background: var(--brand-600); border-radius: 2px 2px 0 0;
}
.tab .n { font-size: 11.5px; color: var(--text-mute); margin-left: 4px; }

/* ---------- 12. 信息流 ------------------------------------------------- */
.feed { display: flex; flex-direction: column; }
.feed-item { padding: var(--sp-5); border-bottom: 1px solid var(--line); transition: background .16s var(--ease); }
.feed-item:last-child { border-bottom: 0; }
.feed-item:hover { background: var(--surface-2); }
.feed-top { display: flex; align-items: flex-start; gap: 12px; }
.feed-body { flex: 1; min-width: 0; }
.feed-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 3px; }
.feed-text {
  color: var(--ink-700); line-height: 1.78; font-size: 13.8px;
  overflow-wrap: break-word;
}
.feed-text p { margin: 0 0 .55em; }
.feed-text p:last-child { margin-bottom: 0; }
.feed-text img { max-width: 100%; border-radius: var(--r-sm); margin: 6px 0; }
.feed-text a { text-decoration: underline; text-underline-offset: 2px; }
.feed-text blockquote {
  margin: 10px 0; padding: 10px 14px; border-left: 3px solid var(--brand-200);
  background: var(--brand-50); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink-600);
}
/* 富文本正文里的列表 / 标题 / 表格 —— 全局 reset 把 list-style 关掉了，这里补回来 */
.feed-text ul, .feed-text ol { margin: 8px 0; padding-left: 26px; }
.feed-text ul { list-style: disc; }
.feed-text ol { list-style: decimal; }
.feed-text li { margin: 3px 0; display: list-item; }
.feed-text h3 { font-size: 16px; font-weight: 700; margin: 14px 0 6px; color: var(--ink-900); }
.feed-text h4 { font-size: 14.5px; font-weight: 700; margin: 12px 0 5px; color: var(--ink-900); }
.feed-text hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.feed-text pre {
  background: var(--ink-50); border-radius: var(--r-sm); padding: 10px 12px; overflow: auto;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.8px;
}
.feed-text code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; }
.feed-text table { border-collapse: collapse; margin: 10px 0; max-width: 100%; }
.feed-text td, .feed-text th { border: 1px solid var(--line); padding: 5px 9px; }

.feed-acts { display: flex; align-items: center; gap: var(--sp-1); margin-top: 10px; }
.act {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: var(--r-xs);
  font-size: 12.5px; color: var(--text-mute); transition: all .15s var(--ease);
}
.act:hover { background: var(--ink-50); color: var(--ink-700); }
.act.liked { color: var(--danger); }
.act.liked .ic { fill: var(--danger); }
.act.danger:hover { background: var(--danger-bg); color: var(--danger); }

/* 发布框 */
.composer { display: flex; gap: 12px; padding: var(--sp-5); }
.composer-main { flex: 1; min-width: 0; }
.composer textarea {
  width: 100%; border: 0; resize: none; min-height: 54px;
  font-size: 14.5px; line-height: 1.7; background: transparent;
}
.composer textarea:focus { outline: none; }
.composer-bar { display: flex; align-items: center; gap: var(--sp-2); margin-top: 10px; }
.composer-bar .spacer { margin-left: auto; }

/* ---------- 13. 列表 --------------------------------------------------- */
.list { display: flex; flex-direction: column; }
.list-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px var(--sp-5); border-bottom: 1px solid var(--line);
  transition: background .15s var(--ease);
}
.list-row:last-child { border-bottom: 0; }
.list-row:hover { background: var(--surface-2); }
.list-row .grow { flex: 1; min-width: 0; }
.list-row .t { font-weight: 550; color: var(--ink-800); display: block; }
.list-row a.t:hover { color: var(--brand-600); }
.list-row .s { font-size: 12.5px; color: var(--text-mute); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 数据表 */
.tbl { font-size: 13.5px; }
.tbl th {
  text-align: left; font-weight: 600; font-size: 12px; color: var(--text-soft);
  padding: 10px var(--sp-4); border-bottom: 1px solid var(--line);
  background: var(--surface-2); white-space: nowrap;
}
.tbl td { padding: 11px var(--sp-4); border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: var(--surface-2); }
.tbl .num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.tbl-wrap { overflow-x: auto; border-radius: var(--r-lg); }

/* ---------- 14. 网格 --------------------------------------------------- */
.grid { display: grid; gap: var(--sp-4); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

/* 相册 */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }
.photo {
  position: relative; display: block; border-radius: var(--r-md); overflow: hidden;
  background: var(--ink-100); aspect-ratio: 1; box-shadow: var(--sh-xs);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.photo:hover { box-shadow: var(--sh-lg); transform: translateY(-2px); }
.photo:hover img { transform: scale(1.05); }
.photo-cap {
  position: absolute; inset: auto 0 0 0; padding: 22px 11px 9px;
  background: linear-gradient(transparent, rgba(10,14,10,.78));
  color: #fff; font-size: 12px; opacity: 0; transition: opacity .22s var(--ease);
}
.photo:hover .photo-cap { opacity: 1; }
.photo-cap .cap-t { font-weight: 500; }
.photo-cap .cap-m { font-size: 11px; opacity: .82; display: flex; gap: 10px; margin-top: 2px; }
.photo .pick {
  position: absolute; top: 8px; left: 8px; width: 20px; height: 20px;
  border-radius: 6px; background: rgba(255,255,255,.9); border: 1px solid rgba(0,0,0,.1);
  display: grid; place-items: center; opacity: 0; transition: opacity .18s var(--ease);
}
.photo:hover .pick, .photo.picked .pick { opacity: 1; }
.photo.picked { outline: 3px solid var(--brand-500); outline-offset: -3px; }

/* 灯箱 */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(12,16,12,.92); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 40px;
}
.lightbox.on { display: flex; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: var(--r-sm); box-shadow: var(--sh-lg); }
.lightbox .lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.86); font-size: 13px; padding: 0 40px; }
.lightbox .lb-x { position: absolute; top: 18px; right: 20px; color: #fff; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.lightbox .lb-x:hover { background: rgba(255,255,255,.2); }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); }
.lightbox .lb-nav:hover { background: rgba(255,255,255,.22); }
.lightbox .lb-prev { left: 20px; } .lightbox .lb-next { right: 20px; }

/* 成员卡 */
.member-card {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: var(--sp-5) var(--sp-3); text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: all .2s var(--ease);
}
.member-card:hover { border-color: var(--brand-200); box-shadow: var(--sh-md); transform: translateY(-2px); }
.member-card .m-name { font-weight: 600; color: var(--ink-900); font-size: 14px; }
.member-card .m-id { font-size: 11.5px; color: var(--text-mute); font-family: var(--font-num); }
.member-card .m-sig { font-size: 12px; color: var(--text-soft); min-height: 2.6em; }

/* ---------- 15. 统计块 ------------------------------------------------- */
.stat-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 1px; background: var(--line); border-radius: var(--r-md); overflow: hidden; }
.stat-row.wrap-4 { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(88px,1fr)); }
.stat { background: var(--surface); padding: 14px 10px; text-align: center; }
.stat .v { font-family: var(--font-num); font-size: 21px; font-weight: 700; color: var(--brand-700); letter-spacing: -.4px; }
.stat .k { font-size: 11.5px; color: var(--text-mute); margin-top: 1px; }

/* 进度条 */
.bar { height: 6px; background: var(--ink-100); border-radius: var(--r-full); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-400), var(--brand-600)); border-radius: inherit; transition: width .5s var(--ease); }
.bar.warn i { background: linear-gradient(90deg, #E2A03F, var(--warn)); }

/* ---------- 16. 空状态 / 骨架 ------------------------------------------ */
.empty { padding: var(--sp-12) var(--sp-5); text-align: center; }
.empty .ic { width: 46px; height: 46px; color: var(--ink-200); stroke-width: 1.2; margin: 0 auto 14px; }
.empty h3 { font-size: 15px; color: var(--ink-600); font-weight: 600; }
.empty p { font-size: 13px; color: var(--text-mute); margin-top: 5px; }
.empty .btn { margin-top: var(--sp-5); }

.skel { background: linear-gradient(90deg, var(--ink-50) 25%, var(--ink-100) 37%, var(--ink-50) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--r-xs); }
@keyframes shimmer { 0% { background-position: 100% 0 } 100% { background-position: -100% 0 } }

/* ---------- 17. 分页 --------------------------------------------------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 5px; padding: var(--sp-5); flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 34px; height: 34px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm); font-size: 13px; font-family: var(--font-num);
  color: var(--ink-600); border: 1px solid transparent; transition: all .15s var(--ease);
}
.pager a:hover { background: var(--ink-50); color: var(--brand-700); border-color: var(--line); }
.pager .on { background: var(--brand-600); color: #fff; font-weight: 600; }
.pager .gap { color: var(--ink-300); pointer-events: none; }
.pager .off { color: var(--ink-300); pointer-events: none; }
.pager-info { font-size: 12.5px; color: var(--text-mute); margin-left: var(--sp-3); }

/* ---------- 18. 提示条 ------------------------------------------------- */
.alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 15px; border-radius: var(--r-md); font-size: 13.5px;
  border: 1px solid transparent;
}
.alert .ic { margin-top: 2px; flex: none; }
.alert-ok   { background: var(--brand-50); color: var(--brand-800); border-color: var(--brand-100); }
.alert-err  { background: var(--danger-bg); color: #8E2F29; border-color: #F4D6D4; }
.alert-warn { background: var(--warn-bg); color: #8A5312; border-color: #F3E3C9; }
.alert-info { background: var(--info-bg); color: #234C86; border-color: #D5E3F8; }

/* Toast —— 全局浮动提示气泡，顶部居中，不占页面位置 */
.toasts {
  position: fixed; z-index: 300; top: calc(var(--top-h, 58px) + 14px); left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  pointer-events: none; width: max-content; max-width: calc(100vw - 32px);
}
.toast {
  display: flex; align-items: center; gap: 10px; pointer-events: auto;
  min-width: 200px; max-width: 420px; padding: 11px 18px;
  background: var(--ink-900); color: #fff; border-radius: 999px;
  box-shadow: var(--sh-lg); font-size: 13.5px; line-height: 1.5;
  animation: toastIn .3s var(--ease);
}
.toast.ok  { background: var(--brand-700); }
.toast.err { background: #9C3A33; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px) scale(.96) } to { opacity: 1; transform: none } }
.toast.out { animation: toastOut .25s var(--ease) forwards; }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px) scale(.97) } }

/* ---------- 19. 下拉 / 弹层 -------------------------------------------- */
.pop { position: relative; }
.pop-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 80;
  min-width: 200px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98);
  transition: all .18s var(--ease); transform-origin: top right;
}
.pop.on > .pop-menu { opacity: 1; visibility: visible; transform: none; }
.pop-menu a, .pop-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 11px; border-radius: var(--r-xs);
  font-size: 13.5px; color: var(--ink-700); text-align: left;
}
.pop-menu a:hover, .pop-menu button:hover { background: var(--ink-50); color: var(--ink-900); }
.pop-menu .ic { color: var(--ink-400); }
.pop-menu a:hover .ic, .pop-menu button:hover .ic { color: var(--brand-600); }
.pop-menu hr { margin: 5px 0; }
.pop-menu .danger { color: var(--danger); }
.pop-menu .danger:hover { background: var(--danger-bg); color: var(--danger); }
.pop-head { padding: 10px 11px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.pop-head .n { font-weight: 600; color: var(--ink-900); }
.pop-head .m { font-size: 12px; color: var(--text-mute); }

/* 模态 */
.modal-mask {
  position: fixed; inset: 0; z-index: 150; display: none;
  background: rgba(16,22,16,.44); backdrop-filter: blur(3px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.on { display: flex; animation: fadeIn .2s var(--ease); }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.modal {
  width: 100%; max-width: 520px; max-height: 86vh; overflow: auto; overflow-x: hidden;
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  animation: modalIn .26s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.97) } to { opacity: 1; transform: none } }
.modal-hd { display: flex; align-items: center; padding: 16px var(--sp-5); border-bottom: 1px solid var(--line); }
.modal-hd h3 { flex: 1; }
.modal-bd { padding: var(--sp-5); }
.modal-ft { padding: 14px var(--sp-5); border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: var(--sp-2); background: var(--surface-2); border-radius: 0 0 var(--r-lg) var(--r-lg); }

/* ---------- 20. 登录页 ------------------------------------------------- */
.auth-wrap {
  min-height: 100vh; display: grid; grid-template-columns: 1.15fr .85fr;
  background: var(--surface);
}
.auth-art {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #EAF4EA 0%, #D6EAD8 45%, #C2DFC6 100%);
  display: flex; flex-direction: column; justify-content: space-between; padding: 52px;
}
.auth-art::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.85), transparent 62%);
  top: -180px; right: -160px;
}
.auth-art::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle at 70% 70%, rgba(46,125,50,.14), transparent 66%);
  bottom: -140px; left: -110px;
}
.auth-art > * { position: relative; z-index: 1; }
.auth-tag { font-size: 12.5px; letter-spacing: 3px; color: var(--brand-700); font-weight: 600; }
.auth-art h1 { font-size: 38px; line-height: 1.25; color: var(--brand-800); letter-spacing: -.6px; margin-top: 14px; }
.auth-art .lead { margin-top: 16px; font-size: 15px; color: var(--brand-700); max-width: 30em; line-height: 1.85; opacity: .9; }
.auth-plane { position: absolute; right: 8%; top: 42%; width: 190px; opacity: .5; animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translate(0,0) rotate(-6deg) } 50% { transform: translate(-14px,-18px) rotate(-2deg) } }
.auth-news { display: flex; flex-direction: column; gap: 8px; }
.auth-news .n { display: flex; gap: 12px; font-size: 13px; color: var(--brand-700); opacity: .85; }
.auth-news .n b { font-weight: 600; font-family: var(--font-num); flex: none; }

.auth-form { display: flex; align-items: center; justify-content: center; padding: 48px 40px; }
.auth-box { width: 100%; max-width: 340px; }
.auth-box h2 { font-size: 24px; letter-spacing: -.3px; }
.auth-box .tip { color: var(--text-soft); margin: 8px 0 26px; font-size: 13.5px; }
.auth-box .field + .field { margin-top: var(--sp-4); }
.auth-box .btn-lg { margin-top: var(--sp-6); }
.auth-foot { margin-top: var(--sp-6); font-size: 12.5px; color: var(--text-mute); text-align: center; line-height: 2; }

/* ---------- 21. 个人主页 ----------------------------------------------- */
.profile-cover {
  height: 168px; border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: linear-gradient(120deg, var(--brand-300), var(--brand-500) 55%, #4E8D7C);
  position: relative; overflow: hidden;
}
.profile-cover::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 82% 0%, rgba(255,255,255,.34), transparent 55%);
}
.profile-hd { padding: 0 var(--sp-6) var(--sp-5); margin-top: -46px; position: relative; }
.profile-hd .av { box-shadow: 0 0 0 4px var(--surface), var(--sh-md); }
.profile-name-row { display: flex; align-items: flex-end; gap: var(--sp-4); flex-wrap: wrap; margin-top: 12px; }
.profile-name-row h1 { font-size: 22px; }
.profile-name-row .spacer { margin-left: auto; }
.profile-sig { color: var(--text-soft); font-size: 13.5px; margin-top: 6px; }
.info-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 2px 20px; }
.info-item { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.info-item .k { color: var(--text-mute); flex: none; width: 5.2em; }
.info-item .v { color: var(--ink-800); min-width: 0; overflow-wrap: break-word; }

/* ---------- 22. 站内信 ------------------------------------------------- */
.msg-row { display: flex; gap: 12px; padding: 14px var(--sp-5); border-bottom: 1px solid var(--line); transition: background .15s var(--ease); }
.msg-row:hover { background: var(--surface-2); }
.msg-row.unread { background: var(--brand-50); }
.msg-row.unread:hover { background: var(--brand-100); }
.msg-row .m-body { flex: 1; min-width: 0; }
.msg-row .m-subj { font-weight: 600; color: var(--ink-900); font-size: 13.8px; }
.msg-row.unread .m-subj::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-500); margin-right: 7px; vertical-align: middle; }
.msg-row .m-prev { font-size: 12.8px; color: var(--text-soft); margin-top: 2px; }
.msg-row .m-time { font-size: 12px; color: var(--text-mute); flex: none; }

/* ---------- 23. 文件 --------------------------------------------------- */
.file-ic {
  width: 38px; height: 38px; border-radius: var(--r-sm); flex: none;
  display: grid; place-items: center; font-size: 10.5px; font-weight: 700;
  background: var(--brand-50); color: var(--brand-700); letter-spacing: .3px; text-transform: uppercase;
}
.file-ic.doc { background: var(--info-bg); color: var(--info); }
.file-ic.img { background: #F3EEFA; color: #6B4FA8; }
.file-ic.zip { background: var(--warn-bg); color: var(--warn); }
.file-ic.med { background: #FCEEF3; color: #A8446B; }

/* ---------- 24. 工具类 ------------------------------------------------- */
.row { display: flex; align-items: center; gap: var(--sp-3); }
.row-t { align-items: flex-start; }
.col { display: flex; flex-direction: column; }
.spacer, .push { margin-left: auto; }
.wrap { flex-wrap: wrap; }
.g1 { gap: var(--sp-1) } .g2 { gap: var(--sp-2) } .g3 { gap: var(--sp-3) } .g4 { gap: var(--sp-4) } .g5 { gap: var(--sp-5) }
.mt1 { margin-top: var(--sp-1) } .mt2 { margin-top: var(--sp-2) } .mt3 { margin-top: var(--sp-3) }
.mt4 { margin-top: var(--sp-4) } .mt5 { margin-top: var(--sp-5) } .mt6 { margin-top: var(--sp-6) }
.mb2 { margin-bottom: var(--sp-2) } .mb3 { margin-bottom: var(--sp-3) } .mb4 { margin-bottom: var(--sp-4) }
.tc { text-align: center } .tr { text-align: right }
.small { font-size: 12.5px } .tiny { font-size: 11.5px }
.soft { color: var(--text-soft) } .mute { color: var(--text-mute) }
.strong { font-weight: 600 } .bold { font-weight: 700 }
.brand { color: var(--brand-600) }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums }
.hide { display: none !important }
.nowrap { white-space: nowrap }
.divider { height: 1px; background: var(--line); }
.only-mobile { display: none !important; }

/* ---------- 25. 响应式 ------------------------------------------------- */
@media (max-width: 1240px) {
  .shell { grid-template-columns: var(--nav-w) minmax(0,1fr); }
  .col-rail { display: none; }
}
@media (max-width: 900px) {
  :root { --topbar-h: 56px; }
  .shell, .shell.no-rail { grid-template-columns: minmax(0,1fr); padding: var(--sp-4); gap: var(--sp-4); }
  .topbar-in { padding: 0 var(--sp-4); gap: var(--sp-2); }
  .brand-text { display: none; }
  .nav-toggle { display: grid; }


  /* 侧栏变抽屉 */
  .col-nav {
    position: fixed; inset: var(--topbar-h) auto 0 0; z-index: 90;
    width: 254px; padding: var(--sp-4); overflow-y: auto;
    background: var(--surface); border-right: 1px solid var(--line);
    transform: translateX(-100%); transition: transform .26s var(--ease);
    box-shadow: var(--sh-lg);
  }
  body.nav-open .col-nav { transform: none; }
  body.nav-open::after {
    content: ""; position: fixed; inset: var(--topbar-h) 0 0 0; z-index: 85;
    background: rgba(16,22,16,.36);
  }
  .form-grid { grid-template-columns: minmax(0,1fr); }
  .auth-wrap { grid-template-columns: minmax(0,1fr); }
  .auth-art { display: none; }
  .photo-grid { grid-template-columns: repeat(auto-fill, minmax(132px,1fr)); gap: 10px; }
  .card { border-radius: var(--r-md); }
  .card-pad, .card-bd, .composer, .feed-item { padding: var(--sp-4); }
  .card-hd { padding: 12px var(--sp-4); }
  .page-head h1 { font-size: 19px; }
  .info-list { grid-template-columns: minmax(0,1fr); }
  .toasts { max-width: calc(100vw - 24px); }
  .toast { max-width: 100%; }
}
@media (max-width: 560px) {
  .topbar-search { display: none; }
  .only-mobile { display: grid !important; }
  .tbl th, .tbl td { padding: 9px 10px; }
  .grid-2, .grid-3 { grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); }
  .hide-xs { display: none !important; }
}


/* ---------- 28. 老站表情 ------------------------------------------------ */
.emo { display: inline-block; width: 20px; height: 20px; vertical-align: -4px; margin: 0 1px; }
.feed-text .emo { width: 22px; height: 22px; }

/* 发布框微调 */
.composer textarea { min-height: 46px; }
.composer-bar .pop-menu { z-index: 90; }

/* ---------- 26. 打印 --------------------------------------------------- */
@media print {
  .topbar, .col-nav, .col-rail, .feed-acts, .btn { display: none !important; }
  .shell { grid-template-columns: 1fr; padding: 0; }
  .card { border: 0; box-shadow: none; }
}

/* ---------- 27. 动效偏好 ----------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 29. 缺的两个小工具类 --------------------------------------- */
.clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.badge-soft { background: var(--ink-50); color: var(--text-soft); border: 1px solid var(--line); }
a.badge-soft:hover { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-200); }

/* ---------- 30. 富文本编辑器 -------------------------------------------- */
.rte {
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface);
  /* 注意：这里不能写 overflow:hidden —— 表情面板、颜色面板是绝对定位挂在
     工具条下面的，一裁就整个看不见了。圆角改由内部的条自己做。 */
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.rte:focus-within { border-color: var(--brand-400); box-shadow: 0 0 0 3px var(--brand-50); }
.rte.rte-err { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(198,40,40,.1); }

.rte-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2px;
  padding: 6px 8px; border-bottom: 1px solid var(--line);
  background: var(--ink-25);
}
.rte-grp { display: flex; align-items: center; gap: 2px; }
.rte-grp + .rte-grp { margin-left: 4px; padding-left: 6px; border-left: 1px solid var(--line); }
.rte-grp.push { margin-left: auto; border-left: 0; padding-left: 0; }

.rte-b {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; padding: 0;
  border: 0; border-radius: 7px; background: transparent;
  color: var(--text-soft); cursor: pointer; font-size: 13px; line-height: 1;
  transition: background .14s var(--ease), color .14s var(--ease);
}
.rte-b:hover  { background: var(--ink-100); color: var(--ink-900); }
.rte-b.on     { background: var(--brand-50); color: var(--brand-700); }
.rte-b .ic    { width: 15px; height: 15px; }
.rte-w        { font-family: Georgia, "Times New Roman", serif; font-size: 14px; }
.rte-b code   { font-size: 11px; font-family: ui-monospace, Menlo, Consolas, monospace; }
.rte-fc {
  font-weight: 700; font-family: Georgia, serif; line-height: 1;
  border-bottom: 3px solid var(--brand-600); padding-bottom: 1px;
}

.rte-sel {
  height: 28px; padding: 0 22px 0 8px; border: 0; border-radius: 7px;
  background: transparent; color: var(--text-soft); font-size: 12.5px; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7A6C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 5px center; background-size: 13px;
}
.rte-sel:hover { background-color: var(--ink-100); }

.rte-colors { width: 216px; padding: 8px; }
.rte-swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.rte-sw {
  width: 100%; aspect-ratio: 1; border-radius: 6px; cursor: pointer;
  border: 1px solid rgba(0,0,0,.14); padding: 0;
  transition: transform .12s var(--ease);
}
.rte-sw:hover { transform: scale(1.12); }

.rte-emos {
  left: auto; right: 0;               /* 靠按钮右缘向左展开，避免伸出弹窗产生横向滚动 */
  width: 340px; max-height: 260px; overflow-y: auto; overflow-x: hidden; padding: 6px;
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px;
  scrollbar-gutter: stable;          /* 留出滚动条的位置，最后一列不会被切掉 */
}
.rte-emo {
  display: grid; place-items: center; width: 100%; aspect-ratio: 1;
  border: 0; background: transparent; border-radius: 6px; cursor: pointer; padding: 0;
}
.rte-emo:hover { background: var(--brand-50); }
/* 注意要压过 .pop-menu button 的 13.5px（发布框的表情面板套在 pop-menu 里） */
.rte-emo, .rte-emos button.rte-emo, .pop-menu button.rte-emo { font-size: 24px; line-height: 1;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; }
.rte-emo img { width: 24px; height: 24px; }

.rte-body {
  padding: 13px 15px; outline: none; overflow-wrap: break-word; word-break: break-word;
  font-size: 14.4px; line-height: 1.85; color: var(--text);
}
.rte-body.is-empty::before {
  content: attr(data-ph); color: var(--text-mute); pointer-events: none; display: block;
}
.rte-body img            { max-width: 100%; height: auto; border-radius: 6px; }
.rte-body img.emo        { width: 22px; height: 22px; border-radius: 0; vertical-align: -5px; }
.rte-body a              { color: var(--brand-700); text-decoration: underline; }
.rte-body blockquote {
  margin: 10px 0; padding: 6px 0 6px 14px;
  border-left: 3px solid var(--brand-200); color: var(--text-soft);
}
.rte-body ul, .rte-body ol { margin: 8px 0; padding-left: 26px; }
.rte-body li             { margin: 3px 0; }
.rte-body hr             { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.rte-body table          { border-collapse: collapse; }
.rte-body td, .rte-body th { border: 1px solid var(--line); padding: 5px 9px; }
.rte-body pre {
  background: var(--ink-50); border-radius: var(--r-sm); padding: 10px 12px;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.8px; overflow: auto;
}

.rte-src {
  display: none; width: 100%; border: 0; outline: none; resize: vertical;
  padding: 13px 15px; font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.6px; line-height: 1.75; color: var(--text); background: var(--ink-25);
}
.rte.on-source .rte-body { display: none; }
.rte.on-source .rte-src  { display: block; }

.rte-foot {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-top: 1px solid var(--line); background: var(--ink-25);
}
.rte-foot .spacer { margin-left: auto; }
.rte-foot .over   { color: var(--danger); font-weight: 600; }

.rte-mini .rte-body { padding: 11px 13px; font-size: 14px; }
.rte-mini .rte-bar  { padding: 4px 6px; }
.rte-mini .rte-hint { display: none; }

/* 发布框里的编辑器：去掉外框，融进卡片 */
.composer .rte { border: 0; border-radius: 0; }
.composer .rte:focus-within { box-shadow: none; }
.composer .rte-bar { background: transparent; border-bottom: 1px solid var(--line); }
.composer .rte-body { padding: 10px 0; }
.composer .rte-foot { display: none; }

@media (max-width: 560px) {
  .rte-grp + .rte-grp { margin-left: 2px; padding-left: 4px; }
  .rte-b { width: 30px; height: 30px; }
  .rte-emos { width: min(340px, 92vw); grid-template-columns: repeat(7, 1fr); }
  .rte-colors { width: min(216px, 74vw); }
}

/* ---------- 31. 编辑器上传 / 正文里的视频与附件 ---------------------- */
/* 注意：作者样式里的 display 会盖过 [hidden] 的 UA 规则，必须显式写一条 */
.rte-uploading[hidden] { display: none; }
.rte-uploading {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 15px; font-size: 12.5px; color: var(--brand-700);
  background: var(--brand-50); border-bottom: 1px solid var(--line);
}
.rte-spin {
  width: 13px; height: 13px; flex: none; border-radius: 50%;
  border: 2px solid var(--brand-200); border-top-color: var(--brand-600);
  animation: rte-spin .7s linear infinite;
}
@keyframes rte-spin { to { transform: rotate(360deg); } }
.rte.rte-drop { border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-50); }
.rte.rte-drop .rte-body { background: var(--brand-50); }
.rte-b:disabled { opacity: .4; cursor: default; }

.rte-body video, .feed-text video {
  max-width: 100%; border-radius: var(--r-sm); display: block; margin: 8px 0;
  background: #000;
}
.rte-body audio, .feed-text audio { width: 100%; max-width: 420px; margin: 8px 0; }

.filecard {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px; margin: 5px 0;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--ink-25); color: var(--ink-800);
  font-size: 13.2px; text-decoration: none !important; max-width: 100%;
}
.filecard:hover { border-color: var(--brand-400); background: var(--brand-50); color: var(--brand-700); }
.filecard span { color: var(--text-mute); font-size: 11.8px; flex: none; }

/* ---------- 32. 长内容折叠 -------------------------------------------- */
.feed-text.foldable {
  max-height: 168px; overflow: hidden; position: relative;
}
.feed-text.foldable::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--surface));
  pointer-events: none;
}
.feed-text.foldable.unfolded { max-height: none; }
.feed-text.foldable.unfolded::after { display: none; }
.link-btn {
  background: none; border: 0; padding: 2px 0; margin-top: 4px;
  color: var(--brand-700); cursor: pointer; font-size: 12.2px;
}
.link-btn:hover { text-decoration: underline; }

/* 兜底：任何带 hidden 的元素都不该显示 */
[hidden] { display: none !important; }

/* ---------- 33. 广场发布框（微博式） ------------------------------------ */
.poster {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); margin-bottom: var(--sp-5);
  /* 同 .rte：不能 overflow:hidden，否则底部工具条弹出的表情面板会被裁掉 */
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.poster:focus-within { border-color: var(--brand-400); box-shadow: 0 0 0 3px var(--brand-50); }
.poster.drop { border-color: var(--brand-600); box-shadow: 0 0 0 3px var(--brand-50); }

.poster-top  { display: flex; gap: 12px; padding: 16px 18px 8px; }
.poster-main { flex: 1; min-width: 0; }

.poster-text {
  width: 100%; border: 0; outline: none; resize: vertical; background: transparent;
  font: inherit; font-size: 15px; line-height: 1.75; color: var(--text);
  min-height: 74px; padding: 4px 0;
}
.poster-text::placeholder { color: var(--text-mute); }

/* 已选的图片 / 视频 */
.poster-tiles { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.tile {
  position: relative; width: 92px; height: 92px; border-radius: var(--r-sm);
  overflow: hidden; background: var(--ink-100); flex: none; padding: 0; border: 0;
}
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,.28); color: #fff; pointer-events: none;
}
.tile-play svg { width: 26px; height: 26px; }
.tile-x {
  position: absolute; top: 3px; right: 3px; width: 20px; height: 20px;
  border: 0; border-radius: 50%; background: rgba(16,22,16,.62); color: #fff;
  font-size: 14px; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.tile-x:hover { background: var(--danger); }
.tile-x.static { position: static; flex: none; }
.tile-add {
  border: 1px dashed var(--ink-300); background: transparent;
  color: var(--text-mute); font-size: 26px; cursor: pointer;
  display: grid; place-items: center;
}
.tile-add:hover { border-color: var(--brand-400); color: var(--brand-600); background: var(--brand-50); }
.tile-add:disabled { opacity: .4; cursor: default; }

/* 已选的附件 */
.poster-files { margin: 10px 0 4px; display: flex; flex-direction: column; gap: 6px; }
.filerow {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--ink-25); font-size: 13px;
}
.filerow-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filerow-s { color: var(--text-mute); font-size: 11.8px; flex: none; }

.poster-progress {
  display: flex; align-items: center; gap: 9px; margin: 8px 0 2px;
  font-size: 12.5px; color: var(--brand-700);
}
.poster-progress[hidden] { display: none; }

/* 底部工具条 */
.poster-bar {
  display: flex; align-items: center; gap: 2px; flex-wrap: wrap;
  padding: 8px 14px; border-top: 1px solid var(--line); background: var(--ink-25);
}
.poster-tool {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 11px; border: 0; border-radius: var(--r-sm); background: transparent;
  color: var(--text-soft); font-size: 13px; cursor: pointer;
  transition: background .14s var(--ease), color .14s var(--ease);
}
.poster-tool .ic { width: 17px; height: 17px; }
.poster-tool:hover:not(:disabled) { background: var(--brand-50); color: var(--brand-700); }
.poster-tool:disabled { opacity: .35; cursor: default; }
.poster-bar .spacer { flex: 1 1 auto; }
.poster-bar .over { color: var(--danger); font-weight: 600; }

/* 投票编辑 */
.poll-edit {
  margin: 12px 0 4px; padding: 14px 15px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--ink-25);
}
.poll-opt { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.poll-opt .input { flex: 1; }

/* ---------- 34. 广场卡片里的附件 --------------------------------------- */
.pmedia { margin-top: 10px; }

/* 九宫格 */
.pgrid { display: grid; gap: 5px; max-width: 480px; }
.pgrid-1 { grid-template-columns: 1fr; }
.pgrid-2 { grid-template-columns: repeat(2, 1fr); max-width: 340px; }
.pgrid-3 { grid-template-columns: repeat(3, 1fr); }
.pcell {
  display: block; aspect-ratio: 1; border-radius: 6px; overflow: hidden;
  background: var(--ink-100); position: relative;
}
.pcell img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.pcell:hover img { transform: scale(1.04); }
/* 单图不裁成正方形，按原比例给个上限 */
.pgrid-one { max-width: 360px; }
.pgrid-one .pcell { aspect-ratio: auto; max-height: 380px; }
.pgrid-one .pcell img { height: auto; max-height: 380px; object-fit: contain; background: var(--ink-50); }

/* 视频 */
.pvideo video {
  width: 100%; max-width: 480px; max-height: 400px;
  border-radius: var(--r-sm); background: #000; display: block;
}

/* 附件 */
.pfiles { display: flex; flex-direction: column; gap: 6px; max-width: 480px; }
.pfile {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 13px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--text); font-size: 13.2px;
  text-decoration: none !important;
}
.pfile:hover { border-color: var(--brand-400); background: var(--brand-50); }
.pfile-ext {
  flex: none; min-width: 38px; height: 26px; border-radius: 5px;
  background: var(--brand-100); color: var(--brand-700);
  display: grid; place-items: center; font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
}
.pfile-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pfile-s { color: var(--text-mute); font-size: 11.8px; flex: none; }
.pfile .ic { color: var(--text-mute); flex: none; }

/* 投票卡片 */
.ppoll {
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--ink-25); padding: 15px 16px; max-width: 520px;
}
.ppoll-q { font-weight: 600; font-size: 14.4px; margin-bottom: 12px; color: var(--ink-900); }
.ppoll-opt {
  position: relative; display: flex; align-items: center; gap: 9px;
  padding: 10px 13px; margin-bottom: 7px; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); overflow: hidden; font-size: 13.6px;
}
.ppoll-opt:hover { border-color: var(--brand-400); }
.ppoll-opt.picked { border-color: var(--brand-600); }
.ppoll-opt input { accent-color: var(--brand-600); flex: none; position: relative; z-index: 1; }
.ppoll-bar {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--brand-50); transition: width .4s var(--ease); z-index: 0;
}
.ppoll-opt.picked .ppoll-bar { background: var(--brand-100); }
.ppoll-t { position: relative; z-index: 1; flex: 1; min-width: 0; }
.ppoll-n { position: relative; z-index: 1; flex: none; font-size: 12px; color: var(--text-mute); }
.ppoll-opt.res:not(.picked) { cursor: pointer; }
.ppoll-ft { display: flex; align-items: center; gap: 8px; margin-top: 11px; flex-wrap: wrap; }
.ppoll-ft .spacer { flex: 1 1 auto; }

/* 正文里的 #话题# */
.feed-text .topic { color: var(--brand-700); text-decoration: none; }
.feed-text .topic:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .pgrid, .pvideo video, .pfiles, .ppoll { max-width: none; }
  .poster-tool span { display: none; }
  .poster-tool { padding: 8px 10px; }
  .tile { width: 78px; height: 78px; }
}

/* ---------- 35. 弹层修复 ------------------------------------------------ */
/* .rte / .poster 去掉 overflow:hidden 之后，圆角由内部的条自己补上 */
.rte-bar   { border-radius: var(--r-md) var(--r-md) 0 0; }
.rte-foot  { border-radius: 0 0 var(--r-md) var(--r-md); }
.poster-bar { border-radius: 0 0 var(--r-lg) var(--r-lg); }
.poster-top { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.composer .rte-bar, .composer .rte-foot { border-radius: 0; }

/* 工具条在左边的按钮，弹层要往右开，不然会飘到屏幕外 */
.rte-bar .pop > .pop-menu,
.poster-bar .pop > .pop-menu { right: auto; left: 0; transform-origin: top left; }
.rte-bar .pop > .pop-menu { transform: translateY(-6px) scale(.98); }
.pop.on > .pop-menu { transform: none; }

/* 表情面板本身：给个最小宽度，别被 min-width:200px 压变形 */
.rte-emos { min-width: 0; }

/* 任何弹层都不许超出视口 —— 它虽然是 absolute、又是 visibility:hidden，
   但仍然会把文档的可滚动宽度撑开，手机上就出现横向滚动条。 */
.pop-menu { max-width: calc(100vw - 24px); }

@media (max-width: 560px) {
  /* 工具条上的弹层改成贴着编辑框本身对齐，不再跟着按钮跑，
     这样窄屏下永远不会顶出屏幕。 */
  .rte, .poster { position: relative; }
  .rte-bar .pop, .poster-bar .pop { position: static; }
  .rte-bar .pop > .pop-menu,
  .poster-bar .pop > .pop-menu { left: 8px; right: 8px; width: auto; }
  .rte-emos { width: auto; grid-template-columns: repeat(6, 1fr); }
  .rte-colors { width: auto; }
}

/* ---------- 36. 窄屏下的几处溢出 -------------------------------------- */
/* 列表行里的副标题是 span，不给它 display:block 的话 truncate 不生效，
   长文案会顶出屏幕（影视天地就是这么溢出的）。 */
.list-row .s { display: block; }
.list-row .grow > .truncate { max-width: 100%; }

@media (max-width: 560px) {
  /* 卡片底部那一排（作者 / 时间 / 阅读 / 赞 / 评论）挤不下就换行 */
  .card-ft.row { flex-wrap: wrap; row-gap: 6px; }
  /* 阴历生日那一排：窄屏让它自己换行就行 */
  [data-birth-lunar] .row { flex-wrap: wrap; }
  /* 兜底：谁都别把页面撑宽 */
  body { overflow-x: hidden; }
}

/* ---------- 37. 两栏分栏（原来写成内联样式，媒体查询盖不住，窄屏直接塌成 4px） ---- */
.split { display: grid; align-items: start; gap: var(--sp-5); }
.split-side { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
.split-wide { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
@media (max-width: 900px) {
  .split-side, .split-wide { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 38. 首页并进广场：公告条 + 最新照片横条 ---------------------- */
.notice-card { border-color: var(--brand-200);
  background: linear-gradient(120deg, var(--brand-50), #fff 60%); }
.notice-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-100);
  display: grid; place-items: center; flex: none; color: var(--brand-700); }
.photo-strip { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.photo-strip .strip-hide { display: none; }
@media (max-width: 560px) {
  .photo-strip { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
}

/* ---------- 39. 浮层新增：宽版模态 + 拖拽区 ---------------------------- */
.modal-lg { max-width: 680px; }
.drop-zone {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border: 2px dashed var(--line-strong); border-radius: var(--r-lg);
  padding: 30px 20px; cursor: pointer; transition: border-color .18s, background .18s;
}
.drop-zone:hover, .drop-zone.dragging { border-color: var(--brand-500); background: var(--brand-50); }
.drop-ic {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand-50); color: var(--brand-600); margin-bottom: 10px;
}
.tabs-inline { border-bottom: 1px solid var(--line); }
.tabs-inline .tab { background: none; border: 0; cursor: pointer; font: inherit; display: flex; align-items: center; gap: 5px; }
.ok-t { color: var(--brand-700); }
.warn-t { color: var(--warn, #b26b00); }

/* ---------- 40. 影视：站内播放器 -------------------------------------- */
.player {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #000; border-radius: var(--r-md); overflow: hidden;
}
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 560px) { .player { border-radius: var(--r-sm); } }

/* ---------- 41. 音乐：封面、搜索结果、底部小播放器 --------------------- */
.song-cover { flex: none; width: 42px; height: 42px; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.song-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-btn.on { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }

.song-res { max-height: 300px; overflow: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.song-res:empty { display: none; }
.song-hit {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 8px 10px; background: none; border: 0; border-bottom: 1px solid var(--line);
  cursor: pointer; font: inherit;
}
.song-hit:last-child { border-bottom: 0; }
.song-hit:hover { background: var(--surface-2); }
.song-hit.on { background: var(--brand-50); }
.song-hit img, .song-hit-ph { width: 38px; height: 38px; border-radius: var(--r-sm); object-fit: cover; flex: none; background: var(--surface-2); }
.song-hit-b { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.song-hit-t { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-hit-s { font-size: 11.5px; color: var(--text-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-hit-p {
  flex: none; font-size: 12px; padding: 3px 9px; border-radius: 999px;
  background: var(--surface-2); color: var(--text-soft); border: 1px solid var(--line);
}
.song-hit-p:hover { background: var(--brand-50); color: var(--brand-700); }

.picked-song {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border: 1px solid var(--brand-200); background: var(--brand-50);
  border-radius: var(--r-md);
}
.picked-song img { width: 40px; height: 40px; border-radius: var(--r-sm); object-fit: cover; flex: none; }

.miniplayer {
  position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 130%);
  z-index: 140; display: flex; align-items: center; gap: 10px;
  width: min(560px, calc(100vw - 24px)); padding: 9px 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; box-shadow: var(--sh-lg);
  transition: transform .24s var(--ease); pointer-events: none; opacity: 0;
}
.miniplayer.show { transform: translate(-50%, 0); pointer-events: auto; opacity: 1; }
.miniplayer .mp-t { flex: 1; min-width: 0; font-size: 13px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.miniplayer .mp-a { height: 32px; max-width: 230px; flex: none; }
.miniplayer .mp-toggle, .miniplayer .mp-x {
  flex: none; width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700);
  font-size: 17px; line-height: 1;
}
.miniplayer .mp-toggle:hover, .miniplayer .mp-x:hover { background: var(--brand-100); }
.miniplayer .mp-x { background: var(--surface-2); color: var(--text-mute); }

/* 全局点播播放器：上一首 / 下一首 / 列表按钮 */
.miniplayer .mp-btn {
  flex: none; width: 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: transparent; color: var(--text-soft);
  font-size: 14px; line-height: 1; padding: 0;
}
.miniplayer .mp-btn:hover { background: var(--brand-50); color: var(--brand-700); }
.miniplayer .mp-t { cursor: pointer; }
.miniplayer.playing .mp-t { color: var(--brand-700); }

/* 播放 / 暂停按钮：跟着状态换图标（默认显示 ▶，播放中显示 ⏸） */
.miniplayer .mp-toggle .mp-ic-pause { display: none; }
.miniplayer.playing .mp-toggle .mp-ic-play { display: none; }
.miniplayer.playing .mp-toggle .mp-ic-pause { display: block; }

/* 顶栏版播放器：挂在搜索框右边，不再是底部悬浮条 */
.miniplayer.in-top {
  position: relative; left: auto; bottom: auto; transform: none;
  width: auto; max-width: 470px; flex: 0 1 auto; min-width: 0;
  padding: 4px 8px; gap: 6px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 999px; box-shadow: none;
  transition: opacity .2s var(--ease);
  display: none; opacity: 0; pointer-events: none;
}
.miniplayer.in-top.show { display: flex; opacity: 1; pointer-events: auto; }
.miniplayer.in-top .mp-t { font-size: 12.5px; max-width: 180px; }
.miniplayer.in-top .mp-a { height: 28px; max-width: 190px; }
.miniplayer.in-top .mp-toggle { width: 28px; height: 28px; }
/* 点播列表面板在顶栏时往下弹 */
.miniplayer.in-top .mp-panel {
  bottom: auto; top: calc(100% + 10px);
  left: auto; right: 0; transform: none;
}
@media (max-width: 1180px) { .miniplayer.in-top .mp-a { display: none; } }
@media (max-width: 960px)  {
  .miniplayer.in-top .mp-prev, .miniplayer.in-top .mp-next { display: none; }
  .miniplayer.in-top .mp-t { max-width: 110px; }
}
@media (max-width: 640px)  {
  .miniplayer.in-top { padding: 3px 6px; }
  .miniplayer.in-top .mp-t { display: none; }
}

/* 点播列表面板（挂在播放条上方） */
.mp-panel {
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%);
  width: min(440px, calc(100vw - 24px)); max-height: min(52vh, 420px); overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 6px;
}
.mp-panel-hd {
  position: sticky; top: 0; z-index: 1;
  padding: 8px 12px 7px; font-size: 12px; font-weight: 700; color: var(--text-soft);
  background: var(--surface); border-bottom: 1px solid var(--line); margin-bottom: 4px;
}
.mp-panel-hd span { font-weight: 400; color: var(--text-mute); }
.mp-song {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  width: 100%; padding: 8px 12px; border: 0; border-radius: var(--r-md);
  background: transparent; cursor: pointer; text-align: left;
}
.mp-song:hover { background: var(--surface-2); }
.mp-song-t {
  max-width: 100%; font-size: 13px; font-weight: 600; color: var(--ink-900);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mp-song-s {
  max-width: 100%; font-size: 12px; color: var(--text-mute);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mp-song.on { background: var(--brand-50); }
.mp-song.on .mp-song-t { color: var(--brand-700); }
.mp-song.on .mp-song-t::before { content: '♪ '; }

/* 列表页里正在播放的那首，「播放」按钮点亮 */
.play-btn.on { background: var(--brand-100); color: var(--brand-700); }

/* ---------- 评论的互动回复（楼中楼，一层嵌套） ---------- */
.c-replies {
  margin-top: 10px; padding: 4px 0 2px 12px;
  border-left: 2px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.c-reply .feed-meta { margin-bottom: 2px; }

.rp-subs { display: flex; flex-direction: column; gap: 8px; }
.rp-subs:not(:empty) {
  margin-top: 8px; padding: 6px 0 2px 10px; border-left: 2px solid var(--line);
}
.rp-item.rp-sub { padding: 0; }
.rp-item.rp-sub .rp-av { width: 22px; height: 22px; font-size: 11px; }
.rp-reply.link-btn { color: var(--text-mute); }
.rp-reply.link-btn:hover { color: var(--brand-700); }
.rp-chip { margin-bottom: 6px; }
.rp-chip.hide { display: none; }

.vw-subs:not(:empty) {
  margin-top: 8px; padding: 6px 0 2px 10px; border-left: 2px solid rgba(127, 127, 127, .35);
  display: flex; flex-direction: column; gap: 8px;
}
.vw-c.vw-sub { padding: 0; border: 0; }
.vw-c.vw-sub .vw-cav { width: 22px; height: 22px; font-size: 11px; }
.vw-creply {
  border: 0; background: none; cursor: pointer; font-size: 12px;
  color: inherit; opacity: .7; padding: 0;
}
.vw-creply:hover { opacity: 1; }
.vw-rchip {
  display: flex; align-items: center; gap: 4px;
  font-size: 12.5px; padding: 4px 10px; margin-bottom: 6px;
  background: var(--brand-50); color: var(--brand-700);
  border-radius: 999px; width: fit-content;
}
.vw-rchip-x { border: 0; background: none; cursor: pointer; color: inherit; font-size: 14px; padding: 0 2px; }

.c-at { font-size: 12px; color: var(--brand-700); margin-left: 6px; }
/* 纯表情内容放大显示 */
.emo-xl { font-size: 38px; line-height: 1.35; letter-spacing: 4px; }
.c-del { color: var(--text-mute); }
.c-del:hover { color: var(--danger); }
.vw-creply.c-del:hover { opacity: 1; color: #ff8a80; }
.irf { display: flex; gap: 8px; margin: 8px 0 2px; align-items: center; }
.irf .input, .irf .irf-in {
  flex: 1; min-width: 0; height: 34px; font-size: 13px;
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 10px;
  background: var(--surface); color: inherit;
}
.irf .irf-in:focus { outline: none; border-color: var(--brand-300, var(--brand-200)); }

@media (max-width: 640px) {
  .miniplayer .mp-a { max-width: 150px; }
  .miniplayer { bottom: 10px; }
  .miniplayer .mp-btn.mp-prev, .miniplayer .mp-btn.mp-next { display: none; }
}

/* ---------- 42. 站内信：会话列表 + 对话 -------------------------------- */
.conv-row {
  display: flex; align-items: center; gap: 12px; padding: 12px var(--sp-5);
  border-bottom: 1px solid var(--line); color: inherit; text-decoration: none;
}
.conv-row:last-child { border-bottom: 0; }
.conv-row:hover { background: var(--surface-2); }
.conv-row.unread { background: var(--brand-50); }
.conv-b { flex: 1; min-width: 0; }
.conv-n { font-size: 14px; font-weight: 600; }
.conv-t { font-size: 11.5px; color: var(--text-mute); }
.conv-p { font-size: 12.5px; color: var(--text-soft); margin-top: 2px; }

.chat-card { display: flex; flex-direction: column; }
.chat-hd { gap: 10px; }
.chat-body {
  max-height: min(58vh, 560px); overflow-y: auto; padding: 8px var(--sp-5) 14px;
  background: var(--surface-2);
}
.chat-day { text-align: center; margin: 12px 0 8px; }
.chat-day span {
  font-size: 11.5px; color: var(--text-mute);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 2px 10px;
}
.chat-line { display: flex; gap: 9px; align-items: flex-start; margin: 8px 0; }
.chat-line.mine { flex-direction: row-reverse; }
.chat-bubble {
  max-width: min(72%, 520px); background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px;
  box-shadow: var(--sh-sm, 0 1px 2px rgba(22,26,22,.05));
}
.chat-line.mine .chat-bubble { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.chat-line.mine .chat-bubble a { color: #fff; text-decoration: underline; }
.chat-subj { font-weight: 600; font-size: 13px; margin-bottom: 3px; }
.chat-t { font-size: 13.8px; line-height: 1.62; word-break: break-word; }
.chat-t img.emo { vertical-align: -3px; }
.chat-meta { font-size: 11px; color: var(--text-mute); margin-top: 4px; text-align: right; }
.chat-line.mine .chat-meta { color: rgba(255,255,255,.78); }
.chat-bubble .pmedia { margin-top: 6px; }
.chat-bubble .pgrid { max-width: 300px; }
.chat-foot { border-top: 1px solid var(--line); }
.poster-chat { border: 0; box-shadow: none; border-radius: 0; }
@media (max-width: 560px) { .chat-bubble { max-width: 84%; } }

/* ---------- 43. 可搜索选人 -------------------------------------------- */
.peoplepick .pp-chosen {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px; border: 1px solid var(--brand-200);
  background: var(--brand-50); border-radius: var(--r-md);
}
.pp-list {
  margin-top: 8px; max-height: 240px; overflow-y: auto;
  border: 1px solid var(--line); border-radius: var(--r-md);
}
.pp-item {
  display: flex; align-items: center; gap: 9px; width: 100%; text-align: left;
  padding: 7px 10px; background: none; border: 0; border-bottom: 1px solid var(--line);
  cursor: pointer; font: inherit;
}
.pp-item:last-child { border-bottom: 0; }
.pp-item:hover { background: var(--brand-50); }
.pp-item-b { display: flex; flex-direction: column; min-width: 0; }
.pp-item-n { font-size: 13.5px; font-weight: 600; }
.pp-item-s { font-size: 11.5px; color: var(--text-mute); }

/* ---------- 44. 视图切换（九宫格 / 列表） ------------------------------ */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-full); overflow: hidden; background: var(--surface); }
.seg-b {
  display: flex; align-items: center; gap: 5px; padding: 5px 12px;
  font-size: 12.5px; color: var(--text-soft); text-decoration: none;
  border-right: 1px solid var(--line);
}
.seg-b:last-child { border-right: 0; }
.seg-b:hover { background: var(--surface-2); }
.seg-b.on { background: var(--brand-600); color: #fff; }

/* ---------- 45. 生日：今天过生日 + 祝福滚动 ---------------------------- */
.bday-today {
  border-color: var(--gold, #D8A93A);
  background: linear-gradient(135deg, #FFFBF0, #fff 55%);
  overflow: hidden;
}
.bday-hd { display: flex; align-items: center; gap: 13px; }
.bday-ic {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  display: grid; place-items: center; color: #9A6B12;
  background: linear-gradient(135deg, #FDE9B0, #F7D77C);
}
.bday-t { font-size: 17px; font-weight: 700; color: var(--ink-900); }
.bday-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 15px;
}
/* 快捷送礼按钮：emoji + 名称 + 计数 */
.gift-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink-900); font-size: 13px;
  cursor: pointer; user-select: none;
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.gift-btn:hover:not(:disabled):not(.is-static) {
  border-color: var(--brand-200); background: var(--brand-50); transform: translateY(-1px);
}
.gift-btn:active:not(:disabled):not(.is-static) { transform: scale(.96); }
.gift-btn .gift-emo { font-size: 17px; line-height: 1; }
.gift-btn b { color: var(--text-mute); font-weight: 600; min-width: 8px; }
.gift-btn.done { background: var(--brand-50); border-color: var(--brand-200); cursor: default; }
.gift-btn.done b { color: var(--brand-700); }
.gift-btn.is-static { cursor: default; }

.wish-ticker {
  border-top: 1px solid var(--line); background: var(--surface);
  overflow: hidden; padding: 9px 0; position: relative;
}
.wish-ticker::before, .wish-ticker::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 46px; z-index: 2; pointer-events: none;
}
.wish-ticker::before { left: 0;  background: linear-gradient(90deg, var(--surface), transparent); }
.wish-ticker::after  { right: 0; background: linear-gradient(270deg, var(--surface), transparent); }
.wish-track { display: flex; gap: 30px; width: max-content; animation: wishroll 60s linear infinite; }
.wish-ticker:hover .wish-track { animation-play-state: paused; }
.wish-item { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--text-soft); white-space: nowrap; }
.wish-item b { color: var(--ink-800); }
@keyframes wishroll { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@media (prefers-reduced-motion: reduce) {
  .wish-track { animation: none; }
  .wish-ticker { overflow-x: auto; }
}

/* ---------- 46. 写纸条浮层里的发布器 ----------------------------------- */
.poster-modal { border: 1px solid var(--line); border-radius: var(--r-md); }
.poster-pre { padding: 12px 14px 0; }
.poster-modal .poster-pre { padding: 12px 14px 4px; }
/* 浮层和对话底部的表情面板向上弹，不然会被弹窗边缘/屏幕底部切掉 */
.modal .pop-menu, .poster-chat .pop-menu, .chat-foot .pop-menu {
  top: auto; bottom: calc(100% + 8px);
}

/* 发布框里的「同时存入班级相册」 */
.poster-album { margin-top: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.poster-album[hidden] { display: none !important; }

/* ---------- 47. 沉浸式查看器（参考微博 / X 的图片详情） ----------------- */
.viewer {
  position: fixed; inset: 0; z-index: 400; display: none;
  background: rgba(8, 10, 8, .94);
}
.viewer.on { display: flex; animation: fadeIn .18s var(--ease); }

.vw-stage { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-width: 0; }
.vw-media { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 48px 68px; }
.vw-media img, .vw-media video {
  max-width: 100%; max-height: 100%; object-fit: contain;
  border-radius: 4px; box-shadow: 0 10px 44px rgba(0,0,0,.5);
}
.vw-x {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; font-size: 24px; line-height: 1;
}
.vw-x:hover { background: rgba(255,255,255,.24); }
.vw-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; font-size: 18px;
}
.vw-nav:hover { background: rgba(255,255,255,.26); }
.vw-prev { left: 16px; } .vw-next { right: 16px; }
.vw-count {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.85); font-size: 12.5px;
  background: rgba(0,0,0,.4); border-radius: 999px; padding: 3px 12px;
}
.vw-count:empty { display: none; }
.vw-spin {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.25); border-top-color: #fff;
  animation: vwspin .8s linear infinite;
}
@keyframes vwspin { to { transform: rotate(360deg) } }

.vw-side {
  width: min(400px, 40vw); background: var(--surface); display: flex; flex-direction: column;
  border-left: 1px solid rgba(255,255,255,.08);
}
.vw-head {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.vw-author { display: flex; align-items: center; gap: 10px; min-width: 0; color: inherit; }
.vw-av {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 16px;
}
.vw-an { font-weight: 700; font-size: 14.5px; color: var(--ink-900); }
.vw-open { margin-left: auto; font-size: 12.5px; color: var(--text-mute); }
.vw-open:hover { color: var(--brand-600); }

.vw-body { flex: 1; overflow-y: auto; min-height: 0; }
.vw-text { padding: 14px 16px 4px; font-size: 14.5px; line-height: 1.7; word-break: break-word; }
.vw-text img.emo { vertical-align: -3px; }
.vw-meta { padding: 8px 16px 12px; font-size: 12.5px; color: var(--text-mute);
  border-bottom: 1px solid var(--line); }
.vw-acts { display: flex; gap: 18px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.vw-act {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: none;
  font: inherit; font-size: 13px; color: var(--text-soft); cursor: default;
}
.vw-act b { font-weight: 700; color: var(--ink-800); min-width: 8px; }
button.vw-act { cursor: pointer; }
button.vw-act:hover, .vw-like.liked { color: #D6455C; }
.vw-like.liked b { color: #D6455C; }

.vw-comments { padding: 6px 16px 14px; }
.vw-c { display: flex; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.vw-c:last-child { border-bottom: 0; }
.vw-cav {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12px;
}
.vw-cb { flex: 1; min-width: 0; }
.vw-cm { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; }
.vw-cm b { color: var(--ink-800); }
.vw-cm span { color: var(--text-mute); font-size: 11.5px; }
.vw-ct { font-size: 13.2px; line-height: 1.65; word-break: break-word; margin-top: 2px; }
.vw-empty { padding: 30px 0; text-align: center; color: var(--text-mute); font-size: 13px; }

.vw-foot { border-top: 1px solid var(--line); padding: 10px 12px; background: var(--surface); }
.vw-foot:empty { display: none; }
/* 发表框挪到了评论列表上方 */
.vw-composer { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.vw-composer .cmt-chips { padding: 0 4px 6px; }
.vw-cform { display: flex; gap: 8px; }
.vw-cinput {
  flex: 1; height: 38px; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 0 14px; font: inherit; font-size: 13.5px; background: var(--surface-2);
}
.vw-cinput:focus { outline: 0; border-color: var(--brand-500); background: var(--surface); }
.vw-csend {
  height: 38px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--brand-600); color: #fff; font: inherit; font-size: 13.5px; font-weight: 600;
}
.vw-csend:hover { background: var(--brand-700); }
.vw-csend:disabled { opacity: .6; }

@media (max-width: 860px) {
  .viewer.on { flex-direction: column; }
  .vw-stage { flex: none; height: 52vh; }
  .vw-media { padding: 46px 12px 30px; }
  .vw-side { width: 100%; flex: 1; min-height: 0; border-left: 0; border-top: 1px solid var(--line); }
}
/* 视频卡右上角的「全屏查看」小按钮 */
.pvideo { position: relative; width: fit-content; max-width: 100%; }
.pvideo-full {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  border: 0; border-radius: 999px; padding: 5px 12px; cursor: pointer;
  background: rgba(0,0,0,.55); color: #fff; font: inherit; font-size: 12px;
}
.pvideo-full:hover { background: rgba(0,0,0,.75); }

/* ---------- 48. 就地回复（列表里滑出的回复框） --------------------------- */
.replybox {
  overflow: hidden; max-height: 0; opacity: 0;
  transition: max-height .28s var(--ease), opacity .22s var(--ease), margin .22s var(--ease);
  margin: 0;
}
/* 展开后的高度由 JS 设置：动画结束就解除限高，内容多长都完整铺开 */
.replybox.open { opacity: 1; margin-top: 10px; }
.rp-list {
  background: var(--surface-2); border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 var(--r-md) var(--r-md); padding: 4px 12px;
}
.rp-item { display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.rp-item:last-child { border-bottom: 0; }
.rp-av {
  width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 11px;
}
.rp-b { flex: 1; min-width: 0; }
.rp-m { display: flex; align-items: baseline; gap: 8px; font-size: 12px; }
.rp-m b { color: var(--ink-800); }
.rp-m span { color: var(--text-mute); font-size: 11px; }
.rp-t { font-size: 13px; line-height: 1.6; word-break: break-word; }
.rp-t img.emo { vertical-align: -3px; }
.rp-loading { padding: 12px 0; font-size: 12.5px; color: var(--text-mute); text-align: center; }
.rp-form {
  display: flex; gap: 8px; padding: 8px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.rp-input {
  flex: 1; height: 34px; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 0 13px; font: inherit; font-size: 13px; background: var(--surface);
}
.rp-input:focus { outline: 0; border-color: var(--brand-500); }

/* ---------- 49. 评论支持表情 + 插图 ------------------------------------ */
.cmt-tools { position: relative; display: flex; gap: 2px; align-items: center; }
.cmt-tool {
  width: 30px; height: 30px; border: 0; border-radius: 8px; cursor: pointer;
  background: none; font-size: 17px; line-height: 1; display: grid; place-items: center;
}
.cmt-tool:hover { background: var(--brand-50); }
.cmt-emopanel {
  position: fixed; z-index: 510;   /* 自由浮层：压过查看器(400)和内容 */
  width: min(340px, 86vw); max-height: 240px; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-lg); padding: 6px;
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px;
}
.cmt-chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px 0; }
.cmt-chip { position: relative; }
.cmt-chip img { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; display: block; }
.cmt-chip button {
  position: absolute; top: -6px; right: -6px; width: 18px; height: 18px;
  border: 0; border-radius: 50%; cursor: pointer; background: var(--ink-900); color: #fff;
  font-size: 12px; line-height: 1; display: grid; place-items: center;
}
.cmt-img { max-width: 200px; max-height: 160px; border-radius: 8px; display: block; margin-top: 5px; }
.rp-more {
  display: block; padding: 10px 0; font-size: 12.5px; color: var(--brand-700); text-align: center;
}
.rp-more:hover { text-decoration: underline; }
.vw-foot .cmt-chips { padding: 0 4px 6px; }
.vw-cform .cmt-tools { flex: none; }

/* 回复的元信息行：完整时间 + 来源地 + 点赞 */
.rp-f, .vw-cf {
  display: flex; align-items: center; gap: 10px; margin-top: 4px;
  font-size: 11.5px; color: var(--text-mute);
}
.rp-like {
  margin-left: auto; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 12px; color: var(--text-mute);
  display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 8px;
}
.rp-like:hover { background: var(--brand-50); color: var(--brand-700); }
.rp-like.liked { color: #D6455C; }
.vw-cf { padding-right: 2px; }
