/* TeachPlus Speak & Run v0.1 – all styles scoped to plugin root. */
.tp-sr{--navy:#082b62;--deep:#081e49;--blue:#126cd5;--orange:#ff851f;--cream:#fff9e9;position:relative;isolation:isolate;color:#11254c;font-family:Montserrat,'Segoe UI',system-ui,-apple-system,sans-serif;width:100%;min-height:650px;background:#e8f4ff;overflow:hidden;border-radius:20px;box-shadow:0 14px 48px rgba(8,31,67,.12);font-size:15px;line-height:1.45}
.tp-sr *{box-sizing:border-box}.tp-sr button,.tp-sr input{font-family:inherit}.tp-sr button{cursor:pointer;transition:transform .15s ease,filter .15s ease;border:0}.tp-sr button:active{transform:scale(.97)}.tp-sr button:focus-visible,.tp-sr input:focus-visible{outline:3px solid #ffae3a;outline-offset:2px}.tp-sr button:disabled{opacity:.45;cursor:not-allowed}.tp-sr img{max-width:100%}.tp-sr .sr-hidden{display:none!important}
.tp-sr .sr-topbar{height:76px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 23px;border-bottom:3px solid #ebf2fb;position:relative;z-index:5}
.tp-sr .sr-brand{display:flex;align-items:center;gap:11px;min-width:0}.tp-sr .sr-brand img{width:110px;max-height:47px;object-fit:contain}.tp-sr .sr-brand-title{font-weight:900;white-space:nowrap;color:#0b316b;font-size:22px;letter-spacing:-1px}.tp-sr .sr-brand-title em{color:#f4781e;font-style:normal}.tp-sr .sr-brand-title small{display:block;font-size:9px;letter-spacing:2px;color:#4285c0}.tp-sr .sr-top-actions{display:flex;align-items:center;gap:7px}.tp-sr .sr-top-btn{background:#eaf2ff;color:#0d4384;border-radius:12px;font-weight:800;font-size:12px;padding:11px 13px;white-space:nowrap}.tp-sr .sr-top-btn:hover{background:#d4e9ff}.tp-sr #sr-profile-button{background:#f07820;color:#fff}
.tp-sr .sr-main{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(335px,.85fr);background:#d7ebff;min-height:520px}.tp-sr .sr-playfield{position:relative;min-width:0;min-height:520px;overflow:hidden;background:#a8e4ff}.tp-sr #sr-world{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.tp-sr .sr-hud{position:absolute;top:17px;left:17px;right:17px;display:flex;gap:9px;justify-content:space-between;align-items:flex-start;z-index:2;flex-wrap:wrap}.tp-sr .sr-score-pill,.tp-sr .sr-hearts,.tp-sr .sr-stage-pill{border:2px solid rgba(255,255,255,.6);background:rgba(7,39,97,.83);color:#fff;border-radius:16px;padding:8px 12px;box-shadow:0 5px 18px rgba(20,45,90,.17);backdrop-filter:blur(9px);font-size:13px;font-weight:900}.tp-sr .sr-score-pill{font-size:20px;display:flex;align-items:center;gap:6px;color:#ffdf77}.tp-sr .sr-score-pill small{font-size:10px;color:#ffffffb8;letter-spacing:1px}.tp-sr .sr-hearts{font-size:19px;white-space:nowrap}.tp-sr .sr-stage-pill{font-size:12px;background:#148b53}
.tp-sr .sr-world-message{position:absolute;top:40%;left:50%;transform:translate(-50%,-50%) scale(.9);opacity:0;z-index:5;width:min(90%,440px);border-radius:20px;line-height:1.2;text-align:center;color:#fff;font-size:clamp(22px,3.8vw,40px);font-weight:900;letter-spacing:-1px;text-shadow:0 3px 2px #153a77,0 6px 18px #183769;pointer-events:none;transition:opacity .3s,transform .3s}.tp-sr .sr-world-message.show{opacity:1;transform:translate(-50%,-50%) scale(1)}
.tp-sr .sr-lower-hud{position:absolute;bottom:14px;left:18px;right:18px;display:flex;align-items:center;gap:11px;z-index:2}.tp-sr .sr-level-progress{flex:1;background:rgba(7,39,97,.84);color:white;border-radius:14px;padding:10px 11px;display:flex;align-items:center;gap:8px;font-size:10px;font-weight:800;backdrop-filter:blur(7px)}.tp-sr .sr-progress-track{background:#ffffff46;border-radius:18px;height:8px;flex:1;overflow:hidden;min-width:30px}.tp-sr .sr-progress-fill{height:100%;width:0;background:linear-gradient(90deg,#ffb34b,#ffdf6d);border-radius:18px;transition:width .4s}.tp-sr .sr-obstacles{background:rgba(7,39,97,.84);color:#fff;border-radius:14px;padding:12px;font-weight:800;font-size:13px}
.tp-sr .sr-challenge{min-width:0;min-height:520px;padding:22px 25px 16px;background:linear-gradient(165deg,#fafdff,#edf4ff 65%,#e9e4ff);display:flex;flex-direction:column;align-items:stretch;gap:13px}.tp-sr .sr-challenge-top{display:flex;align-items:center;justify-content:space-between}.tp-sr .sr-challenge-caption{display:flex;gap:8px;align-items:center;font-size:11px;font-weight:900;letter-spacing:1.3px;color:#5979a8}.tp-sr .sr-status-dot{width:8px;height:8px;border-radius:50%;background:#35ad79;box-shadow:0 0 0 4px #35ad7931}.tp-sr .sr-timer{font-size:19px;color:#133f7e;font-weight:900;border-radius:15px;background:white;box-shadow:0 5px 14px #2241720d;padding:7px 11px}.tp-sr .sr-timer strong{font-size:27px;font-variant-numeric:tabular-nums}.tp-sr .sr-timer small{font-size:11px}
.tp-sr .sr-question-card{background:#fff;border:1px solid #e1eaf8;border-bottom:5px solid #ff9b3f;box-shadow:0 8px 30px rgba(43,81,125,.07);border-radius:19px;padding:19px 14px;text-align:center;flex-shrink:0;min-height:144px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px}.tp-sr .sr-question-card p,.tp-sr .sr-question-card h2{margin:0}.tp-sr .sr-topic{color:#f07820;font-size:12px;font-weight:900;letter-spacing:.7px}.tp-sr .sr-sentence{color:#0b316b;font-weight:900;font-size:clamp(20px,2.3vw,28px);line-height:1.28;letter-spacing:-.4px}.tp-sr .sr-translation{font-size:12px;color:#6883a4}
.tp-sr .sr-action-center{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;text-align:center}.tp-sr .sr-wave{height:19px;display:flex;align-items:center;justify-content:center;gap:4px;opacity:.22}.tp-sr .sr-wave i{height:7px;width:4px;border-radius:5px;background:#1d72d8;animation:sr-wave 1s infinite alternate}.tp-sr .sr-wave i:nth-child(2){animation-delay:.12s}.tp-sr .sr-wave i:nth-child(3){animation-delay:.25s}.tp-sr .sr-wave i:nth-child(4){animation-delay:.37s}.tp-sr .sr-wave i:nth-child(5){animation-delay:.5s}.tp-sr .sr-wave.active{opacity:1}.tp-sr .sr-mic-button{width:84px;height:84px;border:6px solid #fff!important;border-radius:50%;background:linear-gradient(150deg,#1878e0,#074ca7);box-shadow:0 9px 0 #0a428b,0 13px 24px #0b478352;display:flex;align-items:center;justify-content:center;font-size:35px;user-select:none;color:#fff}.tp-sr .sr-mic-button.recording{animation:sr-pulse .75s infinite alternate;background:linear-gradient(140deg,#ff8e36,#f05034)}.tp-sr .sr-helper{font-size:13px;color:#0f4d91;font-weight:800;min-height:20px}.tp-sr .sr-heard{font-size:12px;color:#5c7090;min-height:18px;max-width:100%;max-height:60px;overflow:hidden}.tp-sr .sr-bottom-actions{display:flex;justify-content:space-between;gap:6px;align-items:center;flex-wrap:wrap}.tp-sr .sr-text-btn{color:#1b5aa2;background:#e0eaff;border-radius:12px;padding:10px 12px;font-size:11px;font-weight:800}.tp-sr .sr-match-pill{color:#216746;font-weight:800;font-size:10px;border-radius:20px;padding:7px 9px;background:#dbf8e9}
.tp-sr .sr-game-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;color:#56769d;background:#fff;font-size:10px;font-weight:700}
.tp-sr .sr-layer{position:absolute;inset:0;z-index:30;background:rgba(7,23,55,.67);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:18px;overflow-y:auto}.tp-sr #sr-home{background:linear-gradient(145deg,rgba(10,52,110,.73),rgba(18,70,158,.51));z-index:25}.tp-sr .sr-modal{position:relative;background:#fff;padding:25px;border-radius:25px;width:min(100%,650px);max-height:min(96%,800px);overflow:auto;box-shadow:0 27px 70px #0d25556b;border:3px solid rgba(255,255,255,.66)}.tp-sr .sr-start-modal{background:linear-gradient(150deg,#fff 0%,#eff7ff 58%,#fff5ea 100%);padding:22px 28px 19px;border:4px solid #fff;max-width:610px}.tp-sr .sr-start-heading{text-align:center}.tp-sr .sr-start-heading img{width:195px;display:block;margin:0 auto 4px}.tp-sr .sr-start-heading .sr-mini-label{display:block;font-weight:900;letter-spacing:2px;color:#4192cc;font-size:9px}.tp-sr .sr-start-heading h2{font-size:clamp(30px,5vw,47px);line-height:1;margin:5px 0;color:#0b326e;font-weight:900;letter-spacing:-2px}.tp-sr .sr-start-heading h2 span{color:#f47820}.tp-sr .sr-start-heading p{font-size:13px;font-weight:750;color:#5877a0;margin:9px 0}.tp-sr .sr-hero-picker{display:flex;align-items:stretch;justify-content:center;gap:13px;margin:15px auto 10px}.tp-sr .sr-avatar-choice{width:46%;max-width:212px;border:3px solid #b1d0f3!important;background:linear-gradient(150deg,#e6f6ff,#dbeafc);border-radius:20px;padding:5px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:5px}.tp-sr .sr-avatar-choice.selected{border:3px solid #ff9c29!important;box-shadow:0 0 0 3px #ffd891}.tp-sr .sr-avatar-choice img{width:100%;height:150px;object-fit:contain;filter:drop-shadow(0 7px 7px #45698a33)}.tp-sr .sr-avatar-choice span{font-size:12px;color:#125093;font-weight:900}.tp-sr .sr-start-buttons{display:flex;flex-direction:column;gap:9px;max-width:390px;margin:0 auto}.tp-sr .sr-primary,.tp-sr .sr-secondary{padding:13px 17px;border-radius:16px;font-weight:900;font-size:13px;text-align:center}.tp-sr .sr-primary{background:linear-gradient(105deg,#ff8d2a,#f16f14);color:#fff;box-shadow:0 5px 0 #c55311,0 9px 20px #f16f1438}.tp-sr .sr-secondary{background:#e4f0ff;color:#0f57a0;border:1px solid #abccee!important}.tp-sr .sr-start-small{text-align:center;font-size:11px;color:#6081aa;margin-top:14px;font-weight:700}.tp-sr .sr-modal h2{font-size:23px;font-weight:900;color:#103972;margin:0 0 14px}.tp-sr .sr-x{position:absolute;top:12px;right:14px;background:#ecf3ff;border-radius:50%;height:34px;width:34px;font-size:23px;color:#2f527b}.tp-sr .sr-small-modal{max-width:470px}.tp-sr .sr-tabs{display:flex;gap:4px;padding:4px;border-radius:12px;background:#eaf2ff;margin-bottom:15px}.tp-sr .sr-tabs button{flex:1;padding:10px;background:transparent;color:#355779;font-weight:800;border-radius:9px}.tp-sr .sr-tabs button.active{background:#fff;color:#0b56a5;box-shadow:0 3px 9px #17386717}.tp-sr #sr-auth-form{display:flex;flex-direction:column;gap:7px}.tp-sr #sr-auth-form>label{font-size:12px;font-weight:800;color:#30567a}.tp-sr #sr-auth-form>input{width:100%;border:1px solid #b8ccea!important;background:#f8fbff;border-radius:11px;padding:12px;font-size:14px;color:#12284b}.tp-sr .sr-consent{font-size:11px;color:#4e678a;margin:8px 0;line-height:1.4}.tp-sr .sr-consent input{accent-color:#1472d4}.tp-sr .sr-consent label{display:flex;gap:8px;align-items:flex-start}.tp-sr .sr-consent input{margin:4px 0;flex-shrink:0}.tp-sr .sr-form-error{font-size:11px;color:#c83643;margin:0;min-height:15px}.tp-sr .sr-privacy-note{font-size:11px;line-height:1.55;color:#66809f;margin:13px 0 0}.tp-sr .sr-board-list{display:flex;flex-direction:column;gap:6px;max-height:380px;overflow:auto}.tp-sr .sr-board-row{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;padding:9px 11px;border-radius:12px;background:#f0f6ff;font-size:12px}.tp-sr .sr-board-row strong{color:#123b76}.tp-sr .sr-board-row em{font-style:normal;color:#ed7a26;font-weight:900}.tp-sr .sr-board-row.top{background:#fff4d9}.tp-sr .sr-own-rank{font-weight:900;border-radius:12px;background:#dcedff;padding:13px;margin-top:12px;text-align:center}.tp-sr .sr-setting{display:flex;align-items:center;justify-content:space-between;gap:9px;border-radius:12px;padding:15px;background:#f0f6ff;margin:8px 0;font-weight:800}.tp-sr .sr-setting input[type=checkbox]{width:20px;height:20px;accent-color:#187cde}.tp-sr .sr-setting input[type=range]{max-width:45%;accent-color:#ff8d2d}.tp-sr .sr-result-modal{text-align:center}.tp-sr .sr-medal{font-size:49px}.tp-sr .sr-result-score{font-size:49px;font-weight:900;color:#f07820;line-height:1.1}.tp-sr .sr-result-buttons{display:flex;flex-direction:column;gap:11px;margin-top:20px}.tp-sr .sr-toast{position:absolute;z-index:55;bottom:20px;left:50%;transform:translateX(-50%) translateY(20px);background:#0d3675;color:#fff;border-radius:13px;padding:11px 19px;box-shadow:0 8px 27px #071a384d;font-size:12px;font-weight:800;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:90%;text-align:center}.tp-sr .sr-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.tp-sr .sr-user-profile{display:flex;align-items:center;gap:14px;padding:12px;background:#edf6ff;border-radius:15px;margin-bottom:16px}.tp-sr .sr-user-profile img{width:88px;height:100px;object-fit:contain}.tp-sr .sr-user-profile strong{font-size:17px;color:#0a376e}.tp-sr .sr-user-profile small{display:block;font-size:11px;color:#5b7798}.tp-sr .sr-inventory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:11px}.tp-sr .sr-item{padding:10px 5px;display:flex;flex-direction:column;align-items:center;gap:3px;border:2px solid #c9dcee!important;border-radius:13px;background:#f5faff;color:#173e78;font-size:11px;font-weight:800;min-height:70px}.tp-sr .sr-item.selected{border-color:#f59532!important;background:#fff3e5}.tp-sr .sr-item.locked{filter:grayscale(1);opacity:.5}.tp-sr .sr-item .sr-item-emoji{font-size:25px}.tp-sr .sr-profile-tools{display:flex;gap:8px;flex-wrap:wrap}.tp-sr .sr-profile-tools button{flex:1;min-width:100px}
@keyframes sr-wave{0%{height:6px}100%{height:19px}}@keyframes sr-pulse{from{box-shadow:0 0 0 2px #ff8b5680,0 10px 24px #ff7b3e55}to{box-shadow:0 0 0 14px #ff8b5633,0 10px 24px #ff7b3e55}}
@media(max-width:990px){.tp-sr .sr-main{grid-template-columns:1fr}.tp-sr .sr-playfield{min-height:380px;height:44vh;max-height:490px}.tp-sr .sr-challenge{min-height:360px;padding:17px 22px;gap:9px}.tp-sr .sr-action-center{gap:6px}.tp-sr .sr-question-card{min-height:118px}.tp-sr .sr-mic-button{width:74px;height:74px;font-size:28px}}
@media(max-width:650px){.tp-sr{border-radius:9px;min-height:590px}.tp-sr .sr-topbar{height:58px;padding:5px 9px}.tp-sr .sr-brand img{width:79px}.tp-sr .sr-brand-title{font-size:15px}.tp-sr .sr-brand-title small{font-size:7px;letter-spacing:1px}.tp-sr .sr-top-actions{gap:4px}.tp-sr .sr-top-btn{font-size:10px;padding:8px}.tp-sr .sr-top-btn[data-i18n=leaderboard]{font-size:0}.tp-sr .sr-top-btn[data-i18n=leaderboard]:first-letter{font-size:16px}.tp-sr .sr-profile-button{font-size:0!important;position:relative}.tp-sr .sr-profile-button:after{content:'👤';font-size:14px}.tp-sr .sr-playfield{height:39vh;min-height:245px;max-height:345px}.tp-sr .sr-challenge{min-height:310px;padding:11px 13px;gap:7px}.tp-sr .sr-hud{top:9px;left:9px;right:9px;gap:5px}.tp-sr .sr-score-pill,.tp-sr .sr-hearts,.tp-sr .sr-stage-pill{padding:5px 8px;font-size:10px;border-radius:10px}.tp-sr .sr-score-pill{font-size:16px}.tp-sr .sr-hearts{font-size:15px}.tp-sr .sr-stage-pill{font-size:10px}.tp-sr .sr-lower-hud{left:8px;right:8px;bottom:8px}.tp-sr .sr-level-progress{font-size:9px;padding:8px}.tp-sr .sr-level-progress span{white-space:nowrap}.tp-sr .sr-progress-track{min-width:20px}.tp-sr .sr-obstacles{font-size:10px;padding:9px}.tp-sr .sr-question-card{min-height:95px;padding:9px 7px;gap:5px;border-radius:12px}.tp-sr .sr-sentence{font-size:21px}.tp-sr .sr-translation{font-size:10px}.tp-sr .sr-topic{font-size:9px}.tp-sr .sr-challenge-caption{font-size:9px}.tp-sr .sr-timer{font-size:12px;padding:3px 9px}.tp-sr .sr-timer strong{font-size:20px}.tp-sr .sr-mic-button{width:66px;height:66px;font-size:26px;border-width:4px!important}.tp-sr .sr-wave{height:12px}.tp-sr .sr-helper{font-size:11px}.tp-sr .sr-heard{font-size:10px;max-height:45px}.tp-sr .sr-bottom-actions{gap:5px}.tp-sr .sr-text-btn{padding:8px;font-size:10px}.tp-sr .sr-match-pill{font-size:9px}.tp-sr .sr-game-footer{font-size:9px;gap:4px;line-height:1.25}.tp-sr .sr-modal{padding:16px;max-height:96%;border-radius:19px}.tp-sr .sr-start-modal{padding:15px}.tp-sr .sr-start-heading img{width:150px}.tp-sr .sr-start-heading h2{font-size:34px}.tp-sr .sr-avatar-choice img{height:120px}.tp-sr .sr-hero-picker{gap:6px}.tp-sr .sr-start-heading p{margin:6px 0}}
@media(orientation:landscape) and (max-height:530px){.tp-sr .sr-topbar{height:48px}.tp-sr .sr-main{grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr);min-height:0;height:calc(100vh - 78px)}.tp-sr .sr-playfield{height:auto;min-height:0;max-height:none}.tp-sr .sr-challenge{min-height:0;overflow:auto;padding:7px 12px;gap:5px}.tp-sr .sr-question-card{min-height:70px;padding:8px}.tp-sr .sr-sentence{font-size:16px}.tp-sr .sr-action-center{gap:3px}.tp-sr .sr-mic-button{height:46px;width:46px;font-size:20px;border-width:3px!important}.tp-sr .sr-bottom-actions{font-size:9px}.tp-sr .sr-game-footer{height:30px;padding:5px}.tp-sr .sr-modal{max-height:96vh}.tp-sr .sr-start-heading img{width:100px}.tp-sr .sr-hero-picker{margin:3px auto}.tp-sr .sr-avatar-choice img{height:72px}.tp-sr .sr-start-heading h2{font-size:27px}.tp-sr .sr-start-buttons{gap:6px}.tp-sr .sr-primary,.tp-sr .sr-secondary{padding:7px 12px}}
@media(prefers-reduced-motion:reduce){.tp-sr *, .tp-sr *::before,.tp-sr *::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* ---------------------------------------------------
 * Speak & Run v0.2: gameplay scale, banner slots, wardrobe, prizes.
 * --------------------------------------------------- */
.sr-experience{width:100%;max-width:1900px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:start}
.sr-experience .tp-sr{grid-column:1;grid-row:1;width:100%;min-width:0;min-height:740px;border-radius:22px}
.sr-experience .tp-sr .sr-main{min-height:660px;grid-template-columns:minmax(0,1.35fr) minmax(380px,.75fr)}
.sr-experience .tp-sr .sr-playfield{min-height:660px}
.sr-experience .tp-sr .sr-challenge{min-height:660px;padding:28px 24px}
.sr-experience .tp-sr .sr-sentence{font-size:clamp(22px,2.25vw,36px);line-height:1.25}
.sr-experience .tp-sr .sr-mic-button{width:104px;height:104px;font-size:36px}
.sr-ad-side{display:none;gap:12px;flex-direction:column;position:sticky;top:20px}
.sr-ad-side:empty,.sr-ad-mobile:empty{display:none!important}
.sr-ad-side a{display:block;border-radius:16px;overflow:hidden;box-shadow:0 10px 25px #102e5b21;background:#eaf3ff}
.sr-ad-side img{display:block;width:100%;height:auto}
.sr-ad-mobile{display:none}
@media(min-width:1530px){
 .sr-experience.with-side{grid-template-columns:minmax(145px,190px) minmax(0,1fr) minmax(145px,190px)}
 .sr-experience.with-side .sr-ad-left{grid-column:1;grid-row:1;display:flex}
 .sr-experience.with-side .tp-sr{grid-column:2;grid-row:1}
 .sr-experience.with-side .sr-ad-right{grid-column:3;grid-row:1;display:flex}
 .sr-experience.with-side .tp-sr .sr-main{grid-template-columns:minmax(0,1.12fr) minmax(335px,.88fr)}
}
@media(max-width:990px){
 .sr-experience .tp-sr{min-height:0}
 .sr-experience .tp-sr .sr-main{grid-template-columns:1fr;min-height:0}
 .sr-experience .tp-sr .sr-playfield{height:44vh;min-height:290px;max-height:500px}
 .sr-experience .tp-sr .sr-challenge{min-height:370px;padding:17px 22px;gap:9px}
 .sr-experience .tp-sr .sr-mic-button{width:74px;height:74px;font-size:30px}
 .sr-experience .tp-sr .sr-sentence{font-size:clamp(19px,4vw,29px)}
 .sr-ad-mobile:not(:empty){display:flex;flex-direction:column;align-items:center;gap:10px;grid-column:1;padding:0 8px 16px}
 .sr-ad-mobile a{display:block;width:min(100%,800px);border-radius:14px;overflow:hidden;box-shadow:0 8px 20px #142f612b}
 .sr-ad-mobile img{width:100%;height:auto;display:block}
}
@media(max-width:650px){
 .sr-experience{gap:8px}
 .sr-experience .tp-sr{border-radius:12px}
 .sr-experience .tp-sr .sr-playfield{height:38vh;min-height:240px;max-height:350px}
 .sr-experience .tp-sr .sr-challenge{min-height:310px;padding:12px 13px}
 .sr-experience .tp-sr .sr-mic-button{width:70px;height:70px;font-size:26px}
 .sr-experience .tp-sr .sr-sentence{font-size:clamp(19px,5vw,26px)}
 .tp-sr #sr-wardrobe-btn{font-size:0;padding:8px 7px}
 .tp-sr #sr-wardrobe-btn:first-letter{font-size:16px}
}
@media(orientation:landscape) and (max-height:540px){
 .sr-experience .tp-sr .sr-main{min-height:0;grid-template-columns:minmax(0,1.2fr) minmax(285px,.8fr);height:calc(100vh - 78px)}
 .sr-experience .tp-sr .sr-playfield{height:auto;min-height:0;max-height:none}
 .sr-experience .tp-sr .sr-challenge{height:100%;overflow:auto;min-height:0;padding:8px 13px}
 .sr-experience .tp-sr .sr-mic-button{height:48px;width:48px;font-size:19px}
}
.tp-sr .sr-feedback{position:absolute;inset:0;z-index:35;display:flex;align-items:center;justify-content:center;background:rgba(8,28,67,.35);pointer-events:none;animation:sr-feedback-in .24s ease}
.tp-sr .sr-feedback-card{width:min(88%,470px);min-height:225px;background:linear-gradient(140deg,#f8fff4,#d7ffea);border:6px solid #fff;border-radius:26px;box-shadow:0 20px 70px #102e5ba8,0 0 0 8px #44c69f88;text-align:center;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}
.tp-sr .sr-feedback.bad .sr-feedback-card{background:linear-gradient(135deg,#fff9ef,#ffe3df);box-shadow:0 20px 70px #102e5ba8,0 0 0 8px #f1896488}
.tp-sr .sr-feedback-icon{font-size:60px;filter:drop-shadow(0 5px 8px #172e4730);animation:sr-bounce .6s ease}
.tp-sr #sr-feedback-title{font-size:clamp(27px,4vw,48px);color:#0b8b66;line-height:1.1;letter-spacing:-1px;font-weight:900}
.tp-sr .sr-feedback.bad #sr-feedback-title{color:#e26541}
.tp-sr #sr-feedback-detail{font-size:clamp(14px,1.5vw,19px);font-weight:800;color:#194b6b;margin:6px 0}
@keyframes sr-feedback-in{from{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}
@keyframes sr-bounce{0%{transform:translateY(25px) scale(.65)}55%{transform:translateY(-15px) scale(1.15)}100%{transform:none}}
.tp-sr .sr-register-fields{display:flex;flex-direction:column;gap:6px}
.tp-sr .sr-register-fields label{color:#30567a;font-size:12px;font-weight:800}
.tp-sr .sr-register-fields input:not([type=checkbox]){width:100%;border:1px solid #b8ccea!important;background:#f8fbff;border-radius:11px;padding:12px;font-size:14px;color:#12284b}
.tp-sr .sr-consent label{margin:4px 0}
.tp-sr .sr-wardrobe-modal{max-width:770px}
.tp-sr .sr-character-preview{background:linear-gradient(115deg,#e1f3ff,#fff6e6)}
.tp-sr .sr-character-preview img{width:125px;height:136px}
.tp-sr .sr-section-title{font-size:16px;margin:18px 0 9px;color:#103973;font-weight:900}
.tp-sr .sr-wardrobe-tabs{display:flex;gap:7px;overflow:auto;padding-bottom:7px}
.tp-sr .sr-wardrobe-tabs button{font-size:11px;font-weight:800;background:#eaf2ff;color:#27517f;border-radius:11px;padding:9px 11px;white-space:nowrap}
.tp-sr .sr-wardrobe-tabs button.active{background:#125bac;color:white}
.tp-sr .sr-v02-grid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));max-height:350px;overflow:auto;gap:10px}
.tp-sr .sr-v02-grid .sr-item{min-height:112px;padding:10px 5px;justify-content:center}
.tp-sr .sr-v02-grid .sr-item-preview{height:64px;width:75px;object-fit:contain}
.tp-sr .sr-v02-grid .sr-item-emoji{font-size:31px}
.tp-sr .sr-v02-grid .sr-item b{font-size:11px;line-height:1.3}
.tp-sr .sr-rarity{font-size:9px;border-radius:7px;background:#dce7f0;color:#335578;padding:2px 6px}
.tp-sr .sr-rarity.rare{background:#cce8ff;color:#13559c}
.tp-sr .sr-rarity.epic{background:#ebdbff;color:#6d2da2}
.tp-sr .sr-chest-button{width:100%;margin-top:15px}
.tp-sr .sr-loot-card{text-align:center;max-width:430px;background:radial-gradient(circle at 50% 35%,#fff9d5,#f3ebff 78%)}
.tp-sr .sr-loot-chest{font-size:96px;margin:22px auto 12px;filter:drop-shadow(0 8px 12px #cf9b3c80);animation:sr-chest-rock .65s ease-in-out infinite alternate}
.tp-sr #sr-loot-reward{padding:12px;margin:11px 0 22px;font-weight:900;font-size:20px;color:#c86b11}
@keyframes sr-chest-rock{from{transform:rotate(-10deg) scale(.94)}to{transform:rotate(10deg) scale(1.09)}}

.tp-sr .sr-audio-test{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.tp-sr .sr-audio-test button{flex:1;min-width:130px;font-size:11px}

/* ============================================================
   TeachPlus Speak & Run v0.2.1 responsive and collision fixes.
   All rules scoped to .sr-experience to avoid WordPress theme UI.
   ============================================================ */
.sr-experience{
 --sr-primary:#10396e;
 box-sizing:border-box!important;
 width:min(98vw,1960px)!important;
 max-width:none!important;
 position:relative!important;
 left:50%!important;
 transform:translateX(-50%)!important;
 margin:16px 0 32px!important;
 display:grid!important;
 grid-template-columns:minmax(0,1fr);
 isolation:isolate;
}
.sr-experience *{box-sizing:border-box;min-width:0}
.sr-experience .tp-sr{box-sizing:border-box;grid-column:1;grid-row:1;width:100%!important;max-width:none;overflow:hidden;min-width:0;min-height:860px;border-radius:24px;font-size:15px}
.sr-experience .tp-sr .sr-topbar{min-height:94px;height:auto;padding:14px 24px;display:flex;flex-wrap:wrap;align-items:center;gap:14px}
.sr-experience .tp-sr .sr-brand{display:flex;gap:15px;flex:1 1 390px;overflow:visible;min-width:260px}
.sr-experience .tp-sr .sr-brand img{width:125px;max-width:125px;flex-shrink:0}
.sr-experience .tp-sr .sr-brand-title{font-size:clamp(22px,2vw,34px);letter-spacing:-.8px;overflow:visible;text-overflow:clip;line-height:1.05}
.sr-experience .tp-sr .sr-brand-title small{font-size:9px;letter-spacing:2.5px;margin-top:3px}
.sr-experience .tp-sr .sr-top-actions{display:flex;flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.sr-experience .tp-sr .sr-top-btn{font-size:13px;padding:12px 15px;border-radius:12px}
.sr-experience .tp-sr .sr-main{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(380px,.85fr);min-height:700px}
.sr-experience .tp-sr .sr-playfield{min-height:700px;height:700px}
.sr-experience .tp-sr .sr-challenge{min-height:700px;padding:30px clamp(22px,2vw,40px);gap:19px}
.sr-experience .tp-sr .sr-sentence{font-size:clamp(25px,2.25vw,44px);max-width:100%;overflow-wrap:anywhere}
.sr-experience .tp-sr .sr-question-card{min-height:215px;padding:27px 17px}
.sr-experience .tp-sr .sr-mic-button{width:105px;height:105px;font-size:38px}
.sr-experience .tp-sr .sr-game-footer{min-height:42px;height:auto;flex-wrap:wrap;gap:8px;padding:10px 24px}
.sr-experience .tp-sr .sr-hud{top:20px;left:18px;right:18px;gap:8px;justify-content:space-between}
.sr-experience .tp-sr .sr-score-pill{font-size:24px}
.sr-experience .tp-sr .sr-hearts{font-size:22px}
.sr-experience .tp-sr .sr-stage-pill{font-size:13px}
.sr-experience .tp-sr .sr-bottom-actions{margin-top:auto}
.sr-experience .tp-sr .sr-layer{z-index:30;inset:0;overflow:auto;padding:20px;align-items:center;justify-content:center}
.sr-experience .tp-sr .sr-modal{min-width:0;max-width:calc(100% - 12px);max-height:min(94%,880px);overflow:auto;overscroll-behavior:contain}
.sr-experience .tp-sr .sr-start-modal{width:min(1040px,100%);max-width:min(1040px,100%);display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,.9fr);column-gap:24px;row-gap:10px;align-items:center;padding:22px 32px}
.sr-experience .tp-sr .sr-start-heading{grid-column:1 / -1}
.sr-experience .tp-sr .sr-hero-picker{grid-column:1;grid-row:2;width:100%;margin:0}
.sr-experience .tp-sr .sr-avatar-choice{width:48%}
.sr-experience .tp-sr .sr-start-buttons{grid-column:1;grid-row:3;width:100%;max-width:470px}
.sr-experience .tp-sr .sr-home-ranking{grid-column:2;grid-row:2 / 5;align-self:stretch;min-width:0}
.sr-experience .tp-sr .sr-sound-onboard{grid-column:1;grid-row:4}
.sr-experience .tp-sr .sr-start-small{grid-column:1 / -1;grid-row:5;margin-top:2px}
.sr-experience .tp-sr .sr-start-heading h2{font-size:38px;margin:4px 0}
.sr-experience .tp-sr .sr-start-heading img{width:180px}
.sr-experience .tp-sr .sr-home-ranking{background:linear-gradient(165deg,#eef6ff,#fff7e9);border:2px solid #c1dafa;border-radius:20px;padding:14px 16px;box-shadow:inset 0 1px 0 white}
.sr-experience .tp-sr .sr-home-ranking-title{display:flex;align-items:center;justify-content:space-between;gap:7px;color:#0b3b7a;font-size:16px;padding-bottom:9px}
.sr-experience .tp-sr .sr-home-ranking-title span{font-weight:800;color:#7291aa;font-size:11px;white-space:nowrap}
.sr-experience .tp-sr .sr-home-top-list{max-height:300px;overflow-y:auto;scrollbar-width:thin;display:flex;flex-direction:column;gap:5px}
.sr-experience .tp-sr .sr-home-rank-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:6px;align-items:center;background:white;border:1px solid #e3edf9;border-radius:9px;padding:5px 10px;font-size:13px;color:#1a4b83}
.sr-experience .tp-sr .sr-home-rank-row b{color:#d2741c;font-size:12px;white-space:nowrap}
.sr-experience .tp-sr .sr-home-rank-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sr-experience .tp-sr .sr-home-empty{text-align:center;padding:30px 10px;color:#6580a4;font-size:13px}
.sr-experience .tp-sr .sr-home-personal-rank{text-align:center;border-radius:10px;color:#0b4c8e;background:#e0efff;padding:10px;font-weight:800;font-size:13px;margin-top:9px}
.sr-experience .tp-sr .sr-sound-onboard{width:100%;border:1px solid #a5d1fa;background:#e9f3ff;color:#15549b;border-radius:12px;padding:12px;font-size:13px;font-weight:800}
.sr-experience .tp-sr .sr-result-modal{max-width:650px;width:min(100%,650px);padding:36px 26px;background:radial-gradient(ellipse at top,#fff5cf 0%,#f5faff 62%,#e0eeff 100%);border:6px solid white;box-shadow:0 20px 85px rgba(7,27,75,.55),0 0 0 7px #ffb5577d}
.sr-experience .tp-sr .sr-result-modal .sr-medal{font-size:85px;display:block;animation:sr-bounce .9s ease both}
.sr-experience .tp-sr .sr-result-modal h2{font-size:clamp(28px,4vw,52px);color:#0d3b7c;text-shadow:0 2px 0 white;margin:4px 0}
.sr-experience .tp-sr .sr-result-score{font-size:clamp(46px,5vw,75px);color:#e77b18}
.sr-experience .tp-sr .sr-result-modal #sr-result-message{font-size:16px;line-height:1.6;color:#2f5a83;font-weight:800}
.sr-experience .tp-sr .sr-result-buttons{max-width:370px;margin:20px auto 0}
.sr-experience .tp-sr .sr-end-confirm{text-align:center;max-width:510px;padding:32px 24px}
.sr-experience .tp-sr .sr-confirm-icon{font-size:54px;margin-bottom:5px}
.sr-experience .tp-sr .sr-confirm-buttons{display:flex;gap:12px;justify-content:center;margin-top:18px}
.sr-experience .tp-sr .sr-confirm-buttons>button{flex:1}
.sr-experience .tp-sr .sr-wardrobe-modal{max-width:910px;width:min(910px,100%);padding:26px}
.sr-experience .tp-sr .sr-user-profile.sr-character-preview{display:grid;grid-template-columns:minmax(160px,220px) 1fr;gap:20px;padding:22px;align-items:center}
.sr-experience .tp-sr .sr-portrait-stage{height:215px;position:relative;display:flex;align-items:center;justify-content:center;background:linear-gradient(140deg,#d4f0ff,#fff3e1);border:2px solid #c4ddf1;border-radius:18px;overflow:hidden}
.sr-experience .tp-sr .sr-portrait-stage img{height:95%;width:95%;object-fit:contain;filter:drop-shadow(0 6px 5px #1c446a48)}
.sr-experience .tp-sr .sr-portrait-decor{position:absolute;font-size:40px;filter:drop-shadow(0 2px 2px white);pointer-events:none;line-height:1}
.sr-experience .tp-sr .sr-portrait-hat{top:3px;left:49%;transform:translateX(-50%);font-size:54px}
.sr-experience .tp-sr .sr-portrait-glasses{top:42%;left:45%;font-size:35px}
.sr-experience .tp-sr .sr-portrait-prop{bottom:16%;right:3%;font-size:45px}
.sr-experience .tp-sr .sr-portrait-trail{bottom:10%;left:4%;font-size:39px}
.sr-experience .tp-sr .sr-stats{display:flex;flex-direction:column;gap:7px;color:#123d74}
.sr-experience .tp-sr .sr-stats strong{font-size:clamp(21px,2vw,30px);font-weight:900}
.sr-experience .tp-sr .sr-stats span{font-weight:800;font-size:clamp(15px,1.4vw,19px)}
.sr-experience .tp-sr .sr-stats .sr-stats-world{display:inline-block;align-self:flex-start;border-radius:10px;background:#cee5fa;padding:6px 13px;font-size:17px;color:#075699}
.sr-experience .tp-sr .sr-v02-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));max-height:375px;overflow:auto;gap:12px}
.sr-experience .tp-sr .sr-v02-grid .sr-item{min-height:160px;gap:7px;border-radius:14px;padding:11px 6px}
.sr-experience .tp-sr .sr-v02-grid .sr-item-preview{height:96px;width:95px;object-fit:contain}
.sr-experience .tp-sr .sr-v02-grid .sr-item b{font-size:13px;line-height:1.2}
.sr-experience .tp-sr .sr-wardrobe-tabs button{font-size:13px;padding:11px 14px}
.sr-experience .tp-sr .sr-section-title{font-size:20px}
.sr-experience .tp-sr .sr-feedback-card{width:min(92%,540px);min-height:280px}
.sr-experience .tp-sr .sr-feedback{z-index:42}
.sr-experience .tp-sr .sr-heard{display:none!important}
@media(min-width:1320px){
 .sr-experience.with-side{grid-template-columns:minmax(145px,185px) minmax(0,1fr) minmax(145px,185px);gap:12px}
 .sr-experience.with-side .tp-sr{grid-column:2;grid-row:1}
 .sr-experience.with-side .sr-ad-left{display:flex;grid-column:1;grid-row:1}
 .sr-experience.with-side .sr-ad-right{display:flex;grid-column:3;grid-row:1}
 .sr-experience.with-side .tp-sr .sr-main{grid-template-columns:minmax(0,1.4fr) minmax(345px,.9fr)}
}
@media(max-width:1090px){
 .sr-experience .tp-sr .sr-main{grid-template-columns:minmax(0,1.15fr) minmax(325px,.85fr)}
 .sr-experience .tp-sr .sr-brand{flex-basis:280px;min-width:200px}
 .sr-experience .tp-sr .sr-brand-title{font-size:22px}
 .sr-experience .tp-sr .sr-top-btn{font-size:12px;padding:9px 12px}
}
@media(max-width:760px){
 .sr-experience{width:calc(100vw - 12px)!important;margin:8px 0 16px!important}
 .sr-experience .tp-sr{min-height:0;border-radius:12px}
 .sr-experience .tp-sr .sr-topbar{min-height:0;height:auto;display:grid;grid-template-columns:minmax(0,1fr);padding:9px 10px;gap:8px}
 .sr-experience .tp-sr .sr-brand{justify-content:center;min-width:0;max-width:100%;gap:8px}
 .sr-experience .tp-sr .sr-brand img{width:94px;max-width:94px}
 .sr-experience .tp-sr .sr-brand-title{font-size:21px;line-height:1.04}
 .sr-experience .tp-sr .sr-top-actions{width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
 .sr-experience .tp-sr .sr-top-btn{padding:9px 10px;font-size:11px!important;min-width:0}
 .sr-experience .tp-sr #sr-wardrobe-btn{font-size:11px!important;padding:9px 10px}
 .sr-experience .tp-sr .sr-top-btn[data-i18n=leaderboard]{font-size:11px!important}
 .sr-experience .tp-sr .sr-profile-button{font-size:11px!important}
 .sr-experience .tp-sr .sr-profile-button:after{content:none}
 .sr-experience .tp-sr .sr-main{display:grid;grid-template-columns:1fr;min-height:0;height:auto}
 .sr-experience .tp-sr .sr-playfield{height:clamp(255px,47vh,430px);min-height:255px;max-height:430px}
 .sr-experience .tp-sr .sr-challenge{min-height:365px;padding:16px 14px;gap:11px}
 .sr-experience .tp-sr .sr-question-card{min-height:120px;padding:13px 11px}
 .sr-experience .tp-sr .sr-sentence{font-size:clamp(22px,5.4vw,31px)}
 .sr-experience .tp-sr .sr-mic-button{width:81px;height:81px;font-size:30px}
 .sr-experience .tp-sr .sr-layer{padding:12px;align-items:center}
 .sr-experience .tp-sr .sr-modal{max-height:min(95%,800px);overflow:auto;padding:18px}
 .sr-experience .tp-sr .sr-start-modal{width:100%;display:flex;flex-direction:column;gap:12px;align-items:stretch;padding:15px}
 .sr-experience .tp-sr .sr-start-heading h2{font-size:32px}
 .sr-experience .tp-sr .sr-start-heading img{width:160px}
 .sr-experience .tp-sr .sr-hero-picker{width:100%;justify-content:center;margin:0}
 .sr-experience .tp-sr .sr-avatar-choice img{height:106px}
 .sr-experience .tp-sr .sr-home-ranking{width:100%;padding:10px}
 .sr-experience .tp-sr .sr-home-top-list{max-height:165px}
 .sr-experience .tp-sr .sr-home-ranking-title{font-size:13px}
 .sr-experience .tp-sr .sr-start-buttons{width:100%;max-width:450px;align-self:center}
 .sr-experience .tp-sr .sr-start-small{font-size:11px}
 .sr-experience .tp-sr .sr-sound-onboard{width:100%;font-size:12px}
 .sr-experience .tp-sr .sr-user-profile.sr-character-preview{grid-template-columns:145px minmax(0,1fr);gap:12px;padding:13px}
 .sr-experience .tp-sr .sr-portrait-stage{height:165px}
 .sr-experience .tp-sr .sr-stats strong{font-size:20px}
 .sr-experience .tp-sr .sr-stats span{font-size:13px}
 .sr-experience .tp-sr .sr-v02-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .sr-experience .tp-sr .sr-v02-grid .sr-item{min-height:140px}
 .sr-experience .tp-sr .sr-v02-grid .sr-item-preview{height:75px}
 .sr-experience .tp-sr .sr-result-modal .sr-medal{font-size:64px}
 .sr-experience .tp-sr .sr-result-modal h2{font-size:31px}
 .sr-experience .tp-sr .sr-result-score{font-size:46px}
}
@media(orientation:landscape) and (max-height:560px) and (max-width:970px){
 .sr-experience .tp-sr .sr-topbar{min-height:0;display:flex;flex-wrap:nowrap;justify-content:space-between;padding:5px 10px}
 .sr-experience .tp-sr .sr-brand img{width:73px}
 .sr-experience .tp-sr .sr-brand-title{font-size:16px}
 .sr-experience .tp-sr .sr-top-btn{font-size:10px!important;padding:6px}
 .sr-experience .tp-sr .sr-main{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(260px,.88fr);height:calc(100dvh - 92px);min-height:320px}
 .sr-experience .tp-sr .sr-playfield{height:100%;min-height:0;max-height:none}
 .sr-experience .tp-sr .sr-challenge{height:100%;min-height:0;overflow:auto;padding:7px 10px;gap:5px}
 .sr-experience .tp-sr .sr-question-card{min-height:74px}
 .sr-experience .tp-sr .sr-sentence{font-size:17px}
 .sr-experience .tp-sr .sr-mic-button{width:47px;height:47px;font-size:20px}
 .sr-experience .tp-sr .sr-start-modal{display:flex}
}
@media(max-width:480px){
 .sr-experience .tp-sr .sr-user-profile.sr-character-preview{grid-template-columns:110px minmax(0,1fr);gap:10px;padding:11px}
 .sr-experience .tp-sr .sr-portrait-stage{height:158px}
 .sr-experience .tp-sr .sr-stats{gap:3px}
 .sr-experience .tp-sr .sr-stats strong{font-size:22px}
 .sr-experience .tp-sr .sr-stats span{font-size:14px;line-height:1.3}
 .sr-experience .tp-sr .sr-stats .sr-stats-world{font-size:13px;padding:5px 9px}
}
/* v0.2.2 — cohesive, full-body skins only. No misaligned hats/loose items. */
.sr-experience .tp-sr .sr-skin-only-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-height:465px;overflow:auto;padding:6px 3px 12px}
.sr-experience .tp-sr .sr-skin-only-grid .sr-item{min-height:171px;padding:10px 5px 9px;justify-content:flex-start;border-radius:17px;background:linear-gradient(165deg,#f1f8ff,#fffaf1);transition:transform .16s,box-shadow .16s;box-shadow:0 3px 10px #123b6612}
.sr-experience .tp-sr .sr-skin-only-grid .sr-item:not(:disabled):active{transform:scale(.97)}
.sr-experience .tp-sr .sr-skin-only-grid .sr-item.selected{border-color:#ff9f35!important;background:linear-gradient(155deg,#fffae7,#fff1d5);box-shadow:0 0 0 2px #ffce70,0 9px 18px #f1ac6728}
.sr-experience .tp-sr .sr-skin-only-grid .sr-item-preview{width:100%;height:104px;max-width:136px;object-fit:contain;filter:drop-shadow(0 4px 4px #26517b33)}
.sr-experience .tp-sr .sr-skin-only-grid .sr-item b{font-size:13px;line-height:1.22;min-height:31px;max-width:100%;text-wrap:balance}
.sr-experience .tp-sr .sr-skin-only-grid .sr-item.locked{opacity:.63;filter:grayscale(.8)}
.sr-experience .tp-sr .sr-skins-description{margin:8px 0 3px;color:#456b91;font-size:13px;line-height:1.5;font-weight:650}
.sr-experience .tp-sr .sr-loot-character-img{height:220px;width:min(100%,245px);object-fit:contain;filter:drop-shadow(0 10px 10px #37679e48);animation:sr-character-unlock .55s ease-out both}
.sr-experience .tp-sr .sr-loot-chest:has(.sr-loot-character-img){animation:none;margin:0 auto 4px;display:flex;align-items:center;justify-content:center}
@keyframes sr-character-unlock{0%{transform:scale(.4) rotate(-12deg);opacity:0}65%{transform:scale(1.12) rotate(5deg);opacity:1}100%{transform:scale(1) rotate(0deg);opacity:1}}
@media(max-width:720px){.sr-experience .tp-sr .sr-skin-only-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sr-experience .tp-sr .sr-skin-only-grid .sr-item{min-height:142px;padding:6px 3px}.sr-experience .tp-sr .sr-skin-only-grid .sr-item-preview{height:79px}.sr-experience .tp-sr .sr-skin-only-grid .sr-item b{font-size:11px;min-height:26px}}
@media(max-width:390px){.sr-experience .tp-sr .sr-skin-only-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Speak & Run v0.2.3 - fixed gender inventories and embedded character exchange */
.sr-experience .tp-sr .sr-gender-select{display:block;border:2px solid #b6d3f3;background:#f1f8ff;padding:12px;border-radius:15px;margin:4px 0 8px;color:#123b76}
.sr-experience .tp-sr .sr-gender-select>strong{font-size:13px;font-weight:900;display:block;margin-bottom:8px}
.sr-experience .tp-sr .sr-gender-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sr-experience .tp-sr .sr-gender-options label{display:flex;align-items:center;justify-content:center;gap:7px;border:2px solid #b9d4f3;border-radius:13px;background:white;padding:11px 5px;font-weight:900;font-size:13px;cursor:pointer}
.sr-experience .tp-sr .sr-gender-options label:has(input:checked){border-color:#ff8c22;background:#fff4e4;box-shadow:0 0 0 2px #ffc66a66}
.sr-experience .tp-sr .sr-gender-select small{display:block;color:#577ca4;font-size:11px;margin-top:8px;line-height:1.45}
.sr-experience .tp-sr .sr-avatar-choice.gender-locked{opacity:.37;filter:grayscale(1);cursor:not-allowed}
.sr-experience .tp-sr .sr-profile-locked{padding:11px;border:2px solid #93bee9;background:#e4f2ff;color:#125192;border-radius:12px;font-size:13px;font-weight:900;line-height:1.5;text-align:center;margin:10px 0}
.sr-experience .tp-sr #sr-redeem-modal{z-index:49!important;background:rgba(4,17,48,.83);backdrop-filter:blur(10px)}
.sr-experience .tp-sr .sr-redeem-card{max-width:430px;width:100%;border-radius:28px;border:4px solid #ffcb55;background:radial-gradient(circle at 50% 16%,#f2e2ff 0,#fff 56%,#e4f2ff 100%);text-align:center;box-shadow:0 15px 65px #f5b43a7a,0 28px 75px #041c546d;padding:25px 22px 21px}
.sr-experience .tp-sr .sr-redeem-card h2{font-size:clamp(20px,3vw,29px);color:#7e2bb7;font-weight:900;margin:7px 0}
.sr-experience .tp-sr .sr-redeem-sparkle{display:block;font-size:22px;letter-spacing:8px}
.sr-experience .tp-sr .sr-redeem-hero{height:175px;width:100%;max-width:245px;object-fit:contain;display:block;margin:5px auto 10px;filter:drop-shadow(0 11px 11px #5472bb4d);animation:sr-redeem-pop .5s cubic-bezier(.18,.9,.2,1) both}
.sr-experience .tp-sr .sr-redeem-card h3{font-size:20px;font-weight:900;color:#103d79;margin:4px 0 10px}
.sr-experience .tp-sr #sr-redeem-balance{background:#f7efff;color:#593b8b;font-size:14px;font-weight:800;line-height:1.6;border-radius:12px;padding:11px;margin:8px 0 12px}
.sr-experience .tp-sr #sr-redeem-error{color:#b72933;font-size:13px;font-weight:800;min-height:16px}
.sr-experience .tp-sr .sr-redeem-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:10px;margin-top:12px}
.sr-experience .tp-sr .sr-redeem-actions button{min-height:49px;font-size:13px}
@keyframes sr-redeem-pop{0%{transform:scale(.55) rotate(-8deg);opacity:0}70%{transform:scale(1.08) rotate(3deg);opacity:1}100%{transform:scale(1) rotate(0deg);opacity:1}}
@media(max-width:540px){.sr-experience .tp-sr .sr-redeem-card{padding:20px 15px}.sr-experience .tp-sr .sr-redeem-hero{height:130px}.sr-experience .tp-sr .sr-gender-options label{font-size:11px}}

/* v0.2.4: user-requested clarity, compact rankings, instructions and mobile gameplay */
.sr-experience .tp-sr .sr-start-heading p[data-i18n="tagline"]{
  font-size:clamp(18px,2vw,22px);font-weight:900;color:#104982;
  line-height:1.27;margin:8px auto 9px;max-width:450px;
  text-shadow:0 1px 0 #fff;letter-spacing:-.25px;
}
.sr-experience .tp-sr .sr-start-heading p[data-i18n="tagline"]::before{content:'✨ ';}
.sr-experience .tp-sr .sr-home-instructions{width:min(100%,390px);margin:7px auto 8px;text-align:center}
.sr-experience .tp-sr .sr-guide-open{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:10px 15px;border:2px solid #c3def9;border-radius:13px;background:#edf7ff;color:#134d91;font-size:13px;font-weight:900;text-align:left}
.sr-experience .tp-sr .sr-guide-open:hover{background:#ddecff;border-color:#73b5ef}
.sr-experience .tp-sr .sr-home-instructions-preview{font-size:11px;color:#5a78a0;font-weight:800;padding:5px 3px 0}
.sr-experience .tp-sr .sr-guide-modal{max-width:560px;padding:25px 26px;max-height:min(92%,760px)}
.sr-experience .tp-sr .sr-guide-icon{font-size:39px;text-align:center}
.sr-experience .tp-sr .sr-guide-modal h2{text-align:center;font-size:25px;color:#103e7f}
.sr-experience .tp-sr .sr-guide-steps{display:flex;flex-direction:column;gap:9px;margin:14px 0}
.sr-experience .tp-sr .sr-guide-steps>div{display:grid;grid-template-columns:36px 1fr;gap:11px;align-items:start;border-radius:13px;background:#f1f7ff;padding:10px}
.sr-experience .tp-sr .sr-guide-steps b{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:#1372c9;color:#fff;font-size:17px}
.sr-experience .tp-sr .sr-guide-steps p{margin:0;line-height:1.4}
.sr-experience .tp-sr .sr-guide-steps strong{display:block;font-size:14px;color:#113c78;font-weight:900}
.sr-experience .tp-sr .sr-guide-steps span{display:block;font-size:12px;color:#48688c;margin-top:2px}
.sr-experience .tp-sr .sr-guide-note{color:#6b7793;font-size:11px;line-height:1.4;margin:10px 0 15px}
.sr-experience .tp-sr .sr-guide-modal .sr-primary{width:100%}
.sr-experience .tp-sr .sr-home-rank-toggle{display:none}
.sr-experience .tp-sr .sr-home-ranking{flex-shrink:0}
.sr-experience .tp-sr .sr-game-footer{justify-content:center}

@media(max-width:760px){
 /* Top 10 never expands the onboarding page on phones/tablets. */
 .sr-experience .tp-sr .sr-home-ranking{padding:0!important;background:transparent;border:0;box-shadow:none}
 .sr-experience .tp-sr .sr-home-rank-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;gap:8px;padding:12px 15px;background:#fff5dc;border:2px solid #f5d594!important;border-radius:13px;color:#98510c;font-size:14px;font-weight:900}
 .sr-experience .tp-sr .sr-home-ranking-title,.sr-experience .tp-sr .sr-home-top-list,.sr-experience .tp-sr .sr-home-personal-rank{display:none!important}
 .sr-experience .tp-sr .sr-rank-toggle-arrow{font-size:24px;line-height:0.7;color:#eb8723}
 .sr-experience .tp-sr .sr-start-heading p[data-i18n="tagline"]{font-size:clamp(17px,4.3vw,20px);margin:4px 0 6px}
 .sr-experience .tp-sr .sr-home-instructions{margin:4px auto 5px}
 .sr-experience .tp-sr .sr-start-small{margin-top:5px}
 .sr-experience .tp-sr .sr-guide-modal{padding:18px 15px;max-height:90%}
 .sr-experience .tp-sr .sr-guide-steps{gap:7px}
 .sr-experience .tp-sr .sr-guide-steps>div{padding:8px;gap:8px}
 /* Hide common theme page title only on the page containing the game. */
 body:has(#tp-speak-run) .entry-header > .entry-title,
 body:has(#tp-speak-run) .page-header > .page-title,
 body:has(#tp-speak-run) main article > header > h1.entry-title{display:none!important}
}
/* During a run the entire game is a single fixed-height application. WordPress page scrolling is disabled.
   Home is returned to normal document flow for access to the promotional banner. */
@media(max-width:760px), (orientation:landscape) and (max-height:560px) and (max-width:970px){
 body.tp-sr-playing{overflow:hidden!important;overscroll-behavior:none}
 body.tp-sr-playing .sr-experience{position:fixed!important;inset:0!important;z-index:2147483000!important;display:block!important;width:100vw!important;height:100dvh!important;max-width:none!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#f2f8ff}
 body.tp-sr-playing .sr-experience>.sr-ad-side,body.tp-sr-playing .sr-experience>.sr-ad-mobile{display:none!important}
 body.tp-sr-playing .sr-experience .tp-sr{height:100dvh!important;min-height:0!important;max-height:100dvh!important;display:flex!important;flex-direction:column;border-radius:0!important;overflow:hidden!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-topbar{height:51px!important;min-height:51px!important;flex:0 0 51px!important;display:flex!important;flex-wrap:nowrap!important;align-items:center;justify-content:space-between;padding:5px 7px!important;gap:3px!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-brand{min-width:0;flex:0 1 143px!important;gap:3px!important;justify-content:flex-start!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-brand img{width:57px!important;max-width:57px!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-brand-title{font-size:12px!important;letter-spacing:-.7px!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-brand-title small{display:none!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-top-actions{width:auto!important;flex:0 0 auto;gap:3px!important;flex-wrap:nowrap!important;justify-content:flex-end!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-top-btn{height:32px!important;min-width:30px!important;padding:4px 6px!important;font-size:12px!important;border-radius:9px!important}
 body.tp-sr-playing .sr-experience .tp-sr #sr-wardrobe-btn span{display:none!important}
 body.tp-sr-playing .sr-experience .tp-sr #sr-board-btn{font-size:0!important}
 body.tp-sr-playing .sr-experience .tp-sr #sr-board-btn::before{content:'🏆';font-size:15px}
 body.tp-sr-playing .sr-experience .tp-sr #sr-profile-button{font-size:0!important}
 body.tp-sr-playing .sr-experience .tp-sr #sr-profile-button::after{content:'👤';font-size:15px}
 body.tp-sr-playing .sr-experience .tp-sr .sr-main{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(0,44%) minmax(0,56%)!important;flex:1 1 auto!important;height:auto!important;min-height:0!important;overflow:hidden!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-playfield{height:100%!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-challenge{height:100%!important;min-height:0!important;max-height:none!important;overflow:hidden!important;padding:7px 11px!important;gap:5px!important;display:flex!important;flex-direction:column!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-challenge-top{flex:0 0 auto;min-height:27px!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-question-card{min-height:0!important;max-height:42%!important;padding:7px 9px!important;gap:3px!important;overflow-y:auto!important;border-bottom-width:3px!important;flex:0 1 auto!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-sentence{font-size:clamp(18px,4.7vw,25px)!important;line-height:1.2!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-topic{font-size:9px!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-translation{font-size:10px!important;line-height:1.2!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-action-center{flex:1 1 auto!important;min-height:0!important;gap:3px!important;justify-content:center!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-mic-button{width:clamp(51px,10vh,69px)!important;height:clamp(51px,10vh,69px)!important;font-size:26px!important;border-width:4px!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-wave{height:11px!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-helper{font-size:11px!important;line-height:1.22!important;min-height:0!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-bottom-actions{flex:0 0 auto!important;min-height:32px!important;flex-wrap:nowrap!important;gap:4px!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-bottom-actions button{font-size:10px!important;padding:6px!important;white-space:nowrap!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-match-pill{font-size:9px!important;padding:5px!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-game-footer{flex:0 0 18px!important;min-height:18px!important;height:18px!important;padding:2px!important;font-size:9px!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-layer{overflow:auto!important;align-items:center!important;padding:8px!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-modal{max-height:94%!important}
}
@media(orientation:landscape) and (max-height:560px) and (max-width:970px){
 body.tp-sr-playing .sr-experience .tp-sr .sr-topbar{height:43px!important;min-height:43px!important;flex-basis:43px!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-main{grid-template-columns:minmax(0,56%) minmax(0,44%)!important;grid-template-rows:1fr!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-challenge{padding:5px 8px!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-question-card{max-height:42%!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-sentence{font-size:15px!important}
 body.tp-sr-playing .sr-experience .tp-sr .sr-mic-button{width:43px!important;height:43px!important;font-size:19px!important}
}
/* Override the legacy centering transform (translateX(-50%)) when fullscreen. */
@media(max-width:760px), (orientation:landscape) and (max-height:560px) and (max-width:970px){
 body.tp-sr-playing .sr-experience{transform:none!important;left:0!important;right:0!important;top:0!important;bottom:0!important}
 body:has(#tp-speak-run) h1.entry-title,body:has(#tp-speak-run) h1.wp-block-post-title{display:none!important}
}

/* v0.2.6 — give the recording hint breathing room below the microphone.
   Scope to phones and landscape mobile layouts, while preserving the compact fullscreen game. */
@media (max-width:760px), (orientation:landscape) and (max-height:560px) and (max-width:970px){
  .sr-experience .tp-sr .sr-action-center .sr-helper{
    margin-top:12px!important;
    line-height:1.4!important;
    text-align:center;
    max-width:95%;
    padding-inline:6px;
    flex-shrink:0;
  }
}
@media (orientation:landscape) and (max-height:560px) and (max-width:970px){
  .sr-experience .tp-sr .sr-action-center .sr-helper{margin-top:6px!important}
}


/* ===============================================================
   v0.2.9 | Flatsome 1300px: fitted onboarding, no nested page scroll
   Scope all overrides to TeachPlus. Gameplay remains full screen on
   phones after Start; other dialogs (wardrobe, account) may scroll.
   =============================================================== */
@media (min-width:761px) {
  /* Home should fit the usable browser viewport under the theme header.
     The old 860px min-height made the dialog smaller than its contents. */
  .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    height: clamp(550px, calc(100dvh - 118px), 780px) !important;
    max-height: calc(100dvh - 70px) !important;
    overflow: hidden !important;
  }
  .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) .sr-topbar {
    flex: 0 0 68px;
    min-height: 68px;
    height: 68px;
    padding: 8px 16px;
    flex-wrap: nowrap;
  }
  .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) .sr-main {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    overflow: hidden;
  }
  .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) .sr-playfield,
  .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) .sr-challenge {
    min-height: 0;
    max-height: 100%;
    height: 100%;
    overflow: hidden;
  }
  .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) .sr-game-footer {
    flex: 0 0 28px;
    min-height: 28px;
    height: 28px;
    padding: 3px 14px;
  }

  /* The start overlay has its own grid. Assign every child explicitly:
     older generic grid-auto-placement appended an unexpected last row. */
  .sr-experience .tp-sr #sr-home {
    overflow: hidden;
    padding: clamp(8px, 1.5vh, 16px);
    align-items: center;
    justify-content: center;
  }
  .sr-experience .tp-sr #sr-home .sr-start-modal {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, .91fr);
    grid-template-areas:
      "heading heading"
      "hero ranking"
      "guide ranking"
      "buttons ranking"
      "sound ranking"
      "small small";
    grid-template-rows: auto auto auto auto auto auto;
    column-gap: clamp(12px, 1.6vw, 24px);
    row-gap: clamp(4px, .65vh, 8px);
    align-items: center;
    width: min(940px, 100%);
    max-width: min(940px, 100%);
    max-height: 100%;
    overflow: hidden;
    padding: clamp(10px, 1.5vh, 17px) clamp(14px, 2vw, 25px);
  }
  .sr-experience .tp-sr #sr-home .sr-start-heading {grid-area: heading;}
  .sr-experience .tp-sr #sr-home .sr-hero-picker {grid-area: hero; width:100%; margin:0 auto;}
  .sr-experience .tp-sr #sr-home .sr-home-instructions {grid-area: guide; width:100%; margin:0;}
  .sr-experience .tp-sr #sr-home .sr-start-buttons {grid-area: buttons; width:100%; max-width:unset; gap:6px; margin:0;}
  .sr-experience .tp-sr #sr-home .sr-sound-onboard {grid-area: sound; width:100%; margin:0;}
  .sr-experience .tp-sr #sr-home .sr-start-small {grid-area: small; width:100%; margin:0;}
  .sr-experience .tp-sr #sr-home .sr-home-ranking {
    grid-area: ranking;
    align-self: stretch;
    min-height:0;
    max-height:100%;
    display:flex;
    flex-direction:column;
    padding:10px 12px;
    overflow:hidden;
  }
  .sr-experience .tp-sr #sr-home .sr-home-top-list {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height:0;
    max-height: min(300px, 36vh);
  }
  .sr-experience .tp-sr #sr-home .sr-start-heading img {width: clamp(128px, 14vh, 162px); margin-bottom:0;}
  .sr-experience .tp-sr #sr-home .sr-start-heading h2 {font-size:clamp(27px,3.5vh,37px);margin:2px 0;line-height:1;}
  .sr-experience .tp-sr #sr-home .sr-start-heading p[data-i18n="tagline"] {font-size:clamp(14px,1.8vh,18px);line-height:1.18;margin:3px 0;}
  .sr-experience .tp-sr #sr-home .sr-avatar-choice {max-width:none; min-height:0; padding:3px 5px; gap:1px; border-radius:15px;}
  .sr-experience .tp-sr #sr-home .sr-avatar-choice img {height:clamp(86px,13.2vh,130px);}
  .sr-experience .tp-sr #sr-home .sr-avatar-choice span {font-size:clamp(10px,1.2vh,12px);line-height:1.1;}
  .sr-experience .tp-sr #sr-home .sr-guide-open {min-height:34px;padding:7px 12px;font-size:12px;}
  .sr-experience .tp-sr #sr-home .sr-home-instructions-preview {padding-top:2px;font-size:10px;line-height:1.1;}
  .sr-experience .tp-sr #sr-home .sr-start-buttons .sr-primary,
  .sr-experience .tp-sr #sr-home .sr-start-buttons .sr-secondary {min-height:36px;padding:9px 11px;font-size:12px;border-radius:11px;line-height:1.22;}
  .sr-experience .tp-sr #sr-home .sr-sound-onboard {min-height:34px;padding:7px 10px;font-size:11px;}
  .sr-experience .tp-sr #sr-home .sr-start-small {font-size:10px;line-height:1.15;}
  .sr-experience .tp-sr #sr-home .sr-home-ranking-title {font-size:13px;padding-bottom:6px;}
  .sr-experience .tp-sr #sr-home .sr-home-ranking-title span {font-size:9px;}
  .sr-experience .tp-sr #sr-home .sr-home-rank-row {font-size:11px;padding:4px 8px;}
  .sr-experience .tp-sr #sr-home .sr-home-empty {padding:16px 8px;}
}
/* Constrained desktop, smaller display and browser zoom: tighter layout. */
@media (min-width:761px) and (max-height:750px) {
 .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) {height:calc(100dvh - 100px)!important;min-height:490px!important;}
 .sr-experience .tp-sr #sr-home .sr-start-modal {padding:9px 16px;row-gap:3px;}
 .sr-experience .tp-sr #sr-home .sr-avatar-choice img {height:clamp(68px,11vh,92px);}
 .sr-experience .tp-sr #sr-home .sr-start-heading img {width:112px;}
 .sr-experience .tp-sr #sr-home .sr-start-heading h2 {font-size:27px;}
 .sr-experience .tp-sr #sr-home .sr-start-heading p[data-i18n="tagline"] {font-size:13px;}
 .sr-experience .tp-sr #sr-home .sr-home-instructions-preview {display:none;}
 .sr-experience .tp-sr #sr-home .sr-start-buttons .sr-primary,
 .sr-experience .tp-sr #sr-home .sr-start-buttons .sr-secondary {min-height:30px;padding:7px 9px;}
 .sr-experience .tp-sr #sr-home .sr-sound-onboard {min-height:30px;padding:5px 9px;}
 .sr-experience .tp-sr #sr-home .sr-start-small {font-size:9px;}
}
/* A narrow Flatsome content column may hold a wide browser. Use
   container queries instead of depending solely on window dimensions. */
.sr-experience .tp-sr {container-type:inline-size;}
@container (max-width:800px) {
 .sr-experience .tp-sr #sr-home .sr-start-modal {
   width:min(100%,640px);
   grid-template-columns:minmax(0,1fr);
   grid-template-areas:"heading" "hero" "guide" "buttons" "ranking" "sound" "small";
 }
 .sr-experience .tp-sr #sr-home .sr-home-ranking {max-height:125px;}
 .sr-experience .tp-sr #sr-home .sr-home-top-list {max-height:70px;}
}
/* Phone/portrait tablet: no double scrollbar in Flatsome. The Top 10
   opens separately, preserving the compact game start page. */
@media (max-width:760px) {
 .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) {
   display:flex!important;
   flex-direction:column!important;
   height: min(700px, calc(100dvh - 12px))!important;
   min-height: min(540px, calc(100dvh - 12px))!important;
   max-height: calc(100dvh - 12px)!important;
   overflow:hidden!important;
 }
 .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) .sr-topbar {flex:0 0 47px;min-height:47px;height:47px;display:flex;flex-wrap:nowrap;padding:5px 7px;gap:4px;}
 .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) .sr-brand{justify-content:flex-start;flex:1 1 auto;min-width:0;}
 .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) .sr-brand img{width:64px;max-width:64px;}
 .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) .sr-brand-title{font-size:12px;}
 .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) .sr-brand-title small{display:none;}
 .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) .sr-top-actions{flex:0 0 auto;width:auto;gap:2px;flex-wrap:nowrap;}
 .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) .sr-top-btn{font-size:11px!important;min-width:30px;padding:6px!important;}
 .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) #sr-wardrobe-btn span{display:none;}
 .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) #sr-board-btn{font-size:0!important;}
 .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) #sr-board-btn:before{content:'🏆';font-size:13px;}
 .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) #sr-profile-button{font-size:0!important;}
 .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) #sr-profile-button:after{content:'👤';font-size:13px;}
 .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) .sr-main{flex:1;min-height:0;overflow:hidden;}
 .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) .sr-playfield,.sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) .sr-challenge{height:100%;min-height:0;}
 .sr-experience .tp-sr:has(#sr-home:not(.sr-hidden)) .sr-game-footer{flex:0 0 16px;min-height:16px;height:16px;padding:0 6px;}
 .sr-experience .tp-sr #sr-home{padding:7px;overflow:hidden;}
 .sr-experience .tp-sr #sr-home .sr-start-modal{display:flex;flex-direction:column;gap:clamp(3px,.75vh,6px);max-height:100%;min-height:0;overflow:hidden;padding:10px 12px;width:min(100%,470px);}
 .sr-experience .tp-sr #sr-home .sr-start-heading img{width:clamp(92px,14vh,127px);}
 .sr-experience .tp-sr #sr-home .sr-start-heading h2{font-size:clamp(25px,4.3vh,31px);margin:2px 0;}
 .sr-experience .tp-sr #sr-home .sr-start-heading p[data-i18n="tagline"]{font-size:clamp(13px,2.3vh,16px);margin:3px 0 2px;}
 .sr-experience .tp-sr #sr-home .sr-hero-picker{width:100%;margin:0;gap:6px;}
 .sr-experience .tp-sr #sr-home .sr-avatar-choice{width:48%;max-width:none;padding:2px 4px;gap:0;border-radius:12px;}
 .sr-experience .tp-sr #sr-home .sr-avatar-choice img{height:clamp(68px,15vh,106px);}
 .sr-experience .tp-sr #sr-home .sr-avatar-choice span{font-size:11px;}
 .sr-experience .tp-sr #sr-home .sr-start-buttons{width:100%;max-width:none;gap:5px;margin:0;}
 .sr-experience .tp-sr #sr-home .sr-start-buttons .sr-primary,.sr-experience .tp-sr #sr-home .sr-start-buttons .sr-secondary{font-size:11px;min-height:32px;padding:8px 9px;border-radius:10px;line-height:1.15;}
 .sr-experience .tp-sr #sr-home .sr-home-instructions{margin:0;width:100%;}
 .sr-experience .tp-sr #sr-home .sr-home-instructions-preview{display:none;}
 .sr-experience .tp-sr #sr-home .sr-guide-open{min-height:30px;padding:6px 11px;font-size:11px;}
 .sr-experience .tp-sr #sr-home .sr-home-ranking{width:100%;margin:0;}
 .sr-experience .tp-sr #sr-home .sr-home-rank-toggle{min-height:32px;padding:6px 11px;font-size:11px;}
 .sr-experience .tp-sr #sr-home .sr-sound-onboard{padding:7px 9px;font-size:11px;min-height:31px;}
 .sr-experience .tp-sr #sr-home .sr-start-small{margin:0;font-size:9px;line-height:1.15;}
}
@media(max-width:760px) and (max-height:680px) {
 .sr-experience .tp-sr #sr-home .sr-start-heading img{width:88px;}
 .sr-experience .tp-sr #sr-home .sr-start-heading h2{font-size:23px;}
 .sr-experience .tp-sr #sr-home .sr-hero-picker img{height:66px;}
 .sr-experience .tp-sr #sr-home .sr-sound-onboard{padding:5px 8px;min-height:27px;}
 .sr-experience .tp-sr #sr-home .sr-start-small{display:none;}
}
/* The same viewport-fit height also applies to active desktop gameplay.
   Otherwise the 700px fixed playfield pushes the microphone below the fold
   on 1300px Flatsome layouts at 1366x768 / 1440x900. */
@media (min-width:761px) and (min-height:561px) {
 body.tp-sr-playing .sr-experience .tp-sr {
   display:flex!important;
   flex-direction:column!important;
   height:clamp(550px, calc(100dvh - 118px), 780px)!important;
   min-height:0!important;
   max-height:calc(100dvh - 70px)!important;
   overflow:hidden!important;
 }
 body.tp-sr-playing .sr-experience .tp-sr .sr-topbar {flex:0 0 68px;min-height:68px;height:68px;padding:8px 16px;flex-wrap:nowrap;}
 body.tp-sr-playing .sr-experience .tp-sr .sr-main {flex:1 1 auto;min-height:0;height:auto;overflow:hidden;}
 body.tp-sr-playing .sr-experience .tp-sr .sr-playfield,
 body.tp-sr-playing .sr-experience .tp-sr .sr-challenge {height:100%;min-height:0;max-height:100%;overflow:hidden;}
 body.tp-sr-playing .sr-experience .tp-sr .sr-challenge {gap:clamp(7px,1vh,13px);padding:clamp(11px,1.5vh,20px) clamp(13px,2vw,28px);}
 body.tp-sr-playing .sr-experience .tp-sr .sr-question-card {flex:0 1 auto;min-height:0;max-height:43%;padding:clamp(9px,1.5vh,17px) 11px;overflow-y:auto;}
 body.tp-sr-playing .sr-experience .tp-sr .sr-action-center {min-height:0;flex:1 1 auto;}
 body.tp-sr-playing .sr-experience .tp-sr .sr-mic-button {width:clamp(70px,10vh,96px);height:clamp(70px,10vh,96px);font-size:clamp(28px,4vh,36px);flex-shrink:0;}
 body.tp-sr-playing .sr-experience .tp-sr .sr-game-footer {flex:0 0 28px;min-height:28px;height:28px;padding:3px 14px;}
}


/* TeachPlus Speak & Run 0.2.10 — Logo-free game UI and consistent Montserrat typography.
   Banner artwork uploaded by administrators is not modified. */
.sr-experience .tp-sr,
.sr-experience .tp-sr *,
.sr-experience .tp-sr input,
.sr-experience .tp-sr select,
.sr-experience .tp-sr textarea,
.sr-experience .tp-sr button {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif !important;
}
/* Brand is now a compact game name, not a second TeachPlus logo. */
.sr-experience .tp-sr .sr-brand {
  flex:0 1 auto;
  min-width:0;
  gap:0;
  align-items:center;
}
.sr-experience .tp-sr .sr-brand-title {
  font-size:clamp(21px,1.9vw,29px);
  font-weight:900;
  letter-spacing:-.7px;
  line-height:1.05;
}
.sr-experience .tp-sr .sr-brand-title small {
  margin-top:5px;
  letter-spacing:2.1px;
  font-size:9px;
  font-weight:700;
}
.sr-experience .tp-sr .sr-topbar {
  min-height:66px;
  padding:11px clamp(12px,1.7vw,25px);
  column-gap:clamp(10px,2vw,25px);
}
/* Headline and message sit together as a clean three-line lockup. */
.sr-experience .tp-sr #sr-home .sr-start-heading {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:0;
  padding:0;
}
.sr-experience .tp-sr #sr-home .sr-start-heading .sr-mini-label {
  font-size:clamp(9px,.85vw,11px);
  letter-spacing:2.2px;
  line-height:1.4;
  font-weight:800;
  color:#5685b9;
}
.sr-experience .tp-sr #sr-home .sr-start-heading h2 {
  margin:0;
  line-height:1.08;
  font-weight:900;
  letter-spacing:-1px;
  font-size:clamp(30px,3.5vw,43px);
}
.sr-experience .tp-sr #sr-home .sr-start-heading p[data-i18n="tagline"] {
  margin:1px 0 0;
  font-size:clamp(14px,1.4vw,19px);
  font-weight:800;
  line-height:1.35;
  max-width:100%;
}
/* Use the space freed by the deleted logo to separate the interactive sections. */
@media(min-width:761px) {
  .sr-experience .tp-sr #sr-home .sr-start-modal {
    row-gap:clamp(8px,1.1vh,14px);
    padding:clamp(15px,2vh,22px) clamp(17px,2vw,28px);
  }
  .sr-experience .tp-sr #sr-home .sr-start-heading {padding-bottom:clamp(1px,.5vh,5px);}
  .sr-experience .tp-sr #sr-home .sr-hero-picker {gap:clamp(10px,1.4vw,20px);}
  .sr-experience .tp-sr #sr-home .sr-start-buttons {gap:clamp(6px,.75vh,10px);}
}
@media (min-width:761px) and (max-height:750px){
  .sr-experience .tp-sr #sr-home .sr-start-modal{row-gap:5px;padding:12px 18px;}
  .sr-experience .tp-sr #sr-home .sr-start-heading {gap:3px;}
  .sr-experience .tp-sr #sr-home .sr-start-heading h2{font-size:30px;}
  .sr-experience .tp-sr #sr-home .sr-start-heading p[data-i18n="tagline"]{font-size:14px;}
}
@media(max-width:760px){
  .sr-experience .tp-sr .sr-brand {justify-content:flex-start!important;min-width:0!important;flex:1 1 auto!important;}
  .sr-experience .tp-sr .sr-brand-title {font-size:clamp(15px,4vw,20px)!important;letter-spacing:-.6px!important;line-height:1.08!important;}
  .sr-experience .tp-sr .sr-brand-title small{font-size:clamp(6px,1.5vw,8px)!important;letter-spacing:1.05px!important;margin-top:3px!important;display:block!important;}
  .sr-experience .tp-sr .sr-topbar{padding:6px 9px!important;min-height:49px;column-gap:5px;}
  .sr-experience .tp-sr #sr-home .sr-start-heading{gap:3px;}
  .sr-experience .tp-sr #sr-home .sr-start-heading .sr-mini-label{font-size:9px;letter-spacing:1.3px;}
  .sr-experience .tp-sr #sr-home .sr-start-heading h2{font-size:clamp(26px,5vw,34px);}
  .sr-experience .tp-sr #sr-home .sr-start-heading p[data-i18n="tagline"]{font-size:clamp(13px,3.6vw,16px);margin:1px 0 3px;}
  .sr-experience .tp-sr #sr-home .sr-start-modal {gap:clamp(5px,.9vh,10px);}
}
@media (max-width:400px){
  .sr-experience .tp-sr .sr-brand-title{font-size:15px!important;}
  .sr-experience .tp-sr .sr-brand-title small{font-size:6px!important;letter-spacing:.5px!important;}
}
