/* =========================================================================
   CloudPick VPS — 现代清爽设计系统（支持浅色 / 深色双模式 + 卡片/表格双视图）
   ========================================================================= */
:root {
  --bg: #f8fafc;
  --bg-elevated: #ffffff;
  --bg-subtle: #f1f5f9;
  --text: #0f172a;
  --text-muted: #475569;
  --text-soft: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-soft: #eff6ff;
  --accent: #059669;
  --accent-soft: #ecfdf5;
  --warn: #d97706;
  --warn-soft: #fffbeb;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.16);
  --radius: 14px;
  --radius-sm: 10px;
}

[data-theme="dark"] {
  --bg: #0b1120;
  --bg-elevated: #111827;
  --bg-subtle: #1e293b;
  --text: #f8fafc;
  --text-muted: #cbd5e1;
  --text-soft: #94a3b8;
  --border: #1e293b;
  --border-strong: #334155;
  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --primary-soft: rgba(59, 130, 246, 0.14);
  --accent: #10b981;
  --accent-soft: rgba(16, 185, 129, 0.14);
  --warn: #f59e0b;
  --warn-soft: rgba(245, 158, 11, 0.14);
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.14);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font-family: inherit;
}

.hidden {
  display: none !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 公告栏 */
.announcement-bar {
  background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 100%);
  color: #f8fafc;
  font-size: 13px;
  padding: 9px 0;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.announcement-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.announcement-cta {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
}

.announcement-cta:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* 顶部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg-elevated) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-text small {
  font-size: 11px;
  color: var(--text-soft);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.nav-tab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.nav-tab:hover {
  color: var(--text);
}

.nav-tab.active {
  background: var(--bg-elevated);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.tab-count {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--text-soft);
}

.nav-tab.active .tab-count {
  background: var(--primary-soft);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s;
}

.icon-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-highlight {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 9px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.28);
  transition: transform 0.15s, opacity 0.15s;
  white-space: nowrap;
}

.btn-highlight:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.theme-btn {
  padding: 7px 10px;
}

[data-theme="dark"] .theme-icon-moon,
:root:not([data-theme="dark"]) .theme-icon-sun {
  display: none;
}

/* Hero 区域 */
.main-content {
  padding-top: 28px;
  padding-bottom: 64px;
}

.hero-section {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 28px 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.hero-title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.hero-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

.hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-box {
  min-width: 108px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  text-align: center;
}

.stat-box strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.stat-box span {
  font-size: 12px;
  color: var(--text-soft);
}

/* 新手场景胶囊 */
.scene-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.scene-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  margin-right: 4px;
}

.scene-chip {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s;
}

.scene-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.scene-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Tab 面板 */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* 筛选条与视图切换 */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}

.search-wrap {
  position: relative;
  min-width: 240px;
  flex: 1;
  max-width: 340px;
}

.search-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-soft);
  pointer-events: none;
}

.search-wrap input,
.filter-controls select {
  height: 39px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.16s;
}

.search-wrap input {
  width: 100%;
  padding: 0 12px 0 36px;
}

.filter-controls select {
  padding: 0 12px;
  cursor: pointer;
}

.search-wrap input:focus,
.filter-controls select:focus {
  border-color: var(--primary);
}

.view-switcher {
  display: inline-flex;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 3px;
  border-radius: 10px;
}

.view-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.view-btn.active {
  background: var(--primary-soft);
  color: var(--primary);
}

/* 徽章体系 */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
}

.badge-accent {
  background: #10b981;
  color: #fff;
}

.badge-primary {
  background: var(--primary-soft);
  color: var(--primary);
}

.badge-green {
  background: var(--accent-soft);
  color: var(--accent);
}

.badge-warn {
  background: var(--warn-soft);
  color: var(--warn);
}

.badge-neutral {
  background: var(--bg-subtle);
  color: var(--text-muted);
}

/* 卡片导购网格 */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 18px;
}

.deal-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.deal-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
}

.deal-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.provider-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 3px 10px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
}

.provider-trigger:hover {
  opacity: 0.85;
}

.deal-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
}

.deal-subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  background: var(--bg-subtle);
  padding: 12px;
  border-radius: 10px;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-item small {
  font-size: 11px;
  color: var(--text-soft);
}

.spec-item strong {
  font-size: 13.5px;
  font-weight: 700;
}

.deal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.deal-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price-block {
  display: flex;
  flex-direction: column;
}

.price-main {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
}

.price-main small {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
}

.price-sub {
  font-size: 11.5px;
  color: var(--accent);
  font-weight: 600;
}

.deal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s, transform 0.12s;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--bg-subtle);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.coupon-btn {
  background: var(--warn-soft);
  color: var(--warn);
  border: 1px dashed color-mix(in srgb, var(--warn) 50%, transparent);
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.coupon-btn:hover {
  filter: brightness(0.95);
}

/* 极简比价表格视图 */
.table-wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.deals-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 820px;
}

.deals-table th {
  text-align: left;
  padding: 13px 16px;
  background: var(--bg-subtle);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}

.deals-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.deals-table tr:last-child td {
  border-bottom: none;
}

.deals-table tbody tr:hover {
  background: color-mix(in srgb, var(--primary-soft) 45%, transparent);
}

/* 商家口碑榜 */
.section-header {
  margin-bottom: 18px;
}

.section-header h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
}

.section-header p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
}

.provider-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.provider-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.provider-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.provider-name {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}

.provider-meta {
  font-size: 12.5px;
  color: var(--text-soft);
  margin-top: 2px;
}

.rating-pill {
  background: var(--warn-soft);
  color: var(--warn);
  font-weight: 800;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.provider-summary {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.provider-card-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

/* 工具与建站导航 */
.tools-layout {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.tools-grid,
.saas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}

.tool-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.16s;
}

.tool-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.tool-card h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
}

.tool-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.scripts-list {
  display: grid;
  gap: 14px;
}

.script-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.script-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.script-head h3 {
  margin: 0;
  font-size: 15px;
}

.script-head p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.code-box {
  background: #0f172a;
  color: #e2e8f0;
  padding: 12px 14px;
  border-radius: 9px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  overflow-x: auto;
  word-break: break-all;
}

/* 商家详情 Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  max-width: 780px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.pc-box {
  padding: 15px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.pc-box.pros {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 25%, transparent);
}

.pc-box.cons {
  background: var(--danger-soft);
  border-color: color-mix(in srgb, var(--danger) 25%, transparent);
}

.pc-box h4 {
  margin: 0 0 8px;
  font-size: 14px;
}

.pc-box ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text);
}

.pc-box li {
  margin-bottom: 5px;
}

.verdict-box {
  background: var(--bg-subtle);
  border-left: 4px solid var(--primary);
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  margin-bottom: 20px;
}

/* 空状态与页脚 */
.empty-state {
  text-align: center;
  padding: 56px 20px;
  background: var(--bg-elevated);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 28px 0;
  font-size: 13px;
  color: var(--text-soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-title {
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.footer-disclosure {
  margin: 0;
  max-width: 680px;
  line-height: 1.55;
}

.footer-links-col {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links-col a:hover {
  color: var(--primary);
}

.admin-entry-link {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  font-weight: 600;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: #0f172a;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 0;
  }
  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }
  .hide-sm {
    display: none;
  }
  .deals-grid,
  .providers-grid {
    grid-template-columns: 1fr;
  }
  .hero-section {
    padding: 20px;
  }
  .hero-title {
    font-size: 21px;
  }
}


/* =========================================================================
   实时抢小鸡补货监控模块样式
   ========================================================================= */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.stock-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 39px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.stock-toggle:hover {
  border-color: var(--primary);
  color: var(--text);
}

.stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}

.stock-pill.in-stock {
  background: var(--accent-soft);
  color: var(--accent);
}

.stock-pill.out-stock {
  background: var(--danger-soft);
  color: var(--danger);
}

.btn-waitlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--warn-soft);
  color: var(--warn);
  border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent);
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s;
}

.btn-waitlist:hover {
  filter: brightness(0.95);
}

.monitor-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 65%, #0369a1 100%);
  color: #f8fafc;
  border-radius: 18px;
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}

.monitor-hero-left {
  max-width: 660px;
}

.monitor-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.monitor-hero h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
}

.monitor-hero p {
  margin: 0;
  font-size: 14px;
  color: #cbd5e1;
}

.monitor-hero code {
  background: rgba(255, 255, 255, 0.14);
  padding: 1px 6px;
  border-radius: 5px;
  color: #fff;
}

.monitor-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.btn-tg-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #10b981;
  color: #fff;
  padding: 12px 20px;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.38);
  transition: transform 0.15s;
  white-space: nowrap;
}

.btn-tg-cta:hover {
  transform: translateY(-2px);
}

.monitor-tip {
  font-size: 12px;
  color: #cbd5e1;
}

.monitor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

.monitor-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.monitor-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.timeline-list {
  display: grid;
  gap: 10px;
}

.timeline-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.timeline-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.timeline-time {
  font-size: 12px;
  color: var(--text-soft);
  font-family: ui-monospace, monospace;
}
