/* 2026-09-28 · Educators clarity, onboarding and optional team mode */
.edu-guide-section{
  padding:105px clamp(18px,5vw,72px);
  background:
    radial-gradient(circle at 84% 14%,rgba(22,166,162,.14),transparent 24%),
    linear-gradient(180deg,#f7fbfe 0%,#fff 100%);
}
.edu-guide-shell{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:.78fr 1.22fr;gap:38px;align-items:center}
.edu-guide-copy .section-kicker{display:block;margin-bottom:12px}
.edu-guide-copy h2{margin:0;color:var(--navy);font-size:clamp(40px,5vw,70px);line-height:.98;letter-spacing:-.055em}
.edu-guide-copy>p{max-width:580px;margin:18px 0 0;color:#6d8194;font-size:13px;line-height:1.7}
.edu-guide-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:24px}
.edu-guide-actions button,.edu-guide-actions a{
  border:1px solid var(--line);border-radius:12px;padding:12px 14px;font-size:10px;font-weight:950;
  text-decoration:none;cursor:pointer
}
.edu-guide-actions button{border-color:var(--navy);background:var(--navy);color:#fff}
.edu-guide-actions a{background:#fff;color:var(--navy)}
.edu-guide-keypoints{display:grid;gap:8px;margin-top:28px}
.edu-guide-keypoints div{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start;padding:10px 0;border-top:1px solid #e5edf3}
.edu-guide-keypoints span{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#e9f8f6;color:var(--teal);font-size:9px;font-weight:950}
.edu-guide-keypoints b{display:block;color:var(--navy);font-size:11px}
.edu-guide-keypoints small{display:block;margin-top:3px;color:#7b8e9f;font-size:9px;line-height:1.5}

.guide-demo-window{overflow:hidden;border:1px solid #dce6ed;border-radius:24px;background:#fff;box-shadow:0 28px 70px rgba(8,31,59,.12)}
.guide-demo-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;background:#081f3b;color:#fff}
.guide-demo-toolbar div{display:flex;align-items:center;gap:8px}
.guide-demo-toolbar i{width:8px;height:8px;border-radius:50%;background:#20c7bd;box-shadow:0 0 0 5px rgba(32,199,189,.12)}
.guide-demo-toolbar small{font-size:8px;font-weight:950;letter-spacing:.11em;color:#a8bed0}
.guide-demo-toolbar button{border:1px solid rgba(255,255,255,.16);border-radius:9px;background:rgba(255,255,255,.08);color:#fff;padding:7px 9px;font-size:8px;font-weight:900;cursor:pointer}
.guide-demo-stage{position:relative;min-height:410px;padding:22px;background:linear-gradient(145deg,#f5f9fc,#fff)}
.guide-tour-slide{display:none;min-height:320px;animation:guideIn .28s ease}
.guide-tour-slide.active{display:block}
@keyframes guideIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.guide-tour-slide>small{display:block;color:var(--teal);font-size:8px;font-weight:950;letter-spacing:.1em}
.guide-tour-slide h3{margin:6px 0 5px;color:var(--navy);font-size:25px;letter-spacing:-.03em}
.guide-tour-slide>p{margin:0 0 18px;color:#74889a;font-size:10px;line-height:1.55}
.guide-mock{border:1px solid #dce5ec;border-radius:16px;background:#fff;padding:14px}
.guide-mock-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.guide-mock-row span{padding:12px;border-radius:11px;background:#f2f6f9;color:#5f7486;font-size:8px;font-weight:900}
.guide-mock-row span.active{background:#0e4f8f;color:#fff}
.guide-mock-question{margin-top:9px;padding:20px;border-radius:14px;background:linear-gradient(135deg,#0c3564,#1e68ad);color:#fff}
.guide-mock-question small{color:#77ded7;font-size:7px;font-weight:950}
.guide-mock-question strong{display:block;margin-top:7px;font-size:20px;line-height:1.2}
.guide-mock-flow{display:grid;gap:6px;margin-top:10px}
.guide-mock-flow span{display:grid;grid-template-columns:62px 1fr 90px;gap:8px;padding:9px 10px;border:1px solid #e2e9ee;border-radius:10px;color:#6b8092;font-size:8px}
.guide-mock-flow b{color:var(--navy)}
.guide-mode-demo{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}
.guide-mode-demo div{padding:18px;border:1px solid #dfe7ed;border-radius:14px;background:#fff}
.guide-mode-demo div:first-child{border-color:#6dbcb6;background:#f0fbf9}
.guide-mode-demo strong{display:block;color:var(--navy);font-size:13px}
.guide-mode-demo span{display:block;margin-top:5px;color:#75899b;font-size:8px;line-height:1.45}
.guide-progress{display:flex;gap:6px;padding:0 22px 18px;background:linear-gradient(145deg,#f5f9fc,#fff)}
.guide-progress button{flex:1;height:6px;border:0;border-radius:999px;background:#dfe7ed;cursor:pointer;padding:0}
.guide-progress button.active{background:var(--teal)}

.first-use-banner{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:14px;padding:13px 14px;border:1px solid #cce4e1;border-radius:14px;background:linear-gradient(135deg,#effbf9,#fff)}
.first-use-banner[hidden]{display:none}
.first-use-banner div{display:flex;gap:10px;align-items:center}
.first-use-banner i{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#0d8f89;color:#fff;font-style:normal;font-weight:950}
.first-use-banner strong{display:block;color:var(--navy);font-size:10px}
.first-use-banner span{display:block;margin-top:2px;color:#6d8193;font-size:8px}
.first-use-banner .guide-banner-actions{display:flex;gap:6px}
.first-use-banner button{border:1px solid #cbd9e2;border-radius:9px;background:#fff;color:var(--navy);padding:8px 9px;font-size:8px;font-weight:950;cursor:pointer}
.first-use-banner button:first-child{background:var(--navy);border-color:var(--navy);color:#fff}

.phase-guide{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-top:11px}
.phase-guide div{padding:9px;border-radius:10px;background:#f5f8fa;border:1px solid #e5ebef}
.phase-guide b{display:block;color:var(--navy);font-size:8px}
.phase-guide span{display:block;margin-top:3px;color:#7f92a2;font-size:7px;line-height:1.35}

.game-quick-guide{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:14px}
.game-quick-guide div{padding:10px 11px;border:1px solid var(--line);border-radius:11px;background:#f8fafc}
.game-quick-guide span{display:block;color:var(--coral);font-size:7px;font-weight:950}
.game-quick-guide b{display:block;margin-top:4px;color:var(--navy);font-size:9px}
.game-quick-guide small{display:block;margin-top:3px;color:#7c8f9f;font-size:7px;line-height:1.35}
.edu-game-card-meta{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.edu-game-card-meta span{padding:5px 7px;border-radius:999px;background:#f1f5f8;color:#647b8e;font-size:7px!important;font-weight:900}

.game-modal-help{display:grid;grid-template-columns:1.2fr .8fr;gap:8px;margin-top:12px}
.game-modal-help>div{padding:10px 11px;border:1px solid var(--line);border-radius:11px;background:#f8fafc}
.game-modal-help small{display:block;color:#8194a4;font-size:7px;font-weight:950}
.game-modal-help strong{display:block;margin-top:4px;color:var(--navy);font-size:9px;line-height:1.4}
.mode-switch-row{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:12px;padding:10px 11px;border:1px solid var(--line);border-radius:12px;background:#fff}
.mode-switch-copy strong{display:block;color:var(--navy);font-size:9px}
.mode-switch-copy span{display:block;margin-top:2px;color:#7b8f9f;font-size:7px}
.mode-switch{display:flex;gap:5px}
.mode-switch button{border:1px solid var(--line);border-radius:999px;background:#fff;color:#61778a;padding:7px 9px;font-size:7px;font-weight:950;cursor:pointer}
.mode-switch button.active{background:var(--navy);border-color:var(--navy);color:#fff}

.live-mode-note{margin:10px 0 0;padding:9px 10px;border-radius:10px;background:#f3f7fa;color:#6c8193;font-size:8px;line-height:1.45}
.live-team-zone,.game-team-zone{margin-top:10px}
.team-name-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}
.team-name-row label{display:grid;gap:4px;color:#73889a;font-size:7px;font-weight:950}
.team-name-row input{border:1px solid var(--line);border-radius:9px;padding:8px 9px;background:#fff;color:var(--navy);font-size:9px;font-weight:900}
.live-teams>div{position:relative}
.live-teams span{font-size:8px!important}
.lesson-modal.solo-mode .live-team-zone,.lesson-modal.solo-mode #addBlue,.lesson-modal.solo-mode #addOrange{display:none!important}
.lesson-modal.solo-mode .modal-controls{grid-template-columns:1fr}
.lesson-modal.solo-mode #nextLiveQuestion{grid-column:1}
.game-modal.solo-mode .game-team-zone{display:none!important}
.lesson-modal-card{width:min(860px,96vw);max-height:92vh;overflow:auto}
.lesson-modal .live-question-card{padding:22px}
.lesson-modal .live-question-card h3{font-size:clamp(24px,3vw,34px);line-height:1.15}
.modal-controls button{min-height:44px}
.modal-controls #nextLiveQuestion{font-size:10px}
.game-score-caption{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:7px;color:#74899b;font-size:7px}
.game-score-caption b{color:var(--navy);font-size:8px}
.workspace-actions #openTeacherGuide{white-space:nowrap}

@media(max-width:900px){
  .edu-guide-shell{grid-template-columns:1fr}
  .guide-demo-stage{min-height:380px}
  .phase-guide{grid-template-columns:1fr 1fr}
  .game-quick-guide{grid-template-columns:1fr 1fr}
}
@media(max-width:650px){
  .edu-guide-section{padding:76px 16px}
  .guide-demo-stage{padding:14px;min-height:410px}
  .guide-mock-row,.guide-mode-demo,.team-name-row{grid-template-columns:1fr}
  .guide-mock-flow span{grid-template-columns:50px 1fr}
  .guide-mock-flow span i{display:none}
  .phase-guide,.game-quick-guide{grid-template-columns:1fr}
  .game-modal-help{grid-template-columns:1fr}
  .mode-switch-row{align-items:flex-start;flex-direction:column}
  .first-use-banner{align-items:flex-start;flex-direction:column}
}


/* 2026-09-28 · animated product tour pass */
.guide-player-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.guide-demo-stage{overflow:hidden}
.guide-demo-cursor{
  position:absolute;z-index:8;width:24px;height:24px;pointer-events:none;
  left:18%;top:55%;opacity:0;transition:left .75s cubic-bezier(.2,.8,.2,1),top .75s cubic-bezier(.2,.8,.2,1),opacity .25s;
  filter:drop-shadow(0 4px 7px rgba(8,31,59,.22))
}
.guide-demo-cursor:before{
  content:"";position:absolute;left:2px;top:0;width:0;height:0;
  border-left:8px solid var(--navy);border-top:13px solid transparent;border-bottom:3px solid transparent;
  transform:rotate(-18deg)
}
.guide-demo-cursor span{
  position:absolute;left:7px;top:11px;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:var(--coral);
  box-shadow:0 0 0 4px rgba(242,112,89,.16);animation:cursorPulse 1.4s infinite
}
@keyframes cursorPulse{0%,100%{transform:scale(.8);opacity:.75}50%{transform:scale(1.18);opacity:1}}
.guide-demo-stage.is-playing .guide-demo-cursor{opacity:1}
.guide-demo-stage.scene-1 .guide-demo-cursor{left:28%;top:62%}
.guide-demo-stage.scene-2 .guide-demo-cursor{left:64%;top:69%}
.guide-demo-stage.scene-3 .guide-demo-cursor{left:72%;top:58%}
.guide-demo-stage.scene-4 .guide-demo-cursor{left:36%;top:72%}

.guide-caption{
  position:absolute;z-index:7;left:22px;right:22px;bottom:18px;padding:10px 13px;
  border:1px solid rgba(8,31,59,.08);border-radius:12px;background:rgba(255,255,255,.94);
  box-shadow:0 10px 25px rgba(8,31,59,.08);backdrop-filter:blur(8px);
  color:var(--navy);font-size:9px;font-weight:900;transform:translateY(8px);opacity:.88;transition:.25s
}
.guide-demo-stage.is-playing .guide-caption{transform:none;opacity:1}
.guide-sound-wave{position:absolute;right:22px;top:22px;z-index:7;display:flex;align-items:flex-end;gap:3px;height:22px;opacity:.35}
.guide-sound-wave i{display:block;width:3px;border-radius:999px;background:var(--teal);height:7px}
.guide-demo-stage.is-speaking .guide-sound-wave i:nth-child(1){animation:wave .8s infinite .05s}
.guide-demo-stage.is-speaking .guide-sound-wave i:nth-child(2){animation:wave .8s infinite .18s}
.guide-demo-stage.is-speaking .guide-sound-wave i:nth-child(3){animation:wave .8s infinite .3s}
.guide-demo-stage.is-speaking .guide-sound-wave i:nth-child(4){animation:wave .8s infinite .42s}
@keyframes wave{0%,100%{height:6px}50%{height:20px}}

.guide-tour-slide.active .guide-mock-question{animation:demoGlow 1.1s ease .15s both}
.guide-tour-slide.active .guide-mock-flow span{animation:demoRow .45s ease both}
.guide-tour-slide.active .guide-mock-flow span:nth-child(2){animation-delay:.12s}
.guide-tour-slide.active .guide-mock-flow span:nth-child(3){animation-delay:.24s}
.guide-tour-slide.active .guide-mock-flow span:nth-child(4){animation-delay:.36s}
.guide-tour-slide.active .guide-mock-flow span:nth-child(5){animation-delay:.48s}
.guide-tour-slide.active .guide-mode-demo div{animation:demoCard .55s ease both}
.guide-tour-slide.active .guide-mode-demo div:nth-child(2){animation-delay:.2s}
@keyframes demoGlow{from{transform:scale(.97);box-shadow:0 0 0 rgba(22,166,162,0)}to{transform:scale(1);box-shadow:0 12px 30px rgba(14,79,143,.12)}}
@keyframes demoRow{from{opacity:0;transform:translateX(-12px)}to{opacity:1;transform:none}}
@keyframes demoCard{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}

@media (prefers-reduced-motion:reduce){
 .guide-demo-cursor,.guide-demo-cursor span,.guide-sound-wave i,.guide-tour-slide.active *{animation:none!important;transition:none!important}
}
@media(max-width:650px){
 .guide-player-actions{width:100%;justify-content:flex-start}
 .guide-demo-toolbar{align-items:flex-start;flex-direction:column}
 .guide-caption{left:14px;right:14px;bottom:12px}
}


/* 2026-09-28 · voice diagnostics */
.guide-voice-status{
  padding:8px 14px;border-top:1px solid rgba(255,255,255,.08);
  background:#0b2749;color:#9fc2db;font-size:7px;font-weight:850;letter-spacing:.02em
}
.guide-voice-status:before{
  content:"●";display:inline-block;margin-right:6px;color:#35c7b9;font-size:6px;vertical-align:1px
}
