
:root{--bg:#020817;--panel:#081a38;--panel2:#0b2853;--text:#f7f9ff;--muted:#afbed3;--gold:#f3cf78;--blue:#67b7ff;--green:#6ee7ad;--pink:#ff8fa3;--line:rgba(255,255,255,.13);--r:24px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#020817;color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh;overflow-x:hidden}a{color:inherit;text-decoration:none}button,input{font:inherit}button{color:inherit}#page-pattern{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;opacity:.85}body:before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background:radial-gradient(circle at 85% 8%,rgba(34,87,182,.27),transparent 32%),radial-gradient(circle at 8% 72%,rgba(243,207,120,.09),transparent 30%),linear-gradient(180deg,rgba(2,8,23,.28),rgba(2,8,23,.78))}body>*:not(#page-pattern){position:relative;z-index:1}
header{position:sticky;top:0;z-index:50;background:rgba(2,8,23,.84);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}nav{max-width:1240px;margin:auto;min-height:72px;padding:0 1.15rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.brand{font-weight:950;letter-spacing:.12em}.brand span{color:var(--gold)}.navlinks{display:flex;gap:.85rem;align-items:center;flex-wrap:wrap}.navlinks a{font-size:.85rem;color:#d8e2f1}.navlinks a:hover{color:var(--gold)}
main{max-width:1240px;margin:auto;padding:2rem 1.15rem 5rem}.eyebrow{display:inline-flex;gap:.45rem;align-items:center;color:var(--gold);font-weight:900;letter-spacing:.14em;text-transform:uppercase;font-size:.73rem}.eyebrow:before{content:"";width:27px;height:1px;background:var(--gold)}h1{font-size:clamp(3rem,7vw,6rem);line-height:.92;letter-spacing:-.06em;margin:.75rem 0 1rem}h2{font-size:clamp(2rem,4vw,3.25rem);letter-spacing:-.045em;margin:.35rem 0}.lead{color:var(--muted);line-height:1.75;max-width:820px}.gradient{background:linear-gradient(90deg,#fff,var(--gold),var(--blue));-webkit-background-clip:text;background-clip:text;color:transparent}
.hero{display:grid;grid-template-columns:1.2fr .8fr;gap:1.1rem;align-items:stretch}.hero-copy,.hero-side,.helper,.game-card,.discipline-card,.score-strip,.modal-shell,.inner-panel{background:linear-gradient(145deg,rgba(10,34,72,.91),rgba(4,15,35,.95));border:1px solid rgba(255,255,255,.11);border-radius:var(--r);box-shadow:0 24px 70px rgba(0,0,0,.28);backdrop-filter:blur(15px)}.hero-copy{padding:clamp(1.5rem,4vw,3.1rem)}.hero-side{padding:1rem;display:grid;grid-template-columns:1fr 1fr;gap:.7rem}.mini-stat{border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.035);padding:1rem}.mini-stat strong{display:block;color:var(--gold);font-size:1.75rem}.mini-stat span{font-size:.76rem;color:var(--muted)}
/* moving glow border */
.glow{position:relative;isolation:isolate;overflow:hidden}.glow:before{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:conic-gradient(from var(--angle),transparent 0 12%,rgba(103,183,255,.35) 20%,rgba(243,207,120,.95) 28%,rgba(255,255,255,.75) 31%,rgba(110,231,173,.48) 38%,transparent 50% 100%);animation:spinGlow 4.6s linear infinite}.glow:after{content:"";position:absolute;inset:1px;z-index:-1;border-radius:calc(var(--r) - 1px);background:linear-gradient(145deg,rgba(10,34,72,.97),rgba(4,15,35,.98))}@property --angle{syntax:'<angle>';initial-value:0deg;inherits:false}@keyframes spinGlow{to{--angle:360deg}}@supports not (background:conic-gradient(from 0deg,red,blue)){.glow{box-shadow:0 0 18px rgba(103,183,255,.3),0 0 30px rgba(243,207,120,.12)}}
.section-head{margin:3.4rem 0 1rem}.discipline-grid,.games-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.discipline-card,.game-card{padding:1.25rem;min-height:280px;display:flex;flex-direction:column}.discipline-card .ico,.game-card .ico{font-size:2rem}.discipline-card small,.game-card small{color:var(--gold);font-weight:900;letter-spacing:.12em;text-transform:uppercase}.discipline-card h3,.game-card h3{font-size:1.4rem;margin:.55rem 0}.discipline-card p,.game-card p{color:var(--muted);line-height:1.6;font-size:.9rem;flex:1}.chips{display:flex;gap:.4rem;flex-wrap:wrap;margin:.65rem 0}.chip{font-size:.69rem;border:1px solid var(--line);border-radius:999px;padding:.32rem .52rem;color:#d4dfef}.btn{border:1px solid var(--line);border-radius:999px;padding:.78rem 1rem;background:rgba(255,255,255,.05);cursor:pointer;font-weight:850;display:inline-flex;align-items:center;justify-content:center;gap:.35rem;transition:.2s}.btn:hover{transform:translateY(-2px);border-color:rgba(243,207,120,.55)}.btn.primary{background:linear-gradient(135deg,var(--gold),#d59a31);color:#07111f;border:0}.card-link{align-self:flex-start;margin-top:.25rem}.back{display:inline-flex;margin-bottom:1rem;color:#ced9e8;font-size:.84rem}.back:hover{color:var(--gold)}
.score-strip{margin:1.1rem 0;padding:1rem 1.1rem;display:flex;gap:.65rem;align-items:center;justify-content:space-between;flex-wrap:wrap}.score-strip b{color:var(--gold)}.score-pills{display:flex;gap:.55rem;flex-wrap:wrap}.pill{border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.04);padding:.5rem .7rem;font-size:.78rem;color:#d8e2f0}
.helper{margin-top:1.2rem;padding:1.2rem}.helper-top{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}.helper-form{display:flex;gap:.6rem;margin-top:1rem}.helper-form input{flex:1;min-width:0;border:1px solid var(--line);border-radius:16px;background:#020b1c;color:white;padding:.95rem 1rem;outline:none}.helper-form input:focus{border-color:rgba(243,207,120,.6);box-shadow:0 0 0 3px rgba(243,207,120,.08)}.helper-result{margin-top:.8rem;border:1px solid var(--line);border-radius:18px;background:rgba(0,5,16,.45);padding:1rem;min-height:88px;color:#dce7f5;line-height:1.6}.helper-result pre{margin:.65rem 0 0;background:#010814;border:1px solid var(--line);border-radius:14px;padding:.9rem;white-space:pre-wrap;overflow:auto;color:#e6f0ff}.suggestions{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:.7rem}.suggestion{font-size:.72rem;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.04);padding:.42rem .6rem;cursor:pointer}
.modal{position:fixed;inset:0;z-index:100;background:rgba(0,4,12,.83);backdrop-filter:blur(14px);display:none;place-items:center;padding:1rem}.modal.open{display:grid}.modal-shell{width:min(920px,100%);max-height:92vh;overflow:auto}.modal-head{position:sticky;top:0;z-index:5;padding:1rem 1.15rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;background:rgba(4,17,39,.95);border-bottom:1px solid var(--line)}.modal-head h3{margin:0}.close{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:rgba(255,255,255,.05);cursor:pointer}.modal-body{padding:1.1rem}.instructions{border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.035);padding:.9rem;color:#cad7e8;line-height:1.6;margin-bottom:.85rem}.game-zone{border:1px solid var(--line);border-radius:20px;background:rgba(0,5,16,.45);min-height:390px;padding:1rem;display:grid;place-items:center}.game-ui{width:min(720px,100%)}.game-top{display:flex;gap:.5rem;justify-content:space-between;flex-wrap:wrap;margin-bottom:.8rem}.game-top span{border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.045);padding:.46rem .65rem;font-size:.78rem}.game-top b{color:var(--gold)}.question{font-size:clamp(1.2rem,3vw,1.7rem);font-weight:850;line-height:1.4;margin:.8rem 0}.choices{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.choice{border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.05);padding:.95rem;text-align:left;cursor:pointer;min-height:62px}.choice:hover{border-color:rgba(243,207,120,.55)}.choice.correct{border-color:var(--green);background:rgba(110,231,173,.11)}.choice.wrong{border-color:var(--pink);background:rgba(255,143,163,.1)}.feedback{margin-top:.75rem;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.035);padding:.8rem;min-height:62px;color:#d8e4f4;line-height:1.55}.game-controls{display:flex;gap:.5rem;justify-content:center;flex-wrap:wrap;margin-top:.8rem}.memory-board{display:grid;grid-template-columns:repeat(4,1fr);gap:.55rem}.memory-card{aspect-ratio:1;border:1px solid var(--line);border-radius:16px;background:rgba(103,183,255,.08);cursor:pointer;display:grid;place-items:center;text-align:center;padding:.35rem;font-weight:800}.memory-card.revealed,.memory-card.matched{background:linear-gradient(145deg,#d69c35,#f3cf78);color:#07111f;box-shadow:0 0 22px rgba(243,207,120,.25)}.memory-card.matched{opacity:.72}.builder-target{border:1px dashed rgba(243,207,120,.5);border-radius:14px;padding:.9rem;min-height:72px;color:var(--gold);background:#020b1c;white-space:pre-wrap}.builder-parts{display:flex;gap:.45rem;flex-wrap:wrap;margin-top:.8rem}.builder-part{border:1px solid var(--line);border-radius:12px;background:rgba(103,183,255,.09);padding:.62rem .72rem;cursor:pointer}.big-signal{min-height:280px;border:1px solid var(--line);border-radius:20px;display:grid;place-items:center;text-align:center;background:#18233d;cursor:pointer;padding:1rem}.big-signal.go{background:#12643e}.big-signal strong{font-size:clamp(2.5rem,9vw,6rem)}.timerbar{height:8px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden;margin:.7rem 0}.timerbar i{height:100%;display:block;background:linear-gradient(90deg,var(--gold),var(--blue));width:100%;transform-origin:left center}
footer{border-top:1px solid var(--line);padding:2rem 1rem;color:#95a7bd;text-align:center;font-size:.8rem}
@media(max-width:930px){.hero{grid-template-columns:1fr}.discipline-grid,.games-grid{grid-template-columns:1fr 1fr}}@media(max-width:640px){nav{align-items:flex-start;padding-top:.9rem;padding-bottom:.9rem}.navlinks{justify-content:flex-end}.discipline-grid,.games-grid{grid-template-columns:1fr}.hero-side{grid-template-columns:1fr 1fr}.choices{grid-template-columns:1fr}.helper-form{flex-direction:column}.helper-form .btn{width:100%}.memory-board{grid-template-columns:repeat(3,1fr)}h1{font-size:3.4rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.glow:before{animation:none}}
/* Secondary live edge glow for the smaller rectangular play elements. */
.mini-stat,.pill,.helper-result,.instructions,.game-zone,.choice,.memory-card,.builder-target,.builder-part,.big-signal{
  animation:edgeBreath 3.2s ease-in-out infinite alternate;
}
@keyframes edgeBreath{
  0%{border-color:rgba(103,183,255,.18);box-shadow:inset 0 0 0 1px rgba(103,183,255,.02),0 0 7px rgba(103,183,255,.05)}
  50%{border-color:rgba(243,207,120,.34);box-shadow:inset 0 0 0 1px rgba(243,207,120,.04),0 0 12px rgba(243,207,120,.10)}
  100%{border-color:rgba(110,231,173,.28);box-shadow:inset 0 0 0 1px rgba(110,231,173,.03),0 0 10px rgba(110,231,173,.08)}
}
@media(prefers-reduced-motion:reduce){.mini-stat,.pill,.helper-result,.instructions,.game-zone,.choice,.memory-card,.builder-target,.builder-part,.big-signal{animation:none}}

.why-card{margin:.2rem 0 .75rem;border:1px solid rgba(243,207,120,.20);border-radius:14px;background:rgba(255,255,255,.025);overflow:hidden}
.why-card summary,.why-play summary{cursor:pointer;list-style:none;font-weight:850;color:#f3cf78;padding:.72rem .8rem;display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.why-card summary::-webkit-details-marker,.why-play summary::-webkit-details-marker{display:none}.why-card summary:after,.why-play summary:after{content:'＋';font-size:1rem}.why-card[open] summary:after,.why-play[open] summary:after{content:'−'}
.why-card>div{padding:0 .8rem .85rem;color:#bdcadc;font-size:.82rem;line-height:1.55}.why-play{margin-top:.8rem;border-top:1px solid rgba(255,255,255,.10)}.why-play p{margin:0;padding:0 .8rem .8rem;color:#cbd8e8;line-height:1.65}
.coverage{margin-top:1rem;padding:1.1rem}.coverage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.55rem;margin-top:.8rem}.coverage-item{border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.035);padding:.75rem;color:#cbd8e8;font-size:.8rem;line-height:1.45}
.source-note{margin-top:1rem;padding:1.1rem}.source-note a{color:#dfe9f8;text-decoration:underline;text-decoration-color:rgba(243,207,120,.45);text-underline-offset:3px}.source-note li{margin:.45rem 0;color:#b9c8dc}
/* calm animated ambience behind dedicated game window */
body.play-page:before,body.game-runner:before{content:"";position:fixed;inset:-20%;z-index:-3;pointer-events:none;background:radial-gradient(circle at 22% 34%,rgba(89,150,255,.12),transparent 25%),radial-gradient(circle at 78% 62%,rgba(243,207,120,.09),transparent 24%),radial-gradient(circle at 55% 18%,rgba(110,231,173,.07),transparent 22%);filter:blur(12px);animation:calmDrift 16s ease-in-out infinite alternate}
body.play-page:after,body.game-runner:after{content:"";position:fixed;width:360px;height:360px;border:1px solid rgba(103,183,255,.09);border-radius:50%;left:50%;top:50%;z-index:-2;pointer-events:none;box-shadow:0 0 80px rgba(103,183,255,.05),inset 0 0 80px rgba(243,207,120,.025);animation:calmOrbit 20s linear infinite}
@keyframes calmDrift{0%{transform:translate3d(-2%,-1%,0) scale(1)}100%{transform:translate3d(3%,2%,0) scale(1.08)}}@keyframes calmOrbit{from{transform:translate(-50%,-50%) rotate(0deg) scale(.92)}to{transform:translate(-50%,-50%) rotate(360deg) scale(1.08)}}
@media(max-width:800px){.coverage-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.coverage-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body.play-page:before,body.play-page:after,body.game-runner:before,body.game-runner:after{animation:none}}


/* Professional Course Games V5 */
.prof-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.prof-card,.module-card,.study-panel,.level-panel,.result-panel{position:relative;overflow:hidden;border:1px solid rgba(243,207,120,.22);background:linear-gradient(145deg,rgba(10,31,67,.94),rgba(4,15,37,.96));border-radius:24px;padding:1.2rem}.prof-card:before,.module-card:before,.study-panel:before,.level-panel:before,.result-panel:before{content:"";position:absolute;inset:-2px;border-radius:inherit;background:conic-gradient(from var(--spin,0deg),transparent 0 18%,rgba(243,207,120,.52),rgba(90,183,255,.48),transparent 43% 72%,rgba(101,255,190,.38),transparent 86%);z-index:-1;animation:courseSpin 7s linear infinite}.prof-card:after,.module-card:after,.study-panel:after,.level-panel:after,.result-panel:after{content:"";position:absolute;inset:1px;border-radius:inherit;background:linear-gradient(145deg,rgba(9,28,60,.98),rgba(3,14,34,.99));z-index:-1}@keyframes courseSpin{to{--spin:360deg}}@property --spin{syntax:"<angle>";inherits:false;initial-value:0deg}.prof-card h3,.module-card h3{margin:.45rem 0}.prof-card .ico,.module-card .ico{font-size:1.8rem}.course-path{display:flex;gap:.55rem;flex-wrap:wrap;margin:.8rem 0}.course-path span{border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:.38rem .65rem;color:#c8d5ea;font-size:.8rem}.course-note{border-left:3px solid #f3cf78;background:rgba(243,207,120,.08);padding:.8rem 1rem;border-radius:12px;color:#d7e2f2}.read-list{display:grid;gap:.65rem;margin:1rem 0}.read-item{display:flex;gap:.7rem;align-items:flex-start;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.035);padding:.75rem .9rem;border-radius:14px}.read-item b{color:#f3cf78}.mastery-bar{height:10px;background:rgba(255,255,255,.08);border-radius:999px;overflow:hidden}.mastery-bar i{display:block;height:100%;background:linear-gradient(90deg,#f3cf78,#5ab7ff);width:0;transition:.4s}.level-tabs{display:flex;gap:.6rem;flex-wrap:wrap;margin:.8rem 0}.level-pill{padding:.45rem .75rem;border-radius:999px;border:1px solid rgba(255,255,255,.14);font-weight:800;color:#c8d5ea}.level-pill.active{background:#f3cf78;color:#061126}.professional-play{max-width:980px;margin:0 auto;padding:5rem 1.2rem 3rem}.study-panel{margin-bottom:1rem}.study-panel h1{font-size:clamp(2rem,5vw,4.2rem);margin:.2rem 0}.study-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem}.prof-question{font-size:1.18rem;font-weight:850;line-height:1.45;margin:1rem 0}.prof-options{display:grid;gap:.65rem}.prof-option{width:100%;text-align:left;border:1px solid rgba(255,255,255,.13);background:rgba(9,27,57,.8);color:#eef4ff;padding:.82rem .95rem;border-radius:14px;font-weight:700;cursor:pointer;transition:.2s}.prof-option:hover{transform:translateY(-1px);border-color:rgba(243,207,120,.6)}.prof-option.correct{border-color:#68e0a0;background:rgba(39,130,86,.24)}.prof-option.wrong{border-color:#ff7b88;background:rgba(166,54,68,.2)}.prof-explain{margin-top:.8rem;border:1px solid rgba(90,183,255,.2);background:rgba(90,183,255,.07);padding:.85rem 1rem;border-radius:14px;color:#dce9fb}.result-score{font-size:3rem;font-weight:950;color:#f3cf78}.review-list{display:grid;gap:.7rem;margin-top:1rem}.review-row{border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:.85rem}.review-row.good{border-color:rgba(104,224,160,.34)}.review-row.bad{border-color:rgba(255,123,136,.34)}.review-row strong{display:block;margin-bottom:.3rem}.disclaimer-course{font-size:.85rem;color:#98abc6;margin-top:1rem}.source-link{display:inline-flex;align-items:center;gap:.4rem;color:#f3cf78;font-weight:800}.stage-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem;margin:1rem 0}.stage-summary>div{border:1px solid rgba(255,255,255,.1);border-radius:14px;padding:.75rem;text-align:center}.stage-summary strong{display:block;font-size:1.5rem;color:#f3cf78}.game-stage-banner{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:.7rem}.game-stage-banner .level-pill{margin:0}.game-review{max-height:48vh;overflow:auto}.game-review .review-row{font-size:.92rem}@media(max-width:850px){.prof-course-grid{grid-template-columns:1fr}.stage-summary{grid-template-columns:1fr}.professional-play{padding-top:4.5rem}}

.back{
  position:fixed !important;
  top:18px;
  left:max(16px,calc((100vw - 1240px)/2 + 18px));
  z-index:10000 !important;
  margin:0 !important;
  padding:.62rem .9rem;
  border:1px solid rgba(243,207,120,.22);
  border-radius:999px;
  background:rgba(3,14,34,.78);
  color:#dce7f5;
  box-shadow:0 10px 30px rgba(0,0,0,.26),0 0 18px rgba(103,183,255,.08);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease;
}
.back:hover{
  color:var(--gold);
  transform:translateY(-1px);
  border-color:rgba(243,207,120,.58);
  background:rgba(7,25,55,.92);
  box-shadow:0 12px 34px rgba(0,0,0,.30),0 0 22px rgba(243,207,120,.10);
}
/* Pages with the main NovaPlay header keep the floating return button beneath it. */
header + main .back{top:86px}
@media(max-width:640px){
  .back{top:10px;left:10px;padding:.55rem .72rem;font-size:.78rem}
  header + main .back{top:82px}
}
/* NovaPlay Professional Mastery V6 */
.level-overview{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:center;margin:1rem 0}.mastery-badge{min-width:150px;text-align:center;border:1px solid rgba(243,207,120,.28);background:rgba(243,207,120,.07);border-radius:20px;padding:1rem}.mastery-badge strong{display:block;font-size:2.4rem;color:var(--gold)}.mastery-badge span{font-size:.78rem;color:#afbdd1}.level-map{display:grid;grid-template-columns:repeat(10,1fr);gap:.55rem;margin:1rem 0 1.35rem}.level-node{height:52px;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:rgba(8,25,53,.86);color:#dbe8f8;font-weight:900;cursor:pointer;position:relative;box-shadow:inset 0 0 16px rgba(90,183,255,.04)}.level-node:hover:not(:disabled){border-color:rgba(243,207,120,.58);transform:translateY(-1px)}.level-node.current{border-color:var(--gold);box-shadow:0 0 22px rgba(243,207,120,.18),inset 0 0 15px rgba(243,207,120,.08)}.level-node.done:after{content:'✓';position:absolute;right:5px;top:3px;color:#68e0a0;font-size:.72rem}.level-node.locked{opacity:.35;cursor:not-allowed}.read-grid{display:grid;grid-template-columns:1.45fr .85fr;gap:1rem;align-items:start}.difficulty-label,.question-topic{display:inline-flex;border:1px solid rgba(90,183,255,.2);background:rgba(90,183,255,.07);border-radius:999px;padding:.36rem .62rem;color:#b9d8ff;font-size:.78rem;font-weight:850;margin-left:.45rem}.question-topic{margin:1rem 0 0}.data-card{margin:1rem 0;border:1px solid rgba(243,207,120,.22);border-radius:20px;background:linear-gradient(145deg,rgba(5,19,43,.92),rgba(8,29,60,.72));padding:1rem;box-shadow:0 0 30px rgba(90,183,255,.06)}.chart-title{font-size:.84rem;font-weight:900;color:var(--gold);text-transform:uppercase;letter-spacing:.08em;margin-bottom:.5rem}.learning-chart{width:100%;height:auto;max-height:300px;overflow:visible}.learning-chart text{fill:#b9c8dd;font-size:15px;font-weight:700}.chartbar{fill:#d9ab4c;filter:drop-shadow(0 0 9px rgba(243,207,120,.22))}.chartvalue{fill:#eef5ff!important}.gridline{stroke:rgba(255,255,255,.09);stroke-width:1}.trendline{fill:none;stroke:#70baff;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 7px rgba(90,183,255,.3))}.chartdot{fill:#f3cf78;stroke:#061126;stroke-width:3}.mini-data-table{width:100%;border-collapse:collapse}.mini-data-table th,.mini-data-table td{padding:.68rem .8rem;border-bottom:1px solid rgba(255,255,255,.09);text-align:left}.mini-data-table th{color:var(--gold);font-size:.78rem;text-transform:uppercase;letter-spacing:.06em}.game-review{max-height:60vh}.professional-play .study-panel{min-height:72vh}@media(max-width:850px){.level-map{grid-template-columns:repeat(5,1fr)}.read-grid,.level-overview{grid-template-columns:1fr}.mastery-badge{width:100%}}@media(max-width:520px){.level-map{grid-template-columns:repeat(4,1fr)}.level-node{height:46px}.difficulty-label{display:none}}

#page-pattern{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;z-index:0!important;pointer-events:none!important;opacity:1!important;filter:drop-shadow(0 0 2px rgba(113,174,255,.18))}
body{background:#020817!important;background-attachment:fixed!important}
body:before{background:radial-gradient(circle at 86% 12%,rgba(27,77,170,.23),transparent 31%),radial-gradient(circle at 12% 74%,rgba(243,207,120,.075),transparent 28%),linear-gradient(180deg,rgba(2,8,23,.20),rgba(2,8,23,.80))!important}
.question-visual{border:1px solid rgba(103,183,255,.24);border-radius:18px;background:rgba(2,11,28,.72);padding:1rem;margin:.85rem 0;box-shadow:inset 0 0 28px rgba(103,183,255,.045)}
.visual-title{font-size:.8rem;color:#cddcf0;font-weight:800;margin-bottom:.8rem;text-align:center}.bar-chart{height:230px;display:flex;gap:.7rem;align-items:flex-end;justify-content:center;padding:.5rem}.bar-col{height:100%;min-width:62px;max-width:110px;flex:1;display:grid;grid-template-rows:24px 1fr 36px;gap:.35rem;align-items:end;text-align:center}.bar-value{font-size:.72rem;color:var(--gold);font-weight:900}.bar-track{height:100%;border:1px solid rgba(255,255,255,.09);border-radius:12px 12px 5px 5px;background:rgba(255,255,255,.025);display:flex;align-items:flex-end;overflow:hidden}.bar-track i{display:block;width:100%;background:linear-gradient(180deg,rgba(103,183,255,.95),rgba(243,207,120,.65));border-radius:10px 10px 2px 2px;box-shadow:0 0 24px rgba(103,183,255,.22);animation:barBreathe 3.4s ease-in-out infinite alternate}.bar-label{font-size:.68rem;color:#aebfd6;line-height:1.15;overflow-wrap:anywhere}@keyframes barBreathe{from{filter:brightness(.88)}to{filter:brightness(1.18)}}
@media(max-width:640px){.bar-chart{gap:.35rem;height:190px}.bar-col{min-width:42px}.bar-label{font-size:.6rem}}

/* FINAL NOVAPLAY CONSISTENCY PASS — animated constellation visible on every NovaPlay screen */
#page-pattern{
  position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;
  z-index:0!important;pointer-events:none!important;opacity:1!important;
  filter:drop-shadow(0 0 2px rgba(126,174,255,.22))!important;
}
body{
  background:#020817!important;
  background-image:none!important;
  background-attachment:fixed!important;
}
body:before{
  content:"";position:fixed;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(circle at 84% 10%,rgba(35,91,190,.19),transparent 31%),
    radial-gradient(circle at 10% 77%,rgba(243,207,120,.065),transparent 28%),
    linear-gradient(180deg,rgba(2,8,23,.10),rgba(2,8,23,.54))!important;
}
body>*:not(#page-pattern){position:relative;z-index:1}
/* Dedicated play screens must reveal the constellation field instead of covering it with an opaque veil. */
body.play-page .modal,
body.game-runner .modal{
  background:rgba(0,4,12,.30)!important;
  backdrop-filter:blur(2px)!important;
  -webkit-backdrop-filter:blur(2px)!important;
}
body.play-page .modal-shell,
body.game-runner .modal-shell,
.professional-play .study-panel{
  background:linear-gradient(145deg,rgba(10,34,72,.90),rgba(4,15,35,.93))!important;
  backdrop-filter:blur(13px);
  -webkit-backdrop-filter:blur(13px);
}
body.play-page .game-zone,
body.game-runner .game-zone,
.professional-play .data-card,
.professional-play .question-card{
  background:rgba(0,5,16,.56)!important;
}
/* Keep the constellation readable on phones while preserving performance. */
@media(max-width:650px){
  #page-pattern{opacity:.92!important}
  body.play-page .modal,body.game-runner .modal{background:rgba(0,4,12,.24)!important}
}


.discipline-head{max-width:820px;margin-bottom:1.25rem}
.discipline-finder{min-height:420px;padding:clamp(1.25rem,3vw,2rem);display:grid;grid-template-columns:.82fr 1.18fr;gap:clamp(1rem,3vw,2.2rem);align-items:stretch;background:linear-gradient(145deg,rgba(8,30,64,.92),rgba(3,14,33,.96));overflow:visible!important}
.discipline-finder.glow:after{background:linear-gradient(145deg,rgba(8,30,64,.975),rgba(3,14,33,.985))}
.finder-intro{padding:clamp(.35rem,1.5vw,1rem);display:flex;flex-direction:column;justify-content:center;position:relative;z-index:3}
.finder-kicker{display:flex;align-items:center;gap:.55rem;color:#c5d5ea;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.11em}.finder-dot{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 5px rgba(110,231,173,.08),0 0 18px rgba(110,231,173,.5)}
.finder-intro h3{font-size:clamp(2rem,4vw,3.5rem);letter-spacing:-.045em;line-height:1;margin:.8rem 0 1rem;max-width:560px}.finder-intro p{color:var(--muted);line-height:1.7;max-width:560px;margin:0}
.finder-note{margin-top:1.4rem;padding:.85rem 1rem;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:rgba(255,255,255,.035);display:flex;align-items:center;gap:.8rem;max-width:460px}.finder-note>span{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:linear-gradient(145deg,rgba(103,183,255,.13),rgba(243,207,120,.08));color:var(--gold);font-size:1.1rem;border:1px solid rgba(255,255,255,.08)}.finder-note b{display:block;font-size:.86rem}.finder-note small{display:block;margin-top:.15rem;color:#93a8c3;line-height:1.35}
.finder-panel{border:1px solid rgba(255,255,255,.10);background:linear-gradient(160deg,rgba(1,9,24,.56),rgba(8,28,58,.52));border-radius:24px;padding:clamp(1rem,2vw,1.35rem);display:flex;flex-direction:column;position:relative;z-index:6;box-shadow:inset 0 1px 0 rgba(255,255,255,.03),0 24px 60px rgba(0,0,0,.18)}
.finder-label{font-size:.74rem;color:#b9c9dc;text-transform:uppercase;letter-spacing:.11em;font-weight:900;margin:0 0 .55rem .15rem}
.discipline-combobox{position:relative;z-index:20}.discipline-combobox input{width:100%;height:62px;border:1px solid rgba(255,255,255,.15);border-radius:18px;background:rgba(1,8,22,.84);color:white;padding:0 62px 0 52px;outline:none;font-size:1rem;font-weight:650;transition:border-color .2s,box-shadow .2s,background .2s}.discipline-combobox input::placeholder{color:#788da9;font-weight:550}.discipline-combobox input:focus,.discipline-combobox.open input{border-color:rgba(243,207,120,.7);background:rgba(2,12,29,.97);box-shadow:0 0 0 4px rgba(243,207,120,.07),0 0 28px rgba(103,183,255,.08)}
.finder-search-icon{position:absolute;left:19px;top:50%;transform:translateY(-52%);z-index:2;font-size:1.55rem;color:#91a7c5;pointer-events:none}.discipline-toggle{position:absolute;right:8px;top:8px;width:46px;height:46px;border-radius:13px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.045);display:grid;place-items:center;cursor:pointer;font-size:1.35rem;color:#e8f1fc;transition:.2s}.discipline-toggle:hover{background:rgba(243,207,120,.10);border-color:rgba(243,207,120,.30);color:var(--gold)}.discipline-combobox.open .discipline-toggle{transform:rotate(180deg);color:var(--gold)}
.discipline-options{display:none;position:absolute;left:0;right:0;top:calc(100% + 10px);max-height:390px;overflow:auto;padding:.45rem;border-radius:18px;border:1px solid rgba(255,255,255,.13);background:rgba(3,13,31,.985);box-shadow:0 28px 80px rgba(0,0,0,.50),0 0 35px rgba(79,145,255,.10);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.discipline-combobox.open .discipline-options{display:block;animation:finderOpen .18s ease-out}@keyframes finderOpen{from{opacity:0;transform:translateY(-6px) scale(.99)}to{opacity:1;transform:none}}
.discipline-option{width:100%;border:0;background:transparent;color:#edf5ff;border-radius:14px;padding:.78rem .8rem;display:grid;grid-template-columns:44px 1fr auto;gap:.75rem;align-items:center;text-align:left;cursor:pointer}.discipline-option:hover,.discipline-option.active{background:linear-gradient(90deg,rgba(103,183,255,.11),rgba(243,207,120,.06));outline:1px solid rgba(103,183,255,.13)}.discipline-option[aria-selected="true"]{background:rgba(243,207,120,.08)}.option-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:rgba(103,183,255,.07);border:1px solid rgba(255,255,255,.07);font-size:1.3rem}.option-copy b{display:block;font-size:.9rem}.option-copy small{display:block;color:#8fa4c0;margin-top:.16rem;font-size:.67rem;text-transform:uppercase;letter-spacing:.07em}.option-arrow{color:#7388a4;font-size:1rem}.discipline-option:hover .option-arrow{color:var(--gold)}
.discipline-empty{display:flex;gap:.75rem;align-items:center;padding:1rem;color:#d6e2f1}.discipline-empty>span{color:var(--gold)}.discipline-empty b{display:block}.discipline-empty small{display:block;color:#8fa4c0;margin-top:.2rem;line-height:1.4}
.discipline-preview{flex:1;margin-top:1rem;min-height:185px;border-radius:20px;border:1px solid rgba(255,255,255,.10);background:radial-gradient(circle at 100% 0,rgba(103,183,255,.10),transparent 36%),rgba(255,255,255,.025);padding:1rem;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;transition:.25s;position:relative;overflow:hidden}.discipline-preview:before{content:"";position:absolute;width:160px;height:160px;border-radius:50%;right:-70px;bottom:-80px;border:1px solid rgba(243,207,120,.14);box-shadow:0 0 60px rgba(103,183,255,.06)}.discipline-preview.empty{grid-template-columns:auto 1fr;color:#94a9c4}.preview-orb,.preview-icon{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(145deg,rgba(103,183,255,.13),rgba(243,207,120,.08));border:1px solid rgba(255,255,255,.10);box-shadow:inset 0 0 24px rgba(103,183,255,.05)}.preview-orb span{font-size:1.45rem;color:var(--gold);animation:previewPulse 3s ease-in-out infinite}@keyframes previewPulse{50%{transform:rotate(14deg) scale(1.12);filter:drop-shadow(0 0 8px rgba(243,207,120,.45))}}.preview-icon{font-size:1.8rem}.preview-overline{display:block;color:var(--gold);font-weight:850;text-transform:uppercase;letter-spacing:.09em;font-size:.66rem}.discipline-preview h4{font-size:1.35rem;margin:.26rem 0 .35rem}.discipline-preview p{color:#aebed3;line-height:1.55;font-size:.85rem;margin:0;max-width:580px}.preview-tags{display:flex;gap:.35rem;flex-wrap:wrap;margin-top:.65rem}.preview-tags span{font-size:.64rem;color:#c9d7e8;border:1px solid rgba(255,255,255,.10);padding:.27rem .45rem;border-radius:999px;background:rgba(255,255,255,.025)}.preview-open{position:relative;z-index:2;white-space:nowrap}.finder-status{margin-top:.72rem;color:#7187a4;font-size:.72rem;text-align:right}
@media(max-width:900px){.discipline-finder{grid-template-columns:1fr;min-height:0}.finder-intro{padding:.3rem}.finder-note{display:none}.discipline-preview{min-height:160px}}
@media(max-width:640px){.discipline-finder{padding:1rem;border-radius:20px}.discipline-combobox input{height:58px;font-size:.94rem}.discipline-preview{grid-template-columns:auto 1fr;align-items:start}.preview-open{grid-column:1/-1;width:100%;margin-top:.2rem}.discipline-options{max-height:330px}.finder-intro h3{font-size:2.15rem}.finder-status{text-align:left}}

.helper-form{align-items:center}
.helper-form .btn{
  flex:0 0 auto;
  min-height:46px;
  padding:.64rem .96rem;
  font-size:.84rem;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 8px 22px rgba(0,0,0,.18),0 0 14px rgba(243,207,120,.08);
}
.helper-form .btn:hover{transform:translateY(-1px)}
@media(max-width:640px){
  .helper-form{align-items:stretch}
  .helper-form .btn{width:auto!important;align-self:flex-end;min-width:132px}
}


/* Searchable menus must escape decorative cards and remain above following sections. */
.discipline-finder,
.discipline-finder.glow,
.finder-panel,
.discipline-combobox{
  overflow:visible!important;
}
.discipline-combobox{z-index:700!important}
.discipline-options{
  z-index:9999!important;
  max-height:min(420px,55vh)!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  box-shadow:0 30px 90px rgba(0,0,0,.62),0 0 40px rgba(79,145,255,.12)!important;
}
/* Shared software/game finder menus. These use page-level styles, so !important keeps behavior consistent. */
.finder-shell,
.finder-control{overflow:visible!important}
.finder-shell:focus-within{z-index:700!important}
.finder-list{
  z-index:9999!important;
  max-height:min(420px,55vh)!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  box-shadow:0 30px 90px rgba(0,0,0,.62),0 0 40px rgba(79,145,255,.12)!important;
}
.discipline-options::-webkit-scrollbar,
.finder-list::-webkit-scrollbar{width:10px}
.discipline-options::-webkit-scrollbar-track,
.finder-list::-webkit-scrollbar-track{background:rgba(255,255,255,.025);border-radius:999px}
.discipline-options::-webkit-scrollbar-thumb,
.finder-list::-webkit-scrollbar-thumb{background:rgba(157,183,219,.34);border:2px solid transparent;background-clip:padding-box;border-radius:999px}
@media(max-width:640px){
  .discipline-options,.finder-list{max-height:min(360px,52vh)!important}
}


/* NovaGuide discoverability + calm quick-start navigation */
.navlinks .nav-start{color:#07101f!important;background:linear-gradient(135deg,#f2ce72,#e7af36);padding:.48rem .72rem;border-radius:999px;font-weight:900;box-shadow:0 8px 20px rgba(230,176,54,.14)}
.hero-quick-actions{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1.35rem}.hero-quick-actions .btn{min-height:44px}
.quick-start{margin-top:1.15rem;padding:clamp(1.2rem,2.8vw,2rem);overflow:visible!important;background:linear-gradient(145deg,rgba(8,31,65,.93),rgba(4,14,33,.96))}
.quick-start-copy{max-width:790px}.quick-start-copy h2{font-size:clamp(1.9rem,3.6vw,3rem);margin:.55rem 0 .7rem;letter-spacing:-.035em}.quick-start-copy .lead{margin:0}
.quick-start-grid{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:.9rem;margin-top:1.2rem}.start-choice{min-height:230px;padding:1.05rem;border:1px solid rgba(255,255,255,.1);border-radius:20px;background:rgba(3,14,33,.54);display:flex;flex-direction:column;gap:.8rem;position:relative}.start-choice.featured{background:radial-gradient(circle at 10% 0,rgba(243,207,120,.1),transparent 35%),rgba(5,22,48,.72);border-color:rgba(243,207,120,.28);box-shadow:0 0 30px rgba(243,207,120,.04)}.start-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:rgba(103,183,255,.08);border:1px solid rgba(255,255,255,.08);font-size:1.25rem}.start-kicker{display:block;color:var(--gold);font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.start-choice h3{margin:.25rem 0 .35rem;font-size:1.15rem}.start-choice p{margin:0;color:#aebed3;line-height:1.52;font-size:.86rem;flex:1}.start-choice .btn{align-self:flex-start}
.home-guide-search{margin-top:1rem;padding:1rem;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:rgba(1,9,24,.48)}.home-guide-search label{display:block;font-size:.76rem;color:#c8d6e8;font-weight:850;margin:0 0 .55rem .1rem}.home-guide-row{display:grid;grid-template-columns:1fr auto;gap:.65rem}.home-guide-row input{min-height:52px;width:100%;border:1px solid rgba(255,255,255,.14);border-radius:15px;background:rgba(1,8,22,.86);color:#fff;padding:0 1rem;font:inherit;outline:none}.home-guide-row input:focus{border-color:rgba(243,207,120,.65);box-shadow:0 0 0 4px rgba(243,207,120,.06)}.home-guide-row .btn{min-height:46px;align-self:center}
.guide-purpose{display:grid;grid-template-columns:1fr 1fr;gap:.65rem;margin:.9rem 0 1rem}.guide-purpose>div{padding:.75rem .85rem;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.025)}.guide-purpose b{display:block;color:#f3d27b;font-size:.78rem;margin-bottom:.18rem}.guide-purpose span{display:block;color:#aebed3;font-size:.78rem;line-height:1.45}
@media(max-width:900px){.quick-start-grid{grid-template-columns:1fr}.start-choice{min-height:0}.home-guide-row{grid-template-columns:1fr}.home-guide-row .btn{justify-self:start}.guide-purpose{grid-template-columns:1fr}}
@media(max-width:640px){.hero-quick-actions{display:grid;grid-template-columns:1fr}.hero-quick-actions .btn{width:100%;justify-content:center}.quick-start{padding:1rem}.home-guide-row .btn{width:auto!important}.navlinks .nav-start{padding:.4rem .62rem}}


/* Always-available, low-profile NovaGuide entry on NovaPlay screens */
.novaguide-float{position:fixed;right:16px;top:calc(env(safe-area-inset-top, 0px) + 76px);bottom:auto;z-index:9800;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:.52rem .78rem;border-radius:999px;border:1px solid rgba(243,207,120,.30);background:rgba(5,19,42,.92);color:#f4d476;text-decoration:none;font-size:.76rem;font-weight:900;letter-spacing:.01em;box-shadow:0 12px 34px rgba(0,0,0,.32),0 0 18px rgba(243,207,120,.06);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);transition:transform .18s,border-color .18s,background .18s}.novaguide-float:hover,.novaguide-float:focus-visible{transform:translateY(-2px);border-color:rgba(243,207,120,.62);background:rgba(10,32,64,.97);outline:none}.novaguide-float:focus-visible{box-shadow:0 0 0 3px rgba(103,183,255,.25),0 12px 34px rgba(0,0,0,.32)}
@media(max-width:640px){.novaguide-float{right:max(10px,env(safe-area-inset-right,0px));top:calc(env(safe-area-inset-top,0px) + 68px);bottom:auto;width:38px;height:38px;min-height:38px;padding:0;font-size:.76rem;border-radius:50%}.novaguide-float .novaguide-label{display:none}.novaguide-float .novaguide-icon{font-size:1rem;line-height:1}}
