/* Jejak Bakti — inclusive day/night skin (no external libraries) */
:root{color-scheme:light;--surface:#fffefa;--surface-soft:#f3f7ef;--border-access:#244b3f35;--night-sky:transparent}
html[data-theme="dark"]{color-scheme:dark;--ink:#f4f8ec;--forest:#ade5c9;--dark:#091e24;--green:#9fe4bf;--mint:#203a37;--paper:#101e27;--line:#c9ead333;--surface:#1a2f37;--surface-soft:#223944;--border-access:#bcebd944;--s:0 22px 55px #0007;--night-sky:#111f31}
html{scroll-padding-top:110px}html[data-text-size="large"]{font-size:115%}html[data-text-size="xl"]{font-size:130%}
html[data-theme="dark"] body{background:var(--paper);color:var(--ink)}
html[data-theme="dark"] .site-header{background:#101e27f2;border-color:#e9f5d521;color:var(--ink)}
html[data-theme="dark"] .brand strong{color:#e2f5dc}html[data-theme="dark"] .brand small{color:#bddbd1}
html[data-theme="dark"] .site-nav a:hover,html[data-theme="dark"] .site-nav a.active{background:#345b54;color:#fff}
html[data-theme="dark"] .site-nav .nav-play,html[data-theme="dark"] .btn:not(.secondary):not(.dark):not(.coral){color:#14302a}
html[data-theme="dark"] .site-nav .nav-play{background:#f7cc70;color:#1c3527}
html[data-theme="dark"] .nav-toggle{background:#2a5350;color:#fff}
html[data-theme="dark"] .site-nav.open{background:#162d33;box-shadow:0 15px 40px #0009}
html[data-theme="dark"] .hero{background:radial-gradient(ellipse at 84% 5%,#2c4664 0%,transparent 38%),linear-gradient(135deg,#071e32 0%,#104440 55%,#142a36 100%)}
html[data-theme="dark"] .hero:before,html[data-theme="dark"] .page-hero:before{content:'✦　·　✳　·　✦　　　✧　·　　　✳';position:absolute;right:3%;top:12%;color:#ffe3a6;opacity:.46;font-size:1.6rem;letter-spacing:1.25rem;transform:rotate(-8deg);pointer-events:none;text-shadow:0 0 18px #fbd890}
html[data-theme="dark"] .hero .lead{color:#e5f1e9}html[data-theme="dark"] .page-hero{background:radial-gradient(ellipse at 90% 8%,#30446b 0%,transparent 40%),linear-gradient(132deg,#163d42,#192b45);color:#f7f7ed}
html[data-theme="dark"] .page-hero p{color:#dfefe8}
html[data-theme="dark"] .lead,html[data-theme="dark"] .subtle{color:#c9dfd7}
html[data-theme="dark"] .section-heading em{color:#b6f6cf}
html[data-theme="dark"] .wave-section{background:linear-gradient(135deg,#283443,#2b3c45 55%,#263849);color:#f9f3dc}
html[data-theme="dark"] .paper-card,html[data-theme="dark"] .poster,html[data-theme="dark"] .step-card,html[data-theme="dark"] .service:not(.featured){background:#21373d;color:#edf7ed;border-color:#8cbaa366}
html[data-theme="dark"] .poster p,html[data-theme="dark"] .step-card p,html[data-theme="dark"] .service:not(.featured) p{color:#d2e2de}
html[data-theme="dark"] .service.featured{background:#27564a;color:#fff;border-color:#afdeb7;box-shadow:10px 12px 0 #826b3f}
html[data-theme="dark"] .service.featured .service-number{color:#fff}
html[data-theme="dark"] .service-price{color:inherit}
html[data-theme="dark"] .chip:not(.gold){background:#284d47;color:#f4fff5;border-color:#91c8b27d}
html[data-theme="dark"] .btn.secondary{background:#2f4b4e;color:#f4fff5;border-color:#c1e4d294}
html[data-theme="dark"] .btn.dark{background:#1b403f;color:#fff;border:1px solid #b2dcca}
html[data-theme="dark"] .big-cta{color:#122b2a}
html[data-theme="dark"] .label-number{color:#a1e1b7}
html[data-theme="dark"] .footer{background:#081b25;border-top:1px solid #79b4a255}
html[data-theme="dark"] .modal-panel{background:#23383a;color:#eff5eb;border-color:#c6e5bf}
html[data-theme="dark"] .modal input,html[data-theme="dark"] input[type="url"],html[data-theme="dark"] input[type="text"]{background:#112831;color:#f2f9ef;border-color:#bed6ce}
html[data-theme="dark"] .notice{background:#253e42;color:#ecf9f0}
html[data-theme="dark"] .budget-row{border-color:#9bbaa05e}
html[data-theme="dark"] .budget-total{background:#24483f;color:#fff}
html[data-theme="dark"] .range-wrap{background:#233c40;color:#fff}
html[data-theme="dark"] .world-wrapper,html[data-theme="dark"] .mission-intro{color:#f0f7e9}
html[data-theme="dark"] .game-head,html[data-theme="dark"] .mission-score,html[data-theme="dark"] .mission-content,html[data-theme="dark"] .quiz-main{color:inherit}
html[data-theme="dark"] .mission-node:not(.active):not(.done){color:#e1f3e5}
html[data-theme="dark"] .mission-stage,html[data-theme="dark"] .quick-quiz{border-color:#a5c8a2}
html[data-theme="dark"] .mission-problem{background:#1e3b41;color:#edf6ea}
html[data-theme="dark"] .mission-choices button,html[data-theme="dark"] .quiz-options button{background:#27454a;color:#fff;border-color:#b8dbd0}
html[data-theme="dark"] .mission-choices button:hover,html[data-theme="dark"] .quiz-options button:hover{background:#3b5f5e}
html[data-theme="dark"] .mission-choices button.selected-correct,html[data-theme="dark"] .quiz-options button.correct{background:#215638;color:#fff}
html[data-theme="dark"] .mission-choices button.selected-wrong,html[data-theme="dark"] .quiz-options button.wrong{background:#783e38;color:#fff}
html[data-theme="dark"] .mission-feedback,html[data-theme="dark"] .quest-feedback{color:#f1f5dc}
/* universal accessible UI */
.skip-link{position:fixed;left:12px;top:-110px;z-index:2000;background:#ffe08a;color:#122b2a;padding:12px 18px;border-radius:0 0 12px 12px;font-weight:900;box-shadow:0 8px 18px #0004}
.skip-link:focus{top:0}main:focus{outline:none}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:4px solid #f5a951!important;outline-offset:3px!important;box-shadow:0 0 0 6px #122a2d!important}
html[data-theme="dark"] button:focus-visible,html[data-theme="dark"] a:focus-visible,html[data-theme="dark"] input:focus-visible{outline-color:#ffdf7e!important}
.site-tools{display:flex;align-items:center;gap:8px;flex-shrink:0}.tool-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:43px;border:2px solid #36645135;background:#e7f1e5;border-radius:100px;padding:8px 12px;color:#174338;font-size:.79rem;font-weight:850;white-space:nowrap}.tool-button:hover{background:#d4e9d7;transform:translateY(-2px)}.tool-ico{font-size:1.15rem;line-height:1}.theme-tool{background:#fff1cb;border-color:#cfab51}.access-tool{background:#d6f1f0;border-color:#6ba7a5}
html[data-theme="dark"] .tool-button{background:#25454b;color:#f7f3e2;border-color:#a6d4c9}html[data-theme="dark"] .theme-tool{background:#4d405f;border-color:#d6bce8}
.access-backdrop{position:fixed;inset:0;z-index:600;background:#0b2324bf;backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:14px}.access-backdrop[hidden]{display:none}
.access-panel{width:min(540px,100%);max-height:calc(100dvh - 28px);overflow-y:auto;overscroll-behavior:contain;padding:26px;border-radius:27px;background:var(--surface);color:var(--ink);border:3px solid var(--forest);box-shadow:12px 12px 0 #eabf7390}
.access-panel-top{display:flex;align-items:center;gap:12px}.access-panel-icon{display:grid;place-items:center;font-size:1.6rem;width:50px;height:50px;border-radius:16px;background:var(--gold);color:#17322c}.access-kicker{font-size:.69rem;font-weight:900;letter-spacing:.15em;margin:0;color:var(--green)}.access-panel h2{font-family:Georgia,serif;margin:0;line-height:1.1;font-size:1.7rem}.access-close{margin-left:auto;min-width:43px;min-height:43px;border-radius:50%;border:2px solid var(--border-access);background:var(--surface-soft);color:var(--ink);font-size:1.15rem}.access-intro{font-size:.88rem;color:var(--ink);opacity:.85;margin:16px 0 22px}.access-group{border:2px solid var(--border-access);border-radius:18px;padding:13px 15px;margin:0 0 14px;background:var(--surface-soft);min-width:0}.access-group legend,.access-group label{font-size:.88rem;font-weight:850;padding:0 4px}.access-group label{display:block;margin-bottom:8px}.access-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.access-modes button{min-height:47px;border-radius:12px;border:2px solid var(--border-access);background:var(--surface);color:var(--ink);font-size:.82rem;font-weight:800;padding:6px}.access-modes button[aria-pressed="true"]{background:#fbd982;color:#173a31;border-color:#9d691a;box-shadow:inset 0 0 0 2px #fff}.access-group select{width:100%;height:48px;background:var(--surface);color:var(--ink);border:2px solid var(--border-access);border-radius:12px;padding:7px 11px;font-weight:700}
.access-toggles{display:grid;gap:9px}.access-switch{display:flex;justify-content:space-between;align-items:center;gap:13px;padding:10px 14px;border-radius:15px;border:2px solid var(--border-access);background:var(--surface-soft);cursor:pointer}.access-switch strong,.access-switch small{display:block}.access-switch strong{font-size:.91rem}.access-switch small{font-size:.75rem;opacity:.85}.access-switch input{position:absolute;width:1px;height:1px;opacity:.001}.access-track{width:47px;height:27px;border-radius:20px;background:#738c86;flex-shrink:0;position:relative;border:2px solid var(--ink)}.access-track:before{content:'';position:absolute;top:3px;left:3px;width:17px;height:17px;background:white;border-radius:50%;transition:transform .18s}.access-switch input:checked+.access-track{background:#1a8054}.access-switch input:checked+.access-track:before{transform:translateX(19px)}.access-switch:has(input:focus-visible){outline:3px solid var(--coral);outline-offset:2px}.access-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.access-action{padding:10px 13px;min-height:43px;background:var(--surface-soft);border:2px solid var(--border-access);color:var(--ink);border-radius:12px;font-size:.8rem;font-weight:800}.access-action:hover{filter:brightness(.94)}.access-note{font-size:.74rem;line-height:1.55;opacity:.8;margin:15px 0 0}.access-note kbd{border:1px solid currentColor;padding:1px 5px;border-radius:4px;font-family:inherit}
/* dark adaptive game scenes */
html[data-theme="dark"] .world-frame{background:#17343b;border-color:#89bca3}
html[data-theme="dark"] .world-topline,html[data-theme="dark"] .world-bottom{background:#233a42;color:#eef7eb}
html[data-theme="dark"] .room-dialog{background:#1e343b;color:#f1f7e9}
html[data-theme="dark"] .room-right,html[data-theme="dark"] .room-quote,html[data-theme="dark"] .quest{color:#162c25}
html[data-theme="dark"] .room-banner{background:#1d4d43;color:#fff}
html[data-theme="dark"] .room-quote{background:#fff1d6}
html[data-theme="dark"] .quest-choices button,html[data-theme="dark"] .npc-buttons button{background:#ecf4e5;color:#142e2a;border-color:#31584d}
/* inclusive paths / optional RPG movement */
.access-world-gateway{margin:20px 0 8px;padding:22px;background:linear-gradient(110deg,#ecf7e9,#fdf0cd);color:#143e32;border:2px dashed #367c5c;border-radius:24px;display:grid;grid-template-columns:minmax(240px,1fr) 1.2fr;align-items:center;gap:18px}
.access-world-gateway b{font-size:1.05rem}.access-world-gateway p{margin:5px 0 0;font-size:.89rem}.access-world-shortcuts{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.access-world-shortcuts button{background:#fff;border:2px solid #51836b;color:#184834;border-radius:12px;font-weight:830;padding:11px;min-height:48px;text-align:left}.access-world-shortcuts button:hover{background:#ffe59a;transform:translateY(-2px)}
.access-game-alternative{padding:15px 20px;margin:22px auto 0;border-radius:20px;background:#e7f4e7;border:2px solid #568d71;color:#173d31}.access-game-alternative a{text-decoration:underline;text-decoration-thickness:2px;font-weight:900}.access-game-alternative strong{display:block}
.inclusion-section{background:linear-gradient(140deg,#e8f2da,#fbdfbc 53%,#e0f0f3);overflow:hidden}.inclusion-grid{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:45px}.inclusion-section .lead{color:#375c52}.inclusion-stickers{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;transform:rotate(3deg)}.inclusion-stickers span{min-height:135px;background:#fffdf1;color:#214a3b;border:2px solid #154b3b;border-radius:20px;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:2.2rem;box-shadow:5px 7px 0 #254e3930;animation:float 6s ease-in-out infinite}.inclusion-stickers span:nth-child(2n){background:#ffe2b7;animation-delay:-2s}.inclusion-stickers span:nth-child(3n){background:#d9ecf7;animation-delay:-3s}.inclusion-stickers small{font-size:.58rem;font-weight:900;letter-spacing:.1em;margin-top:7px}
html[data-theme="dark"] .inclusion-section{background:linear-gradient(120deg,#1e393c,#38435e,#293c43)}html[data-theme="dark"] .inclusion-section .lead{color:#e3efeb}
html[data-theme="dark"] .access-world-gateway{background:#294640;color:#f4f8e8;border-color:#b8e8b3}html[data-theme="dark"] .access-world-shortcuts button{background:#1d3e42;color:#fff;border-color:#a4cfb7}html[data-theme="dark"] .access-game-alternative{background:#214a43;color:#fff;border-color:#94bfa7}
/* high contrast overrides: stronger focus / solid backgrounds */
html[data-contrast="high"]{--ink:#091615;--green:#08462f;--line:#1c2e26;--border-access:#0b2b21}
html[data-contrast="high"][data-theme="dark"]{--ink:#fff;--green:#b8ffcc;--line:#fff;--border-access:#e8ffe5}
html[data-contrast="high"] body{letter-spacing:.012em}html[data-contrast="high"] .paper-card,html[data-contrast="high"] .poster,html[data-contrast="high"] .step-card,html[data-contrast="high"] .service,html[data-contrast="high"] .access-panel{border-width:3px;border-color:var(--ink)}
html[data-contrast="high"] .site-header{border-bottom:3px solid var(--ink)}html[data-contrast="high"] .site-nav a:focus-visible{outline:4px solid #ff9c4c}
html[data-contrast="high"] .lead,html[data-contrast="high"] .subtle{opacity:1;color:var(--ink)}
html[data-contrast="high"][data-theme="dark"] .lead,html[data-contrast="high"][data-theme="dark"] .subtle{color:#fff}
html[data-contrast="high"] .access-world-shortcuts button,html[data-contrast="high"] .access-action{border-width:3px}
html[data-link-underline="true"] a:not(.brand):not(.btn):not(.poster):not(.big-cta){text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px}
html[data-reduce-motion="true"],html[data-reduce-motion="true"] *:not(canvas),html[data-reduce-motion="true"] *:before,html[data-reduce-motion="true"] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html[data-reduce-motion="true"] .reveal{opacity:1!important;transform:none!important}
@media(prefers-reduced-motion:reduce){html,html *:not(canvas),html *:before,html *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reveal{opacity:1!important;transform:none!important}}
@media(max-width:1180px){.tool-label{display:none}.tool-button{padding:7px 10px;min-width:43px}}
@media(max-width:850px){.site-tools{margin-left:auto}.site-nav.open{background:var(--surface);color:var(--ink)}.access-world-gateway{grid-template-columns:1fr}.inclusion-grid{grid-template-columns:1fr}.inclusion-stickers{transform:none}.inclusion-stickers span{min-height:105px}}
@media(max-width:500px){.wrap{padding-left:17px;padding-right:17px}.brand strong{font-size:1.1rem}.brand small{font-size:.5rem}.brand img{width:36px;height:36px}.nav-shell{gap:7px}.site-tools{gap:5px}.tool-button,.nav-toggle{min-width:42px;width:42px;height:42px;padding:5px}.access-panel{padding:16px;border-radius:18px}.access-panel h2{font-size:1.38rem}.access-actions{gap:6px}.access-action{flex:1 1 44%}.access-world-shortcuts{grid-template-columns:1fr 1fr}.access-world-shortcuts button{font-size:.75rem;padding:8px}.inclusion-stickers{gap:9px}.inclusion-stickers span{font-size:1.7rem;min-height:90px}.inclusion-stickers small{font-size:.52rem}}

/* Readability refinements for all six dark-mode pages */
html[data-theme="dark"] .mission-stage,html[data-theme="dark"] .quick-quiz{background:#20363d;color:#f3f8ee}
html[data-theme="dark"] .mission-content,html[data-theme="dark"] .quiz-main{color:#f3f8ee}
html[data-theme="dark"] .room-right{color:#f3f8ee}
html[data-theme="dark"] .room-quote,html[data-theme="dark"] .quest{color:#17342c}
html[data-theme="dark"] .room-quote p,html[data-theme="dark"] .quest p{color:#17342c}
html[data-theme="dark"] .mission-score{color:#f3f8ee}
html[data-theme="dark"] .mission-path:before{background:#b5d5b2}
html[data-theme="dark"] .mission-node.locked{opacity:.68}
html[data-theme="dark"] .arcade-toolbar{color:#f0f8e8}
html[data-theme="dark"] .paper-card input,html[data-theme="dark"] .paper-card select{color:#f3f8ed}
html[data-theme="dark"] .access-group select{color:var(--ink)}
html[data-contrast="high"] .access-modes button[aria-pressed="true"]{border-width:3px}
