/* MTG Mulligan Simulator + Probability Calculator (plan 8b0e41) — dark theme, accent #a2e7ee. */

.od-wrap { max-width: 900px; margin: 0 auto; padding: 24px 16px 60px; color: #e8eef0; }
.od-hero { text-align: center; margin-bottom: 18px; }
.od-hero h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 10px; color: #fff; }
.od-hero p.od-lead { font-size: 1.05rem; color: #b9c7cc; max-width: 700px; margin: 0 auto; }

/* tabs */
.od-tabs { display: flex; gap: 8px; border-bottom: 1px solid rgba(162, 231, 238, 0.2); margin: 18px 0 0; }
.od-tab { background: none; border: none; cursor: pointer; color: #9fb0b6; font-weight: 700; font-size: 1rem; padding: 12px 16px; border-bottom: 3px solid transparent; }
.od-tab-active { color: #fff; border-bottom-color: #a2e7ee; }

.od-panel { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(162, 231, 238, 0.18); border-top: none; border-radius: 0 0 14px 14px; padding: 18px; margin-bottom: 8px; }
.od-hidden { display: none; }

.od-label { display: block; font-weight: 600; margin-bottom: 8px; color: #cfeef2; }
#od-input {
  width: 100%; min-height: 130px; 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;
}
#od-input:focus { outline: none; border-color: #a2e7ee; box-shadow: 0 0 0 2px rgba(162, 231, 238, 0.2); }

.od-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.od-btn { display: inline-block; border: none; cursor: pointer; font-weight: 700; text-decoration: none; border-radius: 10px; padding: 11px 18px; font-size: 0.98rem; transition: transform 0.12s ease, box-shadow 0.2s ease, opacity 0.2s ease; }
.od-btn-primary { background: linear-gradient(90deg, #4196e0, #a2e7ee); color: #06222a; }
.od-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(65, 150, 224, 0.35); }
.od-btn-ghost { background: rgba(162, 231, 238, 0.1); color: #cfeef2; border: 1px solid rgba(162, 231, 238, 0.3); }
.od-btn-ghost:hover { background: rgba(162, 231, 238, 0.18); }
.od-btn[disabled] { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }
.od-example { color: #a2e7ee; font-size: 0.92rem; text-decoration: underline; cursor: pointer; background: none; border: none; }
.od-status { margin-top: 12px; color: #a2e7ee; font-size: 0.95rem; }
.od-muted { color: #9fb0b6; }
.od-error { color: #f0a0a0; }
.od-fine { font-size: 0.82rem; margin-top: 12px; }

/* hand */
.od-hand { margin-top: 16px; }
.od-hand-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.od-mull-count { color: #cfeef2; font-weight: 700; }
.od-cards { display: flex; flex-wrap: wrap; gap: 10px; }
.od-card { display: flex; flex-direction: column; gap: 6px; min-width: 130px; flex: 1 1 130px; max-width: 180px; border-radius: 10px; padding: 12px; border: 1px solid rgba(255,255,255,0.12); }
.od-card-land { background: rgba(111, 176, 122, 0.12); border-color: rgba(111, 176, 122, 0.4); }
.od-card-spell { background: rgba(65, 150, 224, 0.12); border-color: rgba(65, 150, 224, 0.35); }
.od-card-bottom { opacity: 0.5; }
.od-card-bottom .od-card-name { text-decoration: line-through; }
.od-card-name { color: #fff; font-weight: 600; font-size: 0.92rem; }
.od-card-tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: #b9c7cc; }
.od-hand-summary { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: rgba(162, 231, 238, 0.08); border: 1px solid rgba(162, 231, 238, 0.18); color: #dfeaed; }

/* calculator */
.od-calc-intro { color: #c2ced2; margin: 0 0 14px; }
.od-calc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.od-field { display: flex; flex-direction: column; gap: 6px; }
.od-field label { font-size: 0.82rem; color: #b9c7cc; }
.od-field input { background: #0e1a1d; color: #e8eef0; border: 1px solid rgba(162, 231, 238, 0.25); border-radius: 8px; padding: 10px 12px; font-size: 1rem; }
.od-field input:focus { outline: none; border-color: #a2e7ee; box-shadow: 0 0 0 2px rgba(162, 231, 238, 0.2); }
.od-presets { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: #9fb0b6; font-size: 0.9rem; }
.od-preset { background: rgba(162, 231, 238, 0.1); color: #cfeef2; border: 1px solid rgba(162, 231, 238, 0.3); border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 0.85rem; }
.od-preset:hover { background: rgba(162, 231, 238, 0.18); }
.od-calc-out { margin-top: 18px; }
.od-result { text-align: center; padding: 22px; border-radius: 14px; background: linear-gradient(90deg, rgba(65, 150, 224, 0.14), rgba(162, 231, 238, 0.1)); border: 1px solid rgba(162, 231, 238, 0.25); }
.od-result-pct { font-size: 2.6rem; font-weight: 800; color: #a2e7ee; line-height: 1; }
.od-result-lbl { color: #c2ced2; margin-top: 8px; font-size: 0.95rem; }
.od-result-ctx { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.od-ctx-row { background: rgba(255,255,255,0.05); border-radius: 999px; padding: 5px 14px; color: #b9c7cc; font-size: 0.88rem; }

/* SEO copy */
.od-copy { margin: 40px 0 0; line-height: 1.65; color: #c7d2d6; }
.od-copy h2 { color: #fff; font-size: 1.4rem; margin: 30px 0 10px; }
.od-copy h3 { color: #dff3f6; font-size: 1.1rem; margin: 22px 0 8px; }
.od-copy p { margin: 0 0 14px; }
.od-copy a { color: #a2e7ee; }
.od-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.od-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; }
.od-links a:hover { background: rgba(162, 231, 238, 0.1); }

@media (max-width: 600px) {
  .od-hero h1 { font-size: 1.5rem; }
  .od-calc-grid { grid-template-columns: repeat(2, 1fr); }
  .od-result-pct { font-size: 2rem; }
}
