.games-cpp-root{position:relative;width:100%;min-height:calc(100vh - 64px);min-height:calc(100dvh - 64px);background:radial-gradient(ellipse at 40% 0,rgba(129,140,248,.22),transparent 52%),radial-gradient(ellipse at 100% 80%,rgba(56,189,248,.12),transparent 45%),#1e293b;color:#f8fafc}.games-cpp-root .lgm-lesson-quest,.games-cpp-root .lgm-quest-hub{margin:0;width:100%;max-width:none!important;box-sizing:border-box}.games-cpp-root .lgm-arena{display:flex;flex-direction:column;gap:.65rem;width:100%}.games-cpp-root .lgm-arena>.lgm-arena__panel--battle,.games-cpp-root .lgm-arena>.lgm-arena__panel--code,.games-cpp-root .lgm-arena>.lgm-arena__panel--rescue,.games-cpp-root .lgm-arena>.lgm-arena__panel--theory,.games-cpp-root .lgm-arena>.lgm-arena__top,.games-cpp-root .lgm-arena>.lgm-hud{width:100%;max-width:none;box-sizing:border-box;margin-bottom:0}.games-cpp-root .lgm-arena__top{padding:.55rem;border-radius:14px;border:1px solid rgba(203,213,225,.35);background:rgba(71,85,105,.45)}.games-cpp-root .lgm-arena__intro{margin-bottom:0!important}.games-cpp-root .lgm-arena__panel--battle,.games-cpp-root .lgm-arena__panel--battle .lgm-code-choice__code,.games-cpp-root .lgm-arena__panel--battle .lgm-code-choices,.games-cpp-root .lgm-arena__panel--battle .lgm-teach{max-height:none!important;overflow:visible!important}.games-cpp-root .lgm-hud{background:rgba(71,85,105,.65);border:1px solid rgba(203,213,225,.4);color:#f8fafc;box-shadow:0 4px 14px rgba(15,23,42,.12)}.games-cpp-root .lgm-hud__level-num{color:#7dd3fc}.games-cpp-root .lgm-hud__exp{background:rgba(15,23,42,.4)}.games-cpp-root .lgm-hud__exp-text,.games-cpp-root .lgm-hud__stats{color:#cbd5e1}.games-cpp-root .lgm-player-sprite{filter:drop-shadow(0 10px 20px rgba(56,189,248,.2))}.games-cpp-root .lgm-arena,.games-cpp-root .lgm-lesson-quest{color:#f1f5f9}.games-cpp-root .lgm-arena__intro{color:#e2e8f0}.games-cpp-root .lgm-arena__panel{background:rgba(71,85,105,.62);border-color:rgba(203,213,225,.42);color:#f8fafc;font-size:1rem}.games-cpp-root .lgm-arena__panel h2{color:#ffffff;font-size:1.15rem}.games-cpp-root .lgm-arena__panel h3{color:#ffffff;font-size:1.05rem}.games-cpp-root .lgm-arena__panel--theory li,.games-cpp-root .lgm-arena__panel--theory p,.games-cpp-root .lgm-arena__panel>p{color:#f1f5f9;font-size:.95rem;line-height:1.5}.games-cpp-root .lgm-arena__panel--battle{font-size:1rem}.games-cpp-root .lgm-arena__panel--battle h2{font-size:1.2rem}.games-cpp-root .lgm-arena__panel--battle .lgm-mission__goal{font-size:1rem;color:#ecfeff}.games-cpp-root .lgm-arena__panel--battle .lgm-mission__hint-code span{font-size:.8rem;color:#fde68a}.games-cpp-root .lgm-arena__panel--battle .lgm-mission__hint-code code{font-size:1rem;color:#86efac}.games-cpp-root .lgm-arena__panel--battle .lgm-mission__io span{font-size:.8rem;color:#cffafe}.games-cpp-root .lgm-arena__panel--battle .lgm-mission__io pre{font-size:.92rem;color:#f8fafc;background:#0f172a}.games-cpp-root .lgm-arena__panel--battle .lgm-mission__steps{font-size:.95rem;color:#ecfeff}.games-cpp-root .lgm-arena__panel--battle .lgm-mission__reveal{font-size:.95rem}.games-cpp-root .lgm-arena__panel--battle .lgm-attack-mode__btn{font-size:.95rem;min-height:40px}.games-cpp-root .lgm-arena__panel--battle .lgm-code-choice__label{font-size:.95rem;color:#fdba74}.games-cpp-root .lgm-arena__panel--battle .lgm-code-choice__code{font-size:.88rem;color:#f8fafc}.games-cpp-root .lgm-arena__panel--battle .lgm-code-choice__why{font-size:.92rem}.games-cpp-root .lgm-arena__panel--battle .lgm-code-choice__why--ok{color:#bbf7d0;background:rgba(22,101,52,.45)}.games-cpp-root .lgm-arena__panel--battle .lgm-code-choice__why--bad{color:#fecaca;background:rgba(127,29,29,.45)}.games-cpp-root .lgm-arena__panel--battle .lgm-code-choice__why-hint{font-size:.88rem;color:#cbd5e1}.games-cpp-root .lgm-arena__panel--battle .lgm-teach summary{font-size:1rem;color:#ffffff}.games-cpp-root .lgm-arena__panel--battle .lgm-teach__lines code{font-size:.95rem;color:#86efac}.games-cpp-root .lgm-arena__panel--battle .lgm-teach__lines p,.games-cpp-root .lgm-arena__panel--battle .lgm-teach__tips li{font-size:.95rem;color:#f1f5f9}.games-cpp-root .lgm-arena__panel--battle .lgm-teach__lines strong{color:#7dd3fc}.games-cpp-root .lgm-arena__panel--battle .lgm-arena__result{font-size:.98rem;color:#f8fafc}.games-cpp-root .lgm-arena__panel--battle .lgm-btn--attack{font-size:1.05rem;min-height:46px}.games-cpp-root .lgm-rescue-panel{background:#fff7ed;border-color:#fb923c;color:#9a3412}.games-cpp-root .lgm-rescue-panel h3{font-size:1.1rem;color:#9a3412}.games-cpp-root .lgm-rescue-panel__tier-label{font-size:.9rem;color:#9a3412}.games-cpp-root .lgm-rescue-panel__npc-btn{font-size:.98rem;color:#4c1d95;background:#f5f3ff;border-color:#8b5cf6}.games-cpp-root .lgm-rescue-panel__npc-btn.is-open{background:#ede9fe;color:#4c1d95}.games-cpp-root .lgm-rescue-panel__hint-text{font-size:.98rem;line-height:1.55;color:#f8fafc;background:#1e293b;border:1px solid #64748b}.games-cpp-root .lgm-rescue-panel__warn{font-size:.92rem;color:#b45309}.games-cpp-root .lgm-rescue-panel__ai-btn{font-size:.98rem}.games-cpp-root .lgm-arena__done-tag{color:#86efac}.games-cpp-root .lgm-arena__result{background:rgba(71,85,105,.65);color:#f8fafc;border:1px solid rgba(148,163,184,.35)}.games-cpp-root .lgm-mission{background:linear-gradient(145deg,#0891b2,#0e7490);border-color:#a5f3fc;color:#ecfeff}.games-cpp-root .lgm-mission__goal,.games-cpp-root .lgm-mission__goal strong,.games-cpp-root .lgm-mission__steps,.games-cpp-root .lgm-mission__steps li{color:#ecfeff}.games-cpp-root .lgm-mission__io span{color:#cffafe}.games-cpp-root .lgm-mission__hint-code{background:rgba(15,23,42,.55);border-color:#fbbf24}.games-cpp-root .lgm-mission__hint-code span{color:#fde68a}.games-cpp-root .lgm-mission__hint-code code{color:#86efac}.games-cpp-root .lgm-mission__reveal{background:#fef3c7;border-color:#f59e0b;color:#92400e}.games-cpp-root .lgm-mission__reveal:hover{background:#fde68a;color:#78350f}.games-cpp-root .lgm-attack-mode__btn{background:rgba(71,85,105,.7);border-color:rgba(203,213,225,.45);color:#f8fafc}.games-cpp-root .lgm-attack-mode__btn.is-active{background:#ffedd5;border-color:#fb923c;color:#9a3412}.games-cpp-root .lgm-code-choice{background:rgba(30,41,59,.85);border-color:rgba(148,163,184,.4);color:#f1f5f9}.games-cpp-root .lgm-code-choice.is-selected{border-color:#fb923c}.games-cpp-root .lgm-code-choice__label{color:#fdba74}.games-cpp-root .lgm-code-choice__code{color:#e2e8f0}.games-cpp-root .lgm-teach{background:rgba(51,65,85,.65);border-color:rgba(148,163,184,.4);color:#f8fafc}.games-cpp-root .lgm-teach summary,.games-cpp-root .lgm-teach__lines p,.games-cpp-root .lgm-teach__tips li{color:#f1f5f9}.games-cpp-root .lgm-teach__lines strong{color:#7dd3fc}.games-cpp-root .lgm-code-choice__why-hint{color:#94a3b8}.games-cpp-root .lgm-progress,.games-cpp-root .lgm-progress__label,.games-cpp-root .lgm-progress__pct{color:#e2e8f0}.games-cpp-root .rpg-bg-purple-100{background:rgba(168,85,247,.25)!important;color:#e9d5ff!important}.games-cpp-root .rpg-text-purple-800{color:#e9d5ff!important}.games-cpp-root .rpg-bg-red-100{background:rgba(248,113,113,.2)!important;color:#fecaca!important}.games-cpp-root .rpg-text-red-800{color:#fecaca!important}.game-degraded-banner{margin:0 0 1rem;padding:.65rem .85rem;border-radius:10px;border:1px solid rgba(251,191,36,.35);background:rgba(251,191,36,.12);color:#fde68a;font-size:.85rem}.game-phase-error{margin:.75rem 0 1.25rem;padding:1rem 1.1rem;border-radius:12px;border:1px dashed rgba(248,113,113,.45);background:rgba(127,29,29,.18);text-align:center}.game-phase-error__icon{font-size:1.75rem;margin-bottom:.35rem}.game-phase-error__title{margin:0 0 .25rem;font-size:1rem;color:#fecaca}.game-phase-error__label{margin:0 0 .35rem;font-size:.82rem;color:#fca5a5;font-weight:700}.game-phase-error__message{margin:0 0 .75rem;font-size:.85rem;color:#fed7d7}.game-phase-error__reset{margin:0 auto}.game-shell-error{min-height:calc(100vh - 64px);display:grid;place-items:center;padding:2rem 1rem;background:radial-gradient(circle at 50% 20%,rgba(30,27,75,.5),#020617 65%)}.game-shell-error__card{max-width:440px;width:100%;padding:2rem 1.5rem;border-radius:18px;text-align:center;border:1px solid rgba(56,189,248,.35);background:rgba(15,23,42,.92);color:#e2e8f0}.game-shell-error__emoji{display:block;font-size:2.5rem;margin-bottom:.5rem}.game-shell-error__actions{display:flex;flex-wrap:wrap;gap:.65rem;justify-content:center;margin-top:1rem}.game-audio-controller{position:fixed;top:calc(72px + env(safe-area-inset-top, 0px));right:calc(1rem + env(safe-area-inset-right, 0px));z-index:55;pointer-events:none}.game-audio-controller__btn{position:relative;display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(186,230,253,.35);border-radius:14px;background:linear-gradient(145deg,rgba(15,23,42,.72),rgba(30,41,59,.55));backdrop-filter:blur(14px) saturate(140%);-webkit-backdrop-filter:blur(14px) saturate(140%);box-shadow:0 8px 28px rgba(2,6,23,.45),inset 0 1px 0 rgba(255,255,255,.12),0 0 18px rgba(56,189,248,.15);color:#bae6fd;cursor:pointer;pointer-events:auto;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,color .22s ease}.game-audio-controller__btn:hover{transform:translateY(-1px);border-color:rgba(186,230,253,.55);box-shadow:0 10px 32px rgba(2,6,23,.5),inset 0 1px 0 rgba(255,255,255,.16),0 0 24px rgba(56,189,248,.28);color:#e0f2fe}.game-audio-controller__btn:focus-visible{outline:2px solid rgba(56,189,248,.75);outline-offset:2px}.game-audio-controller__btn--muted{color:#94a3b8;border-color:rgba(148,163,184,.28);box-shadow:0 6px 20px rgba(2,6,23,.4),inset 0 1px 0 rgba(255,255,255,.08)}.game-audio-controller__glow{position:absolute;inset:-2px;border-radius:16px;background:radial-gradient(circle at 50% 50%,rgba(56,189,248,.22),transparent 68%);opacity:.85;pointer-events:none}.game-audio-controller__icon{position:relative;z-index:1;width:18px;height:18px}.game-audio-controller__icon--active{filter:drop-shadow(0 0 6px rgba(125,211,252,.45))}.game-audio-controller__pulse{position:absolute;inset:8px;border-radius:999px;border:1px solid rgba(125,211,252,.35);pointer-events:none;animation:game-audio-pulse 2.4s ease-out infinite}.game-audio-controller__pulse--two{animation-delay:1.2s}@keyframes game-audio-pulse{0%{transform:scale(.85);opacity:.55}70%{transform:scale(1.45);opacity:0}to{transform:scale(1.45);opacity:0}}@media (max-width:640px){.game-audio-controller{top:calc(64px + env(safe-area-inset-top, 0px));right:calc(.65rem + env(safe-area-inset-right, 0px))}.game-audio-controller__btn{width:38px;height:38px;border-radius:12px}}.lgm-sync-ok{margin:0 0 .75rem;padding:.45rem .75rem;border-radius:8px;border:1px solid rgba(52,211,153,.35);background:rgba(6,78,59,.35);color:#a7f3d0;font-size:.82rem}.lgm-lesson-stats{margin:0 0 1rem;padding:.85rem 1rem;border-radius:12px;border:1px solid rgba(148,163,184,.35);background:rgba(30,41,59,.85)}.lgm-lesson-stats h3{margin:0 0 .65rem;font-size:.95rem;color:#e2e8f0}.lgm-lesson-stats__grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:.5rem}.lgm-lesson-stats__grid li{display:flex;flex-direction:column;gap:.15rem;padding:.45rem .55rem;border-radius:8px;background:rgba(15,23,42,.55)}.lgm-lesson-stats__grid span{font-size:.72rem;color:#94a3b8}.lgm-lesson-stats__grid strong{font-size:.9rem;color:#f8fafc}.lgm-arena__result--saved{border-color:rgba(52,211,153,.55)!important;background:rgba(6,78,59,.45)!important}.lgm-arena__result--unsaved{border-color:rgba(251,191,36,.55)!important;background:rgba(120,53,15,.4)!important}.lgm-attack-report{margin:.85rem 0;padding:.85rem 1rem;border-radius:12px;border:1px solid rgba(148,163,184,.3);background:rgba(15,23,42,.65);color:#e2e8f0;font-size:.88rem}.lgm-attack-report h4{margin:0 0 .5rem;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.lgm-attack-report__badge{font-size:.72rem;font-weight:700;padding:.2rem .5rem;border-radius:999px}.lgm-attack-report__badge--ok{background:rgba(16,185,129,.25);color:#6ee7b7}.lgm-attack-report__badge--warn{background:rgba(245,158,11,.25);color:#fcd34d}.lgm-attack-report__tests{margin:.5rem 0 0;padding-left:1.1rem}.lgm-attack-report__tests .is-pass{color:#86efac}.lgm-attack-report__tests .is-fail{color:#fca5a5}.lgm-submissions{margin:1rem 0;padding:.85rem 1rem;border-radius:12px;border:1px solid rgba(148,163,184,.3);background:rgba(30,41,59,.75)}.lgm-submissions__title{margin:0 0 .65rem;font-size:.95rem;color:#e2e8f0}.lgm-submissions__empty{margin:0;font-size:.85rem;color:#94a3b8}.lgm-submissions__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.45rem}.lgm-submissions__item{display:flex;gap:.65rem;align-items:flex-start;padding:.5rem .6rem;border-radius:8px;background:rgba(15,23,42,.55)}.lgm-submissions__verdict{flex-shrink:0;font-size:.72rem;font-weight:800;padding:.2rem .45rem;border-radius:6px;letter-spacing:.03em}.lgm-submissions__verdict--ac{background:rgba(16,185,129,.3);color:#6ee7b7}.lgm-submissions__verdict--wa{background:rgba(239,68,68,.25);color:#fca5a5}.lgm-submissions__verdict--other{background:rgba(148,163,184,.25);color:#cbd5e1}.lgm-submissions__lesson{margin:0;font-size:.88rem;color:#f1f5f9}.lgm-submissions__meta{margin:.15rem 0 0;font-size:.75rem;color:#94a3b8}.lgm-toast-host{position:fixed;right:1rem;bottom:1rem;z-index:80;display:flex;flex-direction:column-reverse;gap:.55rem;max-width:min(380px,calc(100vw - 1.5rem));pointer-events:none}.lgm-toast{pointer-events:auto;display:flex;gap:.65rem;align-items:flex-start;padding:.75rem .85rem;border-radius:12px;border:1px solid rgba(148,163,184,.35);background:rgba(15,23,42,.96);color:#f1f5f9;box-shadow:0 10px 30px rgba(0,0,0,.35);animation:lgm-toast-in .28s ease-out}.lgm-toast--success{border-color:rgba(52,211,153,.55);background:linear-gradient(145deg,rgba(6,78,59,.95),rgba(15,23,42,.98))}.lgm-toast--reward{border-color:rgba(251,191,36,.5);background:linear-gradient(145deg,rgba(120,53,15,.9),rgba(15,23,42,.98))}.lgm-toast--encourage{border-color:rgba(244,114,182,.45);background:linear-gradient(145deg,rgba(131,24,67,.85),rgba(15,23,42,.98))}.lgm-toast--warn{border-color:rgba(251,191,36,.55)}.lgm-toast--info{border-color:rgba(56,189,248,.45)}.lgm-toast__icon{margin-top:.15rem;color:#fde68a}.lgm-toast__title{margin:0;font-weight:800;font-size:.9rem}.lgm-toast__body{margin:.2rem 0 0;font-size:.8rem;line-height:1.4;color:#cbd5e1}.lgm-toast__close{margin-left:auto;border:0;background:transparent;color:#94a3b8;font-size:1.1rem;cursor:pointer;line-height:1}@keyframes lgm-toast-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.lgm-guide{margin:0 0 1.25rem;padding:1rem 1.1rem;border-radius:16px;border:1px solid rgba(56,189,248,.35);background:linear-gradient(160deg,rgba(12,74,110,.45),rgba(15,23,42,.92))}.lgm-guide__header{display:flex;flex-wrap:wrap;gap:.75rem;align-items:flex-start;justify-content:space-between}.lgm-guide__header h2{margin:0;font-size:1.1rem;color:#e0f2fe}.lgm-guide__subtitle{margin:.35rem 0 0;font-size:.85rem;color:#bae6fd;max-width:52rem}.lgm-guide__body{margin-top:1rem}.lgm-guide__poster{margin:0 0 1rem;padding:0;border-radius:12px;overflow:hidden;border:1px solid rgba(148,163,184,.3);background:#0f172a}.lgm-guide__poster img{display:block;width:100%;height:auto}.lgm-guide__poster figcaption{padding:.45rem .75rem;font-size:.78rem;color:#94a3b8;text-align:center}.lgm-guide__flow{flex-wrap:wrap;align-items:stretch;gap:.35rem}.lgm-guide__flow,.lgm-guide__node{display:flex;justify-content:center}.lgm-guide__node{flex-direction:column;align-items:center;gap:.2rem;min-width:5.5rem;padding:.55rem .45rem;border-radius:12px;border:1px solid rgba(148,163,184,.35);background:rgba(15,23,42,.75);text-align:center;color:#f8fafc;font-size:.78rem;font-weight:700}.lgm-guide__node small{font-weight:500;font-size:.68rem;color:#94a3b8}.lgm-guide__node--map{border-color:#38bdf8;color:#7dd3fc}.lgm-guide__node--theory{border-color:#a78bfa;color:#c4b5fd}.lgm-guide__node--battle{border-color:#f87171;color:#fca5a5}.lgm-guide__node--attack{border-color:#fb923c;color:#fdba74}.lgm-guide__node--save{border-color:#34d399;color:#6ee7b7}.lgm-guide__node--reward{border-color:#fbbf24;color:#fde68a}.lgm-guide__node--unlock{border-color:#4ade80;color:#86efac}.lgm-guide__arrow{align-self:center;color:#64748b;font-weight:800}.lgm-guide__loop-note{margin:.85rem 0 0;font-size:.82rem;color:#cbd5e1;text-align:center}.lgm-guide__cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;margin-top:1rem}.lgm-guide__cols h3{margin:0 0 .65rem;font-size:.95rem;color:#e2e8f0}.lgm-guide__steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.55rem}.lgm-guide__steps li{display:flex;gap:.65rem;align-items:flex-start}.lgm-guide__step-num{flex-shrink:0;width:1.6rem;height:1.6rem;border-radius:999px;display:grid;place-items:center;background:#0ea5e9;color:#0f172a;font-weight:800;font-size:.8rem}.lgm-guide__steps strong{display:block;color:#f8fafc;font-size:.88rem}.lgm-guide__steps p{margin:.15rem 0 0;font-size:.8rem;color:#94a3b8;line-height:1.4}.lgm-guide__table{width:100%;border-collapse:collapse;font-size:.8rem;margin-bottom:.75rem}.lgm-guide__table td,.lgm-guide__table th{border:1px solid rgba(148,163,184,.25);padding:.4rem .45rem;text-align:left;color:#e2e8f0}.lgm-guide__table th{background:rgba(15,23,42,.7);color:#94a3b8;font-weight:700}.lgm-guide__tips{margin:0;padding-left:1.1rem;color:#cbd5e1;font-size:.8rem;line-height:1.45}.lgm-guide__tips li+li{margin-top:.35rem}@media (max-width:640px){.lgm-toast-host{right:.5rem;left:.5rem;bottom:.75rem;max-width:none}.lgm-guide__node{min-width:4.6rem}}.lgm-codex{margin:0 0 1.5rem;padding:1.25rem 1.35rem 1.5rem;border-radius:20px;border:1px solid rgba(167,139,250,.35);background:radial-gradient(ellipse 80% 60% at 10% 0,rgba(56,189,248,.18),transparent 55%),radial-gradient(ellipse 70% 50% at 90% 10%,rgba(244,114,182,.14),transparent 50%),linear-gradient(165deg,#0f172a,#1e1b4b 45%,#0f172a);box-shadow:0 20px 50px rgba(0,0,0,.35)}.lgm-codex__hero{display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;align-items:flex-start;margin-bottom:1.1rem}.lgm-codex__eyebrow{margin:0;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:#c4b5fd}.lgm-codex__hero h2{margin:.25rem 0 .4rem;font-size:1.45rem;color:#f8fafc;text-shadow:0 0 24px rgba(167,139,250,.35)}.lgm-codex__lead{margin:0;max-width:40rem;font-size:.88rem;line-height:1.5;color:#cbd5e1}.lgm-codex__progress{min-width:9rem;padding:.75rem 1rem;border-radius:14px;border:1px solid rgba(251,191,36,.35);background:rgba(15,23,42,.65);text-align:center}.lgm-codex__progress-num{display:block;font-size:1.35rem;font-weight:800;color:#fde68a}.lgm-codex__progress-label{font-size:.72rem;color:#94a3b8}.lgm-codex__progress-bar{margin-top:.45rem;height:6px;border-radius:999px;background:rgba(51,65,85,.8);overflow:hidden}.lgm-codex__progress-bar>div{height:100%;border-radius:inherit;background:linear-gradient(90deg,#a78bfa,#f472b6,#fbbf24)}.lgm-codex__tabs{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.85rem}.lgm-codex__tab{display:inline-flex;align-items:center;gap:.35rem;padding:.4rem .65rem;border-radius:999px;border:1px solid rgba(148,163,184,.3);background:rgba(15,23,42,.55);color:#cbd5e1;font-size:.78rem;cursor:pointer;transition:border-color .15s,background .15s,transform .15s}.lgm-codex__tab small{opacity:.7}.lgm-codex__tab:hover{border-color:rgba(167,139,250,.55);transform:translateY(-1px)}.lgm-codex__tab.is-active{border-color:#a78bfa;background:rgba(91,33,182,.35);color:#f5f3ff;font-weight:700}.lgm-codex__toolbar{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;justify-content:space-between;margin-bottom:.85rem;color:#94a3b8;font-size:.82rem}.lgm-codex__search{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .65rem;border-radius:10px;border:1px solid rgba(148,163,184,.3);background:rgba(15,23,42,.7);color:#94a3b8}.lgm-codex__search input{border:0;background:transparent;color:#f1f5f9;outline:none;min-width:10rem;font-size:.85rem}.lgm-codex__layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,.9fr);gap:1rem;align-items:start}.lgm-codex__grid{list-style:none;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:.55rem;max-height:min(62vh,520px);overflow:auto;padding:0 .25rem 0 0}.lgm-codex-card{width:100%;display:flex;flex-direction:column;align-items:center;gap:.3rem;padding:.7rem .45rem;border-radius:14px;border:1px solid color-mix(in srgb,var(--card-accent,#94a3b8) 45%,transparent);background:rgba(15,23,42,.75);color:#e2e8f0;cursor:pointer;transition:transform .15s,box-shadow .15s,border-color .15s}.lgm-codex-card.is-active,.lgm-codex-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,.35),0 0 0 1px var(--card-accent,#a78bfa)}.lgm-codex-card.is-locked{opacity:.55;filter:grayscale(.35)}.lgm-codex-card__emoji{font-size:1.75rem;line-height:1}.lgm-codex-card__name{font-size:.72rem;font-weight:700;text-align:center;line-height:1.25}.lgm-codex-card__rarity{font-size:.62rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.lgm-rarity--common{color:#94a3b8}.lgm-rarity--rare{color:#38bdf8}.lgm-rarity--epic{color:#c084fc}.lgm-rarity--legendary{color:#fbbf24}.lgm-rarity--mythic{color:#f472b6;text-shadow:0 0 10px rgba(244,114,182,.45)}.lgm-codex-detail{position:sticky;top:.5rem;padding:1rem 1.1rem;border-radius:16px;border:1px solid color-mix(in srgb,var(--card-accent,#a78bfa) 50%,transparent);background:linear-gradient(160deg,color-mix(in srgb,var(--card-accent,#a78bfa) 18%,#0f172a),#0f172a 70%);color:#e2e8f0;min-height:280px}.lgm-codex-detail__top{display:flex;gap:.75rem;align-items:flex-start;margin-bottom:.75rem}.lgm-codex-detail__emoji{font-size:2.75rem;line-height:1;filter:drop-shadow(0 0 12px var(--card-accent,#a78bfa))}.lgm-codex-detail h3{margin:.15rem 0;font-size:1.15rem;color:#f8fafc}.lgm-codex-detail__tagline{margin:0;font-size:.85rem;color:#cbd5e1;font-style:italic}.lgm-codex-detail__desc{margin:0 0 .75rem;font-size:.88rem;line-height:1.45;color:#e2e8f0}.lgm-codex-detail__lore{margin:0 0 .85rem;padding:.65rem .75rem;border-left:3px solid var(--card-accent,#a78bfa);background:rgba(15,23,42,.55);border-radius:0 10px 10px 0;font-size:.84rem;line-height:1.5;color:#cbd5e1}.lgm-codex-detail__stats{list-style:none;margin:0 0 .75rem;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:.35rem}.lgm-codex-detail__stats li{display:flex;justify-content:space-between;gap:.35rem;padding:.35rem .45rem;border-radius:8px;background:rgba(15,23,42,.55);font-size:.78rem}.lgm-codex-detail__stats span{color:#94a3b8;text-transform:capitalize}.lgm-codex-detail__tags{display:flex;flex-wrap:wrap;gap:.35rem}.lgm-codex-detail__tags span{padding:.2rem .5rem;border-radius:999px;font-size:.7rem;font-weight:700;background:rgba(167,139,250,.2);color:#ddd6fe}.lgm-codex-detail__locked{text-align:center;padding:2rem .5rem;color:#94a3b8}.lgm-codex-detail__locked span{font-size:2.5rem}.lgm-codex-detail__locked h3{color:#e2e8f0}@media (max-width:860px){.lgm-codex__layout{grid-template-columns:1fr}.lgm-codex-detail{position:static}}.lgm-codex-detail__equip{margin-top:.75rem;width:100%}.lgm-codex-detail__loadout{margin:.5rem 0 0;font-size:.72rem;color:#94a3b8}.lgm-hunt-card{margin:0 0 1rem;padding:.85rem 1rem;border-radius:14px;border:1px dashed rgba(148,163,184,.4);background:rgba(15,23,42,.55)}.lgm-hunt-card__eyebrow{margin:0;font-size:.7rem;font-weight:800;letter-spacing:.08em;color:#fbbf24}.lgm-hunt-card__title{margin:.25rem 0;color:#f8fafc;font-size:1.1rem}.lgm-hunt-card__title small{font-size:.8rem;color:#94a3b8;font-weight:500}.lgm-hunt-card__intro{margin:.25rem 0;font-size:.85rem;color:#cbd5e1;font-style:italic}.lgm-hunt-card__tip{margin:.45rem 0 0;font-size:.8rem;color:#94a3b8;line-height:1.4}.lgm-combat-dock{margin:.85rem 0;padding:.75rem .85rem;border-radius:14px;border:1px solid rgba(56,189,248,.35);background:rgba(15,23,42,.65)}.lgm-combat-dock__hint{margin:0 0 .65rem;font-size:.82rem;color:#bae6fd;line-height:1.4}.lgm-combat-overlay{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:.75rem}.lgm-combat-overlay__backdrop{position:absolute;inset:0;border:0;margin:0;padding:0;background:rgba(2,6,23,.72);backdrop-filter:blur(6px);cursor:pointer}.lgm-combat-overlay__panel{position:relative;z-index:1;width:min(720px,100%);max-height:min(92vh,820px);overflow:auto;border-radius:20px;box-shadow:0 24px 60px rgba(0,0,0,.55)}.lgm-combat-overlay__close{border:1px solid rgba(148,163,184,.4);background:rgba(15,23,42,.8);color:#e2e8f0;border-radius:999px;padding:.3rem .75rem;font-size:.78rem;cursor:pointer}.lgm-combat-stage--always-on{margin:0 0 1.25rem;border-width:2px;border-color:rgba(56,189,248,.45);box-shadow:0 12px 40px rgba(0,0,0,.35)}.lgm-combat-stage--always-on.is-fighting{border-color:rgba(251,191,36,.65);box-shadow:0 0 40px rgba(251,191,36,.2)}.lgm-combat-stage__live-tag{margin:0;font-size:.72rem;font-weight:800;color:#86efac;padding:.25rem .55rem;border-radius:999px;background:rgba(6,78,59,.45);border:1px solid rgba(74,222,128,.35)}.lgm-combat-stage--always-on .lgm-fighter__body{width:140px;height:150px}.lgm-combat-stage--always-on .lgm-combat-stage__arena{min-height:280px;background:rgba(2,6,23,.45);border-radius:14px;padding:.75rem .5rem;margin-bottom:.75rem}.lgm-combat-stage__side-label{margin:0 0 .35rem;font-size:.72rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#94a3b8;text-align:center}.lgm-victory-continue{margin:1rem 0;padding:1.15rem 1.25rem;border-radius:16px;border:2px solid rgba(52,211,153,.55);background:radial-gradient(ellipse 70% 50% at 20% 0,rgba(52,211,153,.2),transparent),linear-gradient(160deg,#064e3b,#0f172a 55%,#1e293b);box-shadow:0 16px 40px rgba(0,0,0,.35);animation:lgm-victory-in .4s ease-out}@keyframes lgm-victory-in{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.lgm-victory-continue__badge{margin:0;font-size:.72rem;font-weight:800;letter-spacing:.1em;color:#6ee7b7}.lgm-victory-continue h3{margin:.35rem 0 .5rem;color:#f0fdf4;font-size:1.15rem}.lgm-victory-continue__rewards{margin:0 0 .85rem;font-size:.9rem;color:#d1fae5}.lgm-victory-continue__saved{color:#86efac;font-weight:700}.lgm-victory-continue__next{padding:.75rem .85rem;border-radius:12px;border:1px solid rgba(251,191,36,.4);background:rgba(15,23,42,.65);margin-bottom:.85rem}.lgm-victory-continue__next--finale{border-color:rgba(167,139,250,.45)}.lgm-victory-continue__next-label{margin:0;font-size:.75rem;font-weight:800;color:#fbbf24;text-transform:uppercase;letter-spacing:.06em}.lgm-victory-continue__next-title{margin:.35rem 0 .2rem;font-size:1.05rem;font-weight:800;color:#f8fafc}.lgm-victory-continue__next-monster{margin:0;font-size:.88rem;color:#e2e8f0}.lgm-victory-continue__next-intro{margin:.35rem 0 0;font-size:.82rem;color:#94a3b8;font-style:italic;line-height:1.4}.lgm-victory-continue__actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.lgm-victory-continue__primary{flex:1 1 220px;min-height:48px;font-size:1rem}.lgm-victory-continue__auto{margin:.65rem 0 0;font-size:.78rem;color:#a7f3d0}.lgm-teacher{margin:0 0 1.1rem;padding:1rem 1.1rem 1.05rem;border-radius:20px;border:1px solid rgba(56,189,248,.4);background:radial-gradient(ellipse 50% 60% at 12% 30%,rgba(56,189,248,.2),transparent 55%),linear-gradient(145deg,#0c4a6e,#0f172a 48%,#1e293b);box-shadow:0 14px 36px rgba(0,0,0,.35)}.lgm-teacher__stage{display:grid;grid-template-columns:minmax(140px,180px) minmax(0,1fr);gap:.85rem 1.1rem;align-items:start}.lgm-teacher__person{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.35rem}.lgm-teacher-photo{position:relative;border-radius:50%;flex-shrink:0}.lgm-teacher-photo__ring{position:absolute;inset:-4px;border-radius:50%;background:conic-gradient(from 200deg,#7dd3fc,#38bdf8,#a78bfa,#f9a8d4,#7dd3fc);z-index:0;animation:lgm-teacher-ring 8s linear infinite}.lgm-teacher-photo.is-talking .lgm-teacher-photo__ring{animation-duration:3s}@keyframes lgm-teacher-ring{to{transform:rotate(1turn)}}.lgm-teacher-photo__glow{position:absolute;inset:-12px;border-radius:50%;background:radial-gradient(circle,rgba(125,211,252,.45),transparent 68%);z-index:0;pointer-events:none}.lgm-teacher-photo__img{position:relative;z-index:1;display:block;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center 18%;object-position:center 18%;border-radius:50%;border:3px solid rgba(15,23,42,.85);box-shadow:0 12px 28px rgba(0,0,0,.45),inset 0 0 0 1px rgba(255,255,255,.15);background:#1e293b}.lgm-teacher-photo__pulse{position:absolute;right:8%;bottom:10%;z-index:2;width:14px;height:14px;border-radius:50%;background:#4ade80;border:2px solid #0f172a;box-shadow:0 0 0 0 rgba(74,222,128,.6);animation:lgm-teacher-pulse 1.2s ease-out infinite}@keyframes lgm-teacher-pulse{70%{box-shadow:0 0 0 10px rgba(74,222,128,0)}to{box-shadow:0 0 0 0 rgba(74,222,128,0)}}.lgm-teacher-bar .lgm-teacher-photo,.lgm-teacher-bar__face.lgm-teacher-photo{width:56px!important;height:56px!important}.lgm-teacher-bar .lgm-teacher-photo__img{border-width:2px}.lgm-teacher__badge-role{display:inline-block;font-size:.65rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#0f172a;background:#7dd3fc;padding:.12rem .4rem;border-radius:999px;margin-bottom:.2rem}.lgm-teacher__badge strong{display:block;color:#f0f9ff;font-size:1rem}.lgm-teacher__badge small{display:block;color:#bae6fd;font-size:.72rem;line-height:1.3;max-width:11rem}.lgm-teacher__progress{font-size:.72rem;font-weight:800;color:#fde68a;padding:.15rem .45rem;border-radius:999px;background:rgba(120,53,15,.5)}.lgm-teacher__dialog{min-width:0}.lgm-teacher__bubble{position:relative;padding:.85rem 1rem .95rem;border-radius:16px;border:1px solid rgba(186,230,253,.35);background:rgba(248,250,252,.97);color:#0f172a;box-shadow:0 8px 20px rgba(0,0,0,.2)}.lgm-teacher__bubble:before{content:"";position:absolute;left:-10px;top:36px;border:10px solid transparent;border-right-color:rgba(248,250,252,.97)}.lgm-teacher__bubble-name{margin:0 0 .25rem;font-size:.75rem;font-weight:800;color:#0369a1}.lgm-teacher__speaking{font-weight:600;color:#64748b}.lgm-teacher__bubble-title{margin:0 0 .4rem;font-size:1.05rem;font-weight:800;color:#0f172a;line-height:1.3}.lgm-teacher__bubble-text{margin:0;font-size:.92rem;line-height:1.55;color:#1e293b;min-height:4.2em}.lgm-teacher__caret{display:inline-block;margin-left:1px;color:#0284c7;animation:lgm-caret .7s step-end infinite}@keyframes lgm-caret{50%{opacity:0}}.lgm-teacher__actions{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center;margin-top:.65rem}.lgm-teacher__cta{border:0;border-radius:12px;padding:.55rem .9rem;background:linear-gradient(135deg,#0ea5e9,#2563eb);color:#fff;font-size:.88rem;font-weight:800;cursor:pointer;box-shadow:0 6px 16px rgba(37,99,235,.35)}.lgm-teacher__cta:hover{filter:brightness(1.08)}.lgm-teacher__link{border:0;background:transparent;color:#7dd3fc;font-size:.8rem;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.lgm-teacher__link--quiet{color:#94a3b8;font-weight:600}.lgm-teacher__link.is-active{color:#bae6fd;text-decoration-color:#38bdf8}.lgm-teacher__inline-chat{margin-top:.65rem;display:flex;flex-direction:column;max-height:min(42vh,360px);min-height:0}.lgm-teacher__inline-chat .npc-inline-chat__messages{flex:1;min-height:0;max-height:min(32vh,280px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(56,189,248,.5) rgba(15,23,42,.4)}.lgm-teacher__inline-chat .npc-inline-chat__messages::-webkit-scrollbar{width:6px}.lgm-teacher__inline-chat .npc-inline-chat__messages::-webkit-scrollbar-thumb{background:rgba(56,189,248,.45);border-radius:999px}.lgm-teacher__roadmap{list-style:none;margin:.85rem 0 0;padding:.55rem;max-height:240px;overflow:auto;display:flex;flex-direction:column;gap:.35rem;border-radius:12px;background:rgba(2,6,23,.45)}.lgm-teacher__step{display:flex;align-items:flex-start;gap:.45rem;padding:.4rem .5rem;border-radius:10px;background:rgba(15,23,42,.65);border:1px solid rgba(51,65,85,.7)}.lgm-teacher__step--link{width:100%;text-align:left;cursor:pointer;font:inherit;color:inherit;transition:border-color .15s ease,background .15s ease,transform .12s ease}.lgm-teacher__step--link:hover{border-color:rgba(56,189,248,.55);background:rgba(15,23,42,.85);transform:translateX(2px)}.lgm-teacher__step--link:focus-visible{outline:2px solid #38bdf8;outline-offset:2px}@keyframes cpp-gate-pulse{0%,to{box-shadow:0 0 0 0 rgba(251,191,36,.65)}50%{box-shadow:0 0 0 6px rgba(251,191,36,0)}}.cpp-gate-highlight{animation:cpp-gate-pulse .85s ease-in-out 3;outline:2px solid rgba(251,191,36,.85);outline-offset:2px}.lgm-teacher__step.is-done{border-color:rgba(74,222,128,.4)}.lgm-teacher__step.is-current{border-color:rgba(251,191,36,.55);background:rgba(120,53,15,.3)}.lgm-teacher__step-num{flex-shrink:0;width:1.4rem;height:1.4rem;border-radius:999px;display:grid;place-items:center;font-size:.7rem;font-weight:800;background:#38bdf8;color:#0f172a}.lgm-teacher__step strong{display:block;font-size:.82rem;color:#f1f5f9}.lgm-teacher__step small{font-size:.72rem;color:#94a3b8}.lgm-teacher__tick{margin-left:auto;color:#4ade80;font-weight:800}.lgm-teacher-bar{display:inline-flex;align-items:center;gap:.55rem;margin:0 0 .85rem;padding:.35rem .75rem .35rem .35rem;border-radius:999px;border:1px solid rgba(56,189,248,.45);background:rgba(15,23,42,.95);color:#e0f2fe;cursor:pointer;text-align:left}.lgm-teacher-bar__face{width:52px!important;height:52px!important}.lgm-teacher-bar__meta{display:flex;flex-direction:column}.lgm-teacher-bar__meta strong{font-size:.88rem}.lgm-teacher-bar__meta small{font-size:.72rem;color:#94a3b8}@media (max-width:640px){.lgm-teacher__stage{grid-template-columns:1fr;justify-items:center}.lgm-teacher__bubble:before{left:50%;top:-10px;margin-left:-10px;border:10px solid transparent;border-bottom-color:rgba(248,250,252,.97)}.lgm-teacher__dialog{width:100%}}.lgm-combat-stage{margin:0 0 1rem;padding:1rem 1.1rem 1.15rem;border-radius:18px;border:1px solid rgba(148,163,184,.35);background:radial-gradient(ellipse 60% 40% at 20% 80%,rgba(56,189,248,.12),transparent),radial-gradient(ellipse 50% 40% at 80% 70%,rgba(239,68,68,.12),transparent),linear-gradient(180deg,#0f172a,#1e293b 50%,#020617);perspective:900px}.lgm-combat-stage--boss{border-color:rgba(239,68,68,.55);box-shadow:0 0 40px rgba(239,68,68,.15)}.lgm-combat-stage.is-enraged{animation:lgm-enrage-pulse 1s ease-in-out infinite}@keyframes lgm-enrage-pulse{50%{box-shadow:0 0 48px rgba(239,68,68,.35)}}.lgm-combat-stage__header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:.5rem;margin-bottom:.75rem}.lgm-combat-stage__eyebrow{margin:0;font-size:.68rem;letter-spacing:.14em;font-weight:800;color:#fbbf24}.lgm-combat-stage__header h3{margin:.15rem 0;color:#f8fafc;font-size:1.15rem}.lgm-combat-stage__header small{font-size:.8rem;color:#94a3b8;font-weight:500}.lgm-combat-stage__intro{margin:.35rem 0 0;font-size:.84rem;color:#cbd5e1;font-style:italic}.lgm-combat-stage__arena{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:.5rem;min-height:240px;padding:.5rem 0 .75rem;transform-style:preserve-3d;overflow:hidden}.lgm-combat-stage__side{position:relative;width:min(42%,160px)}.lgm-combat-stage__side .lgm-fighter{width:100%}.lgm-combat-stage__seq{margin-top:.5rem;font-size:.78rem;color:#fde68a}.lgm-combat-stage__seq-bar{margin-top:.25rem;height:6px;border-radius:999px;background:rgba(15,23,42,.8);overflow:hidden}.lgm-combat-stage__seq-bar>div{height:100%;background:linear-gradient(90deg,#38bdf8,#a78bfa,#fbbf24,#ef4444);transition:width .2s linear}.lgm-combat-banner{display:flex;flex-direction:column;align-items:center;gap:.2rem;padding:.45rem .75rem;border-radius:12px;border:1px solid rgba(251,191,36,.55);background:rgba(15,23,42,.92);color:#fde68a;font-size:.85rem;text-align:center;max-width:11rem;z-index:5;box-shadow:0 0 24px rgba(251,191,36,.25)}.lgm-combat-banner span{font-size:1.4rem}.lgm-combat-float{position:absolute;left:50%;top:20%;transform:translateX(-50%);font-weight:900;font-size:.95rem;pointer-events:none;z-index:6;text-shadow:0 2px 8px rgba(0,0,0,.6)}.lgm-combat-float--dmg{color:#fca5a5}.lgm-combat-float--heal{color:#86efac}.lgm-combat-float--skill{color:#fde68a}.lgm-arena-vfx{position:absolute;inset:15% 5%;pointer-events:none;z-index:4;border-radius:50%}.lgm-arena-vfx--slash{background:linear-gradient(120deg,transparent 40%,#f8fafc 48%,#38bdf8 52%,transparent 60%);animation:lgm-vfx-slash .45s ease-out}.lgm-arena-vfx--beam{background:linear-gradient(90deg,transparent,#22d3ee,#a5f3fc,transparent);height:8px;inset:45% 8%;border-radius:999px;animation:lgm-vfx-beam .5s ease-out}.lgm-arena-vfx--meteor{background:radial-gradient(circle,#f97316 0,#ef4444 40%,transparent 70%);animation:lgm-vfx-boom .55s ease-out}.lgm-arena-vfx--lightning{background:repeating-linear-gradient(90deg,transparent,transparent 8px,#c4b5fd 0,#c4b5fd 10px),radial-gradient(circle,rgba(167,139,250,.5),transparent 70%);animation:lgm-vfx-flash .5s steps(3)}.lgm-arena-vfx--fire{background:radial-gradient(circle,#fbbf24 0,#ef4444 45%,transparent 70%);animation:lgm-vfx-boom .6s ease-out}.lgm-arena-vfx--ice{background:radial-gradient(circle,#e0f2fe 0,#38bdf8 40%,transparent 70%);animation:lgm-vfx-boom .55s ease-out}.lgm-arena-vfx--poison{background:radial-gradient(circle,#86efac 0,#166534 50%,transparent 70%);animation:lgm-vfx-boom .55s ease-out}.lgm-arena-vfx--roar{box-shadow:inset 0 0 0 3px rgba(239,68,68,.6);animation:lgm-vfx-flash .5s ease-out}.lgm-arena-vfx--shield{box-shadow:inset 0 0 0 4px #38bdf8,0 0 30px #38bdf8;animation:lgm-vfx-pulse .7s ease-out}.lgm-arena-vfx--heal_aura{background:radial-gradient(circle,rgba(74,222,128,.55),transparent 70%);animation:lgm-vfx-pulse .8s ease-out}.lgm-arena-vfx--ultimate{background:conic-gradient(from 0deg,#fbbf24,#ef4444,#a78bfa,#38bdf8,#fbbf24);opacity:.55;animation:lgm-vfx-spin .9s linear}.lgm-arena-vfx--impact{background:radial-gradient(circle,#fff 0,#fbbf24 30%,transparent 65%);animation:lgm-vfx-boom .35s ease-out}.lgm-arena-vfx--to-enemy{clip-path:inset(0 0 0 40%)}.lgm-arena-vfx--to-player{clip-path:inset(0 40% 0 0)}.lgm-arena-vfx--from-enemy.lgm-arena-vfx--to-player{animation-name:lgm-vfx-beam-left}@keyframes lgm-vfx-slash{0%{transform:scaleX(.2) rotate(-20deg);opacity:0}to{transform:scaleX(1) rotate(0deg);opacity:1}}@keyframes lgm-vfx-beam{0%{transform:scaleX(.1);opacity:0}to{transform:scaleX(1);opacity:1}}@keyframes lgm-vfx-beam-left{0%{transform:scaleX(.1);opacity:0}to{transform:scaleX(1);opacity:1}}@keyframes lgm-vfx-boom{0%{transform:scale(.2);opacity:0}40%{opacity:1}to{transform:scale(1.4);opacity:0}}@keyframes lgm-vfx-flash{0%,to{opacity:.2}50%{opacity:1}}@keyframes lgm-vfx-spin{0%{transform:rotate(0deg) scale(.5)}to{transform:rotate(180deg) scale(1.2)}}.lgm-combat-skills--rich{max-height:9.5rem;overflow:auto}.lgm-combat-skill--combo{border-color:color-mix(in srgb,var(--skill-color,#a78bfa) 55%,transparent)}.lgm-combat-skill--ultimate{border-color:rgba(239,68,68,.55);background:rgba(127,29,29,.35)}.lgm-combat-log--tall{max-height:8rem}.lgm-combat-stage__center{display:flex;flex-direction:column;align-items:center;gap:.35rem;padding-bottom:2.5rem}.lgm-combat-stage__vs{font-weight:900;font-size:1.1rem;color:#fbbf24;text-shadow:0 0 12px rgba(251,191,36,.5)}.lgm-combat-stage__enrage{font-size:.68rem;font-weight:800;color:#fecaca;background:rgba(127,29,29,.8);padding:.15rem .45rem;border-radius:999px;animation:lgm-enrage-pulse .6s infinite}.lgm-fighter{display:flex;flex-direction:column;align-items:center;gap:.35rem;width:min(42%,160px)}.lgm-fighter--3d .lgm-fighter__body{transform:rotateY(-12deg);transform-style:preserve-3d}.lgm-fighter--enemy.lgm-fighter--3d .lgm-fighter__body{transform:rotateY(12deg)}.lgm-fighter__body{position:relative;width:120px;height:130px;filter:drop-shadow(0 12px 16px rgba(0,0,0,.45))}.lgm-fighter__svg{width:100%;height:100%}.lgm-fighter__glow{position:absolute;inset:20% 10% 5%;border-radius:50%;background:radial-gradient(circle,var(--fighter-theme,#38bdf8) 0,transparent 70%);opacity:.35;z-index:0}.lgm-fighter__svg{position:relative;z-index:1}.lgm-fighter__vfx{position:absolute;inset:0;border-radius:50%;pointer-events:none;z-index:2}.lgm-fighter__vfx--cast{box-shadow:0 0 24px var(--fighter-theme,#38bdf8);animation:lgm-vfx-pulse .4s ease-out}.lgm-fighter__vfx--attack{background:radial-gradient(circle,rgba(251,191,36,.45),transparent 60%);animation:lgm-vfx-pulse .35s ease-out}@keyframes lgm-vfx-pulse{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1.2)}}.lgm-fighter__badge{font-size:.62rem;font-weight:800;letter-spacing:.06em;padding:.1rem .4rem;border-radius:999px;background:rgba(15,23,42,.85);color:#fde68a;border:1px solid rgba(251,191,36,.4)}.lgm-fighter__name{margin:0;font-size:.78rem;font-weight:700;color:#e2e8f0;text-align:center}.lgm-fighter__hp{width:100%;height:8px;border-radius:999px;background:rgba(15,23,42,.9);overflow:hidden;border:1px solid rgba(148,163,184,.35)}.lgm-fighter__hp>div{height:100%;background:linear-gradient(90deg,#22c55e,#a3e635);transition:width .25s ease}.lgm-fighter--enemy .lgm-fighter__hp>div{background:linear-gradient(90deg,#ef4444,#f97316)}.lgm-combat-skills{display:flex;flex-wrap:wrap;gap:.45rem;margin:.35rem 0 .65rem}.lgm-combat-skill{flex:1 1 120px;display:flex;flex-direction:column;align-items:center;gap:.15rem;padding:.5rem .4rem;border-radius:12px;border:1px solid rgba(148,163,184,.35);background:rgba(15,23,42,.75);color:#e2e8f0;cursor:pointer;position:relative}.lgm-combat-skill--strike{border-color:rgba(251,191,36,.55)}.lgm-combat-skill--guard{border-color:rgba(56,189,248,.45)}.lgm-combat-skill--heal{border-color:rgba(74,222,128,.45)}.lgm-combat-skill:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.3)}.lgm-combat-skill.is-cd,.lgm-combat-skill:disabled{opacity:.45;cursor:not-allowed}.lgm-combat-skill__emoji{font-size:1.25rem}.lgm-combat-skill__name{font-size:.72rem;font-weight:700}.lgm-combat-skill__cd{position:absolute;top:.25rem;right:.35rem;font-size:.65rem;font-weight:800;color:#fca5a5}.lgm-combat-log{list-style:none;margin:0;padding:.45rem .6rem;border-radius:10px;background:rgba(2,6,23,.65);max-height:5.5rem;overflow:auto;font-size:.75rem;color:#94a3b8}.lgm-combat-log li+li{margin-top:.2rem}.lgm-bestiary{margin-top:1.25rem;padding-top:1rem;border-top:1px solid rgba(148,163,184,.25)}.lgm-bestiary h3{margin:0 0 .35rem;color:#f8fafc;font-size:1rem}.lgm-bestiary__lead{margin:0 0 .75rem;font-size:.82rem;color:#94a3b8}.lgm-bestiary__grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.5rem}.lgm-bestiary__card{display:flex;flex-direction:column;gap:.15rem;padding:.55rem .6rem;border-radius:12px;border:1px solid color-mix(in srgb,var(--card-accent,#94a3b8) 40%,transparent);background:rgba(15,23,42,.7);color:#e2e8f0}.lgm-bestiary__card.is-boss{border-color:rgba(239,68,68,.55)}.lgm-bestiary__card.is-done{box-shadow:inset 0 0 0 1px rgba(74,222,128,.35)}.lgm-bestiary__role{font-size:.62rem;font-weight:800;color:#fbbf24}.lgm-bestiary__card small,.lgm-bestiary__skill{font-size:.7rem;color:#94a3b8}@media (max-width:640px){.lgm-combat-stage__arena{flex-direction:column;align-items:center;min-height:auto}.lgm-fighter{width:70%}.lgm-fighter--3d .lgm-fighter__body,.lgm-fighter--enemy.lgm-fighter--3d .lgm-fighter__body{transform:none}}.games-cpp-root .lgm-hud--game{display:flex;flex-wrap:wrap;align-items:stretch;gap:.75rem 1rem;padding:.85rem 1rem;border-radius:16px;border:1px solid rgba(56,189,248,.25);background:linear-gradient(135deg,rgba(15,23,42,.95),rgba(30,41,59,.88));box-shadow:0 8px 32px rgba(2,6,23,.45),inset 0 1px 0 rgba(255,255,255,.06)}.games-cpp-root .lgm-hud__hero{display:flex;align-items:center;gap:.75rem;flex:1 1 220px;min-width:200px}.games-cpp-root .lgm-hud__level-top{display:flex;align-items:baseline;gap:.25rem}.games-cpp-root .lgm-hud__level-num{font-size:1.35rem;font-weight:800;color:#fbbf24;text-shadow:0 0 12px rgba(251,191,36,.35)}.games-cpp-root .lgm-hud__level-cap{font-size:.75rem;color:#64748b}.games-cpp-root .lgm-hud__stats{display:flex;flex-wrap:wrap;gap:.45rem;flex:2 1 320px;align-content:center}.games-cpp-root .lgm-hud__chip{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .65rem;border-radius:999px;font-size:.82rem;font-weight:700;border:1px solid rgba(255,255,255,.08);background:rgba(2,6,23,.55);color:#e2e8f0}.games-cpp-root .lgm-hud__chip--gold{border-color:rgba(251,191,36,.45);color:#fde68a;background:linear-gradient(135deg,rgba(120,53,15,.5),rgba(15,23,42,.7))}.games-cpp-root .lgm-hud__chip--gem{border-color:rgba(56,189,248,.4);color:#bae6fd}.games-cpp-root .lgm-hud__chip--fire{border-color:rgba(248,113,113,.4);color:#fecaca}.games-cpp-root .lgm-hud__chip--gate{border-color:rgba(74,222,128,.35);color:#bbf7d0}.games-cpp-root .lgm-hud__title{flex:1 1 100%;padding:.35rem .65rem;border-radius:10px;background:rgba(251,191,36,.12);border:1px solid rgba(251,191,36,.3);color:#fde68a;font-weight:700;font-size:.85rem}.lgm-journal{margin-top:.65rem;border-radius:14px;border:1px solid rgba(251,191,36,.35);background:linear-gradient(180deg,rgba(30,27,20,.95),rgba(15,23,42,.92));overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,.35)}.lgm-journal__cover{padding:.85rem 1rem;border-bottom:1px solid rgba(251,191,36,.2);background:linear-gradient(90deg,rgba(120,53,15,.35),transparent)}.lgm-journal__cover-badge{font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;color:#fcd34d;font-weight:800}.lgm-journal__cover-title{margin:.2rem 0 0;font-size:1.05rem;color:#fef3c7}.lgm-journal__cover-meta{margin:.25rem 0 .5rem;font-size:.78rem;color:#94a3b8}.lgm-journal__cover-bar{height:6px;border-radius:999px;background:rgba(15,23,42,.8);overflow:hidden}.lgm-journal__cover-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#f59e0b,#fde68a)}.lgm-journal__toolbar{display:flex;flex-wrap:wrap;gap:.5rem;padding:.65rem .75rem;border-bottom:1px solid rgba(51,65,85,.6)}.lgm-journal__search{flex:1 1 160px;display:flex;align-items:center;gap:.4rem;padding:.35rem .55rem;border-radius:10px;border:1px solid rgba(51,65,85,.8);background:rgba(2,6,23,.6);color:#94a3b8}.lgm-journal__search input{flex:1;border:none;background:transparent;color:#e2e8f0;font-size:.82rem;outline:none}.lgm-journal__chapter-select{flex:1 1 200px;padding:.4rem .55rem;border-radius:10px;border:1px solid rgba(51,65,85,.8);background:rgba(2,6,23,.6);color:#e2e8f0;font-size:.78rem}.lgm-journal__chapter-head{display:flex;justify-content:space-between;gap:.5rem;padding:.55rem .75rem .35rem}.lgm-journal__chapter-no{display:block;font-size:.68rem;color:#fcd34d;font-weight:800;text-transform:uppercase}.lgm-journal__chapter-head strong{display:block;color:#f1f5f9;font-size:.9rem}.lgm-journal__chapter-head small{color:#94a3b8;font-size:.72rem}.lgm-journal__chapter-progress{font-size:.75rem;color:#86efac;font-weight:700;white-space:nowrap}.lgm-journal__tags{display:flex;flex-wrap:wrap;gap:.3rem;padding:0 .75rem .45rem}.lgm-journal__tag{font-size:.65rem;padding:.15rem .45rem;border-radius:999px;background:rgba(56,189,248,.15);border:1px solid rgba(56,189,248,.25);color:#7dd3fc}.lgm-journal__entries{list-style:none;margin:0;padding:.35rem .55rem .55rem;display:flex;flex-direction:column;gap:.3rem;max-height:280px;overflow-y:auto}.lgm-journal__entry{width:100%;display:flex;align-items:center;gap:.5rem;padding:.45rem .55rem;border-radius:10px;border:1px solid rgba(51,65,85,.65);background:rgba(15,23,42,.65);color:inherit;text-align:left;cursor:pointer;transition:border-color .12s ease,transform .1s ease}.lgm-journal__entry:hover{border-color:rgba(251,191,36,.45);transform:translateX(2px)}.lgm-journal__entry.is-done{border-color:rgba(74,222,128,.35)}.lgm-journal__entry.is-current{border-color:rgba(251,191,36,.55);box-shadow:0 0 0 1px rgba(251,191,36,.2)}.lgm-journal__entry.is-boss{background:linear-gradient(90deg,rgba(127,29,29,.35),rgba(15,23,42,.65))}.lgm-journal__entry-gate{flex-shrink:0;width:2rem;height:2rem;border-radius:8px;display:grid;place-items:center;font-size:.72rem;font-weight:800;background:rgba(56,189,248,.2);color:#7dd3fc}.lgm-journal__entry-body strong{display:block;font-size:.8rem;color:#f1f5f9}.lgm-journal__entry-body small{font-size:.68rem;color:#94a3b8}.lgm-journal__entry-status{margin-left:auto;color:#4ade80;font-weight:800}.lgm-journal__pager{display:flex;align-items:center;justify-content:center;gap:.75rem;padding:.45rem .75rem .65rem;border-top:1px solid rgba(51,65,85,.5);font-size:.78rem;color:#94a3b8}.lgm-journal__pager button{border:1px solid rgba(51,65,85,.8);background:rgba(15,23,42,.8);color:#e2e8f0;border-radius:8px;padding:.25rem .55rem;cursor:pointer}.lgm-journal__pager button:disabled{opacity:.4;cursor:not-allowed}.lgm-multiverse__scroll--wide{width:100%;padding-inline:.25rem}.lgm-planet--wide{width:min(92vw,520px)}@media (min-width:1024px){.lgm-planet--wide{width:min(calc((100% - 3rem) / 3),720px);min-width:min(42vw,680px)}}@media (min-width:1400px){.lgm-multiverse__scroll--wide{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow-x:visible;gap:1rem}.lgm-planet--wide{width:100%;min-width:0}}.games-cpp-root .lgm-guide{border-radius:14px;border:1px solid rgba(56,189,248,.22);background:linear-gradient(135deg,rgba(15,23,42,.92),rgba(30,41,59,.85));box-shadow:0 6px 24px rgba(2,6,23,.35)}.games-cpp-root .lgm-guide__header{padding:.85rem 1rem}.games-cpp-root .lgm-guide__header h2{font-size:1rem;color:#e0f2fe}.games-cpp-root .lgm-guide__subtitle{color:#94a3b8;font-size:.82rem}.games-cpp-root .lgm-quest-hub__tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;padding:.5rem;border-radius:16px;background:linear-gradient(180deg,rgba(15,23,42,.92),rgba(2,6,23,.88));border:1px solid rgba(56,189,248,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 8px 28px rgba(0,0,0,.35)}.games-cpp-root .lgm-quest-hub__tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;min-height:4.5rem;padding:.55rem .4rem;border-radius:12px;border:1px solid transparent;background:transparent;color:#94a3b8;font-weight:700;font-size:.78rem;cursor:pointer;transition:background .18s ease,color .18s ease,box-shadow .18s ease,border-color .18s ease}.games-cpp-root .lgm-quest-hub__tab-glyph{width:2.35rem;height:2.35rem;border-radius:12px;display:grid;place-items:center;font-size:1rem;border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 4px 12px rgba(0,0,0,.25);transition:transform .18s ease,box-shadow .18s ease}.games-cpp-root .lgm-quest-hub__tab--sky .lgm-quest-hub__tab-glyph{background:linear-gradient(145deg,#0ea5e9,#0369a1);color:#e0f2fe}.games-cpp-root .lgm-quest-hub__tab--violet .lgm-quest-hub__tab-glyph{background:linear-gradient(145deg,#a855f7,#6b21a8);color:#f3e8ff}.games-cpp-root .lgm-quest-hub__tab--amber .lgm-quest-hub__tab-glyph{background:linear-gradient(145deg,#f59e0b,#b45309);color:#fef3c7}.games-cpp-root .lgm-quest-hub__tab--emerald .lgm-quest-hub__tab-glyph{background:linear-gradient(145deg,#22c55e,#15803d);color:#dcfce7}.games-cpp-root .lgm-quest-hub__tab:hover{color:#e2e8f0;background:rgba(255,255,255,.03)}.games-cpp-root .lgm-quest-hub__tab:hover .lgm-quest-hub__tab-glyph{box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 6px 16px rgba(0,0,0,.35)}.games-cpp-root .lgm-quest-hub__tab.is-active{color:#f8fafc;background:rgba(255,255,255,.06);border-color:rgba(56,189,248,.35);box-shadow:0 0 0 1px rgba(56,189,248,.15),0 6px 20px rgba(2,132,199,.2)}.games-cpp-root .lgm-quest-hub__tab.is-active .lgm-quest-hub__tab-glyph{transform:scale(1.06);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 0 16px rgba(56,189,248,.35),0 6px 18px rgba(0,0,0,.35)}.games-cpp-root .lgm-quest-hub__tab-text{line-height:1.1;text-align:center}.lgm-multiverse__scroll--wide{align-items:flex-start}.lgm-planet--wide{box-shadow:0 10px 36px rgba(0,0,0,.35);transition:box-shadow .2s ease,filter .2s ease,border-color .2s ease;transform:none}.lgm-planet--wide:hover{filter:brightness(1.04);box-shadow:0 14px 44px rgba(0,0,0,.42)}.lgm-planet--wide.is-active{box-shadow:0 0 0 1px rgba(251,191,36,.55),0 14px 44px rgba(0,0,0,.42)}.lgm-planet__emoji{display:inline-block;animation:lgm-planet-float 6s ease-in-out infinite}@keyframes lgm-planet-float{0%,to{transform:rotate(0deg)}50%{transform:rotate(6deg)}}.lgm-monster-card:not(:disabled):hover{box-shadow:0 8px 24px rgba(56,189,248,.18);border-color:rgba(56,189,248,.45)!important}.games-cpp-root .lgm-hud__chip{gap:.45rem;padding:.4rem .7rem .4rem .4rem}.games-cpp-root .lgm-hud__chip-glyph{width:1.75rem;height:1.75rem;border-radius:9px;display:grid;place-items:center;font-size:.82rem;flex-shrink:0;border:1px solid rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 3px 8px rgba(0,0,0,.25)}.games-cpp-root .lgm-hud__chip--gold .lgm-hud__chip-glyph{background:linear-gradient(145deg,#fbbf24,#b45309);color:#451a03}.games-cpp-root .lgm-hud__chip--gem .lgm-hud__chip-glyph{background:linear-gradient(145deg,#38bdf8,#0369a1);color:#e0f2fe}.games-cpp-root .lgm-hud__chip--fire .lgm-hud__chip-glyph{background:linear-gradient(145deg,#f87171,#b91c1c);color:#fef2f2}.games-cpp-root .lgm-hud__chip--ice .lgm-hud__chip-glyph{background:linear-gradient(145deg,#67e8f9,#0891b2);color:#ecfeff}.games-cpp-root .lgm-hud__chip--skull .lgm-hud__chip-glyph{background:linear-gradient(145deg,#94a3b8,#475569);color:#f8fafc}.games-cpp-root .lgm-hud__chip--gate .lgm-hud__chip-glyph{background:linear-gradient(145deg,#4ade80,#15803d);color:#f0fdf4}.games-cpp-root .lgm-hud__chip-val{font-variant-numeric:tabular-nums}.lgm-journal__profile{padding:.65rem .75rem .75rem;border-bottom:1px solid rgba(251,191,36,.2);background:linear-gradient(180deg,rgba(30,27,20,.6),transparent)}.lgm-journal__profile-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.55rem}.lgm-journal__profile-badge{font-size:.72rem;font-weight:800;color:#fcd34d;text-transform:uppercase;letter-spacing:.04em}.lgm-journal__profile-lv{font-size:.9rem;font-weight:800;color:#fde68a}.lgm-journal__profile-lv small{font-size:.72rem;color:#94a3b8;font-weight:600}.lgm-journal__profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem}.lgm-journal__stat{display:flex;flex-direction:column;align-items:flex-start;gap:.1rem;padding:.45rem .55rem;border-radius:10px;border:1px solid rgba(255,255,255,.06);background:rgba(2,6,23,.45)}.lgm-journal__stat-icon{width:1.6rem;height:1.6rem;border-radius:8px;display:grid;place-items:center;font-size:.75rem;margin-bottom:.15rem}.lgm-journal__stat--gold .lgm-journal__stat-icon{background:linear-gradient(145deg,#fbbf24,#b45309);color:#451a03}.lgm-journal__stat--gem .lgm-journal__stat-icon{background:linear-gradient(145deg,#38bdf8,#0369a1);color:#e0f2fe}.lgm-journal__stat--fire .lgm-journal__stat-icon{background:linear-gradient(145deg,#f87171,#b91c1c);color:#fff}.lgm-journal__stat--gate .lgm-journal__stat-icon{background:linear-gradient(145deg,#4ade80,#15803d);color:#f0fdf4}.lgm-journal__stat-val{font-size:.88rem;font-weight:800;color:#f1f5f9}.lgm-journal__stat-label{font-size:.65rem;color:#94a3b8}.lgm-journal__profile-title{margin:.5rem 0 0;font-size:.78rem;color:#fde68a;font-weight:700}.lgm-submissions--journal{margin:0;padding:.65rem .75rem .75rem;border-top:1px solid rgba(51,65,85,.55);border-radius:0;background:transparent}.lgm-teacher .lgm-map-activity{margin-top:.65rem;border-radius:14px;border:1px solid rgba(56,189,248,.28);background:rgba(15,23,42,.92);overflow:hidden;box-shadow:0 8px 28px rgba(0,0,0,.28)}.lgm-map-activity{display:flex;flex-direction:column;gap:0}.lgm-map-activity .lgm-submissions{border-radius:12px 12px 0 0;margin-bottom:0}.lgm-map-activity__extra{margin-top:0}.lgm-map-activity__toggle{width:100%;display:flex;align-items:center;justify-content:center;gap:.45rem;padding:.55rem .75rem;border:1px solid rgba(51,65,85,.65);border-top:none;border-radius:0 0 12px 12px;background:rgba(15,23,42,.85);color:#94a3b8;font-size:.78rem;font-weight:700;cursor:pointer;transition:color .15s ease,background .15s ease}.lgm-map-activity__toggle:hover{color:#e2e8f0;background:rgba(30,41,59,.9)}.lgm-map-activity__stats{padding:.65rem .75rem .75rem;border:1px solid rgba(51,65,85,.65);border-top:none;border-radius:0 0 12px 12px;background:rgba(2,6,23,.55)}.lgm-map-activity__stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem}.lgm-map-activity__stat{padding:.45rem .5rem;border-radius:10px;border:1px solid rgba(51,65,85,.55);background:rgba(15,23,42,.65);text-align:center}.lgm-map-activity__stat-val{display:block;font-size:1rem;font-weight:800;color:#e2e8f0}.lgm-map-activity__stat-val--ac{color:#4ade80}.lgm-map-activity__stat-val--wa{color:#f87171}.lgm-map-activity__stat-label{display:block;margin-top:.15rem;font-size:.62rem;color:#64748b;line-height:1.2}.lgm-map-activity__hint{margin:.5rem 0 0;font-size:.68rem;color:#64748b}.lgm-submissions--journal .lgm-submissions__title{font-size:.78rem;color:#fcd34d;margin-bottom:.45rem}.lgm-submissions--journal .lgm-submissions__list{max-height:200px;overflow-y:auto}.lgm-submissions--journal .lgm-submissions__item{background:rgba(2,6,23,.5);border-color:rgba(51,65,85,.65)}.edulib-companion-topbar-chip--game .edulib-companion-topbar-chip__progress{font-size:.65rem;color:#94a3b8;margin-left:.15rem}.games-cpp-root .lgm-arena__panel--combat-dock{border-color:rgba(248,113,113,.45);background:linear-gradient(180deg,rgba(30,41,59,.95),rgba(15,23,42,.92))}.lgm-combat-dock-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.65rem;margin-bottom:.65rem}.lgm-combat-dock-head h2{margin:.15rem 0 .35rem;font-size:1.05rem}.lgm-combat-dock-head__monster{margin:0;font-weight:800;color:#f8fafc}.lgm-combat-dock-head__monster small{font-weight:600;color:#94a3b8}.lgm-combat-dock-head__intro{margin:.25rem 0 0;font-size:.88rem;color:#cbd5e1}.lgm-combat-dock-head__tags{display:flex;flex-wrap:wrap;gap:.35rem;align-items:flex-start}.lgm-hsg-chip,.lgm-tier-chip{font-size:.72rem;font-weight:700;padding:.2rem .55rem;border-radius:999px}.lgm-tier-chip{background:rgba(168,85,247,.25);color:#e9d5ff}.lgm-hsg-chip{background:rgba(239,68,68,.2);color:#fecaca}.games-cpp-root .lgm-arena__panel--mission{border-color:rgba(34,211,238,.4)}.games-cpp-root .lgm-arena__panel--code{border-color:rgba(251,191,36,.45)}.games-cpp-root .lgm-arena__panel--rescue{padding:0;background:transparent;border:none}.games-cpp-root .lgm-arena__panel--rescue .lgm-rescue-panel{margin:0}.lgm-arena__actions--code{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:.75rem}.lgm-btn--answer-mode{border:1px solid rgba(129,140,248,.55);background:rgba(30,27,75,.65);color:#e0e7ff}.lgm-btn--answer-mode:hover:not(:disabled){background:rgba(79,70,229,.35)}.lgm-btn--answer-mode.is-locked,.lgm-btn--answer-mode:disabled{opacity:.65;cursor:not-allowed}.lgm-answer-mode-stack{z-index:12050;pointer-events:none}.lgm-answer-mode-stack .lgm-answer-mode-win{pointer-events:auto;z-index:12060;background:linear-gradient(165deg,#0f172a,#1e1b4b);border:1px solid rgba(251,191,36,.45);color:#e2e8f0}.lgm-answer-mode-win__titlebar{background:linear-gradient(180deg,rgba(30,27,75,.95),rgba(15,23,42,.95));border-bottom:1px solid rgba(251,191,36,.35)}.lgm-answer-mode-win__badge{color:#c4b5fd;background:rgba(99,102,241,.25)}.lgm-answer-mode-win__body{padding:.65rem .75rem .75rem;overflow:auto;gap:.5rem}.lgm-answer-mode-win .floating-win__subtitle{color:#94a3b8;white-space:normal;line-height:1.25}.lgm-answer-mode-win.floating-win--minimized .floating-win__subtitle{display:none}.lgm-answer-modal__backdrop{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(2,6,23,.78);backdrop-filter:blur(4px)}.lgm-answer-modal{width:min(720px,100%);max-height:min(88vh,900px);overflow:auto;border-radius:16px;border:1px solid rgba(251,191,36,.45);background:linear-gradient(165deg,#0f172a,#1e1b4b);box-shadow:0 24px 64px rgba(0,0,0,.55);padding:1rem 1.1rem 1.15rem}.lgm-answer-modal__head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.5rem}.lgm-answer-modal__head h2{margin:0;font-size:1.05rem;color:#fef3c7}.lgm-answer-modal__close{border:none;background:rgba(148,163,184,.15);color:#e2e8f0;width:2rem;height:2rem;border-radius:999px;cursor:pointer}.lgm-answer-modal__hint{margin:0 0 .75rem;font-size:.85rem;color:#cbd5e1}.lgm-answer-modal__choices{flex:1;min-height:120px;max-height:none;overflow:auto;padding-right:.25rem}.lgm-answer-modal__eyebrow{margin:0 0 .15rem;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#a5b4fc}.lgm-answer-modal__wallet{display:flex;align-items:center;gap:.45rem;padding:.45rem .65rem;margin-bottom:.75rem;border-radius:10px;background:rgba(2,6,23,.45);border:1px solid rgba(129,140,248,.45);font-size:.88rem;color:#e0e7ff}.lgm-answer-modal__locked{text-align:center;padding:1.25rem .75rem;border-radius:12px;background:rgba(2,6,23,.55);border:1px dashed rgba(148,163,184,.45)}.lgm-answer-modal__locked>i{font-size:2rem;color:#94a3b8;margin-bottom:.65rem}.lgm-answer-modal__locked p{margin:0 0 1rem;color:#cbd5e1;font-size:.9rem;line-height:1.5}.lgm-answer-modal__warn{margin:.65rem 0 0;font-size:.82rem;color:#fca5a5}.lgm-answer-modal__foot{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.55rem}.lgm-rescue-panel__tier--teach{margin-top:.35rem;padding-top:.65rem;border-top:1px dashed rgba(251,191,36,.35)}.lgm-rescue-panel__tier--teach .lgm-teach{margin-top:.5rem}.lgm-mission--locked{padding:.75rem;border-radius:12px;background:rgba(15,23,42,.65);border:1px dashed rgba(148,163,184,.45)}.lgm-mission__lock{margin:0;color:#94a3b8;font-size:.92rem}.lgm-assist-toolbar{display:flex;flex-wrap:wrap;gap:.45rem;margin:.65rem 0}.lgm-assist-buy{display:inline-flex;align-items:center;gap:.35rem;padding:.45rem .65rem;border-radius:10px;border:1px solid rgba(251,191,36,.45);background:rgba(2,6,23,.35);color:#fef3c7;font-size:.78rem;font-weight:700;cursor:pointer}.lgm-assist-buy:hover:not(:disabled){background:rgba(251,191,36,.15)}.lgm-assist-buy.is-poor,.lgm-assist-buy:disabled{opacity:.55;cursor:not-allowed}.lgm-assist-placeholder{margin:.35rem 0 0;font-size:.82rem;color:rgba(236,254,255,.75);font-style:italic}.lgm-assist-placeholder--block{padding:.55rem .65rem;border-radius:8px;background:rgba(2,6,23,.35)}.lgm-mission__wallet{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.5rem .65rem;margin-bottom:.65rem;border-radius:10px;background:rgba(2,6,23,.45);border:1px solid rgba(129,140,248,.45);font-size:.88rem;color:#e0e7ff}.lgm-mission__wallet strong{color:#a5b4fc}.lgm-mission__wallet small{color:#94a3b8;font-size:.75rem}.lgm-mission__wallet-discount{font-size:.72rem;font-weight:700;padding:.15rem .45rem;border-radius:999px;background:rgba(168,85,247,.25);color:#e9d5ff}.lgm-mission__economy-note{margin:.65rem 0 0;font-size:.75rem;color:rgba(236,254,255,.85)}.lgm-replay-panel{padding:1rem 1.1rem;border-radius:14px;border:1px solid rgba(56,189,248,.4);background:linear-gradient(165deg,rgba(15,23,42,.92),rgba(30,27,75,.88));color:#e2e8f0}.lgm-replay-panel__head h2{margin:0 0 .35rem;font-size:1.05rem;color:#7dd3fc}.lgm-replay-panel__head p{margin:0 0 .75rem;font-size:.85rem;color:#94a3b8;line-height:1.45}.lgm-replay-panel__block,.lgm-replay-panel__quick{margin-top:.85rem;padding-top:.75rem;border-top:1px dashed rgba(148,163,184,.35)}.lgm-replay-panel__block h3,.lgm-replay-panel__quick h3{margin:0 0 .5rem;font-size:.88rem;color:#fcd34d}.lgm-replay-panel__actions{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.5rem}.lgm-replay-panel__field{display:flex;flex-direction:column;gap:.25rem;font-size:.82rem;max-width:140px}.lgm-replay-panel__field input{padding:.35rem .5rem;border-radius:8px;border:1px solid rgba(148,163,184,.45);background:rgba(2,6,23,.5);color:#f8fafc}.lgm-replay-panel__chapters,.lgm-replay-panel__gates{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:.35rem;max-height:200px;overflow:auto;padding:.35rem;border-radius:8px;background:rgba(2,6,23,.35)}.lgm-replay-panel__check{display:flex;align-items:flex-start;gap:.4rem;font-size:.78rem;cursor:pointer}.lgm-replay-panel__options{margin-top:.85rem;padding:.65rem;border-radius:10px;background:rgba(2,6,23,.4);display:flex;flex-direction:column;gap:.35rem}.lgm-cmd-bar{position:sticky;top:var(--topbar-offset,64px);z-index:35;margin:0 calc(-1 * var(--games-gutter, 1rem)) .75rem;padding:.45rem var(--games-gutter,1rem);background:linear-gradient(180deg,rgba(2,6,23,.97),rgba(15,23,42,.94));border-bottom:1px solid rgba(56,189,248,.22);box-shadow:0 8px 24px rgba(0,0,0,.35);backdrop-filter:blur(10px)}.lgm-cmd-bar--loading{min-height:3.25rem}.lgm-cmd-bar__inner{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .65rem;max-width:var(--games-content-max,1200px);margin:0 auto}.lgm-cmd-bar__quick{position:relative;flex:0 0 auto}.lgm-cmd-bar__warp{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .75rem;border-radius:999px;border:1px solid rgba(250,204,21,.45);background:linear-gradient(135deg,rgba(234,179,8,.22),rgba(180,83,9,.18));color:#fde68a;font-size:.78rem;font-weight:700;cursor:pointer}.lgm-cmd-bar__menu{position:absolute;top:calc(100% + .35rem);left:0;min-width:min(92vw,320px);max-height:min(70vh,420px);overflow:auto;padding:.65rem;border-radius:12px;border:1px solid rgba(56,189,248,.35);background:rgba(15,23,42,.98);box-shadow:0 16px 40px rgba(0,0,0,.45);z-index:50}.lgm-cmd-bar__menu-title{margin:0 0 .5rem;font-size:.72rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.04em}.lgm-cmd-bar__menu-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.2rem}.lgm-cmd-bar__menu-list button{width:100%;display:flex;align-items:center;gap:.5rem;padding:.45rem .55rem;border:none;border-radius:8px;background:transparent;color:#e2e8f0;font-size:.82rem;text-align:left;cursor:pointer}.lgm-cmd-bar__menu-list button:hover{background:rgba(56,189,248,.12);color:#7dd3fc}.lgm-cmd-bar__gate-jump{display:flex;align-items:flex-end;gap:.45rem;margin-top:.65rem;padding-top:.55rem;border-top:1px dashed rgba(148,163,184,.35)}.lgm-cmd-bar__gate-jump label{flex:1;display:flex;flex-direction:column;gap:.2rem;font-size:.75rem;color:#94a3b8}.lgm-cmd-bar__gate-jump input{padding:.35rem .5rem;border-radius:8px;border:1px solid rgba(148,163,184,.4);background:rgba(2,6,23,.5);color:#f8fafc}.lgm-cmd-bar__zones{display:flex;flex:1 1 auto;flex-wrap:wrap;gap:.35rem;min-width:0}.lgm-cmd-bar__zone{display:inline-flex;flex-direction:column;align-items:center;gap:.15rem;min-width:3.4rem;padding:.25rem .35rem;border:1px solid transparent;border-radius:10px;background:transparent;color:#94a3b8;font-size:.68rem;font-weight:700;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease}.lgm-cmd-bar__zone-glyph{width:2rem;height:2rem;border-radius:9px;display:grid;place-items:center;font-size:.85rem;border:1px solid rgba(255,255,255,.08)}.lgm-cmd-bar__zone--sky .lgm-cmd-bar__zone-glyph{background:linear-gradient(145deg,#0ea5e9,#0369a1);color:#e0f2fe}.lgm-cmd-bar__zone--violet .lgm-cmd-bar__zone-glyph{background:linear-gradient(145deg,#a855f7,#6b21a8);color:#f3e8ff}.lgm-cmd-bar__zone--amber .lgm-cmd-bar__zone-glyph{background:linear-gradient(145deg,#f59e0b,#b45309);color:#fef3c7}.lgm-cmd-bar__zone--emerald .lgm-cmd-bar__zone-glyph{background:linear-gradient(145deg,#22c55e,#15803d);color:#dcfce7}.lgm-cmd-bar__zone--battle .lgm-cmd-bar__zone-glyph{background:linear-gradient(145deg,#ef4444,#991b1b);color:#fee2e2}.lgm-cmd-bar__zone.is-active{color:#e0f2fe;border-color:rgba(56,189,248,.45);background:rgba(56,189,248,.1)}.lgm-cmd-bar__context{margin-left:auto;flex:0 1 auto;min-width:0;text-align:right}.lgm-cmd-bar__breadcrumb,.lgm-cmd-bar__progress{font-size:.75rem;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(40vw,220px)}@media (max-width:720px){.lgm-cmd-bar__zone-label{display:none}.lgm-cmd-bar__zone{min-width:2.5rem}.lgm-cmd-bar__context{display:none}}.lgm-cmd-bar--embedded{position:static;margin:0;padding:0;background:transparent;border:none;box-shadow:none;backdrop-filter:none;flex:1 1 auto;min-width:0}.lgm-cmd-bar--embedded .lgm-cmd-bar__inner{flex-wrap:nowrap;max-width:none;margin:0;gap:.25rem}.lgm-cmd-bar--embedded .lgm-cmd-bar__warp{padding:.28rem .55rem;font-size:.68rem}.lgm-cmd-bar--embedded .lgm-cmd-bar__warp span:not(.sr-only){display:none}.lgm-cmd-bar--embedded .lgm-cmd-bar__zones{flex-wrap:nowrap;gap:.15rem}.lgm-cmd-bar--embedded .lgm-cmd-bar__zone{min-width:2rem;padding:.15rem .2rem}.lgm-cmd-bar--embedded .lgm-cmd-bar__zone-glyph{width:1.65rem;height:1.65rem;font-size:.72rem;border-radius:7px}.lgm-cmd-bar--embedded .lgm-cmd-bar__context,.lgm-cmd-bar--embedded .lgm-cmd-bar__zone-label{display:none}@media (min-width:1100px){.lgm-cmd-bar--embedded .lgm-cmd-bar__warp span{display:inline}.lgm-cmd-bar--embedded .lgm-cmd-bar__zone-label{display:block;font-size:.58rem}}