/* BIG SIS SIMULATOR · styles */
:root {
  --bg: #14101c;
  --card: #1e1729;
  --ink: #f6efe6;
  --ink-dim: #c9bda9;
  --gold: #e9b04c;
  --rose: #f07f9e;
  --line: rgba(233, 176, 76, 0.22);
  --radius: 18px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bs-app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 18px 18px 64px;
}

.bs-screen { display: none; }
.bs-screen--active { display: block; animation: bs-in 0.35s ease; }
@keyframes bs-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.bs-hero { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.bs-hero__img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.bs-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,28,0) 40%, rgba(20,16,28,0.85) 100%);
}
.bs-hero__badge {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  z-index: 1; white-space: nowrap;
  background: rgba(20,16,28,0.72); border: 1px solid var(--line);
  color: var(--gold); font-size: 12px; letter-spacing: 0.08em;
  padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(6px);
}

.bs-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}
.bs-card--center { text-align: center; }
.bs-card--verdict { border-color: rgba(240, 127, 158, 0.35); }
.bs-card--email { margin-top: 18px; }

.bs-eyebrow {
  margin: 0 0 10px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.bs-title {
  margin: 0 0 12px; font-size: 40px; line-height: 1.02; letter-spacing: -0.01em;
  font-family: Georgia, "Times New Roman", serif;
}
.bs-title__accent { color: var(--gold); font-style: italic; }
.bs-title--sm { font-size: 26px; }
.bs-sub { margin: 0 0 20px; color: var(--ink-dim); font-size: 16px; line-height: 1.6; }
.bs-sub strong { color: var(--ink); }

.bs-btn {
  display: inline-block; width: 100%;
  border: 0; border-radius: 999px; cursor: pointer;
  font-size: 17px; font-weight: 700; letter-spacing: 0.01em;
  padding: 15px 20px; margin: 0;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}
.bs-btn:active { transform: scale(0.98); }
.bs-btn--primary {
  background: linear-gradient(135deg, var(--gold), #d68a2e);
  color: #241708;
  box-shadow: 0 10px 26px rgba(233, 176, 76, 0.35);
}
.bs-btn--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line); box-shadow: none;
}
.bs-actions { display: grid; gap: 10px; margin-top: 18px; }

.bs-fine {
  margin: 16px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-dim);
}
.bs-disclosure {
  text-align: center; margin-top: 22px; color: var(--ink-dim); opacity: 0.85;
}

/* progress */
.bs-progress {
  display: flex; gap: 6px; margin: 4px 0 14px;
}
.bs-progress i {
  flex: 1; height: 6px; border-radius: 999px; background: rgba(246, 239, 230, 0.12);
}
.bs-progress i.on { background: linear-gradient(90deg, var(--gold), var(--rose)); }

/* dilemma */
.bs-mailbag {
  display: inline-block; margin: 0 0 12px; padding: 8px 14px;
  background: rgba(240, 127, 158, 0.12); border: 1px solid rgba(240,127,158,0.35);
  border-radius: 14px 14px 14px 4px; font-size: 14px; color: var(--ink);
}
.bs-dilemma { margin: 0 0 20px; font-size: 22px; line-height: 1.35; font-weight: 700; }
.bs-options { display: grid; gap: 10px; }
.bs-option {
  text-align: left; width: 100%; cursor: pointer;
  background: rgba(246, 239, 230, 0.05); color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 15px 16px; font-size: 15.5px; line-height: 1.45;
  transition: background 0.12s ease, transform 0.12s ease;
}
.bs-option:hover { background: rgba(246, 239, 230, 0.09); }
.bs-option:active { transform: scale(0.99); }
.bs-option:disabled { cursor: default; opacity: 0.85; }

/* verdict */
.bs-points {
  display: inline-block; margin: 2px 0 16px; padding: 10px 22px;
  border-radius: 999px; font-size: 22px; font-weight: 800;
  border: 1px solid var(--line); background: rgba(233, 176, 76, 0.12); color: var(--gold);
}
.bs-points--mid { color: #a9d6a5; background: rgba(169, 214, 165, 0.10); border-color: rgba(169,214,165,0.3); }
.bs-points--low { color: var(--rose); background: rgba(240, 127, 158, 0.10); border-color: rgba(240,127,158,0.3); }
.bs-quote {
  border-left: 3px solid var(--gold); padding: 2px 0 2px 16px; margin: 0 0 22px; text-align: left;
}
.bs-quote p { margin: 0; font-size: 18px; line-height: 1.65; font-style: italic; color: var(--ink); }

.bs-milamove {
  text-align: left; margin: 0 0 22px; padding: 14px 16px;
  background: rgba(233, 176, 76, 0.08); border: 1px dashed var(--line); border-radius: 12px;
}
.bs-milamove .bs-eyebrow { margin-bottom: 6px; }
.bs-milamove p:last-child { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink); }

/* result ring */
.bs-ring { position: relative; width: 168px; height: 168px; margin: 6px auto 18px; }
.bs-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.bs-ring__track { fill: none; stroke: rgba(246,239,230,0.12); stroke-width: 12; }
.bs-ring__fill {
  fill: none; stroke: url(#bsGrad); stroke: var(--gold); stroke-width: 12;
  stroke-linecap: round; stroke-dasharray: 415; stroke-dashoffset: 415;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.bs-ring__label {
  position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center;
  padding-top: 58px; font-size: 52px; font-weight: 800; color: var(--ink);
}
.bs-ring__label small { font-size: 20px; color: var(--ink-dim); margin-left: 4px; }

.bs-rank {
  margin: 0 0 10px; font-size: 30px; line-height: 1.15; color: var(--gold);
  font-family: Georgia, "Times New Roman", serif; font-style: italic;
}

/* share card */
.bs-share { margin-top: 20px; }
.bs-share canvas {
  width: 100%; border-radius: 14px; border: 1px solid var(--line); display: block;
  background: #1e1729;
}

/* email module placement tweaks */
.bs-card--email .mila-email__btn { margin-top: 10px; }
