/* 1024：深色终端、荧光薄荷与电光紫。仅活动组件启用，不改变日常界面。 */
html body .dev-promo[hidden] { display: none !important; }
html body .dev-promo,
html[data-theme="dark"] body .dev-promo {
  --dev-mint: #bcff70;
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  margin: 0 0 16px;
  padding: 0;
  border: 1px solid #43564b;
  border-radius: 20px;
  color: #f3f8f3;
  background: radial-gradient(ellipse at 95% 65%, #6944a84d, transparent 56%),
    radial-gradient(ellipse at 5% 0%, #63a84426, transparent 50%), #101a18;
  box-shadow: 0 12px 32px #101a1826, inset 0 1px #ffffff12;
  text-align: left;
}
html body .dev-promo::before,
html[data-theme="dark"] body .dev-promo::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  width: auto;
  background-image: linear-gradient(#baff7007 1px, transparent 1px), linear-gradient(90deg, #baff7007 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
html body .dev-promo::after,
html[data-theme="dark"] body .dev-promo::after {
  content: '1024';
  position: absolute;
  z-index: -1;
  inset: auto -8px 22px auto;
  width: auto;
  height: auto;
  color: #d1ff9b06;
  background: none;
  font: 900 148px/1 ui-monospace, monospace;
  letter-spacing: -14px;
  pointer-events: none;
}
.dev-promo-terminal { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-bottom: 1px solid #ffffff12; background: #07110e55; color: #a9bbae; font: 10px/1.3 ui-monospace, monospace; }
.dev-promo-dots { display: flex; gap: 4px; }
.dev-promo-dots i { width: 6px; height: 6px; border-radius: 50%; background: #ff867a; }
.dev-promo-dots i:nth-child(2) { background: #e8d285; }
.dev-promo-dots i:nth-child(3) { background: #bcff70; }
.dev-promo-live { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; color: #bcff70; font: 600 10px/1.3 var(--font-sans, sans-serif); white-space: nowrap; }
.dev-promo-live::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px #bcff70aa; }
.dev-promo-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 23px 22px 20px; }
.dev-promo-kicker { color: #bcff70; font: 700 10px/1.4 ui-monospace, monospace; letter-spacing: .13em; }
html body .dev-promo h3 { margin: 9px 0 8px; color: #f3f8f3; font: 850 23px/1.25 var(--font-sans, sans-serif); letter-spacing: -.8px; }
html body .dev-promo p { margin: 0; color: #b3c0b8; font: 12px/1.7 var(--font-sans, sans-serif); }
.dev-promo-date { margin-top: 14px; color: #d4ded6; font-size: 10px; line-height: 1.7; }
.dev-promo-date span { display: block; color: #95aa9d; font-size: 9px; }
.dev-promo-off { position: relative; min-width: 112px; padding: 13px 14px; border: 1px solid #bcff7040; border-radius: 15px; background: linear-gradient(145deg, #bcff7012, #bcff7003); text-align: center; transform: rotate(3deg); }
.dev-promo-off > span { color: #cce7bb; font-size: 10px; letter-spacing: .12em; }
.dev-promo-off > div { display: flex; align-items: baseline; justify-content: center; gap: 3px; margin: 3px 0 5px; color: #bcff70; }
.dev-promo-off strong { font: 850 54px/.98 ui-monospace, monospace; letter-spacing: -4px; text-shadow: 0 0 30px #bcff7030; }
.dev-promo-off b { font-size: 15px; }
.dev-promo-off small { color: #c3d3c7; font-size: 9px; }
.dev-promo-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 0 20px; padding: 13px 0; border-top: 1px dashed #91aa8b40; }
.dev-promo-perks { color: #c2cec5; font-size: 10px; }
.dev-promo-perks i { margin: 0 5px; color: #6c8977; font-style: normal; }
.dev-promo-timer { color: #bcff70; font: 600 11px/1.5 ui-monospace, monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
html body .dev-promo-cta { display: flex; justify-content: space-between; align-items: center; width: calc(100% - 40px); margin: 0 20px 18px; padding: 12px 15px; border: 1px solid #d3ffa1; border-radius: 10px; background: #bcff70; color: #142418; font: 800 12px/1.3 var(--font-sans, sans-serif); cursor: pointer; transition: background .2s, box-shadow .2s; }
html body .dev-promo-cta span { font-size: 19px; line-height: 1; }
html body .dev-promo-cta:hover { background: #d4ffa6; box-shadow: 0 4px 24px #bcff7025; }
.dev-promo-cta:focus-visible { outline: 3px solid #c7b8ff; outline-offset: 3px; }
.has-dev-promo .wm-head { border-bottom-color: #a3c17b40; }
html body .nav-item .ni-badge-promo { color: #203a18; border: 1px solid #9bcb70; background: #d4f5b5; font-size: 10px; box-shadow: none; }
html body .welcome-badges .wb-chip-promo { color: #315e26; border-color: #b0d49b; background: #e5f5da; }
html body .points-purchase.has-dev-promo .points-card.promo { border-color: #a1bf8a; background: linear-gradient(145deg, #f9fff4, #f1f6ec); }
html body .points-purchase.has-dev-promo .points-card.promo.active { border-color: #5a843a; box-shadow: 0 0 0 1px #5a843a, 0 7px 18px #406d2612; }
html body .points-purchase.has-dev-promo .points-card.promo .pc-price { color: #315d24; }
html body .points-purchase.has-dev-promo .pc-promo-off { color: #426a2b; border-color: #afce96; background: #e5f4d6; }
html body .points-purchase.has-dev-promo .pc-price-old { color: #7d8a74; }
html body .points-purchase.has-dev-promo .pay-btn { box-shadow: 0 6px 18px #38572b20; }
html body .points-purchase.has-dev-promo .points-head { margin-top: 0; padding: 13px 20px; border: 1px solid #a5bf8f40; border-radius: 12px; background: #eaf1e580; box-shadow: none; }
html body .points-purchase.has-dev-promo .points-head::after,
html body .points-purchase.has-dev-promo .points-head-glow,
html body .points-purchase.has-dev-promo .points-head-kicker { display: none; }
html body .points-purchase.has-dev-promo .points-head-title { color: var(--text); font-size: 16px; text-shadow: none; }
html body .points-purchase.has-dev-promo .points-head-sub { color: var(--text-secondary); font-size: 10px; }
html body .points-purchase.has-dev-promo .points-balance { padding: 8px 12px; border-color: #a5bf8f40; background: #ffffff80; box-shadow: none; animation: none; }
html body .points-purchase.has-dev-promo .points-balance .pb-value { color: #46732c; }
html body .points-purchase.has-dev-promo .points-card.active .pc-selected { background: #41662e; border-color: #41662e; color: #fff; box-shadow: none; }
html body .points-purchase.has-dev-promo .points-card.active { transform: none; }
html[data-theme="dark"] body .points-purchase.has-dev-promo .points-head { background: #1b2c2080; }
html[data-theme="dark"] body .points-purchase.has-dev-promo .points-balance { background: #0d1b1280; }
html[data-theme="dark"] body .points-purchase.has-dev-promo .points-balance .pb-value { color: #bcff70; }
html[data-theme="dark"] body .points-purchase.has-dev-promo .points-card.promo { border-color: #466038; background: linear-gradient(145deg, #1b2c20, #18231e); }
html[data-theme="dark"] body .points-purchase.has-dev-promo .points-card.promo.active { border-color: #a9e477; box-shadow: 0 0 0 1px #a9e477, 0 7px 20px #0003; }
html[data-theme="dark"] body .points-purchase.has-dev-promo .points-card.promo .pc-price { color: #bcff70; }
html[data-theme="dark"] body .points-purchase.has-dev-promo .pc-promo-off { color: #c6f69c; border-color: #638742; background: #2b4224; }
html[data-theme="dark"] body .welcome-badges .wb-chip-promo { color: #c6f69c; border-color: #527143; background: #253b28; }
@media (min-width: 700px) {
  .points-promo-strip.dev-promo .dev-promo-main { padding: 24px 28px; }
  .points-promo-strip.dev-promo h3 { font-size: 28px; }
  .points-promo-strip.dev-promo .dev-promo-off { min-width: 160px; transform: rotate(2deg); }
  .points-promo-strip.dev-promo .dev-promo-off strong { font-size: 66px; }
}
@media (max-width: 480px) {
  html body .dev-promo { border-radius: 15px; }
  .dev-promo-terminal { gap: 7px; padding: 11px 13px; font-size: 9px; }
  .dev-promo-live { font-size: 9px; }
  .dev-promo-main { gap: 12px; padding: 19px 14px 15px; }
  .dev-promo-kicker { font-size: 9px; letter-spacing: .06em; }
  html body .dev-promo h3 { font-size: 20px; }
  html body .dev-promo p { max-width: 17em; font-size: 10px; }
  .dev-promo-date { margin-top: 10px; font-size: 9px; }
  .dev-promo-off { min-width: 89px; padding: 13px 8px; border-radius: 12px; }
  .dev-promo-off strong { font-size: 43px; letter-spacing: -3px; }
  .dev-promo-off b { font-size: 12px; }
  .dev-promo-off small { font-size: 8px; }
  .dev-promo-foot { margin: 0 14px; }
  .dev-promo-perks, .dev-promo-timer { font-size: 9px; }
  html body .dev-promo-cta { width: calc(100% - 28px); margin: 0 14px 14px; }
  html body .points-purchase.has-dev-promo .points-head { gap: 8px; padding: 12px; }
  html body .points-purchase.has-dev-promo .points-head-title { font-size: 14px; }
}
@media (max-width: 360px) {
  .dev-promo-main { gap: 8px; }
  html body .dev-promo h3 { font-size: 17px; }
  .dev-promo-terminal > span:nth-child(2) { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) { html body .dev-promo-cta { transition: none; } }
