:root {
  --primary: #1677ff;
  --primary-hover: #4096ff;
  --primary-weak: #e8f1ff;
  --primary-line: #bcd8ff;

  --bg: #f0f2f5;
  --surface: #ffffff;
  --surface-2: #fafafa;

  --border: #e4e7ed;
  --border-2: #ebeef5;

  --text: #303133;
  --text-2: #606266;
  --text-3: #909399;
  --text-4: #c0c4cc;

  --success: #52c41a;
  --success-weak: #f0f9eb;
  --warning: #faad14;
  --warning-weak: #fdf6ec;
  --danger: #f56c6c;
  --danger-weak: #fef0f0;

  --radius: 4px;
  --sidebar-w: 218px;
  --header-h: 56px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

#app { height: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
a { color: var(--primary); text-decoration: none; }

.muted { color: var(--text-3); }
.hint { color: var(--text-3); font-size: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.boot { padding: 100px 0; text-align: center; color: var(--text-3); }

/* ================= 整体框架 ================= */

.app {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.sidebar {
  width: var(--sidebar-w);
  flex: none;
  background: #fff;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: width .18s ease;
  position: relative;
}
.app.collapsed .sidebar { width: 56px; }

.brand {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border-2);
  flex: none;
  overflow: hidden;
  white-space: nowrap;
}
.brand-logo {
  width: 26px; height: 26px; flex: none;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff5b5b, #ff8a5b);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
}
.brand-name { font-size: 15px; font-weight: 600; letter-spacing: .2px; }
.app.collapsed .brand-name { display: none; }

.menu {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 0 16px;
}
.menu-group { margin-bottom: 2px; }
.menu-group-title {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px 7px;
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: .4px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}
.menu-group-title .caret {
  font-size: 10px;
  transition: transform .15s;
  display: inline-block;
  color: var(--text-4);
}
.menu-group.closed .caret { transform: rotate(-90deg); }
.menu-group.closed .menu-items { display: none; }
.app.collapsed .menu-group-title { justify-content: center; padding: 9px 0 7px; }
.app.collapsed .menu-group-title span:not(.caret) { display: none; }

.menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 26px;
  margin: 1px 6px;
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--text-2);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transition: background .12s, color .12s;
}
.menu-item:hover { background: #f5f7fa; color: var(--text); }
.menu-item.active { background: var(--primary-weak); color: var(--primary); font-weight: 500; }
.menu-item .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; opacity: .45; flex: none;
}
.menu-item.active .dot { opacity: 1; }
.app.collapsed .menu-item { justify-content: center; padding: 8px 0; margin: 1px 4px; }
.app.collapsed .menu-item .menu-text { display: none; }

.sidebar-foot {
  flex: none;
  padding: 10px 16px;
  border-top: 1px solid var(--border-2);
  font-size: 12.5px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success); flex: none;
  box-shadow: 0 0 0 3px rgba(82, 196, 26, .15);
}
.app.collapsed .sidebar-foot span:not(.status-dot) { display: none; }

.collapse-btn {
  position: absolute;
  right: -12px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 34px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-3);
  font-size: 10px;
  z-index: 5;
}
.collapse-btn:hover { color: var(--primary); border-color: var(--primary-line); }

/* ================= 主区域 ================= */

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

.header {
  height: var(--header-h);
  flex: none;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}
.header-left { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent;
  color: var(--text-2);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 15px;
}
.icon-btn:hover { background: #f5f7fa; color: var(--primary); }
.header-right { display: flex; align-items: center; gap: 4px; }
.header-user {
  display: flex; align-items: center; gap: 8px;
  padding: 0 4px 0 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-2);
}
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary-weak); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
}

.content {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px 16px;
}

.page-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.page-title { font-size: 16px; font-weight: 600; }
.page-sub { font-size: 12.5px; color: var(--text-3); }
.page-head .spacer { flex: 1; }

/* ================= 卡片 / 面板 ================= */

.panel {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-2);
  margin-bottom: 12px;
}
.panel-pad { padding: 14px 16px; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-2);
  gap: 12px;
}
.panel-title { font-size: 14px; font-weight: 600; }

/* ================= 工具栏 ================= */

.toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-2);
  flex-wrap: wrap;
}
.toolbar .spacer { flex: 1; }
.toolbar input.toolbar-search { width: 210px; flex: none; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-2);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all .12s;
}
.btn:hover { color: var(--primary); border-color: var(--primary-line); background: var(--primary-weak); }
.btn:active { transform: translateY(.5px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; }
.btn-danger { color: var(--danger); border-color: #fbc4c4; }
.btn-danger:hover { background: var(--danger-weak); border-color: var(--danger); color: var(--danger); }
.btn-link {
  border: none; background: none; height: auto; padding: 0 2px;
  color: var(--primary); font-size: 13px;
}
.btn-link:hover { background: none; text-decoration: underline; }
.btn-link.danger { color: var(--danger); }
.btn-sm { height: 26px; padding: 0 9px; font-size: 12.5px; }
.btn-block { width: 100%; height: 40px; font-size: 15px; }

/* ================= 筛选表单 ================= */

.filter-area { padding: 14px 16px 6px; }
.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 24px;
}
.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.filter-item > label {
  width: 78px;
  flex: none;
  text-align: right;
  font-size: 13px;
  color: var(--text-2);
  white-space: nowrap;
}
.filter-item > .ctl { flex: 1; min-width: 0; }
.filter-foot {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 6px 0 12px;
}
.app.filter-collapsed .filter-grid { display: none; }
.app.filter-collapsed .filter-area { padding-bottom: 0; }
.app.filter-collapsed .filter-foot { padding-top: 0; }

/* ================= 表单控件 ================= */

input[type="text"], input[type="password"], input[type="number"],
input[type="date"], textarea, select {
  width: 100%;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
textarea { height: auto; padding: 7px 10px; line-height: 1.6; resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(22, 119, 255, .12);
}
input::placeholder, textarea::placeholder { color: var(--text-4); }
select { cursor: pointer; padding-right: 6px; }

.date-range { display: flex; align-items: center; gap: 6px; }
.date-range input { min-width: 0; }
.date-range .sep { color: var(--text-4); font-size: 12px; flex: none; }

/* ================= 表格 ================= */

.table-wrap { overflow: auto; }
table.grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 900px;
}
table.grid thead th {
  position: sticky;
  top: 0;
  background: var(--surface-2);
  color: var(--text-2);
  font-weight: 500;
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--border-2);
  white-space: nowrap;
  z-index: 1;
}
table.grid tbody td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--border-2);
  color: var(--text);
  vertical-align: middle;
}
table.grid tbody tr:hover { background: #f7faff; }
table.grid tbody tr.selected { background: var(--primary-weak); }
table.grid tbody tr:last-child td { border-bottom: none; }
.col-check { width: 40px; text-align: center; }
.col-idx { width: 52px; color: var(--text-3); }
.col-act { width: 110px; white-space: nowrap; }
.cell-ellipsis {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cell-sub { font-size: 12px; color: var(--text-3); }

table.grid thead th.checkbox-cell,
table.grid tbody td.checkbox-cell { text-align: center; }
input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--primary); cursor: pointer; vertical-align: middle; }

.empty {
  padding: 56px 16px;
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
}
.empty-icon {
  width: 52px; height: 52px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #f5f7fa;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-4); font-size: 24px;
}

/* ================= 标签 ================= */

.tag {
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 7px;
  border-radius: 3px;
  font-size: 12px;
  line-height: 1;
  border: 1px solid transparent;
}
.tag-blue { background: var(--primary-weak); color: var(--primary); border-color: #d3e5ff; }
.tag-green { background: var(--success-weak); color: #4c9a17; border-color: #d7ecc4; }
.tag-gray { background: #f4f4f5; color: var(--text-3); border-color: #e9e9eb; }
.tag-orange { background: var(--warning-weak); color: #c87f0a; border-color: #f5e0b8; }
.tag-red { background: var(--danger-weak); color: var(--danger); border-color: #fbc4c4; }

/* ================= 分页 ================= */

.pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-2);
  flex-wrap: wrap;
}
.pager select { width: 96px; height: 28px; }
.pager .pages { display: flex; align-items: center; gap: 4px; }
.pg {
  min-width: 28px; height: 28px;
  padding: 0 6px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  color: var(--text-2);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.pg:hover:not(:disabled) { color: var(--primary); border-color: var(--primary-line); }
.pg.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pg:disabled { color: var(--text-4); cursor: not-allowed; }
.pager .jump { display: flex; align-items: center; gap: 6px; }
.pager .jump input { width: 52px; height: 28px; text-align: center; }

/* ================= 统计 ================= */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.stat-label { font-size: 13px; color: var(--text-3); margin-bottom: 8px; }
.stat-value { font-size: 26px; font-weight: 600; letter-spacing: -.5px; color: var(--text); }
.stat-value small { font-size: 13px; font-weight: 400; color: var(--text-3); margin-left: 3px; }

.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13px; }
.bar-name { width: 180px; flex: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.bar-track { flex: 1; height: 8px; background: #f0f2f5; border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--primary); border-radius: 4px; }
.bar-num { width: 52px; flex: none; text-align: right; color: var(--text-3); font-size: 12.5px; }

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

.modal-mask {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .45);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 80px 20px 40px;
  z-index: 100;
  overflow-y: auto;
}
.modal {
  background: #fff;
  border-radius: var(--radius);
  width: 100%;
  max-width: 620px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .14);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 120px);
}
.modal.wide { max-width: 720px; }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-2);
  flex: none;
}
.modal-title { font-size: 15px; font-weight: 600; }
.modal-close {
  border: none; background: none; cursor: pointer;
  font-size: 18px; color: var(--text-3); line-height: 1;
  width: 28px; height: 28px; border-radius: var(--radius);
}
.modal-close:hover { background: #f5f7fa; color: var(--text); }
.modal-body { padding: 18px 20px; overflow-y: auto; flex: 1; }
.modal-foot {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--border-2);
  flex: none;
}

.form-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.form-row > label {
  width: 84px; flex: none; text-align: right;
  font-size: 13px; color: var(--text-2); padding-top: 6px;
}
.form-row > .ctl { flex: 1; min-width: 0; }
.form-row .hint { margin-top: 5px; }

.content-box {
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 13px;
  max-height: 280px;
  overflow-y: auto;
  line-height: 1.7;
}
.file-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  margin-bottom: 8px;
}
.file-name { font-size: 13px; word-break: break-all; }
.file-size { font-size: 12px; color: var(--text-3); white-space: nowrap; }

.qr-box {
  display: inline-flex; padding: 10px; background: #fff;
  border: 1px solid var(--border-2); border-radius: var(--radius);
}
.qr-box img { display: block; width: 180px; height: 180px; }
.link-url {
  margin-top: 10px;
  padding: 7px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  font-size: 12.5px;
  word-break: break-all;
  color: var(--text-2);
}

/* ================= 提示 ================= */

.toast {
  position: fixed; left: 50%; top: 24px;
  transform: translateX(-50%);
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border-2);
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 13.5px;
  z-index: 200;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
}
.toast.error { color: var(--danger); border-color: #fbc4c4; background: var(--danger-weak); }
.toast.success { color: #4c9a17; border-color: #d7ecc4; background: var(--success-weak); }

.notice {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  background: var(--warning-weak);
  border: 1px solid #f5e0b8;
  color: #b97a09;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 12px;
}

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

.login-wrap {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #f0f5ff 0%, #f0f2f5 60%);
  padding: 20px;
}
.login-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 8px;
  padding: 34px 32px 30px;
  box-shadow: 0 8px 32px rgba(0, 40, 100, .08);
  border: 1px solid var(--border-2);
}
.login-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff5b5b, #ff8a5b);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 600;
  margin-bottom: 16px;
}
.login-title { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.login-sub { font-size: 13px; color: var(--text-3); margin-bottom: 22px; }

/* ================= 提交页（手机端） ================= */

.submit-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 20px 14px 48px;
  min-height: 100vh;
}
.s-card {
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 12px;
}
.s-card.hero { background: var(--primary-weak); border-color: #d3e5ff; }
.s-title { font-size: 18px; font-weight: 600; line-height: 1.4; }
.s-note { font-size: 13.5px; color: var(--text-2); margin-top: 8px; }
.s-field { margin-bottom: 16px; }
.s-field > label { display: block; font-size: 13.5px; color: var(--text-2); margin-bottom: 6px; }
.s-field input, .s-field textarea { height: 40px; font-size: 14px; }
.s-field textarea { height: auto; min-height: 130px; }
.center-card { max-width: 420px; margin: 56px auto; text-align: center; }

/* ================= 响应式 ================= */

@media (max-width: 1100px) {
  .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; z-index: 60; box-shadow: 4px 0 16px rgba(0,0,0,.08); }
  .app.collapsed .sidebar { width: 0; border: none; overflow: hidden; }
  .app.collapsed .collapse-btn { display: none; }
  .main { width: 100%; }
  .filter-grid { grid-template-columns: 1fr; }
  .filter-item > label { width: 70px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content { padding: 10px; }
  .toolbar-search { width: 140px; }
  .pager { justify-content: center; }
}

@media print {
  .sidebar, .header, .toolbar, .filter-area, .pager, .page-head .btn, .collapse-btn { display: none !important; }
  .app, .main, .content { display: block; height: auto; overflow: visible; }
  .content { padding: 0; }
  .panel { border: none; }
  table.grid { min-width: 0; font-size: 11px; }
  table.grid thead th, table.grid tbody td { border: 1px solid #ccc; }
  .col-check, .col-act { display: none; }
}

/* ================= 企业微信接入 ================= */

.btn-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.notice-ok {
  background: var(--success-weak);
  border-color: #d8ecc4;
  color: #4e9c1b;
}

.ww-steps { padding-top: 6px; }
.ww-step {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px dashed var(--border-2);
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-2);
}
.ww-step:first-child { border-top: none; padding-top: 2px; }
.ww-step .n {
  flex: none;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--primary-weak);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.ww-step b { color: var(--text); font-weight: 600; }

.code-line {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--text-2);
}
.code-line > span { flex: 1; min-width: 0; word-break: break-all; }
.code-line .btn { flex: none; }

.page-head.two-line { display: block; }
.page-head.two-line .page-sub { margin-top: 3px; }

.stat-value.stat-sm { font-size: 17px; }

@media (max-width: 820px) {
  .panel-head { flex-wrap: wrap; }
  .panel-head .btn-row { width: 100%; }
  .stat-value.stat-sm { font-size: 15px; }
  .code-line { font-size: 11px; }
  .page-head.two-line .page-sub { line-height: 1.6; }
}

.stat-value.stat-sm { font-size: 17px; }

@media (max-width: 820px) {
  .panel-head { flex-wrap: wrap; }
  .panel-head .btn-row { width: 100%; }
  .stat-value.stat-sm { font-size: 15px; }
  .code-line { font-size: 11px; }
  .page-head.two-line .page-sub { line-height: 1.6; }
}

/* ================= 本机地址提示条 ================= */

.localbar { padding: 10px 16px 0; }
.localbar:empty { display: none; }
.localbar .notice {
  margin-bottom: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.localbar .notice > span:first-child { flex: 1; min-width: 240px; line-height: 1.6; }
.notice-btns { display: flex; gap: 8px; flex-wrap: wrap; flex: none; }

@media (max-width: 820px) {
  .localbar { padding: 8px 12px 0; }
  .notice-btns { width: 100%; }
  .notice-btns .btn { flex: 1; justify-content: center; }
}
