/* My AI Mac · v2a：公告条 / 状态条 / 数据块 / 信任条 / 方案卡 / 表格
   放在 styles.css 之后引用；只用 styles.css 里已有的变量，新增的少量变量见下方 */

:root {
  --v2-tint: rgba(31, 29, 26, 0.045);
  --v2-head: #f8f5ef;
  --v2-zebra: rgba(31, 29, 26, 0.022);
  --v2-seg-on: #ffffff;
  --v2-ring: rgba(31, 29, 26, 0.28);
  --v2-hot: #d9483a;
  --v2-hot-ink: #b3382a;
  --v2-hot-soft: rgba(217, 72, 58, 0.09);
  --v2-live: #2e9e62;
  --v2-sage-ink: #4c6c4c;
  --v2-sage-soft: rgba(155, 179, 154, 0.22);
  --v2-ink: #1d1b3b;
}
@media (prefers-color-scheme: dark) {
  :root {
    --v2-tint: rgba(255, 255, 255, 0.055);
    --v2-head: #25221d;
    --v2-zebra: rgba(255, 255, 255, 0.022);
    --v2-seg-on: #34302a;
    --v2-ring: rgba(255, 255, 255, 0.3);
    --v2-hot: #f06a55;
    --v2-hot-ink: #ff907c;
    --v2-hot-soft: rgba(255, 120, 98, 0.13);
    --v2-live: #48c285;
    --v2-sage-ink: #b4cbb3;
    --v2-sage-soft: rgba(155, 179, 154, 0.15);
    --v2-ink: #1a1838;
  }
}

[hidden] {
  display: none !important;
}
.tnum {
  font-variant-numeric: tabular-nums;
}

/* ---------- 呼吸点（通用） ---------- */
.pulse {
  position: relative;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pulse, var(--v2-hot));
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  opacity: 0;
}
.pulse.is-live {
  --pulse: var(--v2-live);
}
.pulse.is-off {
  --pulse: var(--text-3);
}
@media (prefers-reduced-motion: no-preference) {
  .pulse:not(.is-off)::after {
    animation: v2-breathe 1.9s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
  }
}
@keyframes v2-breathe {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70%,
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

/* ---------- 1. 顶部公告条 ---------- */
.announce {
  position: relative;
  z-index: 51;
  background: var(--v2-ink);
  color: #e6e4ff;
  font-size: 13px;
  line-height: 1.5;
}
html.announce-off .announce {
  display: none;
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 44px;
  text-align: center;
}
.announce .pulse {
  --pulse: #ff7d66;
}
.announce-text {
  text-wrap: balance;
}
.announce-text b {
  color: #fff;
  font-weight: 600;
}
.announce a {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}
.announce a:hover {
  text-decoration-color: #fff;
}
.announce-close {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    color 0.2s,
    background-color 0.2s;
}
.announce-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.announce-close svg {
  width: 16px;
  height: 16px;
}
@media (prefers-color-scheme: dark) {
  .announce {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}
@media (min-width: 768px) {
  .announce-inner {
    padding-inline: 56px;
  }
  .announce-close {
    right: 12px;
  }
}

/* ---------- 2a. 首屏「绝不使用数据中心 IP」标签 ---------- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 12px 3px 3px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow:
    inset 0 0 0 1px var(--hairline),
    var(--shadow-sm);
  font-size: 13px;
  line-height: 1.3;
}
.hero-badge strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  height: 28px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 6px 14px -6px rgba(91, 87, 224, 0.7);
}
.hero-badge strong svg {
  width: 15px;
  height: 15px;
  flex: none;
}
.hero-badge > span {
  padding-left: 10px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 960px) {
  .hero-badge {
    font-size: 14px;
  }
  .hero-badge strong {
    height: 30px;
    padding: 0 14px 0 11px;
  }
}

/* ---------- 2b. 实时状态条 ---------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 34px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline);
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
}
.status-text {
  min-width: 0;
}
.status-text b {
  font-weight: 600;
  color: var(--v2-sage-ink);
}
.status-time {
  color: var(--text-2);
  white-space: nowrap;
}
.status-time::before {
  content: "·";
  margin-right: 8px;
  color: var(--text-3);
}
.status[data-state="loading"] .pulse {
  --pulse: var(--text-3);
}
.status[data-state="loading"] .pulse::after {
  animation: none;
}
.status[data-state="online"] .pulse {
  --pulse: var(--v2-live);
}
.status[data-state="offline"] .pulse {
  --pulse: var(--v2-hot);
}
.status[data-state="offline"] .status-text b {
  color: var(--v2-hot-ink);
}
.status[data-state="error"] .pulse {
  --pulse: var(--text-3);
}
.status[data-state="error"] .pulse::after {
  animation: none;
}
.status[data-state="error"] .status-text {
  color: var(--text-2);
}
@media (max-width: 419px) {
  .status-time {
    display: none;
  }
}
@media (min-width: 960px) {
  .hero .status {
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    backdrop-filter: blur(14px) saturate(150%);
  }
}

/* ---------- 2c. 首屏 4 个数据块 ---------- */
.kpis {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: -36px 10px 0;
  background: var(--surface);
  border-radius: 20px;
  box-shadow:
    var(--shadow-md),
    inset 0 0 0 1px var(--hairline);
}
.kpi {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  padding: 16px 12px 16px 14px;
}
.kpi:nth-child(even) {
  border-left: 1px solid var(--hairline);
}
.kpi:nth-child(n + 3) {
  border-top: 1px solid var(--hairline);
}
.kpi-ic {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary-ink);
}
.kpi-ic svg {
  width: 18px;
  height: 18px;
}
.kpi-value {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
  word-break: keep-all;
}
.kpi-label {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-2);
}
@media (min-width: 600px) {
  .kpis {
    margin-inline: 20px;
  }
  .kpi {
    padding: 18px 18px;
    column-gap: 12px;
  }
}
@media (min-width: 960px) {
  .kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: -56px 40px 0;
    border-radius: 24px;
    box-shadow:
      var(--shadow-lg),
      inset 0 0 0 1px var(--hairline);
  }
  .kpi {
    padding: 24px 24px;
    column-gap: 14px;
  }
  .kpi:nth-child(n + 3) {
    border-top: 0;
  }
  .kpi + .kpi {
    border-left: 1px solid var(--hairline);
  }
  .kpi-ic {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  .kpi-ic svg {
    width: 22px;
    height: 22px;
  }
  .kpi-value {
    font-size: 18px;
  }
  .kpi-label {
    font-size: 13px;
  }
}

/* ---------- 3. 信任条 ---------- */
.trust {
  padding: 22px 0 4px;
}
.trust-list {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0 calc(var(--pad) * -1);
  padding: 4px var(--pad);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 var(--pad),
    #000 calc(100% - 36px),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 var(--pad),
    #000 calc(100% - 36px),
    transparent 100%
  );
}
.trust-list::-webkit-scrollbar {
  display: none;
}
.trust-item {
  flex: none;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.4;
  white-space: nowrap;
}
.trust-item svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--primary-ink);
}
@media (min-width: 760px) {
  .trust-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 32px;
    margin: 0;
    padding: 0;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
}
@media (min-width: 1080px) {
  .trust {
    padding-top: 36px;
  }
  .trust-list {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0 12px;
  }
  .trust-item {
    font-size: 14.5px;
  }
  .trust-item + .trust-item::before {
    content: "";
    width: 1px;
    height: 14px;
    margin-right: 4px;
    background: var(--hairline-2);
    position: relative;
    left: -18px;
  }
}

/* ---------- 4. 方案卡 ---------- */
.plans {
  display: grid;
  gap: 16px;
  max-width: 600px;
  margin-inline: auto;
}
@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: none;
    align-items: stretch;
  }
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 20px 20px;
  background: var(--surface);
  border-radius: 24px;
  box-shadow:
    var(--shadow-sm),
    inset 0 0 0 1px var(--hairline);
}
.plan.is-featured {
  box-shadow:
    var(--shadow-md),
    inset 0 0 0 1.5px var(--primary);
}
@media (min-width: 900px) {
  .plan {
    padding: 26px 24px 24px;
  }
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 24px;
}
.plan-kind {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-2);
}
.plan-chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.plan-name {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.plan-desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
}

/* 库存标签 */
.stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  min-height: 26px;
  margin-top: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--v2-tint);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
}
.stock .pulse {
  width: 6px;
  height: 6px;
}
.stock.is-last {
  background: var(--v2-hot-soft);
  color: var(--v2-hot-ink);
}
.stock.is-last .pulse {
  --pulse: var(--v2-hot);
}
.stock.is-left {
  background: var(--v2-sage-soft);
  color: var(--v2-sage-ink);
}
.stock.is-left .pulse {
  --pulse: var(--v2-live);
}
.stock.is-preorder {
  background: var(--v2-sage-soft);
  color: var(--v2-sage-ink);
}
.stock.is-preorder .pulse {
  --pulse: var(--v2-sage-ink);
  animation: none;
}
.stock.is-soldout {
  background: var(--v2-tint);
  color: var(--text-2);
}

/* 价格 */
.plan-price {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}
.price-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 6px;
}
.price-line .cur {
  font-size: 20px;
  font-weight: 600;
}
.price-line .amt {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.price-line .per {
  font-size: 15px;
  color: var(--text-2);
}
.price-line .was {
  margin-left: 4px;
  font-size: 14px;
  color: var(--text-2);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}
.price-line .na {
  font-size: 28px;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.2;
}
.price-sub {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.price-sub .save {
  color: var(--v2-hot-ink);
  font-weight: 600;
}
.price-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--coral-ink);
}
.price-hint svg {
  flex: none;
  width: 14px;
  height: 14px;
}

/* 选项组 */
.plan-opts {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.opt {
  min-width: 0;
}
.opt-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.opt-label small {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-2);
}

/* 付费周期切换 */
.seg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: var(--v2-tint);
}
.seg label {
  position: relative;
  display: block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.seg input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.seg span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 4px 6px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition:
    background-color 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.seg small {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--v2-hot-ink);
}
.seg label:hover span {
  color: var(--text);
}
.seg input:checked + span {
  background: var(--v2-seg-on);
  color: var(--text);
  box-shadow:
    0 1px 2px rgba(31, 29, 26, 0.06),
    0 4px 12px -4px rgba(31, 29, 26, 0.14);
}
.seg input:focus-visible + span {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

/* 网络二选一 */
.choices {
  display: grid;
  gap: 8px;
}
.choice {
  position: relative;
  display: block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.choice-box {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  padding: 12px 14px 11px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline-2);
  transition:
    box-shadow 0.2s,
    background-color 0.2s;
}
.choice-radio {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--v2-ring);
  transition: box-shadow 0.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.choice-title {
  grid-column: 2;
  grid-row: 1;
  padding-right: 34px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
}
.choice-sub {
  grid-column: 2;
  grid-row: 2;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-2);
}
.choice-price {
  grid-column: 3;
  grid-row: 2;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.choice-flag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 9px;
  border-radius: 0 14px 0 10px;
  background: var(--coral);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.04em;
}
.choice:hover .choice-box {
  box-shadow: inset 0 0 0 1px var(--primary);
}
.choice input:checked + .choice-box {
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 1.5px var(--primary);
}
.choice input:checked + .choice-box .choice-radio {
  background: #fff;
  box-shadow: inset 0 0 0 5px var(--primary);
}
.choice input:checked + .choice-box .choice-price {
  color: var(--primary-ink);
}
.choice input:focus-visible + .choice-box {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* 配置打勾清单 */
.plan-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 18px 0 0;
  display: grid;
  gap: 9px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  line-height: 1.55;
}
.plan-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.plan-list li svg {
  width: 18px;
  height: 18px;
  margin-top: 1.5px;
  color: var(--v2-sage-ink);
}
.plan-list li span {
  min-width: 0;
}
.plan-list .k {
  color: var(--text-2);
  margin-right: 6px;
}

/* 按钮区 */
.plan-cta {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}
.plan-cta-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-2);
  text-align: center;
}
.btn-outline {
  background: transparent;
  color: var(--primary-ink);
  box-shadow: inset 0 0 0 1.5px var(--primary);
}
.btn-outline:hover {
  background: var(--primary-soft);
}
.btn[disabled],
.btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}
.btn.is-loading {
  color: transparent !important;
  pointer-events: none;
}
.btn.is-loading > * {
  visibility: hidden;
}
.btn.is-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 2px solid var(--spin, #fff);
  border-right-color: transparent;
  animation: v2-spin 0.7s linear infinite;
}
.btn-outline.is-loading {
  --spin: var(--primary);
}
@keyframes v2-spin {
  to {
    transform: rotate(360deg);
  }
}

/* 售罄 */
.plan.is-soldout .price-line .amt,
.plan.is-soldout .price-line .cur {
  color: var(--text-2);
}
.plan.is-soldout .plan-opts {
  opacity: 0.5;
  pointer-events: none;
}

/* 加载骨架与错误 */
.sk {
  display: block;
  height: 14px;
  border-radius: 7px;
  background: linear-gradient(
    90deg,
    var(--v2-tint) 25%,
    var(--hairline-2) 50%,
    var(--v2-tint) 75%
  );
  background-size: 200% 100%;
}
.sk + .sk {
  margin-top: 10px;
}
.sk-title {
  height: 22px;
  width: 62%;
}
.sk-price {
  height: 40px;
  width: 46%;
  margin-top: 24px !important;
}
.sk-block {
  height: 56px;
  border-radius: 14px;
}
.sk-btn {
  height: 48px;
  border-radius: 999px;
  margin-top: 24px !important;
}
.sk-inline {
  display: inline-block;
  width: 4.5em;
  height: 0.95em;
  vertical-align: -0.12em;
  border-radius: 6px;
}
@media (prefers-reduced-motion: no-preference) {
  .sk {
    animation: v2-shimmer 1.5s linear infinite;
  }
}
@keyframes v2-shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}
.load-error {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 20px;
  border-radius: 24px;
  text-align: center;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline);
  color: var(--text-2);
  font-size: 15px;
}
.load-error svg {
  width: 28px;
  height: 28px;
  color: var(--coral);
}
.inline-error {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--coral-ink);
}

.plans-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-2);
}
.plans-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.plans-foot svg {
  width: 16px;
  height: 16px;
  color: var(--v2-sage-ink);
}

/* ---------- 5. 表格（规格表 / 对比表） ---------- */
.tbl-card {
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    var(--shadow-sm),
    inset 0 0 0 1px var(--hairline);
}
.tbl-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.tbl-scroll .tbl {
  min-width: 520px;
}
.tbl-scroll.is-fit .tbl {
  min-width: 0;
}
.tbl {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}
.tbl th,
.tbl td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--hairline);
}
.tbl td {
  color: var(--text);
  text-wrap: pretty;
}
.tbl thead th {
  padding-top: 15px;
  padding-bottom: 13px;
  background: var(--v2-head);
  vertical-align: bottom;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  border-bottom-color: var(--hairline-2);
}
.tbl tbody th {
  width: 1%;
  white-space: nowrap;
  font-weight: 500;
  color: var(--text-2);
}
.tbl tbody tr:nth-child(even) > * {
  background: var(--v2-zebra);
}
.tbl tbody tr:last-child > * {
  border-bottom: 0;
}
.tbl .c {
  text-align: center;
}
.tbl .diff {
  color: var(--primary-ink);
  font-weight: 600;
}
.tbl .muted {
  color: var(--text-2);
}
.tbl .sub {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-2);
}
.th-name {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
}
.th-meta {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-2);
}
.th-meta.is-hot {
  color: var(--v2-hot-ink);
}
.tbl tr.group > th {
  padding-top: 9px;
  padding-bottom: 9px;
  background: var(--v2-head);
  white-space: normal;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-2);
}

/* 高亮列：My AI Mac */
.tbl .is-us {
  position: relative;
  background: var(--primary-soft) !important;
  font-weight: 600;
}
.tbl thead th.is-us {
  background: var(--primary) !important;
  color: #fff;
}
.tbl thead th.is-us .th-meta {
  color: rgba(255, 255, 255, 0.82);
}
.tbl .is-dim {
  color: var(--text-2);
}
.mark {
  display: inline-flex;
  align-items: flex-start;
  gap: 7px;
}
.mark svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 0.2em;
}
.mark-yes svg {
  color: var(--v2-sage-ink);
}
.mark-no svg {
  color: var(--coral);
}
.tbl-note {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-2);
}
.tbl-hint {
  display: none;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-2);
  text-align: right;
}
@media (max-width: 559px) {
  .tbl-scroll:not(.is-fit) + .tbl-hint {
    display: block;
  }
}

@media (min-width: 960px) {
  .tbl-card {
    border-radius: 24px;
  }
  .tbl {
    font-size: 15px;
  }
  .tbl th,
  .tbl td {
    padding: 15px 22px;
  }
  .tbl thead th {
    padding-top: 18px;
    padding-bottom: 16px;
    font-size: 14px;
  }
  .th-name {
    font-size: 15.5px;
  }
  .tbl tr.group > th {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
