/* Complete component skins: typography, illustration, controls and learning surfaces. */
:root{--suite-sprite:url('assets/suite-literary.png');--deep:#204b42;--accent:#ac4f2d;--pale:#f0e5c9;--surface:#fffaf0;--stroke:#b8ab8c;--shade:#c9bc9b;--ui-radius:8px;--heading-font:Georgia,'Noto Serif TC','Songti TC','PMingLiU',serif;--muted:#5c675c}
:root[data-world=forest]{--suite-sprite:url('assets/suite-forest.png');--deep:#214c3c;--accent:#93642f;--pale:#e0eccc;--surface:#fffdf0;--stroke:#91ab7c;--shade:#9cae82;--ui-radius:24px;--heading-font:'PingFang TC','Microsoft JhengHei',sans-serif;--muted:#56694e}
:root[data-world=folk]{--suite-sprite:url('assets/suite-folk.png');--deep:#093d6c;--accent:#c03e20;--pale:#ffdb59;--surface:#fffbeb;--stroke:#0d4068;--shade:#093d6c;--ui-radius:4px;--heading-font:'PingFang TC','Microsoft JhengHei',sans-serif;--muted:#47585c}
.suite-art{display:block;width:108px;height:108px;flex:0 0 auto;background-image:var(--suite-sprite);background-size:300% 200%;background-repeat:no-repeat;pointer-events:none}.art-0{background-position:0 0}.art-1{background-position:50% 0}.art-2{background-position:100% 0}.art-3{background-position:0 100%}.art-4{background-position:50% 100%}.art-5{background-position:100% 100%}
body{color:var(--deep);background-image:radial-gradient(#94876718 .65px,transparent .65px);background-size:5px 5px}header{padding-top:16px;padding-bottom:16px;gap:22px;position:relative;z-index:3;border-bottom:1px solid var(--stroke)}.brand{gap:4px;align-items:center}.brand-cat{width:68px;height:68px}.brand-lockup{display:block}.brand-title{display:flex;align-items:center;gap:2px;line-height:1.15;font-family:var(--heading-font);font-size:24px;font-weight:900;letter-spacing:.02em;color:var(--deep)}.brand-title i{font-style:normal;color:var(--accent);font-size:30px}.brand-tagline{display:flex;align-items:center;gap:5px;font-family:Georgia,serif;font-size:19px;font-style:italic;letter-spacing:1px;color:var(--accent);margin-top:4px}.brand-tagline b{font-size:13px;font-style:normal;letter-spacing:2px}.brand-tagline i{font-style:normal;margin-left:13px;font-size:12px}.nav-index{font:10px Georgia,serif;opacity:.55;display:block;letter-spacing:2px}.brand .title-letter{display:inline-block}header nav{gap:24px}header nav a{padding:6px 4px;min-height:48px;font-size:14px;color:var(--deep)}header nav a.active:after{height:3px;background:var(--accent);bottom:0}.world-toolbar{padding:18px 0 22px;color:var(--deep)}.world-toolbar>span:first-child{font-weight:700;letter-spacing:.05em}.world-toolbar button{border-color:var(--stroke);transition:transform .15s,background .15s;box-shadow:0 2px 0 var(--shade);font-size:14px}.world-toolbar button[aria-pressed=true]{background:var(--deep);border-color:var(--deep);box-shadow:0 2px 0 var(--accent)}.world-toolbar button:active{transform:translateY(2px);box-shadow:none}.world-toolbar button[aria-pressed=true]:before{content:'✓';font-size:12px}.world-toolbar button[aria-pressed=true] .world-dot{display:none}
.chapter-seal{display:inline-flex;align-items:center;gap:9px;color:var(--accent);font-size:13px;margin-bottom:20px;padding:5px 11px;border:1px solid currentColor;position:relative;font-family:var(--heading-font)}.chapter-seal b{font-size:11px}.world-copy{padding-top:58px;padding-bottom:70px}.world-kicker{color:var(--deep);font-size:11px!important;letter-spacing:.13em}.crafted-title{font-family:var(--heading-font)!important;font-weight:900;position:relative;isolation:isolate}.world-copy h1.crafted-title{font-size:clamp(36px,4.3vw,60px);line-height:1.4;letter-spacing:.04em;margin-bottom:26px}.crafted-title:after{content:'';display:block;width:70px;height:5px;margin-top:17px;background:var(--accent)}.world-copy>p:not(.world-kicker){color:var(--deep)}.lesson-world .world-copy{padding-top:35px;padding-bottom:35px;width:60%}.lesson-world h1.crafted-title{font-size:clamp(30px,3.6vw,48px)}.hero-caption{color:var(--deep)}
.primary,.secondary,.outline,.print-btn,.class-teacher button,.class-adjacent a{position:relative;min-height:46px;border-radius:var(--ui-radius);font-weight:800;transition:transform .15s,box-shadow .15s,background .15s;line-height:1.6;letter-spacing:.04em}.primary{background:var(--deep);border:1px solid var(--deep);box-shadow:0 3px 0 var(--shade)!important;color:#fffdf4!important}.primary:after{content:'↗';display:inline-block;margin-left:12px;font-size:15px}.primary:has(>span):after{display:none}.secondary,.outline,.class-adjacent a{background:var(--surface);border:1px solid var(--deep);color:var(--deep);box-shadow:0 3px 0 var(--pale)}.secondary{padding:12px 22px}.print-btn,.class-teacher button{padding:10px 14px;border:1px dashed var(--stroke);color:var(--deep);text-decoration:none;background:var(--surface)}.primary:hover,.secondary:hover,.outline:hover,.class-adjacent a:hover{transform:translateY(-2px);filter:brightness(1.05)}.primary:active,.secondary:active,.outline:active,.class-adjacent a:active{transform:translateY(2px);box-shadow:none!important}button:disabled{transform:none!important;filter:grayscale(.5);opacity:.45;cursor:not-allowed!important}.primary:disabled:after{opacity:.4}.close{border:1px solid var(--deep);background:var(--surface);color:var(--deep);width:44px;height:44px;box-shadow:2px 2px 0 var(--shade);z-index:2}.close:hover{background:var(--pale)}
.section-title-design{font-family:var(--heading-font);font-weight:900;position:relative;letter-spacing:.04em}.section-title-design:before{content:'✦';display:inline-block;font-size:.6em;vertical-align:middle;color:var(--accent);margin-right:12px}.journey-intro{padding-top:48px}.journey-cards{gap:16px}.journey-card{min-width:0;padding:20px 18px 22px;border-color:var(--stroke);border-radius:var(--ui-radius);box-shadow:0 5px 0 var(--pale);overflow:visible;isolation:isolate}.journey-card>.suite-art{width:148px;height:148px;max-width:100%;margin:0 auto 15px}.journey-card .journey-number{position:absolute;top:12px;left:14px;color:var(--accent);font-size:12px;opacity:1}.journey-card h3{font-family:var(--heading-font);font-weight:900;font-size:24px;letter-spacing:.1em;line-height:1.45;margin-bottom:10px}.journey-card p{font-size:14px;color:var(--muted)}.journey-arrow{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:var(--pale);color:var(--deep);font-size:15px}.journey-card .title-letter{display:inline-block}.collection-heading{border-color:var(--stroke);padding-top:45px}.catalog-intro span{border:1px solid var(--stroke);background:var(--pale);color:var(--deep);font-size:13px}.catalog-search{font-size:16px;position:relative}.catalog-search input,.lesson-select,.class-welcome input{border:1px solid var(--stroke);border-radius:var(--ui-radius);background:var(--surface);color:var(--deep);box-shadow:inset 0 2px 0 #00000008;min-height:48px;padding:10px 14px}.class-welcome input{border-width:0 0 2px;border-radius:0}.catalog-search input::placeholder{color:var(--muted);opacity:.85}.catalog-grid{gap:25px}.catalog-card{position:relative;padding:25px 22px 25px 38px;border:1px solid var(--stroke)!important;border-radius:var(--ui-radius)!important;overflow:visible;box-shadow:3px 5px 0 var(--pale)!important}.catalog-card:before{display:none!important}.book-spine{position:relative;display:flex;align-items:center;gap:10px;min-height:60px;width:100%;color:var(--deep);border-bottom:1px solid var(--stroke);margin-bottom:12px}.book-spine>span{font-size:10px;letter-spacing:2px;writing-mode:vertical-rl}.book-spine b{font:700 42px/1 Georgia,serif}.book-spine i{font-style:normal;color:var(--accent);font-size:24px;margin-left:auto;margin-right:4px}.catalog-card .eyebrow{margin-top:6px;font-size:9px;color:var(--muted)}.catalog-card h2.book-name{font:900 25px/1.6 var(--heading-font);color:var(--deep)!important;letter-spacing:.02em}.catalog-card .unit-label{font-size:14px;color:var(--muted)!important}.han-materials{border-color:var(--stroke)}.han-materials summary{color:var(--deep);font-size:13px;font-weight:700}.han-link{color:var(--deep)!important}.han-link b{color:var(--accent)}.status-line,.pending,.mission-tag{font-size:12px;color:var(--muted)}.pending,.mission-tag{border:1px dashed var(--stroke);background:var(--pale);padding:5px 12px;border-radius:var(--ui-radius)}
.class-top{padding:10px 0}.back-courses{color:var(--deep);font-size:14px;min-height:44px;display:inline-flex;align-items:center}.class-welcome{border:1px solid var(--stroke);border-left:5px solid var(--accent);background:var(--surface)!important;border-radius:var(--ui-radius);padding:20px 25px;box-shadow:0 4px 0 var(--pale)!important}.class-welcome label{color:var(--deep)}.class-welcome p{color:var(--muted)}.mission-heading h2{font-size:28px;color:var(--deep)}.mission-heading>span{color:var(--muted)}.zone-route{gap:14px;margin:25px 0 32px;align-items:stretch}.zone-route button{display:grid;grid-template-columns:1fr;justify-items:center;position:relative;min-height:180px;background:var(--surface);border:1px solid var(--stroke);border-radius:var(--ui-radius);padding:14px 10px;gap:5px;box-shadow:0 5px 0 var(--pale);color:var(--deep)}.zone-route button .suite-art{width:105px;height:105px}.zone-route button b{position:absolute;left:10px;top:10px;font:700 12px Georgia,serif;background:var(--deep);color:var(--surface);width:24px;height:24px;border-radius:50%}.zone-route button .route-name{font-family:var(--heading-font);font-size:23px;letter-spacing:.05em;line-height:1.3}.zone-route button:hover{background:var(--pale);transform:translateY(-3px)}.course-zone{border:1px solid var(--stroke)!important;border-radius:var(--ui-radius);box-shadow:0 4px 0 var(--pale)!important;overflow:hidden;background:var(--surface)!important}.course-zone summary{position:relative;gap:20px;padding:17px 26px;min-height:135px;background:var(--surface)}.course-zone[open] summary{border-bottom:1px solid var(--stroke);margin-bottom:20px}.zone-number{display:grid;place-items:center;font:700 25px/1 Georgia,serif;width:55px;height:65px;background:var(--pale)!important;color:var(--deep)!important;border:1px solid var(--stroke);border-radius:var(--ui-radius);flex:0 0 auto}.zone-heading strong{font-family:var(--heading-font);font-size:30px;letter-spacing:.12em;color:var(--deep)!important}.zone-heading strong .title-letter{display:inline-block}.zone-heading small{font-size:15px;color:var(--muted);line-height:1.8}.zone-illustration{width:116px;height:116px;margin-left:auto}.course-zone summary:after{font-size:24px;font-family:sans-serif;width:35px;height:35px;display:grid;place-items:center;flex:0 0 auto;border:1px solid var(--stroke);background:var(--pale);color:var(--deep);border-radius:50%}.zone-content{gap:18px;padding:0 26px 26px}.zone-activity{border:1px solid var(--stroke);border-radius:var(--ui-radius);background:var(--surface);padding:20px 22px;min-height:215px;color:var(--deep);position:relative;box-shadow:0 4px 0 var(--pale)}.zone-activity .activity-illustration{width:88px;height:88px;margin-bottom:8px}.zone-activity>strong{font-family:var(--heading-font);font-size:22px;line-height:1.5;letter-spacing:.03em;color:var(--deep)}.zone-activity>span:not(.suite-art){color:var(--muted);font-size:15px;margin-bottom:20px}.zone-activity small{padding:10px 14px;background:var(--deep);color:var(--surface);border-radius:var(--ui-radius);font-size:13px;align-self:flex-start;min-height:42px;display:flex;align-items:center}.zone-activity small:after{content:'↗';margin-left:20px}.zone-activity:hover{transform:translateY(-3px);border-color:var(--deep);box-shadow:0 7px 0 var(--pale)}.zone-pending{display:flex;align-items:center;gap:20px;border:1px dashed var(--stroke);border-radius:var(--ui-radius);background:var(--pale);padding:20px;font-size:16px;color:var(--muted);min-height:130px}.pending-illustration{width:86px;height:86px;opacity:.8}
.encourage,.class-stamps{border:1px solid var(--stroke)!important;border-radius:var(--ui-radius);position:relative;overflow:hidden;background:var(--surface)!important}.encourage{padding-left:128px}.encouragement-cat{position:absolute;left:5px;bottom:20px;width:120px;height:120px}.encourage h3,.class-stamps h3{font-family:var(--heading-font);font-size:22px;color:var(--deep)}.encourage p{font-size:16px;color:var(--muted)}.shells{gap:16px}.class-stamps .shell{position:relative;width:72px;height:88px;background:transparent;border:0;border-radius:0;opacity:1;filter:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:0}.shell svg{width:54px;height:54px;fill:var(--surface);stroke:var(--stroke);stroke-width:2;stroke-dasharray:3 2;transition:transform .2s}.shell span{font-size:13px;font-weight:700;color:var(--muted)}.shell.checked{background:transparent;transform:none}.shell.checked svg{fill:#eebf50;stroke:var(--accent);stroke-dasharray:none;transform:rotate(-8deg);filter:drop-shadow(2px 3px 0 var(--shade))}.shell.checked span{color:var(--deep)}.class-teacher,.class-stamps p{color:var(--muted)}.class-adjacent{padding:20px 0;border-top:1px solid var(--stroke)}.class-adjacent a{padding:12px 20px;display:flex;align-items:center}.class-adjacent a:nth-child(2){background:var(--pale)}
.page-heading{position:relative;min-height:230px;padding:40px 170px 35px 32px;border:1px solid var(--stroke);background:var(--surface);border-radius:var(--ui-radius);margin:15px 0 30px;overflow:hidden}.page-heading-art{position:absolute;right:20px;bottom:10px;width:155px;height:155px}.page-heading h1.crafted-title{font-family:var(--heading-font);color:var(--deep);line-height:1.5;font-size:42px}.page-heading p{color:var(--muted)}.panel,.resource{border:1px solid var(--stroke)!important;border-radius:var(--ui-radius)!important;box-shadow:0 4px 0 var(--pale)!important;background:var(--surface)!important}.panel h2,.panel h3,.resource h3{font-family:var(--heading-font);color:var(--deep)!important;letter-spacing:.03em}.panel h2{font-size:25px}.panel h3{font-size:21px}.resource{position:relative;padding:28px}.resource-illustration{width:100px;height:100px;float:right;margin:-8px -10px 8px 10px}.resource>span:not(.suite-art){font-size:11px;letter-spacing:.04em;color:var(--accent)}.resource h3{font-size:24px;line-height:1.5;margin-top:12px}.resource p{font-size:15px;color:var(--muted)}.resource .pending{clear:both}.flow li{gap:18px;padding:20px 0;border-color:var(--stroke)}.flow li:before{display:none}.flow-illustration{width:90px;height:90px}.flow li strong{font-family:var(--heading-font);font-size:25px;color:var(--deep);margin-bottom:8px;letter-spacing:.1em}.link-row{color:var(--deep);border-color:var(--stroke)}.mapping thead{background:var(--pale)}.mapping th,.mapping td{border-color:var(--stroke)}.mapping-wrap{border:1px solid var(--stroke);border-radius:var(--ui-radius)}
dialog{border:2px solid var(--stroke);border-radius:var(--ui-radius);background:var(--surface)!important;padding:38px;color:var(--deep)}dialog::backdrop{background:color-mix(in srgb,var(--deep) 60%,transparent);backdrop-filter:blur(6px)}.dialog-chapter{display:flex;align-items:center;gap:14px;margin:-10px 30px 15px -10px;border-bottom:1px solid var(--stroke);padding-bottom:10px}.dialog-chapter>.suite-art{width:92px;height:92px}.dialog-chapter>span:not(.suite-art){font:900 25px/1.4 var(--heading-font);letter-spacing:.08em}.dialog-chapter small{display:block;font:11px/1.7 sans-serif;letter-spacing:.08em;color:var(--muted);margin-top:5px}dialog h2.crafted-title{font-size:31px;color:var(--deep)}dialog h2.crafted-title:after{width:45px;height:3px;margin-top:10px}dialog p,dialog li{font-size:16px;line-height:1.9}dialog .eyebrow{color:var(--accent)}.game-board{background:var(--pale);border:2px solid var(--stroke);border-radius:var(--ui-radius);padding:26px 22px;position:relative}.game-board>span:first-child{display:inline-block;padding:3px 16px;border-bottom:1px solid var(--stroke);font-size:12px;letter-spacing:3px}.game-total{font:900 72px/1.2 Georgia,serif;color:var(--deep);margin:10px 0}.meter{height:14px;background:var(--surface);border:1px solid var(--stroke);margin:12px auto 25px;max-width:320px}.meter span{background:var(--accent)}.dice.crafted-dice{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:7px;width:94px;height:94px;min-height:0;padding:15px;margin:20px auto;border:2px solid var(--deep);border-radius:18px;box-shadow:5px 6px 0 var(--shade);background:var(--surface);transform:rotate(-6deg)}.die-pip{width:14px;height:14px;border-radius:50%;background:var(--deep);visibility:hidden}.die-pip.shown{visibility:visible}.game-status{font-size:15px;color:var(--deep);padding:10px 0}.game-actions .primary,.game-actions .secondary{font-size:15px;margin-top:0;min-height:50px;padding:12px 18px}.game-actions .primary:after{display:none}.roll-log{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin:24px 0 18px;color:var(--muted)}.roll-ticket{padding:8px 3px;border:1px dashed var(--stroke);border-radius:var(--ui-radius);background:var(--surface);display:flex;flex-direction:column;font-style:normal;gap:5px}.roll-ticket small{font-size:10px}.roll-ticket b{font-size:12px;color:var(--deep)}.roll-ticket em{font-style:normal;font-size:9px;color:var(--muted)}.roll-ticket.filled{border-style:solid;border-color:var(--deep);box-shadow:0 2px 0 var(--shade)}.course.ready{border:1px solid var(--stroke);border-radius:var(--ui-radius);background:var(--surface);padding:15px;color:var(--deep);min-height:75px}.course.ready b{display:grid;place-items:center;font:700 22px Georgia,serif;width:42px;height:45px;background:var(--pale);border-radius:var(--ui-radius);color:var(--deep);flex-shrink:0}.course.ready:hover{background:var(--pale);transform:translateY(-1px)}.course.ready em{color:var(--muted);font-size:11px}footer{position:relative;align-items:center;justify-content:center;gap:30px;min-height:140px;border-top:1px solid var(--stroke);color:var(--deep);font-size:12px;padding:25px 20px}.footer-cat{width:95px;height:95px}footer>span:last-child{color:var(--muted)}
/* Literary: engraved bookplates, stitched paper, restrained orange ink. */
[data-world=literary] header{box-shadow:0 5px 0 #d9cbb64d;border-bottom:1px solid #b7a685}[data-world=literary] .brand-title{border-bottom:1px solid var(--accent);padding-bottom:3px}[data-world=literary] .world-hero{border:1px solid var(--stroke);border-radius:4px;box-shadow:5px 6px 0 #e5dcc7}[data-world=literary] .chapter-seal{outline:1px solid var(--accent);outline-offset:3px;transform:rotate(-2deg)}[data-world=literary] .world-copy h1{font-weight:900;text-shadow:1px 1px 0 #fff7}[data-world=literary] .crafted-title:after{background:repeating-linear-gradient(90deg,var(--accent) 0 3px,transparent 3px 6px);height:3px;width:90px}[data-world=literary] .journey-card{border-radius:3px 3px 18px 3px;background:repeating-linear-gradient(0deg,transparent 0 28px,#c2ac8312 28px 29px),var(--surface);box-shadow:3px 5px 0 #d8c9a5}[data-world=literary] .journey-card h3{border-top:1px solid var(--stroke);padding-top:13px}[data-world=literary] .journey-card h3 .title-letter:nth-child(1){color:var(--accent)}[data-world=literary] .catalog-card{border-left:8px solid #a98753!important;border-radius:3px 12px 12px 3px!important;background:linear-gradient(90deg,#c9bda344,transparent 12px),var(--surface)!important}[data-world=literary] .catalog-card:nth-child(3n+2){border-left-color:#607969!important}[data-world=literary] .catalog-card:nth-child(3n){border-left-color:#b16a48!important}[data-world=literary] .zone-route button{border-radius:4px 4px 15px 4px;border-style:solid;outline:1px dashed #ad9d7d;outline-offset:-6px}[data-world=literary] .zone-number{border:3px double var(--stroke);border-radius:0;transform:rotate(-4deg)}[data-world=literary] .zone-heading strong{border-bottom:1px solid var(--stroke);width:max-content;max-width:100%;padding-bottom:6px}[data-world=literary] .course-zone[open]{border-left:5px solid var(--accent)!important}[data-world=literary] .zone-activity{border-radius:3px 3px 16px 3px}[data-world=literary] .primary{border-radius:4px;background:var(--deep);outline:1px solid #fff6;outline-offset:-5px}[data-world=literary] .secondary,[data-world=literary] .outline{border-style:double;border-width:3px;padding-top:9px;padding-bottom:9px}[data-world=literary] .page-heading{border:3px double var(--stroke);border-radius:2px}[data-world=literary] .game-board{outline:1px dashed var(--stroke);outline-offset:-8px;background:repeating-linear-gradient(0deg,transparent 0 31px,#96835718 31px 32px),#eee6cf}[data-world=literary] .roll-ticket{border-radius:0 0 8px 0}[data-world=literary] .encourage{border:3px double var(--stroke)!important}
/* Forest: timber signs, leafy silhouettes, rounded trail markers. */
[data-world=forest] body{background-image:radial-gradient(ellipse at 0 10%,#d0e3b877,transparent 55%),radial-gradient(ellipse at 100% 50%,#e4ecc066,transparent 50%);background-size:cover}[data-world=forest] header{background:#f8f9e9;border-bottom:3px solid #c5d5ad}[data-world=forest] .brand-title .title-letter{border-radius:12px 4px 12px 4px;background:#dbe6bf;padding:4px 2px;transform:rotate(-4deg);color:#31563b}[data-world=forest] .brand-title .title-letter:nth-child(2n){transform:rotate(4deg);background:#eacb82}[data-world=forest] .brand-tagline{color:#72562d}[data-world=forest] .world-hero{border:4px solid #fffdef;border-radius:40px 12px 40px 12px;box-shadow:0 7px 0 #b9cea0}[data-world=forest] .chapter-seal{color:#fff6dc;background:repeating-linear-gradient(3deg,#714c2e 0 5px,#795535 5px 7px);border:2px solid #553b26;border-radius:4px;box-shadow:2px 3px 0 #48543555;transform:rotate(-3deg);padding:7px 14px;font-family:inherit}[data-world=forest] .crafted-title{color:#214c3c;text-shadow:2px 2px 0 #ffffef,3px 3px 0 #ffffef}[data-world=forest] .crafted-title:after{width:85px;height:8px;background:#739c5b;border-radius:100% 0 100% 0;transform:rotate(-4deg)}[data-world=forest] .journey-card{border-radius:40px 12px 32px 12px;border:2px solid #c3d4ab;background:linear-gradient(#fffdf1 70%,#edf2db);border-bottom:6px solid #bed0a6}[data-world=forest] .journey-card .suite-art{width:160px;height:160px}[data-world=forest] .journey-card h3{font-family:inherit;color:#395738;font-size:25px;position:relative;text-shadow:1px 2px 0 #fff}[data-world=forest] .journey-card h3:after{content:'';display:block;margin-top:8px;width:48px;height:5px;border-radius:10px;background:#c6d89e}[data-world=forest] .primary,[data-world=forest] .world-copy .primary{color:#fff8e4!important;background:repeating-linear-gradient(2deg,#77502c 0 6px,#7d5731 6px 8px);border:2px solid #5b3c25;border-radius:12px;box-shadow:0 5px 0 #4f3929!important;text-shadow:0 1px 0 #493320}[data-world=forest] .primary:before{content:'';position:absolute;left:-5px;top:-5px;width:18px;height:12px;border-radius:100% 0 100% 0;transform:rotate(-25deg);background:#6e934f;border:1px solid #486c39}[data-world=forest] .secondary,[data-world=forest] .outline{border:2px solid #719458;border-radius:25px 10px 25px 10px;background:#e9efce;box-shadow:0 4px 0 #bdcda1}[data-world=forest] .zone-route button{border-radius:34px 9px 34px 9px;background:linear-gradient(#fbfcec,#e5efd1);border:2px solid #9eb885;box-shadow:0 5px 0 #bed09f}[data-world=forest] .zone-route b{background:#55763e}[data-world=forest] .zone-route .route-name{background:#607b48;color:#fffbe6;padding:5px 13px;border-radius:14px 4px 14px 4px;font-size:21px}[data-world=forest] .course-zone{border-radius:30px 10px 30px 10px;border:2px solid #b4c79e!important}[data-world=forest] .course-zone summary{background:linear-gradient(100deg,#ecf2d9,#fffdf0 70%)}[data-world=forest] .zone-number{border:2px solid #8ba570;background:#d4e3b6!important;border-radius:50% 50% 45% 45%;transform:rotate(-6deg)}[data-world=forest] .zone-heading strong{font-family:inherit;color:#3d5f38!important;text-shadow:1px 2px 0 #fff}[data-world=forest] .zone-heading strong .title-letter:nth-child(2){transform:translateY(-2px)}[data-world=forest] .zone-activity{border:2px solid #b9caa4;border-radius:28px 8px 28px 8px;background:linear-gradient(135deg,#fffef1,#f3f4e1)}[data-world=forest] .zone-activity small{background:#587445;border-radius:15px 5px 15px 5px}[data-world=forest] .catalog-card{border-radius:28px 10px 28px 10px!important;border:2px solid #b5c79d!important;box-shadow:0 5px 0 #ccdab6!important;padding-left:25px}[data-world=forest] .book-spine{background:#edf2d9;border-radius:20px 7px 20px 7px;padding:8px 15px;border:0}[data-world=forest] .book-spine b{color:#567c44}[data-world=forest] .catalog-card h2.book-name{font-family:inherit;color:#365a3e!important}[data-world=forest] .page-heading{border-radius:40px 10px 40px 10px;background:linear-gradient(110deg,#e3edcf,#fffdf0)}[data-world=forest] .resource,[data-world=forest] .panel{border-radius:26px 10px 26px 10px!important;border-width:2px!important}[data-world=forest] .game-board{background:radial-gradient(ellipse at top,#f7f7d7,#e0e9c3);border:4px solid #8ca365;border-radius:35px 12px 35px 12px;box-shadow:inset 0 0 0 3px #f6f9e6}[data-world=forest] .game-total{background:#fffde8;border:2px solid #c1d19f;border-radius:24px;max-width:180px;margin:14px auto;padding:8px;box-shadow:0 4px 0 #c4d1a7}[data-world=forest] .crafted-dice{border-color:#725331;background:#fff5d4;box-shadow:5px 6px 0 #a78d60}[data-world=forest] .die-pip{background:#725331}[data-world=forest] .encourage{background:linear-gradient(110deg,#e2edcf,#fbfbea)!important;border-radius:30px 10px 30px 10px}[data-world=forest] dialog{border:4px solid #8da573;border-radius:30px 10px 30px 10px}
/* Folk print: cut-paper lettering, block stamps, punchy ink outlines. */
[data-world=folk] body{background-image:radial-gradient(#0d406814 1px,transparent 1px);background-size:13px 13px}[data-world=folk] header{border-bottom:3px solid var(--deep);background:#fff5d9}[data-world=folk] .brand-title{gap:3px;font-family:inherit}[data-world=folk] .brand-title .title-letter{background:var(--deep);color:#fff9df;box-shadow:2px 2px 0 #0d406840;padding:4px 3px;transform:rotate(-5deg)}[data-world=folk] .brand-title .title-letter:nth-child(2n){background:#da4826;transform:rotate(5deg)}[data-world=folk] .brand-title .title-letter:nth-child(3){background:#f0c340;color:#123e60}[data-world=folk] .brand-tagline{font-weight:900;color:#093d6c;font-size:21px}[data-world=folk] header nav a.active{background:#ffd450;padding:6px 10px;transform:rotate(-2deg)}[data-world=folk] header nav a.active:after{display:none}[data-world=folk] .world-toolbar button{border:2px solid var(--deep);box-shadow:3px 3px 0 var(--deep);border-radius:1px}[data-world=folk] .world-hero{border:3px solid var(--deep);border-radius:2px;box-shadow:7px 7px 0 var(--deep)}[data-world=folk] .chapter-seal{background:#ffdb59;color:#093d6c;border:2px solid #093d6c;box-shadow:3px 3px 0 #093d6c;transform:rotate(-3deg);font-family:inherit;font-weight:900}[data-world=folk] .crafted-title{font-family:inherit!important;font-weight:950;color:var(--deep);text-shadow:2px 2px 0 #fff8e6,4px 4px 0 #e0ae38;letter-spacing:0!important}[data-world=folk] .crafted-title:after{height:8px;width:100px;background:repeating-linear-gradient(90deg,#df4827 0 16px,transparent 16px 23px);transform:skewX(-15deg)}[data-world=folk] .section-title-design:before{color:#df4827;font-size:.8em}[data-world=folk] .journey-card{border:2px solid var(--deep);border-radius:1px;padding:20px 16px;background:#fff9e5;box-shadow:5px 5px 0 var(--deep)}[data-world=folk] .journey-card:nth-child(2n){background:#ffec9c}[data-world=folk] .journey-card h3{display:flex;gap:3px;font-family:inherit;letter-spacing:0;font-size:22px}[data-world=folk] .journey-card .title-letter{padding:3px 4px;background:var(--deep);color:#fff9e4;transform:rotate(-4deg)}[data-world=folk] .journey-card .title-letter:nth-child(2){background:#c13f22;transform:rotate(3deg)}[data-world=folk] .journey-card .title-letter:nth-child(3){background:#eebf36;color:var(--deep);transform:rotate(-2deg)}[data-world=folk] .journey-number{font-weight:900;font-size:17px}[data-world=folk] .journey-arrow{border:1px solid var(--deep);border-radius:0;background:#ffd94c;box-shadow:2px 2px 0 var(--deep)}[data-world=folk] .primary{background:#ce4223;border:2px solid #093d6c;box-shadow:4px 4px 0 #093d6c!important;border-radius:1px;color:white!important}[data-world=folk] .secondary,[data-world=folk] .outline,[data-world=folk] .class-adjacent a{background:#ffdb59;color:#093d6c;border:2px solid #093d6c;box-shadow:3px 3px 0 #093d6c;border-radius:1px}[data-world=folk] .zone-route button{background:#ffda59;border:2px solid #093d6c;border-radius:2px;box-shadow:4px 4px 0 #093d6c}[data-world=folk] .zone-route button:nth-child(2n){background:#d6e9cc}[data-world=folk] .zone-route button b{border-radius:0;background:#ce4223;transform:rotate(-7deg)}[data-world=folk] .zone-route button .route-name{font-family:inherit;font-weight:950;font-size:24px;border-bottom:4px solid var(--deep);padding-bottom:3px}[data-world=folk] .course-zone{border:3px solid #093d6c!important;border-radius:0;box-shadow:5px 5px 0 #093d6c!important}[data-world=folk] .course-zone summary{background:#ffebaa;border-bottom:2px solid #093d6c}[data-world=folk] .course-zone:nth-child(2n) summary{background:#e0edce}[data-world=folk] .zone-number{border:2px solid #093d6c;border-radius:0;transform:rotate(-5deg);background:#093d6c!important;color:#fff4ce!important;box-shadow:3px 3px 0 #df4827;font-size:28px}[data-world=folk] .zone-heading strong{font-family:inherit;letter-spacing:.04em;display:flex;gap:5px}[data-world=folk] .zone-heading strong .title-letter{background:#093d6c;color:#fff9e5;padding:2px 6px;transform:rotate(-3deg);font-size:26px}[data-world=folk] .zone-heading strong .title-letter:nth-child(2){background:#c34021;transform:rotate(4deg)}[data-world=folk] .course-zone summary:after{background:#fff9e5;border:2px solid #093d6c;border-radius:0;box-shadow:2px 2px 0 #093d6c}[data-world=folk] .zone-activity{border:2px solid #093d6c;border-radius:0;box-shadow:3px 3px 0 #093d6c}[data-world=folk] .zone-activity>strong{font-family:inherit;font-weight:950}[data-world=folk] .zone-activity small{background:#093d6c;color:#fff9e4;border-radius:0;box-shadow:3px 3px 0 #e9bd3d}[data-world=folk] .catalog-card{border:2px solid #093d6c!important;border-radius:0!important;padding-left:25px;box-shadow:5px 5px 0 #093d6c!important}[data-world=folk] .book-spine{border-bottom:3px solid #093d6c}[data-world=folk] .book-spine b{background:#ffd449;border:2px solid #093d6c;padding:6px 10px;transform:rotate(-4deg);font-family:inherit;font-size:32px}[data-world=folk] .book-spine i{color:#d53f20;font-size:34px}[data-world=folk] .catalog-card h2.book-name{font-family:inherit;font-weight:950}[data-world=folk] .page-heading{border:3px solid #093d6c;border-radius:0;box-shadow:6px 6px 0 #093d6c;background:#ffebaa}[data-world=folk] .panel,[data-world=folk] .resource{border:2px solid #093d6c!important;border-radius:0!important;box-shadow:4px 4px 0 #093d6c!important}[data-world=folk] .panel h2,[data-world=folk] .panel h3,[data-world=folk] .resource h3,[data-world=folk] .flow strong{font-family:inherit;font-weight:950}[data-world=folk] .game-board{background:#ffdc62;border:3px solid #093d6c;border-radius:0;box-shadow:5px 5px 0 #093d6c}[data-world=folk] .game-total{background:#093d6c;color:#fff8dd;max-width:180px;margin:15px auto;padding:8px;transform:rotate(-3deg);box-shadow:5px 5px 0 #cc4022}[data-world=folk] .crafted-dice{border:3px solid #093d6c;border-radius:8px;box-shadow:5px 6px 0 #093d6c;background:#fff8df}[data-world=folk] .roll-ticket{border:1px solid #093d6c;border-radius:0;background:#fff9e6}[data-world=folk] .roll-ticket.filled{background:#d5e8bf;box-shadow:2px 2px 0 #093d6c}[data-world=folk] .class-welcome{border:2px solid #093d6c;border-radius:0;box-shadow:4px 4px 0 #093d6c!important}[data-world=folk] .class-stamps,[data-world=folk] .encourage{border:2px solid #093d6c!important;border-radius:0;box-shadow:4px 4px 0 #093d6c!important}[data-world=folk] .shell svg{stroke:#093d6c;stroke-width:3}[data-world=folk] .shell.checked svg{fill:#ffd23c;stroke:#093d6c;filter:drop-shadow(3px 3px 0 #cc4022)}[data-world=folk] dialog{border:3px solid #093d6c;border-radius:0;box-shadow:8px 8px 0 #093d6c!important}[data-world=folk] .close{border:2px solid #093d6c;background:#ffda59;border-radius:0;box-shadow:3px 3px 0 #093d6c}
/* Consistent touch, keyboard, small-screen and print behavior in all skins. */
:where(button,a,input,select,summary):focus-visible{outline:3px solid var(--accent);outline-offset:5px}.course-zone summary:focus-visible{outline-offset:-6px}.zone-activity:focus-visible,.zone-route button:focus-visible{outline:3px solid var(--accent)}
@media(max-width:1150px){header{gap:15px;padding-left:24px;padding-right:24px}header nav{gap:16px}.brand-title{font-size:21px}.brand-cat{width:55px;height:55px}.journey-card>.suite-art{width:125px;height:125px}[data-world=forest] .journey-card>.suite-art{width:125px;height:125px}.journey-card h3{font-size:22px}[data-world=folk] .journey-card h3{font-size:19px}.journey-card p{font-size:13px}}
@media(max-width:850px){header nav{order:3;width:100%;justify-content:space-between;gap:10px}.nav-index{display:none}.world-toolbar{padding:16px 0}.world-copy{padding-top:35px;padding-bottom:35px}.chapter-seal{margin-bottom:17px;font-size:12px}.world-copy h1.crafted-title{font-size:40px}.world-hero{min-height:530px}.journey-cards{grid-template-columns:repeat(3,1fr);gap:18px}.journey-card>.suite-art,[data-world=forest] .journey-card>.suite-art{width:140px;height:140px}.journey-card h3,[data-world=folk] .journey-card h3{font-size:24px}.zone-route{gap:10px}.zone-route button{min-height:150px;padding:12px 5px}.zone-route button .suite-art{width:80px;height:80px}.zone-route button .route-name,[data-world=forest] .zone-route button .route-name,[data-world=folk] .zone-route button .route-name{font-size:18px;padding-left:5px;padding-right:5px}.zone-route button b{width:20px;height:20px;font-size:10px;left:5px;top:5px}.encourage{padding:24px}.encouragement-cat{position:static;float:right;width:85px;height:85px}.zone-heading strong{font-size:27px}.zone-illustration{width:95px;height:95px}.lesson-world .world-copy{width:65%}.course-zone summary{gap:15px}.panel p,.panel li{font-size:16px}}
@media(max-width:600px){header{padding:12px 16px;gap:12px}.brand-title{font-size:21px}.brand-cat{width:52px;height:52px}.brand-tagline{font-size:17px}.brand-tagline b{font-size:11px}.course-toggle{font-size:11px!important;padding:9px 10px!important;min-height:44px}header nav{overflow-x:auto;gap:4px;margin:0;scrollbar-width:thin}header nav a{white-space:nowrap;font-size:12px;padding:8px 5px;min-height:44px;display:flex;align-items:center}.world-toolbar button{font-size:11px;padding:9px 10px;gap:4px}.world-toolbar>div{gap:8px}.world-hero{min-height:720px}.world-copy{padding:30px 23px;width:100%}.world-copy h1.crafted-title{font-size:37px;line-height:1.35;letter-spacing:.02em}.world-copy .world-kicker{font-size:9px!important}.world-copy>p:not(.world-kicker){font-size:15px}.world-hero:after{height:410px;background:linear-gradient(var(--world-panel) 85%,transparent)}.world-art{height:360px}.chapter-seal{margin-bottom:18px;font-size:11px}.chapter-seal b{font-size:10px}.crafted-title:after{margin-top:14px}.world-copy .primary{font-size:15px;margin-top:0}.lesson-world{min-height:640px}.lesson-world .world-copy{width:100%;padding:26px 22px}.lesson-world h1.crafted-title{font-size:33px;line-height:1.5;margin-bottom:18px}.lesson-world .world-art{height:300px}.lesson-world:after{height:380px}.journey-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.journey-card{padding:16px 12px!important}.journey-card .suite-art,[data-world=forest] .journey-card .suite-art{width:125px;height:125px}.journey-card h3,[data-world=forest] .journey-card h3{font-size:22px}[data-world=folk] .journey-card h3{font-size:19px;gap:2px}[data-world=folk] .journey-card .title-letter{padding:3px}.journey-card p{font-size:13px}.journey-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:120px 1fr;align-items:center;gap:3px 16px}.journey-card:last-child>.suite-art{grid-column:1;grid-row:1/4;margin:0;width:120px;height:120px}.journey-card:last-child .journey-number{position:absolute;grid-column:auto}.journey-card:last-child h3{grid-column:2;margin:10px 0 0;align-self:end}.journey-card:last-child p{grid-column:2;min-height:0;align-self:start}.section-title-design{font-size:22px!important;line-height:1.7}.section-title-design:before{margin-right:6px}.collection-heading{padding-top:30px}.catalog-card{padding-right:22px}.catalog-card h2.book-name{font-size:24px}.class-welcome{padding:18px}.class-welcome input{max-width:135px}.class-welcome p{font-size:13px}.zone-route{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.zone-route button{padding:7px 2px 10px;min-height:112px;border-radius:12px}.zone-route button .suite-art{width:52px;height:52px;margin-top:15px}.zone-route button .route-name,[data-world=forest] .zone-route button .route-name,[data-world=folk] .zone-route button .route-name{font-size:12px;letter-spacing:0;white-space:nowrap;padding:4px 1px;line-height:1.3}.zone-route button b{width:17px;height:17px;font-size:9px;top:5px;left:5px}[data-world=literary] .zone-route button{outline-offset:-4px}[data-world=forest] .zone-route button{border-radius:18px 5px 18px 5px}[data-world=folk] .zone-route button{border-radius:0;border-width:1.5px;box-shadow:3px 3px 0 #093d6c}.course-zone summary{padding:16px 13px;gap:10px;min-height:120px;flex-wrap:wrap}.zone-number{width:38px;height:48px;font-size:20px}.zone-heading{flex:1}.zone-heading strong{font-size:25px;letter-spacing:.07em}.zone-heading small{font-size:13px}.zone-illustration{display:none}.course-zone summary:after{width:28px;height:28px;font-size:21px}.zone-content{padding:0 16px 20px;grid-template-columns:1fr}.zone-activity{padding:18px;min-height:190px}.zone-activity .suite-art{width:80px;height:80px}.zone-activity>strong{font-size:22px}.zone-activity>span:not(.suite-art){font-size:14px}.zone-pending{padding:15px;gap:10px;font-size:14px;align-items:flex-start}.pending-illustration{width:60px;height:60px}[data-world=folk] .zone-heading strong .title-letter{font-size:22px;padding:2px 4px}.class-bottom{gap:20px}.class-adjacent{gap:10px}.class-adjacent a{padding:10px 13px;font-size:13px}.page-heading{padding:28px 25px 125px;min-height:270px}.page-heading h1.crafted-title{font-size:31px}.page-heading-art{width:125px;height:125px;bottom:0;right:15px}.page-heading p{font-size:15px}.resource,.panel{padding:22px}.resource h3{font-size:22px}.resource-illustration{width:85px;height:85px}.flow-illustration{width:60px;height:60px}.flow li{gap:10px}.flow li strong{font-size:23px}.flow li>div{min-width:0}.panel h2{font-size:23px}dialog{padding:30px 20px;width:94vw;max-height:90dvh}.dialog-chapter{margin-right:25px;gap:8px}.dialog-chapter>.suite-art{width:75px;height:75px}.dialog-chapter>span:not(.suite-art){font-size:23px}dialog h2.crafted-title{font-size:26px}dialog p,dialog li{font-size:15px}.game-board{padding:20px 12px}.game-actions{gap:9px}.game-actions .primary,.game-actions .secondary{font-size:13px;padding:11px 12px}.game-actions #roll{flex-basis:100%;max-width:220px;margin:0 calc((100% - 220px)/2)}.roll-log{grid-template-columns:repeat(4,1fr);gap:8px}.roll-ticket{padding:9px 5px}.roll-ticket b{font-size:13px}.roll-ticket em{font-size:11px}footer{gap:5px;flex-direction:column;text-align:center;padding-top:15px}.footer-cat{width:90px;height:90px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media print{.world-toolbar,.suite-art,.zone-route,.chapter-seal,.class-adjacent,.class-teacher button{display:none!important}.world-hero,.lesson-world{min-height:0!important;box-shadow:none!important;border:0!important}.world-copy,.lesson-world .world-copy{padding:15px!important;width:100%!important}.crafted-title{text-shadow:none!important}.course-zone,.panel,.catalog-card{box-shadow:none!important}.zone-activity{min-height:0;box-shadow:none}.class-welcome,.encourage,.class-stamps{box-shadow:none!important}.encourage{padding:20px}}
.dialog-world-choice{border-top:1px solid var(--stroke);padding-top:20px;margin-top:25px;display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:12px;color:var(--muted)}.dialog-world-choice>div{display:flex;flex-wrap:wrap;gap:8px}.dialog-world-choice button{padding:9px 12px;min-height:44px;border:1px solid var(--stroke);border-radius:var(--ui-radius);background:var(--surface);color:var(--deep);font-size:12px}.dialog-world-choice button[aria-pressed=true]{background:var(--deep);color:var(--surface)}
/* Text labels retain their existing directional arrows. */
.primary:after{display:none}
@font-face{font-family:LiteraryTitle;src:url('assets/fonts/LiteraryTitle.woff') format('woff');font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:ForestTitle;src:url('assets/fonts/ForestTitle.woff') format('woff');font-weight:400;font-style:normal;font-display:swap}
:root[data-world=literary]{--heading-font:LiteraryTitle,'Songti TC',serif}
:root[data-world=forest]{--heading-font:ForestTitle,'PingFang TC',sans-serif}
[data-world=forest] .brand-title,[data-world=forest] .journey-card h3,[data-world=forest] .zone-heading strong,[data-world=forest] .catalog-card h2.book-name,[data-world=forest] .flow strong{font-family:ForestTitle,'PingFang TC',sans-serif}
