/* Learn by Playing V12.14 — Unified Visual Interface */
:root{
 --v14-bg:#021a31;--v14-bg2:#032744;--v14-surface:#062846;--v14-surface2:#0a3458;--v14-card:#072844;
 --v14-line:#0b7ec4;--v14-line-soft:#15547d;--v14-blue:#0868ff;--v14-cyan:#11d6f1;--v14-green:#04d597;
 --v14-text:#f7fbff;--v14-muted:#b8cce0;--v14-danger:#ff5365;--v14-warning:#ffcb29;--v14-shadow:0 18px 55px rgba(0,0,0,.34);
}
html,body{max-width:100%;overflow-x:clip!important}
body.lbp-v1214{background:linear-gradient(145deg,#02172a,#032d4e)!important;color:var(--v14-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
body.lbp-v1214 *{box-sizing:border-box}
body.lbp-v1214 :where(button,a,input,select,textarea,summary){font:inherit}
body.lbp-v1214 :where(button,a,[role="button"]):focus-visible{outline:3px solid #42e9ff!important;outline-offset:3px}
body.lbp-v1214 .hidden,body.lbp-v1214 [hidden]{display:none!important}
body.lbp-v1214 :where(.screen,.wrap,.card,.panel-card,.teacher-pane,.teacher-content,.teacher-main,.teacher-app-shell){min-width:0;max-width:100%}

/* ---------- Global chrome ---------- */
body.lbp-v1214 .lbp-beta-bar{height:36px!important;background:linear-gradient(90deg,#05284b,#1354d5)!important;border-bottom:1px solid #1177be!important;color:#fff!important;padding:0 12px!important;z-index:99990!important}
body.lbp-v1214 .lbp-beta-bar .beta-label{font-weight:900!important;letter-spacing:.01em}
body.lbp-v1214 .lbp-beta-controls{gap:5px!important}
body.lbp-v1214 .lbp-mini-toggle{background:rgba(255,255,255,.12)!important;color:#fff!important;border:1px solid rgba(255,255,255,.2)!important}
body.lbp-v1214 .lbp-global-footer{background:#031426!important;border-top:1px solid #164b70!important;color:#b9cfe2!important;z-index:99980!important}
body.lbp-v1214 .lbp-global-footer a{color:#5fe2f3!important}

/* ---------- Entry ---------- */
body.lbp-v1214 #screen-role{background:radial-gradient(circle at 50% 0,rgba(11,101,255,.26),transparent 33%),linear-gradient(145deg,#02182c,#03263f)!important;min-height:calc(100dvh - 68px)!important;padding:34px 22px 70px!important}
body.lbp-v1214 #screen-role>.wrap{max-width:1240px!important;margin:0 auto!important}
body.lbp-v1214 #screen-role .hero{border:1px solid #1686c9!important;border-radius:24px!important;overflow:hidden!important;background:#f8fbff!important;box-shadow:var(--v14-shadow)!important;padding:0!important}
body.lbp-v1214 #screen-role .lbp-entry-grid{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(460px,.92fr)!important;min-height:610px!important}
body.lbp-v1214 #screen-role .lbp-entry-copy{position:relative!important;overflow:hidden!important;background:radial-gradient(circle at 86% 25%,rgba(25,217,239,.22),transparent 28%),radial-gradient(circle at 7% 84%,rgba(13,104,255,.25),transparent 30%),linear-gradient(145deg,#042b56,#075a7a 56%,#087e8c)!important;color:#fff!important;padding:48px 48px 40px!important}
body.lbp-v1214 #screen-role .lbp-entry-copy::before{content:"";position:absolute;inset:-30% -25% auto auto;width:420px;height:420px;border:1px solid rgba(28,216,241,.22);border-radius:50%;box-shadow:0 0 80px rgba(17,214,241,.08)}
body.lbp-v1214 #screen-role .entry-copy-inner{position:relative;z-index:2;max-width:420px}
body.lbp-v1214 #screen-role .entry-copy-inner .eyebrow{background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.26)!important;color:#fff!important}
body.lbp-v1214 #screen-role .entry-copy-inner h1{font-size:clamp(42px,4.2vw,66px)!important;line-height:.98!important;color:#fff!important;margin:28px 0 18px!important;letter-spacing:-.045em!important}
body.lbp-v1214 #screen-role .entry-copy-inner h1 span{color:var(--v14-cyan)!important}
body.lbp-v1214 #screen-role .entry-lead{font-size:18px!important;line-height:1.55!important;color:#d9eff7!important;max-width:390px!important}
body.lbp-v1214 #screen-role .lbp-feature-list{margin-top:26px!important;display:grid!important;gap:12px!important;max-width:390px!important}
body.lbp-v1214 #screen-role .lbp-feature{background:rgba(2,31,57,.25)!important;border:1px solid rgba(150,226,241,.23)!important;color:#fff!important;border-radius:14px!important;padding:12px!important}
body.lbp-v1214 #screen-role .lbp-feature span{color:#d6eef6!important}
body.lbp-v1214 #screen-role .entry-trust{color:#bceaf1!important;margin-top:18px!important}
body.lbp-v1214 #screen-role .v12132-role-lia{position:absolute!important;z-index:3!important;right:4%!important;bottom:0!important;width:min(40%,330px)!important;height:78%!important;display:flex!important;align-items:flex-end!important;pointer-events:none!important;overflow:visible!important}
body.lbp-v1214 #screen-role .v12132-role-lia img{width:100%!important;height:auto!important;max-height:100%!important;object-fit:contain!important;object-position:center bottom!important;filter:drop-shadow(0 18px 26px rgba(0,0,0,.28))}
body.lbp-v1214 #screen-role .v12132-lia-bubble{position:absolute!important;right:-4px!important;top:10%!important;width:170px!important;background:#fff!important;color:#07365b!important;border-radius:18px!important;padding:14px!important;font-size:12px!important;line-height:1.38!important;box-shadow:0 12px 28px rgba(0,0,0,.22)!important}
body.lbp-v1214 #screen-role .v12132-lia-bubble strong{display:block;color:#075cff!important;font-size:14px;margin-bottom:4px}
body.lbp-v1214 #screen-role .lbp-entry-actions{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important;padding:50px 48px!important;background:#f8fbff!important;color:#10243c!important}
body.lbp-v1214 #screen-role .entry-app-brand{align-self:center!important;color:#0b1f35!important}
body.lbp-v1214 #screen-role .lbp-entry-actions h2{font-size:32px!important;line-height:1.08!important;color:#10243c!important;text-align:center!important;margin:18px 0 8px!important}
body.lbp-v1214 #screen-role .lbp-entry-actions>p{color:#60738a!important;text-align:center!important;margin:0 0 24px!important}
body.lbp-v1214 #screen-role .entry-role-card{background:#fff!important;color:#0d2138!important;border:1px solid #b7cce2!important;border-radius:16px!important;padding:16px!important;margin:6px 0!important;box-shadow:0 8px 20px rgba(35,77,118,.08)!important;transition:.18s ease!important}
body.lbp-v1214 #screen-role .entry-role-card:hover{transform:translateY(-2px);border-color:#0f74ff!important;box-shadow:0 12px 28px rgba(0,91,255,.14)!important}
body.lbp-v1214 #screen-role .entry-role-card b{font-size:16px!important;color:#0b2139!important}.lbp-v1214 #screen-role .entry-role-card small{color:#708399!important}

/* ---------- Auth screens ---------- */
body.lbp-v1214 .auth-screen{background:radial-gradient(circle at 50% -15%,rgba(12,107,255,.28),transparent 38%),linear-gradient(145deg,#02182b,#032845)!important;padding:42px 18px 72px!important;min-height:calc(100dvh - 68px)!important}
body.lbp-v1214 .auth-shell{width:min(1210px,calc(100vw - 36px))!important;min-height:650px!important;grid-template-columns:minmax(0,1fr) minmax(470px,.95fr)!important;border:1px solid #1581c5!important;border-radius:24px!important;overflow:hidden!important;box-shadow:var(--v14-shadow)!important}
body.lbp-v1214 .teacher-auth-side{position:relative!important;background:radial-gradient(circle at 70% 25%,rgba(17,214,241,.22),transparent 30%),linear-gradient(145deg,#042954,#07566d)!important;padding:42px!important;overflow:hidden!important}
body.lbp-v1214 .teacher-auth-side::after{content:""!important;position:absolute!important;right:1%!important;bottom:0!important;width:53%!important;height:76%!important;background:url('../assets/branding/lia-login-v12131.webp') center bottom/contain no-repeat!important;filter:drop-shadow(0 18px 26px rgba(0,0,0,.28))!important}
body.lbp-v1214 .teacher-auth-side .auth-side-copy,body.lbp-v1214 .teacher-auth-side .auth-mini-features{position:relative;z-index:2;max-width:46%!important}
body.lbp-v1214 .teacher-auth-side .auth-side-copy h1{font-size:48px!important;line-height:1!important;color:#fff!important}.lbp-v1214 .teacher-auth-side .auth-side-copy h1::first-line{color:#fff}
body.lbp-v1214 .teacher-auth-side .auth-side-copy p{color:#d5edf7!important;font-size:17px!important}
body.lbp-v1214 .teacher-auth-side .auth-mini-features{color:#f1fbff!important;gap:14px!important}
body.lbp-v1214 .auth-main{background:#fbfdff!important;color:#132942!important;padding:44px!important}
body.lbp-v1214 .auth-heading h2{font-size:36px!important;line-height:1.1!important;color:#132942!important;margin:12px 0 6px!important}.lbp-v1214 .auth-heading p{color:#647b96!important;font-size:16px!important}
body.lbp-v1214 .auth-role-pill{background:#e8f1ff!important;color:#075cff!important;border:1px solid #d1e0f4!important}
body.lbp-v1214 .google-auth-btn{background:#fff!important;color:#0c1d33!important;border:1px solid #bfd0e1!important;box-shadow:0 6px 18px rgba(25,68,110,.08)!important}
body.lbp-v1214 .auth-main .input{background:#fff!important;color:#142b43!important;border:1px solid #b7cade!important}.lbp-v1214 .auth-main .input::placeholder{color:#7e91a8!important}.lbp-v1214 .auth-main label{color:#5b7190!important}
body.lbp-v1214 .auth-main .btn.primary{background:linear-gradient(135deg,#08a7d3,#18d8e9)!important;color:#041727!important;border:0!important}.lbp-v1214 .auth-main .btn.green{background:linear-gradient(135deg,#08b96d,#33df85)!important;color:#041b12!important;border:0!important}

/* ---------- Teacher shell ---------- */
body.lbp-v1214 #screen-teacher{background:linear-gradient(145deg,#02172a,#03263f)!important;color:#fff!important;overflow-x:clip!important}
body.lbp-v1214 #screen-teacher .teacher-app-shell{display:grid!important;grid-template-columns:232px minmax(0,1fr)!important;min-height:calc(100dvh - 68px)!important;background:transparent!important}
body.lbp-v1214 #screen-teacher .teacher-sidebar{position:sticky!important;top:36px!important;height:calc(100dvh - 68px)!important;background:linear-gradient(180deg,#031a31,#042b4b)!important;border-right:1px solid #0d669f!important;padding:18px 12px!important;overflow-y:auto!important;overflow-x:hidden!important}
body.lbp-v1214 #screen-teacher .teacher-brand{padding:5px 10px 20px!important;border-bottom:1px solid #144e73!important}.lbp-v1214 #screen-teacher .teacher-brand strong{color:#fff!important}.lbp-v1214 #screen-teacher .teacher-brand small{color:#9ebbd3!important}
body.lbp-v1214 #screen-teacher .v129-sidebar-location{display:none!important}
body.lbp-v1214 #screen-teacher .teacher-nav{display:grid!important;gap:4px!important;padding-top:14px!important}
body.lbp-v1214 #screen-teacher .teacher-nav-label{display:none!important}
body.lbp-v1214 #screen-teacher .teacher-nav .tab{display:flex!important;align-items:center!important;gap:12px!important;min-height:45px!important;padding:10px 12px!important;border-radius:10px!important;background:transparent!important;color:#dceaf7!important;border:0!important;font-size:14px!important;text-align:left!important}
body.lbp-v1214 #screen-teacher .teacher-nav .tab i{font-size:18px!important;color:#dceaf7!important}
body.lbp-v1214 #screen-teacher .teacher-nav .tab:hover{background:#07385e!important;color:#fff!important}.lbp-v1214 #screen-teacher .teacher-nav .tab.active{background:linear-gradient(135deg,#0d66ff,#175bf0)!important;color:#fff!important;box-shadow:0 7px 22px rgba(9,91,255,.28)!important}.lbp-v1214 #screen-teacher .teacher-nav .tab.active i{color:#fff!important}
body.lbp-v1214 #screen-teacher .teacher-sidebar-footer{background:linear-gradient(160deg,#063153,#075889)!important;border:1px solid #0b78b6!important;color:#cfe5f3!important}
body.lbp-v1214 #screen-teacher .teacher-main{background:linear-gradient(145deg,#02182c,#032744)!important;color:#fff!important;min-width:0!important}
body.lbp-v1214 #screen-teacher .teacher-topbar{position:sticky!important;top:36px!important;z-index:120!important;min-height:70px!important;background:rgba(2,24,44,.94)!important;border-bottom:1px solid #135a88!important;backdrop-filter:blur(16px)!important;padding:11px 20px!important}
body.lbp-v1214 #screen-teacher .page-title{font-size:23px!important;color:#fff!important;font-weight:900!important}.lbp-v1214 #screen-teacher .page-sub{color:#9db9d0!important}.lbp-v1214 #screen-teacher .plan-chip{background:#073b52!important;border-color:#0b738e!important;color:#76efff!important}
body.lbp-v1214 #screen-teacher .teacher-content{padding:18px 20px 36px!important;max-width:1500px!important;margin:0 auto!important;width:100%!important}
body.lbp-v1214 #screen-teacher .teacher-pane{color:#fff!important}
body.lbp-v1214 #screen-teacher :where(.panel-card,.card,.dash-metric,.course-purpose-card,.review-workspace-v10,.generator-context-v1059,.v127-integrations,.v127-class-detail,.v127-class-sidebar,.v127-subpanel,.module-editor,.module-config){background:linear-gradient(150deg,#072942,#08263e)!important;color:#fff!important;border:1px solid #185c86!important;box-shadow:none!important}
body.lbp-v1214 #screen-teacher :where(h1,h2,h3,h4,strong,b,label){color:#fff!important;-webkit-text-fill-color:#fff!important}.lbp-v1214 #screen-teacher :where(p,small,.muted,.tiny){color:#b9ccdc!important;opacity:1!important}.lbp-v1214 #screen-teacher :where(.input,textarea,select){background:#031b2d!important;color:#f8fbff!important;border:1px solid #356682!important}.lbp-v1214 #screen-teacher :where(.input,textarea,select)::placeholder{color:#8fa9bd!important;opacity:1!important}
body.lbp-v1214 #screen-teacher .studio-kicker{color:#36d9f4!important}.lbp-v1214 #screen-teacher .btn.outline{background:#08253d!important;color:#eaf5ff!important;border-color:#366887!important}.lbp-v1214 #screen-teacher .btn.primary{background:linear-gradient(135deg,#0d65ff,#0958e7)!important;color:#fff!important;border:0!important}.lbp-v1214 #screen-teacher .btn.green{background:linear-gradient(135deg,#038d68,#05be82)!important;color:#fff!important;border:0!important}

/* dashboard */
body.lbp-v1214 #teacher-dashboard .dashboard-welcome{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;padding:4px 4px 10px!important}.lbp-v1214 #teacher-dashboard .dashboard-welcome .studio-kicker{display:none!important}.lbp-v1214 #teacher-dashboard .dashboard-welcome h1{font-size:36px!important;margin:0!important}.lbp-v1214 #teacher-dashboard .dashboard-welcome p{font-size:16px!important}
body.lbp-v1214 #teacher-dashboard .dashboard-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin:10px 0 14px!important}
body.lbp-v1214 #teacher-dashboard .dash-metric{min-height:118px!important;border-radius:14px!important;padding:16px!important;background:linear-gradient(150deg,#062b49,#07233c)!important;border:1px solid #146498!important}.lbp-v1214 #teacher-dashboard .dash-metric strong{font-size:30px!important}.lbp-v1214 #teacher-dashboard .dash-metric-icon{background:#0e4c82!important;color:#66e6f7!important}
.v1214-dashboard-showcase{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:14px;margin:8px 0 16px}
.v1214-lia-dashboard{position:relative;min-height:315px;overflow:hidden;border-radius:16px;border:1px solid #0c75bd;background:radial-gradient(circle at 75% 45%,rgba(0,203,255,.22),transparent 36%),linear-gradient(135deg,#0b3d98,#074e9f 45%,#0864c6);padding:24px 42% 24px 24px;color:#fff}
.v1214-lia-dashboard::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 10% 100%,rgba(15,218,239,.17),transparent 34%);pointer-events:none}
.v1214-lia-dashboard>img{position:absolute;right:1%;bottom:0;width:44%;height:94%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 18px 24px rgba(0,0,0,.28))}
.v1214-lia-copy{position:relative;z-index:2}.v1214-pill{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:10px;background:#0a58ee;color:#fff;font-size:11px;font-weight:900;text-transform:uppercase}.v1214-lia-dashboard h2{font-size:40px!important;margin:16px 0 9px!important}.v1214-lia-dashboard p{font-size:17px!important;line-height:1.5!important;color:#e7f6ff!important;max-width:560px}.v1214-lia-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.v1214-lia-bubble{position:absolute;z-index:3;right:7%;top:14%;width:155px;padding:13px;border-radius:16px;background:#fff;color:#0754d6;font-weight:900;line-height:1.3;box-shadow:0 12px 24px rgba(0,0,0,.22)}
.v1214-quick-panel{border:1px solid #155d8d;border-radius:16px;background:#062640;padding:12px}.v1214-quick-panel h3{margin:3px 5px 10px;color:#fff}.v1214-quick-panel button{width:100%;border:1px solid #1b608f;background:#082d4c;color:#fff;border-radius:12px;padding:11px;display:grid;grid-template-columns:34px 1fr 16px;align-items:center;gap:8px;text-align:left;margin:7px 0;cursor:pointer}.v1214-quick-panel button:hover{border-color:#19cbe6;background:#0a3a61}.v1214-quick-panel button>i:first-child{font-size:21px;color:#73e7f5}.v1214-quick-panel b{display:block}.v1214-quick-panel small{display:block;color:#9eb9cf!important;font-size:10px;margin-top:2px}
body.lbp-v1214 #teacher-dashboard>.dashboard-grid,body.lbp-v1214 #teacher-dashboard>.v57-insights{margin-top:12px!important}

/* library */
.v1214-library-shell{border:1px solid #146da6;border-radius:18px;background:linear-gradient(145deg,#062846,#041d35);padding:18px;min-height:650px}
.v1214-library-head{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:14px;margin-bottom:18px}.v1214-title-icon{width:52px;height:52px;border-radius:14px;background:#0a63f7;display:grid;place-items:center;color:#fff;font-size:24px}.v1214-library-head h1{font-size:38px!important;margin:0!important}.v1214-library-head p{font-size:18px!important;margin:3px 0 0!important}
.v1214-library-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.v1214-game-card{position:relative;display:grid;grid-template-rows:auto 1fr;width:100%;padding:0;border:1px solid #0e7bb9;border-radius:13px;overflow:hidden;background:linear-gradient(180deg,#07375b,#05253f);cursor:pointer;min-height:285px;transition:.18s ease;text-align:left;color:#fff}.v1214-game-card img{width:100%;aspect-ratio:1.32/1;object-fit:cover;display:block;border-bottom:1px solid #0e7bb9}.v1214-game-card-copy{position:relative;display:block;padding:13px 13px 38px}.v1214-game-card-copy b{display:block;font-size:17px;line-height:1.1;color:#fff}.v1214-game-card-copy small{display:block;color:#c9dceb!important;font-size:12px;line-height:1.35;margin-top:7px}.v1214-game-card-copy i{position:absolute;right:10px;bottom:10px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#0a56b7;border:1px solid #1ba9e2;color:#fff}.v1214-game-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,118,255,.22);border-color:#29ddf4}.v1214-game-card.selected{border:2px solid #34e7f7;box-shadow:0 0 0 3px rgba(52,231,247,.18),0 10px 28px rgba(0,0,0,.25)}

/* validation */
body.lbp-v1214 #teacher-generator>.grid.g2{grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr)!important;gap:14px!important}
body.lbp-v1214 .review-workspace-v10{padding:0!important;border:0!important;background:transparent!important}.v1214-review-shell{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:14px}.v1214-review-main{min-width:0}.v1214-quality-panel{border:1px solid #17618e;border-radius:16px;background:#062641;padding:16px;color:#fff}.v1214-quality-panel h3{margin:0 0 14px}.v1214-quality-ring{--pct:0%;width:170px;aspect-ratio:1;margin:0 auto 16px;border-radius:50%;display:grid;place-content:center;text-align:center;background:radial-gradient(circle at center,#062641 57%,transparent 58%),conic-gradient(#06e0ad var(--pct),#ffca28 0 86%,#ff5966 0)}.v1214-quality-ring strong{font-size:35px!important}.v1214-quality-ring span{color:#31e6c0!important;font-weight:900}.v1214-quality-legend{display:grid;gap:9px}.v1214-quality-legend span{display:flex;align-items:center;gap:8px;color:#d6e6f2}.v1214-quality-legend i{width:11px;height:11px;border-radius:50%;display:inline-block}.v1214-quality-legend .good{background:#06e0ad}.v1214-quality-legend .warn{background:#ffca28}.v1214-quality-legend .bad{background:#ff5966}.v1214-ai-note{margin-top:18px;padding:13px;border-radius:12px;background:#082d4c;display:flex;gap:10px}.v1214-ai-note>i{font-size:22px;color:#38e4f5}.v1214-ai-note p{font-size:12px!important;line-height:1.45!important;margin:4px 0 0!important}
body.lbp-v1214 .review-hero-v10{background:linear-gradient(145deg,#062d4c,#07375c)!important;border:1px solid #16628f!important;border-radius:15px!important;padding:18px!important}.lbp-v1214 .review-hero-v10 h2{font-size:28px!important}.lbp-v1214 .review-toolbar-v10{background:#06243e!important;border:1px solid #165b85!important;border-radius:14px!important;padding:10px!important}.lbp-v1214 .review-guidance-v10{background:#06243e!important;color:#c9ddeb!important;border-radius:10px!important}
body.lbp-v1214 .question-review-card{display:grid!important;grid-template-columns:64px minmax(0,1fr) 120px!important;gap:12px!important;background:#052541!important;border:1px solid #155a87!important;border-radius:11px!important;padding:10px!important;margin:8px 0!important}.lbp-v1214 .question-review-main h3{font-size:15px!important;line-height:1.35!important;margin:8px 0!important}.lbp-v1214 .question-answer-box{background:#073352!important;border-color:#17658e!important}.lbp-v1214 .question-review-actions{align-self:center!important}.lbp-v1214 .question-editor{background:#041d33!important;border-color:#155a87!important}

/* preview playable */
body.lbp-v1214 .v129-game-preview-modal{background:rgba(1,13,26,.88)!important;padding:18px!important;backdrop-filter:blur(8px)!important}.lbp-v1214 .v129-game-preview-shell{position:relative!important;width:min(1440px,96vw)!important;max-height:92dvh!important;background:linear-gradient(145deg,#042746,#06395f)!important;border:1px solid #18a9d3!important;border-radius:20px!important;color:#fff!important;overflow:auto!important}.lbp-v1214 .v129-game-preview-head{background:#062542!important;border-bottom:1px solid #1479ac!important;padding:16px 20px!important}.lbp-v1214 .v129-game-preview-head h2{color:#fff!important}.lbp-v1214 .v129-preview-body{display:grid!important;grid-template-columns:minmax(0,1fr) 300px!important;gap:12px!important;padding:14px!important;min-height:570px!important;background:radial-gradient(circle at 18% 40%,rgba(21,226,243,.15),transparent 24%),linear-gradient(145deg,#0b4b69,#07305a)!important}.lbp-v1214 .v129-preview-main{position:relative!important;border:1px solid #168eb9!important;border-radius:16px!important;background:rgba(3,27,52,.86)!important;padding:24px!important}.lbp-v1214 .v129-preview-main::before{content:"";position:absolute;left:12px;bottom:12px;width:190px;height:220px;background:url('../assets/branding/lia-preview-v12131.webp') center bottom/contain no-repeat;opacity:.96;pointer-events:none}.lbp-v1214 .v129-preview-question{margin-left:200px!important}.lbp-v1214 .v129-preview-question h3{font-size:26px!important;color:#fff!important}.lbp-v1214 .v129-preview-option{background:#073452!important;color:#eef8ff!important;border:1px solid #1681ad!important;border-radius:11px!important;padding:14px!important}.lbp-v1214 .v129-preview-option.correct{background:#058d66!important;border-color:#20efb3!important}.lbp-v1214 .v129-preview-option.wrong{background:#7d2433!important;border-color:#ff6877!important}.lbp-v1214 .v129-preview-side{position:sticky!important;top:0!important;background:#052541!important;border:1px solid #16638f!important;border-radius:16px!important;padding:16px!important}.lbp-v1214 .v129-preview-hud .hero{font-size:56px!important}.lbp-v1214 .v129-preview-progress{height:10px!important;background:#123c5c!important}.lbp-v1214 .v129-preview-progress span{background:linear-gradient(90deg,#1eecd8,#2b91ff)!important}

/* wizard */
body.lbp-v1214 .v11-dialog-backdrop{background:rgba(1,12,26,.87)!important;backdrop-filter:blur(8px)!important}.lbp-v1214 .v11-dialog.v1214-wizard{position:relative!important;width:min(920px,94vw)!important;max-height:90dvh!important;background:linear-gradient(145deg,#04284b,#062a57 60%,#25146b)!important;color:#fff!important;border:1px solid #2e75f4!important;border-radius:22px!important;overflow:auto!important;box-shadow:0 20px 70px rgba(0,0,0,.5)!important}.lbp-v1214 .v11-dialog-head{background:transparent!important;border-bottom:1px solid rgba(81,155,255,.28)!important}.lbp-v1214 .v11-dialog-head h2{color:#fff!important}.lbp-v1214 .v11-dialog-head small{color:#71e9fa!important}.lbp-v1214 .v11-stepper{padding:12px 22px!important;gap:8px!important}.lbp-v1214 .v11-step{height:8px!important;border-radius:999px!important;background:#15416f!important}.lbp-v1214 .v11-step.active{background:linear-gradient(90deg,#1ce4e5,#2c5cff)!important;box-shadow:0 0 16px rgba(37,184,255,.55)!important}.lbp-v1214 .v11-dialog-body{padding:20px 270px 24px 24px!important;min-height:530px!important}.lbp-v1214 .v11-dialog-body h3{font-size:28px!important;color:#fff!important}.lbp-v1214 .v11-dialog-body>p{color:#bcd4e8!important}.lbp-v1214 .v11-field label{color:#c8dced!important}.lbp-v1214 .v11-field :where(input,textarea,select){background:#05203a!important;color:#fff!important;border:1px solid #4479a3!important}.lbp-v1214 .v11-btn.primary{background:#0f66ff!important;color:#fff!important}.lbp-v1214 .v11-btn.secondary{background:#092b4b!important;color:#fff!important;border-color:#3a6c93!important}.v1214-wizard-lia{position:absolute;right:20px;bottom:24px;width:220px;padding:14px;border-radius:16px;background:linear-gradient(145deg,#172a78,#351b92);border:1px solid #6b58f8;color:#fff}.v1214-wizard-lia img{display:block;width:150px;height:150px;object-fit:cover;object-position:center 18%;border-radius:18px;margin:-55px auto 8px}.v1214-wizard-lia b{font-size:18px}.v1214-wizard-lia p{color:#d7d8ff!important;font-size:12px!important;line-height:1.45!important}

/* student home and game */
body.lbp-v1214 #screen-student-home{position:relative;display:grid!important;grid-template-columns:210px minmax(0,1fr)!important;min-height:calc(100dvh - 68px)!important;background:linear-gradient(145deg,#02182d,#063b61)!important;color:#fff!important}.lbp-v1214 #screen-student-home>.wrap{width:100%!important;max-width:1300px!important;padding:20px!important}.v1214-student-sidebar{background:linear-gradient(180deg,#041a31,#052c4d);border-right:1px solid #126393;padding:16px 12px;display:flex;flex-direction:column;gap:7px}.v1214-student-sidebar .brand{display:grid;grid-template-columns:42px 1fr;gap:9px;align-items:center;padding:8px;margin-bottom:10px}.v1214-student-sidebar .brand img{width:42px}.v1214-student-sidebar .brand small{grid-column:2;color:#92b3cc}.v1214-student-sidebar button{border:0;background:transparent;color:#dcebf6;border-radius:10px;padding:11px;text-align:left;display:flex;align-items:center;gap:10px;cursor:pointer}.v1214-student-sidebar button.active,.v1214-student-sidebar button:hover{background:#0c66f6;color:#fff}.v1214-student-sidebar .leo{margin-top:auto;padding:10px;border-radius:14px;background:#062b4b;border:1px solid #176a98;text-align:center}.v1214-student-sidebar .leo img{width:100px;height:100px;object-fit:cover;border-radius:50%}.v1214-student-sidebar .leo b,.v1214-student-sidebar .leo small{display:block}.v1214-student-sidebar .leo small{color:#9fc0d7}
body.lbp-v1214 #screen-student-home .hero{min-height:260px!important;background:radial-gradient(circle at 70% 50%,rgba(24,219,238,.17),transparent 26%),linear-gradient(135deg,#07467b,#06345d)!important;border:1px solid #1378aa!important;border-radius:18px!important;position:relative!important;overflow:hidden!important;padding:30px 38% 30px 28px!important}.lbp-v1214 #screen-student-home .hero::after{content:"";position:absolute;right:3%;bottom:0;width:34%;height:94%;background:url('../assets/branding/student-v1212.webp') center bottom/contain no-repeat!important}.lbp-v1214 #screen-student-home .hero h1{color:#fff!important}.lbp-v1214 #screen-student-home .hero p{color:#dcecf7!important}.lbp-v1214 #screen-student-home .stat{background:#062b49!important;border-color:#17628e!important;color:#fff!important}
body.lbp-v1214 #screen-game{display:grid!important;grid-template-columns:210px minmax(0,1fr)!important;min-height:calc(100dvh - 68px)!important;background:radial-gradient(circle at 70% 20%,rgba(19,215,240,.14),transparent 24%),linear-gradient(145deg,#033255,#075f7b)!important;color:#fff!important}.lbp-v1214 #screen-game>.wrap{width:100%!important;max-width:1320px!important;padding:18px!important}.v1214-game-sidebar{background:linear-gradient(180deg,#03182d,#042947);border-right:1px solid #11608f;padding:16px 12px;display:flex;flex-direction:column;gap:8px}.v1214-game-sidebar .brand{display:flex;gap:8px;align-items:center;padding:7px}.v1214-game-sidebar .brand img{width:38px}.v1214-game-sidebar button{border:0;background:transparent;color:#ddecf6;border-radius:10px;padding:11px;text-align:left;display:flex;gap:9px;align-items:center}.v1214-game-sidebar button:first-of-type{background:#0b66f6;color:#fff}.v1214-game-sidebar .leo{margin-top:auto;padding:10px;border-radius:14px;background:#062d4d;border:1px solid #1672a6;text-align:center}.v1214-game-sidebar .leo img{width:105px;height:105px;object-fit:cover;border-radius:50%}.v1214-game-sidebar .leo b,.v1214-game-sidebar .leo small{display:block}.v1214-game-sidebar .leo small{color:#a5c5d9}
body.lbp-v1214 #screen-game>.wrap>.card:first-child{background:linear-gradient(135deg,#064879,#07375f)!important;border:1px solid #1687b5!important;color:#fff!important}.lbp-v1214 #screen-game .question{background:#f9fbff!important;color:#10243c!important;border:1px solid #c9d8e8!important;border-radius:18px!important;box-shadow:0 14px 30px rgba(0,0,0,.18)!important}.lbp-v1214 #screen-game .question :where(h1,h2,h3,p,b,strong,label){color:#10243c!important}.lbp-v1214 #screen-game .option{background:#f5f9ff!important;color:#17304d!important;border:1px solid #bdd0e4!important;border-radius:12px!important}.lbp-v1214 #screen-game .option:hover{border-color:#1474ff!important;background:#eef5ff!important}.lbp-v1214 #screen-game .option.correct{background:#bff6d5!important;color:#063c24!important;border-color:#0bcf78!important}.lbp-v1214 #screen-game .option.wrong{background:#ffd7dc!important;color:#5b1722!important;border-color:#ff5d6d!important}

/* Admin */
body.lbp-v1214 .admin-shell{background:linear-gradient(145deg,#02172a,#032744)!important;color:#fff!important}.lbp-v1214 .admin-app .side{background:#031a31!important;border-right-color:#126393!important}.lbp-v1214 .admin-app .main{background:transparent!important}.lbp-v1214 .admin-app .metric,.lbp-v1214 .admin-app .panel{background:#062743!important;border-color:#175e8a!important;color:#fff!important}.lbp-v1214 .admin-app :where(h1,h2,h3,b,strong){color:#fff!important}.lbp-v1214 .admin-app :where(p,small,.muted){color:#b7cede!important}

/* Mobile */
.v1214-mobile-nav{display:none}
@media(max-width:1100px){
 .v1214-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.v1214-review-shell{grid-template-columns:1fr}.v1214-quality-panel{display:grid;grid-template-columns:1fr 180px;align-items:center}.v1214-quality-panel h3{grid-column:1/-1}.v1214-quality-ring{grid-row:2/5;grid-column:2}.v1214-ai-note{grid-column:1/-1}
 body.lbp-v1214 #teacher-dashboard .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.v1214-dashboard-showcase{grid-template-columns:1fr}.v1214-quick-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.v1214-quick-panel h3{grid-column:1/-1}.v1214-quick-panel button{margin:0}
}
@media(max-width:760px){
 html,body{width:100%;overflow-x:clip!important}.lbp-v1214 .lbp-beta-bar .beta-label span:last-child{display:none}.lbp-v1214 .lbp-beta-controls .toggle-state{display:none}
 body.lbp-v1214 #screen-role{padding:8px 8px 58px!important;min-height:calc(100dvh - 68px)!important}.lbp-v1214 #screen-role>.wrap{width:100%!important}.lbp-v1214 #screen-role .hero{border-radius:18px!important}.lbp-v1214 #screen-role .lbp-entry-grid{grid-template-columns:1fr!important;min-height:0!important}.lbp-v1214 #screen-role .lbp-entry-copy{min-height:330px!important;padding:20px 18px!important}.lbp-v1214 #screen-role .entry-copy-inner{max-width:58%!important}.lbp-v1214 #screen-role .entry-copy-inner h1{font-size:31px!important;margin:13px 0 10px!important}.lbp-v1214 #screen-role .entry-lead{font-size:13px!important}.lbp-v1214 #screen-role .lbp-feature-list,.lbp-v1214 #screen-role .entry-trust{display:none!important}.lbp-v1214 #screen-role .v12132-role-lia{right:0!important;width:48%!important;height:84%!important}.lbp-v1214 #screen-role .v12132-lia-bubble{right:4px!important;top:16%!important;width:112px!important;padding:8px!important;font-size:8px!important}.lbp-v1214 #screen-role .v12132-lia-bubble strong{font-size:10px!important}.lbp-v1214 #screen-role .lbp-entry-actions{padding:22px 16px 26px!important}.lbp-v1214 #screen-role .entry-app-brand{display:none!important}.lbp-v1214 #screen-role .lbp-entry-actions h2{font-size:25px!important;margin-top:0!important}.lbp-v1214 #screen-role .entry-role-card{padding:13px!important}
 body.lbp-v1214 .auth-screen{padding:7px 7px 60px!important}.lbp-v1214 .auth-shell{width:100%!important;min-height:0!important;grid-template-columns:1fr!important;border-radius:18px!important}.lbp-v1214 .teacher-auth-side{min-height:310px!important;padding:20px!important}.lbp-v1214 .teacher-auth-side::after{width:47%!important;height:86%!important}.lbp-v1214 .teacher-auth-side .auth-side-copy{max-width:58%!important}.lbp-v1214 .teacher-auth-side .auth-side-copy h1{font-size:30px!important}.lbp-v1214 .teacher-auth-side .auth-side-copy p{font-size:13px!important}.lbp-v1214 .teacher-auth-side .auth-mini-features{display:none!important}.lbp-v1214 .auth-main{padding:22px 16px!important}.lbp-v1214 .auth-heading h2{font-size:28px!important}.lbp-v1214 .teacher-fields{grid-template-columns:1fr!important}.lbp-v1214 .auth-actions{grid-template-columns:1fr!important}
 body.lbp-v1214 #screen-teacher .teacher-app-shell{display:block!important;min-height:0!important}.lbp-v1214 #screen-teacher .teacher-sidebar{display:none!important}.lbp-v1214 #screen-teacher .teacher-main{width:100%!important}.lbp-v1214 #screen-teacher .teacher-topbar{top:36px!important;padding:9px 10px!important;min-height:58px!important}.lbp-v1214 #screen-teacher .page-sub{display:none!important}.lbp-v1214 #screen-teacher .teacher-top-actions{gap:6px!important;flex-wrap:wrap!important}.lbp-v1214 #screen-teacher .teacher-content{padding:10px 9px 92px!important}.lbp-v1214 #teacher-dashboard .dashboard-welcome h1{font-size:29px!important}.lbp-v1214 #teacher-dashboard .dashboard-welcome .btn{display:none!important}.lbp-v1214 #teacher-dashboard .dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lbp-v1214 #teacher-dashboard .dash-metric{min-height:96px!important;padding:12px!important}.lbp-v1214 #teacher-dashboard .dash-metric strong{font-size:24px!important}
 .v1214-dashboard-showcase{grid-template-columns:1fr}.v1214-lia-dashboard{min-height:475px;padding:18px 16px 245px!important}.v1214-lia-dashboard>img{width:72%;height:52%;right:14%}.v1214-lia-dashboard h2{font-size:32px!important}.v1214-lia-dashboard p{font-size:14px!important}.v1214-lia-bubble{top:auto!important;bottom:205px!important;right:7%!important;width:125px!important;font-size:11px!important}.v1214-quick-panel{grid-template-columns:1fr}.v1214-quick-panel h3{grid-column:auto}
 .v1214-library-shell{padding:10px;min-height:0}.v1214-library-head{grid-template-columns:44px 1fr;gap:9px}.v1214-library-head>button{grid-column:1/-1;width:100%}.v1214-library-head h1{font-size:28px!important}.v1214-library-head p{font-size:14px!important}.v1214-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 body.lbp-v1214 #teacher-generator>.grid.g2{grid-template-columns:1fr!important}.v1214-review-shell{grid-template-columns:1fr}.v1214-quality-panel{display:block}.v1214-quality-ring{width:145px}.lbp-v1214 .review-toolbar-v10{grid-template-columns:1fr!important}.lbp-v1214 .question-review-card{grid-template-columns:48px minmax(0,1fr)!important}.lbp-v1214 .question-review-actions{grid-column:1/-1!important;display:flex!important;justify-content:flex-end!important}
 body.lbp-v1214 .v129-game-preview-modal{padding:6px!important}.lbp-v1214 .v129-game-preview-shell{width:100%!important;max-height:96dvh!important;border-radius:15px!important}.lbp-v1214 .v129-preview-body{grid-template-columns:1fr!important;min-height:0!important;padding:8px!important}.lbp-v1214 .v129-preview-main{padding:16px!important}.lbp-v1214 .v129-preview-main::before{position:static!important;display:block!important;width:110px!important;height:110px!important;margin:0 auto 8px!important}.lbp-v1214 .v129-preview-question{margin-left:0!important}.lbp-v1214 .v129-preview-question h3{font-size:20px!important}.lbp-v1214 .v129-preview-side{position:static!important}.lbp-v1214 .v129-preview-hud .hero{font-size:38px!important}
 .lbp-v1214 .v11-dialog.v1214-wizard{width:100%!important;max-height:96dvh!important;border-radius:16px!important}.lbp-v1214 .v11-dialog-body{padding:18px!important}.v1214-wizard-lia{position:static!important;width:auto!important;margin:12px 18px 18px!important;display:grid!important;grid-template-columns:90px 1fr!important;gap:10px!important;align-items:center!important}.v1214-wizard-lia img{width:86px!important;height:86px!important;margin:0!important}.lbp-v1214 .v11-grid{grid-template-columns:1fr!important}
 body.lbp-v1214 #screen-student-home,body.lbp-v1214 #screen-game{display:block!important}.v1214-student-sidebar,.v1214-game-sidebar{display:none!important}.lbp-v1214 #screen-student-home>.wrap,.lbp-v1214 #screen-game>.wrap{padding:9px!important}.lbp-v1214 #screen-student-home .hero{padding:18px 16px 190px!important;min-height:420px!important}.lbp-v1214 #screen-student-home .hero::after{width:70%;height:50%;right:15%}.lbp-v1214 #screen-student-home .grid.g4{grid-template-columns:repeat(2,minmax(0,1fr))!important}.lbp-v1214 #screen-game .question{padding:16px!important}
 .v1214-mobile-nav{position:fixed;z-index:99970;left:7px;right:7px;bottom:calc(var(--global-footer-h,32px) + 6px);height:62px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:5px;border-radius:17px;background:rgba(3,25,46,.97);border:1px solid #166c9c;box-shadow:0 14px 36px rgba(0,0,0,.45);backdrop-filter:blur(15px)}.v1214-mobile-nav[hidden]{display:none!important}.v1214-mobile-nav button{border:0;background:transparent;color:#afc6d9;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:8px;font-weight:900}.v1214-mobile-nav button i{font-size:18px}.v1214-mobile-nav button[data-create]{background:#0e63f7;color:#fff}
 body.lbp-v1214 #v11WizardFab{display:none!important}
}
@media(max-width:430px){.v1214-library-grid{grid-template-columns:1fr 1fr}.lbp-v1214 #teacher-dashboard .dashboard-metrics{grid-template-columns:1fr 1fr!important}.lbp-v1214 #screen-role .entry-copy-inner h1{font-size:28px!important}.lbp-v1214 #screen-student-home .grid.g4{grid-template-columns:1fr!important}}

@media(prefers-reduced-motion:reduce){body.lbp-v1214 *,body.lbp-v1214 *::before,body.lbp-v1214 *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Final responsive specificity contract */
body.lbp-v1214{margin:0!important}
@media(max-width:760px){
 body.lbp-v1214 #screen-role .lbp-entry-grid{grid-template-columns:minmax(0,1fr)!important}
 body.lbp-v1214 #screen-role .lbp-entry-copy{min-height:330px!important;padding:20px 18px!important}
 body.lbp-v1214 #screen-role .lbp-entry-actions{padding:22px 16px 26px!important}
 body.lbp-v1214 .auth-shell{grid-template-columns:minmax(0,1fr)!important;width:100%!important}
 body.lbp-v1214 .teacher-auth-side{min-height:310px!important;padding:20px!important}
 body.lbp-v1214 #screen-teacher .teacher-app-shell{display:block!important}
 body.lbp-v1214 #screen-teacher .teacher-sidebar{display:none!important}
 body.lbp-v1214 #screen-teacher .teacher-content{padding:10px 9px 92px!important}
 body.lbp-v1214 .v1214-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.lbp-v1214 .v1214-dashboard-showcase{grid-template-columns:minmax(0,1fr)!important}
 body.lbp-v1214 .v1214-review-shell{grid-template-columns:minmax(0,1fr)!important}
 body.lbp-v1214 .v129-preview-body{grid-template-columns:minmax(0,1fr)!important}
 body.lbp-v1214 #screen-student-home,body.lbp-v1214 #screen-game{display:block!important}
}
