@charset "UTF-8";
:root{--paper:#f8f7f1;--white:#fffef9;--ink:#20392f;--green:#164f45;--green-dark:#0f3c34;--muted:#687369;--line:#dddfd3;--yellow:#edce75;--sand:#f0e3c6;--sage:#dce7d3;--sky:#dce9ed;--rose:#eddad1;--violet:#e4def0;--radius:16px;--shadow:0 12px 40px #253b3210;font-family:Inter,"Avenir Next",Avenir,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-size:15px;line-height:1.6;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-underline-offset:4px}button,a,input,select,textarea,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #b88521}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{line-height:1.16;font-weight:500}h1,h2,.serif{font-family:Georgia,"Times New Roman",serif}h1{font-size:clamp(42px,5.2vw,76px);letter-spacing:-2.5px}h2{font-size:clamp(29px,3vw,41px);letter-spacing:-1px}h3{font-size:23px;letter-spacing:-.4px}img,svg{max-width:100%}p{margin-bottom:1em}code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em;background:#e8eadf;border-radius:4px;padding:2px 5px}pre{overflow:auto;background:#143b33;color:#edf0df;border-radius:12px;padding:22px;font-size:14px}pre code{color:inherit;background:none;padding:0}main{min-height:calc(100vh - 230px)}main:focus{outline:none}.skip-link{position:fixed;z-index:1000;top:8px;left:8px;transform:translateY(-160%);background:var(--yellow);padding:10px 18px;border-radius:5px}.skip-link:focus{transform:translateY(0)}
.site-header{background:#f8f7f1f5;border-bottom:1px solid var(--line)}.header-inner{max-width:1320px;margin:auto;padding:21px 38px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-family:Georgia,serif;font-weight:600;letter-spacing:-.8px;font-size:29px;line-height:1}.brand-symbol{display:grid;place-items:center;background:var(--green);color:var(--yellow);font-family:Arial,sans-serif;font-size:38px;font-weight:400;width:47px;height:47px;border-radius:13px}.brand-small{display:block;font-size:8px;font-family:Arial,sans-serif;font-weight:500;letter-spacing:2.1px;margin-top:8px}.main-nav{display:flex;align-items:center;gap:29px;font-size:13px;font-weight:550}.main-nav a{text-decoration:none;padding:8px 0;border-bottom:2px solid transparent}.main-nav a[aria-current=page]{border-bottom-color:var(--green);color:var(--green)}.main-nav a:hover{color:#b2761d}.nav-count{display:inline-grid;place-items:center;font-size:10px;margin-left:7px;background:#e6e8dc;border-radius:50%;width:19px;height:19px}.player-button{display:flex;align-items:center;gap:9px;background:var(--white);border:1px solid var(--line);border-radius:30px;padding:6px 12px 6px 6px;font-size:12px;max-width:210px}.player-button #player-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:115px}.avatar{display:inline-grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:#ead897;color:#51441f;font-size:12px;font-weight:650}.container{max-width:1244px;margin:auto;padding:0 38px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:650;color:var(--muted);margin-bottom:17px}.eyebrow .dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#bd8845;margin-right:8px;vertical-align:middle}.muted{color:var(--muted)}.small{font-size:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:11px 21px;border:1px solid transparent;border-radius:7px;text-decoration:none;font-weight:550;font-size:13px;line-height:1.5;transition:background .15s,transform .15s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--green);color:#fffdf4}.btn-primary:hover{background:var(--green-dark)}.btn-secondary{background:var(--white);border-color:#cdd2c4;color:var(--green)}.btn-secondary:hover{background:#edf0e5}.btn-yellow{background:var(--yellow);color:#3c432b}.btn-small{min-height:34px;font-size:12px;padding:7px 12px}.btn-ghost{background:transparent;color:var(--green);padding-left:0;padding-right:0}.button-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.text-button{border:0;background:none;color:inherit;font-size:inherit;padding:0;text-decoration:underline;text-underline-offset:3px}.icon-button{display:inline-grid;place-items:center;width:35px;height:35px;border:1px solid var(--line);border-radius:50%;background:var(--white);font-size:20px;color:var(--ink)}
.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:43px;padding-top:56px;padding-bottom:41px}.hero h1{margin-bottom:22px}.hero h1 em{font-weight:400;color:var(--green)}.hero-copy>p{color:var(--muted);font-size:15px;line-height:1.8;max-width:400px;margin-bottom:25px}.hero .button-row{gap:19px}.hero-art{position:relative}.hero-art img{display:block;width:100%;border-radius:20px}.hero-caption{display:flex;gap:9px;align-items:center;font-size:10px;letter-spacing:.8px;text-transform:uppercase;color:var(--muted);margin-top:14px}.hero-caption span{display:block;width:16px;height:1px;background:var(--muted)}.hero-note{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:11px;margin-top:21px}.hero-note .tiny-orbit{width:19px;height:19px;border:1px solid #92a68e;border-radius:50%;display:inline-grid;place-items:center;font-size:10px}.ribbon{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;color:var(--muted);font-size:12px}.ribbon strong{color:var(--ink);font-weight:550}.ribbon>span{display:flex;align-items:center;gap:9px}.ribbon .ribbon-mark{color:#9c7844;font-size:18px}.section{padding-top:49px;padding-bottom:3px}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:25px}.section-head h2{margin-bottom:7px}.section-head p{font-size:13px;color:var(--muted);margin-bottom:0}.section-head .eyebrow{margin-bottom:12px}.section-head a{white-space:nowrap}.timeline{display:grid;grid-template-columns:repeat(7,minmax(112px,1fr));position:relative;gap:0;margin:0;padding:0 0 19px;list-style:none;overflow-x:auto}.timeline>li{position:relative}.timeline>li:before{content:"";position:absolute;top:19px;height:1px;background:#c9cfbf;left:0;right:0}.timeline>li:first-child:before{left:18px}.timeline>li:last-child:before{right:18px}.timeline-node{position:relative;text-align:left;display:flex;align-items:flex-start;flex-direction:column;background:none;border:0;padding:0 16px 0 0;text-decoration:none;min-width:108px;color:var(--ink)}.timeline-dot{width:38px;height:38px;display:grid;place-items:center;border:6px solid var(--paper);background:#e6e9dc;border-radius:50%;position:relative;font-size:12px;color:#73816b;margin-bottom:13px}.timeline-node.current .timeline-dot{background:var(--green);color:#faf6e6;box-shadow:0 0 0 1px #8caa95}.timeline-node.complete .timeline-dot{background:var(--yellow);color:#4a552f}.timeline-node.future{color:#7b837a}.timeline-node.future .timeline-dot{background:var(--paper);outline:1px dashed #b5bdae;outline-offset:-6px}.timeline-year{font-size:10px;color:var(--muted);letter-spacing:.7px;margin-bottom:5px}.timeline-name{font-size:12px;font-weight:600;line-height:1.4}.timeline-concept{font-size:10px;line-height:1.5;color:var(--muted);margin-top:5px}.timeline-legend{font-size:10px;color:var(--muted);margin-top:-5px}.featured-row{display:grid;grid-template-columns:1.8fr 1fr;gap:20px;margin-top:28px}.featured{display:grid;grid-template-columns:.9fr 1.3fr;gap:27px;align-items:center;border:1px solid var(--line);border-radius:13px;background:var(--white);padding:22px}.featured .card-illustration{height:190px;border-radius:8px}.featured h3{font-family:Georgia,serif;font-size:30px;margin-bottom:9px}.featured p{font-size:12px;color:var(--muted);line-height:1.8}.featured .eyebrow{font-size:9px;color:#937433;margin-bottom:8px}.featured .btn{margin-top:4px}.notebook-teaser{background:#e9eee2;border-radius:13px;padding:27px;display:flex;flex-direction:column;justify-content:center;position:relative}.notebook-icon{width:42px;height:44px;color:var(--green);margin-bottom:18px}.notebook-teaser h3{font-family:Georgia,serif;font-size:25px;margin-bottom:10px}.notebook-teaser p{color:var(--muted);font-size:12px;max-width:260px}.notebook-teaser .text-link{font-size:12px;font-weight:600;align-self:flex-start}.method-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:47px;margin-bottom:54px;border-top:1px solid var(--line);padding-top:25px}.method-item{display:flex;gap:14px}.method-number{font-family:Georgia,serif;font-style:italic;font-size:23px;color:#9a8e6f}.method-item h3{font-size:13px;margin-bottom:7px;font-weight:600}.method-item p{font-size:11px;color:var(--muted);max-width:255px;margin-bottom:0}
.page-intro{padding-top:48px;margin-bottom:28px}.page-intro h1{font-size:clamp(38px,5vw,56px);margin-bottom:15px}.page-intro p{color:var(--muted);max-width:600px;font-size:14px}.page-intro.split{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.filters{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;margin-bottom:28px}.filter-buttons{display:flex;gap:6px;flex-wrap:wrap}.chip{font-size:12px;min-height:35px;border-radius:25px;padding:7px 15px;border:1px solid transparent;background:none;color:var(--muted)}.chip[aria-pressed=true]{background:var(--green);color:white}.chip:not([aria-pressed=true]):hover{background:#e9ede2}.search-wrap{position:relative;width:245px;max-width:100%}.search-wrap svg{position:absolute;top:13px;left:12px;width:16px;height:16px;color:#7c897b}.search-input{width:100%;border:1px solid var(--line);background:var(--white);border-radius:6px;padding:10px 12px 10px 36px;font-size:12px}.game-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-bottom:50px}.game-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--white);transition:box-shadow .2s,transform .2s;display:flex;flex-direction:column;min-width:0}.game-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}.card-illustration{height:179px;position:relative;display:grid;place-items:center;overflow:hidden;background:var(--sand)}.card-illustration:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#6273560c 1px,transparent 1px),linear-gradient(90deg,#6273560c 1px,transparent 1px);background-size:22px 22px}.card-illustration>svg{height:100%;width:100%;position:relative}.accent-sand{background:var(--sand)}.accent-sage{background:var(--sage)}.accent-sky{background:var(--sky)}.accent-rose{background:var(--rose)}.accent-violet{background:var(--violet)}.card-year{position:absolute;top:12px;left:14px;z-index:1;background:#fffef4c7;backdrop-filter:blur(5px);padding:4px 9px;border-radius:4px;font-size:9px;letter-spacing:.8px}.card-earned{position:absolute;top:12px;right:12px;z-index:1;background:var(--green);color:#f0d784;border-radius:20px;padding:4px 9px;font-size:11px}.card-body{padding:22px;display:flex;flex:1;flex-direction:column}.card-topic{font-size:9px;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted);margin-bottom:9px}.card-body h3{font-family:Georgia,serif;font-size:26px;margin-bottom:11px}.card-body p{font-size:12px;line-height:1.75;color:var(--muted);margin-bottom:18px}.card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:14px;border-top:1px solid #eaecdf;font-size:11px;color:var(--muted);gap:10px}.card-play{display:grid;place-items:center;border:1px solid #c9d2c1;border-radius:50%;width:31px;height:31px;text-decoration:none;font-size:17px;color:var(--green);flex:none}.card-play:hover{background:var(--green);color:white}.card-title-link{text-decoration:none}.game-card.future{background:#f4f4ee}.game-card.future .card-illustration{filter:saturate(.45);opacity:.77}.coming-label{font-size:9px;letter-spacing:.5px;text-transform:uppercase;border:1px dashed #bfc5b7;border-radius:20px;padding:4px 8px;color:#687369}.catalogue-count{margin-bottom:13px;font-size:11px;color:var(--muted)}
.game-header{padding:27px 0 24px}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted);margin-bottom:24px}.breadcrumb a{text-decoration:none}.game-title-row{display:flex;justify-content:space-between;align-items:center;gap:20px}.game-title-row h1{font-size:clamp(32px,4vw,49px);letter-spacing:-1.5px;margin-bottom:10px}.game-title-row p{color:var(--muted);font-size:13px;max-width:690px;margin-bottom:0}.game-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}.tag{font-size:10px;padding:4px 10px;border:1px solid var(--line);border-radius:20px;color:var(--muted);background:var(--white)}.game-status{white-space:nowrap;text-align:right;min-width:110px}.game-status .stars{font-size:22px;display:block;letter-spacing:4px;color:#a48239}.game-status .small{color:var(--muted)}.game-host{margin-bottom:22px}.lab-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr);gap:22px;align-items:start}.lab-stage{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:20px;min-width:0;overflow:hidden}.lab-stage>svg{display:block;width:100%;height:auto}.lab-controls{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:25px;min-width:0}.lab-controls h2{font-family:Georgia,serif;font-size:25px;letter-spacing:-.4px}.lab-controls h3{font-size:18px}.lab-controls p{font-size:13px}.challenge-box{background:#eef1e7;border:1px solid #dbe2d0;padding:17px;border-radius:9px;margin:16px 0;font-size:13px}.lab-feedback{font-size:13px;line-height:1.65;margin-top:14px;padding:12px 14px;border-radius:7px;background:#eef1e8;min-height:24px}.lab-feedback:empty{display:none}.lab-readout{padding:13px 15px;border:1px solid var(--line);background:#f7f8f1;border-radius:8px;font-size:13px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--ink);margin:15px 0}.field input:not([type=range]):not([type=radio]):not([type=checkbox]),.field select,.field textarea{background:var(--white);border:1px solid #bfcbb7;border-radius:6px;padding:10px 12px;min-width:0;width:100%}input[type=range]{width:100%;accent-color:var(--green);min-height:30px}input[type=number]{max-width:100%}input[type=radio],input[type=checkbox]{accent-color:var(--green)}.lab-layout svg text{font-family:inherit}.session-award{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #c5d4b7;border-radius:12px;padding:20px 24px;background:#e9eedf;margin-top:22px}.session-award h2{font-size:24px;margin-bottom:5px}.session-award p{font-size:12px;color:var(--muted);margin:0}.game-bottom{display:flex;justify-content:space-between;gap:25px;align-items:center;border-top:1px solid var(--line);padding:24px 0 38px;margin-top:30px}.game-bottom p{font-size:11px;color:var(--muted);max-width:580px;margin:0}.game-bottom a{font-size:12px;white-space:nowrap}.game-bottom details{font-size:12px;max-width:760px}.game-bottom summary{cursor:pointer;color:var(--green)}.game-bottom details p{margin-top:10px}.loading-state{padding:90px 25px;text-align:center;color:var(--muted)}.loading-state .brand-symbol{margin:0 auto 20px}.empty-state{text-align:center;padding:75px 30px;max-width:670px;margin:auto}.empty-state h1{font-size:42px}.empty-state p{color:var(--muted)}
.book-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--green);color:var(--white);border-radius:14px;padding:27px 31px;margin-bottom:27px}.book-summary h2{font-size:27px;margin-bottom:7px}.book-summary p{font-size:12px;color:#c2d7c9;margin:0}.book-numbers{display:flex;gap:29px}.book-number{font-family:Georgia,serif;font-size:36px;line-height:1.25;color:#f3d57c}.book-number span{display:block;font-family:inherit;font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#d8e4d9;white-space:nowrap}.discovery-list{display:grid;gap:17px;margin-bottom:50px}.discovery-entry{display:grid;grid-template-columns:125px 1fr auto;align-items:start;gap:27px;background:var(--white);border:1px solid var(--line);border-radius:12px;padding:25px}.discovery-entry .card-illustration{height:125px;border-radius:8px}.discovery-entry h3{font-family:Georgia,serif;font-size:26px;margin-bottom:9px}.discovery-entry blockquote{font-family:Georgia,serif;font-size:17px;line-height:1.65;margin:0 0 12px}.discovery-entry .eyebrow{font-size:9px;margin-bottom:8px}.discovery-entry .entry-meta{font-size:10px;color:var(--muted)}.discovery-entry .stars{color:#a07d2a;font-size:16px;letter-spacing:2px;white-space:nowrap}.empty-book{border:1px dashed #bdc9b4;border-radius:14px;padding:45px 30px;text-align:center;margin-bottom:50px}.empty-book svg{width:55px;height:55px;margin-bottom:20px}.empty-book h2{font-size:31px;margin-bottom:13px}.empty-book p{font-size:13px;color:var(--muted);max-width:470px;margin:0 auto 23px}.prose-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:50px;margin-bottom:50px}.prose-layout h2{font-size:28px;margin-top:32px;margin-bottom:15px}.prose-layout h2:first-child{margin-top:0}.prose-layout p,.prose-layout li{font-size:13px;color:var(--muted);line-height:1.9}.prose-layout ul{padding-left:20px}.info-card{border:1px solid var(--line);border-radius:12px;background:var(--white);padding:25px;margin-bottom:19px}.info-card h3{font-family:Georgia,serif;font-size:25px;margin-bottom:13px}.info-card p:last-child{margin-bottom:0}.source-list{padding-left:18px!important}.source-list li{margin-bottom:10px}
.site-footer{border-top:1px solid var(--line);max-width:1244px;padding:26px 38px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:10px;color:var(--muted)}.site-footer>div{display:flex;align-items:center;gap:19px;flex-wrap:wrap}.site-footer a{text-decoration:none}.footer-brand{font-weight:600;font-size:12px;color:var(--green)}.local-indicator{display:flex;align-items:center;gap:6px;font-size:9px}.local-indicator i{width:5px;height:5px;border-radius:50%;background:#7b996a}.site-footer .text-button{text-decoration:none}.noscript{padding:30px;text-align:center;background:#ffeab6}
dialog{border:1px solid #d4d8c7;border-radius:16px;background:var(--paper);color:var(--ink);padding:0;max-width:min(640px,calc(100vw - 28px));width:100%;max-height:90dvh;box-shadow:0 24px 100px #112e3140}dialog::backdrop{background:#17372d69;backdrop-filter:blur(4px)}.dialog-shell{padding:30px}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.dialog-heading h2{font-size:31px;margin-bottom:8px}.dialog-heading .eyebrow{margin-bottom:10px;font-size:9px}.dialog-heading p{font-size:12px;color:var(--muted);margin-bottom:0}.dialog-body p{font-size:13px;color:var(--muted)}.dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:20px;margin-top:20px;border-top:1px solid var(--line)}.profile-list{display:grid;gap:8px;margin:18px 0}.profile-row{display:flex;align-items:center;gap:12px;background:var(--white);padding:11px 12px;border:1px solid var(--line);border-radius:9px}.profile-row.selected{border-color:#628865;background:#eaf0e2}.profile-row .profile-select{display:flex;align-items:center;text-align:left;gap:12px;flex:1;min-width:0;background:none;border:0;padding:0;color:var(--ink)}.profile-row .profile-info{overflow:hidden}.profile-row strong{font-size:13px;display:block;overflow:hidden;text-overflow:ellipsis}.profile-row .small{font-size:10px;color:var(--muted)}.profile-form{display:flex;align-items:flex-end;gap:10px;margin:15px 0}.profile-form .field{flex:1;margin:0}.profile-form .btn{height:44px}.data-actions{display:flex;gap:10px;flex-wrap:wrap}.data-notice{font-size:11px!important;margin-top:12px;color:var(--muted)}.error-message{color:#9f472c!important;font-size:12px;min-height:18px}.assessment-progress{display:flex;gap:6px;margin-bottom:25px}.assessment-progress span{height:4px;flex:1;background:#e0e4d7;border-radius:5px}.assessment-progress span.active{background:var(--green)}.assessment-visual{display:grid;place-items:center;min-height:95px;background:#e8edde;border-radius:10px;padding:18px;font-family:Georgia,serif;font-size:29px;margin:17px 0}.assessment-prompt{font-family:Georgia,serif;font-size:24px;line-height:1.45;margin-bottom:18px}.answer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:20px 0}.answer-option{display:block;text-align:left;background:var(--white);border:1px solid #c9d1bd;border-radius:7px;padding:13px 16px;color:var(--ink);font-size:13px;min-height:51px}.answer-option:hover{border-color:var(--green);background:#edf1e6}.answer-option[data-result=correct]{border-color:#66895d;background:#e3ecda}.answer-option[data-result=incorrect]{border-color:#c99573;background:#f4e4d9}.assessment-feedback{background:#e8eedf;border-radius:9px;font-size:13px;line-height:1.8;padding:16px;margin-top:15px}.recommendation-card{border:1px solid var(--line);border-radius:10px;background:var(--white);overflow:hidden;margin:18px 0}.recommendation-card .card-illustration{height:170px}.recommendation-card .rec-body{padding:20px}.recommendation-card h3{font-family:Georgia,serif;font-size:28px;margin-bottom:9px}.recommendation-card p{margin-bottom:0}.toast-stack{position:fixed;right:24px;bottom:22px;z-index:100;display:grid;gap:8px;max-width:min(420px,calc(100vw - 32px))}.toast{background:var(--green);color:var(--white);padding:14px 19px;border-radius:9px;box-shadow:var(--shadow);font-size:12px;border:1px solid #6b9083}.toast.error{background:#754735}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1500px){.hero{padding-top:66px;padding-bottom:55px}.hero h1{font-size:77px}}
@media(max-width:1050px){.header-inner{padding:19px 25px;gap:18px}.main-nav{gap:18px;font-size:12px}.container{padding:0 26px}.hero{gap:26px}.hero h1{font-size:57px}.hero .btn{font-size:12px;padding:11px 15px}.featured-row{grid-template-columns:1.65fr 1fr}.featured{gap:18px;padding:18px}.featured h3{font-size:25px}.featured .card-illustration{height:180px}.game-grid{gap:17px}.card-body{padding:18px}.card-body h3{font-size:24px}.lab-layout{grid-template-columns:minmax(0,1.2fr) minmax(275px,1fr)}.site-footer{padding:25px 26px;align-items:flex-start}.site-footer>div{gap:12px}.timeline{grid-template-columns:repeat(7,minmax(116px,1fr))}}
@media(max-width:800px){.header-inner{flex-wrap:wrap;gap:15px;padding-bottom:0}.brand{font-size:26px}.brand-symbol{width:41px;height:41px;font-size:33px}.brand-small{font-size:7px}.main-nav{order:3;width:100%;justify-content:center;gap:29px;border-top:1px solid var(--line);padding-top:4px}.main-nav a{padding:11px 0;font-size:12px}.hero{padding-top:32px;grid-template-columns:1.15fr 1fr;gap:22px}.hero h1{font-size:46px;letter-spacing:-1.8px}.hero-copy>p{font-size:13px}.hero .button-row{gap:9px}.hero-note{font-size:10px}.hero-caption{font-size:8px;letter-spacing:.3px}.ribbon{font-size:10px;gap:13px;flex-wrap:wrap}.featured-row{grid-template-columns:1fr}.notebook-teaser{display:grid;grid-template-columns:42px 1fr;gap:0 20px;padding:22px}.notebook-icon{grid-row:1/4;margin:0}.notebook-teaser h3{font-size:24px;margin-bottom:5px}.notebook-teaser p{max-width:none;margin-bottom:8px}.method-strip{gap:15px}.method-item{gap:10px}.method-number{font-size:20px}.method-item p{font-size:10px}.game-grid{grid-template-columns:repeat(2,1fr)}.lab-layout{grid-template-columns:1fr}.lab-controls{padding:23px}.game-title-row{align-items:flex-start}.game-status{min-width:85px}.game-status .stars{font-size:18px;letter-spacing:2px}.prose-layout{grid-template-columns:1fr;gap:15px}.site-footer{flex-direction:column;gap:13px}.discovery-entry{grid-template-columns:92px 1fr;gap:18px}.discovery-entry .card-illustration{height:100px}.discovery-entry>.entry-actions{grid-column:2;display:flex;gap:20px;align-items:center}.book-summary{padding:24px;gap:17px}.book-numbers{gap:17px}.book-number{font-size:29px}.section{padding-top:37px}}
@media(max-width:560px){:root{font-size:14px}.header-inner{padding:16px 18px 0;gap:13px}.brand{font-size:25px}.player-button{font-size:10px;padding-right:9px;max-width:146px}.player-button #player-name{max-width:73px}.main-nav{gap:23px}.main-nav a{font-size:11px}.nav-count{width:16px;height:16px;font-size:9px;margin-left:4px}.container{padding:0 20px}.hero{grid-template-columns:1fr;gap:25px;padding-top:30px;padding-bottom:24px}.hero h1{font-size:55px;letter-spacing:-2px;margin-bottom:17px}.hero-copy>p{max-width:350px;font-size:13px;margin-bottom:21px}.hero .eyebrow{font-size:9px;margin-bottom:14px}.hero .btn{min-height:44px}.hero-note{margin-top:16px}.hero-art{max-width:430px;margin:auto;width:100%}.hero-art img{max-height:330px;object-fit:contain}.hero-caption{font-size:8px;margin-top:10px}.ribbon{padding:14px 0;gap:10px;font-size:10px;justify-content:flex-start}.ribbon>span{gap:5px}.ribbon>span:last-child{display:none}.section-head{align-items:flex-start;gap:13px}.section-head h2{font-size:29px}.section-head .eyebrow{font-size:8px}.section-head p{font-size:11px}.section-head .btn{font-size:10px;min-height:30px;padding-top:5px}.featured{grid-template-columns:1fr;gap:18px;padding:17px}.featured .card-illustration{height:185px}.featured h3{font-size:28px}.featured p{font-size:12px}.method-strip{grid-template-columns:1fr;gap:20px;margin-top:33px;margin-bottom:36px}.method-item p{font-size:11px;max-width:none}.method-number{font-size:22px;min-width:23px}.method-item h3{font-size:13px}.page-intro{padding-top:31px}.page-intro h1{font-size:43px;letter-spacing:-1.5px}.page-intro.split{display:block}.page-intro.split .button-row{margin-top:20px}.page-intro p{font-size:12px}.filters{align-items:stretch;flex-direction:column;gap:13px}.filter-buttons{gap:2px}.chip{font-size:11px;padding:7px 13px}.search-wrap{width:100%}.game-grid{grid-template-columns:1fr;gap:19px}.card-illustration{height:194px}.card-body{padding:21px}.card-body h3{font-size:28px}.card-body p{font-size:13px}.card-footer{font-size:12px}.game-header{padding-top:22px}.breadcrumb{margin-bottom:20px}.game-title-row{display:block}.game-title-row h1{font-size:38px}.game-title-row p{font-size:12px}.game-status{margin-top:16px;display:flex;align-items:center;text-align:left;gap:10px}.game-status .stars{font-size:16px}.lab-stage{padding:12px}.lab-controls{padding:18px}.game-bottom{align-items:flex-start;flex-direction:column;gap:17px}.session-award{align-items:flex-start;flex-direction:column;padding:20px}.book-summary{display:block;padding:25px}.book-numbers{margin-top:20px;gap:40px}.book-number{font-size:33px}.discovery-entry{display:block;padding:22px}.discovery-entry .card-illustration{width:88px;height:80px;float:right;margin:0 0 8px 12px}.discovery-entry h3{font-size:26px}.discovery-entry blockquote{font-size:16px}.discovery-entry .entry-actions{display:flex;gap:20px;align-items:center;margin-top:15px}.dialog-shell{padding:22px}.dialog-heading h2{font-size:28px}.assessment-prompt{font-size:22px}.assessment-visual{font-size:25px}.answer-option{font-size:12px;padding:12px;min-height:50px}.profile-form{align-items:stretch;flex-direction:column}.dialog-footer .btn{font-size:11px;padding:10px 12px}.site-footer{padding:22px 20px;font-size:10px}.site-footer>div{gap:11px}.toast-stack{right:16px;bottom:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}.btn:hover,.game-card:hover{transform:none}}
@media print{.site-header,.site-footer,.toast-stack,.button-row,.entry-actions,dialog{display:none}.container{max-width:none;padding:0}.book-summary{background:none;color:black;border:1px solid #ddd}.book-summary p,.book-number,.book-number span{color:black}.discovery-entry{break-inside:avoid}.page-intro{padding-top:0}body{background:white}}

/* Music stays outside the changing game DOM, with native keyboard controls. */
.music-panel{position:sticky;top:0;z-index:20;border-bottom:1px solid var(--line);background:#f8f7f1f5;backdrop-filter:blur(12px)}
.music-panel[hidden]{display:none!important}
.music-panel-inner{max-width:1244px;margin:auto;padding:10px 38px;display:flex;align-items:center;gap:18px}
.music-toggle{display:flex;align-items:center;justify-content:center;gap:9px;flex:0 0 auto;min-height:44px;min-width:128px;padding:9px 14px;border:1px solid #becbbb;border-radius:9px;background:var(--white);color:var(--green);font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.music-toggle:hover{background:#eaf0e2;border-color:var(--green)}
.music-toggle svg{width:21px;height:21px;flex:0 0 21px}
.music-toggle .music-waves,.music-toggle[data-playing="true"] .music-slash{display:none}
.music-toggle[data-playing="true"] .music-waves{display:block}
.music-caption{display:flex;flex-direction:column;min-width:0;flex:1;line-height:1.5}
.music-caption strong{font-size:12px;font-weight:600;color:var(--green)}
.music-caption span{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.music-adjustments{display:flex;align-items:center;gap:10px;flex:0 0 auto;font-size:11px;color:var(--muted)}
.music-adjustments label{font-size:11px}
.music-adjustments input[type="range"]{width:110px;min-height:36px;margin:0;accent-color:var(--green);cursor:pointer}
.music-adjustments output{min-width:30px;text-align:right;font-variant-numeric:tabular-nums}
.music-credits-link{min-height:36px;margin-left:4px;font-size:11px;white-space:nowrap}
.music-credit{padding:14px 0;border-bottom:1px solid var(--line);margin-bottom:12px}
.music-credit h3{font-family:Georgia,serif;font-size:22px;margin:0 0 8px}
.music-credit p{margin:5px 0}
.game-host h2,.game-host [tabindex="-1"],.erato-storybook{scroll-margin-top:100px}
@media(max-width:800px){.music-panel-inner{padding-right:26px;padding-left:26px;gap:12px}.music-adjustments input[type="range"]{width:85px}.music-toggle{min-width:116px;padding:9px 10px}}
@media(max-width:560px){.music-panel-inner{padding:8px 20px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 12px}.music-toggle{min-width:110px;font-size:11px}.music-caption strong{font-size:11px}.music-caption span{font-size:10px}.music-adjustments{grid-column:1/-1;gap:10px;justify-content:flex-start}.music-adjustments input[type="range"]{flex:1;min-width:70px;max-width:180px}.music-credits-link{margin-left:auto}.game-host h2,.game-host [tabindex="-1"],.erato-storybook{scroll-margin-top:130px}}
@media print{.music-panel{display:none!important}}

/* Shared lives and the single timed Continue decision. */
.level-lives{display:inline-flex;align-items:center;gap:.4rem;color:#944b39;white-space:nowrap;font-size:.85rem}
.level-lives>span{font-size:1.2rem;letter-spacing:.1em}
.level-failure-overlay[hidden]{display:none!important}
.level-failure-overlay{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:rgba(15,34,31,.72);overflow:auto}
.level-failure-card{width:min(100%,480px);padding:clamp(22px,5vw,38px);background:#fffaf0;color:#203b34;border:1px solid #d1c8ac;border-radius:20px;box-shadow:0 18px 70px #0005}
.level-failure-card h2{margin:12px 0;font-size:clamp(1.5rem,5vw,2rem)}
.level-failure-card p{line-height:1.6}
.level-failure-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.level-failure-actions button{min-height:48px;flex:1 1 160px}
.level-decision-time{padding:12px;background:#efe7d3;border-radius:10px}
@media(max-width:480px){.level-nav-heading{flex-wrap:wrap}.level-nav-heading .level-total{flex:1 0 100%;max-width:none;text-align:left;white-space:nowrap}.level-lives{margin-left:auto}.level-failure-overlay{padding:12px}}

/* A player's shared lives and game coins, visible before choosing a chapter. */
.header-player-group{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-shrink:0}
.header-play-balance{display:flex;align-items:center;gap:12px;min-height:38px;padding:6px 11px;background:#fffdf5;border:1px solid #dcdcc9;border-radius:24px;color:var(--ink);font-size:12px}
.header-play-balance:hover{background:#f0eddf;border-color:#b6bda6}
.header-lives,.header-coins{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.header-lives svg,.header-coins svg{width:18px;height:18px;flex:none}
.header-lives svg{color:#a45b46}.header-coins svg{color:#b48128}.coin-inner{color:#ffe6a5}
.arcade-wallet{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;align-items:center;gap:22px 28px;padding:27px 30px 0;border:1px solid #d2dbc4;border-radius:18px;background:linear-gradient(110deg,#eef2e5,#faf9ef);margin:2px 0 30px;box-shadow:0 6px 24px #334b3207}
.wallet-heading .eyebrow{font-size:9px;margin-bottom:9px;letter-spacing:1.6px}
.wallet-heading h2{font-size:30px;letter-spacing:-.8px;margin-bottom:10px}
.wallet-heading p{max-width:350px;margin:0;color:#59685a;font-size:12px;line-height:1.7}
.wallet-resources{display:flex;gap:12px}
.wallet-resource{display:flex;align-items:center;gap:12px;flex:1;min-width:0;padding:16px 14px;background:#fffef9c9;border:1px solid #e0e2d4;border-radius:12px}
.wallet-resource-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:#f4e4d9;color:#9d5946}
.wallet-resource-icon svg{width:23px;height:23px}
.wallet-resource-coins .wallet-resource-icon{background:#f4e9c5;color:#a57827}
.wallet-resource-label{display:block;font-size:11px;white-space:nowrap;font-weight:650;color:#576451}
.wallet-resource-number{display:flex;align-items:baseline;gap:4px;line-height:1.2;margin:3px 0}
.wallet-resource-number strong{font-family:Georgia,serif;font-size:38px;font-weight:500;letter-spacing:-1px}
.wallet-resource-number>span{font-size:14px;color:#78816f}
.wallet-resource-detail{display:block;font-size:9px;line-height:1.5;color:#6b7565}
.wallet-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;max-width:180px}
.wallet-actions .btn{font-size:12px;padding:10px 14px}
.wallet-actions [hidden]{display:none!important}
.wallet-save-note{display:block;max-width:180px;color:#717a68;font-size:10px;text-align:center;line-height:1.6}
.wallet-welcome{grid-column:1/-1;display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:13px 0 15px;border-top:1px solid #d8dfcc;color:#5b6854;font-size:11px;line-height:1.7}
.wallet-welcome-label{text-transform:uppercase;font-size:8px;letter-spacing:1.3px;font-weight:650;color:#78816d}
.wallet-welcome strong{font-weight:650;color:#4e6148}
.wallet-welcome>span>span[aria-hidden]{margin:0 5px;color:#8a977d}
.chapter-entry-gate{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr);gap:38px;align-items:center;max-width:980px;margin:0 auto 65px;padding:30px;border:1px solid var(--line);border-radius:18px;background:var(--white)}
.chapter-entry-gate>.card-illustration{height:360px;border-radius:12px;overflow:hidden}
.chapter-entry-gate h1{font-size:clamp(35px,4vw,50px);letter-spacing:-1.5px}
.chapter-entry-gate p{color:var(--muted);font-size:14px}
.chapter-entry-gate .eyebrow{font-size:9px}
.entry-gate-balance{display:flex;gap:22px;flex-wrap:wrap;padding:13px 0;font-size:13px!important;color:var(--ink)!important}
.economy-dialog{max-width:min(590px,calc(100vw - 28px))}
.economy-dialog .dialog-heading .icon-button{flex:none}
.economy-dialog .dialog-heading h2{font-size:32px;letter-spacing:-.8px}
.economy-dialog [tabindex="-1"]:focus{outline:none}
.refill-lives-visual{display:flex;justify-content:center;gap:14px;margin:21px 0 25px}
.refill-lives-visual>span{display:grid;place-items:center;width:66px;height:66px;background:#eeece3;border:1px solid #dfddd1;border-radius:50%;color:#c5c5b5}
.refill-lives-visual>span.filled{background:#f4e1d5;border-color:#e5caba;color:#a55c46}
.refill-lives-visual svg{width:35px;height:35px}
.refill-breakdown{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 20px;padding:18px 8px;background:#efefe5;border:1px solid #dedfce;border-radius:12px}
.refill-breakdown>div{padding:0 10px;text-align:center;border-right:1px solid #d9ddcc}
.refill-breakdown>div:last-child{border-right:0}
.refill-breakdown dt{font-size:11px;line-height:1.5;min-height:33px;color:#64705c}
.refill-breakdown dd{font-family:Georgia,serif;font-size:35px;margin:7px 0 0;line-height:1.1}
.refill-breakdown .refill-shortfall{color:#95523a}
.refill-breakdown .refill-shortfall dt{color:#95523a}
.dialog-body .refill-explanation{line-height:1.75;margin:0;color:#5d6d5b}
.economy-dialog-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.economy-dialog-actions .btn{font-size:12px}
.economy-dialog-actions .btn-ghost{margin-left:auto}
.coin-shop-balance{display:flex;align-items:center;justify-content:center;gap:18px;padding:24px;margin:16px 0 20px;border:1px solid #e3d5aa;border-radius:14px;background:#faf0d3}
.coin-shop-icon{display:block;width:61px;height:61px;color:#b98730;flex:none}
.coin-shop-balance>div>span{display:block;text-transform:uppercase;font-weight:600;letter-spacing:1.4px;font-size:9px;color:#8a7346}
.coin-shop-balance strong{display:block;font-family:Georgia,serif;font-size:42px;font-weight:500;color:#6f5725;line-height:1.35}
.coin-shop-balance small{font-family:Inter,"Avenir Next",sans-serif;font-size:14px;font-weight:500}
.dialog-body .economy-rule{text-align:center;font-size:12px;margin:0 0 22px;line-height:1.7}
.coin-shop-notice{padding:18px 20px;border:1px solid #d4ddc9;border-radius:10px;background:#eaf0e2;color:#375741}
.coin-shop-notice strong{font-size:14px}.coin-shop-notice p{margin:5px 0 0;font-size:12px;color:#58705a}
.wallet-welcome-dialog{display:block;border-top:0;padding:18px 0 0;font-size:11px}
.wallet-welcome-dialog .wallet-welcome-label{display:block;margin-bottom:6px}
.dialog-body .economy-error{color:#924d35;font-size:12px;margin:14px 0 0}
@media(max-width:1100px){.header-player-group{gap:9px}.header-play-balance{gap:8px;padding:5px 8px}.arcade-wallet{grid-template-columns:minmax(0,1fr) auto;gap:20px 24px}.wallet-heading{grid-column:1/-1}.wallet-heading p{max-width:620px}.wallet-resources{max-width:460px}.wallet-resource{padding:15px 20px}.wallet-welcome{gap:7px 16px}}
@media(min-width:801px) and (max-width:1050px){.header-player-group{flex-direction:column-reverse;gap:5px}.header-play-balance{min-height:28px;font-size:10px;padding:3px 9px}.header-play-balance svg{width:15px;height:15px}}
@media(max-width:800px){.header-player-group{margin-left:auto}.chapter-entry-gate{gap:24px;padding:22px;grid-template-columns:minmax(160px,.7fr) minmax(0,1.3fr)}.chapter-entry-gate>.card-illustration{height:310px}}
@media(max-width:560px){.header-player-group{flex-direction:column-reverse;gap:5px}.header-play-balance{min-height:28px;padding:3px 10px;font-size:10px}.header-play-balance svg{width:15px;height:15px}.arcade-wallet{display:flex;flex-direction:column;align-items:stretch;padding:21px 19px 0;gap:20px;margin-top:23px;margin-bottom:23px}.wallet-heading h2{font-size:29px}.wallet-heading p{font-size:12px}.wallet-resources{gap:10px}.wallet-resource{padding:13px 10px;gap:9px}.wallet-resource-icon{width:30px;height:30px}.wallet-resource-icon svg{width:20px;height:20px}.wallet-resource-number strong{font-size:34px}.wallet-resource-detail{font-size:8px}.wallet-actions{max-width:none;align-items:stretch}.wallet-actions .btn{min-height:44px}.wallet-save-note{max-width:none}.wallet-welcome{display:block;font-size:10px;padding-top:12px}.wallet-welcome-label{display:block;font-size:8px;margin-bottom:5px}.chapter-entry-gate{grid-template-columns:1fr;margin-bottom:35px;padding:19px;gap:22px}.chapter-entry-gate>.card-illustration{height:210px}.chapter-entry-gate h1{font-size:36px}.chapter-entry-gate p{font-size:12px}.chapter-entry-gate .button-row{align-items:stretch;flex-direction:column}.economy-dialog .dialog-heading h2{font-size:28px}.economy-dialog .dialog-shell{padding:23px 20px}.refill-breakdown{padding:16px 2px}.refill-breakdown>div{padding:0 6px}.refill-breakdown dt{font-size:10px}.refill-breakdown dd{font-size:31px}.economy-dialog-actions .btn{flex:1 1 120px;min-height:45px}.economy-dialog-actions .btn-ghost{flex-basis:100%;margin:0}.coin-shop-balance{padding:20px 13px;gap:13px}.coin-shop-balance strong{font-size:38px}.coin-shop-balance small{font-size:13px}}
@media(max-width:420px){.header-inner{column-gap:8px}.header-player-group{max-width:126px}.header-player-group .player-button{max-width:126px}.header-player-group .player-button #player-name{max-width:55px}.brand{font-size:23px;gap:8px}.brand-symbol{width:36px;height:36px;font-size:30px}.brand-small{font-size:6px;letter-spacing:1.7px}}
@media(max-width:560px){.economy-dialog-actions .btn-primary{flex-basis:100%}.economy-dialog-actions .btn-ghost{flex-basis:auto}}
@media(max-width:360px){.brand{font-size:21px;gap:6px}.brand-symbol{width:32px;height:32px;font-size:27px}.brand-small{font-size:5.5px;letter-spacing:1.3px}.header-player-group{max-width:116px}.header-player-group .player-button{max-width:116px;gap:6px}.main-nav{gap:12px;justify-content:space-between}.main-nav a{font-size:10px;white-space:nowrap}.nav-count{width:14px;height:14px;font-size:8px;margin-left:3px}.wallet-resource{gap:7px}.wallet-resource-icon{width:25px;height:25px}.wallet-resource-icon svg{width:17px;height:17px}.wallet-resource-label{font-size:10px}.wallet-resource-number strong{font-size:31px}}
@media print{.arcade-wallet,.economy-dialog{display:none!important}}

/* Supabase trial account options in the existing player dialog. */
.cloud-account { margin-top: 22px; border-top: 1px solid var(--border, #d8ddd6); padding-top: 20px; }
.cloud-account h3 { font-size: 1.05rem; margin: 8px 0; overflow-wrap: anywhere; }
.cloud-account > p { font-size: 0.9rem; line-height: 1.5; }
.cloud-account-form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 14px 0; }
.cloud-account-form .field { flex: 1 1 190px; min-width: 0; }
.cloud-account-form .field input { display: block; max-width: 100%; width: 100%; margin-top: 4px; }
.cloud-account-form .btn { flex: 0 0 auto; }
@media (max-width: 490px) { .cloud-account-form { flex-direction: column; align-items: stretch; } .cloud-account-form .field { flex-basis: auto; width: 100%; } }
