/* MTG Budget Swaps (plan 057303) — self-contained styles (dark theme, accent #a2e7ee). */

.bs-wrap { max-width: 900px; margin: 0 auto; padding: 24px 16px 60px; color: #e8eef0; }

.bs-hero { text-align: center; margin-bottom: 22px; }
.bs-hero h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 10px; color: #fff; }
.bs-hero p.bs-lead { font-size: 1.05rem; color: #b9c7cc; max-width: 700px; margin: 0 auto; }

.bs-tool {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(162, 231, 238, 0.18);
  border-radius: 14px;
  padding: 18px;
  margin: 22px 0;
}
.bs-tool-label { display: block; font-weight: 600; margin-bottom: 8px; color: #cfeef2; }
#bs-input {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  box-sizing: border-box;
  background: #0e1a1d;
  color: #e8eef0;
  border: 1px solid rgba(162, 231, 238, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.5;
}
#bs-input:focus { outline: none; border-color: #a2e7ee; box-shadow: 0 0 0 2px rgba(162, 231, 238, 0.2); }

.bs-tool-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; }

.bs-btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 1rem;
  transition: transform 0.12s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.bs-btn-primary { background: linear-gradient(90deg, #4196e0, #a2e7ee); color: #06222a; }
.bs-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(65, 150, 224, 0.35); }
.bs-btn[disabled] { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }

.bs-example { color: #a2e7ee; font-size: 0.92rem; text-decoration: underline; cursor: pointer; background: none; border: none; }

.bs-status { margin-top: 12px; color: #a2e7ee; font-size: 0.95rem; }

/* results */
.bs-results { margin-top: 8px; }
.bs-muted { color: #9fb0b6; }
.bs-error { color: #f0a0a0; }
.bs-fineprint { font-size: 0.82rem; margin-top: 14px; }
.bs-h3 { color: #fff; font-size: 1.2rem; margin: 0 0 12px; }
.bs-section { margin: 26px 0; }

.bs-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.bs-stat {
  flex: 1 1 120px;
  background: rgba(162, 231, 238, 0.08);
  border: 1px solid rgba(162, 231, 238, 0.16);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}
.bs-stat-val { font-size: 1.4rem; font-weight: 800; color: #a2e7ee; }
.bs-stat-lbl { font-size: 0.8rem; color: #b9c7cc; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.04em; }

.bs-commander { color: #c2ced2; margin: 6px 0 0; font-size: 0.95rem; }
.bs-commander-lbl { color: #a2e7ee; font-weight: 700; }

/* price list */
.bs-pricelist { display: flex; flex-direction: column; gap: 6px; }
.bs-price-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px; padding: 10px 14px; background: rgba(255, 255, 255, 0.03);
}
.bs-price-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: #fff; }
.bs-qty { color: #9fb0b6; font-size: 0.88rem; }
.bs-role { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: #9fdbe2; background: rgba(162, 231, 238, 0.12); border-radius: 999px; padding: 2px 9px; }
.bs-price-val { font-weight: 800; color: #f0cd86; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* CTA */
.bs-cta { margin: 26px 0; border: 1px dashed rgba(162, 231, 238, 0.4); border-radius: 14px; padding: 20px; text-align: center; background: rgba(162, 231, 238, 0.06); }
.bs-cta-text { color: #c2ced2; max-width: 640px; margin: 0 auto 14px; }
.bs-cta .bs-muted { margin-top: 12px; font-size: 0.85rem; }

/* swap results */
.bs-swap-results { margin-top: 18px; }
.bs-savings {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  background: linear-gradient(90deg, rgba(94, 201, 138, 0.16), rgba(162, 231, 238, 0.10));
  border: 1px solid rgba(94, 201, 138, 0.3); border-radius: 12px; padding: 16px 18px; margin-bottom: 16px;
}
.bs-savings-val { font-size: 1.7rem; font-weight: 800; color: #8fe3b1; }
.bs-savings-lbl { color: #c2ced2; font-size: 0.92rem; }

.bs-swap { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; background: rgba(255, 255, 255, 0.03); }
.bs-swap-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.bs-swap-orig { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bs-swap-orig-name { font-weight: 700; color: #fff; }
.bs-swap-orig-price { font-weight: 800; color: #f0a0a0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bs-swap-suggestions { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.bs-swap-sug { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bs-swap-arrow { color: #a2e7ee; font-weight: 700; }
.bs-swap-sug-name { color: #e8eef0; flex: 1 1 auto; }
.bs-swap-sug-price { color: #cfd9dc; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bs-swap-sug-save { font-size: 0.8rem; font-weight: 700; color: #8fe3b1; background: rgba(94, 201, 138, 0.16); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }

/* unmatched */
.bs-unmatched { margin-top: 18px; }
.bs-unmatched summary { cursor: pointer; color: #9fb0b6; font-size: 0.9rem; }
.bs-unmatched-list { margin: 10px 0 0; padding-left: 20px; color: #b9c7cc; font-size: 0.88rem; }

/* SEO copy */
.bs-copy { margin: 40px 0 0; line-height: 1.65; color: #c7d2d6; }
.bs-copy h2 { color: #fff; font-size: 1.4rem; margin: 30px 0 10px; }
.bs-copy h3 { color: #dff3f6; font-size: 1.1rem; margin: 22px 0 8px; }
.bs-copy p { margin: 0 0 14px; }
.bs-copy a { color: #a2e7ee; }
.bs-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.bs-links a { display: inline-block; padding: 9px 16px; border: 1px solid rgba(162, 231, 238, 0.3); border-radius: 999px; color: #a2e7ee; text-decoration: none; font-size: 0.92rem; }
.bs-links a:hover { background: rgba(162, 231, 238, 0.1); }

@media (max-width: 600px) {
  .bs-hero h1 { font-size: 1.55rem; }
  .bs-stat { flex-basis: 40%; }
  .bs-savings-val { font-size: 1.4rem; }
}
