*{box-sizing:border-box}html,body{margin:0}.p2lng-body{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;background:#102443;color:#f6f9ff}#p2lng{min-height:100dvh;background:radial-gradient(ellipse at 80% 10%,#244d78 0%,#102443 65%)}#p2lng button{font:inherit;cursor:pointer;touch-action:manipulation}#p2lng button:focus-visible,#p2lng a:focus-visible{outline:3px solid #ffcf5e;outline-offset:3px}.ng-top{height:62px;display:flex;align-items:center;justify-content:space-between;padding:8px clamp(12px,4vw,38px);background:#15365a;gap:10px}.ng-top a{color:#fff;text-decoration:none;font-weight:800}.ng-top b,.ng-footer b{font-size:clamp(17px,3vw,25px);white-space:nowrap;color:#fff}.ng-top b span,.ng-footer b span{color:#ff943d}.ng-top button{background:#eaf4ff;border:0;border-radius:13px;padding:9px}.ng-shell{max-width:1080px;margin:auto;padding:clamp(12px,3vw,30px)}.ng-hero{text-align:center;padding:18px 6px}.ng-hero span,.ng-term-label{font-size:12px;font-weight:900;letter-spacing:.1em;color:#ffd16a}.ng-hero h1{font-size:clamp(28px,5vw,52px);margin:8px}.ng-hero p{color:#d8e9fa}.ng-terms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.ng-terms button{background:linear-gradient(145deg,#2e6489,#18456b);color:#fff;border:2px solid #6794b4;border-radius:20px;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;font-size:29px;box-shadow:0 6px 0 #071a31}.ng-terms b{font-size:21px}.ng-terms small{font-size:13px;color:#e5f1ff}.ng-status{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#1a3a5b;border-radius:18px 18px 0 0;padding:13px}.ng-status span{font-size:12px;color:#ffe19a;font-weight:850}.ng-status h2{margin:4px 0;font-size:clamp(17px,3vw,26px)}.ng-status small{color:#d5e6f6}.ng-stars{white-space:nowrap;background:#fff0b9;color:#493316;border-radius:20px;padding:10px;font-weight:900}.ng-scene{min-height:220px;background-color:#427b9b;background-position:center;background-size:cover;position:relative;display:flex;align-items:end;justify-content:space-between;gap:10px;padding:15px;border:2px solid #729abb}.ng-scene-caption{position:absolute;top:12px;left:12px;background:#fff5d6;color:#2b3850;border-radius:12px;padding:8px;font-weight:900}.ng-scene img{height:180px;width:130px;object-fit:contain;filter:drop-shadow(0 6px 5px #071b32)}.ng-dialogue{max-width:75%;background:#fff6dc;color:#193b55;border:3px solid #f7c66a;border-radius:17px;padding:12px;font-weight:850;line-height:1.4}.ng-task{background:#183a5c;border:2px solid #7197b6;border-radius:0 0 19px 19px;padding:clamp(12px,3vw,23px)}.ng-week{color:#ffdb88;font-weight:900;font-size:12px}.ng-task h3{font-size:clamp(20px,3vw,29px);margin:9px 0}.ng-task>p{line-height:1.5}.ng-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px}.ng-option{min-height:60px;padding:12px;border:2px solid #a2c9e7;background:#edf7ff;color:#17395d;border-radius:13px;font-weight:850}.ng-option.ng-selected{background:#ffdc82;border-color:#fff;box-shadow:0 0 0 3px #ffdc824d}.ng-subtitle{font-size:12px;color:#ffda82;font-weight:900}.ng-tiles,.ng-answer{min-height:64px;background:#0e2a46;border:2px dashed #7199b9;border-radius:14px;padding:9px;display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.ng-answer{background:#284862;border-color:#e6c17a}.ng-tile{border:1px solid #e7c787;border-bottom:5px solid #aa7936;border-radius:9px;background:linear-gradient(140deg,#fff8df,#e8ca91);color:#3a2914;padding:9px 12px;min-height:44px;font-weight:900!important;box-shadow:0 3px 5px #071627}.ng-placed{background:#d7ebbc;border-color:#a4c17d;border-bottom-color:#648647}.ng-feedback{min-height:27px;color:#ffe08c;font-weight:850}.ng-actions,.ng-nav{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.ng-actions button,.ng-nav button{background:#2164a5;color:white;border:1px solid #80b4dc;border-radius:12px;padding:12px;font-weight:850}.ng-actions #ng-check,.ng-actions #ng-next{background:#218855}.ng-actions button:disabled{opacity:.48;cursor:not-allowed}.ng-footnote{font-size:12px;color:#c5d9ea;line-height:1.5}.ng-footer{display:flex;justify-content:center;align-items:center;gap:9px;padding:15px;background:#173657}.ng-footer small{font-size:11px;white-space:nowrap}@media(max-width:620px){.ng-top{height:51px}.ng-terms{grid-template-columns:1fr}.ng-terms button{min-height:80px;flex-direction:row;flex-wrap:wrap}.ng-terms b{font-size:18px}.ng-status{padding:9px}.ng-scene{min-height:160px;padding:7px}.ng-scene img{height:120px;width:80px}.ng-dialogue{font-size:12px;padding:7px;max-width:78%}.ng-scene-caption{font-size:11px;padding:5px}.ng-task{padding:11px}.ng-tiles,.ng-answer{gap:5px;padding:6px}.ng-tile{font-size:13px!important;padding:7px;min-height:38px}.ng-actions button{flex:1;font-size:12px;padding:10px 6px}.ng-footer b{font-size:16px}.ng-footer small{font-size:9px}}
/* v1.7 learning map and mission briefing */
.ng-map{margin:18px 0;padding:18px;border:1px solid #496c95;border-radius:20px;background:#112d4d;color:#f5f9ff}.ng-map h2,.ng-brief h2{color:#fff;margin:0 0 10px}.ng-map-intro{color:#d6e9fc}.ng-map-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px}.ng-map-card{background:#204267;color:white;text-align:left;padding:15px;border:1px solid #6488ad;border-radius:15px;min-height:132px;cursor:pointer;display:flex;flex-direction:column;gap:7px}.ng-map-card:hover,.ng-map-card:focus-visible{outline:3px solid #ffd269}.ng-map-card strong{font-size:1.07rem;line-height:1.35}.ng-map-card small{color:#e2f1ff}.ng-map-card em{color:#ffe7a4;font-style:normal;font-weight:700}.ng-brief{background:#102b49;color:#fff;padding:clamp(17px,4vw,28px);border:2px solid #e6b75b;border-radius:20px;margin:18px 0}.ng-brief[hidden],.ng-map[hidden]{display:none!important}.ng-brief .ng-badge{color:#ffdb84;font-weight:800;letter-spacing:.05em}.ng-brief p,.ng-brief li{color:#e8f4ff;line-height:1.5}.ng-brief ul{padding-left:22px}.ng-brief h3{color:#ffdf91;margin-bottom:5px}.ng-brief .ng-brief-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.ng-brief-actions button{border:0;border-radius:13px;background:#ffce67;color:#162e49;padding:13px 18px;font-weight:800;cursor:pointer}.ng-brief-actions button.ng-secondary{background:#2a527c;color:#fff;border:1px solid #83a7c8}.ng-learning-strip{background:#193957;border-radius:12px;padding:10px 14px;color:#fff;margin:10px 0;font-weight:700}.ng-learning-strip span{color:#ffe3a0}
/* First Term Week 1: complete 20-challenge market adventure */
.ng-week1[hidden]{display:none!important}.ng-week1{margin:16px 0;color:#fff}.wk-controls{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:10px}.wk-controls button,.wk-task button,.wk-finish button{font:inherit;cursor:pointer;border-radius:12px;padding:10px 12px;border:1px solid #90bde0;background:#24547b;color:#fff}.wk-header{background:#18496b;border-radius:18px 18px 0 0;padding:15px;display:flex;justify-content:space-between;gap:10px}.wk-header small{color:#ffe2a0;font-weight:800}.wk-header h2{margin:7px 0}.wk-header p{margin:0}.wk-stars{background:#ffdc7c;color:#2d2817;padding:12px;border-radius:18px;align-self:center;white-space:nowrap;font-weight:900}.wk-meter{height:12px;background:#27425b;overflow:hidden}.wk-meter span{display:block;height:100%;background:#fbc75e;transition:width .2s}.wk-stage{background:linear-gradient(90deg,#153d5dbb,#153d5d55),url('village.webp') center/cover;min-height:220px;display:flex;align-items:end;gap:10px;padding:12px}.wk-stage img{width:120px;max-height:190px;object-fit:contain;filter:drop-shadow(0 4px 6px #122);transform-origin:bottom}.wk-bubble{background:#fff8df;color:#213f52;border-radius:17px;padding:14px;font-weight:800;flex:1}.wk-stage button{background:#ffcb66;color:#172d43;border:0;border-radius:12px;padding:10px;align-self:center;font-weight:800}.wk-jumping{animation:wk-jump .5s ease-out}@keyframes wk-jump{0%,100%{transform:translateY(0)}45%{transform:translateY(-38px)}}.wk-task{background:#163858;padding:clamp(13px,3vw,24px);border-radius:0 0 20px 20px}.wk-type{color:#ffe2a0;font-size:13px;font-weight:900}.wk-task h3{font-size:clamp(20px,3vw,27px)}.wk-answers,.wk-chosen{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0;min-height:55px}.wk-option{flex:1 1 210px;min-height:54px;background:#eaf6ff!important;color:#173a56!important;font-weight:800!important}.wk-option.wk-selected{background:#ffdf91!important;outline:3px solid #fff}.wk-tile{background:#f5e3ae!important;color:#423016!important;border:1px solid #e5bc66!important;border-bottom:5px solid #a6782f!important;font-weight:850!important}.wk-placed{background:#d4f1b3!important}.wk-chosen{background:#274d69;border:2px dashed #e2bd6e;border-radius:12px;padding:9px}.wk-task .wk-primary,.wk-finish .wk-primary{background:#21865c;border-color:#b8edce;font-weight:850;margin-right:8px}.wk-primary:disabled{opacity:.5}.wk-task #wk-feedback{min-height:27px;color:#ffe6a6;font-weight:800}.wk-finish{text-align:center;background:#194967;border-radius:18px;padding:35px 15px}.wk-finish h2{font-size:clamp(26px,5vw,46px)}@media(max-width:620px){.wk-stage{min-height:165px}.wk-stage img{width:75px;max-height:130px}.wk-bubble{font-size:12px;padding:8px}.wk-stage button{font-size:12px;padding:7px}.wk-controls button{font-size:12px;padding:8px}.wk-header h2{font-size:20px}}
.ng-map-card.ng-special{border-style:dashed}.ng-map-card.ng-special-break{opacity:.88;background:linear-gradient(145deg,#31506d,#243d58)}.ng-map-card.ng-special-break:disabled{cursor:default}.ng-map-card.ng-special-exam{border-color:#ffd36b}.ng-map-card.ng-special-revision{border-color:#9fe0b8}
/* v4.1 Week 1 game-first canvas engine */
.g4-top{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#102f50;color:white;padding:16px 20px;border-radius:18px 18px 0 0}.g4-top h2{margin:4px 0}.g4-score{font-size:22px;background:#ffffff18;padding:10px 14px;border-radius:12px}.g4-progress{height:8px;background:#d9e4ec}.g4-progress span{display:block;height:100%;background:#f5b82e;transition:.3s}.g4-hud{display:flex;gap:12px;align-items:center;padding:10px 14px;background:#fff}.g4-hud b{background:#163c61;color:#fff;padding:7px 12px;border-radius:10px}.g4-hud span{background:#fff0bf;color:#173e60;padding:7px 12px;border-radius:10px;font-weight:800}.g4-stage{position:relative;max-width:960px;margin:auto;background:#cce}.g4-stage canvas{display:block;width:100%;height:auto;touch-action:none}.g4-msg{position:absolute;left:50%;top:12px;transform:translateX(-50%);max-width:70%;background:#173e60e8;color:white;padding:9px 14px;border-radius:12px;font-weight:800;text-align:center}.g4-pad{position:absolute;left:14px;right:14px;bottom:14px;display:flex;gap:10px;justify-content:space-between}.g4-pad button,.g4-controls button,.g4-panel button,.g4-finish button{border:0;border-radius:12px;padding:11px 16px;font-weight:800;cursor:pointer}.g4-pad button{background:#fff8dcdd;color:#173e60;border:2px solid #173e60}.g4-help,.g4-controls{text-align:center;padding:10px}.g4-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.g4-modal{position:fixed;z-index:99999;inset:0;background:#061b2dcc;display:grid;place-items:center;padding:18px}.g4-modal[hidden]{display:none}.g4-panel{width:min(680px,94vw);background:#fff;border-radius:20px;padding:22px;box-shadow:0 20px 70px #0008}.g4-panel>span{font-weight:900;color:#9b5b00}.g4-panel h3{font-size:24px;color:#173e60}.g4-panel #g4-opts{display:grid;gap:10px}.g4-panel #g4-opts button{text-align:left;background:#edf5fb;color:#173e60;border:2px solid #c7dbe9}.g4-panel #g4-opts button.selected{background:#fff0b8;border-color:#f2a900}.g4-panel #g4-check{margin-top:14px;background:#173e60;color:#fff}.g4-panel #g4-check:disabled{opacity:.45}.g4-finish{text-align:center;padding:50px 20px;background:#fff8dc;border-radius:20px}.g4-finish button{margin:6px;background:#173e60;color:#fff}@media(max-width:600px){.g4-top{align-items:flex-start}.g4-top h2{font-size:20px}.g4-msg{top:8px;max-width:88%;font-size:12px}.g4-pad{gap:5px;bottom:7px}.g4-pad button{padding:8px 9px;font-size:12px}.g4-hud{align-items:flex-start;flex-direction:column;gap:5px}.g4-help{font-size:12px}}

/* v4.3 cache-proof build marker */
.ng-build-badge{position:fixed;right:10px;bottom:10px;z-index:99999;background:#132b46;color:#fff;padding:7px 10px;border-radius:999px;font:800 11px/1.2 system-ui;box-shadow:0 3px 14px #0003;letter-spacing:.04em}
/* Play2Learn Premium Gameplay 5.3 */
.p53-shell{max-width:1100px;margin:auto;background:#071d35;border-radius:26px;overflow:hidden;box-shadow:0 30px 80px #06182a55;border:1px solid #ffffff22}.p53-top{display:flex;align-items:center;gap:18px;padding:12px 18px;color:#fff;background:linear-gradient(180deg,#173f73,#0a2447);border-bottom:1px solid #ffffff25}.p53-profile{display:flex;align-items:center;gap:10px;min-width:0}.p53-profile small{display:block;opacity:.72;font-weight:800;font-size:10px}.p53-profile b{display:block;font-size:17px}.p53-face{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;font-size:28px;background:linear-gradient(145deg,#7dd8ff,#2f74c7);border:3px solid #fff;box-shadow:0 3px 12px #0006}.p53-life{margin-left:auto;font-size:23px;letter-spacing:2px}.p53-score{font-size:20px;font-weight:900;background:#06182a99;padding:9px 14px;border-radius:14px;border:1px solid #ffffff22}.p53-mission{position:relative;padding:10px 18px;text-align:center;color:#fff;background:linear-gradient(90deg,#9a541f,#c98334,#9a541f);box-shadow:inset 0 -3px 0 #653312}.p53-mission small{display:block;font-size:10px;font-weight:900;letter-spacing:1.5px;opacity:.8}.p53-mission strong{display:block;font-size:20px}.p53-mission span{display:block;font-size:13px;margin-top:3px}.p53-progress{height:7px;background:#05182b}.p53-progress span{display:block;height:100%;background:linear-gradient(90deg,#ffd34d,#ff9e25);box-shadow:0 0 12px #ffc42f;transition:.3s}.p53-stage{position:relative;background:#87ceeb}.p53-stage canvas{display:block;width:100%;height:auto;touch-action:none}.p53-pad{position:absolute;bottom:18px;display:flex;gap:12px}.p53-pad.left{left:18px}.p53-pad.right{right:18px}.p53-pad button{width:68px;height:68px;border-radius:50%;border:2px solid #ffffffaa;background:linear-gradient(145deg,#314b66cc,#0b1f33dd);box-shadow:0 7px 18px #0008,inset 0 1px 1px #fff6;color:#fff;font-size:25px;font-weight:900;backdrop-filter:blur(5px)}.p53-pad button:active{transform:translateY(3px);box-shadow:0 3px 8px #0007}.p53-pad small{display:block;font-size:8px;letter-spacing:.6px}.p53-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 14px;background:#071d35}.p53-bar button{border:1px solid #ffffff24;border-radius:10px;background:#ffffff12;color:#fff;padding:8px 11px;font-weight:750}.p53-build{margin-left:auto;color:#ffd05a;font-size:10px;font-weight:900;letter-spacing:.8px}@media(max-width:650px){.p53-top{gap:8px;padding:8px}.p53-face{width:38px;height:38px;font-size:22px}.p53-profile b{font-size:13px}.p53-life{font-size:16px}.p53-score{font-size:15px;padding:7px}.p53-mission strong{font-size:16px}.p53-mission span{font-size:11px}.p53-pad{bottom:8px}.p53-pad.left{left:8px}.p53-pad.right{right:8px}.p53-pad button{width:52px;height:52px;font-size:19px}.p53-build{width:100%;text-align:center}}
/* Play2Learn 5.4 — scene-first premium mobile game layout */
.p53-shell{max-width:1280px;border-radius:28px;background:#06192c;box-shadow:0 34px 90px #0008;border:2px solid #ffffff2c}
.p53-top{padding:14px 20px;background:linear-gradient(180deg,#174f8e,#082b56);box-shadow:inset 0 -4px 0 #061b37}
.p53-face{width:62px;height:62px;font-size:34px;border:4px solid #fff}.p53-profile small{font-size:12px}.p53-profile b{font-size:21px}.p53-life{font-size:28px}.p53-score{font-size:24px}
.p53-mission{padding:13px 20px;background:linear-gradient(180deg,#d48a34,#8f4b1d);text-shadow:0 2px 2px #542b17}.p53-mission small{font-size:13px}.p53-mission strong{font-size:28px;letter-spacing:.2px}.p53-mission span{font-size:17px;font-weight:750}
.p53-stage{min-height:540px;background:#54b8ef}.p53-stage canvas{min-height:540px;object-fit:cover}
.p53-pad button{width:82px;height:82px;font-size:30px;border-width:3px;box-shadow:0 9px 22px #0009,inset 0 2px 2px #fff7}.p53-pad small{font-size:10px}.p53-bar button{font-size:14px;padding:10px 14px}.p53-build{font-size:12px}
@media(max-width:650px){body{background:#06192c!important}.ng-top{height:42px;padding:6px 10px!important;font-size:12px}.ng-main{padding:0!important}.ng-main>section{margin:0!important;padding:0!important;border-radius:0!important;max-width:none!important}.ng-main>section>h1,.ng-main>section>p{display:none!important}.p53-shell{border-radius:0;border:0;width:100vw;max-width:none;min-height:calc(100svh - 42px)}.p53-top{padding:8px 10px;gap:7px}.p53-face{width:48px;height:48px}.p53-profile small{font-size:9px}.p53-profile b{font-size:14px}.p53-life{font-size:19px}.p53-score{font-size:17px;padding:7px 9px}.p53-mission{padding:8px 10px}.p53-mission small{font-size:10px}.p53-mission strong{font-size:20px}.p53-mission span{font-size:14px;line-height:1.25;margin-top:4px}.p53-stage{height:62svh;min-height:430px;overflow:hidden}.p53-stage canvas{width:100%;height:100%;min-height:0;object-fit:cover}.p53-pad{bottom:12px}.p53-pad button{width:70px;height:70px;font-size:25px}.p53-bar{padding:7px;gap:5px}.p53-bar button{font-size:11px;padding:7px 8px}.p53-build{position:fixed;right:7px;bottom:7px;width:auto!important;background:#082b56;padding:6px 9px;border-radius:999px;z-index:9999}.p53-progress{height:6px}}


/* Play2Learn 5.6 large mobile gameplay */
.p53-shell{max-width:1180px!important;margin:0 auto!important;border-radius:24px!important;overflow:hidden!important;background:#071c31!important;box-shadow:0 18px 55px #0006!important}
.p53-top{min-height:92px!important;padding:14px 20px!important}
.p53-profile small{font-size:15px!important;letter-spacing:.06em!important}.p53-profile b{font-size:24px!important}.p53-face{width:64px!important;height:64px!important;font-size:36px!important}
.p53-life{font-size:30px!important}.p53-score{font-size:26px!important;padding:12px 18px!important}
.p53-mission{padding:14px 22px 18px!important;min-height:116px!important}.p53-mission small{font-size:16px!important}.p53-mission strong{font-size:32px!important;line-height:1.05!important}.p53-mission span{font-size:20px!important;line-height:1.25!important;margin-top:7px!important}
.p53-stage{position:relative!important;min-height:560px!important;background:#123!important;overflow:hidden!important}.p53-stage canvas{width:100%!important;height:auto!important;min-height:560px!important;object-fit:cover!important;display:block!important}
.p53-pad button{width:92px!important;height:92px!important;font-size:36px!important;border-width:4px!important}.p53-pad button small{font-size:15px!important;font-weight:900!important}.p53-pad{bottom:18px!important;gap:14px!important}.p53-pad.left{left:18px!important}.p53-pad.right{right:18px!important}
.p53-bar button{font-size:17px!important;min-height:48px!important;padding:10px 16px!important}.p53-build{font-size:14px!important}
@media(max-width:700px){
 html,body{margin:0!important;padding:0!important;overflow:hidden!important;background:#061727!important;width:100%!important;height:100%!important}
 #wpadminbar{display:none!important}#p2lng{height:100dvh!important;overflow:hidden!important}.ng-top{display:none!important}.ng-main{padding:0!important;margin:0!important;height:100dvh!important}
 .ng-main>section{padding:0!important;margin:0!important;max-width:none!important;width:100vw!important;height:100dvh!important;border-radius:0!important;background:#071c31!important;overflow:hidden!important}
 .ng-main>section>h1,.ng-main>section>p{display:none!important}
 #ng-week1{height:100dvh!important}.p53-shell{width:100vw!important;height:100dvh!important;border-radius:0!important;display:flex!important;flex-direction:column!important}
 .p53-top{min-height:66px!important;height:66px!important;padding:7px 10px!important;flex:0 0 66px!important}.p53-face{width:50px!important;height:50px!important;font-size:29px!important}.p53-profile small{font-size:11px!important}.p53-profile b{font-size:17px!important}.p53-life{font-size:21px!important;letter-spacing:-4px!important}.p53-score{font-size:18px!important;padding:8px 10px!important}
 .p53-mission{min-height:92px!important;padding:7px 12px 10px!important;flex:0 0 92px!important}.p53-mission small{font-size:12px!important}.p53-mission strong{font-size:25px!important}.p53-mission span{font-size:17px!important;line-height:1.15!important}
 .p53-progress{height:7px!important;flex:0 0 7px!important}
 .p53-stage{flex:1 1 auto!important;min-height:0!important;height:auto!important;overflow:hidden!important}.p53-stage canvas{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;object-fit:fill!important}
 .p53-pad{bottom:12px!important}.p53-pad button{width:78px!important;height:78px!important;font-size:31px!important}.p53-pad button small{font-size:13px!important}.p53-pad.left{left:10px!important}.p53-pad.right{right:10px!important}
 .p53-bar{display:none!important}.p53-build{position:fixed!important;right:7px!important;bottom:5px!important;z-index:30!important;font-size:10px!important}
}
@media(max-width:700px) and (orientation:landscape){
 .p53-top{height:54px!important;min-height:54px!important;flex-basis:54px!important}.p53-face{width:42px!important;height:42px!important}.p53-profile b{font-size:15px!important}.p53-life{font-size:19px!important}.p53-score{font-size:16px!important}
 .p53-mission{height:72px!important;min-height:72px!important;flex-basis:72px!important;padding:4px 12px!important}.p53-mission strong{font-size:22px!important}.p53-mission span{font-size:15px!important}
 .p53-pad button{width:72px!important;height:72px!important}
}

/* v6 premium mission and adventure header */
.p6-hero{background:linear-gradient(120deg,#092f60,#135ba0 55%,#087e89);color:white;border-radius:24px;padding:20px 24px;margin-bottom:16px;box-shadow:0 12px 28px #08274766;border:2px solid #78e2ff}.p6-kicker{display:block;font-size:14px;font-weight:900;letter-spacing:.08em;color:#9ff8ec}.p6-hero h1{color:white!important;font-weight:950!important;font-size:clamp(26px,4vw,44px)!important;line-height:1.12!important;margin:10px 0!important;text-shadow:0 3px 0 #08244d}.p6-hero p{color:#fff4c7!important;font-size:clamp(16px,2.2vw,21px)!important;font-weight:800}.p6-term{background:#071f41bb;padding:14px;border-radius:16px;margin-top:14px}.p6-term-label{display:flex;justify-content:space-between;gap:10px;font-size:16px;font-weight:800;flex-wrap:wrap}.p6-track{height:17px;border-radius:50px;background:#031329;overflow:hidden;margin:10px 0;border:2px solid #70c9ec}.p6-track>div{height:100%;width:0;background:linear-gradient(90deg,#24dbb5,#fce15c);transition:width .4s}.p6-term small{font-size:13px;color:#d4f4ff}.p53-mission{background:linear-gradient(130deg,#693c16,#bc6427 45%,#55244b)!important;border-top:4px solid #ffd36c!important;border-bottom:5px solid #48210e!important;box-shadow:inset 0 2px 15px #fff3,0 6px 12px #0004!important}.p53-mission strong{text-shadow:0 3px 1px #3c170e!important;letter-spacing:.01em}.p53-mission small{color:#ffe6a1!important;font-weight:900!important}.p53-mission span{font-weight:750!important;color:#fff8df!important}@media(max-width:700px){.p6-hero{display:none!important}.p53-mission strong{font-size:clamp(22px,6vw,30px)!important}.p53-mission span{font-size:clamp(15px,4vw,19px)!important}}

/* v7 academy classroom: scoped, responsive and accessible */
.p7-academy{background:linear-gradient(145deg,#102d52,#0c2039);color:#fff;border-radius:24px;padding:clamp(16px,3vw,32px);margin:16px auto;font-family:system-ui,sans-serif;box-shadow:0 24px 60px #06172c55}.p7-academy[hidden]{display:none!important}.p7-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.p7-header h2{font-size:clamp(25px,4vw,43px);margin:8px 0;line-height:1.1;color:#fff}.p7-header p{font-size:clamp(14px,2vw,18px);color:#d8ecff;margin:0}.p7-eyebrow,.p7-kicker{font-size:12px;letter-spacing:.12em;font-weight:900;color:#a8ffce}.p7-teacher{font-size:clamp(58px,10vw,115px);background:linear-gradient(135deg,#3e9ad8,#73e7c5);border-radius:25px;padding:14px;line-height:1}.p7-stages{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0}.p7-stages span{background:#ffffff16;border:1px solid #ffffff33;border-radius:50px;padding:10px 14px;font-size:13px;font-weight:800}.p7-stages span.active{background:#e6c45a;color:#182c3f}.p7-panel{background:#fff;color:#182c3f;border-radius:22px;padding:clamp(16px,3vw,30px)}.p7-panel h3{font-size:clamp(24px,3vw,35px);margin:10px 0;color:#183252}.p7-content{font-size:clamp(17px,2.1vw,21px);line-height:1.65}.p7-content ul{padding-left:24px}.p7-content li{margin:8px 0}.p7-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin-top:20px}.p7-option{border:2px solid #c8d8ea;background:#eff7ff;color:#173d5e;border-radius:14px;padding:16px;font-size:17px;font-weight:750;cursor:pointer;min-height:65px;text-align:left}.p7-option.chosen{border-color:#167cba;background:#d9f3ff}.p7-option:focus-visible,.p7-actions button:focus-visible{outline:3px solid #e6b936;outline-offset:2px}.p7-feedback{font-size:16px;font-weight:750;min-height:25px;color:#155a42}.p7-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;margin-top:16px}.p7-actions button{border:0;border-radius:14px;padding:14px 20px;font-weight:850;font-size:16px;cursor:pointer;background:#e6eff8;color:#183252;min-height:52px}.p7-actions .p7-primary{background:#f4c84c;color:#183252}.p7-actions button:disabled{opacity:.4;cursor:not-allowed}.p7-note{font-size:13px;color:#c7e7ff;margin-top:14px}@media(max-width:700px){.p7-academy{border-radius:0;margin:0;min-height:100dvh;padding:14px;overflow:auto}.p7-header{align-items:flex-start}.p7-teacher{font-size:48px;padding:10px}.p7-stages{margin:15px 0}.p7-stages span{padding:8px 10px}.p7-panel{padding:16px}.p7-options{grid-template-columns:1fr}.p7-option{min-height:58px}.p7-actions button{flex:1}}

/* v7.1 Teacher-first classroom and assessment */
.p7-academy{position:relative;z-index:2}.p7-options button:disabled{opacity:.8;cursor:default}.p7-panel{box-shadow:0 14px 42px rgba(7,24,52,.15)}.p7-teacher{filter:drop-shadow(0 10px 16px rgba(0,0,0,.18))}.p7-feedback{min-height:1.5em}.p7-actions button:focus-visible,.p7-option:focus-visible{outline:4px solid #f9c34b;outline-offset:3px}

/* v12 premium teacher and touch-accessible mission controls */
.p7-academy{background:radial-gradient(circle at 80% 0%,#7752db 0%,transparent 35%),linear-gradient(145deg,#162b79,#071d4a 70%);border:2px solid #ffffff2b;font-family:system-ui,sans-serif}.p7-header h2,.p7-panel h3,.p53-mission strong{font-family:ui-rounded,"Trebuchet MS",system-ui,sans-serif;font-weight:1000!important;letter-spacing:-.03em}.p12-teacher-stage{width:min(240px,35vw);flex:none;position:relative;align-self:flex-end}.p12-teacher-avatar{width:100%;height:auto;display:block;filter:drop-shadow(0 18px 20px #0006);animation:p12-bob 3.5s ease-in-out infinite}.p12-speech-bubble{display:block;background:#fff8d5;color:#203468;border:3px solid #ffc941;padding:10px 13px;border-radius:20px;font-size:13px;font-weight:900;line-height:1.35;text-align:center;box-shadow:0 6px 0 #cc9c39}.p12-lesson-meter{height:12px;background:#e2e8f4;border-radius:20px;overflow:hidden}.p12-lesson-meter span{display:block;height:100%;width:0;background:linear-gradient(90deg,#34d3b1,#fac748,#ff7d89);transition:width .4s}.p7-panel{border:3px solid #f8d77c}.p7-option{transition:transform .15s,box-shadow .15s}.p7-option:hover{transform:translateY(-2px);box-shadow:0 5px 0 #a9d2eb}.p7-actions button{box-shadow:0 4px 0 #0002}.p7-actions .p7-primary{background:linear-gradient(110deg,#ffe273,#ffb938);box-shadow:0 5px 0 #c98d22}.p12-quest-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 14px;background:#102b68;color:#fff;font-weight:900;font-size:12px;letter-spacing:.07em}.p12-quest-strip button{border:1px solid #fff8;background:#ffffff24;color:white;border-radius:12px;padding:6px 12px;cursor:pointer}.p12-choices{display:flex;gap:8px;flex-wrap:wrap;padding:10px 12px;background:#102b68;max-height:138px;overflow-y:auto}.p12-choices[hidden]{display:none!important}.p12-answer{flex:1 1 150px;min-height:52px;border-radius:14px;background:linear-gradient(180deg,#fff,#d9e9ff);border:3px solid #7cc7ff;color:#17316c;font:900 15px/1.25 system-ui,sans-serif;box-shadow:0 4px 0 #2569b2;cursor:pointer;padding:8px 12px;touch-action:manipulation}.p12-answer:active{transform:translateY(3px);box-shadow:0 1px 0 #2569b2}.p12-answer:focus-visible{outline:4px solid #ffe067;outline-offset:3px}.p12-choice-hint{color:#fff8cf;font-weight:800}.p53-build{display:none!important}@keyframes p12-bob{50%{transform:translateY(-8px) rotate(1deg)}}@media(max-width:700px){html:has(.p7-academy:not([hidden])),body:has(.p7-academy:not([hidden])){overflow:auto!important;height:auto!important}.ng-main:has(.p7-academy:not([hidden])),.ng-main>section:has(.p7-academy:not([hidden])){height:auto!important;min-height:100dvh!important;overflow:visible!important}.p7-academy{min-height:100dvh;overflow:visible!important}.p7-header{align-items:center}.p12-teacher-stage{width:100px}.p12-speech-bubble{font-size:10px;padding:6px}.p12-choices{max-height:118px;padding:6px;gap:6px}.p12-answer{font-size:12px;min-height:43px;flex-basis:110px}.p12-quest-strip{padding:4px 9px;font-size:10px}.p53-stage{min-height:0!important}.p53-mission{min-height:80px!important;flex-basis:80px!important}.p7-actions{gap:8px}.p7-actions button{font-size:13px;padding:10px}}@media(prefers-reduced-motion:reduce){.p12-teacher-avatar{animation:none}.p7-option,.p12-lesson-meter span{transition:none}}
