/* Local trial presentation. Shared lesson interactions remain in the course renderer. */
html,body.v2-body-root{min-height:0;overflow:hidden;background:#fff8ea}
body.v2-body-root.v2-inline-foot #stage{min-height:540px;padding:94px 24px 28px;justify-items:center;overflow:visible}
body.v2-body-root .v2-screen{width:min(640px,100%);margin-block:auto}
.v2-top{gap:10px;padding:16px 20px;background:#ffffffd9;box-shadow:none;border-bottom:1px solid #2b15000b}
.v2-close.sample-restart{border:0;cursor:pointer;font-size:24px}
.v2-steps{gap:8px}
.v2-steps [role=button]{cursor:pointer}
.v2-steps [role=button]:focus-visible{outline:2px solid #1c8fe0;outline-offset:5px;border-radius:5px}
/* Retain the course's coloured fill, sheen and marker; constrain the marker at both ends. */
body .v2-seg{height:7px}
body .v2-seg i{transition:width .35s ease}
body .v2-seg::after{left:clamp(7px,var(--head,0%),calc(100% - 7px));width:10px;height:10px;margin:-5px 0 0 -5px;box-shadow:0 0 0 2px var(--c),0 0 8px color-mix(in srgb,var(--c) 35%,transparent);transition:opacity .2s,transform .2s,left .35s ease}
body .v2-steps li.is-now .v2-seg::after{animation:none}
body .v2-steps li .v2-seg,body .v2-steps li em{animation:none;transform:none}
body .v2-steps em{display:flex;margin-top:10px;font-size:10px;letter-spacing:.03em;overflow:hidden;gap:3px}
body .v2-steps li.is-done em::before{width:10px;height:10px;font-size:7px;flex:none;animation:none}
.v2-no{display:none}
/* Calm UAE scenery, framed behind the activity rather than enlarged UI artwork. */
body .v2-bg{position:absolute;inset:0;min-height:100%;transform:none;background:var(--scene-color,#fff8ea) var(--scene-image) var(--scene-position,center) / cover no-repeat!important}
body .v2-bg::after{display:block;background:radial-gradient(ellipse at 50% 42%,rgba(255,251,242,.52),rgba(255,251,242,.12) 72%),linear-gradient(180deg,rgba(255,251,242,.14),transparent 45%,rgba(255,248,234,.32))}
.v2-bg[data-scene=words]{--scene-image:url('/courses/demo/scenes/dubai-beach.webp');--scene-color:#e3f3f4;--scene-position:66% center}
.v2-bg[data-scene=sentences]{--scene-image:url('/courses/demo/scenes/dunes.png');--scene-color:#f8e4d6}
.v2-bg[data-scene=match]{--scene-image:url('/courses/demo/scenes/oasis.png');--scene-color:#e8f0df}
.v2-bg[data-scene=sayit]{--scene-image:url('/courses/demo/scenes/mountain-coast.png');--scene-color:#e8edf7}
.v2-bg[data-scene=scenario]{--scene-image:url('/courses/demo/scenes/courtyard.png');--scene-color:#f6ead9}
.v2-bg[data-scene=complete]{--scene-image:url('/courses/demo/scenes/dubai-creek.webp');--scene-color:#ffecd2;--scene-position:30% center}
.v2-match .v2-pairs{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body .v2-match .v2-tile--pair{min-width:0;min-height:90px;padding:14px 12px;gap:6px;border-radius:16px}
body .v2-match .v2-tile--pair .v2-opt-ar{font-size:25px;line-height:1.35;white-space:nowrap}
body .v2-match .v2-tile--pair .v2-opt-tl{font-size:14px;line-height:1.35;font-weight:600;color:var(--ink-soft);text-wrap:balance}
body .v2-match .v2-tile--pair.v2-tile--en{font-size:16px;line-height:1.4;font-weight:600;text-wrap:balance}
body .v2-match .v2-tile--pair.done .v2-opt-tl{color:#fff}
.v2-match-hud .v2-combo{display:none!important}
.v2-chat{min-height:0;padding:14px;gap:8px}
.v2-chat-scene{font-size:12px;padding:8px}
.sample-demo-note{margin:0;color:var(--ink-soft);font:600 12px/1.5 var(--f-body);text-align:center}
.sample-demo-result{margin:0 0 14px;padding:18px 20px;border-radius:20px;background:linear-gradient(145deg,#edf9ed,#f8fce7);border:1px solid #c9e8cc;color:var(--green-ink);text-align:center}
.sample-demo-result>span{font:700 10px/1.4 var(--f-mono);letter-spacing:.1em;text-transform:uppercase}
.sample-demo-result>strong{display:block;margin:6px 0;font:800 44px/1.1 var(--f-disp);letter-spacing:-.04em}
.sample-demo-result strong span{font-size:22px;margin-left:3px}
.sample-demo-result p{margin:0;font:700 15px/1.4 var(--f-body)}
.sample-word-score{display:inline-flex;align-items:center;gap:5px;margin-top:7px;color:var(--green-ink);font:700 11px/1.4 var(--f-body);white-space:nowrap}
.sample-word-score svg{width:13px;height:13px}
.v2-mic:disabled{cursor:default;opacity:.65}
@media(max-width:640px){
 body.v2-body-root.v2-inline-foot #stage{min-height:0;padding:82px 12px 22px}
 .v2-top{gap:8px;padding:12px}
 .v2-close,.v2-backbtn{width:30px;height:30px;min-width:30px}
 .v2-steps{gap:5px}
 body .v2-steps em{display:block;font-size:8px;letter-spacing:0;overflow:hidden}
 body .v2-steps li.is-now em{display:block;overflow:hidden}
 body .v2-steps li.is-done em::before{content:none}
 body .v2-match{padding:20px 12px}
 .v2-match .v2-pairs{gap:10px}
 body .v2-match .v2-tile--pair{min-height:104px;padding:14px;gap:7px;border-radius:14px}
 body .v2-match .v2-tile--pair .v2-opt-ar{max-width:100%;font-size:20px;line-height:1.45;white-space:normal;text-wrap:balance}
 body .v2-match .v2-tile--pair .v2-opt-tl{max-width:100%;font-size:13px;line-height:1.45}
 body .v2-match .v2-tile--pair.v2-tile--en{font-size:14px}
 body.v2-body-root .v2-screen{margin-block:0}
 .v2-screen > .v2-foot-in{margin-top:14px}
 /* Room around every phrase, including feedback and the back of a flashcard. */
 body .v2-panel{min-width:0}
 body .v2-screen :is(.v2-card-tl,.v2-card-ar,.v2-card-en,.v2-tl,.v2-ar,.v2-opt-tl,.v2-opt-ar,.v2-opt-en){max-width:100%;text-wrap:balance;overflow-wrap:normal}
 body .v2-h1{font-size:27px;line-height:1.2;text-wrap:balance}
 body .v2-h2{font-size:21px;line-height:1.3;text-wrap:balance}
 body .v2-eyebrow{line-height:1.5;font-size:10px;letter-spacing:.08em}
 body .v2-flip .v2-face{padding:26px 24px 114px;gap:10px;min-height:270px}
 body .v2-card-tl{font-size:clamp(22px,6.8vw,27px);line-height:1.2}
 body .v2-card-ar{font-size:25px;line-height:1.5}
 body .v2-card-en{font-size:25px;line-height:1.25}
 body .v2-card-hint{padding-inline:14px;font-size:9px;line-height:1.4}
 body .v2-tile{min-width:0;padding:14px;gap:8px}
 body .v2-options--two{grid-template-columns:repeat(2,minmax(0,1fr))}
 body .v2-options--two .v2-tile{min-height:110px;padding:16px 14px}
 body .v2-options--two .v2-opt-tl{font-size:14px;line-height:1.45}
 body .v2-options--two .v2-opt-ar{font-size:20px;line-height:1.5}
 body .v2-say-card{padding:22px 18px}
 body .v2-say-card .v2-line .v2-tl{font-size:23px;line-height:1.3}
 body .v2-say-card .v2-ar{font-size:23px;line-height:1.5}
 body .v2-say-card .v2-line{justify-content:center}
 body .v2-mic-slot--big .v2-mic{max-width:100%;min-height:56px;padding:12px 18px;font-size:15px;line-height:1.4}
 body .v2-coach-line{gap:10px}
 body .v2-cw{max-width:100%;padding:12px}
 body .v2-cw b{font-size:20px;line-height:1.3}
 body .v2-cw i{font-size:21px;line-height:1.5}
 body .v2-say .v2-coach-line{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body .v2-say .v2-cw{min-width:0;max-width:none;padding:12px 8px}
 body .v2-say .v2-cw b{font-size:16px}
 body .v2-say .v2-cw i{font-size:19px}
 body .v2-slots{min-height:62px;gap:8px;padding:12px 10px}
 body .v2-chip{min-height:44px;padding:10px 12px;font-size:14px;line-height:1.4}
 body .v2-line .v2-tl{font-size:17px;line-height:1.4}
 body .v2-note{max-width:100%;padding:10px 14px;line-height:1.5;text-wrap:balance}
 body .v2-chat{padding:16px;gap:12px}
 body .v2-chat-scene{max-width:100%;padding:10px;font-size:12px;line-height:1.55}
 body .v2-bub{max-width:100%;padding:14px 16px}
 body .v2-bub b{font-size:15px;line-height:1.5;text-wrap:balance}
 body .v2-bub i{font-size:19px;line-height:1.5}
 body .v2-bub small{font-size:13px;line-height:1.5}
 body .v2-composer{padding:0 16px 20px}
 body .v2-composer .v2-tile{padding:16px;gap:7px}
 body .v2-composer .v2-opt-tl{font-size:15px;line-height:1.5}
 body .v2-composer .v2-opt-ar{font-size:20px;line-height:1.5}
 body .v2-composer .v2-opt-en{font-size:14px;line-height:1.5}
}
@media(max-width:340px){
 body .v2-say .v2-coach-line{grid-template-columns:1fr}
 body .v2-say .v2-cw b{font-size:20px}
}
@media(max-width:360px){
 body .v2-match .v2-tile--pair .v2-opt-ar{font-size:19px}
 body .v2-match .v2-tile--pair .v2-opt-tl{font-size:13px}
 body .v2-match .v2-tile--pair.v2-tile--en{font-size:13px}
 body .v2-steps em{font-size:7px;letter-spacing:-.02em}
 body .v2-flip .v2-face{padding-inline:20px}
 body .v2-options--two .v2-tile{padding-inline:12px}
}
