/* 趋势预测 · 浅色交易终端 */

body.page-trend {
  --trend-section-gap: 24px;
  background: #f8f9fb;
  color: var(--text-primary);
}

body.page-trend::before,
body.page-trend::after {
  display: none;
}

.page-trend .site-header,
.page-trend .mobile-header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-default);
  backdrop-filter: blur(12px);
}

.page-trend .site-logo img {
  filter: none;
}

.page-trend .page-main {
  padding-left: 0;
  padding-right: 0;
  padding-top: calc(var(--header-height) + var(--trend-section-gap));
  padding-bottom: var(--trend-section-gap);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: visible;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .page-trend .page-main {
    padding-top: calc(64px + var(--trend-section-gap));
  }
}

.trend-shell {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  flex: 1;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  gap: var(--trend-section-gap);
}

@media (min-width: 640px) {
  .trend-shell {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ========== 工作区 ========== */
.trend-workspace {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 320px;
  grid-template-rows: 1fr;
  flex: 1 1 0;
  min-height: 0;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.trend-markets,
.trend-chart,
.trend-panel {
  height: 100%;
  min-height: 0;
}

/* ========== 左侧市场列表 ========== */
.trend-markets {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-subtle);
  background: #fff;
  min-height: 0;
  overflow: hidden;
}

.trend-markets__tabs-wrap {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  padding-top: 8px;
  border-bottom: 1px solid var(--border-default);
  background: #fff;
}

.trend-markets__scroll-btn {
  flex-shrink: 0;
  width: 28px;
  font-size: 18px;
  line-height: 1;
  color: var(--text-muted);
  background: #fff;
  border: none;
  border-right: 1px solid var(--border-default);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.trend-markets__scroll-btn:last-of-type {
  border-right: none;
  border-left: 1px solid var(--border-default);
}

.trend-markets__scroll-btn:hover {
  color: var(--text-strong);
  background: var(--bg-muted);
}

.trend-markets__tabs {
  display: flex;
  flex: 1;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.trend-markets__tabs::-webkit-scrollbar {
  display: none;
}

.trend-markets__tab {
  flex-shrink: 0;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}

.trend-markets__tab:hover {
  color: var(--text-strong);
}

.trend-markets__tab.is-active {
  color: var(--text-strong);
  font-weight: 600;
  border-bottom-color: #f0b90b;
}

.trend-markets__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

.trend-markets__list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  padding: 14px 18px 12px;
  font-size: 11px;
  color: var(--text-muted);
  border-bottom: none;
  background: #fff;
}

.trend-markets__list-head-price {
  text-align: right;
  white-space: nowrap;
}

.trend-markets__list {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.trend-markets__list::-webkit-scrollbar {
  width: 4px;
}

.trend-markets__list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}

.trend-market-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 18px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.trend-market-item:hover {
  background: var(--bg-muted);
}

.trend-market-item.is-active {
  background: transparent;
}

.trend-market-item.is-active:hover {
  background: var(--bg-muted);
}

.trend-market-item__left {
  min-width: 0;
  flex: 1;
}

.trend-market-item__symbol {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.trend-market-item__name {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trend-market-item__right {
  text-align: right;
  flex-shrink: 0;
}

.trend-market-item__price {
  display: block;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-strong);
  line-height: 1.3;
}

.trend-market-item__change {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.trend-market-item__change.is-up {
  color: #16a34a;
}

.trend-market-item__change.is-down {
  color: #dc2626;
}

.trend-markets__empty {
  padding: 32px 16px;
  font-size: 13px;
  text-align: center;
  color: var(--text-muted);
}

/* ========== 中间 K 线 ========== */
.trend-chart {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  background: #fff;
  border-right: 1px solid var(--border-subtle);
  overflow: hidden;
}

.trend-chart__body {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  outline: none;
}

.trend-chart__body:focus,
.trend-chart__body:focus-within,
.trend-chart__canvas-wrap:focus,
.trend-chart__canvas-wrap:focus-within {
  outline: none;
  box-shadow: none;
}

.trend-chart__toolbar {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 16px;
  background: #fff;
  border-bottom: 1px solid var(--border-subtle);
}

.trend-chart__intervals {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.trend-chart__overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 10px 16px;
  max-width: calc(100% - 80px);
  pointer-events: none;
}

.trend-chart__ohlc-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
  pointer-events: none;
}

.trend-chart__ohlc-bar .trend-chart__ohlc-item em.is-up {
  color: #22c55e;
}

.trend-chart__ohlc-bar .trend-chart__ohlc-item em.is-down {
  color: #ef4444;
}

.trend-chart__toolbar .trend-chart__btn,
.trend-chart__intervals .trend-chart__btn {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.trend-chart__toolbar .trend-chart__btn:hover,
.trend-chart__intervals .trend-chart__btn:hover {
  color: var(--text-strong);
}

.trend-chart__toolbar .trend-chart__btn:focus,
.trend-chart__intervals .trend-chart__btn:focus {
  outline: none;
  box-shadow: none;
}

.trend-chart__toolbar .trend-chart__btn:focus-visible,
.trend-chart__intervals .trend-chart__btn:focus-visible {
  outline: none;
  box-shadow: none;
}

.trend-chart__toolbar .trend-chart__btn.is-active,
.trend-chart__toolbar .trend-chart__btn.is-active:hover,
.trend-chart__toolbar .trend-chart__btn.is-active:focus,
.trend-chart__toolbar .trend-chart__btn.is-active:focus-visible,
.trend-chart__intervals .trend-chart__btn.is-active,
.trend-chart__intervals .trend-chart__btn.is-active:hover,
.trend-chart__intervals .trend-chart__btn.is-active:focus,
.trend-chart__intervals .trend-chart__btn.is-active:focus-visible {
  color: var(--text-strong);
  font-weight: 600;
  border-bottom-color: #f0b90b;
}

.trend-chart__ohlc-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.trend-chart__ohlc-item em {
  font-style: normal;
  font-weight: 600;
}

.trend-chart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: #fff;
  flex-shrink: 0;
}

.trend-chart__head-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  min-width: 0;
  flex-shrink: 0;
}

.trend-chart__head-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.trend-chart__head-quote {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex-shrink: 0;
}

.trend-chart__name {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
}

.trend-chart__symbol {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: 0.01em;
}

.trend-chart__price {
  font-size: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.trend-chart__price.is-up {
  color: #16a34a;
}

.trend-chart__price.is-down {
  color: #dc2626;
}

.trend-chart__change-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trend-chart__change-abs,
.trend-chart__change {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.trend-chart__change-abs.is-up,
.trend-chart__change.is-up {
  color: #16a34a;
}

.trend-chart__change-abs.is-down,
.trend-chart__change.is-down {
  color: #dc2626;
}

.trend-chart__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  margin-left: auto;
  padding-top: 2px;
}

.trend-chart__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 72px;
}

.trend-chart__stat-label {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}

.trend-chart__stat-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
}

.trend-chart__canvas-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  outline: none;
}

.trend-chart__canvas-wrap:focus-visible {
  outline: none;
  box-shadow: none;
}

.trend-chart__canvas-wrap.is-loading {
  pointer-events: none;
}

.trend-chart__canvas-wrap.is-loading::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-top-color: #f0b90b;
  border-radius: 50%;
  animation: trend-chart-spin 0.65s linear infinite;
  pointer-events: none;
}

@keyframes trend-chart-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========== 右侧预测面板 ========== */
.trend-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #fff;
  overflow-y: auto;
  overflow-x: hidden;
}

.trend-panel__inner {
  padding: 20px 18px 22px;
}

.trend-panel__title {
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}

.trend-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 13px;
}

.trend-panel__label {
  color: var(--text-secondary);
}

.trend-panel__value {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-strong);
}

.trend-panel__value.is-up {
  color: #16a34a;
}

.trend-panel__value.is-down {
  color: #dc2626;
}

.trend-panel__field {
  margin-bottom: 14px;
}

.trend-panel__field .trend-panel__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
}

.trend-panel__select,
.trend-panel__input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  outline: none;
  appearance: none;
}

.trend-panel__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.trend-panel__select:focus,
.trend-panel__input:focus {
  border-color: #2962ff;
  box-shadow: 0 0 0 3px rgba(41, 98, 255, 0.12);
}

.trend-panel__input::placeholder {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-placeholder);
}

.trend-panel__input::-webkit-outer-spin-button,
.trend-panel__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.trend-panel__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.trend-panel__quick-btn {
  flex: 1;
  min-width: calc(33% - 6px);
  height: 32px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.trend-panel__quick-btn:hover {
  color: var(--text-strong);
  border-color: #2962ff;
  background: rgba(41, 98, 255, 0.06);
}

.trend-panel__hint {
  margin: -6px 0 16px;
  font-size: 11px;
  color: var(--text-muted);
}

.trend-panel__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}

.trend-panel__action-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.trend-panel__action-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 2px;
}

.trend-panel__action-meta p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #999999;
}

.trend-panel__action-col--down .trend-panel__action-meta {
  text-align: right;
}

.trend-panel__trade-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.15s ease, filter 0.15s ease;
}

.trend-panel__trade-btn i {
  font-size: 13px;
  line-height: 1;
}

.trend-panel__trade-btn:hover:not(:disabled) {
  filter: brightness(1.04);
}

.trend-panel__trade-btn:active:not(:disabled) {
  filter: brightness(0.96);
}

.trend-panel__trade-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.trend-panel__trade-btn--up {
  background: #58bd8c;
}

.trend-panel__trade-btn--down {
  background: #f24e61;
}

/* ========== 底部我的预测 ========== */
.trend-orders {
  background: #fff;
  flex: 0 0 380px;
  height: 380px;
  min-height: 380px;
  max-height: 380px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.trend-orders__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 20px 0;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.trend-orders__filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}
.trend-orders__filter input { accent-color: var(--accent); cursor: pointer; }

.trend-orders__tabs {
  display: flex;
  gap: 28px;
}

.trend-orders__tab {
  position: relative;
  padding: 16px 0 14px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.trend-orders__tab:hover {
  color: var(--text-primary);
}

.trend-orders__tab.is-active {
  color: var(--text-strong);
}

.trend-orders__tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #7c3aed;
  border-radius: 2px 2px 0 0;
}

.trend-orders__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 48px 14px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
.trend-orders__empty i { font-size: 30px; color: var(--border-default); }
.trend-orders__empty p { margin: 0; }

.trend-orders__wrap {
  flex: 1;
  overflow: auto;
}

.trend-orders__table {
  width: 100%;
  min-width: 980px;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 12px;
}

.trend-orders__col--order { width: 12%; }
.trend-orders__col--market { width: 9%; }
.trend-orders__col--dir { width: 6%; }
.trend-orders__col--period { width: 7%; }
.trend-orders__col--open-price { width: 9%; }
.trend-orders__col--open-time { width: 12%; }
.trend-orders__col--settle-price { width: 9%; }
.trend-orders__col--settle-time { width: 12%; }
.trend-orders__col--amount { width: 12%; }
.trend-orders__col--payment { width: 12%; }

.trend-orders__table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 14px 16px;
  font-weight: 600;
  text-align: left;
  color: var(--text-muted);
  background: #fff;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trend-orders__table td {
  padding: 15px 16px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.trend-orders__cell--empty {
  color: var(--text-muted);
}

.trend-orders__table tbody tr:hover {
  background: var(--bg-muted);
}

.trend-orders__table td.trend-orders__dir--up {
  color: #16a34a;
  font-weight: 600;
}

.trend-orders__table td.trend-orders__dir--down {
  color: #dc2626;
  font-weight: 600;
}

.trend-status {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
}

.trend-status--pending {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.1);
}

.trend-status--won {
  color: #16a34a;
  background: rgba(34, 197, 94, 0.12);
}

.trend-status--lost {
  color: var(--text-muted);
  background: var(--bg-muted);
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
  .trend-workspace {
    grid-template-columns: 280px minmax(0, 1fr) 300px;
  }
}

@media (max-width: 960px) {
  .page-trend .page-main {
    min-height: calc(100vh - 64px);
    overflow: visible;
  }

  .trend-shell {
    flex: none;
    min-height: auto;
  }

  .trend-workspace {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    flex: none;
    min-height: auto;
  }

  .trend-markets,
  .trend-chart,
  .trend-panel {
    height: auto;
  }

  .trend-markets {
    max-height: 280px;
    border-right: none;
    border-bottom: 1px solid var(--border-default);
    overflow: hidden;
  }

  .trend-markets__list {
    min-height: 0;
    overflow-y: auto;
  }

  .trend-orders {
    flex: none;
    height: 340px;
    min-height: 340px;
    max-height: 340px;
    border-radius: 14px;
  }

  .trend-chart {
    min-height: 420px;
    border-right: none;
  }

  .trend-workspace {
    border-radius: 14px;
  }

  .trend-panel {
    border-top: 1px solid var(--border-default);
  }

  .trend-chart__stats {
    margin-left: 0;
    width: 100%;
  }
}

/* 订单 盈利/亏损 */
.trend-pnl { font-weight: 600; }
.trend-pnl.is-profit { color: #16a34a; }
.trend-pnl.is-loss { color: #dc2626; }

/* 获胜情况 */
.trend-result { font-weight: 600; }
.trend-result.is-win { color: #16a34a; }
.trend-result.is-lose { color: #9ca3af; }

/* ========== 方向预测 玩法介绍面板 ========== */
.trend-rules {
  padding: 24px 28px 28px;
  width: 100%;
  box-sizing: border-box;
}

.trend-rules__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}
.trend-rules__title::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.trend-rules__lead {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.trend-rules__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}
.trend-rules__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-primary);
}
.trend-rules__list li::before {
  content: "✓";
  flex-shrink: 0;
  margin-top: 1px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: 50%;
}

.trend-rules__example {
  background: rgba(20, 184, 166, 0.06);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 16px;
}
.trend-rules__example-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.trend-rules__example p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-primary);
  margin: 0;
}

.trend-rules__note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 10px 14px;
  background: var(--bg-muted);
  border-radius: 8px;
  margin: 0;
}

/* 玩法介绍面板可滚动 */
#trend-orders-rules { overflow-y: auto; max-height: 400px; }
