@charset "UTF-8";
:root{--cream:#fff9f0;--paper:#f8f1e8;--plum:#32164f;--purple:#8150d9;--coral:#f07865;--pink:#ffb4c4;--yellow:#ffd65a;--mint:#9ce8cd;--blue:#a9dff5;--text:#30243a;--muted:#746a78}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--text);font:17px/1.65 system-ui,sans-serif}a{color:inherit;text-underline-offset:4px}button,input,select,textarea{font:inherit;max-width:100%}button,.button{cursor:pointer;display:inline-block;border:2px solid var(--plum);border-radius:10px;padding:11px 20px;background:var(--plum);color:white;text-decoration:none;font-weight:700;line-height:1.4}button:hover,.button:hover{transform:translateY(-2px)}button:disabled{opacity:.5;cursor:default}input,select,textarea{padding:12px;border:1px solid #988b9d;border-radius:8px;background:white;color:var(--text)}label{display:block;margin:12px 0}label input,label select{margin-left:8px}textarea{width:100%;min-height:100px}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,serif;font-weight:500;line-height:1.08;letter-spacing:-.035em}h1{font-size:clamp(40px,5.2vw,76px)}h2{font-size:clamp(32px,3.5vw,48px)}h3{line-height:1.3}small,.muted{color:var(--muted)}header{border-bottom:1px solid #e4dacf;background:var(--cream)}.nav{max-width:1260px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:24px 28px;gap:24px}.brand img{width:188px;display:block}.navlinks{display:flex;gap:25px;align-items:center}.navlinks a{text-decoration:none;font-size:15px;font-weight:650}details{position:relative}summary{cursor:pointer}nav details div{position:absolute;background:white;min-width:210px;z-index:5;padding:18px;box-shadow:0 8px 30px #32164f22}nav details a{display:block;padding:8px}.wrap{max-width:1200px;margin:auto;padding:0 28px}.hero{display:grid;grid-template-columns:1.12fr 1fr;align-items:center;gap:70px;padding-top:65px;padding-bottom:70px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:12px;font-weight:800;color:#6c3a9b;margin-bottom:20px}.hero p{max-width:480px;color:#68596d}.hero-art{width:95%;max-width:480px;height:190px;object-fit:contain;object-position:left}.daily{background:#e7ddfa;border:2px solid var(--plum);border-radius:22px;padding:32px;box-shadow:8px 8px 0 var(--plum);position:relative;transform:rotate(1deg)}.daily h2{font-size:33px}.daily .question{font-family:Georgia,serif;font-size:27px;line-height:1.35;margin:25px 0}.choices{display:grid;gap:12px}.choices button{background:white;color:var(--plum);text-align:left}.daily .reading a{display:inline-flex;align-items:center;min-height:44px;padding:8px 4px}.daily .mini{display:flex;justify-content:space-between;gap:8px;margin-top:20px;font-size:14px}.daily .mini button{padding:5px 10px;background:transparent;color:var(--plum);font-size:14px}.section{padding:65px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}.section-head h2{margin:0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:white;border:1px solid #dfd5e2;border-radius:16px;overflow:hidden;padding:24px}.card a{text-decoration:none}.card p{font-size:15px;color:#665b6c}.card h3{font-size:21px}.category{padding:0;background:var(--paper)}.category img{width:100%;height:155px;object-fit:contain}.category .inside{padding:20px}.category:nth-child(1){background:#fbe2dc}.category:nth-child(2){background:#e6ddf8}.category:nth-child(3){background:#def2e8}.category:nth-child(4){background:#faebbd}.steps{border-top:1px solid #e3d9ce;border-bottom:1px solid #e3d9ce}.number{display:block;color:#b34b3b;font:54px Georgia;margin-bottom:15px}.idea{text-align:center;background:var(--paper);padding:80px 25px}.idea blockquote{font:clamp(30px,4vw,49px)/1.25 Georgia;max-width:850px;margin:20px auto}.idea img{width:70px}.article-card{padding:0}.article-card img{width:100%;height:200px;object-fit:cover}.article-card .inside{padding:24px}.game-link{display:flex;gap:16px;align-items:center}.game-link img{width:60px;height:60px}.strip{background:var(--yellow);padding:25px;text-align:center;display:flex;gap:30px;justify-content:center;flex-wrap:wrap;font-size:14px;font-weight:700}footer{background:var(--plum);color:var(--cream);padding:60px 0 25px}footer .grid{grid-template-columns:1.1fr 1fr 1fr 1fr}footer a{display:block;font-size:13px;color:#e7dcec;margin:8px 0}footer h2{font:700 16px/1.3 system-ui,sans-serif;letter-spacing:normal}footer .brand img{filter:brightness(0) invert(1);margin-bottom:20px}.copyright{border-top:1px solid #ffffff30;margin-top:30px;padding-top:20px;font-size:13px}.page-head{padding:55px 0 30px}.page-head h1{max-width:1000px;font-size:clamp(38px,4.5vw,62px)}.crumb{font-size:13px;color:var(--muted);margin-bottom:24px}.prose{max-width:780px;margin:0 auto;padding-bottom:60px}.prose h2{font-size:33px;margin-top:42px}.prose h3{margin-top:25px}.prose img{display:block;width:100%;height:auto;aspect-ratio:2/1;border-radius:16px}.prose li{margin-bottom:12px}.game-shell{background:#eee6fc;border:2px solid var(--plum);border-radius:20px;padding:30px;min-height:300px;margin-bottom:35px}.game-shell button{margin:6px}.game-shell .card{margin:15px 0}.game-shell h2{font-size:31px}.game-shell ul{padding-left:22px}.game-shell [role=status]{font-weight:700}.game-shell .row{display:flex;gap:12px;flex-wrap:wrap}.game-shell input{min-width:0}.toolbar{display:flex;gap:10px;flex-wrap:wrap}.secondary{background:transparent;color:var(--plum)}dialog{max-width:700px;width:calc(100% - 30px);max-height:85vh;border:2px solid var(--plum);border-radius:16px;padding:28px;background:var(--cream);color:var(--text)}dialog::backdrop{background:#21112c99}.result-list a{display:block;border-bottom:1px solid #dacedd;padding:12px 0}.skip{position:absolute;left:-999px}.skip:focus{left:10px;top:10px;z-index:20;background:white;padding:15px}:focus-visible{outline:3px solid #b95724;outline-offset:4px}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--plum);color:white;padding:12px 22px;border-radius:10px;z-index:99;max-width:90vw}#toast:empty{display:none}.mobile-menu{display:none}.faq details{border-bottom:1px solid #ded3df;padding:15px 0}.faq summary{font-weight:700}.faq p{margin-top:12px}.reading{font-size:13px}.search-input{width:100%}@media(max-width:850px){.hero{gap:30px}.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}footer .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.navlinks{gap:14px}.hero h1{font-size:49px}.daily{padding:22px}.daily .question{font-size:23px}}@media(max-width:600px){body{font-size:16px}.wrap{padding:0 20px}.nav{padding:18px 20px;flex-wrap:wrap;gap:15px}.brand img{width:155px}.mobile-menu{display:block;padding:7px 12px}.navlinks{display:none;width:100%;flex-wrap:wrap}.navlinks.open{display:flex}.hero{grid-template-columns:1fr;padding-top:40px;padding-bottom:45px;gap:25px}.hero h1{font-size:49px}.hero-art{height:150px}.daily{transform:none;margin-right:6px}.section{padding:45px 0}.section-head{display:block}.section-head a{display:block;margin-top:18px}.grid,.grid.four,footer .grid{grid-template-columns:1fr}.category{display:grid;grid-template-columns:110px 1fr;align-items:center}.category img{height:130px}.category .inside{padding:18px}.game-shell{padding:16px}.game-shell button{max-width:100%;white-space:normal}.idea{padding:55px 22px}.section-head h2{font-size:35px}.strip{gap:15px}.page-head{padding-top:35px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.card,.prose,.game-stage{min-width:0;overflow-wrap:anywhere}.game-settings input{width:100%;margin:8px 0}.game-score{font-size:14px}.game-stage h2{line-height:1.3}.game-stage li button{padding:10px 14px;min-width:44px;min-height:44px}

.game-shell{overflow-wrap:anywhere}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.game-settings details{margin:12px 0}.game-settings summary{padding:6px 0}.game-stage [draggable]{padding:8px 0}

/* V1 UX: warm paper, clear setup, individual game controls. */
.game-shell{background:#fffdf9;border:1px solid #dfcdec;border-radius:24px;padding:20px;display:grid;grid-template-columns:270px minmax(0,1fr);gap:20px;align-items:start}
.game-settings{background:linear-gradient(140deg,#f7edff,#efe0ff);border:1px solid #cbb0e7;border-radius:18px;padding:20px;display:block!important;grid-row:span 5}
.game-settings h2{font-size:25px}.game-settings p{font-size:14px}.game-settings input,.game-settings select{width:100%;margin:6px 0}.game-settings button{margin:6px 0;width:100%}.game-settings details{margin:14px 0}
.ux-play-area{min-width:0}.ux-status{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;background:#eee0ff;padding:14px;border-radius:16px;color:#32164f;font-weight:700}.ux-status>*{background:#fff8ee;border-radius:30px;padding:6px 12px}.ux-next{background:#f3e6ff;border-radius:14px;padding:16px;margin:14px 0;color:#32164f}
.game-shell .game-score{font-size:14px;overflow-wrap:anywhere}.game-shell .game-stage{padding:24px;border:1px solid #ddc3f4;background:#fff;border-radius:20px;box-shadow:none}.game-stage h2{font:800 clamp(24px,3vw,34px)/1.25 system-ui;color:#3e164f;letter-spacing:-.03em}.game-stage button{margin:6px 4px;min-height:48px}.game-stage input{width:100%;margin:8px 0}.game-stage li{padding:10px;overflow-wrap:anywhere}.game-stage [data-action^="choice:"]{width:calc(50% - 10px);min-height:160px;vertical-align:top;padding:24px;background:#ffeadf;color:#32164f;border:1px solid #ebc6b9;font-size:21px}.game-stage [data-action="choice:1"]{background:#eee0ff;border-color:#d7b6fb}.game-actions{border-top:1px solid #eadfed;margin-top:24px;padding-top:12px}.game-actions button{background:#faf5ff;color:#32164f;border:1px solid #cdb7db;font-size:15px}.game-shell>details,.game-shell>[data-message]{grid-column:2}.ux-meta{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 22px}.ux-meta span{padding:10px 18px;border:1px solid #dec9e0;border-radius:14px;background:#fffaf5;font-weight:650}.ux-tutorial{max-width:none;margin:30px 0;background:#fffcf8;border:1px solid #eadce5;border-radius:22px;padding:24px}.ux-tutorial h2{font:800 26px/1.3 system-ui;letter-spacing:-.03em}.ux-tutorial nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.ux-tutorial nav a{padding:8px 12px;background:#efe1ff;border-radius:12px;text-decoration:none}.ux-tutorial section{scroll-margin-top:20px;margin:24px 0;padding:20px;background:#fff6eb;border-radius:16px}.ux-tutorial ol{padding-left:28px}.ux-tutorial li{padding:8px}.ux-tutorial li::marker{color:#c54b26;font-weight:900}.ux-tutorial section:nth-of-type(even){background:#f3e6ff}body:has(.game-shell) .page-head h1{font:850 clamp(30px,4vw,48px)/1.1 system-ui;color:#32164f}body:has(.game-shell) .page-head{padding-bottom:24px}
@media(max-width:900px){.game-shell{grid-template-columns:220px minmax(0,1fr);padding:12px;gap:12px}.game-settings{padding:14px}.game-stage [data-action^="choice:"]{width:100%}}
@media(max-width:650px){.game-shell{display:block}.game-settings{margin-bottom:16px}.game-shell .game-stage{padding:16px}.ux-status{display:grid;font-size:14px}.ux-tutorial{padding:14px}.ux-tutorial section{padding:14px}.wrap{padding-left:12px;padding-right:12px}.game-stage button{margin-left:0;margin-right:0}.game-shell>details{margin-top:16px}}
#toast{pointer-events:none}


.game-settings h2{font-family:system-ui;font-weight:800}body:has(.game-shell) .page-head{background-image:url(/assets/mascot.svg);background-size:88px;background-position:right 8% top 30px;background-repeat:no-repeat}@media(max-width:850px){body:has(.game-shell) .page-head{background-image:none}}

/* Information architecture: preserve the established visual system. */
.hierarchy-breadcrumb ol{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0 0 18px}.hierarchy-breadcrumb li{display:flex;gap:8px}.hierarchy-breadcrumb li+li::before{content:'›';color:#746a78}.hierarchy-breadcrumb{font-size:14px}.hierarchy-breadcrumb [aria-current]{overflow-wrap:anywhere}
.preview-choices p{padding:16px;border-radius:12px;background:#fff9f0;color:#32164f;font-weight:700;margin:4px 0}.hierarchy-related{padding-top:35px;padding-bottom:45px;border-top:1px solid #e0d0e7;margin-top:35px}.hierarchy-related h2{font-size:30px}.hierarchy-return,.category-switch{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin:20px 0}.category-switch h2{width:100%;font-size:30px}.category-switch a{background:#eee0ff;padding:10px 16px;border-radius:12px;color:#32164f}.content-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px;padding-left:24px}.content-index li{padding:8px;overflow-wrap:anywhere}.content-index a{display:inline-block;min-height:44px;padding:8px 0}.content-index p{font-size:15px}.category-topic{background:#fffdf9;border:1px solid #e6d7ed;border-radius:16px;padding:20px;margin:18px 0}.category-collection>section{margin:36px 0}.hierarchy-related .grid ul{padding-left:24px}.hierarchy-related li{margin:10px 0;overflow-wrap:anywhere}.hierarchy-related a{overflow-wrap:anywhere}.idea>p{max-width:800px;margin:20px auto}.category-collection h2{font-size:clamp(28px,3.5vw,40px)}
@media(max-width:1050px){.nav{flex-wrap:wrap;gap:15px}.navlinks{width:100%;flex-wrap:wrap}.navlinks a{padding:8px 0}}
@media(max-width:650px){.content-index{grid-template-columns:1fr}.category-topic{padding:14px}.hierarchy-related{padding-left:20px;padding-right:20px}.hierarchy-breadcrumb{line-height:1.8}.category-switch{align-items:stretch}.category-switch a{width:100%}}

/* Editorial content only: retain existing brand, widths, type, and components. */
.theme-text{padding:24px 0;border-bottom:1px solid #e4dacf}.theme-text h3{font-size:26px}.directory-entry{padding:18px 0;border-bottom:1px solid #e4dacf}.directory-entry h3{margin-bottom:10px}.directory-entry[hidden]{display:none}.directory-theme{margin:38px 0}.directory-theme h2{font-size:32px}#theme-introduction .prose{padding-bottom:24px}#theme-introduction .prose p{margin-bottom:1.4em}
#theme-introduction .prose>img{width:70px;height:58px}
