*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
input, textarea { width: 100%; }
a { color: inherit; }

.stage {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px 40px;
}
.back {
  position: fixed;
  top: 16px;
  left: 18px;
  z-index: 20;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  opacity: 0.75;
}
.back:hover { opacity: 1; }

.phone {
  grid-area: 1 / 1;
  position: relative;
  width: min(390px, 100vw);
  height: min(844px, calc(100vh - 36px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* 全屏遮罩与 .phone 同格、不是它的子节点：荣耀/华为 WebView 祖先 overflow:hidden 时子层无法滚动 */
.overlay-layer {
  grid-area: 1 / 1;
  position: relative;
  z-index: 9;
  align-self: center;
  justify-self: center;
  width: min(390px, 100vw);
  height: min(844px, calc(100vh - 36px));
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  pointer-events: none;
}
.overlay-layer .mask,
.overlay-layer .circle-fab,
.overlay-layer .ap-overlay,
.overlay-layer .prompt-edit-mask { pointer-events: auto; }
.phone .deco { pointer-events: none; position: absolute; inset: 0; z-index: 0; }
.scroll {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0; /* flex 子项可收缩，否则手机上滚动容器失效/乱跳 */
  overflow: auto;
  padding: 18px 16px 12px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
/* 手机 App：顶栏下移 26px（原 18 + 8 + 10 + 8），避开状态栏小图标 */
html.is-app .scroll {
  padding-top: 44px;
}
html.is-app .sheet.result-board:not(.article-board),
html.is-app .bd-board .page-head {
  padding-top: 44px;
}
/* 财经页：外层不滚，头部固定，仅新闻列表内滚 */
.scroll.is-news {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 0;
}
.news-layout {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news-sticky-head {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
  padding-bottom: 4px;
  box-shadow: 0 10px 18px -14px rgba(0, 16, 40, 0.55);
}
.news-sticky-head .page-head {
  margin-bottom: 0;
}
.news-sticky-head .cal-status {
  margin-bottom: 0;
}
.news-scroll-body {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 14px;
}
/* 学习圈：头固定（话题筛选），仅动态列表内滚 */
.scroll.is-circle {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 0;
}
.circle-layout {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.circle-sticky-head {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
  padding-bottom: 4px;
  box-shadow: 0 10px 18px -14px rgba(0, 16, 40, 0.55);
}
.circle-sticky-head .discover-subs {
  margin-bottom: 0;
}
.circle-sticky-head .page-head,
.circle-sticky-head .circle-browse {
  margin-bottom: 0;
}
.circle-scroll-body {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 8px;
}
.dock {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  flex-shrink: 0;
}
.nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 2px 12px;
}
.nav .ico { width: 26px; height: 26px; display: grid; place-items: center; }
.nav .ico svg { width: 22px; height: 22px; fill: currentColor; }
.nav span:last-child { font-size: 10px; font-weight: 800; letter-spacing: 0.04em; }

.page-head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 12px;
}
.page-head-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.brand-mark,
.brand-mark-slot {
  width: 40px;
  height: 48px;
  flex-shrink: 0;
  display: block;
}
.brand-mark {
  object-fit: contain;
  object-position: center;
}
.title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
}
.title-row h1,
.page-head h1 { margin: 0; line-height: 1.2; flex-shrink: 0; }
.title-row .sub { margin: 0; font-weight: 400; }
.title-row .head-refresh {
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  min-height: 0;
  box-shadow: none;
  border-radius: 0;
  vertical-align: baseline;
}
.page-head .sub, .hint, .eyebrow { margin: 0; }
.eyebrow { letter-spacing: 0.14em; text-transform: uppercase; font-size: 10px; font-weight: 800; }
.stack { display: flex; flex-direction: column; gap: 12px; padding-bottom: 8px; }
.account-stack { gap: 8px; }
.stats-tab-rows { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; }
.stats-tab-rows .subtabs { margin-bottom: 0; }
.stats-pnl-switch {
  display: flex;
  align-items: stretch;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: #e8eef6;
  border: 1px solid #d5e0ec;
}
.stats-pnl-chip {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background .12s ease, color .12s ease, box-shadow .12s ease;
}
.stats-pnl-chip.is-on {
  background: #fff;
  color: #0053a6;
  font-weight: 800;
  box-shadow: 0 1px 2px rgba(10, 22, 48, .1);
}
.stats-pnl-chip:focus-visible {
  outline: 2px solid #0053a6;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .stats-pnl-chip { transition: none; }
}
.stats-cal-card h3 { margin: 0 0 10px; }
.stats-cal-card .bd-chart { margin-top: 2px; }
.stats-cal-card .bd-cal { padding-top: 2px; }
.stats-board { color: #0a1630; }
.stats-board .bd-sec {
  margin: 8px 0 0;
  padding: 14px 12px 12px;
  background: #fff;
  border-radius: 14px;
  color: #0a1630;
}
.stats-board .bd-sec h2 { margin: 0 0 12px; color: #0a1630; }
.stats-board .bd-sym { margin-top: 10px; }
.stats-board .bd-sym-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #0a1630;
}
.stats-board .bd-sym-row b,
.stats-board .bd-sym-row span { color: #0a1630; }
.stats-board .bd-sym-meta {
  display: flex;
  gap: 12px;
  margin: 4px 0 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}
.stats-board .bd-sym-meta em { font-style: normal; color: #64748b; }
.stats-board .bd-sym i {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: #0053a6;
}
.subtabs { display: flex; gap: 8px; margin: 0 0 14px; }
.subtabs.triple, .subtabs.quad, .subtabs.penta { gap: 4px; }
.subtabs.triple .subtab,
.subtabs.quad .subtab,
.subtabs.penta .subtab {
  flex: 1;
  min-width: 0;
  padding-left: 4px;
  padding-right: 4px;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
}
.subtabs.penta .subtab {
  font-size: 11px;
  padding-left: 2px;
  padding-right: 2px;
}
.subtab { position: relative; }

.sort-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}
.sort-lab {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  opacity: .45;
  margin-right: 2px;
}
.sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}
.sort-bar .sort-btn { padding: 4px 8px; font-size: 12px; }
.sort-btn i {
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}
.sort-hint {
  margin-left: auto;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  opacity: .42;
}
.sort-bar { flex-wrap: nowrap; }
.sort-bar .sort-filter {
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 999px;
  flex: 0 0 28px;
  justify-content: center;
}
.sort-bar .sort-filter.is-sym { border-radius: 7px; }
.sort-filters {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.sort-count {
  margin-left: 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0;
}
.hist-filter-list {
  display: flex;
  flex-direction: column;
  padding: 6px 8px 14px;
  overflow: auto;
  max-height: min(60vh, 420px);
}
.hist-filter-empty { margin: 8px 10px 12px; }
.hist-filter-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 12px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}
.hist-filter-opt.is-on { background: #e8f1fb; color: #0053a6; }
.hist-filter-opt i { font-style: normal; font-weight: 900; }
.hist-filter-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px 10px 2px;
}
.hist-filter-dates label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
}
.hist-filter-dates input[type="date"] {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d5deea;
  border-radius: 10px;
  padding: 8px 8px;
  font: inherit;
  font-size: 13px;
  color: #0a1630;
  background: #f4f7fb;
  color-scheme: light;
}
.hist-filter-dates .btn { grid-column: 1 / -1; margin-top: 4px; }
.subtab .dot {
  position: absolute;
  top: -7px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 900;
  font-style: normal;
  line-height: 1;
  display: grid;
  place-items: center;
  background: #0053a6;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0, 40, 90, .28);
  border: 1.5px solid #fff;
}
.subtab.is-on .dot {
  background: #f36b1c;
  color: #fff;
  border-color: #fff;
}
.subtab .dot:empty,
.subtab .dot[data-zero="1"] {
  background: rgba(0, 83, 166, .35);
}

.hero-grid, .meta, .split, .tips-grid { display: grid; gap: 10px; }
.hero-grid { grid-template-columns: 1fr 1fr; }
.hero-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}
.hero-grid .lbl {
  display: block;
  font-size: 13px;
  font-weight: 800;
  opacity: .55;
  line-height: 1.2;
}
.hero-grid strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.6px;
}
.hero-grid.three { grid-template-columns: repeat(3, 1fr); }
.hero-grid.four { grid-template-columns: repeat(4, 1fr); }
.pos-sum {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 14px 12px 12px;
}
.pos-sum-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  align-items: stretch;
}
.pos-sum-row + .pos-sum-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed color-mix(in srgb, currentColor 16%, transparent);
}
.pos-sum-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 4px 2px;
  text-align: center;
}
.pos-sum-cell em {
  display: block;
  margin: 0;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #6b7280;
  line-height: 1.2;
  white-space: nowrap;
}
.pos-sum-cell b {
  display: block;
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
  color: #0a1630;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.35px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pos-sum-row--trade .pos-sum-cell--pnl {
  border-radius: 10px;
  padding: 8px 4px;
  background: #f5f7fb;
}
.pos-sum-cell--pnl b {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.45px;
}
.pos-sum .pos-plus { color: #dc2626; }
.pos-sum .pos-minus { color: #16a34a; }
.pos-sum-cell--pnl.is-up {
  background: color-mix(in srgb, #dc2626 8%, #fff);
}
.pos-sum-cell--pnl.is-down {
  background: color-mix(in srgb, #16a34a 8%, #fff);
}
.pos-sum-cell--pnl.is-flat {
  background: #f5f7fb;
}
.pos-sum-cell--pnl.is-flat b {
  color: #64748b;
  font-size: 18px;
}
.meta { grid-template-columns: 1fr 1fr; }
.split { grid-template-columns: 1fr 1fr; }
.tips-grid { grid-template-columns: 1fr; }
.row-between, .brand-row, .rec-top, .mt-row, .signal-row, .profile {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.rec-top > div { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; }

.hist-card { display: flex; flex-direction: column; gap: 12px; }
.hist-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.hist-hd-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.hist-hd-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.hist-sync {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #d7e0ee;
  border-radius: 50%;
  background: #fff;
  color: #0a1630;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(10, 22, 48, .08);
}
.hist-sync svg,
.hist-sync path { display: block; pointer-events: none; }
.hist-sync.is-busy,
.hist-sync:disabled { opacity: .45; }
.hist-hd-row1 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.hist-hd-row2 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-left: 2px;
}
.hist-sym {
  font-size: 14px;
  font-weight: 800;
  color: #0a1630;
  letter-spacing: .02em;
}
.hist-lots {
  font-size: 13px;
  font-weight: 800;
  color: #333333;
  white-space: nowrap;
}
.hist-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  min-width: 0;
}
.hist-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.35;
  color: #4b5568;
}
.hist-line em {
  flex-shrink: 0;
  font-style: normal;
  font-weight: 700;
  color: #6b7280;
}
.hist-line b {
  font-weight: 800;
  color: #0a1630;
  font-variant-numeric: tabular-nums;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hist-line--px {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.hist-line--px > span {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  min-width: 0;
}
.hist-line--px > span:last-child {
  justify-content: flex-end;
  text-align: right;
}
.hist-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f3f6fb;
  border: 1px solid #e2e8f0;
}
.hist-pnl {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.hist-pips {
  font-size: 15px;
  font-weight: 800;
  color: #334155;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.brand-row, .profile, .signal-row, .mt-row { justify-content: flex-start; }
.action-row, .btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.action-row .btn, .btn-row .btn { flex: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; }
.btn.mega { width: 100%; flex-direction: column; gap: 2px; }
.btn.mega small { font-weight: 700; opacity: 0.75; }

/* AI 分析 · 当前引擎 / 周期 / 指标摘要条 */
.analyze-pick-summary {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 14px 0 12px;
  padding: 12px 12px 11px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--brand-blue, #0053a6) 7%, #fff) 0%, #f7f9fc 100%);
  border: 1px solid color-mix(in srgb, var(--brand-blue, #0053a6) 14%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}
.aps-engine {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 1 118px;
  padding-right: 12px;
}
.aps-ico {
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.aps-ico .prov-ico {
  box-shadow: 0 4px 10px rgba(10, 40, 90, .12);
}
.aps-engine-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.aps-engine-text em {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--brand-blue, #0053a6) 78%, #54607a);
  opacity: .9;
}
.aps-engine-text b {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0a1630;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aps-divider {
  width: 1px;
  align-self: stretch;
  margin: 2px 0;
  background: linear-gradient(
    180deg,
    transparent,
    color-mix(in srgb, var(--brand-blue, #0053a6) 22%, transparent) 18%,
    color-mix(in srgb, var(--brand-blue, #0053a6) 22%, transparent) 82%,
    transparent
  );
  flex-shrink: 0;
}
.aps-stats {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-left: 12px;
}
.aps-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 6px;
  row-gap: 4px;
  align-items: baseline;
  min-width: 0;
}
.aps-num {
  grid-row: 1;
  grid-column: 1;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--brand-blue, #0053a6);
  font-variant-numeric: tabular-nums;
}
.aps-lab {
  grid-row: 1;
  grid-column: 2;
  font-size: 11px;
  font-weight: 800;
  color: #54607a;
  letter-spacing: 0.04em;
}
.aps-tags {
  grid-row: 2;
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}
.aps-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 2px 7px;
  border-radius: 999px;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0a1630;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--brand-blue, #0053a6) 16%, transparent);
  box-shadow: 0 1px 2px rgba(10, 40, 90, .06);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lang-chips .chip {
  min-width: 52px;
  justify-content: center;
  cursor: pointer;
}
.lang-chips .chip.is-on {
  font-weight: 900;
}
.sound-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 4px;
}
.sound-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1.5px solid color-mix(in srgb, var(--brand-blue, #0053a6) 18%, #c8d4e4);
  border-radius: 12px;
  background: #f4f7fb;
  color: color-mix(in srgb, var(--brand-blue, #0053a6) 55%, #5a6b80);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.sound-opt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: .35;
  flex-shrink: 0;
}
.sound-opt.is-on {
  background: var(--brand-blue, #0053a6);
  border-color: var(--brand-blue, #0053a6);
  color: #fff;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--brand-blue, #0053a6) 28%, transparent);
}
.sound-opt.is-on .sound-opt-dot {
  opacity: 1;
  background: #7dffb3;
  box-shadow: 0 0 0 3px color-mix(in srgb, #7dffb3 28%, transparent);
}
.sound-opt.is-on.is-off {
  background: #5a6575;
  border-color: #5a6575;
  box-shadow: 0 2px 8px rgba(40, 48, 60, .18);
}
.sound-opt.is-on.is-off .sound-opt-dot {
  background: #ffb4b4;
  box-shadow: 0 0 0 3px color-mix(in srgb, #ffb4b4 28%, transparent);
}
.sound-opt:not(.is-on):active {
  transform: scale(.98);
}
.btn.slim { padding-top: 8px; padding-bottom: 8px; }

label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 800; }
label small { font-weight: 600; opacity: 0.55; }
.field-lab { margin: 10px 0 6px; font-size: 12px; font-weight: 800; }
.sym-field { display: flex; flex-direction: column; gap: 6px; }
.sym-combo {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
}
.sym-combo input[data-sym-input] {
  flex: 1;
  width: 100%;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 12px 48px 12px 12px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  background: color-mix(in srgb, #fff 90%, transparent);
  color: inherit;
}
.sym-toggle {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand-blue, #0053a6) 12%, #fff);
  color: var(--brand-blue, #0053a6);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 1;
}
.sym-toggle svg { display: block; }
.sym-toggle:active {
  background: var(--brand-blue, #0053a6);
  color: #fff;
}
.sym-hint { margin: 6px 0 0; font-size: 12px; }
.sym-combo input[data-sym-input][readonly] { cursor: pointer; }
.mask.full.sym-search-mask {
  position: absolute;
  inset: 0;
  z-index: 80;
  width: auto;
  height: auto;
  max-height: none;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 16px;
  background: rgba(4, 16, 36, .42);
}
.sym-search-panel {
  position: relative;
  width: 100%;
  max-height: calc(100% - 16px);
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 14px 14px 8px;
  border-radius: 18px;
  background: #fff;
  color: #0a1630;
  box-shadow: 0 18px 40px rgba(0, 24, 56, .28);
}
.sym-search-panel h3 {
  margin: 0 40px 10px 0;
  font-size: 16px;
  font-weight: 800;
  color: #0a1630;
}
.sym-search-x {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #5b6b82;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.sym-search-x:active { background: #eef3f9; }
.sym-search-field {
  position: relative;
  display: block;
  margin: -26px 0 0;
}
.sym-search-field svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7c93;
  pointer-events: none;
}
.sym-search-field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px 10px 36px;
  border-radius: 12px;
  border: 1px solid rgba(0, 83, 166, .16);
  background: #f3f7fc;
  color: #0a1630;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
}
.sym-search-pills {
  display: flex;
  gap: 8px;
  margin: 12px 0 8px;
  padding-top: 10px;
  flex-wrap: wrap;
}
.sym-search-pill {
  position: relative;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 83, 166, .16);
  background: #f3f7fc;
  color: #1e3a5f;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.sym-search-count {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #0b1b33;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.sym-search-pill.is-on .sym-search-count {
  background: #fff;
  color: #c2410c;
  box-shadow: 0 0 0 2px #f97316;
}
.sym-search-pill.is-on {
  background: #f97316;
  border-color: #f97316;
  color: #fff;
}
.sym-search-pill:active { opacity: .86; }
.sym-search-list {
  flex: 1 1 auto;
  min-height: 120px;
  max-height: 408px;
  overflow: auto;
  margin: 0 -4px;
  padding: 0 4px 4px;
}
.sym-search-item {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 8px;
  border: 0;
  border-bottom: 1px solid rgba(10, 22, 48, .06);
  border-radius: 8px;
  background: transparent;
  color: #0a1630;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.sym-search-item b {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .03em;
}
.sym-search-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}
.sym-search-item.is-on,
.sym-search-item:active { background: #eef4fb; }
.sym-search-item.is-current b { color: #c2410c; }
.sym-search-empty,
.sym-search-foot {
  margin: 8px 8px 4px;
  font-size: 12px;
  color: #64748b;
}
.sym-search-foot { margin-top: 10px; }
.sym-drop {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px;
  list-style: none;
  max-height: 240px;
  overflow: auto;
  border-radius: 12px;
  background: #fff;
  color: #0a1630;
  box-shadow: 0 12px 32px rgba(0, 30, 70, .22);
  border: 1px solid rgba(0, 83, 166, .1);
}
.sym-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 10px 10px;
  border-radius: 10px;
  cursor: pointer;
}
.sym-item b {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .03em;
}
.sym-item small {
  font-size: 11px;
  opacity: .55;
  font-weight: 600;
}
.sym-item:hover,
.sym-item.is-on {
  background: #e4eef8;
  color: #0053a6;
}
.sym-item-custom {
  font-weight: 700;
  color: #0053a6;
}
.sym-empty,
.sym-foot {
  padding: 8px 10px;
  font-size: 12px;
  opacity: .55;
  font-weight: 600;
}
.sym-foot {
  border-top: 1px solid rgba(0, 83, 166, .08);
  margin-top: 4px;
  padding-top: 10px;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip.is-mini {
  min-height: 28px;
  min-width: 0;
  padding: 4px 10px;
  font-size: 11px;
  pointer-events: none;
}

/* AI 分析 · 已选摘要 + 底部抽屉 */
.ai-pick-board {
  margin: 12px 0 10px;
  border: 1px solid rgba(0, 83, 166, 0.12);
  border-radius: 12px;
  background: #f6f9fc;
  overflow: hidden;
}
.ai-pick-compact {
  margin: 0;
  padding: 10px 12px 11px;
  color: #0a1630;
}
.ai-pick-board .ai-pick-compact + .ai-pick-compact {
  border-top: 1px solid rgba(0, 83, 166, 0.08);
}
.ai-pick-compact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.ai-pick-compact-kicker {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
}
.ai-pick-compact-top .field-lab {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.ai-pick-compact-meta {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #5a6b80;
}
.ai-pick-compact-meta .mono {
  font-size: 11px;
  font-weight: 800;
  color: #0a1630;
  font-variant-numeric: tabular-nums;
}
.ai-pick-compact-cap {
  font-style: normal;
  font-weight: 600;
  color: #7a8b9e;
}
.ai-pick-edit {
  position: relative;
  flex-shrink: 0;
  min-height: 26px;
  padding: 2px 9px;
  border-radius: 6px;
  background: #fff;
  color: #0053a6;
  border: 1px solid rgba(0, 83, 166, 0.22);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  touch-action: manipulation;
}
.ai-pick-edit::after {
  content: "";
  position: absolute;
  inset: -7px -6px;
}
.ai-pick-edit:active { transform: translateY(1px); }
.ai-pick-compact-tags { gap: 6px; }
.ai-pick-compact-tags .chip { pointer-events: none; }

.ai-pick-compact .ai-tf-ruler-kicker { margin: 0 0 2px; }
.ai-pick-compact .ai-tf-ruler { height: 80px; margin: 2px -4px 0; }


.mask.qo-mask.ai-pick-mask {
  z-index: 50;
  place-items: end center;
  align-items: end;
  padding: 0;
  background: rgba(8, 18, 36, 0.46);
}
.sheet.ai-pick-sheet {
  width: 100%;
  height: min(72dvh, 580px);
  max-height: min(72dvh, 580px);
  min-height: min(72dvh, 580px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  padding: 0 0 env(safe-area-inset-bottom, 0px);
  background: #fff;
  color: #0a1630;
  box-shadow: 0 -16px 40px rgba(0, 20, 50, 0.22);
}
.ai-pick-grab {
  width: 36px;
  height: 4px;
  border-radius: 99px;
  background: #d5e0ec;
  margin: 8px auto 0;
  flex-shrink: 0;
}
.ai-pick-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 10px 10px 16px;
  flex-shrink: 0;
}
.ai-pick-sheet-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: #0a1630;
}
.ai-pick-sheet-head .hint {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #5a6b80;
}
.ai-pick-close {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
  color: #0a1630;
  opacity: 0.88;
  border-radius: 12px;
  background: transparent;
  touch-action: manipulation;
}
.ai-pick-close:hover,
.ai-pick-close:focus-visible {
  opacity: 1;
  background: #e4eef8;
}
.ai-pick-close:active { transform: scale(0.94); }
.ai-pick-kinds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 14px 10px;
  flex-shrink: 0;
}
.ai-pick-kind {
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #e4eef8;
  color: #0053a6;
  font-size: 13px;
  font-weight: 800;
  touch-action: manipulation;
}
.ai-pick-kind.is-on {
  background: #0053a6;
  color: #fff;
}
.ai-pick-kind .mono { font-weight: 700; opacity: 0.82; }
.ai-pick-kind-panel { display: none; min-height: 0; flex: 1 1 auto; flex-direction: column; }
.ai-pick-kind-panel.is-on { display: flex; min-height: 0; }
.ai-tf-ruler-kicker {
  flex-shrink: 0;
  margin: 0 14px 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5a6b80;
}
.ai-tf-ruler {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-shrink: 0;
  height: 92px;
  margin: 0 8px 8px;
  padding: 0 2px;
}
.ai-tf-ruler::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 28px;
  height: 2px;
  background: #d5e0ec;
}
.ai-tf-tick {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  min-height: 44px;
  padding: 0 0 2px;
  color: #5a6b80;
  background: transparent;
  touch-action: manipulation;
}
.ai-tf-tick::after {
  content: "";
  position: absolute;
  inset: -6px 0;
}
.ai-tf-tick i {
  width: 2px;
  height: 12px;
  background: #c3d2e3;
  margin-bottom: 14px;
  display: block;
  border-radius: 2px;
}
.ai-tf-tick .ai-tf-dot {
  position: absolute;
  bottom: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #c3d2e3;
}
.ai-tf-tick span.mono {
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.ai-tf-tick.is-on { color: #0053a6; }
.ai-tf-tick.is-on i { height: 22px; background: #0053a6; }
.ai-tf-tick.is-on .ai-tf-dot {
  border-color: #0053a6;
  background: #0053a6;
}
.ai-tf-tick:focus-visible {
  outline: 2px solid #0053a6;
  outline-offset: 2px;
  border-radius: 8px;
}
.ai-tf-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-height: 148px;
  align-content: start;
}
.ai-tf-legend .ai-pick-strip-empty { margin: 8px 0 0; }

.ai-pick-strip {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  padding: 0 14px 10px;
  flex-shrink: 0;
  min-height: 40px;
  max-height: 76px;
  overflow: auto;
}
.ai-pick-strip .chip.is-mini { pointer-events: auto; }
.ai-pick-strip-empty {
  font-size: 12px;
  font-weight: 700;
  color: #5a6b80;
}
.ai-pick-gtabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 0 14px 8px;
  flex-shrink: 0;
  min-height: 52px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.ai-pick-gtab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #fff;
  color: #0a1630;
  border: 1px solid rgba(0, 83, 166, 0.14);
  text-align: left;
  touch-action: manipulation;
}
.ai-pick-gtab em {
  display: block;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #2474e8;
}
.ai-pick-gtab b {
  display: block;
  font-size: 12px;
  font-weight: 800;
}
.ai-pick-gtab span {
  font-size: 11px;
  font-weight: 700;
  color: #5a6b80;
}
.ai-pick-gtab.is-on {
  background: #0053a6;
  border-color: #0053a6;
  color: #fff;
}
.ai-pick-gtab.is-on em,
.ai-pick-gtab.is-on span { color: rgba(255, 255, 255, 0.82); }
.ai-pick-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.ai-pick-gpanel { display: none; }
.ai-pick-gpanel.is-on { display: block; }
.ai-pick-gpanel .ai-pick-hint {
  margin: 0 14px 8px;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
  color: #5a6b80;
}
.ai-pick-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 14px 18px;
}
.ai-pick-tile {
  text-align: left;
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 83, 166, 0.12);
  background: #fff;
  color: #0a1630;
  touch-action: manipulation;
}
.ai-pick-tile:active { transform: translateY(1px); }
.ai-pick-tile b {
  display: block;
  font-family: ui-monospace, "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.ai-pick-tile em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
  color: #5a6b80;
}
.ai-pick-tile.is-on {
  background: #edf4ff;
  border-color: #0053a6;
  box-shadow: inset 3px 0 0 #0053a6;
}
.ai-pick-tile.is-on b { color: #0053a6; }
.ai-pick-tile:focus-visible {
  outline: 2px solid #0053a6;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .ai-pick-edit,
  .ai-pick-close,
  .ai-pick-tile,
  .ai-tf-tick i,
  .ai-tf-tick .ai-tf-dot { transition: none; }
}
.watch-head { margin: 0 0 10px; }
.watch-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.watch-title b {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.01em;
}
.watch-edit {
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  background: color-mix(in srgb, currentColor 5%, transparent);
}
.watch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}
.watch-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-align: left;
  padding: 10px 8px 8px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  background: color-mix(in srgb, currentColor 5%, transparent);
  color: inherit;
}
.watch-card.is-on {
  border-color: #0053a6;
  box-shadow: 0 0 0 1px #0053a6;
  background: color-mix(in srgb, #0053a6 8%, transparent);
}
.watch-name {
  display: block;
  font-size: 12px;
  font-weight: 800;
  opacity: 0.72;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.watch-px {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.watch-chg {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
  white-space: nowrap;
}
.sym-search-hint { margin: -4px 0 10px; }
.tick-card {
  margin: 0 0 4px;
  padding: 12px 12px 10px;
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  background: color-mix(in srgb, currentColor 5%, transparent);
}
.tick-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.tick-top b { font-size: 13px; font-weight: 800; letter-spacing: 0.04em; }
.tick-live {
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
}
.tick-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}
.tick-side { display: flex; flex-direction: column; gap: 2px; }
.tick-side.is-ask { text-align: right; align-items: flex-end; }
.tick-side span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0.5;
}
.tick-side strong {
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.tick-side.is-bid strong { color: var(--long, #dc2626); }
.tick-side.is-ask strong { color: var(--short, #16a34a); }
.tick-spread {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  font-size: 13px;
  font-weight: 800;
  font-style: normal;
  color: #54607a;
  font-variant-numeric: tabular-nums;
  min-width: 44px;
  line-height: 1.1;
}
.tick-spread b {
  font-size: 14px;
  font-weight: 800;
  color: #0a1630;
}
.tick-spread small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .55;
}
form-card label + label, .form-card label { margin-top: 8px; }

.kv { display: flex; justify-content: space-between; padding: 8px 0; }
.kv + .kv { border-top: 1px dashed currentColor; }
.bars { display: flex; align-items: stretch; gap: 6px; height: 156px; }
.bar {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center;
  height: 100%;
}
.bar-plot { position: relative; flex: 1; width: 100%; min-height: 0; }
.bar-plot b {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: var(--h); border-radius: 6px 6px 2px 2px;
}
.bar-plot em {
  position: absolute; left: 0; right: 0; bottom: var(--h);
  transform: translateY(-3px);
  font-style: normal; font-size: 9px; font-weight: 800;
  line-height: 1; text-align: center; white-space: nowrap;
  font-variant-numeric: tabular-nums; letter-spacing: -0.03em;
}
.bar span { margin-top: 6px; font-size: 10px; font-weight: 800; flex-shrink: 0; }

.pct { display: flex; height: 10px; overflow: hidden; }
.pct.tall { height: 14px; }
.pct i { display: block; }
.pie {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
}
.pie span {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 900;
}

.prov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.prov-grid.two { grid-template-columns: 1fr 1fr; }
.prov-grid.four { grid-template-columns: repeat(2, 1fr); }
.prov-grid.six { grid-template-columns: repeat(3, 1fr); }
.model-chips { margin-bottom: 4px; }
.model-one { margin: 6px 0 2px; }

.prompt-pick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}
.prompt-pick {
  text-align: left;
  padding: 14px 14px 12px;
  border-radius: 14px;
  border: 1.5px solid #d5dbe3;
  background: #f3f5f8;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 108px;
  min-width: 0;
  color: #0a1630;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, opacity .15s ease;
  opacity: 0.92;
}
.prompt-pick:active:not(.is-on) {
  transform: translateY(1px);
}
.prompt-pick-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 3px 8px;
  border-radius: 99px;
  background: #e4e8ee;
  color: #6b7785;
}
.prompt-pick b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #4a5563;
  margin-top: 2px;
}
.prompt-pick-desc {
  display: block;
  font-size: 12px;
  color: #8a93a0;
  line-height: 1.45;
  flex: 1;
}
.prompt-pick-state {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #9aa3af;
  margin-top: 4px;
}
.prompt-pick.is-on {
  opacity: 1;
  border-width: 2px;
}
.prompt-pick.is-on b { color: #0a1630; }
.prompt-pick.is-on .prompt-pick-desc { color: #5a6b80; }

/* 稳健高胜率 · 青绿 */
.prompt-pick.is-steady.is-on {
  border-color: #0f766e;
  background: #e6f7f5;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14), inset 3px 0 0 #0f766e;
}
.prompt-pick.is-steady.is-on .prompt-pick-state { color: #0f766e; }
.prompt-pick.is-steady.is-on .prompt-pick-badge {
  background: rgba(15, 118, 110, 0.14);
  color: #0f766e;
}

/* 均衡结构 · 品牌蓝 */
.prompt-pick.is-balanced.is-on {
  border-color: #2474e8;
  background: #edf4ff;
  box-shadow: 0 0 0 3px rgba(36, 116, 232, 0.14), inset 3px 0 0 #2474e8;
}
.prompt-pick.is-balanced.is-on .prompt-pick-state { color: #2474e8; }
.prompt-pick.is-balanced.is-on .prompt-pick-badge {
  background: rgba(36, 116, 232, 0.14);
  color: #2474e8;
}

/* 进取动量 · 橙琥珀 */
.prompt-pick.is-aggro.is-on {
  border-color: #c47a00;
  background: #fff6e0;
  box-shadow: 0 0 0 3px rgba(196, 122, 0, 0.16), inset 3px 0 0 #c47a00;
}
.prompt-pick.is-aggro.is-on b { color: #0a1630; }
.prompt-pick.is-aggro.is-on .prompt-pick-state { color: #c47a00; }
.prompt-pick.is-aggro.is-on .prompt-pick-badge {
  background: rgba(196, 122, 0, 0.14);
  color: #c47a00;
}
.prompt-pick:focus-visible {
  outline: 2px solid #2474e8;
  outline-offset: 2px;
}
@media (min-width: 560px) {
  .prompt-pick-grid { grid-template-columns: repeat(3, 1fr); }
}
/* H5 窄屏也保持三列时，未选中框更易辨认 */
@media (max-width: 420px) {
  .prompt-pick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .prompt-pick {
    padding: 10px 8px 10px;
    min-height: 132px;
  }
  .prompt-pick b { font-size: 13px; }
  .prompt-pick-desc { font-size: 11px; }
  .prompt-pick-badge { font-size: 9px; padding: 2px 6px; }
}

.prompt-cfg .prompt-cfg-hero h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
}
.prompt-addon-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.prompt-addon-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.prompt-addon-opt {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(0, 83, 166, .1);
  color: #0053a6;
  margin-bottom: 6px;
}
.prompt-addon-head h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: #1f2329;
}
.prompt-addon-head p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #8a9099;
}
.prompt-addon-meter {
  position: relative;
  flex-shrink: 0;
  min-width: 72px;
  padding: 8px 10px 10px;
  border-radius: 10px;
  background: #f4f6f8;
  text-align: center;
  overflow: hidden;
}
.prompt-addon-meter b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #1f2329;
  line-height: 1.1;
}
.prompt-addon-meter span {
  font-size: 10px;
  font-weight: 700;
  color: #8a9099;
}
.prompt-addon-meter i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #e6e8eb;
}
.prompt-addon-meter i::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--p, 0%);
  background: #2474e8;
  transition: width .15s ease;
}
.prompt-addon-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prompt-chip {
  border: 1px solid #e6e8eb;
  background: #fff;
  color: #1f2329;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 11px;
  border-radius: 99px;
  line-height: 1;
}
.prompt-chip:active {
  border-color: #2474e8;
  background: #edf4ff;
  color: #2474e8;
}
.prompt-addon-editor {
  border: 1px solid #e6e8eb;
  border-radius: 12px;
  background: #f7f8fa;
  overflow: hidden;
}
.prompt-addon-editor:focus-within {
  border-color: #2474e8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(36, 116, 232, .12);
}
.prompt-addon-editor textarea,
.prompt-addon-box {
  width: 100%;
  margin: 0;
  min-height: 110px;
  padding: 12px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 13.5px;
  line-height: 1.55;
  color: #1f2329;
  resize: vertical;
  box-sizing: border-box;
}
.prompt-addon-editor textarea:focus,
.prompt-addon-box:focus {
  outline: none;
}
.prompt-addon-editor.is-tap textarea {
  cursor: pointer;
  caret-color: transparent;
}
.prompt-edit-mask {
  background: #f4f7fb;
  z-index: 60;
}
.prompt-edit {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  padding: max(10px, env(safe-area-inset-top)) 16px max(12px, env(safe-area-inset-bottom));
  background: #f4f7fb;
  color: #1f2329;
}
.prompt-edit-bar {
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  min-height: 44px;
  flex: none;
}
.prompt-edit-bar h3 {
  margin: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: #1f2329;
}
.prompt-edit-cancel,
.prompt-edit-done {
  min-height: 44px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.prompt-edit-cancel { color: #5c6570; text-align: left; padding: 0; }
.prompt-edit-done { color: #fff; background: #f97316; border-radius: 10px; }
.prompt-edit-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex: none;
  padding: 4px 0 10px;
  -webkit-overflow-scrolling: touch;
}
.prompt-edit-chips .prompt-chip { flex: none; }
.prompt-edit textarea {
  flex: 1;
  min-height: 160px;
  width: 100%;
  margin: 0;
  padding: 14px;
  border: 1px solid #e6e8eb;
  border-radius: 14px;
  background: #fff;
  color: #1f2329;
  font: inherit;
  font-size: 16px;
  line-height: 1.55;
  resize: none;
  box-sizing: border-box;
}
.prompt-edit textarea:focus { outline: none; border-color: #2474e8; }
.prompt-edit-count {
  flex: none;
  margin: 8px 2px 0;
  text-align: right;
  font-size: 12px;
  color: #8a9099;
}
.prompt-edit-count b { color: #1f2329; font-weight: 800; }
.prompt-addon-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #8a9099;
}
.prompt-addon-foot b { color: #1f2329; font-weight: 800; }
.prompt-addon-foot em {
  font-style: normal;
  color: #b0b5bd;
}
.prompt-addon-clear {
  border: 0;
  background: transparent;
  color: #2474e8;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 0;
}
.prompt-cfg-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #8a9099;
}
.prompt-cfg-note b { color: #1f2329; }
.prompt-cfg-tools {
  padding-top: 6px !important;
  padding-bottom: 10px !important;
}
.prompt-tool-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid var(--line, #e6e8eb);
  background: transparent;
  font: inherit;
  color: inherit;
}
.prompt-tool-row:last-of-type { border-bottom: 0; }
.prompt-tool-row b {
  display: block;
  font-size: 14px;
  font-weight: 800;
}
.prompt-tool-row em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  color: #8a9099;
}
.prompt-tool-row i {
  font-style: normal;
  color: #8a9099;
  font-size: 14px;
}
.prompt-preview-box { margin: 4px 0 10px; }
.prompt-adv-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 6px;
  font-size: 13px;
}
.prompt-cfg-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  position: sticky;
  bottom: 12px;
  padding: 4px 0 8px;
  z-index: 2;
}
.prompt-cfg-actions .btn.primary {
  background: #f97316;
  color: #fff;
  box-shadow: 0 8px 18px rgba(180, 60, 0, .28);
}
.prompt-cfg-actions .btn.primary:active {
  background: #ea580c;
}
.prov, .mini-prov, .prov-icon-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.prov-icon-card {
  gap: 4px;
  padding: 10px 4px 8px;
}
.prov-icon-card b { font-size: 12px; }
.prov-icon-card small { font-size: 9px; letter-spacing: .06em; opacity: .6; }
.provider-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.prov-ico {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 900;
}
.prov-ico svg { width: 22px; height: 22px; display: block; }
.prov-ico.lg { width: 48px; height: 48px; border-radius: 14px; }
.prov-ico.lg svg { width: 26px; height: 26px; }
.prov-ico.mini { width: 22px; height: 22px; border-radius: 7px; }
.prov-ico.mini svg { width: 13px; height: 13px; }
.prov-ico.kimi { background: linear-gradient(145deg, #ffe082, #ff8f00); color: #3a2100; }
.prov-ico.deepseek { background: linear-gradient(145deg, #64b5f6, #1565c0); color: #fff; }
.prov-ico.zhipu { background: linear-gradient(145deg, #8ea2ff, #2f4bdb); color: #fff; }
.prov-ico.minimax { background: linear-gradient(145deg, #ff8a5b, #c2410c); color: #fff; }
.prov-ico.hunyuan { background: linear-gradient(145deg, #5ee9a3, #0a8f4d); color: #063; }
.prov-ico.mimo { background: linear-gradient(145deg, #ffb020, #ff6900); color: #3a1800; }
.brand-mark-sm {
  width: 40px;
  height: 40px;
  object-fit: contain;
  object-position: center;
  display: block;
  flex-shrink: 0;
  padding: 2px;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 42%, #fff8e8 0%, #fff 48%, rgba(255, 248, 230, 0.2) 72%, transparent 76%);
  filter:
    brightness(1.22)
    saturate(1.4)
    contrast(1.08)
    drop-shadow(0 0 8px rgba(255, 196, 90, 0.55))
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}

.ap-overlay {
  position: absolute; inset: 0; z-index: 16;
  display: grid; place-items: center;
  padding: 16px;
  background: rgba(6, 4, 12, .72);
  backdrop-filter: blur(8px);
}
.ap-panel {
  position: relative;
  width: 100%;
  padding: 18px 16px 16px;
  overflow: hidden;
}
.ap-scan {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255,213,79,.08), transparent);
  background-size: 100% 220%;
  animation: ap-scan 2.8s linear infinite;
}
.ap-hero { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; position: relative; padding-right: 36px; }
.ap-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 20;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #fff;
  opacity: 0.88;
  border-radius: 8px;
  background: transparent;
  touch-action: manipulation;
  pointer-events: auto;
}
.ap-close svg {
  width: 16px;
  height: 16px;
  display: block;
}
.ap-close:hover,
.ap-close:focus-visible {
  opacity: 1;
  background: rgba(255,255,255,.14);
}
.ap-close:active { transform: scale(0.94); }
.ap-orb {
  position: relative;
  width: 88px; height: 88px; flex-shrink: 0;
  display: grid; place-items: center;
}
.ap-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid transparent;
}
.ap-ring.r1 { border-top-color: currentColor; animation: ap-spin 1.3s linear infinite; }
.ap-ring.r2 { inset: 8px; border-bottom-color: currentColor; animation: ap-spin 1.9s linear infinite reverse; }
.ap-core {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}
.ap-core .prov-ico,
.ap-core .brand-mark-sm { width: 40px; height: 40px; }
.ap-mascot {
  width: 64px;
  height: 64px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(8, 16, 40, .28));
  animation: ap-mascot-bob 2.4s ease-in-out infinite;
}
@keyframes ap-mascot-bob {
  0%, 100% { transform: translateY(1px); }
  50% { transform: translateY(-2px); }
}
.ap-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; position: relative; }
.ap-meta div { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; }
.ap-meta span { font-size: 10px; font-weight: 800; opacity: .55; }
.ap-tfs { margin-bottom: 12px; position: relative; }
.ap-tfs > span { display: block; font-size: 10px; font-weight: 800; margin-bottom: 6px; opacity: .55; }
.ap-progress { position: relative; }
.ap-track {
  position: relative;
  height: 12px;
  overflow: hidden;
  margin: 8px 0 10px;
}
.ap-fill { display: block; height: 100%; width: 16%; transition: width .7s ease; }
.ap-shine {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  animation: ap-shine 1.6s ease-in-out infinite;
}
.ap-steps { display: flex; gap: 6px; }
.ap-step { flex: 1; height: 5px; opacity: .28; }
.ap-step.is-on { opacity: 1; }
.ap-live { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-weight: 800; position: relative; }
.ap-live i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3dff9a;
  animation: ap-blink 1s ease-in-out infinite;
}
.ap-foot { margin: 6px 0 0; font-size: 11px; opacity: .5; position: relative; }
.brand-row.tight { margin: 12px 0 8px; }

.sltp { margin-top: 12px; }
.sltp-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 8px;
  margin-bottom: 8px;
}
.sltp-edge {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sltp-edge.is-tp { text-align: right; align-items: flex-end; }
.sltp-edge em {
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .04em;
  color: #94a3b8;
}
.sltp-edge b {
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #0a1630;
}
.sltp-status {
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  color: #0053a6;
  padding-bottom: 1px;
}
.sltp-lab {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
}
.sltp-lab strong { font-size: 13px; }
.sltp-track {
  position: relative;
  height: 14px;
  margin: 20px 0 0;
  overflow: visible;
  border-radius: 99px;
}
.sltp-zone { position: absolute; top: 0; bottom: 0; left: 0; border-radius: inherit; }
.sltp-fill {
  position: absolute;
  top: 2px; bottom: 2px;
  border-radius: 99px;
}
.sltp-tick {
  position: absolute;
  top: -15px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
  pointer-events: none;
  width: 0;
}
.sltp-tick em {
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  margin-bottom: 2px;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
}
.sltp-tick i {
  display: block;
  width: 2px;
  height: 20px;
  border-radius: 99px;
  opacity: 0.9;
}
.sltp-tick.is-tp1 em { color: #15803d; }
.sltp-tick.is-tp1 i { background: #22c55e; }
.sltp-tick.is-tp2 em { color: #0f766e; }
.sltp-tick.is-tp2 i { background: #14b8a6; }
.sltp-tick.is-tp3 em { color: #1d4ed8; }
.sltp-tick.is-tp3 i { background: #3b82f6; }
.sltp-tick.is-tp3 {
  left: auto !important;
  right: 0;
  transform: none;
  align-items: flex-end;
}
.sltp-mark {
  position: absolute;
  top: -3px;
  width: 3px;
  height: 20px;
  margin-left: -1.5px;
  border-radius: 99px;
  z-index: 2;
}
.sltp-mark.now {
  width: 10px;
  height: 10px;
  top: 2px;
  margin-left: -5px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff;
  z-index: 3;
}
.sltp-axis {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 18px;
  margin: 4px 0 10px;
}
.sltp-axis span {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.sltp-axis-sl { text-align: left; }
.sltp-axis-tp { text-align: right; margin-left: auto; }
.sltp.is-incomplete .sltp-status { color: #b45309; }
.sltp-track.is-empty {
  height: 10px;
  opacity: .55;
}
.sltp-fill.is-muted {
  background: linear-gradient(90deg, #fecaca, #e2e8f0, #bbf7d0);
}
.sltp-miss-hint {
  margin: 8px 0 10px;
  font-size: 11px;
  font-weight: 700;
  color: #b45309;
  line-height: 1.35;
}
.sltp-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 800;
}
.sltp-meta b { font-size: 12px; }
.sltp-pips {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 10px 10px 8px;
  border-radius: 10px;
  background: #f3f6fa;
}
.sltp-pips > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
  text-align: center;
}
.sltp-pips em {
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: .02em;
}
.sltp-pips b {
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #0a1630;
  line-height: 1.1;
}
.sltp-pips small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.pos-card { display: flex; flex-direction: column; gap: 12px; }
.pos-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.pos-hd-main {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.pos-sym {
  font-size: 14px;
  font-weight: 800;
  color: #0a1630;
  letter-spacing: .02em;
}
.pos-id {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
}
.pos-lots {
  font-size: 12px;
  font-weight: 700;
  color: #54607a;
  white-space: nowrap;
}
.pos-hd--pend {
  align-items: flex-start;
}
.pos-hd--pend .pos-hd-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.pos-hd--pend .pos-hd-row1 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.pos-hd--pend .pos-hd-row2 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-left: 2px;
}
.pos-hd--pend .pos-lots {
  color: #333333;
  font-size: 13px;
  font-weight: 800;
}
.pos-hd--pend .pos-id {
  font-size: 11px;
}
.pos-hd--pend .rr,
.pos-hd--pend .pos-pnl {
  align-self: center;
}
.pos-pnl {
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin-left: auto;
  white-space: nowrap;
}
.pos-px {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f3f6fa;
}
.pos-px-mid {
  align-items: center;
  text-align: center;
  padding: 0 6px;
}
.pos-px-mid b small {
  margin-left: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #54607a;
}
.pos-hd .pos-share { flex: 0 0 auto; }
.pos-share-shot {
  width: 100%;
  display: block;
  margin-top: 8px;
  border-radius: 12px;
  background: #fff;
}
.pos-px > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.pos-px > div:last-child { text-align: right; align-items: flex-end; }
.pos-px em {
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: .04em;
}
.pos-px b {
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #0a1630;
}
.pend-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pend-lots {
  margin-left: auto;
  font-size: 14px;
  font-weight: 800;
  color: #3d4756;
}
.pend-meta {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #5c6778;
}
.pend-gap { margin-top: 14px; }
.pend-gap-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.pend-gap-top span {
  font-size: 13px;
  font-weight: 700;
  color: #5c6778;
}
.pend-gap-top strong {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1c2430;
}
.pend-gap-top small {
  margin-left: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #5c6778;
}
.pend-gap-track {
  height: 8px;
  border-radius: 99px;
  background: #e6ebf2;
  overflow: hidden;
}
.pend-gap-track i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: #c2410c;
}
.pend-gap-ends {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.pend-gap-ends span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.pend-gap-ends span:last-child { text-align: right; align-items: flex-end; }
.pend-gap-ends em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: #5c6778;
}
.pend-gap-ends b {
  font-size: 16px;
  font-weight: 800;
  color: #1c2430;
}
.pend-stops {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 0;
}
.pend-stop {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e6ebf2;
  background: #f7f9fc;
}
.pend-stop span {
  font-size: 12px;
  font-weight: 700;
  color: #5c6778;
}
.pend-stop b {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
  color: #1c2430;
}
.pend-stop em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: #3d4756;
}
.pend-stop.is-sl { border-left: 3px solid #e11d48; }
.pend-stop.is-tp { border-left: 3px solid #16a34a; }
.pend-money {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.pend-money div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 0 4px;
}
.pend-money span {
  font-size: 13px;
  font-weight: 700;
  color: #5c6778;
}
.pend-money b {
  font-size: 16px;
  font-weight: 800;
}
.pend-money .is-loss { color: #e11d48; }
.pend-money .is-gain { color: #16a34a; }
.pos-ft {
  display: flex;
  justify-content: flex-end;
  padding-top: 2px;
  border-top: 1px dashed rgba(0,83,166,.12);
}
.pos-ft .btn { min-width: 88px; }

@keyframes ap-spin { to { transform: rotate(360deg); } }
@keyframes ap-scan { 0% { background-position: 0 -40%; } 100% { background-position: 0 140%; } }
@keyframes ap-shine { 0% { transform: translateX(-80%); } 100% { transform: translateX(80%); } }
@keyframes ap-blink { 50% { opacity: .3; } }

.editor { display: flex; flex-direction: column; overflow: hidden; }
.editor-bar { display: flex; justify-content: space-between; padding: 8px 10px; font-size: 11px; font-weight: 800; }
.editor textarea { border: 0; resize: vertical; min-height: 220px; padding: 12px; }

.sig-row {
  width: 100%;
  display: grid;
  grid-template-columns: 52px 40px 56px 1fr;
  gap: 6px;
  align-items: center;
  padding: 10px 0;
  text-align: left;
}
.sig-row + .sig-row { border-top: 1px dashed currentColor; }

/* —— AI 分析页 · 最近信号 —— */
.rs-card { display: flex; flex-direction: column; gap: 12px; }
.rs-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.rs-head h3 { margin: 0; font-size: 16px; font-weight: 800; color: #0a1630; }
.rs-head .hint { margin: 4px 0 0; }
.rs-empty { margin: 4px 0 0; }
.rs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rs-item {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border: 0;
  border-radius: 12px;
  padding: 12px 12px 10px 14px;
  background: #f3f6fa;
  overflow: hidden;
  transition: transform .15s ease, background .15s ease;
}
.rs-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #94a3b8;
}
.rs-item.is-buy::before { background: var(--long, #e41e3f); }
.rs-item.is-sell::before { background: var(--short, #31a24c); }
.rs-item:active { transform: scale(.99); }
.rs-item:focus-visible {
  outline: 2px solid #0053a6;
  outline-offset: 2px;
}
.rs-item-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.rs-side {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  background: #e2e8f0;
  color: #334155;
}
.rs-item.is-buy .rs-side { background: #fdecef; color: #e41e3f; }
.rs-item.is-sell .rs-side { background: #e7f8ed; color: #31a24c; }
.rs-sym {
  font-size: 13px;
  font-weight: 800;
  color: #0a1630;
  letter-spacing: .02em;
}
.rs-conf {
  font-size: 12px;
  font-weight: 800;
  color: #0053a6;
  font-variant-numeric: tabular-nums;
}
.rs-done {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
  background: #e4eef8;
  color: #0053a6;
}
.rs-time {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  font-style: normal;
  color: #94a3b8;
  white-space: nowrap;
}
.rs-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 500;
  color: #54607a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rs-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}
.rs-conf-bar {
  display: block;
  height: 2px;
  margin: 2px -12px -10px -14px;
  background: rgba(0,83,166,.1);
  overflow: hidden;
}
.rs-conf-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: calc(var(--p, 0) * 1%);
  background: #0053a6;
}
.rs-item.is-buy .rs-conf-bar::after { background: var(--long, #e41e3f); }
.rs-item.is-sell .rs-conf-bar::after { background: var(--short, #31a24c); }

.online, .live, .stamp, .pill, .badge, .count { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
.online i { width: 8px; height: 8px; border-radius: 50%; background: #3dff9a; box-shadow: 0 0 0 4px rgba(61,255,154,.18); }
.rr {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .03em;
  padding: 1px 7px;
  margin-left: 2px;
  color: #7c3aed;
  background: rgba(124, 58, 237, .14);
}

/* —— 分析历史 · 信号票据 —— */
.ah-list { gap: 12px; }
.ah-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 4px;
}
.ah-summary h3 {
  margin: 2px 0 4px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.ah-tally {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.ah-tally-i {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 40px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,.16);
  color: #fff;
}
.ah-tally-i em {
  font-size: 10px;
  font-style: normal;
  opacity: .75;
  font-weight: 700;
}
.ah-tally-i b { font-size: 15px; font-weight: 800; line-height: 1.1; }
.ah-tally-i.is-buy { background: rgba(49,162,76,.22); }
.ah-tally-i.is-sell { background: rgba(228,30,63,.22); }

.ah-ticket {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  background: var(--card, #fff);
  border: 0;
  border-radius: 14px;
  padding: 14px 14px 12px 16px;
  box-shadow: 0 8px 24px rgba(0, 30, 70, .18);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.ah-ticket::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #94a3b8;
}
.ah-ticket.is-buy::before { background: var(--long, #e41e3f); }
.ah-ticket.is-sell::before { background: var(--short, #31a24c); }
.ah-ticket.is-hold::before { background: #94a3b8; }
.ah-ticket:active { transform: scale(.985); }
.ah-ticket:focus-visible {
  outline: 2px solid #0053a6;
  outline-offset: 2px;
}

.ah-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ah-side {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  background: #e2e8f0;
  color: #334155;
}
.ah-ticket.is-buy .ah-side { background: #fdecef; color: #e41e3f; }
.ah-ticket.is-sell .ah-side { background: #e7f8ed; color: #31a24c; }
.ah-sym {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #0a1630;
}
.ah-done {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e4eef8;
  color: #0053a6;
}
.ah-time {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  font-style: normal;
  white-space: nowrap;
}

.ah-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f3f6fa;
}
.ah-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ah-metrics span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #64748b;
  text-transform: none;
}
.ah-metrics b {
  font-size: 13px;
  font-weight: 800;
  color: #0a1630;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ah-conf { position: relative; padding-bottom: 6px; }
.ah-conf-bar {
  display: block;
  height: 3px;
  margin-top: 4px;
  border-radius: 999px;
  background: rgba(0,83,166,.12);
  overflow: hidden;
}
.ah-conf-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: calc(var(--p, 0) * 1%);
  border-radius: inherit;
  background: #0053a6;
}
.ah-ticket.is-buy .ah-conf-bar::after { background: var(--long, #e41e3f); }
.ah-ticket.is-sell .ah-conf-bar::after { background: var(--short, #31a24c); }

.ah-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: #54607a;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ah-levels {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
  border-top: 1px dashed rgba(0,83,166,.14);
}
.ah-sl, .ah-tp {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.ah-tp { text-align: right; align-items: flex-end; }
.ah-sl em, .ah-tp em {
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: .04em;
}
.ah-sl b, .ah-tp b {
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #0a1630;
}
.ah-rr {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .03em;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
}
.ah-rr.is-mute {
  background: #f1f5f9;
  color: #94a3b8;
}

.ah-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.ah-empty b {
  font-size: 16px;
  font-weight: 800;
  color: #0a1630;
}

.ahist-card {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.ahist-card .rec-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  opacity: .72;
}
.stamp.hold { opacity: .9; background: rgba(127,127,127,.22); }
.acc-list { display: flex; flex-direction: column; gap: 8px; }
.acc-list .acc-pick { padding-right: 116px; }
.acc-pick-wrap {
  position: relative;
}
.acc-unbind {
  position: absolute;
  top: 50%;
  right: 8px;
  z-index: 2;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1.5px solid #7aa3cc;
  border-radius: 50%;
  background: #fff;
  color: #0053a6;
  box-shadow: 0 2px 8px rgba(0, 30, 70, 0.18);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transform: translateY(-50%);
}
.acc-unbind svg {
  width: 16px;
  height: 16px;
  display: block;
}
.acc-unbind:hover,
.acc-unbind:focus-visible {
  background: #eef5fb;
  border-color: #0053a6;
  color: #003d7a;
  outline: 2px solid #0053a6;
  outline-offset: 2px;
}
.acc-unbind:active {
  transform: translateY(-50%) scale(0.94);
  background: #e4eef8;
}
.acc-pick.is-on + .acc-unbind {
  background: #fff;
  border-color: #0053a6;
  color: #0053a6;
}
.acc-edit {
  position: absolute;
  top: 50%;
  right: 60px;
  z-index: 2;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1.5px solid #7aa3cc;
  border-radius: 50%;
  background: #fff;
  color: #0053a6;
  box-shadow: 0 2px 8px rgba(0, 30, 70, 0.18);
  cursor: pointer;
  touch-action: manipulation;
  transform: translateY(-50%);
}
.acc-edit svg {
  width: 16px;
  height: 16px;
  display: block;
}
.acc-edit:hover,
.acc-edit:focus-visible {
  background: #eef5fb;
  border-color: #0053a6;
  color: #003d7a;
  outline: 2px solid #0053a6;
  outline-offset: 2px;
}
.acc-edit:active {
  transform: translateY(-50%) scale(0.94);
  background: #e4eef8;
}
.acc-empty {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.bind-quota {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #e8f1fb;
  border: 1px solid rgba(0, 83, 166, .12);
  color: #0a1630;
}
.bind-quota.is-full {
  background: #fff6ea;
  border-color: rgba(180, 83, 9, .22);
}
.bind-quota-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
}
.bind-quota-k,
.bind-quota-u {
  font-size: 12px;
  font-weight: 700;
  color: #54607a;
}
.bind-quota-n {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: #0053a6;
}
.bind-quota-n i {
  margin: 0 1px;
  font-style: normal;
  font-weight: 700;
  color: #7a8699;
}
.bind-quota.is-full .bind-quota-n { color: #9a4b0c; }
.bind-quota-tag {
  margin: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3d2a6;
  color: #7a3e0b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.35;
}
.bind-quota-tip {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  color: #7a4e12;
}
.session-card { padding: 14px; }
.session-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.session-card-top .session-who {
  min-width: 0;
  flex: 1;
}
.session-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.session-card-top b {
  display: inline;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.session-name-row .mem-chip {
  margin-top: 0;
}
.session-card-top .hint { margin: 4px 0 0; }
.mem-chip {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.mem-chip.is-std {
  background: #e2e8f0;
  color: #475569;
}
.mem-chip.is-vip {
  background: #0c2340;
  color: #f5d76e;
}
.circle-mem {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 1px 7px;
  font-size: 10px;
  line-height: 1.35;
  flex-shrink: 0;
  vertical-align: middle;
}
.circle-profile-name,
.circle-cmt-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.connect-busy {
  margin: 10px 0 0;
  color: #0053a6;
  font-weight: 700;
}

/* 会员等级卡：普通会员（浅灰基础档）与超级VIP（海军金）必须一眼可分 */
.auth-pass,
.card.auth-pass {
  --ap-tone: #1a5f9e;
  --ap-ink: #152033;
  --ap-muted: #64748b;
  --ap-line: #e2e8f0;
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--ap-line);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  background: #fff;
}
.auth-pass::before {
  content: "";
  display: block;
  height: 3px;
}
.auth-pass-ico {
  display: block;
  flex-shrink: 0;
}
.auth-pass-note {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--ap-muted);
  line-height: 1.55;
}

.auth-pass.is-regular {
  background: #f4f6f8;
  border-color: #cfd6df;
  box-shadow: none;
}
.auth-pass.is-regular::before {
  background: #94a3b8;
}
.auth-pass-reg {
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-pass-reg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.auth-pass-reg-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
}
.auth-pass-reg-mark b {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #334155;
}
.auth-pass-reg-chip {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #475569;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
}
.auth-pass-reg-lead {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: #0f172a;
}
.auth-pass-reg-meta {
  margin: 0;
  font-family: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.auth-pass.is-vip {
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(245, 215, 110, 0.16), transparent 52%),
    linear-gradient(165deg, #0c2340 0%, #143966 55%, #1a4f86 100%);
  border-color: #c9a227;
  box-shadow: 0 14px 32px rgba(12, 35, 64, 0.28);
}
.auth-pass.is-vip::before {
  background: linear-gradient(90deg, #f5d76e, #c9a227, #f5d76e);
}
.auth-pass.is-vip.is-warn {
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(251, 191, 36, 0.22), transparent 50%),
    linear-gradient(165deg, #3b2208 0%, #7c3a0a 50%, #b45309 100%);
  border-color: #f59e0b;
}
.auth-pass.is-vip.is-warn::before {
  background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
}
.auth-pass-vip {
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #f8fafc;
}
.auth-pass-vip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.auth-pass-vip-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f5d76e;
}
.auth-pass-vip-mark b {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #f5d76e;
}
.auth-pass-vip-chip {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0c2340;
  background: #f5d76e;
}
.auth-pass.is-vip.is-warn .auth-pass-vip-chip {
  background: #fff7ed;
  color: #9a3412;
}
.auth-pass-vip-hero {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.auth-pass-days {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
}
.auth-pass-days b {
  font-family: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: clamp(40px, 11vw, 52px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.auth-pass-days em {
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.88;
  color: #fff;
}
.auth-pass-forever-lab {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}
.auth-pass-cap {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.78);
}
.auth-pass-vip-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  color: rgba(248, 250, 252, 0.62);
}
.auth-pass-vip-meta strong {
  font-family: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.auth-pass.is-vip .auth-pass-note {
  color: rgba(248, 250, 252, 0.68);
}
.auth-renew-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--ap-line);
  border-radius: 0;
  min-height: 52px;
  padding: 14px 18px;
  background: linear-gradient(90deg, #eef5fb 0%, #e3eef8 100%);
  color: #184f86;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: filter 160ms ease, background 160ms ease;
}
.auth-pass.is-regular .auth-renew-btn,
.auth-pass.is-regular .auth-renew-btn.is-upgrade {
  background: linear-gradient(90deg, #f5d76e 0%, #c9a227 100%);
  color: #0c2340;
  border-top-color: transparent;
}
.auth-pass.is-vip .auth-renew-btn {
  background: linear-gradient(90deg, #f5d76e 0%, #c9a227 100%);
  color: #0c2340;
  border-top-color: transparent;
}
.auth-pass.is-vip.is-warn .auth-renew-btn {
  background: linear-gradient(90deg, #fff7ed 0%, #ffedd5 100%);
  color: #9a3412;
}
.auth-renew-btn:active { filter: brightness(0.97); }
.auth-renew-btn:focus-visible {
  outline: 2px solid var(--ap-tone);
  outline-offset: -2px;
}
.auth-renew-btn.is-urgent {
  background: linear-gradient(90deg, #be123c 0%, #e11d48 100%);
  color: #fff;
  border-top-color: transparent;
  animation: auth-renew-pulse 1.6s ease-in-out infinite;
}
.auth-renew-lab { flex: 1; text-align: left; }
.auth-renew-go {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.55);
  color: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.auth-renew-btn.is-urgent .auth-renew-go { background: rgba(255,255,255,.22); }
@keyframes auth-renew-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(190, 18, 60, 0.28); }
  50% { box-shadow: 0 0 0 6px rgba(190, 18, 60, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .auth-renew-btn.is-urgent { animation: none; }
  .auth-renew-btn { transition: none; }
}

.auth-pass.is-stamp {
  --c: #5c6b82;
  --bg: #e8edf3;
  background: var(--bg);
  color: #142033;
  border: 1px solid #d5deea;
  border-radius: 16px;
  box-shadow: none;
  padding: 0 0 12px;
}
.auth-pass.is-stamp::before { display: none; }
.auth-pass.is-stamp.is-regular { --c: #5c6b82; --bg: #e8edf3; }
.auth-pass.is-stamp.is-vip { --c: #2474e8; --bg: #e5f0ff; }
.auth-pass.is-stamp.is-ultra { --c: #0053a6; --bg: #e3eef8; }
.auth-stamp-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px 4px;
}
.auth-stamp-who { min-width: 0; }
.auth-stamp-who b {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #142033;
}
.auth-pass.is-stamp.is-vip .auth-stamp-who b,
.auth-pass.is-stamp.is-ultra .auth-stamp-who b {
  font-size: 20px;
  font-weight: 900;
}
.auth-stamp-mark { width: 36px; height: 32px; flex: 0 0 36px; color: var(--c); }
.auth-stamp-who em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--c);
}
.auth-stamp-who small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  color: #5c6b82;
}
.auth-stamp-seal {
  margin-left: auto;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  border-radius: 50%;
  border: 2px solid var(--c);
  color: var(--c);
  background: transparent;
  box-shadow: inset 0 0 0 5px var(--bg), inset 0 0 0 7px var(--c);
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  transform: rotate(-8deg);
}
.auth-stamp-seal b {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.auth-stamp-seal span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.auth-stamp-q { padding: 12px 16px 0; }
.auth-stamp-q + .auth-stamp-q { border-top: 1px solid #d5deea; margin-top: 12px; }
.auth-stamp-q p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}
.auth-stamp-q small { color: #5c6b82; font-weight: 700; }
.auth-stamp-bar {
  height: 6px;
  border-radius: 99px;
  background: #e4ebf3;
  margin-top: 6px;
  overflow: hidden;
}
.auth-stamp-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--c);
}
.auth-stamp-cta {
  display: block;
  width: calc(100% - 32px);
  margin: 14px 16px 0;
  border: 0;
  border-radius: 12px;
  min-height: 44px;
  background: var(--c);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

/* 续费选购 */
.shop-page { gap: 12px; }
.shop-back { align-self: flex-start; }
.shop-auth-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #5a6b80;
}
.shop-auth-mini strong {
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  font-size: 13px;
  color: #0a1630;
}
.shop-prods { display: flex; flex-direction: column; gap: 10px; }
.shop-prod {
  position: relative;
  text-align: left;
  width: 100%;
  font: inherit;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.shop-prod.is-on {
  border-color: #0053a6;
  box-shadow: 0 0 0 3px rgba(0, 83, 166, 0.12);
}
.shop-prod-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.shop-prod-top b { font-size: 15px; font-weight: 900; color: #0a1630; }
.shop-prod-days {
  font-size: 11px;
  font-weight: 800;
  color: #0053a6;
  background: #edf4ff;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.shop-prod .hint { margin: 8px 0 10px; }
.shop-prod-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.shop-prod-price em {
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  color: #e41e3f;
}
.shop-prod-price strong {
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  font-size: 26px;
  font-weight: 700;
  color: #e41e3f;
  letter-spacing: -0.03em;
  line-height: 1;
}
.shop-prod-price span {
  font-size: 12px;
  font-weight: 700;
  color: #5a6b80;
  margin-left: 4px;
}
.shop-prod-check {
  position: absolute;
  right: 12px;
  bottom: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #c9daf0;
  background: #fff;
}
.shop-prod.is-on .shop-prod-check {
  border-color: #0053a6;
  background: #0053a6;
  box-shadow: inset 0 0 0 3px #fff;
}

.shop-stripe-board {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
  background: #0053a6;
  color: #fff;
}
.shop-stripe-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shop-stripe-tab {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}
.shop-stripe-tab.is-on { background: #fff; color: #0053a6; }
.shop-stripe-benefits {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  color: #0a1630;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  white-space: pre-line;
}
.shop-stripe-row {
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  color: #0a1630;
  display: flex;
  align-items: center;
  gap: 12px;
  font: inherit;
  cursor: pointer;
}
.shop-stripe-row.is-on { box-shadow: inset 3px 0 0 #0053a6; }
.shop-stripe-row .ico {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #d5deea;
  display: grid;
  place-items: center;
  color: #5c6b82;
  font-size: 12px;
  font-weight: 800;
}
.shop-stripe-row.is-on .ico { border-color: #0053a6; color: #0053a6; }
.shop-stripe-row .copy { flex: 1; min-width: 0; }
.shop-stripe-row .copy b { display: block; font-size: 15px; font-weight: 800; }
.shop-stripe-row .copy small {
  display: block;
  margin-top: 3px;
  color: #5c6b82;
  font-weight: 700;
  font-size: 12px;
}
.shop-stripe-row .price {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.shop-stripe-row .price em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  margin-right: 3px;
}
.shop-stripe-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .85);
  font-weight: 700;
}
.shop-stripe-err { margin: 0; color: #ffe4ea; font-size: 12px; font-weight: 700; }
.shop-stripe-pay {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #0053a6;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.shop-stripe-pay:disabled { opacity: .55; cursor: default; }

.shop-chans {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.shop-pay-group { margin-bottom: 4px; }
.shop-pay-group-lab {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #5c7088;
}
.shop-pay-proof {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f4f7fb;
  border: 1px dashed #c5d4e6;
}
.shop-pay-proof b { display: block; font-size: 13px; margin-bottom: 8px; }
.shop-proof-preview {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 8px;
  background: #fff;
}
.shop-pay-addr {
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  background: #f4f7fb;
  border: 1px dashed #c5d4e6;
}
.shop-pay-addr span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #6b7f96;
}
.shop-pay-addr code {
  display: block;
  margin: 6px 0 8px;
  font-size: 12px;
  line-height: 1.45;
  word-break: break-all;
  color: #0a1630;
}
.shop-chan.is-trc.is-on {
  opacity: 1;
  border-color: #e84142;
  background: linear-gradient(135deg, #fff5f5 0%, #ffecec 100%);
  box-shadow: 0 0 0 3px rgba(232, 65, 66, 0.14);
}
.shop-chan.is-trc.is-on .shop-chan-mark { background: #e84142; color: #fff; }
.shop-chan.is-trc.is-on .shop-chan-copy b { color: #0a1630; }
.shop-chan.is-trc.is-on .shop-chan-copy small { color: #e84142; }
.shop-chan.is-trc.is-on .shop-chan-radio {
  border-color: #e84142;
  background: #e84142;
  box-shadow: inset 0 0 0 3px #fff;
}
.shop-chan.is-erc.is-on {
  opacity: 1;
  border-color: #627eea;
  background: linear-gradient(135deg, #f4f6ff 0%, #ecefff 100%);
  box-shadow: 0 0 0 3px rgba(98, 126, 234, 0.16);
}
.shop-chan.is-erc.is-on .shop-chan-mark { background: #627eea; color: #fff; }
.shop-chan.is-erc.is-on .shop-chan-copy b { color: #0a1630; }
.shop-chan.is-erc.is-on .shop-chan-copy small { color: #627eea; }
.shop-chan.is-erc.is-on .shop-chan-radio {
  border-color: #627eea;
  background: #627eea;
  box-shadow: inset 0 0 0 3px #fff;
}
.shop-chan.is-bep.is-on {
  opacity: 1;
  border-color: #c99400;
  background: linear-gradient(135deg, #fffbeb 0%, #fff4d6 100%);
  box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.2);
}
.shop-chan.is-bep.is-on .shop-chan-mark { background: #f0b90b; color: #1a1400; }
.shop-chan.is-bep.is-on .shop-chan-copy b { color: #0a1630; }
.shop-chan.is-bep.is-on .shop-chan-copy small { color: #a07800; }
.shop-chan.is-bep.is-on .shop-chan-radio {
  border-color: #f0b90b;
  background: #f0b90b;
  box-shadow: inset 0 0 0 3px #fff;
}
.shop-chan {
  display: grid;
  grid-template-columns: 44px 1fr 22px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 2px solid transparent;
  background: #fff;
  color: #0a1630;
  font: inherit;
  text-align: left;
  cursor: pointer;
  opacity: 1;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.shop-chan-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #edf4ff;
  color: #0053a6;
}
.shop-chan.is-wx .shop-chan-mark { background: #07c160; color: #fff; }
.shop-chan.is-ali .shop-chan-mark { background: #1677ff; color: #fff; }
.shop-chan.is-trc .shop-chan-mark { background: #e84142; color: #fff; }
.shop-chan.is-erc .shop-chan-mark { background: #627eea; color: #fff; }
.shop-chan.is-bep .shop-chan-mark { background: #f0b90b; color: #1a1400; }
.shop-chan.is-mock .shop-chan-mark { background: #0053a6; color: #fff; }
.shop-chan-ico {
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}
.shop-chan-copy b {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: #0a1630;
}
.shop-chan-copy small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 700;
  color: #5a6b80;
}
.shop-chan-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #c9daf0;
  background: #fff;
  justify-self: end;
}
.shop-chan.is-wx.is-on {
  opacity: 1;
  border-color: #07c160;
  background: linear-gradient(135deg, #f0fff6 0%, #e6f9ee 100%);
  box-shadow: 0 0 0 3px rgba(7, 193, 96, 0.14);
}
.shop-chan.is-wx.is-on .shop-chan-mark { background: #07c160; color: #fff; }
.shop-chan.is-wx.is-on .shop-chan-copy b { color: #0a1630; }
.shop-chan.is-wx.is-on .shop-chan-copy small { color: #07c160; }
.shop-chan.is-wx.is-on .shop-chan-radio {
  border-color: #07c160;
  background: #07c160;
  box-shadow: inset 0 0 0 3px #fff;
}
.shop-chan.is-ali.is-on {
  opacity: 1;
  border-color: #1677ff;
  background: linear-gradient(135deg, #f0f6ff 0%, #e8f1ff 100%);
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.14);
}
.shop-chan.is-ali.is-on .shop-chan-mark { background: #1677ff; color: #fff; }
.shop-chan.is-ali.is-on .shop-chan-copy b { color: #0a1630; }
.shop-chan.is-ali.is-on .shop-chan-copy small { color: #1677ff; }
.shop-chan.is-ali.is-on .shop-chan-radio {
  border-color: #1677ff;
  background: #1677ff;
  box-shadow: inset 0 0 0 3px #fff;
}
.shop-chan.is-mock.is-on {
  opacity: 1;
  border-color: #0053a6;
  background: #edf4ff;
  box-shadow: 0 0 0 3px rgba(0, 83, 166, 0.12);
}
.shop-chan.is-mock.is-on .shop-chan-mark { background: #0053a6; color: #fff; }
.shop-chan.is-mock.is-on .shop-chan-radio {
  border-color: #0053a6;
  background: #0053a6;
  box-shadow: inset 0 0 0 3px #fff;
}
.shop-checkout { margin-top: 4px; }

/* 支付主 CTA：避免与 navy 底色同色导致「看不见按钮」 */
.shop-paybar {
  margin-top: 8px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 30, 70, 0.28);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.shop-paybar-sum {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: end;
}
.shop-paybar-k {
  grid-column: 1;
  grid-row: 1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #8a9bb0;
}
.shop-paybar-price {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: #c62828;
  justify-self: end;
}
.shop-paybar-price em {
  font-style: normal;
  font-size: 16px;
  font-weight: 800;
}
.shop-paybar-price strong {
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.shop-paybar-sub {
  grid-column: 1;
  grid-row: 2;
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: #5a6b80;
}
.shop-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #f36b1c 0%, #e41e3f 100%);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(228, 30, 63, 0.35);
  touch-action: manipulation;
  transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
}
.shop-cta:active:not(:disabled) {
  transform: translateY(1px);
  filter: brightness(0.96);
  box-shadow: 0 4px 12px rgba(228, 30, 63, 0.28);
}
.shop-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}
.shop-cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}
.shop-cta-lab { flex: 0 1 auto; }
.shop-cta-go {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.22);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.shop-cta-block { margin-top: 4px; }
.shop-cta-ghost {
  width: 100%;
  margin-top: 8px;
  min-height: 44px;
  background: #f2f6fb !important;
  color: #0a1630 !important;
}

.shop-pay { text-align: center; padding: 18px 14px; }
.shop-pay-wait { margin-top: 6px; color: #3d5a80; }
.shop-forever-tip { margin: 0 0 8px; color: #3d5a80; }
.shop-pay-amt {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 2px;
  color: #e41e3f;
}
.shop-pay-amt em { font-style: normal; font-size: 16px; font-weight: 800; }
.shop-pay-amt strong {
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.shop-qr {
  width: 168px;
  height: 168px;
  margin: 12px auto;
  border-radius: 12px;
  border: 1px solid #e4eef8;
  background:
    repeating-linear-gradient(0deg, #0a1630 0 2px, transparent 2px 8px),
    repeating-linear-gradient(90deg, #0a1630 0 2px, transparent 2px 8px),
    #f5f8fc;
  position: relative;
  overflow: hidden;
}
.shop-qr:not(.has-img)::after {
  content: "扫码支付";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 900;
  color: #0a1630;
}
.shop-qr img { width: 100%; height: 100%; object-fit: cover; }
.shop-pay .btn.ghost { margin-top: 8px; width: 100%; }
.shop-pay .btn.primary { width: 100%; }

.shop-ok { text-align: center; padding: 18px 14px; }
.shop-ok-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e7f8ed;
  color: #0f7a4a;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}
.shop-ok-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.shop-ok h3 { margin: 0 0 8px; font-size: 18px; font-weight: 900; color: #0a1630; }
.shop-ok-until {
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  font-size: 15px;
  font-weight: 700;
  background: #f5f8fc;
  border-radius: 10px;
  padding: 10px;
  margin: 0 0 14px;
  color: #0a1630;
}
.shop-ok .btn { width: 100%; }

@media (max-width: 360px) {
  .auth-pass-reg, .auth-pass-vip { padding: 16px 14px 12px; }
  .auth-pass-days b { font-size: 36px; }
  .auth-pass-forever-lab { font-size: 20px; }
}

.connect-err {
  padding: 12px 14px;
  border-left: 3px solid #e41e3f;
  background: #fff5f6;
  color: #0a1630;
}
.connect-err b {
  display: block;
  margin: 0 0 6px;
  color: #e41e3f;
  font-size: 13px;
}
.connect-err p { margin: 0 0 6px; font-size: 13px; line-height: 1.5; font-weight: 600; }
.connect-err .hint { margin: 0; word-break: break-word; }
.pill.is-warn {
  background: #fdecef !important;
  color: #e41e3f !important;
}
.session-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  background: var(--neon, #1e67b2);
  flex-shrink: 0;
}
.session-actions { margin-top: 2px; gap: 7px; }
.session-actions .btn {
  padding: 7px 14px;
  font-size: 14px;
  border-radius: 18px;
  min-height: 0;
}
.session-actions .btn.slim { padding-top: 7px; padding-bottom: 7px; }
.auth-gate {
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-gate-hint { margin: 0; }
.auth-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: color-mix(in srgb, currentColor 8%, transparent);
}
.auth-mode-btn {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  font-size: 15px;
  min-height: 44px;
  padding: 10px 8px;
  border-radius: 10px;
  opacity: .62;
  cursor: pointer;
}
.auth-mode-btn.is-on {
  opacity: 1;
  background: #fff;
  color: #0a1630;
  box-shadow: 0 1px 3px rgba(0, 30, 70, .12);
}
.auth-alt {
  margin: 4px 0 2px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand-blue, #0053a6) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand-blue, #0053a6) 16%, transparent);
}
.auth-alt-copy {
  margin: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  opacity: .72;
}
.auth-alt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--brand-blue, #0053a6);
  background: #fff;
  color: var(--brand-blue, #0053a6);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.auth-alt-btn:hover,
.auth-alt-btn:focus-visible {
  background: var(--brand-blue, #0053a6);
  color: #fff;
  outline: none;
}
.auth-alt-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.auth-alt-ico {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  opacity: .92;
}
.auth-sms-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.auth-sms-row input {
  flex: 1;
  min-width: 0;
}
.auth-sms-row .btn {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 44px;
}
.auth-field .hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  opacity: .9;
}
.auth-field input {
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  background: color-mix(in srgb, #fff 88%, transparent);
  color: #0a1630;
}
.password-wrap {
  position: relative;
  display: block;
}
.password-wrap input {
  width: 100%;
  box-sizing: border-box;
  padding-right: 44px;
}
.eye-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  opacity: .55;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.eye-btn:hover,
.eye-btn[aria-pressed="true"] {
  opacity: 1;
  background: color-mix(in srgb, currentColor 8%, transparent);
}
.auth-err {
  margin: 0;
  color: #e41e3f;
  font-size: 13px;
  font-weight: 700;
}
.auth-submit { width: 100%; margin-top: 4px; min-height: 44px; }
.keep-login {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 4px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  opacity: .92;
}
.keep-login input[type="checkbox"] {
  width: 18px !important; /* 覆盖全局 input{width:100%}，避免勾选框独占一行 */
  height: 18px;
  min-width: 18px;
  margin: 2px 0 0;
  flex: 0 0 18px;
  accent-color: var(--brand-blue, #0053a6);
  cursor: pointer;
}
.keep-login-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
  min-width: 0;
  flex: 1;
}
.keep-login-title {
  font-size: 13px;
  font-weight: 800;
  color: inherit;
}
.keep-login-hint {
  font-size: 11px;
  font-weight: 600;
  opacity: .55;
}
.auth-gate.is-busy .keep-login { opacity: .72; pointer-events: none; }
.auth-gate.is-busy .auth-field input,
.auth-gate.is-busy .auth-mode-btn { opacity: .72; }
.auth-forgot-row { margin: 4px 0 0; text-align: center; }
.auth-forgot-row .linkish {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue, #0053a6);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-forgot-row .linkish:disabled { opacity: .5; cursor: not-allowed; }
.auth-progress {
  margin-top: 4px;
  padding: 12px 12px 11px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand-blue, #0053a6) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand-blue, #0053a6) 14%, transparent);
}
.auth-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.auth-progress-top b {
  font-size: 13px;
  font-weight: 900;
  color: var(--brand-blue, #0053a6);
}
.auth-progress-top span {
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--brand-blue, #0053a6);
  opacity: .85;
}
.auth-track {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 99px;
  background: color-mix(in srgb, var(--brand-blue, #0053a6) 14%, #e8eef6);
}
.auth-fill {
  display: block;
  height: 100%;
  width: 8%;
  border-radius: 99px;
  background: linear-gradient(90deg, #0053a6, #3a8fd9);
  transition: width .28s ease;
}
.auth-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  animation: ap-shine 1.4s ease-in-out infinite;
  pointer-events: none;
}
.auth-progress-hint {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 700;
  color: #54607a;
  line-height: 1.4;
}
.acc-pick {
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  padding: 12px 116px 12px 12px;
}
.acc-pick-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  min-width: 0;
}
.acc-id {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}
.acc-pick-top b {
  font-size: 16px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.acc-tags {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.acc-st {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 2px 9px 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}
.acc-st i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  box-sizing: border-box;
}
.acc-st.is-on {
  background: #e7f8ed;
  color: #187a38;
}
.acc-st.is-on i {
  background: #31a24c;
  box-shadow: 0 0 0 3px rgba(49, 162, 76, .22);
}
.acc-st.is-off {
  background: #e8ecf1;
  color: #3f4b5b;
}
.acc-st.is-off i {
  background: transparent;
  border: 1.6px solid #6b7280;
}
.acc-st.is-wait {
  background: #fff4e0;
  color: #9a4b0c;
}
.acc-st.is-wait i {
  background: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, .2);
}
.acc-st.is-fail {
  background: #fdecef;
  color: #c41230;
}
.acc-st.is-fail i {
  background: #e41e3f;
  box-shadow: 0 0 0 3px rgba(228, 30, 63, .18);
}
@media (prefers-reduced-motion: no-preference) {
  .acc-st.is-on i { animation: acc-st-glow 1.8s ease-in-out infinite; }
  .acc-st.is-wait i { animation: acc-st-pulse 1s ease-in-out infinite; }
}
@keyframes acc-st-glow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(49, 162, 76, .18); }
  50% { box-shadow: 0 0 0 5px rgba(49, 162, 76, .08); }
}
@keyframes acc-st-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
.acc-pick .hint { margin-top: 6px; }
.acc-now {
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  padding: 1px 7px;
  color: #111;
  background: var(--neon);
}
.acc-pick.is-on .acc-now {
  background: #111;
  color: #fff;
}
.acc-pick.is-on {
  outline: 2px solid var(--neon);
}
.eq-board { padding: 14px 14px 16px; }
.eq-hero {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed color-mix(in srgb, currentColor 18%, transparent);
}
.eq-hero > span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  opacity: .5;
  margin-bottom: 4px;
}
.eq-hero-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.eq-hero-row strong {
  font-size: 28px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.eq-hero-row small {
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.eq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 8px;
}
.eq-grid span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  opacity: .5;
  margin-bottom: 5px;
}
.eq-grid b {
  display: block;
  font-size: 14px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.rk-page { gap: 12px; }
.rk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rk-card,
.rk-pnl {
  position: relative;
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(10, 22, 48, 0.07);
  box-shadow: 0 6px 18px rgba(0, 40, 90, 0.08);
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}
.rk-card::before,
.rk-pnl::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #2474e8;
  opacity: 0.45;
}
.rk-card--fuse::before { background: #64748b; opacity: 0.35; }
.rk-pnl::before { background: #0ea5e9; opacity: 0.4; }
.rk-card strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
  margin: 8px 0 10px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: #0a1630;
}
.rk-card em { font-style: normal; font-size: 14px; font-weight: 700; color: #94a3b8; opacity: 1; }
.rk-k {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #64748b;
  opacity: 1;
}
.rk-sub { margin: 0 0 6px; font-size: 14px; font-weight: 800; }
.rk-pnl .huge {
  display: block;
  margin: 10px 0 6px;
  font-size: 28px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.rk-card .hint,
.rk-pnl .hint {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: #94a3b8;
}
.rk-card .hint b,
.rk-pnl .hint b { color: #475569; font-weight: 800; }
.rk-card.hot {
  border-color: rgba(243, 107, 28, 0.45);
  box-shadow:
    0 0 0 2px rgba(243, 107, 28, 0.9),
    0 8px 20px rgba(243, 107, 28, 0.16);
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
}
.rk-card.hot::before {
  background: #f36b1c;
  opacity: 1;
}
.rk-card.hot strong { color: #c2410c; }
.meter {
  height: 8px;
  overflow: hidden;
  margin: 0 0 10px;
  border-radius: 99px;
  background: #e4ebf5;
}
.meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1d63c7, #3b8ef0);
  transition: width 0.25s ease;
}
.rk-card.hot .meter i {
  background: linear-gradient(90deg, #ea580c, #f59e0b);
}

.toggle { flex-direction: row; align-items: center; gap: 10px; }

.toast {
  position: absolute;
  left: 50%;
  bottom: 86px;
  transform: translateX(-50%);
  /* 必须高于结果板 / 确认单 / 告警遮罩，否则分析结果页内 toast 会被挡住，看起来像按钮无响应 */
  z-index: 100;
  padding: 10px 16px;
  max-width: min(92%, 340px);
  white-space: normal;
  text-align: center;
  line-height: 1.45;
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
}
.mask {
  position: absolute; inset: 0; z-index: 9;
  display: grid; place-items: end center;
  padding: 16px;
  background: rgba(0,0,0,.42);
}
.mask.qo-mask {
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  place-items: unset;
  padding: 10px 12px;
  padding-bottom: max(10px, env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  min-height: 0;
  background: rgba(2, 6, 23, 0.62);
}
.sheet { width: 100%; padding: 18px 16px 20px; }
.sheet.qo-panel {
  width: 100%;
  max-width: 100%;
  max-height: 85vh;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  min-height: 0;
}
.sheet.bind-panel {
  width: 100%;
  max-width: 100%;
  max-height: 85vh;
  padding: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}
.bind-body {
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}
.bind-body .btn-row {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin-top: 4px;
  padding-top: 10px;
  background: #fff;
}
.bind-plat {
  display: flex;
  gap: 8px;
}
.bind-plat .chip {
  flex: 1;
  justify-content: center;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: #e4eef8;
  color: #0053a6;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.bind-plat .chip.is-on {
  background: #0053a6;
  color: #fff;
}
.bind-body textarea {
  min-height: 140px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.45;
}
.bind-sample-lab {
  margin: 2px 0 0;
  font-size: 11px;
  font-weight: 800;
  opacity: .7;
}
.bind-tip-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 8px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(185, 90, 20, 0.35);
  background: linear-gradient(180deg, #fff7eb 0%, #ffefd6 100%);
  color: #7a3e0b;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}
.bind-tip-alert strong {
  flex-shrink: 0;
  padding: 1px 8px;
  border-radius: 6px;
  background: #c45c12;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.bind-tip-alert span {
  flex: 1;
  min-width: 0;
}
.log-board {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 30, 70, 0.12);
}
.log-search-wrap,
.log-kind-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
}
.log-search-wrap { border-bottom: 1px solid #e8eef5; }
.log-kind { display: flex; flex-direction: column; }
.log-search-ico {
  flex: 0 0 18px;
  color: #5b6b82;
}
.log-search {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 48px;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
}
.log-search:focus { outline: none; }
.log-kind-btn {
  width: 100%;
  border: 0;
  background: #fff;
  font: inherit;
  text-align: left;
}
.log-kind-btn span {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  color: #54607a;
}
.log-kind-btn strong {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
  color: #0a1630;
}
.log-kind-chev {
  flex: 0 0 18px;
  color: #0053a6;
  transition: transform 160ms ease;
}
.log-kind.is-open .log-kind-chev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .log-kind-chev { transition: none; }
}
.log-kind-btn:focus-visible {
  outline: 2px solid #0053a6;
  outline-offset: -2px;
}
.log-kind-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(245, 215, 110, 0.12), transparent 50%),
    #0c2340;
}
.log-kind-opt {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(248, 250, 252, 0.86);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}
.log-kind-opt:hover,
.log-kind-opt:active { background: rgba(255, 255, 255, 0.08); }
.log-kind-opt:focus-visible {
  outline: 2px solid #f5d76e;
  outline-offset: 0;
}
.log-kind-opt.is-on {
  background: rgba(245, 215, 110, 0.16);
  color: #f5d76e;
}
.log-meter {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 2px 4px 2px 14px;
  background: #0c2340;
  color: #f8fafc;
}
.log-meter-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.66);
}
.log-meter-stat b {
  font-family: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f5d76e;
}
.log-meter-acts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}
.log-meter-act {
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(248, 250, 252, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.log-meter-act.is-danger {
  color: #ffd0d0;
  border-color: rgba(255, 176, 176, 0.55);
}
.log-meter-act:focus-visible {
  outline: 2px solid #f5d76e;
  outline-offset: 2px;
}
.log-meter-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.log-meter-page {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  margin: 0;
  min-width: 4em;
  font-family: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.62);
}
.log-meter-page b { font-size: 16px; color: #fff; }
.log-meter-page i { font-style: normal; }
.log-meter-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #f8fafc;
}
.log-meter-btn:hover { background: rgba(255, 255, 255, 0.08); }
.log-meter-btn:active { background: rgba(255, 255, 255, 0.14); }
.log-meter-btn:focus-visible {
  outline: 2px solid #f5d76e;
  outline-offset: 1px;
}
.log-meter-btn:disabled { opacity: 0.32; cursor: default; }
.log-meter-btn:disabled:hover,
.log-meter-btn:disabled:active { background: transparent; }
.log-ledger {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 30, 70, 0.12);
}
.log-empty {
  margin: 0;
  padding: 28px 16px;
  text-align: center;
  color: #54607a;
  font-size: 13px;
  font-weight: 600;
}
.log-row {
  padding: 12px 14px 13px;
  border-top: 1px solid #eef2f6;
}
.log-row:first-child { border-top: 0; }
.log-row time {
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}
.log-row b {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 800;
  color: #0a1630;
  line-height: 1.35;
}
.log-row p {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.log-row.ok { box-shadow: inset 3px 0 0 #31a24c; }
.log-row.warn { box-shadow: inset 3px 0 0 #c9a227; }
.log-row.err { box-shadow: inset 3px 0 0 #e41e3f; }
.ghost-btn.danger-text { color: #c2410c; }
.bind-sample {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand-blue, #0053a6) 8%, #f4f7fb);
  border: 1px dashed color-mix(in srgb, var(--brand-blue, #0053a6) 22%, transparent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  white-space: pre-wrap;
  color: #0a1630;
  user-select: all;
}
/* 全屏结果页：遮罩自己滚。荣耀 Magic UI 不要 overscroll-behavior / 祖先 overflow:hidden */
.mask.full {
  padding: 0;
  display: block;
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: auto;
  touch-action: auto;
  min-height: 0;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.sheet.result-board {
  height: auto;
  min-height: 100%;
  max-height: none;
  display: block;
  overflow: visible;
  padding: 14px 14px 28px;
  border-radius: 0;
}
.result-decision { flex-shrink: 0; margin: 10px 0 0; text-align: center; }
.result-decision h3 { text-align: center; }
.result-decision .signal-row { justify-content: center; }
.result-board .page-head { margin-bottom: 4px; }
.result-x { flex-shrink: 0; }
.sheet.result-board:not(.article-board) .page-head .result-x {
  margin-top: 10px;
}
.result-call { flex-shrink: 0; margin-top: 10px; text-align: center; }
.result-call-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
}
.result-call-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
}
.result-call-col + .result-call-col {
  border-left: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}
.result-call-k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.42;
}
.result-call-col strong {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.result-call-pct { font-variant-numeric: tabular-nums; }
.result-call-col .is-long,
.result-call-pct.is-long { color: var(--long, #dc2626); }
.result-call-col .is-short,
.result-call-pct.is-short { color: var(--short, #16a34a); }
.result-call-col .is-hold,
.result-call-pct.is-hold { color: #64748b; }
.result-call-meter {
  height: 5px;
  margin: 14px 4px 0;
  overflow: hidden;
  background: color-mix(in srgb, currentColor 10%, transparent);
}
.result-call-meter i { display: block; height: 100%; }
.result-call-meter i.is-long { background: var(--long, #dc2626); }
.result-call-meter i.is-short { background: var(--short, #16a34a); }
.result-call-meter i.is-hold { background: #94a3b8; }
.result-dir {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.result-dir h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.result-conf {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.62;
  letter-spacing: 0.02em;
}
.result-conf b {
  margin-left: 4px;
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--long, #dc2626);
  opacity: 1;
}
.result-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.result-meta span {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 8px;
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  background: color-mix(in srgb, currentColor 6%, transparent);
}
.result-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin: 12px 0 10px;
  flex-shrink: 0;
}
.result-tab {
  min-height: 44px;
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 800;
}
.result-tab.is-locked {
  opacity: 0.38;
  cursor: default;
}
.hold-gate {
  margin: 0 0 12px;
  padding: 14px 14px 12px;
  border-radius: 10px;
  background: #f7f9fc;
  border: 1px solid color-mix(in srgb, #0a1630 10%, transparent);
  border-left: 2px solid #94a3b8;
}
.hold-gate-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.hold-gate-badge {
  flex-shrink: 0;
  min-width: 52px;
  margin-top: 1px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #e2e8f0;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}
.hold-gate-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
  color: #334155;
}
.hold-gate-head b {
  font-weight: 800;
  color: #0a1630;
}
.hold-gate-acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.hold-gate-acts button {
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, #0a1630 12%, transparent);
  background: #fff;
  color: #0a1630;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.hold-gate-acts button.is-on {
  background: #0a1630;
  border-color: #0a1630;
  color: #fff;
}
.ev-board {
  margin: 0 0 12px;
  padding: 12px 14px 8px;
  border-radius: 10px;
  background: #f7f9fc;
  border: 1px solid color-mix(in srgb, #0a1630 10%, transparent);
  border-left: 2px solid #c4a35a;
}
.ev-board .hold-gate { margin-bottom: 10px; }
.ev-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}
.ev-row b {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: #0a1630;
}
.ev-row b.is-long { color: var(--long, #dc2626); }
.ev-row b.is-short { color: var(--short, #16a34a); }
.ev-bar {
  display: block;
  height: 4px;
  margin: 4px 0 8px;
  background: #e2e8f0;
}
.ev-bar em {
  display: block;
  height: 100%;
  width: 0;
  background: #94a3b8;
}
.ev-bar.is-long em { background: var(--long, #dc2626); }
.ev-bar.is-short em { background: var(--short, #16a34a); }
.ev-hint {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 650;
  color: #64748b;
}
.result-subtabs { margin-bottom: 10px; }
.result-body { overflow: visible; min-height: 0; padding-bottom: 8px; }
.result-px { margin-bottom: 10px; }

/* 即时交易计划：报价单式 2×2（非 AI 卡片堆叠） */
.trade-plan {
  --tp-line: color-mix(in srgb, #0a1630 10%, transparent);
  --tp-ink: #0a1630;
  --tp-muted: #64748b;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 0 12px;
  padding: 0;
  border-radius: 10px;
  background: #f7f9fc;
  border: 1px solid var(--tp-line);
  border-left: 2px solid #94a3b8;
  box-shadow: none;
  overflow: hidden;
}
.trade-plan.is-long { border-left-color: var(--long, #dc2626); }
.trade-plan.is-short { border-left-color: var(--short, #16a34a); }
.trade-plan-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 72px;
  padding: 12px 14px 11px;
  background: transparent;
  border: none;
  border-radius: 0;
  border-right: 1px solid var(--tp-line);
  border-bottom: 1px solid var(--tp-line);
}
.trade-plan-cell:nth-child(2n) { border-right: none; }
.trade-plan-cell:nth-child(n + 3) { border-bottom: none; }
.trade-plan-cell::before { display: none; content: none; }
.trade-plan-k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--tp-muted);
  padding-left: 0;
  line-height: 1.2;
}
.trade-plan-v {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--tp-ink);
  padding-left: 0;
  word-break: break-all;
}
.trade-plan-num {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.trade-plan-v.up,
.trade-plan-side .trade-plan-v.up { color: var(--long, #dc2626); }
.trade-plan-v.down,
.trade-plan-side .trade-plan-v.down { color: var(--short, #16a34a); }
.trade-plan-sl .trade-plan-v { color: #b91c1c; }
.trade-plan-tp .trade-plan-v { color: #15803d; }
.trade-plan-sub {
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: #7b8798;
  padding-left: 0;
  line-height: 1.2;
}
@media (max-width: 380px) {
  .trade-plan-v { font-size: 15px; }
  .trade-plan-num { font-size: 14px; }
  .trade-plan-cell { padding: 10px 11px 9px; min-height: 66px; }
}

/* 分析结果：三档止盈阶梯（与上方报价单同一套票证密度） */
.tp-ladder {
  --tpl-line: color-mix(in srgb, #0a1630 10%, transparent);
  --tpl-ink: #0a1630;
  --tpl-muted: #5b6b80;
  margin: 0 0 12px;
  border: 1px solid var(--tpl-line);
  border-radius: 10px;
  background: #f7f9fc;
  overflow: hidden;
}
.tp-ladder-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--tpl-line);
}
.tp-ladder-head h3 {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--tpl-ink);
  line-height: 1.25;
}
.tp-ladder-src {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 6px;
  border-radius: 4px;
  background: #fff4d6;
  color: #8a5a00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.tp-ladder-head p {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--tpl-muted);
}
.tp-ladder-rr {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  background: #d6e6f6;
  color: #0053a6;
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.tp-ladder-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tp-ladder-row {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 14px;
  border-top: 1px solid var(--tpl-line);
}
.tp-ladder-row:first-child { border-top: none; }
.tp-ladder-row.is-broker { background: #f3faf6; }
.tp-ladder-rail {
  position: relative;
  align-self: stretch;
  width: 16px;
}
.tp-ladder-rail em {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #64748b;
  box-shadow: 0 0 0 2px #f7f9fc;
}
.tp-ladder-row.is-tp1 .tp-ladder-rail em { background: #0053a6; }
.tp-ladder-row.is-tp2 .tp-ladder-rail em { background: #0f766e; }
.tp-ladder-row.is-tp3 .tp-ladder-rail em { background: #15803d; }
.tp-ladder-row:not(:last-child) .tp-ladder-rail::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(50% + 7px);
  bottom: -18px;
  width: 1px;
  margin-left: -0.5px;
  background: var(--tpl-line);
}
.tp-ladder-main { min-width: 0; }
.tp-ladder-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.tp-ladder-tag,
.tp-ladder-r,
.tp-ladder-cut,
.tp-ladder-broker {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}
.tp-ladder-tag {
  background: #d6e6f6;
  color: #0053a6;
}
.tp-ladder-r {
  background: #eef2f6;
  color: var(--tpl-ink);
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}
.tp-ladder-cut {
  background: #fff;
  color: #3d5a80;
  border: 1px solid var(--tpl-line);
}
.tp-ladder-broker {
  background: #dcfce7;
  color: #166534;
}
.tp-ladder-act {
  margin: 5px 0 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--tpl-muted);
}
.tp-ladder-px {
  min-width: 7.5ch;
  text-align: right;
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--tpl-ink);
  white-space: nowrap;
}
.tp-ladder-row.is-broker .tp-ladder-px { color: #15803d; }
@media (max-width: 380px) {
  .tp-ladder-head { padding: 10px 11px 8px; }
  .tp-ladder-row { padding: 9px 11px; gap: 8px; min-height: 54px; }
  .tp-ladder-px { font-size: 14px; min-width: 6.5ch; }
}

.risk-grid { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.risk-rule {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
}
.risk-rule-top {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.risk-rule-k {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0.5;
}
.risk-rule b { font-size: 14px; font-weight: 900; line-height: 1.25; }
.risk-rule-hint {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  line-height: 1.4;
}
.risk-rule-pills { display: flex; gap: 6px; }
.risk-rule-pills em {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 6px 4px;
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  border-radius: 8px;
}
.risk-rule-pills small {
  font-size: 10px;
  font-weight: 800;
  opacity: 0.72;
  letter-spacing: 0.02em;
}
.risk-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 10px 12px;
  text-align: left;
}
.risk-btn em { font-style: normal; font-size: 15px; font-weight: 900; }
.risk-btn b { font-size: 18px; }
.risk-btn small { opacity: .75; font-weight: 700; }
.risk-btn.is-blocked {
  opacity: 0.48;
  filter: grayscale(0.35);
  cursor: not-allowed;
  pointer-events: auto;
}
.risk-btn.is-blocked small { opacity: 0.95; font-weight: 800; }
.risk-quota-ban {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(228, 30, 63, 0.14);
  border: 1px solid rgba(228, 30, 63, 0.35);
  color: #fff;
}
.risk-quota-ban strong {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #ffd0d8;
}
.risk-quota-ban span {
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
  opacity: 0.92;
}
.risk-quota-ban.is-news {
  background: rgba(255, 180, 60, 0.18);
  border-color: rgba(255, 200, 100, 0.45);
}
.risk-quota-ban.is-news strong {
  color: #ffe2a8;
}
.pend-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.pend-card { width: 100%; text-align: left; padding: 10px; }
.pend-tp-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}
.pend-tp-strip span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(0, 83, 166, 0.06);
}
.pend-tp-strip em {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #5a6b80;
}
.pend-tp-strip b {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: #0a1630;
}
.pend-tp-strip span:last-child {
  background: #e8f8ee;
}
.pend-tp-strip span:last-child em { color: #15803d; }
.pend-tp-strip span:last-child b { color: #15803d; }
.note-card { min-height: 100%; }
.note-card pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 600;
}
.an-board {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.an-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  background: #fff;
}
.an-hero.is-long { box-shadow: inset 3px 0 0 var(--long, #dc2626); }
.an-hero.is-short { box-shadow: inset 3px 0 0 var(--short, #16a34a); }
.an-hero.is-hold { box-shadow: inset 3px 0 0 #94a3b8; }
.an-kicker {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  opacity: .45;
}
.an-hero h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
}
.an-badge {
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
}
.an-badge.is-long { background: color-mix(in srgb, var(--long, #dc2626) 14%, #fff); color: var(--long, #dc2626); }
.an-badge.is-short { background: color-mix(in srgb, var(--short, #16a34a) 14%, #fff); color: var(--short, #16a34a); }
.an-badge.is-hold { background: #f1f5f9; color: #64748b; }
.an-plain {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px 16px 14px 18px;
  border-radius: 18px;
  background: #fff;
  color: #1c2430;
  border: 1px solid #e6ebf2;
  border-left: 4px solid #64748b;
}
.an-plain.is-long { border-left-color: #dc2626; }
.an-plain.is-short { border-left-color: #16a34a; }
.an-plain.is-hold { border-left-color: #64748b; }
.an-plain-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #5c6778;
}
.an-plain-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1c2430;
}
.an-plain-line {
  margin: 0;
  max-width: 36em;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  color: #3d4756;
}
.an-more {
  min-height: 44px;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c2410c;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: transform 160ms ease, color 160ms ease;
}
.an-more:hover { color: #9a3412; }
.an-more:active { transform: translateY(1px); }
.an-more:focus-visible { outline: 2px solid #f97316; outline-offset: 3px; }
.an-detail {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 200ms ease, opacity 160ms ease;
}
.an-detail.is-open { grid-template-rows: 1fr; opacity: 1; }
.an-detail-in {
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (prefers-reduced-motion: reduce) {
  .an-detail, .an-more { transition: none; }
}
.an-card {
  padding: 14px;
  border-radius: 14px;
  background: #e4eef8;
  color: #0a1630;
}
.an-sec-lab {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0053a6;
}
.an-sec-hint {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  color: #5c6778;
}
.an-rows {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.an-rows li {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
}
.an-rows p,
.an-risk p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
  color: #1c2430;
}
.an-risk {
  padding: 14px;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px solid #fdba74;
}
.an-risk .an-sec-lab { color: #c2410c; }
.an-summary {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 600;
  white-space: pre-wrap;
  word-break: break-word;
}
.an-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: none;
}
.an-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}
.an-step-n {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  background: #0053a6;
  color: #fff;
}
.an-steps p {
  margin: 0;
  padding-top: 4px;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
  color: #1c2430;
}
.an-num, .an-tf, .an-ind, .an-sym {
  font-style: normal;
  font-weight: 800;
}
.an-num { color: #0053a6; }
.an-tf {
  display: inline-block;
  padding: 0 5px;
  border-radius: 5px;
  background: rgba(0, 83, 166, .1);
  color: #0053a6;
  font-size: 12px;
}
.an-ind { color: #c05612; }
.an-sym { color: #0a1630; border-bottom: 1px dashed rgba(0, 83, 166, .35); }
.an-foot {
  margin: 2px 2px 0;
  font-size: 11px;
  font-weight: 600;
  opacity: .7;
  text-align: center;
}
.alert-mask { z-index: 80; }
.disc-mask { z-index: 85; }
.disc-panel {
  width: min(94vw, 420px);
  max-height: min(88vh, 640px);
  text-align: left;
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
}
.disc-ico {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  background: #fff4e5;
  color: #c2410c;
  flex-shrink: 0;
}
.disc-panel .alert-title {
  text-align: center;
  margin-bottom: 6px;
  flex-shrink: 0;
}
.disc-lead {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
  color: #5c7088;
  text-align: center;
  flex-shrink: 0;
}
.disc-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 4px;
  margin-bottom: 14px;
  border-top: 1px solid #e6eef7;
  border-bottom: 1px solid #e6eef7;
}
.disc-sec {
  padding: 12px 2px;
  border-bottom: 1px dashed #e2ebf5;
}
.disc-sec:last-child { border-bottom: 0; }
.disc-sec h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 900;
  color: #0a1630;
}
.disc-sec p {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.65;
  color: #3d4f63;
  font-weight: 500;
}
.disc-sec p:last-child { margin-bottom: 0; }
.disc-ok {
  width: 100%;
  flex-shrink: 0;
  min-height: 44px;
}
.alert-panel {
  width: min(92vw, 360px);
  max-height: 85vh;
  margin: auto;
  padding: 22px 18px 16px;
  border-radius: 16px;
  background: #fff;
  color: #0a1630;
  text-align: center;
  box-shadow: 0 20px 48px rgba(0, 30, 70, .28);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.alert-panel.is-risk {
  border-top: 3px solid #e41e3f;
}
.alert-panel.is-news {
  border-top-color: #d97706;
}
.alert-panel.is-bind {
  border-top: 3px solid #0053a6;
}
.alert-ico {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  background: #ffe8e8;
  color: #e41e3f;
}
.alert-ico.is-risk {
  background: linear-gradient(160deg, #ffe8e8 0%, #ffd4dc 100%);
  color: #c41230;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.alert-ico.is-news {
  background: linear-gradient(160deg, #fff4e0 0%, #ffe8c2 100%);
  color: #b45309;
}
.alert-ico.is-bind {
  background: linear-gradient(160deg, #e8f1fb 0%, #d6e6f6 100%);
  color: #0053a6;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.alert-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
  color: #0053a6;
}
.alert-panel.is-risk .alert-title { color: #c41230; }
.alert-panel.is-news .alert-title { color: #b45309; }
.alert-panel.is-bind .alert-title { color: #0053a6; }
.alert-msg {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 650;
  color: #0a1630;
}
.alert-detail {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f3f7fc;
  color: #54607a;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
  word-break: break-word;
  text-align: left;
}
.alert-panel.is-risk .alert-detail {
  background: #fff5f6;
  color: #6b3a44;
}
.unbind-sheet {
  width: min(92vw, 360px);
  max-height: 85vh;
  margin: auto;
  padding: 20px 18px 16px;
  border-radius: 20px;
  background: #f4f7fb;
  color: #0a1630;
  text-align: left;
  box-shadow: 0 24px 56px rgba(10, 22, 48, .28);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.unbind-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.unbind-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fdecef;
  color: #c41230;
}
.unbind-mark svg { display: block; }
.unbind-head h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #0a1630;
}
.unbind-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
  color: #54607a;
}
.unbind-id {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(10, 22, 48, .08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.unbind-id div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.unbind-id dt {
  font-size: 12px;
  font-weight: 700;
  color: #7a8699;
}
.unbind-id dd {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #0a1630;
  word-break: break-all;
  text-align: right;
}
.unbind-acts {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.unbind-acts .btn {
  flex: 1;
  min-height: 44px;
}
.unbind-acts .btn:focus-visible {
  outline: 2px solid #0053a6;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: no-preference) {
  .unbind-acts .btn.danger:active,
  .unbind-acts .btn.ghost:active {
    transform: translateY(1px);
  }
}
.alert-panel.is-news .alert-detail {
  background: #fff8eb;
  color: #7a4e12;
}
.alert-meter {
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
}
.alert-meter-track {
  height: 8px;
  border-radius: 99px;
  background: #f0e4e6;
  overflow: hidden;
}
.alert-meter-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e41e3f, #c41230);
}
.alert-meter-lab {
  font-size: 12px;
  font-weight: 800;
  color: #c41230;
  letter-spacing: 0.02em;
}
.alert-ok { width: 100%; margin-top: 16px; }
.huge { font-size: 28px; line-height: 1; }
h3 { margin: 0 0 8px; font-size: 16px; }

.qo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}
.qo-title { margin: 0; font-size: 17px; font-weight: 900; color: var(--neon); }
.qo-close {
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 26px;
  line-height: 1;
  opacity: .55;
  border-radius: 10px;
}
.qo-close:hover { opacity: 1; background: color-mix(in srgb, currentColor 8%, transparent); }
.qo-dir {
  margin: 12px 14px 0;
  padding: 10px 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .06em;
}
.qo-dir--buy {
  color: var(--long);
  background: color-mix(in srgb, var(--long) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--long) 40%, transparent);
}
.qo-dir--sell {
  color: var(--short);
  background: color-mix(in srgb, var(--short) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--short) 40%, transparent);
}
.qo-dir--limit-buy {
  color: var(--neon);
  background: color-mix(in srgb, var(--neon) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--neon) 40%, transparent);
}
.qo-dir--limit-sell {
  color: var(--short);
  background: color-mix(in srgb, var(--short) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--short) 38%, transparent);
}
.qo-reason {
  margin: 8px 14px 0;
  padding: 9px 11px;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
  opacity: .72;
  background: color-mix(in srgb, currentColor 6%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}
.qo-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding-bottom: 4px;
}
.qo-head,
.qo-dir,
.qo-reason,
.qo-foot {
  flex-shrink: 0;
}
.qo-card {
  margin: 12px 14px 0;
  padding: 2px 0 6px;
  background: color-mix(in srgb, currentColor 6%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}
.qo-kv {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 8px 10px;
  padding: 9px 12px;
  border-bottom: 1px solid color-mix(in srgb, currentColor 8%, transparent);
  font-size: 13px;
}
.qo-kv:last-child { border-bottom: 0; }
.qo-kv--block { align-items: start; }
.qo-k { font-weight: 700; opacity: .5; }
.qo-v { font-weight: 800; text-align: right; justify-self: end; font-variant-numeric: tabular-nums; }
.qo-v--sym { color: var(--neon); font-size: 15px; }
.qo-v--ref { font-size: 11px; font-weight: 700; opacity: .7; line-height: 1.4; }
.qo-sub { font-size: 11px; font-weight: 700; opacity: .5; margin-left: 4px; }
.qo-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  justify-self: end;
}
.qo-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
}
.qo-money {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
  opacity: .8;
}
.qo-money strong { font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; opacity: 1; }
.qo-money--sl {
  background: color-mix(in srgb, var(--short) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--short) 28%, transparent);
}
.qo-money--sl strong { color: var(--short); }
.qo-money--tp {
  background: color-mix(in srgb, var(--long) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--long) 28%, transparent);
}
.qo-money--tp strong { color: var(--long); }
.qo-money-unit { font-size: 10px; opacity: .55; }
.qo-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-self: end;
}
.qo-step-btn {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  border: 2px solid currentColor;
  font-size: 18px;
  font-weight: 800;
  opacity: .8;
}
.qo-step-btn:hover { opacity: 1; background: color-mix(in srgb, var(--neon) 16%, transparent); }
.qo-vol-input {
  width: 76px;
  flex: 0 0 76px;
  padding: 8px 6px;
  text-align: center;
  border-radius: 10px;
  border: 2px solid var(--neon);
  font-size: 15px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  background: color-mix(in srgb, currentColor 6%, transparent);
}
.qo-formula {
  margin: 10px 16px 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--neon);
  opacity: .7;
  line-height: 1.45;
}
.qo-disclaimer {
  margin: 8px 16px 0;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 600;
  opacity: .55;
}
.qo-foot {
  display: flex;
  gap: 8px;
  padding: 12px 14px 14px;
  margin-top: 0;
  border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent);
  background: #fff;
  position: relative;
  z-index: 2;
}
.qo-foot .btn { flex: 1; min-height: 44px; }

.os-mask { z-index: 18; }
.os-board {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 86px 16px 24px;
  overflow: auto;
}
.os-x {
  position: absolute;
  top: 72px;
  right: 12px;
  z-index: 2;
  min-width: 44px;
  min-height: 44px;
  font-size: 18px;
  line-height: 1;
}
.os-hero {
  text-align: center;
  padding: 8px 8px 20px;
  overflow: visible;
}
.os-check {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--long) 18%, transparent);
  color: var(--long);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}
.os-hero h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}
.os-lead {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}
.os-ticket {
  position: relative;
  width: min(100%, 280px);
  margin: 22px auto 8px;
  padding: 16px 16px 14px;
  text-align: left;
  color: #3d2f18;
  background: #fffdf6;
  border: 1px dashed #c9b896;
  box-shadow: none;
}
.os-ticket::before,
.os-ticket::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  pointer-events: none;
  background: radial-gradient(circle at 8px 0, transparent 6px, #fffdf6 7px) 0 0 / 16px 8px;
}
.os-ticket::before { top: -8px; transform: rotate(180deg); }
.os-ticket::after { bottom: -8px; }
.os-ticket-k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #8a734a;
}
.os-ticket-mid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-top: 8px;
}
.os-ticket-mid b {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  color: #2a2114;
}
.os-ticket-mid em {
  font-size: 26px;
  font-style: normal;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  color: #2a2114;
  font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
.os-ticket-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #d4c4a0;
  font-size: 12px;
  font-weight: 700;
  color: #6b5a3a;
  line-height: 1.4;
}
.os-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.os-choice {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  padding: 16px 16px 16px 14px;
  text-align: left;
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  background: color-mix(in srgb, currentColor 5%, transparent);
}
.os-choice-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: color-mix(in srgb, currentColor 8%, transparent);
}
.os-choice-ico svg { width: 22px; height: 22px; display: block; }
.os-choice-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}
.os-choice b {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}
.os-choice em {
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  opacity: 0.55;
  line-height: 1.35;
}
.os-choice-go {
  font-size: 18px;
  font-weight: 700;
  opacity: 0.35;
  padding-right: 2px;
}
.os-choice.is-primary {
  background: var(--neon, #2474e8);
  border-color: var(--neon, #2474e8);
  color: #fff;
}
.os-choice.is-primary .os-choice-ico {
  background: rgba(255, 255, 255, 0.16);
}
.os-choice.is-primary em,
.os-choice.is-primary .os-choice-go { opacity: 0.78; }
.os-choice.is-share {
  background: color-mix(in srgb, #f5d000 22%, #fff);
  border-color: color-mix(in srgb, #c9a227 42%, transparent);
}
.os-choice.is-share .os-choice-ico {
  background: #f5d000;
  color: #0a1630;
}
.os-choice:disabled {
  opacity: 0.5;
  pointer-events: none;
}
.os-choice:active { opacity: 0.86; transform: translateY(1px); }

.os-share { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.hist-share-body { padding: 14px 16px 16px; }
.os-share-lab { font-size: 13px; font-weight: 800; }
.os-share-note { min-height: 96px; margin: 0; }
.os-share-preview {
  padding: 10px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, currentColor 5%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}
.os-share-preview b { display: block; font-size: 12px; margin-bottom: 6px; }
.os-share-preview p {
  margin: 0;
  white-space: pre-line;
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.78;
}
.os-share-actions { display: flex; gap: 10px; }
.os-share-actions .btn { flex: 1; min-height: 44px; }

.cal-week {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.cal-week .cal-wd { padding: 6px 2px 5px; }
.cal-week::-webkit-scrollbar { display: none; }
.cal-wd {
  flex: 1;
  min-width: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 6px 2px 5px;
  font-weight: 800;
  line-height: 1.1;
}
.cal-wd span { font-size: 10px; opacity: .6; }
.cal-wd b { font-size: 15px; }
.cal-wd em { font-size: 9px; font-style: normal; opacity: .45; min-height: 11px; }
.cal-wd.is-today {
  box-shadow: inset 0 0 0 2px var(--neon);
}
.cal-wd.is-on span,
.cal-wd.is-on b { opacity: 1; }
.cal-imp { margin-top: -4px; gap: 6px; }
.cal-imp .chip {
  font-size: calc(1em - 6px);
  padding: 5px 9px;
  border-radius: 14px;
  line-height: 1.2;
}
/* 三个冲击筛选选中时同一套橙色，避免海军蓝页底上看不出选中 */
.cal-imp .chip.is-on {
  color: #fff;
  background: linear-gradient(105deg, #ea580c, #c2410c);
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(194, 65, 12, .28);
}
.cal-imp .cal-imp-high {
  border: 1px solid color-mix(in srgb, #ea580c 35%, transparent);
  color: #c2410c;
  background: #fff7ed;
  font-weight: 800;
}
.cal-imp .cal-imp-high.is-on {
  color: #fff;
  background: linear-gradient(105deg, #ea580c, #c2410c);
  border-color: transparent;
  box-shadow: 0 6px 14px rgba(194, 65, 12, .28);
}
.cal-status { margin: -2px 0 0; }
.cal-day { display: flex; flex-direction: column; gap: 8px; }
.cal-day-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 2px 0;
}
.cal-day-head > div { display: flex; align-items: baseline; gap: 8px; }
.cal-day-head b { font-size: 15px; }
.cal-day-head span { font-size: 12px; font-weight: 800; opacity: .55; }
.cal-day-head small { margin-left: auto; font-size: 11px; font-weight: 800; opacity: .45; }
.cal-today-tag {
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  padding: 1px 7px;
  color: var(--neon);
  background: color-mix(in srgb, var(--neon) 18%, transparent);
}
.cal-day.is-today .cal-day-head b { color: var(--neon); }
.cal-day.is-today {
  padding: 8px 8px 10px;
  background: color-mix(in srgb, var(--neon) 10%, transparent);
  outline: 2px solid color-mix(in srgb, var(--neon) 55%, transparent);
}
.cal-item {
  --cal-ember: #c2410c;
  --cal-blaze: #ea580c;
  --cal-gold: #f59e0b;
  --cal-paper: #fff7ed;
  --cal-ink: #7c2d12;
  position: relative;
  display: grid;
  grid-template-columns: 46px 30px 1fr;
  gap: 10px;
  align-items: start;
  text-align: left;
  width: 100%;
  overflow: visible;
  /* 非高冲击统一实心白底，避免蓝渐变/透明度透出深蓝页底造成「忽明忽暗」 */
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .06);
  border-left: 3px solid #cbd5e1;
  box-shadow: 0 8px 24px rgba(0, 30, 70, .14);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cal-item[data-imp="1"] {
  border-left-color: #94a3b8;
}
.cal-item[data-imp="2"] {
  border-left-color: #2563eb;
}
.cal-item[data-imp="3"] {
  border-left-color: #f59e0b;
}
.cal-item[data-imp="4"],
.cal-item[data-imp="5"],
.cal-item.is-high {
  border-left-width: 4px;
  border-left-color: var(--cal-blaze);
  border-color: color-mix(in srgb, var(--cal-gold) 55%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--cal-gold) 22%, #fff) 0%, #fff 38%),
    linear-gradient(90deg, var(--cal-paper) 0%, #fff 58%);
  box-shadow:
    0 10px 28px rgba(194, 65, 12, .14),
    inset 0 1px 0 rgba(255, 255, 255, .7);
}
.cal-item.is-high::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 64px;
  background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--cal-gold) 45%, transparent), transparent 68%);
  pointer-events: none;
}
.cal-item.is-high:not(.is-past) {
  animation: cal-high-glow 2.8s ease-in-out infinite;
}
@keyframes cal-high-glow {
  0%, 100% { box-shadow: 0 10px 28px rgba(194, 65, 12, .14), inset 0 1px 0 rgba(255, 255, 255, .7); }
  50% { box-shadow: 0 12px 32px rgba(234, 88, 12, .26), inset 0 1px 0 rgba(255, 255, 255, .85); }
}
@media (prefers-reduced-motion: reduce) {
  .cal-item.is-high:not(.is-past) { animation: none; }
}
/* 已过期：压暗整卡，降低对比，突出后续即将发布项 */
.cal-item.is-past {
  opacity: 1;
  filter: none;
  background: #eef1f6 !important;
  border-color: #d8dee8;
  box-shadow: none;
}
.cal-item.is-past::before {
  opacity: .28;
}
.cal-item.is-past time,
.cal-item.is-past .cal-country,
.cal-item.is-past .cal-title,
.cal-item.is-past .cal-vals,
.cal-item.is-past .cal-cc,
.cal-item.is-past .cal-impact-tag,
.cal-item.is-past .cal-ban-tag {
  opacity: .48;
  color: #6b7280 !important;
}
.cal-item.is-past .cal-stars {
  opacity: .35;
}
.cal-item.is-past.is-high {
  animation: none;
  background: #eef1f6 !important;
}
.cal-item.is-next:not(.is-past) {
  box-shadow: 0 0 0 2px rgba(36, 116, 232, 0.28), 0 8px 18px -12px rgba(15, 40, 80, 0.35);
}
.cal-next-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #1d4ed8;
  background: #dbeafe;
}
.cal-item.is-core:not(.is-high) {
  /* 与中低冲击同白底，仅左边条提示核心 */
  background: #fff;
  border-left-color: #f59e0b;
}
.cal-item.is-core.is-high {
  outline: none;
}
.cal-item.is-ban-now {
  outline: 2px solid #dc2626;
  outline-offset: 0;
}
.cal-item time {
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 800;
  opacity: .55;
  padding-top: 3px;
  letter-spacing: .02em;
}
.cal-item.is-high time {
  color: var(--cal-ember);
  opacity: 1;
  font-size: 13px;
  font-weight: 900;
}
.cal-cc {
  width: 30px;
  height: 20px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .02em;
  border-radius: 3px;
}
.cal-item.is-high .cal-cc {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--cal-gold) 55%, transparent);
}
.cal-cc.usd { background: #3c3b6e; color: #fff; }
.cal-cc.eur { background: #003399; color: #ffcc00; }
.cal-cc.jpy { background: #fff; color: #bc002d; border: 1px solid #e2e8f0; }
.cal-cc.cny { background: #de2910; color: #ffde00; }
.cal-cc.gbp { background: #012169; color: #fff; }
.cal-cc.aud { background: #00247d; color: #fff; }
.cal-cc.cad { background: #d80621; color: #fff; }
.cal-cc.chf { background: #da291c; color: #fff; }
.cal-cc.nzd { background: #00247d; color: #fff; }
.cal-main { min-width: 0; position: relative; z-index: 1; }
.cal-row1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.cal-country {
  font-size: 12px;
  font-weight: 800;
  color: #334155;
}
.cal-item.is-high .cal-country {
  color: var(--cal-ink);
}
.cal-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 14px;
}
.cal-stars i {
  width: 7px;
  height: 7px;
  border-radius: 1.5px;
  background: #cbd5e1;
  transform: rotate(45deg);
  display: block;
}
.cal-stars.imp-1 i.is-on { background: #94a3b8; }
.cal-stars.imp-2 i.is-on { background: #2563eb; }
.cal-stars.imp-3 i.is-on { background: #f59e0b; }
.cal-stars.imp-4 i.is-on,
.cal-stars.imp-5 i.is-on,
.cal-item.is-high .cal-stars i.is-on {
  background: linear-gradient(145deg, var(--cal-gold), var(--cal-blaze));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--cal-ember) 25%, transparent);
}
.cal-item[data-imp="5"] .cal-impact-tag {
  background: linear-gradient(105deg, #b45309, #7c2d12);
}
.cal-impact-tag,
.cal-ban-tag {
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  padding: 2px 7px;
  border-radius: 999px;
  line-height: 1.2;
}
.cal-impact-tag {
  color: #fff;
  background: linear-gradient(105deg, var(--cal-blaze), var(--cal-ember));
  box-shadow: 0 4px 10px rgba(194, 65, 12, .28);
}
.cal-ban-tag {
  color: #fff;
  background: #dc2626;
}
.cal-title {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
}
.cal-item.is-high .cal-title {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.01em;
  color: #1c1917;
}
.cal-vals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}
.cal-item.is-high .cal-vals {
  padding: 6px 8px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--cal-gold) 12%, #fff);
  color: #9a3412;
}
.cal-vals .cal-act { color: inherit; }
.cal-vals .cal-act b {
  color: #c2410c;
  font-weight: 900;
}
.cal-item.is-high .cal-vals .cal-act b {
  color: var(--cal-ember);
}

/* 财经日历 · 分享图按钮（本周 / 今日） */
.cal-share-btn {
  font-weight: 800;
  color: #fff;
  background: linear-gradient(105deg, #2563eb, #1d4ed8);
  border: 1px solid transparent;
  box-shadow: 0 6px 14px rgba(37, 99, 235, .26);
}
.cal-share-btn:active {
  transform: translateY(1px);
}

/* 财经日历 · 单条事件分享小图标（右上角，纯箭头无框，同发现/课堂列表） */
.cal-share-ico {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #000;
  box-shadow: none;
  cursor: pointer;
  z-index: 5;
  transition: color .18s ease, transform .12s ease, opacity .18s ease;
}
.cal-share-ico:hover {
  color: #000;
  opacity: .6;
}
.cal-share-ico:active {
  transform: scale(.92);
}
.cal-share-ico svg {
  width: 16px;
  height: 16px;
  display: block;
}
.cal-item.is-past .cal-share-ico {
  color: #000;
  opacity: .45;
}
.cal-item.is-past .cal-share-ico:hover {
  opacity: .3;
}

.card.cs-stage,
.cs-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 14px 16px;
  gap: 0;
  background: #d5e3f4;
  color: #102033;
  border-radius: 22px;
  box-shadow: none;
}

.card.cs-stage .hint,
.cs-stage .hint {
  margin: 16px 0 0;
  color: #3d5270;
  text-align: center;
  font-size: 13px;
}

.cs-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 14px;
  width: 100%;
}

button.cs-item {
  appearance: none;
  -webkit-appearance: none;
  width: 148px;
  border: 0;
  background: transparent;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
}

button.cs-item:active .cs-avatar { transform: scale(0.96); }

.cs-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #f4f8fc;
  border: 2px solid #7e8894;
  box-shadow: 0 0 0 4px #c5ced6;
}

.cs-avatar.cs-wecom,
.cs-avatar.cs-feishu,
.cs-avatar.cs-lark,
.cs-avatar.cs-telegram,
.cs-avatar.cs-whatsapp {
  background: #f4f8fc;
  border: 2px solid #7e8894;
  box-shadow: 0 0 0 4px #c5ced6;
}

.cs-avatar svg {
  width: 58px;
  height: 58px;
  display: block;
}

.cs-name {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  color: #102033;
}

.cs-ch {
  font-size: 13px;
  font-weight: 700;
  color: #3d5270;
}

.subtabs.quad .subtab {
  font-size: 11px;
}

.class-cats {
  gap: 6px;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
}
.class-cats .subtab {
  flex: 0 0 auto;
  padding: 7px 12px;
  font-size: 12px;
}
.class-cats.is-sub { margin-top: -6px; }
.class-cat-vip {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 0 6px;
  min-height: 18px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  vertical-align: 1px;
}
.subtab.is-on .class-cat-vip,
.circle-dd-item.is-on .class-cat-vip {
  background: color-mix(in srgb, currentColor 14%, transparent);
  color: inherit;
}
.circle-dd-item .class-cat-vip {
  vertical-align: 0;
}

.mp-hero {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  text-align: left;
  margin-bottom: 4px;
}
.mp-hero .mp-cover {
  display: block;
  width: 100%;
  height: 168px;
  border-radius: 0;
}
.mp-hero-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(10, 16, 32, .82));
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.mp-list { gap: 8px; }
.mp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px;
}
.mp-hit,
.mp-cover-hit {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.mp-hit { display: block; width: 100%; }
.mp-cover-hit { flex-shrink: 0; }
.mp-meta-line {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 6px;
  min-width: 0;
}
.mp-meta-line .mp-meta {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mp-share {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  display: inline-grid;
  place-items: center;
  opacity: .72;
  cursor: pointer;
}
.mp-share:active { opacity: 1; }
.mp-save {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 28px;
  padding: 0 4px 0 2px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}
.mp-save svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}
.mp-save.is-on { color: #0053a6; }
.mp-save.is-on svg { fill: currentColor; }
.mp-save.is-hero {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #334155;
  box-shadow: 0 2px 8px rgba(10, 22, 48, .16);
}
.mp-save.is-hero.is-on { color: #0053a6; }
.mp-share.is-chrome {
  width: 32px;
  height: 32px;
  opacity: .9;
}
.mp-copy {
  flex: 1;
  min-width: 0;
}
.mp-copy h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mp-copy p {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.45;
  opacity: .62;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mp-meta {
  font-size: 11px;
  opacity: .45;
}

.mp-item .mp-cover {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.mp-cover {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
}
/* AI 分析按钮就绪等待态：呼吸点提示后端准备中 */
.btn.mega.is-waiting {
  opacity: .55;
  cursor: default;
}
.ai-ready-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 2px 0;
  font-size: 12px;
  opacity: .7;
}
.ai-ready-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: ai-ready-pulse 1.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes ai-ready-pulse {
  0%, 100% { opacity: .25; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.15); }
}
/* 自定义封面图（管理台上传）：铺满封面块，标签与播放角标浮在图上 */
.mp-cover--img { background: #0d1522; }
.mp-cover--img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mp-cover--img i {
  position: absolute;
  z-index: 2;
  left: 6px;
  bottom: 6px;
  background: rgba(0,0,0,.55);
}
.mp-cover--img .mp-play { z-index: 2; }
.mp-cover i {
  position: relative;
  z-index: 1;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 3px 7px;
  border-radius: 99px;
  background: rgba(0,0,0,.28);
}
.mp-cover::before,
.mp-cover::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}
.mp-cover--gold {
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), transparent 42%),
    linear-gradient(160deg, #1e67b2 0%, #2b64e3 48%, #f5d000 100%);
}
.mp-cover--gold::after {
  width: 90px; height: 90px; right: -18px; bottom: -24px;
  border: 8px solid rgba(255,255,255,.22);
  border-radius: 50%;
}
.mp-cover--start {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 8px, transparent 8px 16px),
    linear-gradient(145deg, #f5d000, #f36b1c);
  color: #1a1400;
}
.mp-cover--start i { background: rgba(255,255,255,.45); color: #1a1400; }
.mp-cover--risk {
  background: linear-gradient(145deg, #7a1024, #e41e3f 58%, #f36b1c);
}
.mp-cover--risk::before {
  width: 70px; height: 3px; left: 10px; top: 22px;
  background: rgba(255,255,255,.35);
  box-shadow: 0 10px 0 rgba(255,255,255,.22), 0 20px 0 rgba(255,255,255,.14);
}
.mp-cover--ai {
  background: linear-gradient(145deg, #163a8a, #2b64e3 60%, #6ea0ff);
}
.mp-cover--ai::after {
  width: 46px; height: 46px; right: 8px; bottom: 8px;
  border-radius: 50%;
  border: 3px dashed rgba(255,255,255,.35);
}
.mp-cover--news {
  background: linear-gradient(145deg, #c05612, #f36b1c 55%, #f5d000);
}
.mp-cover--news::before {
  inset: 10px 12px auto auto;
  width: 18px; height: 22px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 2px;
}
.mp-cover--review {
  background: linear-gradient(145deg, #14632c, #31a24c 62%, #8be0a4);
}
.mp-cover--review::after {
  left: 12px; bottom: 12px; width: 40px; height: 22px;
  border-bottom: 3px solid rgba(255,255,255,.45);
  border-left: 3px solid rgba(255,255,255,.45);
}

.article-board {
  padding: 0 !important;
  overflow: visible;
  gap: 0;
  display: flex;
  flex-direction: column;
  height: auto;
  max-height: none;
}
.ar-chrome {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 12px;
}
.ar-back {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 36px;
  padding: 0 10px 0 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.ar-back svg { display: block; }
.ar-chrome-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  color: rgba(255,255,255,.88);
}
.ar-chrome-brand .brand-mark {
  width: 22px;
  height: auto;
  flex-shrink: 0;
}
.ar-close { margin-left: auto; }
.ar-paper {
  flex: none;
  min-height: auto;
  overflow: visible;
  background: #f4f7fb;
  border-radius: 18px 18px 0 0;
  padding: 0 0 28px;
  color: #0a1630;
}
.ar-media {
  margin: 14px 14px 0;
  border-radius: 14px;
  overflow: hidden;
}
.ar-media .article-video { margin: 0; }
.ar-hero {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 0 0 0 0;
}
.ar-hero .mp-cover {
  display: block;
  height: 168px;
  border-radius: 0;
  width: 100%;
}
.ar-hero .mp-cover i { display: none; }
.ar-hero-fade {
  position: absolute;
  inset: auto 0 0;
  height: 72px;
  background: linear-gradient(180deg, transparent, rgba(10,22,48,.55));
  pointer-events: none;
}
.ar-hero-meta {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 1;
}
.ar-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  background: rgba(255,255,255,.92);
  color: #0053a6;
}
.ar-chip.is-mute {
  background: rgba(255,255,255,.22);
  color: #fff;
  backdrop-filter: blur(6px);
}
.ar-head {
  padding: 16px 16px 4px;
}
.ar-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -.01em;
  color: #0a1630;
}
.ar-lead {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border-left: 3px solid #0053a6;
  background: #fff;
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 1px 0 rgba(10,22,48,.04);
}
.ar-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
}
.ar-author {
  color: #0053a6;
  font-weight: 800;
}
.ar-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #cbd5e1;
}
.ar-save {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}
.ar-save svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}
.ar-save.is-on { color: #0053a6; }
.ar-save.is-on svg { fill: currentColor; }
.ar-share-byline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #64748b;
  cursor: pointer;
}
.ar-share-byline svg {
  display: block;
  width: 15px;
  height: 15px;
}
.ar-share-byline:active { color: #0053a6; }
.ar-body {
  padding: 12px 16px 8px;
}
.ar-body-lab {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #94a3b8;
}
.ar-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ar-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px 14px 14px 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(10,22,48,.04);
  animation: ar-in .35s ease both;
}
.ar-step:nth-child(2) { animation-delay: .05s; }
.ar-step:nth-child(3) { animation-delay: .1s; }
.ar-step:nth-child(4) { animation-delay: .15s; }
.ar-step:nth-child(5) { animation-delay: .2s; }
@keyframes ar-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ar-step { animation: none; }
}
.ar-step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  border-radius: 8px;
  background: #e4eef8;
  color: #0053a6;
  font-size: 12px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.ar-step p {
  margin: 2px 0 0;
  font-size: 14.5px;
  line-height: 1.7;
  font-weight: 500;
  color: #1e293b;
}
.ar-rich {
  padding: 4px 2px 12px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #1e293b;
  font-weight: 500;
}
.ar-rich p { margin: 0 0 0.85em; }
.ar-rich h1, .ar-rich h2, .ar-rich h3, .ar-rich h4, .ar-rich h5 {
  margin: 1.1em 0 0.5em;
  line-height: 1.35;
  color: #0f172a;
  font-weight: 800;
}
.ar-rich h1 { font-size: 1.35em; }
.ar-rich h2 { font-size: 1.2em; }
.ar-rich h3 { font-size: 1.08em; }
.ar-rich ul, .ar-rich ol {
  margin: 0 0 0.9em;
  padding-left: 1.35em;
}
.ar-rich li + li { margin-top: 0.35em; }
.ar-rich blockquote {
  margin: 0.8em 0;
  padding: 10px 14px;
  border-left: 3px solid #0053a6;
  background: #eef5fc;
  color: #475569;
  border-radius: 0 10px 10px 0;
}
.ar-rich img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 0.6em 0;
  display: block;
}
.ar-rich a { color: #0053a6; text-decoration: underline; }
.ar-rich table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.8em 0;
  font-size: 13px;
}
.ar-rich th, .ar-rich td {
  border: 1px solid #e2e8f0;
  padding: 8px 10px;
  text-align: left;
}
.ar-rich pre, .ar-rich code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
}
.ar-rich pre {
  overflow: auto;
  padding: 12px;
  border-radius: 10px;
  background: #0f172a;
  color: #e2e8f0;
}
.ar-related {
  padding: 8px 16px 8px;
}
.ar-related-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ar-related-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(10,22,48,.04);
  transition: transform .15s ease, background .15s ease;
}
.ar-related-item:active { transform: scale(.99); background: #eef4fa; }
.ar-related-item:focus-visible {
  outline: 2px solid #0053a6;
  outline-offset: 2px;
}
.ar-related-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #0053a6;
}
.ar-related-item b {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  color: #0a1630;
}
.ar-related-item small {
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* legacy article classes kept for safety */
.article-cover {
  margin: 0 0 14px;
  border-radius: 12px;
  overflow: hidden;
}
.article-cover .mp-cover {
  height: 160px;
  border-radius: 12px;
}
.article-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}
.article-meta {
  margin: 0 0 16px;
  font-size: 12px;
  opacity: .5;
}
.article-body p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
}

.article-video {
  margin: 0 0 16px;
  border-radius: 12px;
  overflow: hidden;
  background: #0a1020;
  aspect-ratio: 16 / 9;
}
.article-video video,
.article-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.mp-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: 0;
  border-radius: 50%;
  background: rgba(10, 16, 32, .55);
  box-shadow: 0 0 0 6px rgba(255,255,255,.12);
  transform: translate(-50%, -50%);
}
.mp-play::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
}
.mp-hero .mp-play {
  width: 44px;
  height: 44px;
  box-shadow: 0 0 0 8px rgba(255,255,255,.14);
}
.mp-hero .mp-play::after {
  left: 17px;
  top: 13px;
  border-width: 9px 0 9px 14px;
}

/* 720 CSS 宽（荣耀畅玩等 DPR 异常）也走真机布局，不要卡在 480 */
@media (max-width: 900px) {
  html, body {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
  }
  #app { height: 100%; }
  .stage {
    padding: 0;
    min-height: 100%;
    height: 100%;
    display: grid;
    place-items: stretch;
  }
  .phone,
  .overlay-layer {
    width: 100%;
    height: 100%;
    max-height: 100%;
  }
  .phone {
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .mask.full {
    position: fixed;
    inset: 0;
    width: auto;
    height: auto;
    z-index: 40;
  }
  .back { top: 10px; left: 10px; }
}

/* —— 裂变推广（账户 · 推广）—— */
.promo-page { gap: 12px; }
.promo-tags {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(10, 22, 48, 0.08);
  box-shadow: 0 8px 20px rgba(0, 48, 96, 0.08);
}
.promo-tag {
  min-height: 44px;
  padding: 6px 2px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #0a1630;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}
.promo-tag.is-on {
  background: #0053a6;
  color: #fff;
  font-weight: 800;
}
.promo-tag:focus-visible {
  outline: 2px solid #0053a6;
  outline-offset: 2px;
}
.promo-dash { padding-top: 16px; }
.promo-crown { display: block; width: 100%; height: 100%; }
.promo-id {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 14px 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid #eadfca;
  background:
    radial-gradient(90px 70px at 100% 0%, rgba(198, 161, 91, 0.22), transparent 72%),
    linear-gradient(180deg, #fbf9f4 0%, #f3f6fb 100%);
  color: #0a1630;
}
.promo-id-ornament {
  position: absolute;
  right: -8px;
  top: -12px;
  width: 78px;
  height: 68px;
  color: #c6a15b;
  opacity: 0.16;
  pointer-events: none;
}
.promo-id-ornament.is-mini {
  left: 6px;
  right: auto;
  top: auto;
  bottom: -16px;
  width: 40px;
  height: 34px;
  opacity: 0.12;
}
.promo-id-badge {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #fff;
  color: #b8893a;
  box-shadow: inset 0 0 0 1.5px #e4c98a, 0 0 0 4px rgba(198, 161, 91, 0.14);
}
.promo-id-copy { position: relative; z-index: 1; min-width: 0; }
.promo-id-copy em {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.62;
}
.promo-id-copy strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.promo-id-copy span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.68;
}
.promo-id-seal {
  position: relative;
  z-index: 1;
  margin-left: auto;
  text-align: right;
  color: #a8843d;
}
.promo-id-seal .promo-crown {
  width: 16px;
  height: 14px;
  margin-left: auto;
}
.promo-id-seal b {
  display: block;
  margin-top: 2px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #0a1630;
}
.promo-id.is-prep {
  border-color: #d5dbe3;
  background:
    radial-gradient(90px 70px at 100% 0%, rgba(36, 116, 232, 0.1), transparent 72%),
    linear-gradient(180deg, #f7f8fa 0%, #eef1f5 100%);
}
.promo-id.is-prep .promo-id-ornament { color: #8aa0b8; }
.promo-id.is-prep .promo-id-badge {
  color: #5c6b80;
  box-shadow: inset 0 0 0 1.5px #c5ced8, 0 0 0 4px rgba(10, 22, 48, 0.06);
}
.promo-id.is-prep .promo-id-seal,
.promo-id.is-prep .promo-id-seal b { color: #0a1630; }
.promo-id.is-elite {
  border-color: #d5e4fb;
  background:
    radial-gradient(90px 70px at 100% 0%, rgba(36, 116, 232, 0.16), transparent 72%),
    linear-gradient(180deg, #f5f8ff 0%, #eaf1fb 100%);
}
.promo-id.is-elite .promo-id-ornament { color: #2474e8; }
.promo-id.is-elite .promo-id-badge {
  color: #1456b8;
  box-shadow: inset 0 0 0 1.5px #9ec0f5, 0 0 0 4px rgba(36, 116, 232, 0.12);
}
.promo-id.is-elite .promo-id-seal { color: #2474e8; }
.promo-id.is-premier,
.promo-id.is-ultra { color: #f7f4ea; }
.promo-id.is-premier {
  border-color: #16325f;
  background:
    radial-gradient(90px 70px at 100% 0%, rgba(228, 201, 138, 0.28), transparent 70%),
    #16325f;
}
.promo-id.is-ultra {
  border-color: #10192b;
  background:
    radial-gradient(100px 74px at 100% 0%, rgba(228, 201, 138, 0.34), transparent 70%),
    #10192b;
}
.promo-id.is-premier .promo-id-ornament,
.promo-id.is-ultra .promo-id-ornament { color: #e4c98a; opacity: 0.22; }
.promo-id.is-premier .promo-id-badge,
.promo-id.is-ultra .promo-id-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #e4c98a;
  box-shadow: inset 0 0 0 1.5px rgba(228, 201, 138, 0.7), 0 0 0 4px rgba(228, 201, 138, 0.12);
}
.promo-id.is-premier .promo-id-seal,
.promo-id.is-ultra .promo-id-seal,
.promo-id.is-premier .promo-id-seal b,
.promo-id.is-ultra .promo-id-seal b { color: #e4c98a; }
.promo-up {
  margin: -4px 0 14px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f6f1e6;
  color: #8a6a2f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}
.promo-cap {
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid #e4e8ee;
  background: #fff;
}
.promo-cap-tier {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px 0 8px;
  border-radius: 999px;
  background: #f6f1e6;
  color: #8a6a2f;
}
.promo-cap-tier .promo-crown { width: 14px; height: 12px; }
.promo-cap-tier em {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.promo-cap-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.promo-cap-main span {
  font-size: 15px;
  font-weight: 800;
  color: #0a1630;
}
.promo-cap-main strong {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #0a1630;
}
.promo-hero {
  padding: 4px 2px 14px;
  border-bottom: 1px solid rgba(10, 22, 48, 0.08);
}
.promo-hero span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #3d4d63;
}
.promo-hero strong {
  display: block;
  margin-top: 4px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #0a1630;
}
.promo-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.promo-kpi {
  min-height: 79px;
  padding: 11px 8px;
  border-radius: 12px;
  background: #f4f7fb;
}
.promo-kpi label,
.promo-foot label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: #3d4d63;
}
.promo-kpi b {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  color: #0a1630;
  word-break: break-all;
}
.promo-kpi b.accent { color: #c2410c; }
.promo-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.promo-foot span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 9px 10px;
  border-radius: 12px;
  background: #f4f7fb;
}
.promo-foot b {
  font-size: 14px;
  font-weight: 800;
  color: #0a1630;
}
.promo-rate {
  margin-top: 16px;
}
.promo-extend-link {
  display: block;
  width: 100%;
  margin: 18px 0 2px;
  padding: 6px 4px 2px;
  border: 0;
  background: none;
  color: #0053a6;
  font: inherit;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 6px;
  cursor: pointer;
}
.promo-extend-link:focus-visible {
  outline: 2px solid #0053a6;
  outline-offset: 3px;
}
.promo-extend-mask {
  justify-content: flex-end;
  background: rgba(10, 22, 48, 0.72);
}
.sheet.promo-extend-sheet {
  display: flex;
  flex-direction: column;
  max-height: min(86dvh, 640px);
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #f7f1e4;
  color: #2a2118;
  box-shadow: 0 18px 40px rgba(10, 22, 48, 0.18);
}
.promo-extend-sheet .qo-head {
  flex: 0 0 auto;
  align-items: flex-start;
  border-bottom: 0;
  padding-bottom: 0;
}
.promo-extend-stub {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #6b5b45;
}
.promo-extend-sheet .qo-title {
  color: #2a2118;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.promo-extend-sheet .qo-close { color: #6b5b45; }
.promo-extend-sheet .qo-close:focus-visible {
  outline: 2px solid #8a6a2f;
  outline-offset: 2px;
}
.promo-extend-body {
  overflow: auto;
  padding: 0 0 16px;
}
.promo-extend-face { padding: 4px 16px 8px; }
.promo-extend-face > em {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.promo-extend-days {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 2px;
}
.promo-extend-days b {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: #2a2118;
}
.promo-extend-days em {
  font-style: normal;
  font-size: 18px;
  font-weight: 800;
  color: #2a2118;
}
.promo-extend-lead {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  color: #2a2118;
}
.promo-extend-tear {
  height: 18px;
  margin: 4px 8px 0;
  background:
    radial-gradient(circle at 8px 9px, transparent 7px, #f7f1e4 8px) left center / 16px 18px repeat-x,
    linear-gradient(#c4b49a, #c4b49a) center / 100% 1px no-repeat;
}
.promo-extend-col {
  margin: 0;
  padding: 0 14px 8px;
  text-align: right;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #6b5b45;
}
.promo-extend-rule {
  height: 0;
  margin: 0 14px;
  border-top: 1px dashed #c4b49a;
}
.promo-extend-list {
  list-style: none;
  margin: 0;
  padding: 0 14px;
}
.promo-extend-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 8px 0;
  border-bottom: 1px dashed #c4b49a;
}
.promo-extend-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #b8893a;
  box-shadow: inset 0 0 0 1.5px #e4c98a;
}
.promo-extend-badge .promo-crown { width: 22px; height: 18px; }
.promo-extend-list li.is-elite .promo-extend-badge {
  color: #1456b8;
  box-shadow: inset 0 0 0 1.5px #9ec0f5;
}
.promo-extend-list li.is-ultra .promo-extend-badge {
  background: #f6e7c1;
  color: #9a5b12;
  box-shadow: inset 0 0 0 1.5px #e0b15a;
}
.promo-extend-list span { min-width: 0; }
.promo-extend-list small {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #8a6a2f;
}
.promo-extend-list li.is-elite small { color: #2474e8; }
.promo-extend-list li.is-ultra small { color: #b85c38; }
.promo-extend-list strong,
.promo-extend-list em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.promo-extend-list strong {
  font-size: 15px;
  font-weight: 800;
  color: #2a2118;
}
.promo-extend-list em {
  margin-top: 1px;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #6b5b45;
}
.promo-extend-list i {
  font-style: normal;
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  font-size: 18px;
  font-weight: 700;
  color: #2a2118;
}
.promo-extend-fine {
  margin: 0;
  padding: 10px 16px 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  color: #6b5b45;
}
.promo-rate-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.promo-rate-row input {
  width: 96px;
  min-height: 40px;
}
.promo-rate-row span {
  font-weight: 800;
  color: #0a1630;
}
.promo-withdraw { display: flex; flex-direction: column; gap: 12px; }
.promo-code-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 14px;
  padding: 14px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
  border: 1px solid rgba(10, 22, 48, 0.06);
}
.promo-code-hero strong {
  font-size: 28px;
  letter-spacing: 0.12em;
  color: #0a1630;
  line-height: 1;
}
.promo-code-hero .btn { min-height: 44px; min-width: 96px; }
.promo-invite-qr {
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.promo-invite-qr img {
  width: 220px;
  height: 220px;
  padding: 10px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(10, 22, 48, 0.08);
}
.promo-invite-qr figcaption {
  font-size: 13px;
  font-weight: 700;
  color: #5a6b80;
}
.promo-ref-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.promo-ref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(10, 22, 48, 0.06);
}
.promo-ref-row b {
  font-size: 15px;
  color: #0a1630;
}
.promo-ref-row span {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: #5a6b80;
}
.promo-empty {
  margin: 18px 0 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #5a6b80;
}
.promo-link-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: stretch;
}
.promo-link-box,
.promo-link-input {
  min-height: 44px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(10, 22, 48, 0.14);
  border-radius: 12px;
  background: #ffffff !important;
  color: #0a1630 !important;
  font-size: 12px;
  line-height: 1.45;
  font-family: ui-monospace, "IBM Plex Mono", Consolas, monospace;
  word-break: break-all;
  overflow-wrap: anywhere;
  -webkit-text-fill-color: #0a1630;
  opacity: 1;
}
.promo-link-box {
  display: block;
  resize: none;
  overflow: auto;
  user-select: all;
  -webkit-user-select: all;
}
.promo-copy {
  min-width: 72px;
  min-height: 44px;
  cursor: pointer;
}
.promo-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.promo-stat {
  padding: 12px 12px 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
  border: 1px solid rgba(10, 22, 48, 0.06);
}
.promo-stat label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #5a6b80;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.promo-stat strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #0a1630;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.promo-stat strong.accent { color: #e04116; }
.promo-stat .mono,
.promo-hero .mono,
.promo-kpi .mono,
.promo-foot .mono,
.promo-meta .mono {
  font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
.promo-meta { margin: 10px 0 0; }
.promo-skeleton {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.promo-skeleton i.is-hero {
  grid-column: 1 / -1;
  height: 78px;
}
.promo-skeleton i {
  display: block;
  height: 72px;
  border-radius: 14px;
  background: linear-gradient(90deg, #eef2f7 25%, #f7f9fc 50%, #eef2f7 75%);
  background-size: 200% 100%;
  animation: promo-shimmer 1.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .promo-skeleton i { animation: none; }
}
@keyframes promo-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.promo-qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.promo-qr-slot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  padding: 12px;
  border-radius: 14px;
  border: 1px dashed rgba(10, 22, 48, 0.16);
  background: #fafbfd;
}
.promo-qr-lab {
  font-size: 12px;
  font-weight: 800;
  color: #0a1630;
}
.promo-qr-preview {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(10, 22, 48, 0.08);
}
.promo-qr-empty {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eef3f9;
  color: #5a6b80;
  font-size: 12px;
  font-weight: 700;
}
.promo-upload-btn {
  min-height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
  text-align: center;
}
.promo-page #promo-wallet-chain,
.promo-page #promo-wallet-addr {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(10, 22, 48, 0.14);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  background: #fff;
}
.promo-page #promo-wallet-addr {
  word-break: break-all;
}
.promo-wd-chans {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 10px;
}
.promo-wd-chans .chip {
  min-height: 40px;
  min-width: 88px;
  cursor: pointer;
}
.err-inline {
  margin: 8px 0;
  color: #c62828;
  font-size: 13px;
  font-weight: 700;
}
.promo-wd-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  border-top: 1px solid rgba(10, 22, 48, 0.08);
}
.promo-wd-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(10, 22, 48, 0.06);
  font-size: 13px;
  font-weight: 700;
  color: #0a1630;
}
.promo-wd-st {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef3f9;
  color: #5a6b80;
}
.promo-wd-st.is-pending { background: #fff4e5; color: #b45309; }
.promo-wd-st.is-paid { background: #e6f6f3; color: #0f766e; }
.promo-wd-st.is-rejected { background: #fdecea; color: #c62828; }

.pend-day-hint {
  margin: -4px 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: #5a6b80;
}
.pend-tif {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0a1630;
  background: #e8eef6;
  border: 1px solid rgba(10, 22, 48, 0.08);
  white-space: nowrap;
}

.session-mark.has-img,
.circle-avatar.has-img {
  padding: 0;
  overflow: hidden;
}
.session-mark.has-img img,
.circle-avatar.has-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-row,
.profile-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 14px;
}
.profile-avatar-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
}
.profile-avatar-pick input { display: none; }
.profile-avatar-pick span {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted, #6b7a90);
}
.profile-name { flex: 1; min-width: 0; margin-top: 0; }
.profile-card .field-lab { margin-top: 0; }
.profile-card .session-mark {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  font-size: 24px;
}
.profile-card .profile-bio { margin: 2px 0 6px; }
.profile-card textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 88px;
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  background: color-mix(in srgb, #fff 88%, transparent);
  color: #0a1630;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  resize: none;
}
.profile-card textarea::placeholder { color: #5c6578; font-weight: 600; }
.profile-card textarea:focus-visible {
  outline: 2px solid #0053a6;
  outline-offset: 2px;
}
.profile-bio-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: #54607a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.profile-bio-count { font-variant-numeric: tabular-nums; flex-shrink: 0; }
.profile-card .btn.primary.slim {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
}

.circle-feed {
  padding-bottom: 88px;
  scroll-padding-bottom: 88px;
}
.circle-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 16px;
}
.circle-empty .hint { margin: 0; }
.circle-empty .btn { min-height: 44px; }
.phone > .apk-fab {
  position: absolute;
  right: 12px;
  left: auto;
  bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  z-index: 8;
}
.apk-fab {
  position: absolute;
  right: 12px;
  left: auto;
  bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  z-index: 8;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 4px;
  max-width: calc(100% - 24px);
  pointer-events: none;
}
.apk-fab-card {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 10px;
  min-width: 148px;
  max-width: 200px;
  padding: 10px 12px;
  border-radius: 16px;
  text-decoration: none;
  color: #0a1630;
  background: linear-gradient(145deg, #ffffff 0%, #eef5ff 100%);
  border: 1px solid rgba(0, 83, 166, 0.18);
  box-shadow: 0 10px 28px rgba(0, 40, 90, 0.22);
}
.apk-fab-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #0053a6;
  background: #dff0ff;
}
.apk-fab-copy b {
  display: block;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}
.apk-fab-copy small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 700;
  color: #5c7088;
}
.apk-fab-x {
  pointer-events: auto;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 22, 48, 0.55);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.apk-fab-card:active {
  transform: scale(0.98);
}
.circle-fab {
  position: absolute;
  right: 16px;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  z-index: 8;
  min-width: 48px;
  min-height: 48px;
  padding: 0 16px 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-blue, var(--neon, #0053a6));
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: 0 8px 20px rgba(0, 30, 70, 0.28);
}
.circle-fab:hover {
  filter: brightness(1.06);
}
.circle-fab:active {
  transform: translateY(1px);
}
.circle-fab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.circle-top {
  position: absolute;
  right: 18px;
  bottom: calc(132px + env(safe-area-inset-bottom, 0px));
  z-index: 8;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0053a6;
  border-radius: 50%;
  background: #fff;
  color: #0053a6;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: 0 6px 16px rgba(10, 22, 48, 0.18);
}
.circle-top[hidden] { display: none; }
.circle-top:active { transform: translateY(1px); }
.circle-top:focus-visible {
  outline: 2px solid #f5d000;
  outline-offset: 3px;
}
.mask.full.circle-compose-mask {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  place-items: stretch;
  overflow: hidden;
  padding: 0;
  background: #0a3a73;
}
.circle-compose-board {
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  color: #fff;
  padding: max(8px, env(safe-area-inset-top, 0px)) 14px max(10px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}
.circle-compose-chrome {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 4px 0 10px;
}
.circle-compose-chrome .circle-compose-cancel { justify-self: start; }
.circle-compose-chrome .circle-compose-chrome-end { justify-self: end; }
.circle-compose-chrome-end {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.circle-compose-go {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  color: #0053a6;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}
.circle-compose-go:disabled {
  opacity: .55;
}
.circle-compose-body {
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 8px;
}
.circle-compose-chrome h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}
.circle-compose-cancel {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: none;
}
.circle-compose-cancel:hover,
.circle-compose-cancel:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.circle-compose-cancel .circle-tool-ico {
  width: 18px;
  height: 18px;
}
.circle-head-acts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.circle-mine-dd { position: relative; }
.circle-head-btn,
.circle-bell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 40px;
  min-width: 40px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}
.circle-head-acts .circle-head-btn,
.circle-head-acts .circle-bell {
  height: 31px;
  min-height: 31px;
  min-width: 31px;
  padding: 0 8px;
}
.circle-head-acts .circle-head-btn {
  font-size: 11px;
}
.circle-head-acts .circle-bell {
  width: 31px;
  padding: 0;
}
.circle-head-acts .circle-bell svg {
  width: 16px;
  height: 16px;
}
.circle-head-acts .circle-head-btn svg {
  width: 12px;
  height: 12px;
}
.circle-head-btn.is-open,
.circle-bell.has-n {
  background: #fff;
  color: var(--brand-blue, var(--neon, #0053a6));
}
.circle-bell {
  position: relative;
  padding: 0;
}
.circle-bell.is-chrome {
  justify-self: end;
}
.circle-bell-n {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.circle-mine-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 12;
  min-width: 168px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  color: #0a1630;
  box-shadow: 0 12px 28px rgba(10, 22, 48, 0.18);
  display: flex;
  flex-direction: column;
}
.circle-mine-menu button {
  border: 0;
  background: none;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
}
.circle-mine-menu button:hover,
.circle-mine-menu button:focus-visible {
  background: #e4eef8;
  color: #0053a6;
}
.circle-avatar-btn,
.circle-name-btn {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 50%;
}
.circle-name-btn {
  border-radius: 0;
  display: inline;
}
.circle-name-btn b { display: inline; }
.circle-follow {
  flex-shrink: 0;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  background: color-mix(in srgb, currentColor 8%, transparent);
  color: inherit;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}
.circle-follow.is-on {
  opacity: .72;
}
.circle-follow.is-ask {
  opacity: 1;
  color: #e11d48;
  border-color: rgba(225, 29, 72, 0.35);
  background: rgba(225, 29, 72, 0.08);
}
.circle-avatar.lg { width: 52px; height: 52px; font-size: 20px; }
.circle-profile,
.circle-follow-row,
.circle-notif {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.circle-profile-who,
.circle-notif .circle-post-who { flex: 1; min-width: 0; }
.circle-profile-who b { display: inline; font-size: 18px; }
.spark-mates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.spark-mate {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border-radius: 12px;
}
.spark-mate .circle-avatar { width: 40px; height: 40px; }
.spark-mate-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.spark-mate-name { min-width: 0; }
.spark-mate-name b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.spark-chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #8b93a1;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.spark-chip .spark-ico {
  font-size: 15px;
  line-height: 1;
  filter: grayscale(1);
  opacity: 0.55;
}
.spark-chip b { font-weight: 800; font-variant-numeric: tabular-nums; }
.spark-chip.is-lit { color: #f97316; }
.spark-chip.is-lit .spark-ico { filter: none; opacity: 1; }
.spark-intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  color: #0a1630;
}
.spark-intro-top { display: flex; align-items: center; gap: 12px; }
.spark-intro-mark {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
}
.spark-intro-mark .spark-emoji {
  font-size: 64px;
  filter: drop-shadow(0 8px 10px rgba(255, 90, 0, 0.35));
}
.spark-intro h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  color: #0a1630;
}
.spark-intro p {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  color: #243044;
}
.spark-intro-rows { display: flex; flex-direction: column; gap: 8px; }
.spark-intro-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
}
.spark-intro-row > span:last-child {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #243044;
}
.spark-intro p.spark-intro-note {
  margin: 2px 0 0;
  padding-top: 8px;
  border-top: 1px solid #e6edf5;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: #0053a6;
}
.scroll.is-prof {
  background: #eef3f8;
  color: #0a1630;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}
html.is-app .scroll.is-prof { padding-top: 0; }
html.is-app .prof-crest { padding-top: 44px; }
.prof-page { display: flex; flex-direction: column; gap: 0; min-height: 100%; }
.prof-crest { background: #0053a6; color: #fff; padding-bottom: 36px; }
.prof-back {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: inherit;
  background: transparent;
}
.prof-back:active { opacity: .72; }
.prof-back:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.prof-sheet {
  position: relative;
  margin: -28px 12px 0;
  padding: 48px 14px 14px;
  background: #eef5fb;
  color: #0a1630;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(10, 22, 48, 0.06);
}
.prof-sheet > .circle-avatar-btn { position: absolute; top: -28px; left: 14px; }
.prof-sheet .circle-avatar.lg {
  width: 72px;
  height: 72px;
  font-size: 26px;
  box-shadow: 0 0 0 3px #eef5fb;
}
.prof-ip-slot {
  position: absolute;
  top: 8px;
  right: 14px;
  left: 102px;
  display: flex;
  justify-content: flex-end;
  z-index: 1;
}
.prof-ip-slot .prof-ip {
  max-width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  text-align: right;
}
.prof-who { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.prof-name { min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: #0a1630; font-size: 20px; font-weight: 800; }
.prof-name b, .prof-name .circle-name-btn { color: #0a1630; font-size: 20px; }
.prof-sheet .circle-follow,
.prof-mini .circle-follow {
  min-height: 40px;
  padding: 0 16px;
  background: #0053a6;
  color: #fff;
  border: 0;
  flex-shrink: 0;
}
.prof-sheet .circle-follow:not(.is-on)::before,
.prof-mini .circle-follow:not(.is-on)::before { content: "+"; margin-right: 2px; }
.prof-sheet .circle-follow.is-on,
.prof-mini .circle-follow.is-on { background: #e8eef6; color: #0053a6; opacity: 1; }
.prof-sheet .circle-follow.is-ask,
.prof-mini .circle-follow.is-ask { background: #fdecef; color: #e41e3f; }
.prof-about {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
}
.prof-rule {
  display: block;
  height: 0;
  border-top: 1px dashed #8aa0b8;
}
.prof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px;
  border-top: 1px solid #e6edf5;
  border-bottom: 1px solid #e6edf5;
}
.prof-stats span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 0; }
.prof-stats span + span { border-left: 1px solid #e6edf5; }
.prof-stats b { color: #0a1630; font-size: 18px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.prof-stats small { color: #54607a; font-size: 12px; font-weight: 700; }
.prof-broker {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid #d5e2f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(10, 22, 48, 0.04);
}
.prof-broker-ribbon {
  position: absolute;
  top: 10px;
  right: -28px;
  width: 108px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transform: rotate(32deg);
  background: #0053a6;
  color: #f5d76e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}
.prof-broker-crown { display: block; flex-shrink: 0; }
.prof-broker-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  min-width: 0;
  padding-right: 42px;
}
.prof-broker img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  background: #f4f8fc;
  border: 1px solid #e6edf5;
  flex-shrink: 0;
}
.prof-broker-brand b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.2;
  color: #0a1630;
}
.prof-login {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 8px 12px;
  border: 1px solid #c5d7ea;
  border-radius: 12px;
  background: #f4f8fc;
}
.prof-login-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}
.prof-login span {
  color: #3d4d66;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}
.prof-login b {
  color: #0a1630;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.prof-broker-seal {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 40% 35%, #fff8df, #f0d78a 55%, #d7b25a);
  box-shadow: inset 0 0 0 2px rgba(140, 96, 10, 0.35);
  color: #7a5410;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}
.prof-board { margin: 0 -4px; }
.prof-board .bd-head { padding: 4px 4px 8px; }
.prof-board .bd-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}
.prof-board .bd-fact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  min-height: 56px;
  padding: 8px 10px;
  border: 1px solid #c5d7ea;
  border-radius: 12px;
  background: #fff;
}
.prof-board .bd-fact.is-wide { grid-column: 1 / -1; }
.prof-board .bd-fact span {
  color: #3d4d66;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}
.prof-board .bd-fact b {
  overflow: hidden;
  color: #0a1630;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.prof-board .bd-fact.is-on {
  border-color: #86efac;
  background: #f0fdf4;
}
.prof-board .bd-fact.is-on b { color: #15803d; }
.prof-board .bd-fact.is-off {
  border-color: #fecdd3;
  background: #fff1f2;
}
.prof-board .bd-fact.is-off b { color: #be123c; }
.prof-board .bd-kpis { padding: 4px 4px 2px; }
.prof-board .bd-sec { margin: 8px 0 0; }
.prof-feed .prof-board .bd-paper { background: transparent; }
.prof-perf {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #f4f8fc;
}
.prof-perf-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.prof-perf-lab { margin: 0; color: #54607a; font-size: 12px; font-weight: 800; }
.prof-perf-pct {
  margin: 2px 0 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.prof-perf-pct.up { color: #16a34a; }
.prof-perf-pct.down { color: #e11d48; }
.prof-perf-side { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.prof-detail {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #0053a6;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.prof-detail:focus-visible { outline: 2px solid #f5d000; outline-offset: 2px; }
.prof-detail:active { opacity: .82; }
.prof-rank {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff;
  color: #0053a6;
  font-size: 12px;
  font-weight: 800;
}
.prof-run { color: #54607a; font-size: 12px; font-weight: 800; }
.prof-run.is-on { color: #16a34a; }
.prof-chart { margin-top: 8px; border-radius: 10px; background: #fff; overflow: hidden; }
.prof-chart svg { display: block; width: 100%; height: 72px; }
.prof-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.prof-kpis div { min-height: 52px; padding: 8px; border-radius: 10px; background: #fff; }
.prof-kpis span { display: block; color: #94a3b8; font-size: 11px; font-weight: 700; }
.prof-kpis b { display: block; margin-top: 3px; color: #0a1630; font-size: 15px; font-variant-numeric: tabular-nums; }
.prof-kpis .down { color: #e11d48; }
.prof-fine { margin: 8px 0 0; color: #54607a; font-size: 12px; line-height: 1.45; }
.prof-trade-empty {
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 14px;
  background: #f4f8fc;
  color: #54607a;
  font-size: 13px;
  line-height: 1.5;
}
.prof-bio, .prof-bio-add {
  margin: 0;
  color: #0a1630;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  word-break: break-word;
}
.prof-bio.is-empty { color: #475569; font-weight: 600; }
.prof-bio button, .prof-bio-add {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  background: transparent;
  color: #0053a6;
  font-weight: 800;
}
.prof-bio-add:focus-visible { outline: 2px solid #0053a6; outline-offset: 3px; }
.prof-bio-add:active { opacity: .72; }
.prof-ip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  min-height: 28px;
  padding: 2px 10px 2px 8px;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.prof-ip svg { flex-shrink: 0; color: #0053a6; }
.prof-ip.is-empty { color: #475569; }
.prof-bio-edit { margin: 12px 0 0; }
.prof-bio-edit label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800; color: #54607a; }
.prof-bio-edit textarea {
  width: 100%;
  min-height: 72px;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #f8fafc;
  color: #0a1630;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
}
.prof-bio-edit textarea::placeholder { color: #8b97ab; }
.prof-bio-acts { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.prof-bio-count { margin-right: auto; color: #54607a; font-size: 12px; font-weight: 700; }
.prof-bio-acts button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #e8eef6;
  color: #0a1630;
  font-weight: 800;
}
.prof-bio-acts .is-save { background: #0053a6; color: #fff; }
.prof-stick {
  position: sticky;
  top: 0;
  z-index: 4;
  margin-top: 12px;
  background: #e4eef8;
  box-shadow: none;
}
.prof-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 8px;
  color: #0a1630;
  pointer-events: none;
  transition: max-height .18s ease, opacity .18s ease;
}
.prof-stick.is-compact {
  background: #0053a6;
  color: #fff;
  box-shadow: 0 10px 18px -14px rgba(0, 16, 40, 0.55);
}
.prof-stick.is-compact .prof-mini {
  max-height: 64px;
  min-height: 56px;
  opacity: 1;
  pointer-events: auto;
  color: #fff;
}
.prof-stick.is-compact .prof-mini .prof-ip { color: rgba(255, 255, 255, 0.72); }
.prof-stick.is-compact .circle-avatar { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92); }
.prof-stick.is-compact .circle-follow:not(.is-on) {
  background: #fff;
  color: #0053a6;
}
.prof-stick.is-compact .circle-follow.is-on {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.prof-stick.is-compact .circle-follow.is-ask {
  background: #fff;
  color: #e41e3f;
}
.prof-stick.is-compact .prof-tab { color: rgba(255, 255, 255, 0.72); }
.prof-stick.is-compact .prof-tab.is-on {
  color: #fff;
  border-bottom-color: #fff;
}
.prof-stick.is-compact .prof-tab:focus-visible { outline-color: #fff; }
.prof-mini-main { min-width: 0; display: flex; flex-direction: column; }
.prof-mini-main b { font-size: 16px; }
.prof-mini .prof-ip {
  margin: 0;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
}
.prof-mini .circle-follow { min-height: 32px; padding: 0 10px; font-size: 12px; margin-left: auto; }
.prof-tabs { display: flex; padding: 0 8px; }
.prof-tab {
  flex: 1;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #54607a;
  font-weight: 700;
  border-bottom: 2px solid transparent;
}
.prof-tab.is-on { color: #0053a6; border-bottom-color: #0053a6; }
.prof-tab:focus-visible { outline: 2px solid #0053a6; outline-offset: -2px; }
.prof-feed { padding: 12px 12px 20px; }
.prof-feed .card { box-shadow: none; border: 1px solid #e6edf5; }
@media (prefers-reduced-motion: reduce) {
  .prof-mini { transition: none; }
}
.circle-subhead {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 2px 4px;
}
.circle-subhead strong { font-size: 15px; }
.circle-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 8px 0 2px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.circle-mine-sec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 4px 2px 2px;
  padding: 0 2px;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  opacity: .78;
}
.circle-mine-sec span {
  font-size: 12px;
  font-weight: 700;
  opacity: .72;
}
.circle-feed > .circle-mine-sec:first-of-type {
  margin-top: 0;
}
.circle-saved-lesson {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}
.circle-mine-cmt,
.circle-notif {
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.circle-notif.is-new {
  box-shadow: inset 3px 0 0 #e11d48;
}
.circle-compose-board .circle-input {
  flex: 1 1 auto;
  width: 100%;
  min-height: 168px;
  margin: 0 0 12px;
  box-sizing: border-box;
}
.circle-composer-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}
.circle-composer-tools .circle-compose-go {
  min-height: 44px;
  padding: 0 25px;
  min-width: 6.7em;
}
.circle-emoji-dock {
  flex-shrink: 0;
  margin-top: 8px;
  animation: circle-emoji-up .22s ease;
}
.circle-emoji-dock .circle-emoji {
  margin-top: 0;
  border-radius: 16px 16px 12px 12px;
  box-shadow: 0 -8px 24px rgba(0, 20, 50, 0.18);
}
.circle-compose-board:has(.circle-emoji-dock) .circle-input {
  min-height: 120px;
}
@keyframes circle-emoji-up {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .circle-emoji-dock { animation: none; }
}
.circle-composer-tools .circle-upload,
.circle-composer-tools .circle-emoji-btn {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: auto;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 8%, transparent);
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  opacity: 1;
  white-space: nowrap;
  flex: 0 0 auto;
}
.circle-tool-chip-inner {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.circle-composer-tools .circle-tool-ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}
.circle-compose-foot {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin-top: auto;
  padding: 10px 0 4px;
  background: transparent;
  border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent);
}
.circle-compose-foot .btn {
  width: 100%;
  min-height: 46px;
}

.circle-compose-board[data-compose-ui="glass"] { color: #fff; }
.circle-compose-board[data-compose-ui="glass"] .circle-composer {
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 20px;
  padding: 14px 14px 8px;
  color: #fff;
  box-sizing: border-box;
}
.circle-compose-board[data-compose-ui="glass"] .circle-input {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  border-radius: 16px;
}
.circle-compose-board[data-compose-ui="glass"] .circle-input::placeholder { color: rgba(255, 255, 255, 0.62); }
.circle-compose-board[data-compose-ui="glass"] .circle-composer-tools .circle-upload,
.circle-compose-board[data-compose-ui="glass"] .circle-composer-tools .circle-emoji-btn,
.circle-compose-board[data-compose-ui="glass"] .circle-topic-trigger {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 999px;
}
.circle-compose-board[data-compose-ui="glass"] .circle-emoji-btn.is-on {
  background: #fff;
  color: #0053a6;
}
.circle-gate,
.circle-composer,
.circle-empty,
.circle-post { text-align: left; }
.circle-composer-head,
.circle-post-head,
.circle-cmt {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.circle-composer-head b,
.circle-post-head b,
.circle-cmt b { display: block; font-size: 14px; }
.circle-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  background: var(--neon, #1e67b2);
  flex-shrink: 0;
  overflow: hidden;
}
.circle-avatar.sm { width: 28px; height: 28px; font-size: 12px; }
.circle-at-box { position: relative; }
.circle-at-pop {
  position: static;
  z-index: 2;
  max-height: 280px;
  overflow: auto;
  margin: 0 0 8px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  color: #0a1630;
  border: 1px solid #d7e2ef;
  box-shadow: 0 8px 22px rgba(10, 22, 48, 0.12);
}
.circle-at-pop[hidden] { display: none; }
.circle-at-empty { margin: 0; padding: 14px 12px; color: #5b6b82; font-size: 14px; }
.circle-at-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}
.circle-at-row .circle-avatar { width: 40px; height: 40px; font-size: 15px; }
.circle-at-row b { display: block; font-size: 16px; }
.circle-at-row em {
  display: inline-block;
  margin-top: 2px;
  margin-left: 0;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: #0053a6;
}
.circle-at-row.is-on,
.circle-at-row:hover { background: #e4eef8; }
.circle-discuss-launch {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, currentColor 5%, transparent);
  color: inherit;
  font: inherit;
  font-weight: 800;
  text-align: left;
  padding: 0 14px;
}
.mask.circle-discuss-mask {
  justify-content: flex-start;
  padding: max(12px, env(safe-area-inset-top, 0px)) 12px 16px;
  background: rgba(0, 24, 56, 0.55);
}
.sheet.circle-discuss-sheet {
  width: 100%;
  max-width: 520px;
  max-height: calc(100% - 24px);
  margin-top: 8px;
  padding: 8px 14px 14px;
  overflow: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(180deg, #0c5eae 0%, #084484 100%);
  color: #fff;
  box-shadow: 0 24px 48px rgba(0, 18, 48, 0.38);
}
.circle-discuss-head {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 52px;
}
.sheet.circle-discuss-sheet .circle-discuss-head h3 {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}
.sheet.circle-discuss-sheet .qo-close {
  width: 44px;
  height: 44px;
  color: #fff;
}
.circle-discuss-go {
  position: relative;
  z-index: 2;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #084484;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.circle-discuss-go:focus-visible,
.sheet.circle-discuss-sheet .qo-close:focus-visible,
.circle-discuss-input:focus-visible,
.circle-discuss-only:focus-within {
  outline: 2px solid #f5d000;
  outline-offset: 2px;
}
.circle-discuss-go:disabled { opacity: .72; cursor: default; }
.sheet.circle-discuss-sheet .circle-discuss-lab,
.sheet.circle-discuss-sheet label {
  display: block;
  margin: 4px 2px 8px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}
.sheet.circle-discuss-sheet .circle-discuss-input,
.sheet.circle-discuss-sheet textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 120px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  resize: none;
  background: rgba(0, 24, 56, 0.35);
  color: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}
.circle-discuss-input::placeholder { color: rgba(255, 255, 255, 0.72); }
.circle-quote {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  margin: 4px 0 2px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, currentColor 5%, #fff);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}
.circle-quote-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  pointer-events: none;
}
.circle-quote-head b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
}
.circle-quote-head em,
.circle-quote-head i {
  flex-shrink: 0;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  opacity: .62;
}
.circle-quote-text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
  color: #243044;
}
.circle-quote-img {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #eef2f6;
}
.circle-quote-img img {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: cover;
}
.circle-quote-foot {
  font-size: 12px;
  font-weight: 700;
  opacity: .62;
}
.sheet.circle-discuss-sheet .circle-discuss-quote {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  border-left: 3px solid #f5d000;
  background: rgba(0, 24, 56, 0.28);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}
.sheet.circle-discuss-sheet .circle-discuss-quote b { color: #f5d000; font-weight: 800; }
.circle-discuss-tools {
  display: flex;
  margin-top: 12px;
}
.sheet.circle-discuss-sheet .circle-discuss-tools .circle-emoji-btn {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  opacity: 1;
}
.sheet.circle-discuss-sheet .circle-discuss-tools .circle-emoji-btn.is-on {
  background: #fff;
  color: #084484;
}
.sheet.circle-discuss-sheet .circle-emoji-dock { margin-top: 10px; }
.sheet.circle-discuss-sheet .circle-emoji {
  background: rgba(255, 255, 255, 0.96);
  color: #0a1630;
}
.sheet.circle-discuss-sheet label.circle-discuss-only {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 12px 0 0;
  padding: 12px;
  min-height: 44px;
  border-radius: 14px;
  background: rgba(0, 24, 56, 0.22);
  color: #fff;
  cursor: pointer;
}
.circle-discuss-only input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: #f5d000;
}
.sheet.circle-discuss-sheet .circle-discuss-only b {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  color: #fff;
}
.sheet.circle-discuss-sheet .circle-discuss-only small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
.circle-discuss-hint {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.45;
}
.circle-discuss-hint.is-error {
  color: #ffe08a;
  font-weight: 800;
}
@media (prefers-reduced-motion: reduce) {
  .sheet.circle-discuss-sheet .circle-emoji-dock { animation: none; }
}
.mask.full.circle-at-mask {
  position: absolute;
  inset: 0;
  z-index: 40;
  width: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  background: #0053a6;
  color: #fff;
}
.circle-at-board {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  color: #fff;
}
.circle-at-bar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  flex-shrink: 0;
  padding: 16px 8px 0;
  padding-top: max(16px, env(safe-area-inset-top, 0px));
}
html.is-app .circle-at-bar { padding-top: 52px; }
.circle-at-bar h2 {
  margin: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.circle-at-x {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
}
.circle-at-x:active { background: rgba(255, 255, 255, 0.16); }
.circle-at-x:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.circle-at-search {
  display: block;
  margin: 12px 16px 0;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.circle-at-search > span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  background: #fff;
  color: #5b6b82;
}
.circle-at-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #0a1630;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
}
.circle-at-search input:focus { outline: none; }
.circle-at-search > span:focus-within {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #08386f;
}
.circle-at-lead {
  margin: 10px 16px 8px;
  color: #e7f0fa;
  font-size: 13px;
  line-height: 1.5;
}
.circle-at-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 0 0 max(16px, env(safe-area-inset-bottom, 0px));
  -webkit-overflow-scrolling: touch;
}
.circle-at-person {
  width: calc(100% - 32px);
  min-height: 56px;
  margin: 0 16px 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #0a1630;
  font: inherit;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}
.circle-at-person .circle-avatar { width: 40px; height: 40px; font-size: 16px; }
.circle-at-person-copy { min-width: 0; }
.circle-at-person-copy b {
  display: block;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
}
.circle-at-person-copy em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: #3d5270;
}
.circle-at-person.is-on { box-shadow: inset 4px 0 0 #0053a6; }
.circle-at-person:active { background: #e4eef8; }
.circle-at-person:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.circle-at-status,
.circle-at-empty,
.circle-at-foot {
  margin: 0;
  padding: 8px 16px 12px;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
}
.circle-at-empty p { margin: 0; }
.circle-at-empty p + p { margin-top: 4px; color: #e7f0fa; font-size: 13px; }
.circle-at-foot { color: #e7f0fa; font-size: 13px; }
.circle-at-skel {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin: 0 16px 8px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
}
.circle-at-skel i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}
.circle-at-skel span { flex: 1; }
.circle-at-skel b,
.circle-at-skel em {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}
.circle-at-skel b { width: 42%; }
.circle-at-skel em { width: 24%; margin-top: 8px; }
.circle-at-hint { margin: 0 0 8px; }
.circle-at-picks { display: flex; flex-wrap: wrap; gap: 6px; }
.circle-at-picks:empty { display: none; }
.circle-at-chip,
.circle-at {
  color: #0053a6;
  font-weight: 800;
}
.circle-at-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e4eef8;
  font-size: 12px;
}
.circle-input {
  width: 100%;
  min-height: 72px;
  margin: 10px 0 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  background: color-mix(in srgb, currentColor 4%, transparent);
  color: inherit;
  font: inherit;
  resize: vertical;
}
.circle-composer-topics { margin: 0 0 10px; }
.circle-compose-pick {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}
.circle-compose-pick .circle-topic-legend {
  margin: 0;
  flex: 1;
  min-width: 0;
}
.circle-compose-pick-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 68%;
  min-height: 44px;
  padding: 0 12px 0 14px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0053a6;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  touch-action: manipulation;
}
.circle-compose-pick-btn b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.circle-compose-pick-btn svg {
  flex-shrink: 0;
  transition: transform .16s ease;
}
.circle-compose-pick-btn.is-open svg { transform: rotate(180deg); }
.circle-compose-pick-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.circle-compose-pick-btn:active { opacity: 0.82; }
.circle-compose-pick .circle-topic-menu {
  left: 0;
  right: 0;
  min-width: 0;
  max-width: none;
}
.circle-topic-legend {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  opacity: .72;
}
.circle-topic-hint { margin: 8px 0 0; }
.circle-browse { margin: 0; }
.circle-sticky-head .circle-browse-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  align-items: stretch;
}
.circle-sticky-head .circle-sorts {
  display: contents;
}
.circle-sticky-head .circle-topic-dd {
  max-width: none;
  min-width: 0;
}
.circle-sticky-head .circle-sort,
.circle-sticky-head .circle-topic-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding: 8px 4px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.circle-sticky-head .circle-topic-k,
.circle-sticky-head .circle-topic-v {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 1;
}
.circle-browse-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.circle-sorts {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}
.circle-sort {
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 10%, transparent);
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
}
.circle-sort.is-on {
  background: #fff;
  color: var(--brand-blue, var(--neon, #0053a6));
}
.circle-sort:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.circle-sticky-head .circle-browse-row.is-filter {
  display: block;
}
.dx-discover { display: flex; flex-direction: column; gap: 8px; }
.dx-discover-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.dx-big { display: flex; align-items: flex-end; gap: 2px; min-width: 0; }
.dx-tab {
  position: relative;
  min-height: 44px;
  padding: 6px 8px 12px;
  background: transparent;
  color: rgba(255, 255, 255, .72);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.dx-tab.is-on { color: #fff; }
.dx-tab.is-on::before {
  content: "";
  position: absolute;
  top: 5px;
  right: 1px;
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
}
.dx-tab.is-on::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  background: #fff;
}
.dx-tab:focus-visible, .dx-search-btn:focus-visible, .dx-search-x:focus-visible, .dx-hit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.dx-tools { display: flex; align-items: center; gap: 6px; flex: none; }
.dx-search-btn {
  width: 31px;
  height: 31px;
  min-width: 31px;
  min-height: 31px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}
.dx-search-btn svg {
  width: 16px;
  height: 16px;
}
.dx-tools .circle-bell,
.dx-tools .circle-more-btn {
  width: 31px;
  height: 31px;
  min-width: 31px;
  min-height: 31px;
  padding: 0;
}
.dx-tools .circle-bell svg,
.dx-tools .circle-more-btn svg {
  width: 16px;
  height: 16px;
}
.dx-tools .circle-mine-dd { position: relative; }
.dx-search-btn:active, .dx-tab:active, .dx-search-x:active { opacity: .72; }
.dx-small { margin-bottom: 0; overflow-x: auto; flex-wrap: nowrap; }
.dx-small .subtab {
  flex: 0 0 auto;
  padding: 6px 14px;
  font-size: 14px;
  line-height: 24px;
}
.mask.full.dx-search-mask {
  position: absolute;
  inset: 0;
  z-index: 30;
  width: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow-x: hidden;
  overflow-y: hidden;
  padding: 0;
  background: #0053a6;
}
.dx-search-board {
  flex: 1;
  width: 100%;
  align-self: stretch;
  min-height: 0;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: #0053a6;
}
.dx-search-bar {
  position: relative;
  display: flex;
  align-items: center;
  padding: 58px 12px 0;
  flex-shrink: 0;
}
html.is-app .dx-search-bar { padding-top: 94px; }
.dx-search-x {
  position: absolute;
  top: 14px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  line-height: 0;
}
.dx-search-x svg {
  display: block;
  width: 16px;
  height: 16px;
}
html.is-app .dx-search-x { top: 52px; }
.dx-search-field {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 6px;
  height: 43px;
  min-height: 43px;
  padding: 0 8px 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #0a1630;
}
.dx-search-field:focus-within { outline: 2px solid #fff; outline-offset: 2px; }
.dx-search-field svg { width: 18px; height: 18px; color: #0053a6; }
.dx-search-field input {
  min-width: 0;
  width: 100%;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0a1630;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.dx-search-field input::-webkit-search-decoration,
.dx-search-field input::-webkit-search-cancel-button,
.dx-search-field input::-webkit-search-results-button,
.dx-search-field input::-webkit-search-results-decoration {
  display: none;
  appearance: none;
  -webkit-appearance: none;
}
.dx-search-field input::placeholder { color: #54607a; font-weight: 500; line-height: 22px; }
.dx-search-clear {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #e8eef6;
  color: #0053a6;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
}
.dx-search-scopes {
  display: flex;
  gap: 0;
  margin: 8px 12px 0;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.dx-scope {
  flex: 1;
  min-height: 44px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, .78);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}
.dx-scope.is-on { color: #fff; border-bottom-color: #fff; }
.dx-scope:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.dx-search-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 16px 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #0053a6;
}
.dx-search-lead, .dx-search-k { margin: 0; color: #fff; font-size: 14px; line-height: 1.5; }
.dx-search-k { font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .88); }
.dx-search-recent { display: flex; flex-wrap: wrap; gap: 8px; }
.dx-search-recent button, .dx-search-again {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-weight: 700;
}
.dx-hit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  text-align: left;
  color: #0a1630;
}
.dx-hit b { font-size: 16px; line-height: 1.4; }
.dx-hit-text { color: #54607a; font-size: 13px; line-height: 1.45; }
.dx-hit em { font-style: normal; color: #54607a; font-size: 12px; }
.dx-kind {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e4eef8;
  color: #0053a6;
  font-size: 11px;
  font-weight: 800;
}
.dx-hit mark { background: #fff3c4; color: #0a1630; padding: 0 1px; }
@media (prefers-reduced-motion: reduce) {
  .dx-tab, .dx-search-btn, .dx-search-x { transition: none; }
}
.circle-topic-dd {
  position: relative;
  flex: 0 0 auto;
  max-width: 46%;
}
.circle-topic-dd.is-compose {
  max-width: none;
  width: 100%;
}
.circle-topic-trigger {
  min-height: 44px;
  max-width: 100%;
  padding: 0 10px 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 10%, transparent);
  color: inherit;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
.circle-topic-dd.is-compose .circle-topic-trigger {
  width: 100%;
  justify-content: flex-start;
  border-radius: 12px;
  background: color-mix(in srgb, currentColor 5%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}
.circle-compose-board[data-compose-ui="glass"] .circle-topic-dd.is-compose .circle-topic-trigger {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
.circle-topic-k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  opacity: .72;
  flex-shrink: 0;
}
.circle-topic-v {
  min-width: 0;
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.circle-topic-trigger svg {
  flex-shrink: 0;
  transition: transform .16s ease;
}
.circle-topic-trigger.is-open svg { transform: rotate(180deg); }
.circle-topic-trigger.is-on .circle-topic-v { color: inherit; }
.circle-topic-trigger:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.circle-topic-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 6;
  min-width: min(240px, 78vw);
  max-width: min(280px, 86vw);
  max-height: min(280px, 46vh);
  overflow: auto;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  color: #0a1630;
  box-shadow: 0 12px 28px rgba(0, 24, 56, 0.22);
}
.circle-topic-menu.is-flow {
  position: static;
  right: auto;
  width: 100%;
  min-width: 0;
  max-width: none;
  max-height: min(240px, 34vh);
  margin-top: 8px;
}
.circle-topic-dd.is-compose .circle-topic-menu {
  left: 0;
  right: 0;
  max-width: none;
  min-width: 0;
}
.circle-dd-item {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}
.circle-dd-item small {
  font-size: 11px;
  font-weight: 600;
  opacity: .62;
  white-space: normal;
}
.circle-dd-item.is-on {
  background: color-mix(in srgb, var(--brand-blue, var(--neon, #0053a6)) 12%, transparent);
  color: var(--brand-blue, var(--neon, #0053a6));
}
.circle-dd-item:hover,
.circle-dd-item:focus-visible {
  background: color-mix(in srgb, var(--brand-blue, var(--neon, #0053a6)) 8%, transparent);
}
.circle-dd-item:focus-visible {
  outline: 2px solid var(--brand-blue, var(--neon, #0053a6));
  outline-offset: 0;
}
.circle-dd-group {
  display: flex;
  flex-direction: column;
}
.circle-dd-rule {
  height: 1px;
  margin: 6px 8px;
  background: color-mix(in srgb, currentColor 12%, transparent);
}
.circle-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.circle-topic {
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  background: color-mix(in srgb, currentColor 5%, transparent);
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.circle-topic.is-on {
  background: var(--neon, #1e67b2);
  color: #fff;
  border-color: transparent;
}
.circle-topic:hover,
.circle-topic:focus-visible {
  background: color-mix(in srgb, var(--neon, #1e67b2) 12%, transparent);
}
.circle-topic.is-on:hover,
.circle-topic.is-on:focus-visible {
  background: var(--neon, #1e67b2);
  color: #fff;
}
.circle-topic:focus-visible {
  outline: 2px solid var(--neon, #1e67b2);
  outline-offset: 2px;
}
.circle-topic-status {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: .72;
}
.circle-post-who { min-width: 0; flex: 1; }
.circle-post-name {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 8px;
}
.circle-post-id {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.circle-post-head .circle-post-name b { display: inline; }
.circle-post-head > .circle-avatar-btn { margin-top: 4px; flex-shrink: 0; }
.circle-post-head .circle-avatar { width: 48px; height: 48px; font-size: 18px; }
.circle-post-vip { display: flex; margin-top: 2px; }
.circle-post-head > .circle-post-topic { flex-shrink: 0; align-self: flex-start; }
.circle-post-rule {
  height: 0;
  margin: 2px 0 10px;
  border: 0;
  border-top: 1px dashed #c3cad3;
}
.circle-spark-corner {
  margin-left: auto;
  margin-top: -16px;
  margin-bottom: 16px;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border: 0;
  padding: 0;
  background: transparent;
  position: relative;
  align-self: flex-start;
  color: #c5ccd4;
  cursor: pointer;
}
.circle-spark-corner.is-self { cursor: default; }
.circle-spark-corner .spark-emoji {
  display: block;
  position: relative;
  z-index: 0;
  font-size: 53px;
  line-height: 1;
  filter: grayscale(1);
  opacity: 0.45;
  animation: none;
}
.circle-spark-corner.is-lit .spark-emoji {
  filter: drop-shadow(0 7px 10px rgba(255, 90, 0, 0.35));
  opacity: 1;
}
@font-face {
  font-family: "Bangers";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bangers-latin.woff2") format("woff2");
}
.circle-spark-corner .spark-num {
  position: absolute;
  z-index: 1;
  left: 50%;
  right: auto;
  top: 48px;
  width: max-content;
  margin: 0;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
  font-family: "Bangers", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #6b7280;
  -webkit-text-stroke: 3px #fff;
  paint-order: stroke fill;
  pointer-events: none;
}
.circle-spark-corner .spark-num.is-d2 { font-size: 18px; }
.circle-spark-corner .spark-num.is-d3 { font-size: 14px; letter-spacing: -0.04em; }
.circle-spark-corner .spark-num i {
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-style: normal;
  font-weight: 900;
  font-synthesis: none;
  font-size: 18px;
  letter-spacing: 0;
  -webkit-text-stroke: 2px #fff;
}
.circle-spark-corner .spark-num.is-d2 i { font-size: 14px; }
.circle-spark-corner .spark-num.is-d3 i { font-size: 10px; }
.circle-spark-corner.is-lit .spark-num {
  color: #fff;
  -webkit-text-stroke: 3px #7a1d08;
}
.circle-spark-corner.is-lit .spark-num i { -webkit-text-stroke: 2px #7a1d08; }
.circle-post-topic-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.circle-post-topic-row .hint { margin: 0; }
.circle-broker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 31.5px;
  max-width: 148px;
  padding: 0 8px 0 4px;
  border-radius: 8px;
  border: 1px solid #e6eaf0;
  background: #f4f6f8;
  color: #1e2430;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.circle-post-head .circle-post-name .circle-broker b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 800;
}
.circle-broker img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: cover;
  flex-shrink: 0;
  background: #fff;
}
.circle-post-topic {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--neon, #1e67b2) 28%, transparent);
  background: color-mix(in srgb, var(--neon, #1e67b2) 10%, transparent);
  color: var(--neon, #1e67b2);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
}
.circle-post-topic:focus-visible {
  outline: 2px solid var(--neon, #1e67b2);
  outline-offset: 2px;
}
.circle-post-pick {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, #b8860b 38%, transparent);
  background: color-mix(in srgb, #c9a227 16%, transparent);
  color: #8a6a12;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
}
.circle-post-pick:focus-visible {
  outline: 2px solid #c9a227;
  outline-offset: 2px;
}
.circle-hash {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--neon, #1e67b2);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}
.circle-hash:focus-visible {
  outline: 2px solid var(--neon, #1e67b2);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .circle-topic,
  .circle-fab,
  .circle-top,
  .circle-topic-trigger svg,
  .circle-compose-pick-btn svg { transition: none; }
  .circle-fab:active,
  .circle-top:active { transform: none; }
}
.circle-composer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.circle-composer-left {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.circle-emoji-btn {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  opacity: .72;
}
.circle-emoji-btn.is-on,
.circle-emoji-btn:hover,
.circle-emoji-btn:focus-visible {
  opacity: 1;
  background: color-mix(in srgb, currentColor 8%, transparent);
  outline: none;
}
.circle-emoji {
  margin-top: 8px;
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, #fff 92%, transparent);
  overflow: hidden;
}
.circle-emoji-cats {
  display: flex;
  gap: 4px;
  padding: 6px;
  overflow-x: auto;
  background: color-mix(in srgb, currentColor 6%, transparent);
}
.circle-emoji-cat {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  color: inherit;
  opacity: .58;
  cursor: pointer;
  white-space: nowrap;
}
.circle-emoji-cat.is-on {
  opacity: 1;
  background: #fff;
  box-shadow: 0 1px 3px rgba(10, 22, 48, .08);
}
.circle-emoji-x {
  margin-left: auto;
  position: sticky;
  right: 0;
  z-index: 1;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  align-self: center;
  border: 0;
  border-radius: 8px;
  background: inherit;
  color: #334155;
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
}
.circle-emoji-x:hover,
.circle-emoji-x:focus-visible {
  background: #fff;
  outline: none;
}
.circle-emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 2px;
  padding: 8px;
  max-height: 196px;
  overflow: auto;
}
.circle-emoji-grid.is-pack {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-height: 228px;
}
.circle-emoji-item {
  min-height: 40px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.circle-emoji-grid.is-pack .circle-emoji-item {
  min-height: 52px;
  font-size: 32px;
}
.circle-emoji-item:hover,
.circle-emoji-item:focus-visible {
  background: color-mix(in srgb, currentColor 8%, transparent);
  outline: none;
}
@media (max-width: 420px) {
  .circle-emoji-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .circle-emoji-grid.is-pack { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.circle-cmt > div { flex: 1; min-width: 0; }
.circle-cmt.is-reply { margin-left: 36px; }
.circle-cmt-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}
.circle-reply-btn,
.circle-reply-bar button {
  border: 0;
  padding: 0;
  background: none;
  color: #5c6b80;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.circle-reply-btn:hover,
.circle-reply-bar button:hover { color: #1e67b2; }
.circle-reply-to {
  color: #5c6b80;
  font-size: 12px;
  font-weight: 650;
}
.circle-reply-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #edf4ff;
  color: #1a5fc7;
  font-size: 12px;
  font-weight: 700;
}
.circle-cmt-compose {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.circle-text.is-sticker,
.circle-cmt-text.is-sticker {
  font-size: 32px;
  line-height: 1.25;
}
.circle-upload {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.circle-upload input { display: none; }
.circle-upload.is-off { opacity: .45; pointer-events: none; }
.circle-draft-imgs,
.circle-imgs {
  display: grid;
  gap: 6px;
  margin: 0 0 10px;
}
.circle-imgs.n1 { grid-template-columns: 1fr; }
.circle-imgs.n1 .circle-img {
  display: block;
  width: 100%;
  aspect-ratio: auto;
  height: auto;
  overflow: visible;
  background: transparent;
}
.circle-imgs.n1 .circle-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.circle-imgs.n2,
.circle-imgs.n4 { grid-template-columns: 1fr 1fr; }
.circle-imgs.n3,
.circle-imgs.n5,
.circle-imgs.n6,
.circle-imgs.n7,
.circle-imgs.n8,
.circle-imgs.n9 { grid-template-columns: 1fr 1fr 1fr; }
.circle-draft-imgs { grid-template-columns: repeat(3, 1fr); }
.circle-draft-img,
.circle-img {
  position: relative;
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #e8eef6;
}
.circle-draft-img img,
.circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.circle-img-x {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 14px;
  line-height: 1;
}
.circle-text {
  margin: 8px 0 10px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 15px;
  line-height: 1.55;
}
.circle-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}
.circle-act {
  border: 0;
  background: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  opacity: .72;
  padding: 0;
  cursor: pointer;
}
.circle-acts .circle-follow {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 13px;
  font-weight: 700;
  opacity: .72;
}
.circle-acts .circle-follow.is-on { opacity: 1; color: var(--brand-blue, var(--neon, #0053a6)); }
.circle-acts .circle-follow.is-ask {
  opacity: 1;
  color: #e11d48;
  border: 0;
  background: none;
}
.circle-acts .circle-act > svg,
.circle-acts .circle-follow > svg,
.circle-acts .circle-act > .spark-mark {
  margin-right: -1px;
  flex-shrink: 0;
}
.circle-act.is-spark .spark-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
}
.circle-act.is-spark .spark-ico {
  font-size: 18px;
  line-height: 1;
  filter: grayscale(1);
  opacity: 0.42;
}
.circle-act.is-spark.is-lit .spark-ico {
  filter: none;
  opacity: 1;
}
.circle-act.is-spark .spark-num {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  color: #6b7280;
  -webkit-text-stroke: 2px #fff;
  paint-order: stroke fill;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.circle-act.is-spark.is-lit .spark-num {
  color: #fff;
  -webkit-text-stroke: 2px #c2410c;
}
.spark-burst {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.spark-stage {
  position: relative;
  width: 240px;
  height: 280px;
  display: grid;
  place-items: center;
  animation: spark-burn 2.6s ease-in forwards;
}
.spark-ring {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(255, 156, 40, 0.9);
  box-shadow: 0 0 18px rgba(255, 120, 20, 0.45);
  animation: spark-boom 1.05s ease-out infinite;
}
.spark-ring.r2 { animation-delay: .32s; border-color: rgba(255, 214, 90, 0.8); }
.spark-day-pop {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  color: #fff7e8;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: .06em;
  text-shadow: 0 8px 18px rgba(160, 40, 0, 0.55);
  animation: spark-day-pop .4s ease-out both;
}
.spark-emoji {
  position: relative;
  z-index: 1;
  font-size: 168px;
  line-height: 1;
  filter: drop-shadow(0 16px 18px rgba(255, 90, 0, 0.35));
  animation: spark-flicker 0.28s ease-in-out infinite;
}
.spark-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 166, 0, 0.55) 0%, rgba(255, 90, 0, 0.18) 46%, transparent 72%);
  filter: blur(6px);
  animation: spark-glow 0.45s ease-in-out infinite;
}
.spark-ember {
  position: absolute;
  left: 50%;
  bottom: 54px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #ffb020;
  box-shadow: 0 0 8px #ff7a18;
  animation: spark-rise 1.3s ease-out infinite;
}
.spark-ember.e2 { margin-left: -28px; animation-delay: .2s; width: 6px; height: 6px; }
.spark-ember.e3 { margin-left: 18px; animation-delay: .45s; }
.spark-ember.e4 { margin-left: -8px; animation-delay: .7s; width: 5px; height: 5px; background: #fff4c2; }
.spark-ember.e5 { margin-left: 32px; animation-delay: .9s; width: 5px; height: 5px; }
@keyframes spark-burn {
  0% { transform: scale(0.28) translateY(28px); opacity: 0; }
  10% { transform: scale(1.08) translateY(0); opacity: 1; }
  24% { transform: scale(0.94) rotate(-4deg); }
  40% { transform: scale(1.14) rotate(3deg); }
  56% { transform: scale(0.98) rotate(-2deg); }
  72% { transform: scale(1.08) rotate(2deg); opacity: 1; }
  100% { transform: scale(0.82) translateY(-18px); opacity: 0; }
}
@keyframes spark-flicker {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.06, 0.94) rotate(-1.5deg); }
}
@keyframes spark-glow {
  0%, 100% { transform: scale(0.92); opacity: 0.75; }
  50% { transform: scale(1.12); opacity: 1; }
}
@keyframes spark-rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-120px) scale(0.4); opacity: 0; }
}
@keyframes spark-boom {
  0% { transform: scale(0.35); opacity: 0.95; }
  100% { transform: scale(4.4); opacity: 0; }
}
@keyframes spark-day-pop {
  0% { transform: scale(0.45); opacity: 0; }
  70% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .spark-stage { animation-duration: 2.4s; }
  .spark-emoji, .spark-glow, .spark-ember { animation: none; }
}
.circle-act.is-on { color: #e11d48; opacity: 1; }
.circle-act.is-on.is-save { color: var(--brand-blue, var(--neon, #0053a6)); }
.circle-thread {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.circle-cmt p,
.circle-cmt-text { margin: 2px 0; font-size: 13px; }
.circle-cmt-box {
  display: flex;
  gap: 8px;
  align-items: center;
}
.circle-cmt-box input {
  flex: 1;
  min-width: 0;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  background: color-mix(in srgb, currentColor 4%, transparent);
  color: inherit;
  font: inherit;
  padding: 8px 10px;
}
.mask.full.circle-preview-mask {
  display: grid;
  place-items: center;
  justify-items: center;
  align-content: center;
  padding: 20px 16px;
  overflow: auto;
  background: rgba(2, 6, 23, 0.72);
}
.circle-preview-sheet {
  width: min(100%, 420px);
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.circle-preview-sheet img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(72vh, 560px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 12px;
  background: #000;
}

.board-card { padding: 12px 10px 8px; }
.board-head,
.board-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 78px 76px;
  gap: 6px;
  align-items: center;
}
.board-head {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted, #6b7a90);
  padding: 0 6px 8px;
}
.board-head span:nth-child(1) { grid-column: 2; }
.board-row {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  padding: 8px 6px;
  border-radius: 10px;
  font: inherit;
  cursor: pointer;
}
.board-row + .board-row { border-top: 1px solid color-mix(in srgb, currentColor 7%, transparent); }
.board-rank {
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
  color: var(--muted, #6b7a90);
}
.board-who {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.board-who .board-avatar {
  width: 26px;
  height: 26px;
  font-size: 11px;
}
.board-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  color: #0053a6;
}
.board-pct { font-size: 13px; font-weight: 900; }
.board-pct.up { color: #16a34a; }
.board-pct.down { color: #e11d48; }
.board-spark { display: block; }
.board-foot { margin: 8px 6px 4px; }

/* —— 排行榜账户详情（演示，结构对齐社区信号详情）—— */
.mask.full.bd-mask {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sheet.result-board.article-board.bd-board {
  flex: 1;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.bd-board .page-head {
  flex-shrink: 0;
  z-index: 3;
  margin: 0;
  padding: 18px 16px 10px;
  box-shadow: 0 10px 18px -14px rgba(0, 16, 40, .55);
}
.ar-chrome-acts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}
.bd-board .ar-back {
  min-height: 32px;
  min-width: 44px;
  padding: 0 8px 0 6px;
  font-size: 11px;
  gap: 1px;
}
.bd-board .ar-back svg {
  width: 14px;
  height: 14px;
}
.bd-board .ar-close,
.bd-board .ar-share {
  min-height: 32px;
  min-width: 44px;
  margin-left: 0;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  line-height: 1;
}
.bd-board .ar-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 12px;
}
.bd-board .ar-share svg {
  display: block;
  width: 16px;
  height: 16px;
}
.bd-board .ar-back:active,
.bd-board .ar-close:active,
.bd-board .ar-share:active {
  opacity: .78;
}
.bd-scroll {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.bd-paper {
  padding: 4px 0 32px;
}
.stats-board.bd-paper { padding: 0 0 8px; }
.stats-board .bd-kpis { padding: 0; }
.stats-board .bd-sec { margin-left: 0; margin-right: 0; }
.bd-head {
  padding: 16px 16px 8px;
}
.bd-demo {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #64748b;
}
.bd-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}
.bd-who-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.bd-avatar {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  background: #1e4b8a;
}
.bd-avatar.has-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bd-who .bd-name {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: #0a1630;
}
.bd-who .mem-chip { margin-top: 0; }
.bd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}
.bd-badge,
.bd-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.bd-badge {
  background: #e2e8f0;
  color: #475569;
}
.bd-badge.is-on {
  background: #dcfce7;
  color: #15803d;
}
.bd-chip {
  background: #fff;
  color: #0053a6;
  box-shadow: 0 1px 0 rgba(10, 22, 48, .04);
}
.bd-chip.is-mute {
  color: #64748b;
}
.bd-lead {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border-left: 3px solid #0053a6;
  background: #fff;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: #475569;
}
.bd-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 4px 16px 2px;
}
.bd-kpi {
  --bd-kpi-accent: #0053a6;
  --bd-kpi-wash: #e4eef8;
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  padding: 10px 10px 12px;
  min-height: 72px;
  box-shadow: 0 1px 0 rgba(10, 22, 48, .05), 0 8px 18px rgba(10, 22, 48, .05);
}
.bd-kpi::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--bd-kpi-accent);
}
.bd-kpi.is-risk {
  --bd-kpi-accent: #e11d48;
  --bd-kpi-wash: #ffe4e6;
}
.bd-kpi.is-good {
  --bd-kpi-accent: #15803d;
  --bd-kpi-wash: #dcfce7;
}
.bd-kpi.is-navy {
  --bd-kpi-accent: #0053a6;
  --bd-kpi-wash: #e4eef8;
}
.bd-kpi-top {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
}
.bd-kpi-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--bd-kpi-wash);
  color: var(--bd-kpi-accent);
}
.bd-kpi-mark svg { display: block; }
.bd-kpi-lab {
  min-width: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  color: #475569;
}
.bd-kpi b {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
  color: #0a1630;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bd-sec {
  margin: 8px 16px 0;
  padding: 14px 12px 12px;
  background: #fff;
  border-radius: 14px;
}
.bd-sec h2 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 900;
  color: #0a1630;
}
.bd-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}
.bd-si span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}
.bd-si b {
  display: block;
  margin-top: 3px;
  font-size: 16px;
  font-weight: 800;
  color: #0a1630;
}
.bd-chart {
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
}
.bd-eq {
  display: block;
  width: 100%;
  height: 148px;
}
.bd-tabs {
  display: flex;
  gap: 0;
  margin: -2px 0 12px;
  border-bottom: 1px solid #e2e8f0;
}
.bd-tab {
  flex: 1;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.bd-tab.is-on {
  color: #0053a6;
  border-bottom-color: #0053a6;
}
.bd-year-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.bd-year-card {
  min-height: 132px;
  padding: 14px 6px 12px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
}
.bd-year-num {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.bd-year-empty {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
}
.bd-year-pnl {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}
.bd-year-meta,
.bd-year-pct {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.bd-year-card.is-up {
  background: #16a34a;
  border-color: #15803d;
  color: #fff;
}
.bd-year-card.is-up .bd-year-pnl,
.bd-year-card.is-up .bd-year-pct { color: #d9f99d; }
.bd-year-card.is-down {
  background: #e11d48;
  border-color: #be123c;
  color: #fff;
}
.bd-year-card.is-down .bd-year-pnl,
.bd-year-card.is-down .bd-year-pct { color: #ffe4e6; }
.bd-cal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}
.bd-cal-nav strong {
  min-width: 108px;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
  color: #0a1630;
}
.bd-cal-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #dbe4f0;
  background: #f8fafc;
  color: #0a1630;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.bd-cal-sum {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-height: 108px;
  margin: 0 0 14px;
  padding: 14px 16px 16px;
  border-radius: 16px;
  background: #f4f7fb;
  border: 1px solid #d7e3f0;
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px rgba(10, 22, 48, .06);
  box-sizing: border-box;
}
.bd-cal-sum.is-up {
  background: #f3faf6;
  border-color: #c9e8d4;
}
.bd-cal-sum.is-down {
  background: #fdf4f6;
  border-color: #f0c9d2;
}
.bd-cal-vol {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 15px;
  font-weight: 800;
  color: #0a1630;
  font-variant-numeric: tabular-nums;
}
.bd-cal-vol em,
.bd-cal-vol i {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}
.bd-cal-vol i { margin: 0 2px; }
.bd-cal-total {
  display: block;
  margin: 8px 0 6px;
  min-height: 1.15em;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.bd-cal-wl {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}
.bd-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}
.bd-cal-cell {
  position: relative;
  min-height: 70px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 16px 1px 5px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  text-align: center;
}
.bd-cal-cell.is-head {
  min-height: 22px;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
}
.bd-cal-cell.is-empty {
  padding: 0;
  background: transparent;
  border: 0;
}
.bd-cal-num {
  position: absolute;
  top: 3px;
  left: 4px;
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  line-height: 1;
}
.bd-cal-pnl {
  font-size: 9px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.bd-cal-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 7px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.15;
}
.bd-cal-sub em {
  font-style: normal;
  font-size: inherit;
  font-weight: inherit;
}
.bd-cal-cell.is-up {
  background: rgba(22, 163, 74, calc(.08 + var(--intensity, .2) * .32));
  border-color: rgba(22, 163, 74, .28);
  color: #15803d;
}
.bd-cal-cell.is-down {
  background: rgba(225, 29, 72, calc(.08 + var(--intensity, .2) * .32));
  border-color: rgba(225, 29, 72, .28);
  color: #be123c;
}
.bd-cal-cell.is-up .bd-cal-pnl { color: #15803d; }
.bd-cal-cell.is-down .bd-cal-pnl { color: #be123c; }
.bd-mon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.bd-mon-cell {
  min-height: 106px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  text-align: center;
}
.bd-mon-cell.is-empty {
  opacity: .45;
}
.bd-mon-lab {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
}
.bd-mon-pnl {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.bd-mon-sub {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}
.bd-mon-cell.is-up {
  background: rgba(22, 163, 74, calc(.08 + var(--intensity, .2) * .3));
  border-color: rgba(22, 163, 74, .28);
}
.bd-mon-cell.is-up .bd-mon-pnl { color: #15803d; }
.bd-mon-cell.is-down {
  background: rgba(225, 29, 72, calc(.08 + var(--intensity, .2) * .3));
  border-color: rgba(225, 29, 72, .28);
}
.bd-mon-cell.is-down .bd-mon-pnl { color: #be123c; }
.bd-syms {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bd-sym-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 4px;
}
.bd-sym-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}
.bd-sym-meta em { font-style: normal; }
.bd-sym i {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: #0053a6;
}
.bd-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.bd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.bd-table th,
.bd-table td {
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid #eef2f7;
  white-space: nowrap;
}
.bd-table th {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
}
.bd-table td {
  font-weight: 700;
  color: #0a1630;
}
.bd-paper .up { color: #16a34a; }
.bd-paper .down { color: #e11d48; }
@media (min-width: 720px) {
  .bd-mon-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bd-cal-cell { min-height: 86px; }
  .bd-cal-pnl { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .bd-cal-cell,
  .bd-mon-cell,
  .bd-tab,
  .bd-cal-btn { transition: none; }
}

.mp-card-wrap { position: relative; }
.share-fab {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 22, 48, .55);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(0, 16, 40, .22);
}
.share-fab.is-item {
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  background: rgba(10, 22, 48, .42);
}
.share-fab.is-chrome {
  position: static;
  width: 32px;
  height: 32px;
  background: color-mix(in srgb, currentColor 10%, transparent);
  color: inherit;
  box-shadow: none;
}
.mask.full.sx-mask {
  position: absolute;
  inset: 0;
  z-index: 80;
  width: auto;
  height: auto;
  max-height: none;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: rgba(4, 10, 22, .48);
}
.sx-sheet {
  width: 100%;
  padding: 18px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-radius: 22px 22px 0 0;
  background: #141414;
  color: #fff;
}
.sx-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  opacity: .5;
}
.sx-sheet h3 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sx-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 8px;
}
.sx-item {
  border: 0;
  background: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  font: inherit;
}
.sx-item span {
  font-size: 11px;
  font-weight: 700;
  opacity: .82;
}
.sx-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-box-pack: center;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.sx-ico svg { width: 26px; height: 26px; display: block; }
.sx-ico.is-wechat { background: #07c160; }
.sx-ico.is-moments { background: #2aae67; }
.sx-ico.is-qq { background: #12b7f5; }
.sx-ico.is-qzone { background: #f5c518; color: #3a2a00; }
.sx-ico.is-weibo { background: #e6162d; }
.sx-ico.is-ding { background: #3296fa; }
.sx-ico.is-line { background: #2b2b2b; color: #f3f3f3; }
.sx-cancel {
  display: block;
  width: 100%;
  margin-top: 16px;
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  background: #2a2a2a;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
}
.sx-sheet.sx-e {
  background: #fff;
  color: #1c1917;
  border-radius: 18px 18px 0 0;
  padding: 14px 12px 14px;
  padding: 14px 12px calc(14px + constant(safe-area-inset-bottom));
  padding: 14px 12px calc(14px + env(safe-area-inset-bottom, 0px));
}
.sx-e-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 4px;
}
.sx-e-hd span {
  font-size: 15px;
  font-weight: 800;
}
.sx-e-x {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 16px;
  line-height: 26px;
  cursor: pointer;
}
.sx-e-gl {
  margin: 8px 2px 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #94a3b8;
}
.sx-e-row {
  display: -webkit-box;
  display: flex;
  -webkit-box-lines: multiple;
  flex-wrap: wrap;
  padding: 2px 0 4px;
}
.sx-e .sx-item {
  width: 62px;
  flex: none;
  margin: 0 8px 12px 0;
}
.sx-e .sx-item span {
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  opacity: 1;
  white-space: nowrap;
  margin-top: 6px;
}
.sx-e .sx-ico {
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .14), inset 0 0 0 1px rgba(0, 0, 0, .08);
}
.sx-e .sx-ico svg { width: 28px; height: 28px; }
.sx-e .sx-ico.is-wecom {
  background: transparent !important;
  box-shadow: none;
}
.sx-e .sx-ico.is-wecom svg { width: 42px; height: 42px; }
.sx-e-cancel {
  display: block;
  width: 100%;
  margin-top: 10px;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #f1f5f9;
  color: #475569;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}
.mask.full.sx-mask.is-poster {
  -webkit-box-orient: vertical;
  flex-direction: column;
  -webkit-box-align: stretch;
  align-items: stretch;
  -webkit-box-pack: start;
  justify-content: flex-start;
  overflow: hidden;
  padding: 20px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}
.mask.full.sx-mask.is-poster .sx-poster {
  -webkit-box-flex: 1;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  margin-top: 0;
  margin-bottom: 0;
}
.sx-poster {
  width: 100%;
  max-width: 420px;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  flex-direction: column;
  -webkit-box-flex: 0;
  flex: 0 0 auto;
}
.sx-poster-view {
  -webkit-box-flex: 1;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.sx-poster img {
  width: 100%;
  border-radius: 16px;
  display: block;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.sx-poster-acts {
  display: -webkit-box;
  display: flex;
  -webkit-box-flex: 0;
  flex: 0 0 auto;
  margin-top: 12px;
}
.sx-poster-acts .btn {
  -webkit-box-flex: 1;
  flex: 1 1 0;
  margin-right: 8px;
}
.sx-poster-acts .btn:last-child { margin-right: 0; flex: 1.25 1 0; }
.sx-poster-acts .btn { padding-left: 8px; padding-right: 8px; }

/* 发车帖：嵌在学习圈帖子里的随机卡片 */
.depart-nest { margin: 8px 0 10px; }
.depart-say {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-line;
}
.depart-card { font-size: 13px; line-height: 1.45; }
.depart-card .num { font-variant-numeric: tabular-nums; }
.depart-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 7px 0;
}
.depart-row span { opacity: .62; }
.depart-row b { font-weight: 700; text-align: right; }
.depart-cut {
  height: 0;
  margin: 10px 0;
  border: 0;
  border-top: 1px dashed currentColor;
  opacity: .35;
}

.depart-card.is-7 .depart-board {
  background: #0b0c0a;
  border: 3px solid #2a2618;
  border-radius: 4px;
  padding: 16px;
  box-shadow: inset 0 0 0 1px #5a4a1c;
  font-family: "Share Tech Mono", "IBM Plex Mono", ui-monospace, monospace;
  color: #e8b84a;
}
.depart-board-top { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .18em; opacity: .7; margin-bottom: 14px; }
.depart-dest { font-size: 26px; letter-spacing: .14em; font-weight: 700; margin: 0 0 6px; }
.depart-dir { font-size: 13px; color: #ff9a8a; margin: 0 0 4px; }
.depart-card.is-7 .depart-cut { border-top-style: dotted; opacity: .4; }

.depart-card.is-8 .depart-slip {
  background: #f7f1e4;
  color: #1c1917;
  padding: 14px 16px 12px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  clip-path: polygon(
    0 8px, 8px 0, 16px 8px, 24px 0, 32px 8px, 40px 0, 48px 8px, 56px 0, 64px 8px, 72px 0, 80px 8px, 88px 0, 96px 8px, 104px 0, 112px 8px, 120px 0, 128px 8px, 136px 0, 144px 8px, 152px 0, 160px 8px, 168px 0, 176px 8px, 184px 0, 192px 8px, 200px 0, 208px 8px, 216px 0, 224px 8px, 232px 0, 240px 8px, 248px 0, 256px 8px, 264px 0, 272px 8px, 280px 0, 288px 8px, 296px 0, 304px 8px, 312px 0, 320px 8px, 328px 0, 336px 8px, 344px 0, 100% 8px,
    100% calc(100% - 8px), 344px 100%, 336px calc(100% - 8px), 328px 100%, 320px calc(100% - 8px), 312px 100%, 304px calc(100% - 8px), 296px 100%, 288px calc(100% - 8px), 280px 100%, 272px calc(100% - 8px), 264px 100%, 256px calc(100% - 8px), 248px 100%, 240px calc(100% - 8px), 232px 100%, 224px calc(100% - 8px), 216px 100%, 208px calc(100% - 8px), 200px 100%, 192px calc(100% - 8px), 184px 100%, 176px calc(100% - 8px), 168px 100%, 160px calc(100% - 8px), 152px 100%, 144px calc(100% - 8px), 136px 100%, 128px calc(100% - 8px), 120px 100%, 112px calc(100% - 8px), 104px 100%, 96px calc(100% - 8px), 88px 100%, 80px calc(100% - 8px), 72px 100%, 64px calc(100% - 8px), 56px 100%, 48px calc(100% - 8px), 40px 100%, 32px calc(100% - 8px), 24px 100%, 16px calc(100% - 8px), 8px 100%, 0 calc(100% - 8px)
  );
}
.depart-shop { text-align: center; font-family: "Noto Sans SC", sans-serif; font-weight: 900; font-size: 15px; letter-spacing: .2em; }
.depart-sub { text-align: center; font-size: 12px; margin: 2px 0 8px; opacity: .6; }
.depart-big { text-align: center; font-size: 18px; font-weight: 700; padding: 4px 0; }
.depart-dash { border-top: 1px dashed #1c1917; margin: 8px 0; }
.depart-card.is-8 .depart-row { padding: 3px 0; font-size: 12px; }
.depart-card.is-8 .depart-row span { opacity: .7; }

.depart-card.is-9 .depart-term {
  background: #07140c;
  border: 1px solid #1d3a24;
  padding: 18px;
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  color: #3dba6e;
}
.depart-term-h { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .16em; opacity: .55; margin-bottom: 16px; }
.depart-term-sym { font-size: 22px; font-weight: 700; color: #7ae6a4; letter-spacing: .06em; }
.depart-term-dir { margin: 6px 0 2px; font-size: 13px; color: #ef8a8a; }
.depart-card.is-9 .depart-cut { border-top: 1px solid #245534; opacity: 1; margin: 14px 0; }
.depart-card.is-9 .depart-row span { opacity: .5; letter-spacing: .08em; }
.depart-card.is-9 .depart-row b { color: #8ef0b0; }

.depart-card.is-10 .depart-box {
  background: #101820;
  border: 1px solid #2a3a48;
  border-radius: 6px;
  overflow: hidden;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  color: #e8f1fb;
}
.depart-tabs { display: flex; }
.depart-tabs span { flex: 1; text-align: center; padding: 10px 0; font-size: 13px; font-weight: 700; background: #1a2430; color: #9aa8b5; }
.depart-tabs .on { background: #c43b4a; color: #fff; }
.depart-card.is-long .depart-tabs .on { background: #2a8f68; }
.depart-px { padding: 18px 16px 6px; text-align: center; }
.depart-px small { display: block; font-size: 11px; color: #9aa8b5; letter-spacing: .14em; margin-bottom: 6px; }
.depart-px b { display: block; font-size: 32px; line-height: 1.1; font-family: "IBM Plex Mono", ui-monospace, monospace; }
.depart-meta2 { text-align: center; font-size: 13px; color: #e07a74; font-weight: 800; margin: 8px 0 6px; }
.depart-card.is-long .depart-meta2 { color: #3ee0a2; }
.depart-box-body { padding: 4px 16px 14px; }
.depart-card.is-10 .depart-cut { border-top-color: #3a4a58; opacity: 1; }
.depart-card.is-10 .depart-row span { color: #8a98a6; opacity: 1; }

.depart-card.is-11 .depart-tape {
  background: #efe1a8;
  color: #2a2208;
  padding: 18px;
  border-left: 8px double #2a2208;
  border-right: 8px double #2a2208;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.depart-hdr { font-family: "Noto Serif SC", serif; font-weight: 700; font-size: 16px; letter-spacing: .32em; text-align: center; margin-bottom: 4px; }
.depart-card.is-11 .depart-sub { margin: 0 0 4px; opacity: 1; }
.depart-card.is-11 .depart-dir { text-align: center; font-size: 16px; font-weight: 700; font-family: "Noto Sans SC", sans-serif; color: #2a2208; }
.depart-card.is-11 .depart-cut { opacity: .55; border-top-color: #2a2208; }
.depart-card.is-11 .depart-row span { opacity: .7; }
.depart-stop { margin-top: 12px; font-size: 11px; letter-spacing: .28em; text-align: center; opacity: .7; }

.depart-card.is-12 .depart-form {
  background: #fffaf2;
  color: #1c1917;
  padding: 16px;
  box-shadow: 0 0 0 1px #d8c9a4;
}
.depart-ft { text-align: center; font-family: "Noto Serif SC", serif; }
.depart-ft b { display: block; font-size: 18px; }
.depart-ft em { display: block; font-style: normal; font-size: 13px; color: #c43b4a; font-weight: 800; margin-top: 6px; font-family: "Noto Sans SC", sans-serif; }
.depart-card.is-12 .depart-cut { border-top-color: #1c1917; opacity: .35; }
.depart-risk {
  margin-top: 4px;
  background: #fff1c8;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
}

.depart-card.is-13 .depart-map {
  background: linear-gradient(180deg, #f7f9fd 0%, #e7eef8 100%);
  color: #16324f;
  border-radius: 14px;
  padding: 16px 14px 12px;
  box-shadow: inset 0 0 0 1px rgba(22, 50, 79, .14);
}
.depart-card.is-13 .depart-top em { color: #8a6412; }
.depart-card.is-13 .depart-top strong { color: #10243c; }
.depart-card.is-13 .depart-top small { color: #c43b4a; }
.depart-card.is-13 .depart-cut { border-top-color: rgba(22, 50, 79, .28); opacity: 1; }
.depart-card.is-13 .depart-st i { color: #3d5270; opacity: 1; }
.depart-card.is-13 .depart-st b { color: #10243c; }
.depart-card.is-13 .depart-st::before { background: rgba(22, 50, 79, .22); }
.depart-card.is-13 .depart-dot { background: #f7f9fd; }
.depart-card.is-13 .depart-foot {
  color: #3d5270;
  opacity: 1;
  border-top-color: rgba(22, 50, 79, .2);
}
.depart-top { text-align: center; }
.depart-top em { display: block; font-style: normal; color: #f5d76e; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.depart-top strong { display: block; font-size: 22px; margin: 6px 0 4px; font-family: "Space Grotesk", "Noto Sans SC", sans-serif; }
.depart-top small { color: #ff8a9a; font-weight: 800; font-size: 13px; }
.depart-rail { margin: 4px 2px 0; }
.depart-st {
  display: grid;
  grid-template-columns: 22px 64px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  position: relative;
}
.depart-st::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0; bottom: 0;
  width: 2px;
  background: rgba(245,215,110,.35);
}
.depart-st:first-child::before { top: 50%; }
.depart-st:last-child::before { bottom: 50%; }
.depart-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #0b2748;
  border: 3px solid #f5d76e;
  z-index: 1;
  justify-self: center;
}
.depart-st.is-sl .depart-dot { border-color: #c43b4a; background: #c43b4a; }
.depart-st.is-now .depart-dot { border-color: #f5d76e; background: #f5d76e; }
.depart-st.is-close .depart-dot { border-color: #e8f1fb; background: #e8f1fb; }
.depart-st.is-tp .depart-dot { border-color: #2a8f68; background: #2a8f68; }
.depart-risk.is-win { background: #d8f3e4; }
.depart-pnl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 8px 0 2px;
  text-align: center;
}
.depart-pnl span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  opacity: .72;
}
/* 学习圈里嵌出的交卷卡片：盈亏 17px，金额 29px。发车不走这组字号。 */
.depart-nest .depart-card.is-handin .depart-pnl > span,
.depart-card.is-handin .depart-pnl > span {
  font-size: 17px;
}
.depart-nest .depart-card.is-handin .depart-pnl-num,
.depart-card.is-handin .depart-pnl-num {
  font-size: 29px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.depart-card.is-handin.is-win .depart-pnl-num { color: #d40018; }
.depart-card.is-handin.is-loss .depart-pnl-num { color: #0b8f3a; }
.depart-card.is-handin.is-7.is-win .depart-pnl-num,
.depart-card.is-handin.is-9.is-win .depart-pnl-num,
.depart-card.is-handin.is-10.is-win .depart-pnl-num,
.depart-card.is-handin.is-15.is-win .depart-pnl-num,
.depart-card.is-handin.is-16.is-win .depart-pnl-num { color: #ff3b3b; }
.depart-card.is-handin.is-7.is-loss .depart-pnl-num,
.depart-card.is-handin.is-9.is-loss .depart-pnl-num,
.depart-card.is-handin.is-10.is-loss .depart-pnl-num,
.depart-card.is-handin.is-15.is-loss .depart-pnl-num,
.depart-card.is-handin.is-16.is-loss .depart-pnl-num { color: #22c55e; }
.depart-nest .depart-card.is-handin.is-10 .depart-px small,
.depart-card.is-handin.is-10 .depart-px small { font-size: 15px; }
.depart-nest .depart-card.is-handin.is-10 .depart-px b.depart-pnl-num,
.depart-card.is-handin.is-10 .depart-px b.depart-pnl-num { font-size: 29px; }
.depart-st i { font-style: normal; font-size: 13px; opacity: .7; }
.depart-st b { text-align: right; font-size: 14px; font-family: "IBM Plex Mono", ui-monospace, monospace; }
.depart-foot {
  display: flex; justify-content: space-between;
  margin-top: 12px; padding-top: 10px;
  border-top: 1px dashed rgba(232,241,251,.25);
  font-size: 13px; opacity: .75;
}
.depart-foot.is-tf { border: 0; margin-top: 6px; padding-top: 0; }

.depart-card.is-14 .depart-pass {
  display: grid;
  grid-template-columns: 56px 1fr;
  background: #f7f4ee;
  color: #1c1917;
  border-radius: 10px;
  overflow: hidden;
}
.depart-stub {
  background: #0b2748;
  color: #f5d76e;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: .32em;
  font-size: 14px;
  border-right: 2px dashed rgba(247,244,238,.35);
}
.depart-main { padding: 14px; }
.depart-row1 { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .12em; color: #6b6254; }
.depart-pass-sym { font-size: 24px; font-weight: 900; font-family: "Space Grotesk", sans-serif; margin: 6px 0 2px; }
.depart-pass-dir { color: #c43b4a; font-size: 13px; font-weight: 800; margin-bottom: 2px; }
.depart-card.is-14 .depart-cut { border-top-color: #1c1917; opacity: .28; }
.depart-card.is-14 .depart-row span { opacity: .55; }

.depart-card.is-15 .depart-gold {
  background: #2a160c;
  border: 2px solid #c9a227;
  padding: 18px 16px 14px;
  box-shadow: inset 0 0 0 3px #3d2412;
}
.depart-name { font-family: "Noto Serif SC", serif; font-size: 13px; letter-spacing: .32em; color: #c9a227; text-align: center; }
.depart-pair { text-align: center; font-size: 26px; font-weight: 900; color: #f8e7b0; margin: 8px 0 4px; font-family: "Space Grotesk", sans-serif; }
.depart-gold-side { text-align: center; color: #e07a74; font-size: 13px; font-weight: 800; margin-bottom: 2px; }
.depart-card.is-15 .depart-cut { border-top-color: #c9a227; opacity: .45; }
.depart-card.is-15 .depart-row { color: #f8e7b0; }
.depart-card.is-15 .depart-row span { color: #c9a227; opacity: .75; }
.depart-card.is-15 .depart-row b { font-family: "IBM Plex Mono", ui-monospace, monospace; }

.depart-vista { position: relative; border-radius: 16px; overflow: hidden; }
.depart-vista-sky { position: relative; height: 78px; }
.depart-vista-body { padding: 12px 14px 8px; }
.depart-vista-kicker { font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.depart-vista-sym { margin: 4px 0 2px; font-size: 24px; font-weight: 900; font-family: "Space Grotesk", "Noto Sans SC", sans-serif; }
.depart-vista-dir { margin-bottom: 2px; font-size: 13px; font-weight: 800; }

.depart-card.is-16 .depart-vista {
  color: #efeaff;
  background:
    radial-gradient(1.5px 1.5px at 14% 22%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 32% 64%, rgba(255,255,255,.9) 50%, transparent 52%),
    radial-gradient(1px 1px at 58% 18%, #fff 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 76% 48%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 88% 78%, rgba(255,255,255,.85) 50%, transparent 52%),
    radial-gradient(140px 90px at 88% 0%, rgba(140, 90, 255, .5), transparent 70%),
    radial-gradient(110px 80px at 0% 100%, rgba(50, 110, 255, .35), transparent 72%),
    linear-gradient(165deg, #241448 0%, #121c4e 52%, #2a1454 100%);
}
.depart-card.is-16 .depart-vista-sky { height: 62px; }
.depart-card.is-16 .depart-vista-sky::before {
  content: "";
  position: absolute;
  right: 22px;
  top: 8px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, #f7e8ff, #8a5cff 46%, #31166e 74%);
  box-shadow: 0 0 18px rgba(150, 110, 255, .55);
}
.depart-card.is-16 .depart-vista-sky::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 24px;
  width: 72px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(230, 214, 255, .75);
  transform: rotate(-16deg);
}
.depart-card.is-16 .depart-vista-kicker { color: #cbb6ff; }
.depart-card.is-16 .depart-vista-dir { color: #ffb4c4; }
.depart-card.is-16 .depart-vista-body { padding-top: 0; }
.depart-card.is-16 .depart-cut { border-top-color: rgba(210, 190, 255, .4); opacity: 1; }
.depart-card.is-16 .depart-row { color: #efeaff; }
.depart-card.is-16 .depart-row span { color: #b7a8e6; opacity: 1; }

.depart-card.is-17 .depart-vista { background: #fff6ee; color: #2a2118; }
.depart-card.is-17 .depart-vista-sky {
  background: linear-gradient(180deg, #6eb0ff 0%, #f6c7a2 58%, #ffb085 100%);
}
.depart-card.is-17 .depart-vista-sky::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 56px;
  height: 56px;
  margin-left: -28px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #fff6d0, #ffb347 58%, #ff7a3c);
  box-shadow: 0 0 22px rgba(255, 150, 60, .7);
}
.depart-card.is-17 .depart-vista-sky::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  background: linear-gradient(180deg, transparent, #2c4a74 55%, #1b3356);
}
.depart-card.is-17 .depart-vista-kicker { color: #8a5a32; }
.depart-card.is-17 .depart-vista-dir { color: #c43b4a; }
.depart-card.is-17 .depart-cut { border-top-color: rgba(42, 33, 24, .28); opacity: 1; }
.depart-card.is-17 .depart-row span { color: #7a6556; opacity: 1; }

.depart-card.is-18 .depart-vista { background: #f3fbfb; color: #12343a; }
.depart-card.is-18 .depart-vista-sky {
  background:
    radial-gradient(120% 36px at 50% 120%, rgba(255, 214, 120, .7), transparent 70%),
    linear-gradient(180deg, #b7e6f2 0%, #3aa7c4 42%, #0f7484 100%);
}
.depart-card.is-18 .depart-vista-sky::before,
.depart-card.is-18 .depart-vista-sky::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  height: 18px;
  border-radius: 50%;
}
.depart-card.is-18 .depart-vista-sky::before { bottom: 16px; background: rgba(255, 255, 255, .32); }
.depart-card.is-18 .depart-vista-sky::after { bottom: 2px; background: rgba(255, 226, 150, .4); }
.depart-card.is-18 .depart-vista-kicker { color: #0f7484; }
.depart-card.is-18 .depart-vista-dir { color: #c43b4a; }
.depart-card.is-18 .depart-cut { border-top-color: rgba(18, 52, 58, .25); opacity: 1; }
.depart-card.is-18 .depart-row span { color: #3d6b72; opacity: 1; }

.depart-card.is-19 .depart-vista { background: #f7fbff; color: #1a3350; }
.depart-card.is-19 .depart-vista-sky {
  background:
    radial-gradient(22px 12px at 18% 34%, #fff 42%, transparent 44%),
    radial-gradient(34px 16px at 40% 52%, #fff 42%, transparent 44%),
    radial-gradient(26px 13px at 66% 28%, #fff 42%, transparent 44%),
    radial-gradient(40px 18px at 84% 50%, #fff 42%, transparent 44%),
    linear-gradient(180deg, #7ec8f8 0%, #d7eefc 72%, #d7eefc 100%);
}
.depart-card.is-19 .depart-vista-sky::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  background: linear-gradient(90deg, #8fbf6a 0 18%, #d5e7a2 18% 34%, #6ea35a 34% 52%, #e4efc0 52% 70%, #7eae62 70% 84%, #c9d98a 84% 100%);
}
.depart-card.is-19 .depart-vista-kicker { color: #3d6f99; }
.depart-card.is-19 .depart-vista-dir { color: #c43b4a; }
.depart-card.is-19 .depart-cut { border-top-color: rgba(26, 51, 80, .22); opacity: 1; }
.depart-card.is-19 .depart-row span { color: #5b7694; opacity: 1; }

.depart-card.is-20 .depart-vista { background: #f7f3ea; color: #243028; }
.depart-card.is-20 .depart-vista-sky {
  background: linear-gradient(180deg, #f6d7b0 0%, #f3b7c0 38%, #9eb4d4 100%);
}
.depart-peaks { position: absolute; inset: 0; overflow: hidden; }
.depart-peaks i {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-left-color: transparent;
  border-right-color: transparent;
}
.depart-peaks i:nth-child(1) {
  left: 6%;
  border-left-width: 54px;
  border-right-width: 54px;
  border-bottom: 36px solid #6d8b74;
}
.depart-peaks i:nth-child(2) {
  left: 28%;
  z-index: 1;
  border-left-width: 78px;
  border-right-width: 78px;
  border-bottom: 56px solid #1c3128;
}
.depart-peaks i:nth-child(3) {
  right: 2%;
  border-left-width: 62px;
  border-right-width: 62px;
  border-bottom: 42px solid #3e6250;
}
.depart-card.is-20 .depart-vista-kicker { color: #5c6b5e; }
.depart-card.is-20 .depart-vista-dir { color: #c43b4a; }
.depart-card.is-20 .depart-cut { border-top-color: rgba(36, 48, 40, .24); opacity: 1; }
.depart-card.is-20 .depart-row span { color: #5c6b5e; opacity: 1; }

.app-splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #061428;
}
.app-splash img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.app-splash-sec {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top));
  right: 14px;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(6, 20, 40, 0.55);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
}

.section-gate {
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px 48px;
}
.section-gate-card {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 53, 110, 0.06);
  padding: 36px 28px 28px;
  text-align: center;
}
.section-gate-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #eef4fb;
  color: #0053a6;
  display: grid;
  place-items: center;
}
.section-gate-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #0053a6;
}
.section-gate-card h2 {
  margin: 8px 0 0;
  font-size: 22px;
  font-weight: 700;
  color: #142033;
}
.section-gate-lead {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: #243044;
}
.section-gate-note {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #6b7788;
}
.section-gate-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}
.section-gate-btn {
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: #0053a6;
  color: #fff;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.section-gate-btn.is-ghost {
  background: #fff;
  color: #0053a6;
  border: 1px solid #c5d4e8;
}
