:root {
  --mobile-nav-h: 66px;
  --mobile-top-h: 58px;
  --mobile-pad: 12px;
  --mobile-safe-bottom: env(safe-area-inset-bottom, 0px);
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body.console-page,
body.admin-page,
.console-page .app,
.console-page .shell,
.admin-page .app,
.admin-page .shell {
  height: auto;
  min-height: 100dvh;
  overflow: visible;
}

.console-page .app,
.admin-page .app {
  position: static;
  z-index: auto;
}

.console-page .shell,
.admin-page .shell {
  width: 100%;
}

.console-page .side,
.admin-page .side {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 70;
  width: min(82vw, 308px);
  height: 100dvh;
  padding: 20px 14px calc(20px + var(--mobile-safe-bottom));
  transform: translateX(-104%);
  transition: transform 0.22s cubic-bezier(0.22, 0.8, 0.32, 1);
  box-shadow: 18px 0 44px rgba(12, 18, 27, 0.22);
  pointer-events: auto;
}

.console-page .side .menu,
.admin-page .side .menu {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

body.nav-open .side {
  transform: translateX(0);
}

.console-page .dim,
.admin-page .dim {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: block;
  visibility: hidden;
  opacity: 0;
  background: rgba(12, 18, 27, 0.44);
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

body.nav-open .dim {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.console-page .brand,
.admin-page .brand {
  min-height: 54px;
  padding: 4px 10px 20px;
}

.console-page .menu a,
.admin-page .menu a {
  min-height: 46px;
  padding: 11px 12px;
  font-size: 13px;
  touch-action: manipulation;
  pointer-events: auto;
}

body.nav-open .mobile-bottom-nav {
  opacity: 0.35;
  pointer-events: none;
}

.console-page .top,
.admin-page .top {
  top: 0;
  z-index: 40;
  height: var(--mobile-top-h);
  min-height: var(--mobile-top-h);
  padding: 0 12px;
  gap: 10px;
}

.console-page .menu-btn,
.admin-page .menu-btn {
  position: relative;
  width: 42px;
  height: 38px;
  min-width: 42px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  color: transparent;
  background: #f5f8fc;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  font-size: 0;
}

.console-page .menu-btn::before,
.admin-page .menu-btn::before {
  content: "";
  width: 18px;
  height: 12px;
  border-top: 2px solid #3f4c60;
  border-bottom: 2px solid #3f4c60;
}

.console-page .menu-btn::after,
.admin-page .menu-btn::after {
  content: "";
  position: absolute;
  width: 18px;
  border-top: 2px solid #3f4c60;
}

.console-page .top-heading,
.admin-page .top-heading {
  min-width: 0;
}

.console-page .top-heading > span,
.admin-page .top-heading > span {
  display: none;
}

.console-page .top h1,
.admin-page .top h1 {
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-page .me-wrap {
  margin-left: auto;
}

.console-page .me-face {
  width: 36px;
  height: 36px;
}

.console-page .page,
.console-page .ops-content,
.console-page .account-content,
.accounts-page .page-accs,
.admin-page .admin-content {
  width: 100%;
  min-height: calc(100dvh - var(--mobile-top-h));
  padding: var(--mobile-pad);
  padding-bottom: calc(var(--mobile-nav-h) + var(--mobile-safe-bottom) + 22px);
  display: block;
  overflow: visible;
}

.mobile-bottom-nav {
  position: fixed;
  left: 8px;
  right: 8px;
  bottom: calc(7px + var(--mobile-safe-bottom));
  z-index: 62;
  height: var(--mobile-nav-h);
  padding: 5px 4px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #dce5ef;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(24, 32, 51, 0.17);
  backdrop-filter: blur(16px);
}

.mobile-bottom-nav a,
.mobile-bottom-nav button {
  min-width: 0;
  padding: 4px 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  color: #717d8e;
  background: transparent;
  border: 0;
  border-radius: 9px;
  font-size: 9px;
  font-weight: 650;
  cursor: pointer;
}

.mobile-bottom-nav a.on,
.mobile-bottom-nav button.on,
.mobile-bottom-nav button[aria-expanded="true"] {
  color: #256be0;
  background: #edf4ff;
}

.mobile-bottom-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-more-backdrop {
  position: fixed;
  inset: 0;
  z-index: 58;
  display: block;
  visibility: hidden;
  opacity: 0;
  background: rgba(12, 18, 27, 0.42);
  border: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.mobile-more-sheet {
  position: fixed;
  left: 8px;
  right: 8px;
  bottom: calc(var(--mobile-nav-h) + var(--mobile-safe-bottom) + 14px);
  z-index: 60;
  padding: 14px;
  display: block;
  visibility: hidden;
  opacity: 0;
  background: #ffffff;
  border: 1px solid #dce5ef;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(24, 32, 51, 0.22);
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

body.mobile-more-open .mobile-more-backdrop,
body.mobile-more-open .mobile-more-sheet {
  visibility: visible;
  opacity: 1;
}

body.mobile-more-open .mobile-more-sheet {
  transform: translateY(0) scale(1);
}

.mobile-more-sheet header {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-more-sheet header strong {
  color: #182033;
  font-size: 14px;
}

.mobile-more-sheet header button {
  width: 32px;
  height: 32px;
  color: #637084;
  background: #f3f6fa;
  border: 0;
  border-radius: 8px;
  font-size: 20px;
}

.mobile-more-sheet > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mobile-more-sheet a {
  min-height: 82px;
  padding: 10px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  color: #526073;
  background: #f7f9fc;
  border: 1px solid #e3e9f1;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 650;
}

.mobile-more-sheet a.on {
  color: #256be0;
  background: #edf4ff;
  border-color: #bdd4f6;
}

.mobile-more-sheet svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.console-page .me-pop {
  position: fixed;
  left: 10px;
  right: 10px;
  top: auto;
  bottom: calc(var(--mobile-nav-h) + var(--mobile-safe-bottom) + 14px);
  width: auto;
  max-height: calc(100dvh - var(--mobile-top-h) - var(--mobile-nav-h) - 30px);
  overflow-y: auto;
  border-radius: 12px;
}

.toast-box {
  top: calc(var(--mobile-top-h) + 8px);
  right: 10px;
  width: calc(100vw - 20px);
}

.console-overview {
  display: block;
  min-height: 0;
  border-radius: 10px;
}

.console-page .console-identity {
  padding: 14px;
  border-right: 0;
  border-bottom: 1px solid #e1e7ef;
}

.console-page .workspace-state {
  display: none;
}

.console-page .stats.stats-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.console-page .stats-row .stat {
  min-height: 72px;
  padding: 12px;
}

.console-page .stats-row .stat:nth-child(odd) {
  border-left: 0;
}

.console-page .stats-row .stat:nth-child(n + 3) {
  border-top: 1px solid #edf1ee;
}

.console-page .stats-row .stat .v {
  margin-top: 6px;
  font-size: 18px;
}

.console-page .console-workspace {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.console-page .workspace-panel {
  height: auto;
  min-height: 0;
  border-radius: 10px;
}

.console-page .workspace-head,
.console-page .ops-head {
  min-height: 58px;
  padding: 11px 12px;
}

.console-page .workspace-index {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}

.console-page .bc-tools {
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
}

.console-page .bc-tools #bc-q,
.console-page .bc-tools #bc-group {
  grid-column: 1 / -1;
}

.console-page #bc-acc {
  max-height: 46dvh;
}

.console-page #bc-rows {
  max-height: 68dvh;
}

.console-page .flags-head {
  align-items: flex-start;
  flex-direction: column;
}

.console-page .bc-presets {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.console-page .bc-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
}

.ops-surface,
.account-surface,
.utility-surface,
.auth-card {
  border-radius: 10px;
}

.batch-page .batch-workspace,
.export-workspace,
.redeem-workspace,
.admin-proxy-tools {
  display: grid;
  grid-template-columns: 1fr;
}

.batch-options {
  padding: 14px;
  border-right: 0;
  border-bottom: 1px solid #e1e7ef;
}

.batch-page .kind-row {
  grid-template-columns: 1fr 1fr;
}

.batch-nodes,
.batch-device,
.batch-gs {
  margin-top: 26px;
}

.batch-page .ops-field-label:has(.help-q) {
  margin-top: 0;
  margin-bottom: 9px;
}

.batch-page .device-pick {
  margin-top: 0;
}

.help-q .help-pop {
  width: min(228px, 72vw);
}

.batch-editor {
  min-height: 430px;
  padding: 14px 14px 0;
}

.batch-actions {
  margin: 14px -14px 0;
}

.export-filter,
.export-results,
.redeem-picks,
.redeem-codes,
.redeem-results,
.nodes-surface {
  min-height: 0;
  margin-bottom: 12px;
}

.export-range {
  grid-template-columns: 1fr 1fr;
}

.export-page .ex-item {
  min-width: 650px;
}

.nodes-page .ops-list {
  grid-template-columns: 1fr;
  padding: 10px;
}

.nodes-page .node-item {
  min-width: 0;
}

.redeem-pick-tools {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.redeem-accs {
  max-height: 48dvh;
}

.redeem-editor {
  min-height: 330px;
}

.utility-page .utility-content {
  min-height: calc(100dvh - var(--mobile-top-h));
  padding: 12px;
}

.account-detail-page .account-content {
  padding: 10px;
  padding-bottom: calc(var(--mobile-nav-h) + var(--mobile-safe-bottom) + 20px);
}

.account-detail-page .acc-col,
.account-surface {
  min-height: 0;
  height: auto;
}

.account-detail-page .acc-hero {
  padding: 12px;
}

.account-detail-page .acc-top {
  flex-wrap: wrap;
}

.account-detail-page .acc-main {
  min-width: calc(100% - 64px);
}

.account-detail-page .acc-ops {
  width: 100%;
  margin-left: 0;
  justify-content: flex-end;
}

.account-detail-page .acc-assets {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.account-detail-page .acc-assets .chip,
.account-detail-page .acc-assets .chip + .chip {
  min-height: 72px;
  padding: 9px;
}

.account-detail-page .acc-assets b {
  font-size: 16px;
}

.account-detail-page .acc-tabs {
  position: sticky;
  top: var(--mobile-top-h);
  z-index: 8;
  padding: 8px 10px;
}

.account-detail-page .acc-pane {
  min-height: 480px;
  padding: 9px;
}

.account-detail-page .ctrl-fold.open .ctrl-sub-rows {
  grid-template-columns: 1fr;
}

.accounts-page .accounts-surface {
  min-height: 0;
  overflow: visible;
}

.accounts-page .accounts-head {
  align-items: flex-start;
  flex-direction: column;
}

.accounts-page .accounts-head {
  position: relative;
}

.accounts-summary {
  width: 100%;
  align-items: stretch;
  flex-direction: column;
}

.accounts-page .acc-count {
  position: absolute;
  top: 12px;
  right: 12px;
}

.accounts-actions {
  width: 100%;
  margin-left: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.accounts-actions .btn {
  width: 100%;
  padding-inline: 6px;
}

.accounts-page .acc-bar {
  padding: 10px;
}

.accounts-page .acc-filter {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.accounts-page .acc-search {
  order: -1;
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}

.accounts-page .pick-all {
  width: 100%;
  min-width: 0;
  justify-content: center;
}

.accounts-page .acc-filter .btn {
  width: 100%;
}

.accounts-page .acc-sel {
  width: 100%;
  max-width: none;
}

.accounts-page .acc-cards {
  padding: 10px;
  overflow: visible;
}

.accounts-page .acc-head {
  display: none;
}

.accounts-page .acc-item {
  min-width: 0;
  margin: 0 0 8px;
  padding: 12px 12px 10px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  grid-template-areas:
    "pick user status"
    "pick role kind"
    "meta meta meta"
    "res res res"
    "lands lands lands"
    "foot foot foot";
  align-items: center;
  gap: 6px 8px;
  background: #ffffff;
  border: 1px solid #e3e9f1;
  border-radius: 12px;
  box-shadow: none;
  white-space: normal;
}

.accounts-page .acc-item:has(input[data-user]:checked) {
  border-color: #9fc1f8;
  background: #f5f9ff;
  box-shadow: inset 3px 0 0 #3a83f7;
}

/* 行里的格子按 accountRowHtml 的顺序：勾选、序号、状态、类型、游戏号、用户ID、节点、角色、区服、主线、水、元宝、金币、田地、统计、详情 */
.accounts-page .acc-item > .acc-seq { display: none; }
.accounts-page .acc-item > :nth-child(1) { grid-area: pick; align-self: start; padding-top: 2px; }
.accounts-page .acc-item > :nth-child(3) { grid-area: status; justify-self: end; }
.accounts-page .acc-item > :nth-child(4) { grid-area: kind; justify-self: end; }
.accounts-page .acc-item > :nth-child(5) { grid-area: user; justify-self: start; font-size: 15px; padding: 0; background: none; }
.accounts-page .acc-item > :nth-child(8) { grid-area: role; justify-self: start; background: none; padding: 0; color: #4a5568; font-size: 13px; }
.accounts-page .acc-item > :nth-child(6),
.accounts-page .acc-item > :nth-child(7),
.accounts-page .acc-item > :nth-child(9),
.accounts-page .acc-item > :nth-child(10) { grid-area: auto; }

.accounts-page .acc-item > :nth-child(6),
.accounts-page .acc-item > :nth-child(7),
.accounts-page .acc-item > :nth-child(9),
.accounts-page .acc-item > :nth-child(10),
.accounts-page .acc-item > :nth-child(11),
.accounts-page .acc-item > :nth-child(12),
.accounts-page .acc-item > :nth-child(13) {
  display: none;
}

.accounts-page .acc-item > .acc-m-meta {
  grid-area: meta;
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #6b7686;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.accounts-page .acc-item > .acc-m-res {
  grid-area: res;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.accounts-page .acc-item > .acc-m-res .ico-chip {
  height: 26px;
  padding: 0 9px;
  border-radius: 7px;
}

.accounts-page .acc-item > .acc-lands { grid-area: lands; }
.accounts-page .acc-item > .biz-open { grid-area: foot; justify-self: start; }
.accounts-page .acc-item > .mobile-account-open { grid-area: foot; justify-self: end; }

.accounts-page .acc-item .acc-lands {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  overflow: visible;
}

.accounts-page .acc-item .acc-lands .ico-chip {
  width: 100%;
  height: 30px;
  padding: 0 6px;
  border-radius: 8px;
  justify-content: center;
}

.accounts-page .acc-item .acc-lands .ico-chip b {
  font-size: 13px;
}

.accounts-page .acc-item .ico-chip {
  justify-self: start;
}

.accounts-page .acc-item .biz-open {
  height: 32px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 12px;
}

.mobile-account-open {
  min-width: 64px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #3a83f7;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
}

/* 全局日志（手机）：抽屉贴在底部导航上面，铺满宽；每条日志是两行小卡片 */
.global-log-drawer {
  left: 0;
  padding: 0 8px;
  bottom: calc(var(--mobile-nav-h) + var(--mobile-safe-bottom) + 8px);
  height: min(600px, 74dvh);
}
.global-log-panel {
  border-radius: 16px;
  border-bottom: 1px solid #dde6f2;
}
.global-log-hero {
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px;
}
.global-log-stats {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.global-log-stat {
  padding: 0 10px;
}
.global-log-stat:first-child {
  padding-left: 0;
  border-left: 0;
}
.global-log-stat b {
  font-size: 18px;
}
.global-log-hero-actions button {
  height: 30px;
  padding: 0 11px;
  font-size: 12px;
}
.global-log-hero-actions button.is-icon {
  width: 30px;
}
.global-log-tools {
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 10px 12px;
}
.global-log-seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.global-log-list {
  padding: 8px 8px 12px;
}
.global-log-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas:
    "user kind time"
    "message message message";
  gap: 6px 8px;
  margin-bottom: 6px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #e3eaf4;
  border-radius: 12px;
}
.global-log-time { grid-area: time; }
.global-log-user { grid-area: user; }
.global-log-kind { grid-area: kind; }
.global-log-message { grid-area: message; white-space: normal; overflow-wrap: anywhere; }
.global-log-repeat { display: none; }

.admin-page .hostbar {
  position: static;
  padding: 7px 12px;
  display: flex;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
}

.admin-page .hostbar span {
  flex: 0 0 auto;
}

.admin-page .admin-content {
  padding-bottom: 24px;
}

.admin-page .stats,
.admin-page #pg-stress .stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-page .stat {
  min-height: 76px;
  padding: 12px;
}

.admin-page .split,
.admin-page .form-grid,
.admin-proxy-tools {
  grid-template-columns: 1fr;
}

.admin-page .search-bar {
  align-items: stretch;
  flex-direction: column;
}

.admin-page .panel:has(.table),
.admin-page #adm-table,
.admin-page #user-table,
.admin-page #acc-table,
.admin-page #px-table,
.admin-page #code-table,
.admin-page #log-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.auth-stage {
  padding: 14px;
}

.auth-card {
  width: 100%;
  max-width: 430px;
}

.home-page {
  grid-template-rows: 62px minmax(0, 1fr) 36px;
}

.home-nav {
  padding: 0 13px;
}

.home-main {
  padding: 16px 13px 0;
}

.home-page .home-hero h1 {
  font-size: clamp(30px, 10vw, 38px);
}

@media (max-width: 340px) {
  .batch-page .kind-row,
  .export-range,
  .accounts-page .acc-filter {
    grid-template-columns: 1fr;
  }

  .accounts-page .pick-all,
  .accounts-page .acc-search {
    grid-column: 1;
  }

  .mobile-more-sheet > div {
    grid-template-columns: 1fr 1fr;
  }
}

.ask-layer {
  padding: 16px;
  align-items: flex-end;
}

.ask-card {
  width: 100%;
  margin-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-reduced-motion: reduce) {
  .console-page .side,
  .console-page .dim,
  .mobile-more-backdrop,
  .mobile-more-sheet {
    transition: none;
  }
}

/* 手机卡片：表格时代的居中规则在这里全部改回左对齐 */
.accounts-page .acc-item > .acc-m-meta,
.accounts-page .acc-item > .acc-m-res,
.accounts-page .acc-item > .acc-lands {
  justify-self: stretch;
  text-align: left;
}

.accounts-page .acc-item > .mobile-account-open {
  width: auto;
  min-width: 64px;
  max-width: none;
  padding: 0 14px;
  white-space: nowrap;
  justify-self: end;
}

/* 全局日志：手机上缩成右下角小按钮，页面底部多留一截，不压住最后一张卡 */
.global-log-handle {
  left: auto;
  right: 12px;
  top: -42px;
  height: 34px;
  padding: 0 6px 0 12px;
  transform: none;
}

.global-log-enabled .page,
.global-log-enabled .ops-content,
.global-log-enabled .account-content {
  padding-bottom: calc(var(--mobile-nav-h) + var(--mobile-safe-bottom) + 64px);
}

.export-range .export-query {
  grid-column: 1 / -1;
}

.console-page .bc-tools #bc-group {
  width: 100%;
  max-width: none;
  height: 40px;
}

/* 控制台统计看板：手机一列 */
.home-page .page.home-board {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 12px;
  overflow: visible;
}

.home-board .hb-hero {
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 16px;
}

.home-board .hb-hero-line { font-size: 18px; }
.home-board .hb-hero-line b { font-size: 34px; }
.home-board .hb-earn { gap: 10px 20px; }
.home-board .hb-bars { height: 110px; gap: 5px; }

.home-board .hb-bed,
.home-board .hb-side {
  padding: 14px;
}

.home-board .hb-plots {
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  padding: 10px;
  gap: 6px;
}
.home-board .hb-plot-tabs { width: 100%; margin-right: 0; }
.home-board .hb-plot-bar .hb-plot-q { flex: 1 1 100%; width: auto; }
.home-board .hb-plot-bar .hb-plot-sort { flex: 1 1 0; }
.home-board .hb-plots.dense { grid-template-columns: repeat(auto-fill, minmax(20px, 1fr)); gap: 3px; padding: 8px; }

.home-board .hb-side {
  display: flex;
  width: 100%;
  min-width: 0;
}
.home-board .hb-work { grid-template-columns: 1fr; }
.home-board .hb-go { width: 100%; }

/* 网站公告弹窗：手机上从底部升起，按钮占满一行 */
.notice-bell {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

.site-notice-layer {
  align-items: flex-end;
  padding: 0;
}

.site-notice-card {
  width: 100%;
  max-height: 86dvh;
  border-radius: 20px 20px 0 0;
}

.site-notice-main {
  padding: 16px 16px 6px;
}

.site-notice-title {
  flex-direction: column;
  gap: 4px;
}

.site-notice-title time {
  margin-left: 0;
}

.site-notice-ft {
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
}

.site-notice-ok {
  flex: 1;
}
