/* ===== PickerPlay Quiz – public site ===== */
:root {
    --blue: #1fa3e6; --green: #8cc63f; --purple: #7c4dde; --pink: #ec3b6a; --yellow: #f7c51d; --orange: #ff8a1f;
    --ink: #1b2240; --muted: #66708f; --line: #e6e9f4; --bg: #f6f8ff; --card: #ffffff;
    --navy: #082a6e; --navy-2: #0b3a8f; --opt: #0b63c9; --gold: #f5e12b;
    --radius: 18px; --shadow: 0 10px 30px rgba(31, 41, 90, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Nunito', system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: 'Baloo 2', 'Nunito', sans-serif; line-height: 1.15; margin: 0 0 .4em; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); }
.center { text-align: center; margin-top: 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: 800 15px 'Nunito', sans-serif;
    padding: 11px 20px; border-radius: 999px; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; box-shadow: 0 8px 20px rgba(124, 77, 222, .3); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(124, 77, 222, .45); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-link { background: none; color: var(--purple); padding-inline: 6px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 6px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 800; padding: 8px 14px; border-radius: 999px; }
.nav a.active, .nav a:hover { background: #eef4ff; color: var(--blue); }

/* Hero */
.hero { background: radial-gradient(circle at 85% 20%, #e9e2ff 0, transparent 40%), radial-gradient(circle at 10% 90%, #ddf3ff 0, transparent 45%), #fff; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 64px 0 72px; }
.pill { display: inline-block; background: #fff6d6; color: #8a6400; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); }
.grad { background: linear-gradient(90deg, var(--blue), var(--purple), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 18px; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.how { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-weight: 700; }
.how b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; margin-right: 6px; font-size: 13px; }

.mini-quiz { background: var(--navy); border-radius: 24px; padding: 28px 22px 24px; position: relative; box-shadow: 0 30px 60px rgba(8, 42, 110, .35); transform: rotate(2deg); }
.mq-timer { position: absolute; top: -18px; right: -14px; width: 66px; height: 66px; border-radius: 50%; background: var(--navy); border: 4px solid var(--green);
    color: #fff; font: 800 28px 'Baloo 2'; display: grid; place-items: center; }
.mq-q { background: linear-gradient(#f4f8ff, #c9dcf3); border-radius: 10px; padding: 14px 16px; font-weight: 800; font-size: 17px; clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%); padding-right: 40px; }
.mq-q span { background: #9fd0f2; border-radius: 6px; padding: 2px 8px; margin-right: 6px; }
.mq-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.mq-opts i { font-style: normal; background: var(--opt); color: #fff; border: 2px solid var(--gold); border-radius: 12px; padding: 12px; font-weight: 700; }
.mq-opts i.ok { background: #19a35b; }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: #fff; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); }
.section-head p { color: var(--muted); margin: 0; }
.empty { background: #fff; border: 2px dashed var(--line); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); }
.alert-error { background: #ffe9ee; color: #a3123d; padding: 12px 16px; border-radius: 12px; margin-bottom: 20px; font-weight: 700; }

/* Quiz cards */
.quiz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.quiz-card { --c: var(--blue); background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border-top: 6px solid var(--c); display: flex; flex-direction: column; transition: transform .2s; }
.quiz-card:hover { transform: translateY(-4px); }
.quiz-card.c1 { --c: var(--green); } .quiz-card.c2 { --c: var(--purple); } .quiz-card.c3 { --c: var(--pink); } .quiz-card.c4 { --c: var(--orange); }
.qc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.qc-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--c); color: #fff; display: grid; place-items: center; font: 800 22px 'Baloo 2'; }
.qc-players { font-size: 13px; color: var(--muted); font-weight: 700; }
.quiz-card h3 { font-size: 22px; }
.quiz-card p { color: var(--muted); margin: 0 0 14px; flex: 1; }
.qc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.qc-meta span { background: var(--bg); border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 700; }
.qc-actions { display: flex; align-items: center; justify-content: space-between; }

/* Leaderboard rows */
.podium-list { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.lb-row { display: grid; grid-template-columns: 54px 1fr 80px 80px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.lb-row:last-child { border-bottom: 0; }
.lb-row.head { background: var(--bg); font-weight: 800; color: var(--muted); font-size: 13px; text-transform: uppercase; }
.lb-row .rank { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--bg); }
.lb-row.head .rank { background: none; }
.lb-row.top1 .rank { background: #ffd84d; } .lb-row.top2 .rank { background: #dfe4ee; } .lb-row.top3 .rank { background: #f3c08f; }
.lb-row .who { font-weight: 800; }
.lb-row .who small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.lb-row .score { font-weight: 800; color: var(--purple); }
.lb-row .time { color: var(--muted); font-weight: 700; text-align: right; }
.lb-row.me { background: #eefbe3; }
.lb-title { text-align: center; margin: 40px 0 16px; }

.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; }
.tab { white-space: nowrap; padding: 8px 16px; border-radius: 999px; background: #fff; border: 2px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 800; }
.tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 12px; margin-bottom: 24px; text-align: center; }
.pod { background: #fff; border-radius: var(--radius) var(--radius) 0 0; padding: 16px 10px 0; box-shadow: var(--shadow); }
.medal { font-size: 34px; }
.pod-name { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-score { color: var(--muted); font-size: 13px; font-weight: 700; }
.pod-base { margin: 12px -10px 0; color: #fff; font: 800 32px 'Baloo 2'; border-radius: 12px 12px 0 0; }
.pod1 .pod-base { background: linear-gradient(var(--yellow), var(--orange)); height: 110px; padding-top: 24px; }
.pod2 .pod-base { background: linear-gradient(#a9b4c9, #7b879f); height: 80px; padding-top: 12px; }
.pod3 .pod-base { background: linear-gradient(#f0a868, #c87131); height: 60px; padding-top: 6px; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(12, 18, 45, .6); display: none; place-items: center; z-index: 100; padding: 16px; backdrop-filter: blur(4px); }
.modal.open { display: grid; animation: fade .2s; }
.modal-box { background: #fff; border-radius: 22px; padding: 28px; width: min(420px, 100%); position: relative; animation: rise .25s; }
.modal-close { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 28px; cursor: pointer; color: var(--muted); }
.modal-logo { height: 40px; margin: 0 auto 10px; }
.modal-box h3 { text-align: center; font-size: 24px; }
.modal-box .muted { text-align: center; margin-top: 0; }
.modal-box label { display: block; font-weight: 800; margin-bottom: 14px; font-size: 14px; }
.modal-box input[type=text], .modal-box input[type=tel] { width: 100%; margin-top: 6px; padding: 13px 14px; border: 2px solid var(--line); border-radius: 12px; font: 600 16px 'Nunito'; outline: none; }
.modal-box input:focus { border-color: var(--blue); }
.input-prefix { display: flex; align-items: center; margin-top: 6px; }
.input-prefix span { padding: 13px 12px; background: var(--bg); border: 2px solid var(--line); border-right: 0; border-radius: 12px 0 0 12px; font-weight: 800; }
.input-prefix input { margin-top: 0 !important; border-radius: 0 12px 12px 0 !important; }
.check { display: flex !important; gap: 8px; align-items: center; font-weight: 700 !important; color: var(--muted); }
.form-error { color: #d0103f; font-weight: 700; min-height: 20px; margin-bottom: 6px; font-size: 14px; }

/* Result */
.result-card { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 36px 24px; text-align: center; }
.result-emoji { font-size: 56px; }
.result-card h1 { font-size: 40px; }
.score-ring { --p: 0; width: 170px; height: 170px; margin: 20px auto; border-radius: 50%; display: grid; place-items: center;
    background: conic-gradient(var(--green) calc(var(--p) * 1%), #eceff7 0); }
.score-ring > div { width: 136px; height: 136px; border-radius: 50%; background: #fff; display: grid; place-items: center; align-content: center; }
.score-ring b { font: 800 48px 'Baloo 2'; line-height: 1; } .score-ring span { color: var(--muted); font-weight: 800; }
.result-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 24px; }
.result-stats div { background: var(--bg); border-radius: 14px; padding: 14px 6px; }
.result-stats b { display: block; font: 800 24px 'Baloo 2'; }
.result-stats span { font-size: 13px; color: var(--muted); font-weight: 700; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.review { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 22px; padding: 4px 18px; }
.review summary { cursor: pointer; font-weight: 800; padding: 14px 0; }
.review-item { border-left: 4px solid var(--green); padding: 10px 14px; margin-bottom: 12px; background: #f6fcef; border-radius: 0 10px 10px 0; }
.review-item.no { border-color: var(--pink); background: #fff2f5; }
.rv-a { font-size: 14px; color: var(--muted); } .rv-e { font-size: 14px; margin-top: 4px; }

.site-footer { padding: 28px 0; text-align: center; color: var(--muted); font-size: 14px; }

/* ===================================================================
   QUIZ SCREEN – TV-style (question on top, options below)
   =================================================================== */
.play-body { background: #000; }
.qz-stage { position: relative; min-height: 100vh; min-height: 100dvh; max-width: 1280px; margin: 0 auto; overflow: hidden;
    background: radial-gradient(ellipse at 50% 0%, var(--navy-2) 0%, var(--navy) 55%, #061f55 100%); color: #fff;
    padding: 28px clamp(16px, 5vw, 80px) 40px; display: flex; flex-direction: column; }

.qz-toolbar { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; z-index: 5; }
.qz-tool { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff;
    display: grid; place-items: center; font-size: 17px; cursor: pointer; text-decoration: none; }
.qz-tool:hover { background: rgba(255,255,255,.18); }

.qz-top { display: flex; justify-content: center; align-items: center; position: relative; min-height: 110px; }
.qz-logo { background: #fff; border-radius: 6px; padding: 10px 18px; box-shadow: 0 8px 0 -4px rgba(255,255,255,.12), 0 12px 30px rgba(0,0,0,.3);
    -webkit-box-reflect: below 2px linear-gradient(transparent 70%, rgba(255,255,255,.18)); }
.qz-logo img { height: clamp(40px, 6vw, 70px); width: auto; }

.qz-timer { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: clamp(80px, 11vw, 140px); aspect-ratio: 1; display: grid; place-items: center; }
.qz-timer svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.qz-timer circle { fill: none; stroke-width: 7; }
.qz-timer .ring-bg { stroke: rgba(255,255,255,.08); }
.qz-timer .ring { stroke: #7ccf3b; stroke-linecap: round; transition: stroke-dashoffset .1s linear, stroke .3s; }
.qz-timer span { font: 800 clamp(40px, 6vw, 76px) 'Baloo 2', sans-serif; line-height: 1; letter-spacing: -2px; }
.qz-timer.warn .ring { stroke: var(--yellow); }
.qz-timer.danger .ring { stroke: #ff3b55; }
.qz-timer.danger span { color: #ff6b80; animation: pulse 1s infinite; }

.qz-title { text-align: center; font: 800 clamp(22px, 3.6vw, 40px) 'Baloo 2', sans-serif; margin: 26px 0 6px; text-shadow: 0 3px 0 rgba(0,0,0,.25);
    -webkit-box-reflect: below -8px linear-gradient(transparent 55%, rgba(255,255,255,.18)); }

.qz-status { display: flex; align-items: center; gap: 14px; justify-content: center; font-weight: 700; font-size: 14px; color: #c9dbff; margin: 14px 0 26px; }
.qz-bar { width: min(260px, 35vw); height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.qz-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--yellow)); transition: width .5s; }
.qz-status b { color: var(--gold); font-size: 17px; }

/* gold horizontal rails behind rows */
.qz-qrow, .qz-options { position: relative; }
.qz-qrow::before, .qz-options .qz-opt::before { content: ''; position: absolute; height: 2px; background: var(--gold); opacity: .85; z-index: 0; }
.qz-qrow::before { left: -100vw; right: -100vw; top: 50%; }

.qz-qrow { display: flex; align-items: center; margin-bottom: clamp(26px, 5vh, 56px); }
.qz-qnum { position: relative; z-index: 2; flex: none; width: clamp(80px, 11vw, 150px); aspect-ratio: 1; border-radius: 14px;
    background: linear-gradient(160deg, #cfe9fb 0%, #8fc8ef 45%, #5aa6dd 100%); border: 3px solid #e8f4ff;
    box-shadow: inset 0 2px 8px rgba(255,255,255,.8), 0 8px 18px rgba(0,0,0,.35);
    display: grid; place-items: center; color: #0a1b3a; font: 400 clamp(32px, 5vw, 66px) Georgia, 'Times New Roman', serif; }
.qz-qarrow { position: relative; z-index: 1; flex: 1; margin-left: -6px; min-height: clamp(80px, 11vw, 150px); display: flex; align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #eef3fa 50%, #d4def0 100%);
    clip-path: polygon(0 12%, 88% 12%, 88% 0, 100% 50%, 88% 100%, 88% 88%, 0 88%);
    padding: 0 16% 0 clamp(18px, 3vw, 40px); }
.qz-qarrow p { margin: 0; color: #0d1430; font: 700 clamp(17px, 2.6vw, 34px) 'Nunito', sans-serif; line-height: 1.2; padding: 16% 0; padding-block: clamp(18px, 3vw, 32px); }

.qz-listen { text-align: center; color: #b9d3ff; font-weight: 700; font-size: 14px; margin: -26px 0 18px; display: flex; gap: 8px; justify-content: center; align-items: center; }
.qz-listen[hidden] { display: none; }
.eq { display: inline-flex; gap: 3px; align-items: flex-end; height: 16px; }
.eq i { width: 3px; background: var(--green); border-radius: 2px; animation: eq .8s infinite ease-in-out; }
.eq i:nth-child(2) { animation-delay: .15s; } .eq i:nth-child(3) { animation-delay: .3s; } .eq i:nth-child(4) { animation-delay: .45s; }

.qz-options { --gap: clamp(28px, 6vw, 90px); display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); row-gap: clamp(16px, 3vh, 30px); padding: 0 clamp(0px, 4vw, 60px); }
.qz-opt { position: relative; z-index: 1; text-align: left; cursor: pointer; color: #fff; min-height: clamp(64px, 9vw, 110px);
    background: linear-gradient(180deg, #0f6fd6 0%, #0759b8 100%); border: 3px solid var(--gold); border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 14px rgba(0,0,0,.25);
    font: 500 clamp(17px, 2.4vw, 32px) Arial, 'Nunito', sans-serif; padding: 10px clamp(14px, 2vw, 26px);
    display: flex; align-items: center; gap: 14px; transition: transform .12s, background .2s, opacity .3s; animation: optIn .35s both; }
.qz-opt::before { left: -60px; width: 60px; top: 50%; }
.qz-options .qz-opt:nth-child(even)::before { left: auto; right: -60px; }
.qz-options .qz-opt:nth-child(odd)::after { content: ''; position: absolute; right: calc(-1 * var(--gap) - 3px); width: var(--gap); top: 50%; height: 2px; background: var(--gold); opacity: .85; }
.qz-opt .lt { font-weight: 500; }
.qz-opt:hover:not(:disabled) { transform: translateY(-2px); background: linear-gradient(180deg, #1a80ea, #0b65cc); }
.qz-opt:disabled { cursor: default; }
.qz-opt.picked { background: linear-gradient(180deg, #ffb31a, #e48a00); }
.qz-opt.correct { background: linear-gradient(180deg, #23c16b, #12904c) !important; animation: pop .45s; }
.qz-opt.wrong { background: linear-gradient(180deg, #ff4b63, #c9142f) !important; animation: shake .4s; }
.qz-opt.dim { opacity: .45; }
.qz-options.two { grid-template-columns: 1fr 1fr; }

.qz-feedback { text-align: center; font: 800 clamp(18px, 2.6vw, 28px) 'Baloo 2', sans-serif; min-height: 48px; margin-top: 26px; }
.qz-feedback.good { color: #7ff0a8; } .qz-feedback.bad { color: #ff9cab; }
.qz-feedback.clickable { cursor: pointer; text-decoration: underline; }

.qz-qrow.enter .qz-qnum { animation: dropIn .4s both; }
.qz-qrow.enter .qz-qarrow { animation: slideIn .45s .08s both; }

/* overlays */
.qz-overlay { position: absolute; inset: 0; background: rgba(4, 18, 52, .88); display: grid; place-items: center; z-index: 20; padding: 16px; backdrop-filter: blur(3px); }
.qz-overlay[hidden] { display: none; }
.qz-ready { background: #fff; color: var(--ink); border-radius: 24px; padding: 28px; width: min(440px, 100%); text-align: center; animation: rise .3s; }
.ready-logo { height: 44px; margin: 0 auto 12px; }
.qz-ready ul { text-align: left; padding: 0; list-style: none; margin: 16px 0 22px; }
.qz-ready li { background: var(--bg); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; font-weight: 600; font-size: 15px; }
.qz-count { font: 800 140px 'Baloo 2'; color: var(--gold); text-shadow: 0 8px 30px rgba(245,225,43,.4); }
.qz-count.pop { animation: countPop .7s; }

@keyframes pulse { 50% { opacity: .55; } }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
@keyframes optIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes dropIn { from { opacity: 0; transform: scale(.6) rotate(-8deg); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-30px); } }
@keyframes pop { 40% { transform: scale(1.05); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes countPop { from { transform: scale(2.2); opacity: 0; } 40% { transform: scale(1); opacity: 1; } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

/* Responsive */
@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; padding: 40px 0 50px; }
    .hero-art { max-width: 440px; margin: 10px auto 0; width: 100%; }
}
@media (max-width: 640px) {
    .header-inner { height: 62px; }
    .brand img { height: 36px; }
    .nav a { padding: 6px 10px; font-size: 14px; }
    .lb-row { grid-template-columns: 44px 1fr 56px 64px; padding: 10px 12px; }
    .result-stats b { font-size: 19px; }

    .qz-stage { padding-top: 68px; }
    .qz-top { justify-content: flex-start; min-height: 80px; }
    .qz-title { margin-top: 18px; }
    .qz-qrow { flex-direction: column; align-items: stretch; }
    .qz-qnum { width: 64px; margin: 0 auto -18px; font-size: 30px; }
    .qz-qarrow { margin-left: 0; clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%); padding: 22px 12% 16px 16px; border-radius: 10px 0 0 10px; }
    .qz-qrow::before { display: none; }
    .qz-options { grid-template-columns: 1fr; padding: 0; }
    .qz-options.two { grid-template-columns: 1fr 1fr; }
    .qz-opt::before, .qz-opt::after { display: none !important; }
    .qz-listen { margin-top: -14px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ===== Telugu / Hindi text ===== */
.lang-te .qz-qarrow p, .lang-te .qz-opt, .lang-te .qz-feedback, .lang-te .qz-ready, .lang-te .qz-status, .lang-te .qz-listen, .review.lang-te {
    font-family: 'Noto Sans Telugu', 'Baloo Tammudu 2', 'Nunito', sans-serif; }
.lang-hi .qz-qarrow p, .lang-hi .qz-opt, .lang-hi .qz-feedback, .lang-hi .qz-ready, .lang-hi .qz-status, .lang-hi .qz-listen, .review.lang-hi {
    font-family: 'Noto Sans Devanagari', 'Baloo 2', 'Nunito', sans-serif; }
.lang-te .qz-qarrow p, .lang-hi .qz-qarrow p { line-height: 1.45; font-size: clamp(16px, 2.3vw, 30px); }
.lang-te .qz-opt, .lang-hi .qz-opt { font-size: clamp(16px, 2.1vw, 28px); line-height: 1.35; }

.modal-box .optional { color: var(--muted); font-weight: 600; font-size: 12px; }

/* ===== Language switch (top right of quiz screen) ===== */
.qz-stage { padding-top: 72px; }
.qz-lang { position: absolute; top: 16px; right: 16px; z-index: 25; display: flex; gap: 2px; padding: 3px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; backdrop-filter: blur(4px); }
.qz-lang button { border: 0; background: transparent; color: #dbe7ff; font: 700 14px 'Nunito', 'Noto Sans Telugu', 'Noto Sans Devanagari', sans-serif;
    padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; line-height: 1.2; }
.qz-lang button:hover { background: rgba(255,255,255,.12); color: #fff; }
.qz-lang button.active { background: var(--gold); color: #0b1f55; }
.lang-te #rdHi, .lang-te .qz-ready .btn, .review.lang-te { font-family: 'Noto Sans Telugu', 'Baloo Tammudu 2', 'Nunito', sans-serif; }
.lang-hi #rdHi, .lang-hi .qz-ready .btn, .review.lang-hi { font-family: 'Noto Sans Devanagari', 'Baloo 2', 'Nunito', sans-serif; }
@media (max-width: 640px) {
    .qz-stage { padding-top: 68px; }
    .qz-lang { top: 14px; right: 12px; }
    .qz-lang button { padding: 6px 9px; font-size: 12px; }
}
