/* Scoped, responsive interface illustrations; they never act as game controls. */
.teacher-guide{margin:28px;border:1px solid #e1d9ee;border-radius:20px;overflow:hidden;background:#fbf9ff;color:#241b35}
.tg-heading{padding:30px 32px;background:radial-gradient(ellipse at 100% 0,#7142af66,transparent 65%),#211331;color:#fff}
.tg-brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:800;margin-bottom:23px}.tg-brand img{object-fit:contain}.tg-brand strong{color:#c5a2ff}.tg-brand small{display:block;font-size:9px;letter-spacing:2px;color:#cfbddf;margin-top:2px}
.teacher-guide .tg-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.7px;margin:0 0 12px;color:#7754a0}.tg-heading .tg-eyebrow{color:#d2b5ff}
.tg-heading h2{font-size:clamp(26px,3.4vw,36px);line-height:1.15;letter-spacing:-1.2px;margin:0 0 14px}.tg-heading h2 em{font-style:normal;color:#d2b5ff}.tg-heading>p:last-child{font-size:14px;line-height:1.6;margin:0;color:#ded3ea;max-width:500px}
.tg-nav{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;padding:14px 18px;background:#f0eaf8;border-bottom:1px solid #e1d9ee}.tg-nav[hidden],.tg-footer[hidden],.tg-step[hidden]{display:none}
.tg-nav button{display:flex;flex-direction:column;align-items:center;gap:5px;background:transparent;border:1px solid transparent;border-radius:10px;color:#655473;min-height:60px;padding:8px 3px;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.tg-nav button span{font-size:13px;color:#8d75a9}.tg-nav button[aria-current]{background:#fff;border-color:#d5c1ee;box-shadow:0 3px 9px #3b20510c;color:#57218c}.tg-nav button[aria-current] span{color:#6827ad}
.teacher-guide button:focus-visible,.teacher-guide a:focus-visible{outline:3px solid #913fee;outline-offset:3px}.tg-nav button:hover{background:#fff8}
.tg-steps{list-style:none;margin:0;padding:0}.tg-step{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:26px;padding:32px;align-items:center;min-height:450px}.tg-copy{position:relative}.tg-number{font-weight:850;font-size:60px;line-height:1;color:#e5d8f4;display:block;margin-bottom:14px}.tg-copy h3{font-size:25px;letter-spacing:-.6px;line-height:1.15;margin:0 0 16px}.tg-copy>p:not(.tg-eyebrow){font-size:14px;line-height:1.7;margin:0 0 20px;color:#51455e}.tg-tip{font-size:12px;line-height:1.6;padding:12px 14px;border-left:3px solid #aa7ed9;background:#f0eaf8;border-radius:0 8px 8px 0;color:#655373}
.tg-figure{margin:0;min-width:0}.tg-screen{border:1px solid #ddd4e8;border-radius:14px;background:white;box-shadow:0 12px 28px #32194e12;overflow:hidden}.tg-screen-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;background:#f3f0f7;font-size:10px;font-weight:700;color:#72617f;border-bottom:1px solid #e8e2ee}.tg-dots{color:#bcadd0;font-size:7px;letter-spacing:2px}.tg-screen-tag{font-size:7px;letter-spacing:1px;background:#e6dbf3;padding:4px;border-radius:3px}.tg-screen-content{padding:22px}.tg-screen-content h4{font-size:19px;letter-spacing:-.4px;line-height:1.2;margin:7px 0 18px}.tg-mini-eyebrow{font-size:8px;letter-spacing:1.2px;font-weight:800;color:#896aa3;line-height:1.6}.tg-screen-content p{font-size:11px;line-height:1.6;margin:12px 0;color:#675b73}.tg-screen-content .tg-mini-label{font-weight:800;font-size:10px}
.tg-choice{padding:13px;margin-bottom:9px;border:1px solid #e2deea;border-radius:9px;background:#faf8fd;font-size:12px}.tg-choice small,.tg-summary small{display:block;margin-top:5px;font-size:10px;line-height:1.6;color:#71617f}.tg-target{outline:2px solid #9a64d3!important;outline-offset:3px;position:relative}.tg-choice.tg-target{background:#efe4ff}.tg-chips{display:flex;flex-wrap:wrap;gap:7px}.tg-chips>span{font-size:10px;line-height:1.4;padding:8px;border:1px solid #e0d8e9;border-radius:6px;background:#faf9fc;color:#63546f}.tg-chips>span.tg-selected{background:#ecdefb;border-color:#b78ddb;color:#5a288d;font-weight:800}
.tg-summary{padding:15px;background:#f4effa;border-radius:9px;margin:18px 0;font-size:12px;line-height:1.5}.tg-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.tg-button{padding:12px 14px;border:1px solid #dcd2e7;border-radius:8px;font-size:11px;font-weight:800;text-align:center;background:#f5effb;color:#60368c;margin:10px 0}.tg-actions .tg-button{flex:1 1 auto;margin:0}.tg-dark{background:#2c1c3d;color:#fff;border-color:#2c1c3d}.tg-callout{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 15px 15px;font-size:11px;line-height:1.4;font-weight:800;color:#7e45b1}.tg-callout svg{flex-shrink:0}.tg-figure figcaption{font-size:9px;line-height:1.5;text-align:center;color:#8a7899;margin-top:12px}
.tg-games{display:grid;gap:12px}.tg-game{border:1px solid #e5dded;border-radius:9px;display:grid;grid-template-columns:48px 1fr;gap:5px 12px;align-items:center;padding:12px;font-size:11px}.tg-game>span{grid-row:1/3;background:linear-gradient(135deg,#ed805c,#c35582);color:#fff;border-radius:7px;padding:15px 3px;font-size:17px;font-weight:900;text-align:center}.tg-game small{font-size:9px;color:#7f6c8d}.tg-game.tg-muted{opacity:.55}.tg-game.tg-muted>span{background:#9674bc}.tg-result{text-align:center;border:1px solid #e9dfef;border-radius:12px;background:linear-gradient(140deg,#fff,#f5effd);padding:18px 12px;margin:10px 0 20px}.tg-result>img{vertical-align:middle;object-fit:contain;margin-right:6px}.tg-result>b{font-size:17px}.tg-result>b span{color:#8a46be}.tg-result>strong{display:block;font-size:42px;letter-spacing:-2px;margin:12px 0 2px;color:#5c298e}.tg-result>small{display:block;font-size:9px;color:#816b96;line-height:1.6}.tg-result-stats{display:flex;justify-content:center;gap:15px;margin:16px 0;font-size:10px;font-weight:700}
.tg-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 24px;border-top:1px solid #e6ddef;background:#f4effa}.tg-footer p{font-size:11px;line-height:1.5;margin:0;color:#776086}.tg-footer>div{display:flex;gap:8px;flex-shrink:0}.tg-footer button{border:1px solid #d9cbe7;border-radius:8px;padding:12px;background:white;color:#643c85;font:inherit;font-size:11px;font-weight:800;min-height:44px;cursor:pointer}.tg-footer button:disabled{opacity:.4;cursor:default}.tg-bottom{padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:white}.tg-bottom p{font-size:12px;color:#776086;margin:0;line-height:1.6}.tg-bottom a{color:#733ca1;font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap;padding:12px 0}
@media(max-width:700px){.teacher-guide{margin:18px}.tg-heading{padding:26px 22px}.tg-step{grid-template-columns:1fr;padding:24px 22px;gap:24px;min-height:0}.tg-number{font-size:38px;float:right;margin:0 0 0 12px}.tg-copy h3{font-size:24px}.tg-copy>p:not(.tg-eyebrow){font-size:14px}.tg-nav{padding:10px;gap:2px}.tg-nav button{font-size:9px;padding:7px 1px;min-height:55px}.tg-screen-content{padding:22px}.tg-footer{flex-direction:column;align-items:stretch;padding:16px}.tg-footer>div{justify-content:space-between}.tg-footer p{text-align:center}.tg-bottom{flex-direction:column;text-align:center;gap:4px;padding:16px}.tg-figure{max-width:440px;width:100%;justify-self:center}}
@media(max-width:360px){.teacher-guide{margin:12px}.tg-heading{padding:22px 18px}.tg-step{padding:22px 16px}.tg-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.tg-screen-content{padding:18px}.tg-game{grid-template-columns:40px 1fr;padding:10px;gap:8px}}
