/* ==========================================================================
   袋袋拾趣 · 运营后台样式
   设计约束：
   1. 后台不是小程序。信息密度优先，一屏能看完的绝不分两屏。
   2. 色彩沿用品牌（奶油 / 巧克力 / 莓果），但只用一组主色 + 一组语义色，
      状态一律靠色块 + 文字，不靠图标猜。
   3. 不做花哨动效，只保留抽屉/弹窗的位移，避免长时间使用疲劳。
   ========================================================================== */

:root {
  --cream: #FAF6EC;
  --cream2: #F4EDDD;
  --card: #FFFFFF;
  --cocoa: #4A2A17;
  --cocoa-deep: #33200F;
  --cocoa-soft: #6B4A32;
  --berry: #DE5240;
  --berry-soft: #FCE9E5;
  --mint: #3F8E6A;
  --mint-soft: #E4F3EB;
  --lemon: #B98314;
  --lemon-soft: #FBF1DA;
  --line: #EBE1D0;
  --line2: #F3EBDD;
  --ink: #33200F;
  --ink2: #6E5A47;
  --ink3: #9C8774;
  --ink4: #BDAC9A;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(51, 32, 15, .04), 0 8px 24px -16px rgba(51, 32, 15, .18);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.hide { display: none !important; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
a { color: var(--cocoa); }

/* ==========================================================================
   登录
   ========================================================================== */

.login {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background:
    radial-gradient(900px 420px at 50% -8%, #FFE9C9 0%, rgba(255, 233, 201, 0) 60%),
    var(--cream);
  padding: 24px;
}

.login-card {
  width: 372px;
  max-width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px 22px;
  box-shadow: 0 2px 4px rgba(51, 32, 15, .03), 0 24px 60px -32px rgba(51, 32, 15, .28);
}

.login-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; }

.lb-mark {
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--cocoa); color: #FFF3E0;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700; letter-spacing: .5px;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18);
}

.lb-name { font-size: 17px; font-weight: 650; letter-spacing: -.2px; }
.lb-sub { font-size: 11.5px; color: var(--ink3); margin-top: 1px; }

.field { display: block; margin-bottom: 13px; }
.field > span {
  display: block; font-size: 11.5px; color: var(--ink2);
  margin-bottom: 5px; font-weight: 500;
}
.field input {
  width: 100%; height: 38px; padding: 0 11px;
  border: 1px solid var(--line); border-radius: 9px;
  background: #FEFCF7; outline: none; transition: border-color .15s, background .15s;
}
.field input:focus { border-color: var(--cocoa-soft); background: #fff; }
.field input::placeholder { color: var(--ink4); }

.login-err {
  min-height: 18px; font-size: 11.5px; color: var(--berry);
  margin: -2px 0 8px;
}

.login-tip {
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line);
}
.lt-title { font-size: 11px; color: var(--ink3); margin-bottom: 7px; }
.lt-row {
  font-size: 11.5px; color: var(--ink2); padding: 3px 0; cursor: pointer;
  display: flex; gap: 6px; align-items: baseline;
}
.lt-row:hover b { color: var(--berry); }
.lt-row b { font-family: var(--mono); font-weight: 600; min-width: 52px; }
.lt-row em { font-style: normal; color: var(--ink3); font-size: 11px; }

.login-foot { font-size: 11px; color: var(--ink4); }

/* ==========================================================================
   按钮
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: 32px; padding: 0 13px; border-radius: 8px;
  font-size: 12.5px; font-weight: 500; white-space: nowrap;
  transition: background .14s, border-color .14s, opacity .14s;
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-block { width: 100%; height: 40px; font-size: 13.5px; }
.btn-sm { height: 27px; padding: 0 10px; font-size: 12px; border-radius: 7px; }

.btn-primary { background: var(--cocoa); color: #FFF6E8; }
.btn-primary:hover:not(:disabled) { background: var(--cocoa-deep); }

.btn-ghost { border: 1px solid var(--line); color: var(--ink2); background: #fff; }
.btn-ghost:hover:not(:disabled) { border-color: var(--ink4); color: var(--ink); }

.btn-berry { background: var(--berry); color: #fff; }
.btn-berry:hover:not(:disabled) { background: #C9432F; }

.btn-mint { background: var(--mint); color: #fff; }
.btn-mint:hover:not(:disabled) { background: #357A5A; }

.btn-line-danger { border: 1px solid #EFC8C1; color: var(--berry); background: #fff; }
.btn-line-danger:hover:not(:disabled) { background: var(--berry-soft); }

.btn-text { color: var(--cocoa); padding: 0 6px; height: 26px; }
.btn-text:hover { color: var(--berry); }

/* ==========================================================================
   框架
   ========================================================================== */

.app { display: grid; grid-template-columns: 212px 1fr; min-height: 100vh; }

.side {
  background: linear-gradient(180deg, #3A2413 0%, #2C1A0C 100%);
  color: #E8D9C6;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}

.side-brand {
  display: flex; align-items: center; gap: 9px;
  padding: 18px 16px 16px;
}
.sb-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(150deg, #F5C98A, #E0913F);
  color: #3A2413; font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.sb-name { font-size: 13.5px; font-weight: 600; color: #FFF4E3; letter-spacing: .2px; }
.sb-sub { font-size: 10.5px; color: rgba(232, 217, 198, .5); margin-top: -1px; }

.nav { flex: 1; overflow-y: auto; padding: 4px 9px 12px; }
.nav-group { margin-top: 13px; }
.nav-group:first-child { margin-top: 2px; }
.nav-label {
  font-size: 10px; letter-spacing: .09em; text-transform: uppercase;
  color: rgba(232, 217, 198, .34); padding: 0 9px 5px;
}

.nav-item {
  display: flex; align-items: center; gap: 9px;
  height: 34px; padding: 0 9px; border-radius: 7px;
  font-size: 12.5px; color: rgba(240, 227, 210, .78);
  cursor: pointer; position: relative;
  transition: background .13s, color .13s;
}
.nav-item:hover { background: rgba(255, 255, 255, .06); color: #FFF4E3; }
.nav-item.on { background: rgba(255, 255, 255, .1); color: #FFF8EC; font-weight: 500; }
.nav-item.on::before {
  content: ""; position: absolute; left: -9px; top: 8px; bottom: 8px;
  width: 3px; border-radius: 0 3px 3px 0; background: var(--berry);
}
.nav-item svg { width: 15px; height: 15px; flex-shrink: 0; opacity: .72; }
.nav-item.on svg { opacity: 1; }

.nav-badge {
  margin-left: auto; min-width: 17px; height: 16px; padding: 0 5px;
  border-radius: 8px; background: var(--berry); color: #fff;
  font-size: 10px; line-height: 16px; text-align: center; font-weight: 600;
}

.side-foot { padding: 12px 12px 14px; border-top: 1px solid rgba(255, 255, 255, .07); }
.sf-user { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.sf-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #FFE9C9;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
}
.sf-name { font-size: 12px; color: #FFF4E3; }
.sf-role { font-size: 10.5px; color: rgba(232, 217, 198, .45); }
.sf-out {
  width: 100%; height: 29px; border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(240, 227, 210, .7); font-size: 11.5px;
}
.sf-out:hover { background: rgba(255, 255, 255, .07); color: #FFF; }

/* ---------- 主区 ---------- */

.main { min-width: 0; display: flex; flex-direction: column; }

.topbar {
  height: 56px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; gap: 16px;
  background: rgba(250, 246, 236, .88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.tb-left { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.topbar h1 { font-size: 15.5px; font-weight: 650; letter-spacing: -.2px; white-space: nowrap; }
.tb-desc { font-size: 11.5px; color: var(--ink3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.tb-time { font-size: 11.5px; color: var(--ink3); font-family: var(--mono); }

.view { padding: 20px 24px 48px; max-width: 1420px; width: 100%; }

/* ==========================================================================
   通用积木
   ========================================================================== */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card + .card { margin-top: 14px; }

.card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line2);
}
.card-head h2 { font-size: 13.5px; font-weight: 600; }
.card-head .ch-sub { font-size: 11.5px; color: var(--ink3); }
.card-body { padding: 14px 16px; }

.section-title {
  font-size: 12px; font-weight: 600; color: var(--ink2);
  margin: 22px 0 9px; display: flex; align-items: center; gap: 8px;
}
.section-title:first-child { margin-top: 0; }
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line2); }

/* KPI */
.kpi-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.kpi {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 15px; box-shadow: var(--shadow);
}
.kpi-k { font-size: 11.5px; color: var(--ink3); display: flex; align-items: center; gap: 5px; }
.kpi-v { font-size: 24px; font-weight: 650; letter-spacing: -.6px; margin-top: 3px; line-height: 1.2; }
.kpi-v small { font-size: 11.5px; font-weight: 500; color: var(--ink3); margin-left: 3px; letter-spacing: 0; }
.kpi-f { font-size: 11px; color: var(--ink3); margin-top: 3px; }
.kpi-f b { color: var(--mint); font-weight: 600; }
.kpi-f b.down { color: var(--berry); }

/* 待办 */
.todo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.todo {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 15px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow); cursor: pointer;
  transition: border-color .14s, transform .14s;
}
.todo:hover { border-color: #DCC9AC; transform: translateY(-1px); }
.todo-n {
  width: 40px; height: 40px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 650; letter-spacing: -.5px; flex-shrink: 0;
}
.todo.zero .todo-n { background: var(--cream2); color: var(--ink4); }
.todo.warn .todo-n { background: var(--berry-soft); color: var(--berry); }
.todo.ok .todo-n { background: var(--lemon-soft); color: var(--lemon); }
.todo-l { font-size: 12.5px; font-weight: 500; }
.todo-s { font-size: 11px; color: var(--ink3); }

/* 双栏 */
.cols { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; margin-top: 14px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* 表格 */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.table th {
  text-align: left; font-weight: 500; font-size: 11.5px; color: var(--ink3);
  padding: 9px 14px; background: #FCF9F2; border-bottom: 1px solid var(--line);
  white-space: nowrap; position: sticky; top: 0;
}
.table td { padding: 10px 14px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: #FDFAF3; }
.table .t-main { font-weight: 500; }
.table .t-sub { font-size: 11px; color: var(--ink3); }
.table .t-num { font-variant-numeric: tabular-nums; }
.table .t-right { text-align: right; }
.table .t-actions { white-space: nowrap; text-align: right; }
.table .t-actions .btn { margin-left: 4px; }
.table tr.row-warn { background: #FFF9F8; }
.table tr.row-warn:hover { background: #FFF3F1; }

.empty {
  padding: 44px 20px; text-align: center; color: var(--ink4); font-size: 12.5px;
}
.empty b { display: block; font-size: 13px; color: var(--ink2); margin-bottom: 3px; font-weight: 500; }

/* 标签 */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  height: 20px; padding: 0 7px; border-radius: 5px;
  font-size: 11px; font-weight: 500; white-space: nowrap;
}
.tag-gray { background: var(--cream2); color: var(--ink2); }
.tag-mint { background: var(--mint-soft); color: var(--mint); }
.tag-berry { background: var(--berry-soft); color: var(--berry); }
.tag-lemon { background: var(--lemon-soft); color: var(--lemon); }
.tag-cocoa { background: #F1E7DA; color: var(--cocoa); }
.tag-line { border: 1px solid var(--line); color: var(--ink3); background: #fff; }

.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }

/* 筛选条 */
.filters {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  padding: 12px 16px; border-bottom: 1px solid var(--line2);
}
.filters .seg { display: flex; background: var(--cream2); border-radius: 8px; padding: 2px; }
.seg button {
  height: 26px; padding: 0 11px; border-radius: 6px;
  font-size: 12px; color: var(--ink2);
}
.seg button.on { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px rgba(51, 32, 15, .1); }
.seg button .c { font-size: 10.5px; color: var(--ink4); margin-left: 3px; }
.seg button.on .c { color: var(--berry); }

.input-sm {
  height: 30px; padding: 0 10px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; outline: none; min-width: 190px;
}
.input-sm:focus { border-color: var(--cocoa-soft); }
select.input-sm { min-width: 130px; cursor: pointer; }

/* 表单 */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.f {
  display: block; margin-bottom: 12px;
}
.f > span { display: block; font-size: 11.5px; color: var(--ink2); margin-bottom: 5px; font-weight: 500; }
.f > span em { font-style: normal; color: var(--berry); margin-left: 3px; }
.f input[type=text], .f input[type=number], .f textarea, .f select {
  width: 100%; border: 1px solid var(--line); border-radius: 8px;
  background: #FEFCF7; padding: 7px 10px; outline: none;
}
.f textarea { min-height: 68px; resize: vertical; line-height: 1.65; }
.f input:focus, .f textarea:focus, .f select:focus { border-color: var(--cocoa-soft); background: #fff; }
.f .hint { font-size: 11px; color: var(--ink3); margin-top: 4px; line-height: 1.55; }

.radio-cards { display: grid; gap: 7px; }
.radio-card {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px;
  cursor: pointer; background: #FEFCF7; transition: border-color .14s, background .14s;
}
.radio-card:hover { border-color: #DCC9AC; }
.radio-card.on { border-color: var(--cocoa); background: #FFF8EC; }
.radio-card .rc-k { font-size: 12.5px; font-weight: 500; }
.radio-card .rc-s { font-size: 11px; color: var(--ink3); }
.radio-card .rc-dot {
  width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ink4);
  margin-top: 2px; flex-shrink: 0;
}
.radio-card.on .rc-dot { border-color: var(--cocoa); border-width: 4px; }

/* 详情行 */
.dl { display: grid; grid-template-columns: 92px 1fr; gap: 8px 12px; font-size: 12.5px; }
.dl dt { color: var(--ink3); font-size: 11.5px; }
.dl dd { color: var(--ink); word-break: break-all; }

/* 判定链 */
.chain { display: flex; flex-direction: column; gap: 0; }
.chain-item { display: flex; gap: 10px; padding: 7px 0; position: relative; }
.chain-item::before {
  content: ""; position: absolute; left: 6px; top: 20px; bottom: -2px; width: 1px;
  background: var(--line);
}
.chain-item:last-child::before { display: none; }
.chain-dot {
  width: 13px; height: 13px; border-radius: 50%; flex-shrink: 0; margin-top: 4px;
  border: 1.5px solid var(--ink4); background: #fff; z-index: 1;
}
.chain-item.hit .chain-dot { border-color: var(--berry); background: var(--berry); }
.chain-item.pass .chain-dot { border-color: var(--mint); background: var(--mint); }
.chain-t { font-size: 12px; }
.chain-d { font-size: 11px; color: var(--ink3); }
.chain-item.hit .chain-t { color: var(--berry); font-weight: 600; }

/* 时间线 */
.tl { display: flex; flex-direction: column; gap: 9px; }
.tl-item { display: flex; gap: 9px; font-size: 12px; }
.tl-at { font-family: var(--mono); font-size: 10.5px; color: var(--ink4); flex-shrink: 0; width: 78px; padding-top: 1px; }
.tl-tx { color: var(--ink2); }

/* 存证原文 */
.quote {
  background: #FFFBEF; border: 1px dashed #E4CFA6; border-radius: 9px;
  padding: 11px 13px; font-size: 12px; line-height: 1.85; color: #4A3218;
  white-space: pre-wrap; word-break: break-word;
}
.mono { font-family: var(--mono); font-size: 11px; word-break: break-all; color: var(--ink2); }

/* 进度条 */
.bar { height: 6px; border-radius: 3px; background: var(--cream2); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 3px; background: var(--cocoa-soft); }
.bar.mint > i { background: var(--mint); }
.bar.berry > i { background: var(--berry); }

/* 趋势图（纯 CSS 柱） */
.chart { display: flex; align-items: flex-end; gap: 10px; height: 126px; padding-top: 8px; }
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; height: 100%; justify-content: flex-end; }
.chart-bar { width: 100%; max-width: 34px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #C9A273, #8A6240); min-height: 2px; }
.chart-bar.zero { background: var(--cream2); }
.chart-x { font-size: 10px; color: var(--ink4); font-family: var(--mono); }
.chart-v { font-size: 10.5px; color: var(--ink2); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   抽屉
   ========================================================================== */

.drawer-mask {
  position: fixed; inset: 0; background: rgba(51, 32, 15, .28);
  opacity: 0; pointer-events: none; transition: opacity .18s; z-index: 60;
}
.drawer-mask.show { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 520px; max-width: 92vw;
  background: var(--card); z-index: 61;
  transform: translateX(102%); transition: transform .22s cubic-bezier(.3, .8, .4, 1);
  display: flex; flex-direction: column;
  box-shadow: -12px 0 40px -20px rgba(51, 32, 15, .3);
}
.drawer.show { transform: translateX(0); }

.dr-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px; border-bottom: 1px solid var(--line); flex-shrink: 0;
}
.dr-head h2 { font-size: 14.5px; font-weight: 600; }
.dr-close { font-size: 22px; line-height: 1; color: var(--ink3); padding: 0 2px; }
.dr-close:hover { color: var(--ink); }

.dr-body { flex: 1; overflow-y: auto; padding: 16px 20px 24px; }
.dr-foot {
  padding: 12px 20px; border-top: 1px solid var(--line);
  display: flex; gap: 9px; justify-content: flex-end; flex-shrink: 0;
  background: #FDFAF3;
}
.dr-foot:empty { display: none; }

.dr-block { margin-bottom: 18px; }
.dr-block:last-child { margin-bottom: 0; }
.dr-label {
  font-size: 11px; color: var(--ink3); text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 7px; font-weight: 500;
}

/* ==========================================================================
   弹窗 / toast
   ========================================================================== */

.modal-mask {
  position: fixed; inset: 0; background: rgba(51, 32, 15, .32);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .16s; z-index: 80;
}
.modal-mask.show { opacity: 1; pointer-events: auto; }
.modal {
  width: 372px; max-width: calc(100vw - 40px);
  background: var(--card); border-radius: 14px; padding: 20px 22px 16px;
  box-shadow: 0 24px 60px -24px rgba(51, 32, 15, .4);
}
.modal h3 { font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.md-text { font-size: 12.5px; color: var(--ink2); line-height: 1.7; white-space: pre-wrap; }
.md-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }

.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 14px);
  background: #33200F; color: #FFF3E0; padding: 9px 17px; border-radius: 9px;
  font-size: 12.5px; opacity: 0; pointer-events: none; transition: all .2s; z-index: 99;
  max-width: 80vw;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--berry); }

/* ==========================================================================
   响应式：屏小于 1180 时收窄侧栏，小于 900 时堆叠
   ========================================================================== */

@media (max-width: 1240px) {
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .todo-grid { grid-template-columns: repeat(2, 1fr); }
  .cols { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .app { grid-template-columns: 64px 1fr; }
  .sb-txt, .nav-label, .nav-item span.nav-t, .sf-meta, .sf-out { display: none; }
  .nav-item { justify-content: center; padding: 0; }
  .nav-badge { position: absolute; top: 3px; right: 6px; margin: 0; }
  .view { padding: 14px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .todo-grid { grid-template-columns: 1fr; }
  .cols-2, .form-row { grid-template-columns: 1fr; }
  .topbar { padding: 0 14px; }
}

/* ============ 广告位 ============ */
.bn-thumb {
  width: 96px;
  height: 38px;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
}
.bn-thumb-text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--ink3);
  letter-spacing: .5px;
}
