/* ============================================
   PRACTICE TEST 1 — READING PASSAGE 1
   The London Underground Railway
   ============================================ */

.pt1r1-inst-header {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 14px 20px; margin-bottom: 18px;
}
.pt1r1-inst-label { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: var(--gold); margin-bottom: 4px; }
.pt1r1-inst-text  { font-size: 1rem; color: rgba(255,255,255,0.88); line-height: 1.6; margin-bottom: 4px; }
.pt1r1-inst-tips  { font-size: .85rem; color: rgba(255,255,255,0.45); font-style: italic; }
.pt1r1-inst-sub   { font-size: .88rem; color: rgba(255,255,255,0.5); margin: -4px 0 12px; font-style: italic; }

.pt1r1-score-banner {
  display: flex; align-items: center; gap: 16px;
  background: rgba(251,191,36,0.08); border: 1.5px solid rgba(251,191,36,0.3);
  border-radius: 12px; padding: 16px 22px; margin-bottom: 20px; flex-wrap: wrap;
}
.pt1r1-score-big   { font-size: 2.6rem; font-weight: 900; color: var(--gold); line-height: 1; }
.pt1r1-score-denom { font-size: 1.4rem; color: rgba(255,255,255,0.4); }
.pt1r1-score-label { font-size: 1rem; color: rgba(255,255,255,0.8); flex: 1; }
.pt1r1-exp-hint    { font-size: .85rem; color: rgba(255,255,255,0.5); font-style: italic; width: 100%; }

/* ── Two-column layout ── */
.pt1r1-content-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  align-items: start; position: relative;
}
@media (max-width: 900px) { .pt1r1-content-wrap { grid-template-columns: 1fr; } }
.pt1r1-left-col  { min-width: 0; }
.pt1r1-right-col {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 0; min-width: 0; overflow: hidden; position: relative;
}

/* ── Section heads ── */
.pt1r1-section-head { font-size: 1rem; font-weight: 700; color: var(--gold); margin: 22px 0 6px; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 6px; }

/* ── Exam note box (Q1–6) ── */
.pt1r1-exam-box {
  background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.88);
  border: 1.5px solid rgba(255,255,255,0.12); border-radius: 10px;
  padding: 22px 26px; font-family: 'Georgia', serif; line-height: 1.9; margin-bottom: 20px;
}
.pt1r1-exam-title {
  font-size: 1.1rem; font-weight: 700; text-align: center; margin-bottom: 14px;
  font-family: 'Inter', sans-serif; color: var(--gold);
  border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 10px;
}
.pt1r1-notes-section-head {
  font-size: .95rem; font-weight: 700; margin: 14px 0 6px;
  font-family: 'Inter', sans-serif; color: rgba(255,255,255,0.9);
  text-decoration: underline; text-decoration-color: rgba(255,255,255,0.25);
}
.pt1r1-bullets { list-style: none; padding: 0; margin: 0 0 4px 14px; }
.pt1r1-bullets li { font-size: 1rem; line-height: 2.1; position: relative; padding-left: 16px; color: rgba(255,255,255,0.82); }
.pt1r1-bullets li::before { content: '•'; position: absolute; left: 0; color: rgba(255,255,255,0.35); }

/* ── Inline blanks ── */
.pt1r1-blank {
  display: inline-block; border: none; border-bottom: 2px solid rgba(255,255,255,0.35);
  background: transparent; width: 120px; font-size: 1rem;
  font-family: 'Georgia', serif; color: rgba(255,255,255,0.9);
  padding: 1px 4px; outline: none; vertical-align: baseline; margin: 0 3px;
  transition: border-color .15s;
}
.pt1r1-blank:focus    { border-bottom-color: #60a5fa; }
.pt1r1-blank:disabled { cursor: not-allowed; opacity: 1; }
.pt1r1-blank-ok  { border-bottom-color: #4ade80 !important; color: #4ade80; font-weight: 700; }
.pt1r1-blank-err { border-bottom-color: #f87171 !important; color: #f87171; }
.pt1r1-q-num     { font-size: .78rem; font-weight: 700; color: var(--gold); vertical-align: super; margin-right: 1px; font-family: 'Inter', sans-serif; }
.pt1r1-correct-ans { color: #4ade80; font-weight: 700; font-size: .88rem; margin-left: 4px; font-family: 'Inter', sans-serif; }

/* ── T/F/NG rows ── */
.pt1r1-q-badge { min-width: 28px; height: 28px; border-radius: 50%; background: #7c3aed; color: #fff; font-size: .82rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pt1r1-tfn-row { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
.pt1r1-tfn-head { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; flex-wrap: wrap; }
.pt1r1-tfn-text { font-size: .97rem; color: rgba(255,255,255,0.88); line-height: 1.6; flex: 1; }
.pt1r1-tfn-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.pt1r1-tfn-opt {
  display: flex; align-items: center; gap: 6px;
  border: 2px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 6px 12px;
  cursor: pointer; font-size: .88rem; color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.03); transition: border-color .15s, background .15s; user-select: none;
}
.pt1r1-tfn-opt:hover       { border-color: var(--gold); }
.pt1r1-tfn-opt.selected    { border-color: var(--gold); background: rgba(251,191,36,0.1); color: var(--gold); font-weight: 700; }
.pt1r1-tfn-opt.opt-ok      { border-color: #4ade80; background: rgba(74,222,128,.1); color: #4ade80; font-weight: 700; }
.pt1r1-tfn-opt.opt-err     { border-color: #f87171; background: rgba(248,113,113,.08); color: #f87171; }
.pt1r1-tfn-opt.opt-correct { border-color: #4ade80; background: rgba(74,222,128,.07); color: #4ade80; }
.pt1r1-tfn-letter { font-weight: 800; min-width: 20px; font-size: .82rem; }
.pt1r1-tfn-label  { font-size: .82rem; white-space: nowrap; }

/* ── Why button ── */
.pt1r1-why-btn {
  background: rgba(251,191,36,0.12); border: 1px solid rgba(251,191,36,0.4);
  color: var(--gold); border-radius: 6px; padding: 2px 9px;
  font-size: .78rem; font-weight: 700; cursor: pointer; transition: background .15s;
  vertical-align: middle; margin-left: 4px;
}
.pt1r1-why-btn:hover { background: rgba(251,191,36,0.25); }

/* ── Passage panel ── */
.pt1r1-passage-title-bar {
  font-size: 1rem; font-weight: 700; color: var(--gold);
  padding: 14px 22px 12px; background: rgba(14,14,28,0.97);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky; top: 0; z-index: 2;
}
.pt1r1-passage-card {
  font-size: 1.06rem; line-height: 2.1; color: rgba(255,255,255,0.88);
  padding: 18px 24px 30px;
  font-family: 'Georgia', serif; letter-spacing: 0.01em;
}
.pt1r1-passage-card p { margin: 0 0 16px; }
.pt1r1-passage-title {
  font-size: 1.15rem; font-weight: 700; color: rgba(255,255,255,0.97);
  font-family: 'Inter', sans-serif; margin-bottom: 18px; line-height: 1.4;
}

/* ── Context highlight ── */
.pt1r1-ctx { background: rgba(251,191,36,0.12); border-radius: 4px; padding: 1px 3px; border-bottom: 2px solid rgba(251,191,36,0.35); transition: background .3s; }
.pt1r1-ctx.active { background: rgba(245,200,66,0.3); border-bottom-color: #f5c842; animation: pt1r1-pulse 1.4s ease-in-out; }
@keyframes pt1r1-pulse { 0%,100%{background:rgba(245,200,66,0.22);} 50%{background:rgba(245,200,66,0.5);} }
.pt1r1-ans { color: var(--gold); font-weight: 700; }
.pt1r1-no-hl .pt1r1-ctx { background: none; border-bottom: none; padding: 0; border-radius: 0; }
.pt1r1-no-hl .pt1r1-ans { color: inherit; font-weight: inherit; }

/* ── Exp box + arrow ── */
.pt1r1-exp-box {
  background: rgba(251,191,36,0.07); border: 1px solid rgba(251,191,36,0.3);
  border-radius: 8px; padding: 10px 14px; margin: 8px 0 6px;
  font-size: .9rem; color: rgba(255,255,255,0.85); line-height: 1.65;
  font-family: 'Inter', sans-serif;
}
.pt1r1-arrow-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; overflow: visible; }
