
/* ===== SYNERGY V20.34 PREVIEW HARD FIX ===== */

#sy234-preview {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147485000 !important;
  display: none;
  background:
    radial-gradient(circle at top right, rgba(37,99,235,.22), transparent 34%),
    radial-gradient(circle at bottom left, rgba(34,197,94,.16), transparent 34%),
    linear-gradient(180deg, #07101f 0%, #101b37 100%) !important;
  color: #fff !important;
  overflow: auto !important;
}

#sy234-preview.show {
  display: block !important;
}

.sy234-top {
  position: sticky !important;
  top: 0 !important;
  z-index: 2147485100 !important;
  background: rgba(2,6,12,.98) !important;
  border-bottom: 3px solid #dc2626 !important;
  padding: 10px !important;
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  box-shadow: 0 14px 32px rgba(0,0,0,.35) !important;
}

.sy234-top button {
  min-height: 44px !important;
  padding: 9px 16px !important;
  border-radius: 13px !important;
  border: 2px solid #ef4444 !important;
  background: linear-gradient(135deg, #991b1b, #dc2626) !important;
  color: #fff !important;
  font-weight: 950 !important;
}

.sy234-wrap {
  width: min(1900px, calc(100vw - 28px)) !important;
  margin: 18px auto !important;
}

.sy234-wrap h1 {
  color: #fff !important;
  font-size: 32px !important;
  font-weight: 950 !important;
  margin: 12px 0 18px 0 !important;
}

.sy234-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(520px, 1fr)) !important;
  gap: 16px !important;
}

.sy234-card {
  background: rgba(15,23,42,.94) !important;
  border: 1px solid rgba(239,68,68,.55) !important;
  border-radius: 20px !important;
  padding: 18px !important;
}

.sy234-card h2 {
  color: #fff !important;
  text-align: center !important;
  margin: 0 0 14px 0 !important;
  font-size: 26px !important;
  font-weight: 950 !important;
}

.sy234-pos-title {
  background: linear-gradient(180deg, #111827, #050507) !important;
  color: #fff !important;
  border: 2px solid #ef4444 !important;
  border-radius: 12px !important;
  text-align: center !important;
  padding: 10px !important;
  font-size: 20px !important;
  font-weight: 950 !important;
  margin: 14px 0 8px 0 !important;
}

.sy234-table {
  width: 100% !important;
  border-collapse: collapse !important;
  background: #fff !important;
}

.sy234-table th {
  background: #050507 !important;
  color: #fff !important;
  font-weight: 950 !important;
  padding: 8px !important;
  border: 2px solid #111 !important;
  text-align: left !important;
  white-space: nowrap !important;
}

.sy234-table td {
  background: #fff !important;
  color: #111827 !important;
  font-weight: 850 !important;
  padding: 8px !important;
  border: 2px solid #111 !important;
  vertical-align: middle !important;
}

.sy234-empty {
  background: #fff !important;
  color: #111827 !important;
  padding: 16px !important;
  font-weight: 950 !important;
  border: 3px solid #111 !important;
  border-radius: 8px !important;
}

.sy234-note {
  background: #facc15 !important;
  color: #111827 !important;
  padding: 12px !important;
  border: 2px solid #111 !important;
  font-weight: 950 !important;
  margin-bottom: 14px !important;
}

body.sy234-preview-open #sy210-preview,
body.sy234-preview-open #sy209-preview,
body.sy234-preview-open #sy232-preview,
body.sy234-preview-open #sy231-preview {
  display: none !important;
  visibility: hidden !important;
}

@media (max-width: 900px) {
  .sy234-grid {
    grid-template-columns: 1fr !important;
  }
}
