/* AMA IELTS - band paths, placement test, XP and celebrations */

/* ---------- Tabs ---------- */
.ielts-tab__n {
 display: inline-grid; place-items: center; flex: 0 0 auto;
 width: 22px; height: 22px; border-radius: 50%;
 font-size: 0.74rem; font-weight: 800; font-style: normal;
 background: linear-gradient(135deg, #c9952a, #f5c842); color: #1a1206;
}
.ielts-tab--band { border-color: rgba(201, 149, 42, 0.5) !important; }
.ielts-tab--band.is-active,
.ielts-tab--band[aria-selected="true"] {
 background: linear-gradient(135deg, #002366, #3b1f6e) !important;
 color: #f5c842 !important; border-color: transparent !important;
}

/* ---------- XP badge ---------- */
.ielts-xp {
 display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px;
 margin-top: 14px; padding: 7px 14px; border-radius: 999px;
 background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(245, 200, 66, 0.55);
 color: #fff; font-size: 0.84rem; font-weight: 600;
}
.ielts-xp__lv { color: #f5c842; font-weight: 800; }
.ielts-xp__bar { width: 80px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.ielts-xp__bar i { display: block; height: 100%; background: linear-gradient(90deg, #f5c842, #e31b23); }
.ielts-xp__streak { opacity: 0.75; }
.ielts-xp__streak.is-hot { opacity: 1; color: #ffb36b; }
.ielts-xppop {
 position: fixed; left: 50%; top: 22%; z-index: 10000; pointer-events: none;
 padding: 10px 22px; border-radius: 999px;
 background: linear-gradient(135deg, #c9952a, #f5c842); color: #1a1206;
 font-weight: 800; font-size: 1.05rem; box-shadow: 0 10px 30px rgba(201, 149, 42, 0.45);
 animation: ielts-xppop 1.8s ease forwards;
}
@keyframes ielts-xppop {
 0% { opacity: 0; transform: translate(-50%, 20px) scale(0.8); }
 18% { opacity: 1; transform: translate(-50%, 0) scale(1.06); }
 80% { opacity: 1; transform: translate(-50%, -10px) scale(1); }
 100% { opacity: 0; transform: translate(-50%, -40px) scale(0.95); }
}

/* ---------- Celebration ---------- */
.ielts-celebrate { position: fixed; inset: 0; z-index: 9999; overflow: hidden; display: grid; place-items: center; background: rgba(0, 20, 60, 0.25); cursor: pointer; animation: ielts-fade 0.3s ease; }
.ielts-celebrate > i {
 position: absolute; top: -24px; width: 9px; height: 15px; border-radius: 2px;
 animation-name: ielts-confetti; animation-timing-function: cubic-bezier(.2, .6, .4, 1); animation-fill-mode: forwards;
}
@keyframes ielts-confetti { to { top: 110vh; transform: rotate(900deg); opacity: 0.3; } }
@keyframes ielts-fade { from { opacity: 0; } }
.ielts-celebrate__card {
 position: relative; display: grid; gap: 6px; text-align: center;
 padding: 26px 40px; border-radius: 22px; color: #fff;
 background: linear-gradient(135deg, #001a4d, #002366 55%, #3b1f6e);
 border: 2px solid #f5c842; box-shadow: 0 24px 60px rgba(0, 20, 60, 0.45);
 animation: ielts-pop 0.5s cubic-bezier(.2, 1.4, .4, 1);
}
.ielts-celebrate__card strong {
 font: italic 700 clamp(1.8rem, 6vw, 2.8rem)/1.1 'Playfair Display', 'Times New Roman', serif;
 background: linear-gradient(135deg, #f5c842, #fff1c1 50%, #c9952a);
 -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ielts-celebrate__card span { color: rgba(255, 255, 255, 0.88); }
@keyframes ielts-pop { from { transform: scale(0.6); opacity: 0; } }

/* ---------- Band path page ---------- */
.bp { --bp: #2457a6; display: grid; gap: 18px; }
.bp h3, .bp h4, .bp h5 { margin: 0; }
.bp-hero {
 position: relative; overflow: hidden; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
 padding: 28px 26px 32px; border-radius: 22px; color: #fff;
 background:
 radial-gradient(circle at 88% 15%, rgba(245, 200, 66, 0.3), transparent 45%),
 radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--bp) 70%, transparent), transparent 55%),
 linear-gradient(135deg, #001a4d 0%, #002366 50%, #2a1858 100%);
 box-shadow: 0 18px 40px rgba(0, 35, 102, 0.25);
}
.bp-hero::after {
 content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
 background: linear-gradient(90deg, #e31b23 0 33.3%, #fff 33.3% 66.6%, #1f3f9f 66.6%);
}
.bp-hero__band {
 flex: 0 0 auto; display: grid; place-items: center; align-content: center;
 width: 104px; height: 104px; border-radius: 50%;
 background: linear-gradient(135deg, #c9952a, #f5c842 55%, #fff1c1);
 color: #1a1206; box-shadow: 0 0 0 7px rgba(245, 200, 66, 0.18), 0 10px 26px rgba(0, 0, 0, 0.3);
}
.bp-hero__band small { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; }
.bp-hero__band strong { font: italic 700 2.4rem/1 'Playfair Display', 'Times New Roman', serif; }
.bp-hero__text { flex: 1; min-width: 220px; }
.bp-hero__eyebrow { margin: 0 0 6px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #f5c842; font-weight: 700; }
.bp-hero h3 { color: #fff !important; font: italic 600 clamp(1.25rem, 2.8vw, 1.75rem)/1.3 'Playfair Display', 'Times New Roman', serif; }
.bp-hero__meter { margin-top: 16px; display: flex; align-items: center; gap: 12px; font-size: 0.85rem; }
.bp-hero__meter span { flex: 1; max-width: 340px; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.bp-hero__meter span i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #f5c842, #e31b23); transition: width 0.6s ease; }
.bp-hero__meter b { color: #f5c842; }

/* path strip */
.bp-path { display: flex; align-items: center; overflow-x: auto; padding: 6px 2px 10px; scrollbar-width: thin; }
.bp-path__line { flex: 1 0 18px; height: 3px; min-width: 18px; background: linear-gradient(90deg, #c5d4e8, #e6d3a3); }
.bp-path__step {
 flex: 0 0 auto; display: grid; justify-items: center; gap: 4px;
 padding: 0; border: 0; background: none; cursor: pointer; color: var(--ie-navy, #002366); font: inherit;
}
.bp-path__step span {
 display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
 background: #fff; border: 2px solid var(--bp); font: italic 700 1rem 'Playfair Display', serif; color: var(--bp);
 transition: transform 0.2s;
}
.bp-path__step small { font-size: 0.7rem; font-weight: 700; white-space: nowrap; max-width: 90px; overflow: hidden; text-overflow: ellipsis; }
.bp-path__step:hover span { transform: translateY(-2px); }
.bp-path__step.is-done span { background: var(--bp); color: #fff; }
.bp-path__step.is-here span {
 background: linear-gradient(135deg, #c9952a, #f5c842); color: #1a1206; border-color: #c9952a;
 box-shadow: 0 0 0 5px rgba(245, 200, 66, 0.3); transform: scale(1.1);
}

/* section nav */
.bp-nav {
 display: flex; gap: 6px; overflow-x: auto; position: sticky; top: 0; z-index: 3;
 padding: 8px 2px; background: #f6f8fd; scrollbar-width: thin;
}
.bp-nav__btn {
 flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
 padding: 8px 14px; border-radius: 12px; cursor: pointer;
 border: 1px solid var(--ie-border, #c5d4e8); background: #fff;
 color: var(--ie-navy, #002366); font: 600 0.88rem var(--ui, inherit);
}
.bp-nav__btn b {
 display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
 background: var(--ie-blue-light, #edf2ff); font-size: 0.7rem;
}
.bp-nav__btn:hover { border-color: var(--bp); }
.bp-nav__btn.is-on { background: linear-gradient(135deg, #002366, #2a1858); color: #fff; border-color: transparent; }
.bp-nav__btn.is-on b { background: #f5c842; color: #1a1206; }

.bp-body { display: grid; gap: 16px; }
.bp-card, .bp-lesson, .bp-model, .bp-plan {
 padding: 20px; border-radius: 16px; background: #fff;
 border: 1px solid var(--ie-border, #c5d4e8); box-shadow: 0 6px 20px rgba(0, 35, 102, 0.06);
}
.bp-card h4, .bp-lesson h4, .bp-model h4, .bp-plan h4 { margin-bottom: 10px; color: var(--ie-navy, #002366); }
.bp-card h4 i, .bp-plan h4 i { color: var(--bp); margin-right: 4px; }
.bp-card p { line-height: 1.65; }
.bp-muted { color: var(--ie-dim, #5a6b82); font-size: 0.92rem; }
.bp-intro { margin: 0; color: var(--ie-dim, #5a6b82); font-style: italic; font-size: 1.02rem; }
.bp-portrait p { font-size: 1.06rem; }

.bp-crits { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.bp-crit { padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--ie-border, #c5d4e8); border-top: 4px solid var(--bp); }
.bp-crit__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; margin-bottom: 8px; background: color-mix(in srgb, var(--bp) 14%, #fff); color: var(--bp); }
.bp-crit h5 { font-size: 0.86rem; color: var(--ie-navy, #002366); margin-bottom: 4px; }
.bp-crit p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--ie-dim, #5a6b82); }

.bp-gap { background: linear-gradient(135deg, #fffdf6, #fff7e6); border-color: #f0d89a; }
.bp-gap ol { margin: 0; padding-left: 22px; line-height: 1.7; }

.bp-plan__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.bp-plan__day { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; background: #fafbff; border: 1px dashed var(--ie-border, #c5d4e8); font-size: 0.92rem; line-height: 1.45; }
.bp-plan__day b { flex: 0 0 auto; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bp); color: #fff; font-size: 0.8rem; }
.bp-next { justify-self: start; }

/* lessons */
.bp-lesson { border-left: 5px solid #c9952a; display: grid; gap: 12px; }
.bp-lesson.is-done { border-left-color: #16794a; }
.bp-lesson header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bp-lesson header h4 { margin: 0; }
.bp-lesson__n {
 padding: 4px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
 background: linear-gradient(135deg, #002366, #2a1858); color: #f5c842;
}
.bp-lesson.is-done .bp-lesson__n { background: #16794a; color: #fff; }
.bp-lesson__idea { margin: 0; font-style: italic; font-size: 1.04rem; line-height: 1.6; color: var(--ie-text, #0f2044); }
.bp-steps { margin: 0; padding-left: 22px; line-height: 1.7; }
.bp-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bp-compare__weak, .bp-compare__better { padding: 14px; border-radius: 12px; line-height: 1.55; }
.bp-compare small { font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.bp-compare p { margin: 6px 0 10px; }
.bp-compare__weak { background: #fdf0f0; border: 1px solid #f3c2c4; }
.bp-compare__weak small { color: #b3161d; }
.bp-compare__better { background: #ecf8f1; border: 1px solid #b6e2c8; }
.bp-compare__better small { color: #16794a; }
.bp-task { padding: 14px; border-radius: 12px; background: var(--ie-blue-light, #edf2ff); }
.bp-task p { margin: 6px 0 10px; }

/* vocabulary flip cards */
.bp-words { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.bp-word { position: relative; min-height: 168px; perspective: 900px; cursor: pointer; outline: none; }
.bp-word__front, .bp-word__back {
 position: absolute; inset: 0; padding: 16px; border-radius: 16px;
 display: flex; flex-direction: column; justify-content: center; gap: 8px;
 backface-visibility: hidden; -webkit-backface-visibility: hidden;
 transition: transform 0.55s cubic-bezier(.3, .7, .3, 1);
}
.bp-word__front {
 align-items: center; text-align: center; color: #fff;
 background: radial-gradient(circle at 80% 10%, rgba(245, 200, 66, 0.25), transparent 50%), linear-gradient(135deg, #002366, #2a1858);
 box-shadow: 0 8px 20px rgba(0, 35, 102, 0.18);
}
.bp-word__front strong { font: italic 700 1.25rem/1.25 'Playfair Display', 'Times New Roman', serif; color: #f5c842; }
.bp-word__front small { color: rgba(255, 255, 255, 0.85); font-size: 0.86rem; }
.bp-word__back { background: #fffdf6; border: 1px solid #e6d3a3; transform: rotateY(180deg); font-size: 0.92rem; line-height: 1.5; }
.bp-word__back p { margin: 0; font-style: italic; }
.bp-word.is-flipped .bp-word__front { transform: rotateY(-180deg); }
.bp-word.is-flipped .bp-word__back { transform: rotateY(0); }
.bp-word:focus-visible .bp-word__front { outline: 3px solid #f5c842; }
.bp-challenge { background: linear-gradient(135deg, #fffdf6, #fff7e6); border-color: #f0d89a; }

/* grammar */
.bp-forms { display: grid; gap: 6px; padding: 0; margin: 10px 0 0; list-style: none; }
.bp-forms li { padding: 9px 14px; border-radius: 10px; background: var(--ie-blue-light, #edf2ff); border-left: 4px solid var(--bp); font-family: 'Times New Roman', serif; font-size: 1.02rem; }
.bp-examples { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.bp-examples li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--ie-border, #c5d4e8); line-height: 1.5; }
.bp-drill { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; margin-top: 8px; border-radius: 12px; border: 1px solid var(--ie-border, #c5d4e8); }
.bp-drill span { flex: 1; min-width: 200px; }
.bp-drill__show { padding: 6px 16px; border-radius: 999px; border: 1px solid var(--bp); background: #fff; color: var(--bp); font-weight: 700; cursor: pointer; }
.bp-drill__show:hover { background: var(--bp); color: #fff; }
.bp-drill b { padding: 6px 12px; border-radius: 8px; background: #ecf8f1; color: #16794a; }

/* pronunciation */
.bp-lines { display: grid; gap: 12px; }
.bp-line { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--ie-border, #c5d4e8); }
.bp-line p { margin: 0; font-size: 1.1rem; line-height: 1.7; font-family: 'Times New Roman', serif; }
.bp-line mark { background: linear-gradient(transparent 55%, rgba(245, 200, 66, 0.6) 55%); color: inherit; font-weight: 700; padding: 0 1px; }
.bp-pause { color: #e31b23; font-style: normal; font-weight: 800; padding: 0 3px; }

/* model answers */
.bp-model { display: grid; gap: 12px; border-left: 5px solid var(--bp); }
.bp-model header { display: grid; gap: 8px; justify-items: start; }
.bp-model header h4 { margin: 0; }
.bp-model__part, .bp-pill {
 display: inline-block; padding: 3px 11px; border-radius: 999px;
 background: linear-gradient(135deg, #002366, #2a1858); color: #f5c842;
 font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.bp-pill { margin-right: 6px; vertical-align: middle; }
.bp-model__answer { padding: 14px 16px; border-radius: 12px; background: #fafbff; }
.bp-model__answer p { margin: 0 0 10px; font-style: italic; line-height: 1.7; font-size: 1.03rem; }
.bp-model__note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fffdf6; border: 1px solid #f0d89a; font-size: 0.92rem; line-height: 1.55; }
.bp-model__note > i { color: #c9952a; margin-top: 3px; }

/* practice */
.bp-q { padding: 12px 0; border-top: 1px solid #eef2f8; }
.bp-q:first-of-type { border-top: 0; }
.bp-q__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.bp-q__head p { margin: 0; font-weight: 700; flex: 1; min-width: 200px; }
.bp-cuecard, .pt-cuecard {
 display: grid; gap: 6px; margin: 10px 0; padding: 18px 20px; border-radius: 14px;
 background: #fffdf6; border: 2px solid #e6d3a3; box-shadow: inset 0 0 0 5px #fff;
}
.bp-cuecard strong, .pt-cuecard strong { font: italic 700 1.15rem 'Playfair Display', 'Times New Roman', serif; color: var(--ie-navy, #002366); }
.bp-cuecard span, .pt-cuecard span { font-size: 0.86rem; color: var(--ie-dim, #5a6b82); }
.bp-cuecard ul, .pt-cuecard ul { margin: 0; padding-left: 20px; line-height: 1.65; }
.bp-prep { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.bp-prep__clock { font: 700 1.8rem 'Times New Roman', serif; color: #e31b23; }
.bp-prep__notes { flex-basis: 100%; }

/* checklist + quiz */
.bp-tick { display: flex; align-items: flex-start; gap: 12px; padding: 11px 14px; margin-top: 8px; border-radius: 12px; border: 1px solid var(--ie-border, #c5d4e8); cursor: pointer; line-height: 1.5; }
.bp-tick:has(input:checked) { background: #ecf8f1; border-color: #b6e2c8; }
.bp-tick input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; accent-color: #16794a; }
.bp-quiz__q { padding: 12px 0; border-top: 1px solid #eef2f8; }
.bp-quiz__q p { margin: 0 0 8px; }
.bp-quiz__opts { display: grid; gap: 8px; }
.bp-quiz__opts button {
 text-align: left; padding: 11px 14px; border-radius: 12px; cursor: pointer;
 border: 1px solid var(--ie-border, #c5d4e8); background: #fff; font: inherit; color: inherit;
 transition: background 0.15s, border-color 0.15s;
}
.bp-quiz__opts button:hover { background: var(--ie-blue-light, #edf2ff); }
.bp-quiz__q.is-done button { cursor: default; }
.bp-quiz__opts button.is-right { background: #ecf8f1; border-color: #16794a; color: #0f5a36; font-weight: 700; }
.bp-quiz__opts button.is-wrong { background: #fdf0f0; border-color: #e31b23; color: #9b1218; }
.bp-quiz__why { margin: 8px 0 0 !important; font-size: 0.92rem; color: var(--ie-dim, #5a6b82); font-style: italic; }
.bp-quiz__score { margin-top: 14px; padding: 14px; border-radius: 12px; text-align: center; background: linear-gradient(135deg, #002366, #2a1858); color: #fff; }
.bp-quiz__score strong { font: italic 700 1.5rem 'Playfair Display', serif; color: #f5c842; margin-right: 6px; }

/* ---------- Placement test ---------- */
.pt { display: grid; gap: 18px; }
.pt h3, .pt h4 { margin: 0; }
.pt-hero {
 position: relative; overflow: hidden; display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap;
 padding: 30px 26px 34px; border-radius: 22px; color: #fff;
 background:
 radial-gradient(circle at 10% 0%, rgba(227, 27, 35, 0.35), transparent 42%),
 radial-gradient(circle at 92% 90%, rgba(245, 200, 66, 0.3), transparent 45%),
 linear-gradient(135deg, #001a4d, #002366 50%, #2a1858);
 box-shadow: 0 18px 40px rgba(0, 35, 102, 0.25);
}
.pt-hero::after, .pt-result__head::after {
 content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
 background: linear-gradient(90deg, #e31b23 0 33.3%, #fff 33.3% 66.6%, #1f3f9f 66.6%);
}
.pt-hero > div:last-child { flex: 1; min-width: 240px; }
.pt-hero__badge {
 flex: 0 0 auto; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 20px;
 background: linear-gradient(135deg, #c9952a, #f5c842); color: #1a1206; font-size: 1.8rem;
 box-shadow: 0 0 0 6px rgba(245, 200, 66, 0.18);
}
.pt-hero__eyebrow { margin: 0 0 8px; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: #f5c842; font-weight: 700; }
.pt-hero h3 { color: #fff !important; font: 700 clamp(1.5rem, 3.4vw, 2.2rem)/1.2 'Times New Roman', serif; margin-bottom: 10px; }
.pt-hero h3 em { font-family: 'Playfair Display', serif; color: #f5c842; }
.pt-hero p:not(.pt-hero__eyebrow) { margin: 0; color: rgba(255, 255, 255, 0.88); line-height: 1.65; max-width: 680px; }

.pt-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.pt-step { display: grid; gap: 4px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--ie-border, #c5d4e8); border-top: 4px solid #c9952a; }
.pt-step i { font-size: 1.3rem; color: #c9952a; margin-bottom: 4px; }
.pt-step strong { color: var(--ie-navy, #002366); }
.pt-step span { font-size: 0.88rem; color: var(--ie-dim, #5a6b82); line-height: 1.45; }
.pt-tips { display: grid; gap: 6px; padding: 16px 18px; border-radius: 16px; background: #fffdf6; border: 1px solid #f0d89a; }
.pt-tips p { margin: 0; line-height: 1.55; }
.pt-tips i { width: 22px; color: #c9952a; }
.pt-start { justify-self: start; }
.pt-last { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-radius: 12px; background: #ecf8f1; border: 1px solid #b6e2c8; color: #0f5a36; }

/* live */
.pt--live { max-width: 760px; margin: 0 auto; width: 100%; }
.pt-live__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pt-live__rec { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fdf0f0; color: #e31b23; font-weight: 800; font-size: 0.85rem; }
.pt-live__rec i { font-size: 0.6rem; animation: pt-blink 1.2s infinite; }
@keyframes pt-blink { 50% { opacity: 0.2; } }
.pt-live__label { font-weight: 700; color: var(--ie-navy, #002366); }
.pt-live__bar { height: 6px; border-radius: 6px; background: #e3e9f5; overflow: hidden; }
.pt-live__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #1f3f9f, #c9952a, #e31b23); transition: width 0.5s ease; }
.pt-live__stage { display: grid; gap: 16px; }
.pt-examiner { display: flex; align-items: flex-start; gap: 16px; }
.pt-examiner__avatar {
 flex: 0 0 auto; display: grid; place-items: center; align-content: center; gap: 2px;
 width: 72px; height: 72px; border-radius: 50%;
 background: linear-gradient(135deg, #c9952a, #f5c842); color: #1a1206;
 box-shadow: 0 0 0 5px rgba(245, 200, 66, 0.22);
}
.pt-examiner__avatar i { font-size: 1.4rem; }
.pt-examiner__avatar span { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.pt-examiner__bubble {
 position: relative; flex: 1; padding: 18px 20px; border-radius: 4px 18px 18px 18px;
 background: linear-gradient(135deg, #002366, #2a1858); color: #fff;
 font: 1.18rem/1.55 'Times New Roman', serif; box-shadow: 0 10px 26px rgba(0, 35, 102, 0.2);
}
.pt-examiner__bubble em { color: #f5c842; }
.pt-answer {
 display: grid; justify-items: center; gap: 10px; padding: 22px; border-radius: 18px;
 background: #fff; border: 1px solid var(--ie-border, #c5d4e8); text-align: center;
}
.pt-answer small { color: var(--ie-dim, #5a6b82); font-weight: 600; }
.pt-clock { font: 700 2.6rem/1 'Times New Roman', serif; color: var(--ie-navy, #002366); font-variant-numeric: tabular-nums; }
.pt-repeat { border: 0; background: none; color: var(--ie-blue, #1f3f9f); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pt-cue { display: grid; gap: 14px; }
.pt-prep { display: grid; justify-items: center; gap: 10px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--ie-border, #c5d4e8); text-align: center; }
.pt-prep .ielts-notes { width: 100%; }
.pt-notes-view { padding: 12px 14px; border-radius: 12px; background: #fffdf6; border: 1px dashed #e6d3a3; white-space: pre-wrap; font-size: 0.92rem; }
.pt-notes-view i { color: #c9952a; }

/* self-assessment */
.pt-audio { width: 100%; }
.pt-self { padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--ie-border, #c5d4e8); }
.pt-self p { margin: 0 0 10px; font-weight: 700; }
.pt-self__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.pt-self__opts button { text-align: left; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--ie-border, #c5d4e8); background: #fafbff; cursor: pointer; font: inherit; color: inherit; line-height: 1.4; }
.pt-self__opts button:hover { border-color: #c9952a; }
.pt-self__opts button.is-on { background: linear-gradient(135deg, #002366, #2a1858); color: #fff; border-color: transparent; }
.pt-self__go { justify-self: start; }

/* result */
.pt--result { --bp: #2457a6; }
.pt-result__head {
 position: relative; overflow: hidden; text-align: center; padding: 34px 20px 38px; border-radius: 24px; color: #fff;
 background:
 radial-gradient(circle at 50% 0%, rgba(245, 200, 66, 0.38), transparent 55%),
 linear-gradient(135deg, #001a4d, #002366 50%, #2a1858);
 box-shadow: 0 18px 40px rgba(0, 35, 102, 0.25);
}
.pt-result__band { display: grid; justify-items: center; gap: 4px; margin: 6px 0 10px; }
.pt-result__band small { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); font-weight: 700; }
.pt-result__band strong {
 font: italic 700 clamp(4rem, 13vw, 6rem)/1 'Playfair Display', 'Times New Roman', serif;
 background: linear-gradient(135deg, #f5c842, #fff1c1 50%, #c9952a);
 -webkit-background-clip: text; background-clip: text; color: transparent;
 font-variant-numeric: tabular-nums;
}
.pt-result__line { margin: 0 auto; max-width: 560px; color: rgba(255, 255, 255, 0.92); font-size: 1.05rem; font-style: italic; }
.pt-result__crits { display: grid; gap: 12px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--ie-border, #c5d4e8); }
.pt-crit { display: grid; grid-template-columns: minmax(150px, 230px) 1fr 44px; align-items: center; gap: 12px; }
.pt-crit span { font-weight: 600; font-size: 0.92rem; color: var(--ie-navy, #002366); }
.pt-crit span i { width: 20px; color: #c9952a; }
.pt-crit__bar { height: 12px; border-radius: 12px; background: #e3e9f5; overflow: hidden; }
.pt-crit__bar i { display: block; height: 100%; border-radius: 12px; background: linear-gradient(90deg, #1f3f9f, #c9952a); animation: pt-grow 1.2s cubic-bezier(.2, .7, .3, 1); transform-origin: left; }
@keyframes pt-grow { from { transform: scaleX(0); } }
.pt-crit b { text-align: right; font: italic 700 1.15rem 'Playfair Display', serif; color: var(--ie-navy, #002366); }
.pt-path {
 display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 20px; border-radius: 18px;
 background: linear-gradient(135deg, #fffdf6, #fff7e6); border: 2px solid #e6d3a3;
}
.pt-path > div:nth-child(2) { flex: 1; min-width: 200px; }
.pt-path small { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: #a07414; font-weight: 800; }
.pt-path h4 { font: italic 700 1.3rem 'Playfair Display', serif; color: var(--ie-navy, #002366); margin: 2px 0 4px; }
.pt-path p { margin: 0; color: var(--ie-dim, #5a6b82); }
.pt-path__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--bp); color: #fff; font-size: 1.5rem; box-shadow: 0 0 0 5px color-mix(in srgb, var(--bp) 20%, transparent); }
.pt-focus { padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--ie-border, #c5d4e8); }
.pt-focus h4 { margin-bottom: 8px; color: var(--ie-navy, #002366); }
.pt-focus h4 i { color: #e31b23; }
.pt-focus ol { margin: 0; padding-left: 22px; line-height: 1.7; }
.pt-stats { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.pt-stats span { flex: 1; min-width: 120px; padding: 12px; border-radius: 12px; background: var(--ie-blue-light, #edf2ff); text-align: center; font-size: 0.86rem; color: var(--ie-dim, #5a6b82); }
.pt-stats b { display: block; font-size: 1.35rem; color: var(--ie-navy, #002366); }
.pt-replay { display: grid; gap: 10px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--ie-border, #c5d4e8); }
.pt-replay audio { width: 100%; }
.pt-transcript { padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--ie-border, #c5d4e8); }
.pt-transcript summary { cursor: pointer; font-weight: 700; color: var(--ie-navy, #002366); }
.pt-transcript__row { padding: 10px 0; border-top: 1px solid #eef2f8; }
.pt-transcript__row small { color: var(--ie-dim, #5a6b82); font-weight: 700; }
.pt-transcript__row p { margin: 4px 0 0; line-height: 1.55; }
.pt-note { margin: 0; font-size: 0.88rem; color: var(--ie-dim, #5a6b82); font-style: italic; }
#pt-again { justify-self: start; }

@media (max-width: 640px) {
 .bp-compare { grid-template-columns: 1fr; }
 .bp-hero, .pt-hero { padding: 22px 18px 26px; }
 .bp-hero__band { width: 80px; height: 80px; }
 .bp-hero__band strong { font-size: 1.9rem; }
 .pt-crit { grid-template-columns: 1fr 44px; }
 .pt-crit span { grid-column: 1 / -1; }
 .pt-examiner__avatar { width: 56px; height: 56px; }
 .pt-examiner__bubble { font-size: 1.05rem; }
}
