:root {
  --juniora-h: 38px;
  --bg: rgb(19, 21, 25);
  --panel: #1c1f26;
  --panel-2: #23272f;
  --ink: #fff;
  --muted: #9aa3ad;
  --good: var(--jn-green, #a0e747);
  --bad: #ff6b6b;
}
* { box-sizing: border-box }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--jn-font); min-height: 100% }
body { padding-bottom: var(--juniora-h); -webkit-tap-highlight-color: transparent; }
.wrap { max-width: 600px; margin: 0 auto; padding: 26px 18px 40px; }
.head { text-align: center; margin-bottom: 20px }
.head h1 { font-size: clamp(20px, 5vw, 25px); margin: 0 0 8px }
.head p { color: var(--muted); font-size: 14px; line-height: 1.9; margin: 0 0 16px }
.progress-bar { height: 6px; border-radius: 4px; background: #2a2e36; overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: var(--good); transition: width .3s ease; }
.progress-label { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }

.scenario-card {
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px; padding: 20px 16px;
}
.intro-box {
  background: var(--panel);
  border: 1px solid rgba(160,231,71,0.2);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
}
.intro-box p { margin: 0 0 8px; font-size: 13px; line-height: 1.9; color: var(--muted); }
.intro-box p:last-child { margin-bottom: 0; }
.intro-box b { color: var(--good); }

.complaint-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  color: var(--bad);
  background: rgba(255,107,107,0.14);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.complaint {
  background: var(--panel-2);
  border-radius: 14px;
  padding: 16px;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 10px;
}
.question-prompt {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--good);
  margin: 0 0 14px;
}
.options { display: flex; flex-direction: column; gap: 10px; }
.option-btn {
  text-align: right;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--panel-2);
  color: var(--ink);
  font-family: var(--jn-font);
  font-size: 14px;
  line-height: 1.8;
  cursor: pointer;
  transition: all .15s ease;
}
.option-btn:hover { border-color: var(--good); }
.option-btn.correct { background: rgba(160,231,71,0.16); border-color: var(--good); color: var(--good); font-weight: 700; }
.option-btn.wrong { background: rgba(255,107,107,0.14); border-color: var(--bad); color: var(--bad); }
.option-btn:disabled { cursor: default; }
.option-btn:disabled:hover { border-color: rgba(255,255,255,0.1); }

.feedback {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
  min-height: 20px;
}
.next-btn {
  margin-top: 14px;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: var(--good);
  color: #10231f;
  font-weight: 900;
  font-family: var(--jn-font);
  font-size: 14px;
  cursor: pointer;
}

.result {
  text-align: center;
  margin-top: 20px;
  background: var(--panel);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.08);
}
.result h2 { margin: 0 0 8px; color: var(--good); font-size: 19px; }
.result p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.retry-btn {
  padding: 10px 20px; border-radius: 10px; border: none;
  background: var(--good); color: #10231f; font-weight: 900;
  font-family: var(--jn-font); font-size: 14px; cursor: pointer;
}

/* برند جونیورا؛ کوچیک و وسط‌چین پایین صفحه */
.juniora-overlay {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: rgba(13, 15, 19, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1000;
}
.juniora-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #9aa3ad;
  font-family: var(--jn-font);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  opacity: 0.85;
  transition: opacity .15s ease;
}
.juniora-link:hover { opacity: 1; }
.juniora-logo {
  width: 13px;
  height: auto;
  display: block;
  flex-shrink: 0;
}
.juniora-text {
  letter-spacing: normal;
}
