/* steam-sale-calendar · Steam 深蓝游戏平台风 */
.stc-wrap {
  --stc-ink: #17212b;
  --stc-bg: #eef1f4;
  --stc-card: #1b2838;
  --stc-card2: #223c50;
  --stc-txt: #c7d5e0;
  --stc-txt-strong: #ffffff;
  --stc-muted: #8fa6b8;
  --stc-cyan: #1a9fff;
  --stc-neon: #66c0f4;
  --stc-neon2: #3de8d8;
  --stc-line: rgba(102, 192, 244, .22);
  --stc-ok: #4cc763;
  --stc-warn: #e0b64a;
  --stc-bad: #e25c5c;
  --stc-radius: 14px;
  max-width: 1060px;
  margin: 0 auto;
  padding: 18px 16px 60px;
  color: var(--stc-txt-strong);
  font-size: 15.5px;
  line-height: 1.75;
}
.stc-wrap h1, .stc-wrap h2, .stc-wrap h3 { line-height: 1.35; }
.stc-wrap b { color: var(--stc-neon); }
.stc-kicker {
  display: inline-block; font-size: 13px; letter-spacing: .12em;
  color: var(--stc-neon2); border: 1px solid var(--stc-line);
  border-radius: 999px; padding: 3px 12px; margin-bottom: 12px;
  background: rgba(102, 192, 244, .08);
}
.stc-hero {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: center;
  background: linear-gradient(135deg, #1b2838 0%, #16202d 55%, #0f1c26 100%);
  border: 1px solid var(--stc-line); border-radius: var(--stc-radius);
  padding: 30px 28px; margin-bottom: 16px;
  position: relative; overflow: hidden;
  box-shadow: 0 18px 42px rgba(11, 22, 34, .45);
}
.stc-hero h1 { font-size: clamp(24px, 4vw, 34px); margin: 4px 0 10px; }
.stc-sub { color: var(--stc-txt); margin: 0 0 18px; }
.stc-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.stc-btn {
  display: inline-block; border: 1px solid var(--stc-line); cursor: pointer;
  background: var(--stc-card2); color: var(--stc-txt-strong);
  padding: 9px 18px; border-radius: 9px; font-size: 15px;
  text-decoration: none; transition: filter .15s, transform .15s;
}
.stc-btn:hover { filter: brightness(1.18); transform: translateY(-1px); }
.stc-btn.main {
  background: linear-gradient(135deg, var(--stc-cyan), var(--stc-neon2));
  color: #06202f; font-weight: 700; border-color: transparent;
}
.stc-btn.ghost { background: transparent; }
.stc-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.stc-glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; }
.stc-glow.g1 { width: 220px; height: 220px; background: #1a9fff33; right: -40px; top: -60px; }
.stc-glow.g2 { width: 180px; height: 180px; background: #3de8d822; right: 180px; bottom: -80px; }
.stc-count {
  position: relative; z-index: 1; background: rgba(15, 28, 38, .72);
  border: 1px solid var(--stc-neon); border-radius: 16px; padding: 18px 20px;
  box-shadow: 0 0 0 3px rgba(102, 192, 244, .12), inset 0 0 30px rgba(26, 159, 255, .12);
}
.stc-count-lb { display: block; font-size: 13px; color: var(--stc-muted); letter-spacing: .1em; }
.stc-count-name { display: block; font-size: 20px; margin: 4px 0 12px; color: var(--stc-neon2); }
.stc-count-digits { display: flex; gap: 8px; }
.stc-digit {
  flex: 1; text-align: center; background: #0d1a24; border: 1px solid var(--stc-line);
  border-radius: 10px; padding: 8px 2px;
}
.stc-digit b { display: block; font-size: 24px; color: var(--stc-neon); font-variant-numeric: tabular-nums; }
.stc-digit i { font-style: normal; font-size: 11px; color: var(--stc-muted); }
.stc-note {
  font-size: 13.5px; color: var(--stc-warn); background: rgba(224, 182, 74, .1);
  border: 1px dashed rgba(224, 182, 74, .5); border-radius: 10px; padding: 9px 14px; margin: 0 0 18px;
}
.stc-card {
  background: var(--stc-card); border: 1px solid var(--stc-line);
  border-radius: var(--stc-radius); padding: 24px 24px; margin-bottom: 18px;
  box-shadow: 0 8px 26px rgba(11, 22, 34, .35);
}
.stc-card h2 { font-size: 20px; margin: 0 0 12px; }
.stc-tip { font-size: 14px; color: var(--stc-muted); margin: 0 0 14px; }
.stc-tip code { background: #0d1a24; border: 1px solid var(--stc-line); border-radius: 6px; padding: 1px 6px; font-size: 13px; color: var(--stc-neon2); }
.stc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.stc-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.stc-table th, .stc-table td { border: 1px solid var(--stc-line); padding: 9px 12px; text-align: left; vertical-align: top; }
.stc-table thead th { background: var(--stc-card2); color: var(--stc-neon); white-space: nowrap; }
.stc-table tbody tr:nth-child(even) { background: rgba(34, 60, 80, .45); }
.stc-textarea {
  width: 100%; min-height: 110px; background: #0d1a24; color: var(--stc-txt-strong);
  border: 1px solid var(--stc-line); border-radius: 10px; padding: 12px 14px;
  font-size: 14px; line-height: 1.7; resize: vertical; box-sizing: border-box;
}
.stc-textarea:focus { outline: none; border-color: var(--stc-neon); box-shadow: 0 0 0 2px rgba(102, 192, 244, .2); }
.stc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.stc-err { display: block; min-height: 20px; font-size: 13.5px; color: var(--stc-bad); }
.stc-Verdict { font-size: 14px; color: var(--stc-txt); margin-top: 10px; }
.stc-tag-ok, .stc-tag-mid, .stc-tag-bad { display: inline-block; border-radius: 999px; padding: 1px 10px; font-size: 12.5px; white-space: nowrap; }
.stc-tag-ok { color: #0d2213; background: var(--stc-ok); font-weight: 600; }
.stc-tag-mid { color: #2b2005; background: var(--stc-warn); font-weight: 600; }
.stc-tag-bad { color: #2b0808; background: var(--stc-bad); font-weight: 600; }
.stc-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 6px; }
.stc-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--stc-muted); flex: 1 1 150px; }
.stc-field input {
  background: #0d1a24; color: var(--stc-txt-strong); border: 1px solid var(--stc-line);
  border-radius: 9px; padding: 9px 12px; font-size: 15px; width: 100%; box-sizing: border-box;
}
.stc-field input:focus { outline: none; border-color: var(--stc-neon); }
.stc-wish-list { display: grid; gap: 10px; margin: 12px 0; }
.stc-wish-item {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--stc-card2); border: 1px solid var(--stc-line);
  border-radius: 12px; padding: 10px 14px;
}
.stc-wish-name { font-weight: 700; min-width: 120px; }
.stc-wish-price { font-size: 14px; color: var(--stc-txt); font-variant-numeric: tabular-nums; }
.stc-wish-bar { flex: 1 1 140px; height: 8px; border-radius: 999px; background: #0d1a24; overflow: hidden; }
.stc-wish-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--stc-cyan), var(--stc-neon2)); }
.stc-wish-del { background: none; border: 1px solid var(--stc-line); color: var(--stc-bad); border-radius: 8px; cursor: pointer; padding: 4px 10px; font-size: 13px; }
.stc-wish-del:hover { background: rgba(226, 92, 92, .15); }
.stc-empty { color: var(--stc-muted); font-size: 14px; margin: 8px 0; }
.stc-advice { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.stc-advice li::marker { color: var(--stc-neon2); }
.stc-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.stc-faq { margin: 0; }
.stc-faq dt { font-weight: 700; color: var(--stc-neon); margin-top: 14px; }
.stc-faq dd { margin: 4px 0 0; color: var(--stc-txt); }
.stc-src { font-size: 13px; color: var(--stc-muted); border-top: 1px solid var(--stc-line); padding-top: 12px; margin-top: 26px; }
@media (max-width: 768px) {
  .stc-hero { grid-template-columns: 1fr; padding: 22px 18px; }
  .stc-count-digits { gap: 5px; }
  .stc-digit b { font-size: 19px; }
  .stc-card { padding: 18px 14px; }
}
@media (max-width: 400px) {
  .stc-hero-cta .stc-btn { flex: 1 1 100%; text-align: center; }
  .stc-form .stc-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .stc-btn { transition: none; }
}
/* 深色模式：本工具默认即为深蓝，深色模式进一步加深底色 */
html[data-theme="dark"] .stc-wrap {
  --stc-bg: #0c1219;
  --stc-card: #16222f;
  --stc-card2: #1d3145;
  --stc-txt: #b9c8d6;
  --stc-line: rgba(102, 192, 244, .28);
}
html[data-theme="dark"] .stc-hero {
  background: linear-gradient(135deg, #101b26 0%, #0c141d 60%, #091018 100%);
}

/* ===== v1.1 · ICS 导出 / 预算规划 / 价格历史 ===== */
.stc-ics-tip { color: var(--stc-neon2); font-size: 13px; }
.stc-hist { display: block; font-size: 13px; margin-top: 4px; }
.stc-hist.down { color: var(--stc-ok); }
.stc-hist.up { color: var(--stc-bad); }
.stc-hist.flat { color: var(--stc-muted); }
.stc-plan { margin-top: 14px; }
.stc-plan-list { margin: 0; padding-left: 20px; }
.stc-plan-list li { margin-bottom: 10px; }
.stc-plan-price { margin: 0 10px; color: var(--stc-txt); font-size: 14px; }
.stc-plan-sum { margin-top: 12px; color: var(--stc-txt); font-size: 14px; }
@media (max-width: 768px) {
  .stc-actions .stc-btn { width: 100%; margin-bottom: 8px; }
  .stc-plan-price { display: block; margin: 4px 0; }
}
