body{background:radial-gradient(ellipse at 15% 0,#ffe4ba70,transparent 42%),#f5f0fc}
.app{max-width:1280px}.world-shell{background:#fffcf8}.world-header{padding:22px 30px;background:linear-gradient(120deg,#65349a,#7b46b5);gap:24px;align-items:center}
.brand-heading{min-width:0}.world-header .logo{width:auto;justify-content:flex-start}.world-header .logo-wordmark{font-size:39px;letter-spacing:-2px}.world-header .logo-mascot{width:38px;height:46px}.brand-heading h1{font-size:20px;font-weight:850;line-height:1.3;letter-spacing:0;margin:7px 0 0;color:#ffe1a7;white-space:normal}
.world-controls{display:grid;grid-template-columns:82px 66px 100px 108px;align-items:stretch;gap:8px;flex-shrink:0}.world-control{min-height:61px;min-width:44px;border:1px solid #ffffff40;border-radius:17px;background:#ffffff14;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:6px;font-size:10px;font-weight:850;line-height:1.2;text-align:center}.control-symbol{display:flex;align-items:center;justify-content:center;gap:4px;min-height:24px;font-size:23px}.control-symbol .icon{width:23px;height:23px}.journey-control{background:#ffda8c;color:#542875;border-color:#ffda8c}.journey-control b{font-size:18px}.world-controls .language-switch{justify-content:center;align-self:center;height:54px}
.world-main{padding:28px}.world-warning{margin:18px 24px 0;padding:14px 18px;border:1px solid #edc37b;border-radius:16px;background:#fff3da;color:#79501c;font-size:14px}.world-intro{margin:22px 0 28px}.world-intro h2{font-size:32px;line-height:1.2;margin:0 0 10px;letter-spacing:-.5px}.world-intro p{margin:0;color:var(--muted);font-size:16px;line-height:1.65}.soft-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:12px 21px;border:1px solid #e2cfee;border-radius:17px;background:#f2e8fc;color:#683594;font-size:16px;font-weight:850;text-decoration:none}.plain-world-button{min-height:44px;padding:9px 12px;border:0;background:transparent;color:#775385;font-size:14px;font-weight:800}.welcome-secondary .plain-world-button{color:#ead9f9}.welcome-secondary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}.welcome-secondary .soft-button{background:#ffffff17;color:#fff;border-color:#ffffff40}.world-welcome .welcome-layout{min-height:calc(100dvh - 198px)}.world-welcome .welcome-copy h2{font-size:51px;line-height:1.08;letter-spacing:-1.6px;margin:22px 0 18px;white-space:pre-line;color:#fff;font-weight:1000}.world-welcome .welcome-copy p{max-width:430px;font-size:18px;color:#f2e6fa;line-height:1.6}.world-welcome .welcome-wordmark{display:none}.world-welcome .welcome-buttons{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.world-welcome .start{min-height:64px}.world-welcome .floating-star{font-size:56px;line-height:1;color:#ffda8b}.hello-pill{position:absolute;z-index:2;bottom:14%;right:10%;padding:10px 20px;border-radius:18px;background:#fff8e8;color:#703799;font-size:17px;font-weight:950;transform:rotate(-7deg);box-shadow:0 8px 25px #4b216524}


.journey-heading{display:flex;gap:20px;justify-content:space-between;align-items:center;margin:20px 0 24px}.journey-heading h2{font-size:30px;line-height:1.2;margin:0 0 10px;overflow-wrap:anywhere}.journey-heading p{margin:0;max-width:670px;color:var(--muted)}.balance-grid{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:16px;margin:24px 0}.balance-card{display:flex;flex-direction:column;align-items:flex-start;padding:22px 24px;border:1px solid #ebdff3;border-radius:23px;background:#fff;gap:7px}.balance-card>span{font-size:13px;color:#795e88;font-weight:850}.balance-card strong{font-size:36px;line-height:1.1;font-weight:1000;color:#704093}.balance-card.available{background:#fff1d4;border-color:#ffe1a7}.balance-card.available strong{color:#a46822}.balance-card.rank{background:#efe5fb}.balance-card.rank strong{font-size:23px}.balance-card small{font-size:12px;color:#795e88}.milestone-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 28px}.milestone{border:1px solid #eadef1;background:#fff;border-radius:22px;padding:20px}.milestone-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#eee4fa;color:#9c80b4;font-size:24px;margin-bottom:12px}.milestone.is-done .milestone-mark{background:#ffde8d;color:#9c641c}.milestone h3{font-size:18px;margin:0 0 8px}.milestone p{font-size:14px;color:var(--muted);margin:0;line-height:1.6}.journey-card{margin:22px 0;padding:25px;border:1px solid #e8dced;border-radius:27px;background:#fff}.journey-card h2,.journey-card h3{margin:0 0 8px}.journey-card>p{margin:0 0 18px;color:var(--muted);line-height:1.6}.chapter-progress{font-size:14px;font-weight:900;color:#865299}.chapter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:17px}.chapter-task{display:flex;flex-direction:column;gap:9px;position:relative;min-width:0;padding:12px;border:2px solid #eee3f5;border-radius:20px;background:#fbf8fe;color:var(--ink);font-size:14px;font-weight:850;line-height:1.25}.chapter-task.is-done{border-color:#efc46f;background:#fff9e8}.chapter-task svg,.chapter-task img{width:100%;aspect-ratio:6/5;object-fit:contain;display:block;border-radius:10px;background:#fff}.chapter-task .task-check{position:absolute;right:8px;top:8px;padding:4px 7px;border-radius:9px;background:#ffdf8e;color:#8c5d20;font-size:13px}.chapter-task:disabled{opacity:.65}.friend-preview{display:flex;align-items:center;justify-content:space-between;gap:22px;background:linear-gradient(120deg,#f0e4ff,#fff3db)}.friend-mini{display:flex;align-items:center;gap:15px}.friend-mini img{width:95px;height:120px;object-fit:contain;filter:drop-shadow(0 5px 8px #3f184b20)}.friend-silhouette{position:relative;width:100px;height:123px;flex-shrink:0;border-radius:45% 45% 38% 38%;background:#8a70a4;box-shadow:inset -12px -8px 0 #73568e30;display:grid;place-items:center}.friend-silhouette::before,.friend-silhouette::after{content:'';position:absolute;top:-12px;width:20px;height:28px;border-radius:100% 100% 0 0;background:#8a70a4;transform:rotate(-25deg)}.friend-silhouette::before{left:18px}.friend-silhouette::after{right:17px;transform:rotate(25deg)}.friend-silhouette span{font-size:45px;font-weight:1000;color:#c2aed4}.friend-preview.is-found .friend-silhouette{background:#6f4598}.frame-offer{display:grid;grid-template-columns:150px 1fr;align-items:center;gap:24px}.frame-sample{border:8px double #f3b44c;border-radius:22px;background:#fff9df;overflow:hidden}.frame-sample svg,.frame-sample img{display:block;width:100%;aspect-ratio:6/5;object-fit:contain}.frame-offer p{color:var(--muted);line-height:1.65}.frame-offer .small-note{margin:6px 0 15px}.personal-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:20px}.saved-art{width:100%;display:flex;flex-direction:column;border:1px solid #e9dff2;border-radius:22px;padding:12px;background:#fff;text-align:left;color:var(--ink);gap:10px}.saved-art .saved-image{display:block;aspect-ratio:6/5;border:2px solid #f0e9f6;border-radius:15px;overflow:hidden;background:#fff}.saved-art img,.saved-art svg{display:block;width:100%;height:100%;object-fit:contain}.saved-art strong{font-size:17px}.saved-art small{font-size:12px;color:var(--muted)}.has-sunshine-frame .saved-art .saved-image{border:7px double #efb247;background:#fff9df;box-shadow:0 3px 12px #f2c77235}.empty-gallery{padding:42px 22px;border:2px dashed #e4d4ef;border-radius:25px;text-align:center;color:var(--muted)}.empty-gallery h3{color:var(--ink)}
.parents-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.parent-card{min-width:0;padding:26px;background:#fff;border:1px solid #e7ddef;border-radius:25px}.parent-card.wide{grid-column:1/-1}.parent-card h2{font-size:22px;margin:0 0 13px}.parent-card p{font-size:14px;color:var(--muted);line-height:1.65}.parent-card label{display:flex;flex-direction:column;gap:9px;font-size:14px;font-weight:850;margin:16px 0}.parent-card input{width:100%;min-height:52px;border:1px solid #dac8eb;background:#fffcff;border-radius:15px;padding:12px 15px;color:var(--ink)}.parent-card input:disabled{background:#f5f2f7;color:#8a7995}.parent-card .start{font-size:16px;min-height:52px}.parent-card .small-note{font-size:12px}.parent-card details{font-size:13px;color:#765285;line-height:1.7;margin-top:15px}.parent-card summary{cursor:pointer;font-weight:850;min-height:36px}.parent-status{display:flex;align-items:center;gap:9px;padding:11px 13px;margin:12px 0;border-radius:13px;background:#fff1dc;color:#8b632a;font-size:13px;font-weight:850}.parent-status::before{content:'';width:8px;height:8px;border-radius:50%;background:#deaa53;flex-shrink:0}.parent-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.danger-button{min-height:50px;border:1px solid #ebccd8;border-radius:15px;background:#fff7f8;color:#a34866;padding:10px 18px;font-weight:800}.small-note{font-size:12px;color:var(--muted);line-height:1.6}.form-error{color:#a33c58;font-size:14px;min-height:20px}.profile-note{padding:12px 15px;background:#f4edfc;border-radius:15px;color:#715482;font-size:13px;line-height:1.6}.parent-progress .balance-grid{margin:0;grid-template-columns:1fr 1fr}.parent-progress .balance-card{padding:15px}.parent-progress .balance-card strong{font-size:28px}.parent-progress .rank{grid-column:1/-1}.parent-card .personal-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.parent-gate{max-width:430px;width:calc(100vw - 32px);padding:30px;text-align:center}.parent-gate form label{display:block;font-size:25px;font-weight:950;color:#74429b;margin:20px 0}.parent-gate input{width:100%;min-height:62px;text-align:center;font:900 28px var(--font);border:2px solid #dfcbee;border-radius:17px;background:#f9f3ff;color:#63318a}.parent-gate form .start{width:100%;margin:8px 0}.parent-gate .plain-world-button{width:100%}.friend-dialog{max-width:540px;width:calc(100vw - 32px);padding:30px;text-align:center;background:linear-gradient(150deg,#fff9e8,#f3e7ff)}.friend-dialog h2{font-size:29px;color:#66328b}.friend-sparkle{font-size:28px;color:#eeb046;letter-spacing:10px}.friend-meeting{display:flex;justify-content:center;align-items:center;gap:25px;margin:20px auto 24px}.friend-meeting img{height:185px;width:145px;object-fit:contain}.friend-meeting .friend-silhouette{width:115px;height:142px}.friend-dialog p{font-size:16px;color:#735583;line-height:1.7}.friend-dialog .start{font-size:17px;min-height:56px}.completion-reward{margin:10px 0 18px;padding:10px 13px;border-radius:14px;background:#fff0bd;color:#9c641b;font-size:18px;font-weight:950}
body[data-view="editor"] .world-header{padding:14px 22px;min-height:100px;flex-wrap:nowrap}body[data-view="editor"] .world-header .logo-wordmark{font-size:34px}body[data-view="editor"] .world-header .logo-mascot{display:block;width:30px;height:36px}body[data-view="editor"] .brand-heading h1{font-size:17px}body[data-view="editor"] .world-controls{grid-template-columns:66px 55px 90px 92px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:1050px){.world-header{flex-direction:column;align-items:stretch;gap:17px}.brand-heading{text-align:center}.world-header .logo{justify-content:center}.world-controls{align-self:center}body[data-view="editor"] .world-header{flex-direction:row;gap:14px}body[data-view="editor"] .brand-heading{text-align:left}body[data-view="editor"] .world-header .logo{justify-content:flex-start}}
@media(max-width:800px){.app{padding:12px 12px 25px}.world-main{padding:22px}.world-welcome .welcome-layout{min-height:480px}.world-welcome .welcome-copy h2{font-size:37px}.world-welcome .welcome-copy p{font-size:16px}.balance-grid{gap:11px}.balance-card{padding:18px}.balance-card.rank strong{font-size:19px}.milestone-grid{gap:10px}.milestone{padding:16px}.milestone h3{font-size:16px}.parents-grid{gap:15px}.parent-card{padding:21px}.parent-card .personal-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.personal-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.app{padding:0}.world-shell{border-radius:0;border:0;min-height:100dvh}.world-header{padding:18px 12px 15px;gap:15px}.world-header .logo-wordmark{font-size:39px}.world-header .logo-mascot{width:32px;height:39px}.brand-heading h1{font-size:18px;margin-top:7px}.world-controls,body[data-view="editor"] .world-controls{grid-template-columns:54px 50px 88px 78px;gap:6px}.world-control{font-size:9px;min-height:55px;padding:5px}.control-symbol{font-size:21px;min-height:23px}.control-symbol .icon{width:22px;height:22px}.journey-control b{font-size:17px}.world-controls .language-switch{height:49px;padding:3px;gap:1px}.world-controls .language-switch button{min-width:37px;width:37px;height:40px;padding:0;font-size:12px}.world-main{padding:20px 16px 28px}.world-intro h2{font-size:27px}.world-intro p{font-size:15px}.world-welcome .welcome-layout{padding:26px 24px 18px;min-height:0;display:flex;flex-direction:column;gap:0}.world-welcome .welcome-copy{text-align:center;padding:0}.world-welcome .welcome-copy h2{font-size:34px;margin:17px 0 13px;letter-spacing:-.9px}.world-welcome .welcome-copy p{font-size:15px;margin:0 auto 20px}.world-welcome .welcome-tag{font-size:8px;padding:8px 10px;letter-spacing:1px}.world-welcome .welcome-buttons{align-items:stretch}.world-welcome .start,.world-welcome .continue-btn{width:100%;justify-content:center;min-height:58px;font-size:18px}.world-welcome .welcome-secondary{justify-content:center;margin-top:15px;gap:7px}.world-welcome .welcome-secondary .soft-button{font-size:14px;min-height:46px;padding:10px 15px}.world-welcome .welcome-art{height:280px;width:100%;margin:15px 0 0;transform:none}.world-welcome .splash-character{height:265px;max-height:100%;width:auto;left:50%;transform:translateX(-50%);bottom:0;top:auto}.world-welcome .hello-pill{right:1%;bottom:9%;font-size:13px;padding:8px 12px}.world-welcome .star-a{left:7%;top:14%;font-size:44px}.world-welcome .star-b{right:5%;top:6%;font-size:37px}.journey-heading{margin-top:20px}.journey-heading h2{font-size:25px}.journey-heading p{font-size:14px}.balance-grid{grid-template-columns:1fr 1fr;gap:11px}.balance-card{padding:17px;border-radius:20px}.balance-card strong{font-size:32px}.balance-card.rank{grid-column:1/-1;flex-direction:row;align-items:center;flex-wrap:wrap;gap:9px}.balance-card.rank strong{font-size:20px}.balance-card.rank small{margin-left:auto}.milestone-grid{grid-template-columns:1fr;gap:11px}.milestone{display:grid;grid-template-columns:42px 1fr;gap:0 13px;padding:17px}.milestone-mark{grid-row:1/3;margin:0}.milestone h3{margin:0 0 5px}.milestone p{font-size:12px}.journey-card{padding:20px;border-radius:23px}.chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.chapter-task{font-size:13px}.friend-preview{align-items:flex-start;flex-direction:column;gap:10px}.friend-mini{align-self:center}.frame-offer{grid-template-columns:100px 1fr;gap:15px}.frame-offer h3{font-size:18px}.frame-offer p{font-size:13px}.frame-offer .soft-button{grid-column:1/-1;width:100%;font-size:14px;padding:11px}.frame-copy{min-width:0}.personal-gallery-grid{gap:13px}.saved-art{padding:9px;border-radius:18px}.saved-art strong{font-size:14px}.parents-grid{grid-template-columns:1fr}.parent-card{padding:22px}.parent-card.wide{grid-column:auto}.parent-actions{flex-direction:column}.parent-actions button{width:100%;font-size:14px}.parent-card h2{font-size:21px}.parent-card input{font-size:16px}.parent-gate{padding:26px}.friend-meeting{gap:16px}.friend-meeting img{width:120px;height:160px}.friend-meeting .friend-silhouette{width:94px;height:119px}.friend-dialog{padding:26px}.friend-dialog h2{font-size:25px}body[data-view="editor"] .world-header{flex-direction:column;align-items:stretch;padding:12px 10px;gap:10px;min-height:0}body[data-view="editor"] .brand-heading{text-align:center}body[data-view="editor"] .world-header .logo{justify-content:center}body[data-view="editor"] .world-header .logo-wordmark{font-size:30px}body[data-view="editor"] .world-header .logo-mascot{display:none}body[data-view="editor"] .brand-heading h1{font-size:16px;margin-top:4px}body[data-view="editor"] .world-controls{align-self:center}body[data-view="editor"] .world-control{min-height:48px;font-size:9px}body[data-view="editor"] .world-controls .language-switch{height:46px}.editorhead h2{font-size:19px;margin:0}.page-title h2{font-size:30px;margin:0}.library-heading .sectiontitle{font-size:25px}}
@media(max-width:360px){.world-main{padding-inline:13px}.world-welcome .welcome-layout{padding-inline:18px}.world-welcome .welcome-copy h2{font-size:29px}.frame-offer{grid-template-columns:1fr}.frame-sample{width:140px;justify-self:center}.brand-heading h1{font-size:16px}.world-header .logo-wordmark{font-size:35px}.world-controls{max-width:100%}.world-intro h2{font-size:24px}}
@media(min-width:601px) and (max-height:600px) and (orientation:landscape){.world-header{flex-direction:row;padding:12px 18px;gap:15px}.brand-heading{text-align:left}.world-header .logo{justify-content:flex-start}.world-header .logo-wordmark{font-size:31px}.brand-heading h1{font-size:15px;max-width:310px}.world-controls,body[data-view="editor"] .world-controls{grid-template-columns:50px 46px 86px 70px;gap:5px}.world-control{min-height:48px;font-size:9px}.world-header .logo-mascot{display:none}.world-controls .language-switch button{min-width:36px;width:36px;padding:0}body[data-view="editor"] .world-header{padding:8px 16px;min-height:83px}body[data-view="editor"] .world-header .logo-wordmark{font-size:29px}body[data-view="editor"] .brand-heading h1{font-size:14px}.world-welcome .welcome-layout{min-height:390px}.world-welcome .welcome-copy h2{font-size:34px}}
@media(prefers-reduced-motion:reduce){.world-welcome .floating-star,.world-welcome .splash-character{animation:none!important}}
.modal-sound{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;margin:5px 0;padding:8px 12px;border:1px solid #e4cdec;border-radius:14px;background:#ffffffa8;color:#754294;font-size:13px;font-weight:850}.modal-sound .icon{width:20px;height:20px}#artwork-dialog{width:min(540px,calc(100vw - 32px));padding:28px}#artwork-image{margin:16px 0 22px;overflow:hidden;border-radius:18px;border:2px solid #eee3f6}#artwork-image img,#artwork-image svg{display:block;width:100%;height:auto;aspect-ratio:6/5;object-fit:contain;background:#fff}#artwork-image.has-frame{border:8px double #efb247}#artwork-dialog .start{font-size:16px;min-height:52px}

/* Coloring preferences, difficulty and local player tables. */
.brand-heading{position:relative;padding-right:74px}.settings-corner{position:absolute;right:0;top:0;width:62px;min-height:58px;font-size:9px}.settings-corner .control-symbol{font-size:23px}
.difficulty-panel{margin:20px 0 24px;padding:19px 22px;border:1px solid #e7d9f5;border-radius:24px;background:linear-gradient(110deg,#f4eaff,#fff5e6)}
.difficulty-heading{display:flex;align-items:center;gap:16px;justify-content:space-between;margin-bottom:12px}.difficulty-heading strong{font-size:18px;color:var(--deep)}.difficulty-heading>span{color:var(--muted);font-size:13px;max-width:650px}
.difficulty-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.difficulty-button{min-width:0;min-height:58px;display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #e4d5ed;border-radius:15px;background:#ffffffa8;color:#6d5080;font-weight:900}.difficulty-button small{font-size:13px;color:#b77711;letter-spacing:2px}.difficulty-button.active{background:#7441ae;color:#fff;border-color:#7441ae;box-shadow:0 4px 0 #532483}.difficulty-button.active small{color:#ffdc8a}
#editor-difficulty{margin:0 0 18px;padding:13px 17px}#editor-difficulty .difficulty-heading{margin-bottom:8px}#editor-difficulty .difficulty-heading strong{font-size:15px}#editor-difficulty .difficulty-button{min-height:46px;font-size:14px}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.settings-card{padding:25px;border:1px solid #eadcf3;border-radius:26px;background:#fff;box-shadow:var(--shadow);min-width:0}.settings-card.wide{grid-column:1/-1}.settings-card h3,.settings-card legend{font-size:21px;font-weight:900;margin:0 0 9px;color:var(--deep)}.settings-card fieldset{border:0;padding:0;margin:0;min-width:0}.settings-card p{margin:0 0 19px;font-size:14px;color:var(--muted)}
.settings-options{display:flex;gap:9px;flex-wrap:wrap}.setting-option{display:flex;position:relative;flex:1;min-width:100px;cursor:pointer}.setting-option input{position:absolute;opacity:0;inset:0;margin:0}.setting-option span{display:flex;align-items:center;justify-content:center;min-height:54px;width:100%;padding:12px 14px;border:1px solid #e1d2ee;background:#f7f1fc;border-radius:15px;text-align:center;font-weight:850;font-size:14px}.setting-option input:checked+span{background:#7441ae;border-color:#7441ae;color:#fff;box-shadow:0 4px 0 #532483}.setting-option input:focus-visible+span{outline:3px solid #227da9;outline-offset:3px}.settings-language{display:flex;gap:10px}.settings-language button{flex:1;min-height:54px;border:1px solid #dfcfee;border-radius:15px;background:#f8f2fc;color:#6b458c;font-weight:850}.settings-language button[aria-pressed=true]{background:#7441ae;color:#fff;border-color:#7441ae}.settings-sound{display:flex;align-items:center;gap:12px;min-height:54px;border:1px solid #dfcfee;padding:12px 19px;border-radius:15px;background:#f8f2fc;color:#6b458c;font-weight:850}.settings-sound[aria-checked=true]{background:#eee4fd}.settings-card output{display:block;margin-top:18px;font-size:13px;color:var(--muted)}.settings-footer{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:22px}
.progress-table-wrap{overflow:auto;max-width:100%;border-radius:17px;border:1px solid #e9dff1}.progress-table{width:100%;border-collapse:collapse;font-size:14px;text-align:left}.progress-table th,.progress-table td{padding:14px 17px;border-bottom:1px solid #eee6f4}.progress-table thead{background:#f4edfb;color:#73548c;font-size:12px}.progress-table tr:last-child>*{border-bottom:0}.progress-table tr[data-current-level=true],.progress-table tr[data-current-player=true]{background:#fff4db}.level-tag{font-size:12px;white-space:nowrap;color:var(--muted)}.you-label{display:inline-block;padding:2px 7px;margin-left:5px;border-radius:20px;font-size:10px;background:#7441ae;color:#fff}.parent-card select{font:inherit;width:100%;min-height:48px;border:1px solid #dfcfee;border-radius:12px;padding:10px 14px;color:var(--ink);background:#fff;margin:8px 0 18px}.parent-card select:focus-visible{outline:3px solid #227da9;outline-offset:3px}.parent-gate label{display:block;margin-bottom:8px;text-align:left;font-weight:850}
html[data-motion=reduced] *,html[data-motion=reduced] *::before,html[data-motion=reduced] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html[data-theme=dark]{color-scheme:dark;--ink:#f0e7ff;--muted:#c1b0d4;--deep:#ebd6ff;--purple:#b68fe7;--lilac:#3e2c51;--shadow:0 8px 24px #0002}
html[data-theme=dark] body{background:radial-gradient(ellipse at 15% 0,#462d5d66,transparent 45%),#191322}
html[data-theme=dark] .world-shell,html[data-theme=dark] .shell{background:#241b30;border-color:#4c365e}
html[data-theme=dark] .world-header{background:linear-gradient(120deg,#42205f,#63358a)}
html[data-theme=dark] :is(.settings-card,.journey-card,.parent-card,.saved-art,.milestone){background:#30243d;border-color:#513c64;color:var(--ink)}
html[data-theme=dark] :is(.category,.art-card){background:#30243d;border-color:#513c64;color:var(--ink)}
html[data-theme=dark] :is(.category-label,.arttext,.page-title h2,.editorhead h2){color:var(--ink)}
html[data-theme=dark] .difficulty-panel{background:linear-gradient(110deg,#372448,#3c2c2a);border-color:#5b416b}
html[data-theme=dark] :is(.difficulty-button,.setting-option span,.settings-language button,.settings-sound,.soft-button){background:#413052;color:#ecdcfa;border-color:#674b7b}
html[data-theme=dark] :is(.difficulty-button.active,.setting-option input:checked+span,.settings-language button[aria-pressed=true]){background:#9d6fd0;border-color:#be94e7;color:#fff;box-shadow:0 4px 0 #53316f}
html[data-theme=dark] .balance-card{background:#3f2d54;border-color:#614674;color:#f4e4ff}html[data-theme=dark] .balance-card.available{background:#413220}html[data-theme=dark] .balance-card strong,html[data-theme=dark] .balance-card.rank strong{color:#ffe2a0}html[data-theme=dark] .balance-card :is(span,small){color:#e1d2ed}
html[data-theme=dark] :is(.milestone p,.journey-card p,.parent-card p,.chapter-task,.saved-art small,.plain-world-button){color:var(--muted)}
html[data-theme=dark] :is(.parent-card input,.parent-card select,.parent-gate input){background:#241a30;border-color:#634c78;color:var(--ink)}
html[data-theme=dark] :is(.parent-status,.profile-note,.chapter-progress){background:#43324f;color:#e7d5f5}
html[data-theme=dark] .progress-table-wrap{border-color:#5a436c}html[data-theme=dark] .progress-table th,html[data-theme=dark] .progress-table td{border-color:#4e395e}html[data-theme=dark] .progress-table thead{background:#392649;color:#ddc8ee}html[data-theme=dark] .progress-table tr[data-current-level=true],html[data-theme=dark] .progress-table tr[data-current-player=true]{background:#4e382b}
html[data-theme=dark] :is(dialog,.tools-panel,.scene-nav){background:#30243d;border-color:#614674;color:var(--ink)}
html[data-theme=dark] .tool{background:#43324f;color:#e8d5fa;border-color:#695078}html[data-theme=dark] .tool.active{background:#9d6fd0;color:white}html[data-theme=dark] :is(.palette-top,.size-row,.canvas-footer){color:var(--muted)}html[data-theme=dark] .backbtn{color:#d9b7f6}html[data-theme=dark] .paint-panel{border-color:#634c78}
html[data-theme=dark] .thumb,html[data-theme=dark] .saved-image,html[data-theme=dark] #drawing-wrap{background:white;color:#402751;color-scheme:light}
@media(max-width:600px){.brand-heading{padding-right:58px;padding-left:58px}.settings-corner{width:49px;min-height:49px;top:3px;border-radius:14px;font-size:8px}.settings-corner .control-symbol{font-size:21px}.world-header .logo{justify-content:center}.brand-heading h1{text-align:center}.difficulty-panel{padding:15px 12px;border-radius:20px}.difficulty-heading{display:block}.difficulty-heading strong{display:block;margin-bottom:4px;font-size:16px}.difficulty-heading>span{font-size:12px;display:block}.difficulty-button{flex-direction:column;gap:2px;font-size:13px;min-height:60px}.difficulty-button small{font-size:12px}.difficulty-options{gap:7px}#editor-difficulty{padding:10px 12px}#editor-difficulty .difficulty-button{min-height:49px;font-size:12px}#editor-difficulty .difficulty-heading strong{font-size:14px}.settings-grid{grid-template-columns:1fr;gap:13px}.settings-card.wide{grid-column:auto}.settings-card{padding:21px;border-radius:23px}.setting-option{min-width:80px}.setting-option span{padding:11px 9px;font-size:12px}.settings-options{gap:7px}.settings-footer{align-items:stretch;flex-direction:column}.settings-footer button{width:100%}.progress-table{font-size:12px}.progress-table th,.progress-table td{padding:12px 9px}.progress-table thead{font-size:10px}.level-tag{font-size:10px}.you-label{margin-left:0}body[data-view=editor] .brand-heading{padding-right:50px;padding-left:50px}body[data-view=editor] .settings-corner{top:-1px;min-height:42px;font-size:7px;width:44px}body[data-view=editor] .settings-corner .control-symbol{font-size:18px}}

html[data-theme=dark] .language-switch button.active{background:#fff;color:#50266d}html[data-theme=dark] .backbtn{background:#413052;border-color:#674b7b;color:#ead6ff}
html[data-theme=dark] .notice{background:#533070;color:#fff;border-color:#9d77b8}html[data-theme=dark] .friend-dialog h2,html[data-theme=dark] .parent-gate form label{color:#ead5ff}html[data-theme=dark] .friend-dialog p{color:#d0bfe0}html[data-theme=dark] #gallery-save{color:#623a20}
/* Color-learning workshop and compact header. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body .world-header,body[data-view=editor] .world-header{flex-direction:row;align-items:center;padding:18px 26px;min-height:90px;gap:16px}
body .brand-heading,body[data-view=editor] .brand-heading{padding:0;text-align:left;flex:1;min-width:0}body .world-header .logo,body[data-view=editor] .world-header .logo{justify-content:flex-start}body .world-header .logo-mascot,body[data-view=editor] .world-header .logo-mascot{display:block}
body .world-controls,body[data-view=editor] .world-controls{grid-template-columns:66px 66px 110px;gap:8px;align-self:center}
body .world-controls .world-control{min-height:57px;font-size:10px}body #settings-top{position:static;width:auto;min-height:57px}body .settings-language button{display:flex;align-items:center;justify-content:center;gap:10px;font-size:17px}.settings-language small{font-size:12px;font-weight:700}
.learning-album{display:block}.learning-group{margin:24px 0 30px;padding:23px;border:1px solid #e7d9f2;border-radius:27px;background:linear-gradient(130deg,#f7f0ff,#fff7eb)}.learning-group-heading{display:flex;align-items:center;gap:13px;margin-bottom:20px}.learning-step{width:43px;height:43px;display:grid;place-items:center;flex-shrink:0;background:#7441ae;color:white;border-radius:15px;font-size:22px;font-weight:950}.learning-group-heading h3{font-size:23px;margin:0;color:var(--deep)}.learning-group-heading p{font-size:13px;color:var(--muted);margin:2px 0 0}.learning-group-colors{display:flex;gap:5px;flex-wrap:wrap;margin-left:auto;max-width:175px}.task-color-dot{display:block;background:var(--color);width:16px;height:16px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #55366f16}.learning-task-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.learning-task{display:flex;flex-direction:column;gap:7px;padding:9px 9px 13px;background:#fff;border:1px solid #e8ddef;border-radius:22px;color:var(--ink);min-width:0;text-align:left}.learning-task strong{font-size:17px;padding:0 5px}.learning-task-picture{position:relative;aspect-ratio:6/5;background:#fff;border-radius:16px;overflow:hidden;width:100%}.learning-task-picture svg,.learning-task-picture img{display:block;width:100%;height:100%;object-fit:contain}.learning-task-number{position:absolute;top:9px;left:9px;display:grid;place-items:center;min-width:28px;height:28px;padding:0 6px;background:#f0e5fd;border-radius:10px;color:#6b3b96;font-size:12px;font-weight:950}.task-stars{display:inline-flex;gap:4px;font-size:22px;line-height:1;color:#bbaacd;white-space:nowrap}.task-stars .earned-star{color:#b47910}.learning-task .task-stars{margin:3px 5px}.learning-task-label{font-size:11px;color:var(--muted);padding:0 5px}.learning-kicker{font-size:10px;letter-spacing:1.4px;font-weight:950;color:#8a5c9f}
.color-objective{padding:20px 22px;margin:0 0 20px;border:1px solid #e8d8f4;border-radius:24px;background:linear-gradient(115deg,#f4eaff,#fff4e1)}.color-objective-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:15px}.color-objective-heading h3{font-size:22px;margin:3px 0 0;line-height:1.3;color:var(--deep)}.objective-prize{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:10px 15px;min-height:44px;border-radius:16px;background:#ffdc89;color:#704910;font-size:19px;font-weight:950}.color-objective-chips{display:grid;grid-template-columns:repeat(auto-fit,minmax(95px,1fr));gap:9px}.objective-color{min-height:76px;padding:10px 7px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;border:1px solid #e4d7ee;border-radius:16px;background:#ffffffb8;color:#634277;font-size:12px;font-weight:900}.objective-color[aria-pressed=true]{border:2px solid #8655b4;padding:9px 6px;background:#fff}.objective-color-swatch{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--color);box-shadow:0 0 0 3px #fff,0 0 0 4px #67467d20}.color-check{display:none;place-items:center;width:17px;height:17px;border-radius:50%;background:#2a7857;color:#fff;font-size:12px;transform:translate(12px,10px);box-shadow:0 0 0 2px #fff}.objective-color.is-used .color-check{display:grid}.color-objective-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:14px;font-size:13px;color:var(--muted);font-weight:850}.color-objective-footer .task-stars{font-size:24px}
html[data-theme=dark] .learning-group,html[data-theme=dark] .color-objective{background:linear-gradient(115deg,#39264b,#3d2d2e);border-color:#624974}html[data-theme=dark] .learning-task{background:#30243d;border-color:#5b436b}html[data-theme=dark] .objective-color{background:#453251;color:#ecdef8;border-color:#765588}html[data-theme=dark] .objective-color[aria-pressed=true]{background:#513969;border-color:#c89af2}html[data-theme=dark] .learning-kicker{color:#d9b5ee}html[data-theme=dark] .task-stars .earned-star{color:#ffd67e}
@media(max-width:600px){body .world-header,body[data-view=editor] .world-header{padding:14px 12px;min-height:79px;gap:9px}body .world-header .logo-wordmark,body[data-view=editor] .world-header .logo-wordmark{font-size:30px;letter-spacing:-1.3px}body .world-header .logo-mascot,body[data-view=editor] .world-header .logo-mascot{width:24px;height:32px}body .world-controls,body[data-view=editor] .world-controls{grid-template-columns:44px 44px 75px;gap:5px}body .world-controls .world-control,body #settings-top{min-height:48px;border-radius:13px;font-size:8px}body .world-controls .control-symbol{font-size:18px;min-height:21px}body .world-controls .journey-control b{font-size:15px}body .world-controls .control-symbol .icon{width:20px;height:20px}.learning-group{padding:15px 12px;border-radius:22px;margin:18px 0 23px}.learning-group-heading{gap:9px;flex-wrap:wrap;margin-bottom:16px}.learning-group-heading h3{font-size:18px}.learning-step{width:35px;height:35px;font-size:19px;border-radius:12px}.learning-group-colors{max-width:90px;gap:4px}.task-color-dot{width:14px;height:14px}.learning-task-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.learning-task{border-radius:18px;padding:7px 7px 12px}.learning-task strong{font-size:14px}.learning-task-label{font-size:10px}.learning-task .task-stars{font-size:20px}.color-objective{padding:15px 13px;border-radius:21px;margin-bottom:15px}.color-objective-heading{gap:9px;margin-bottom:13px}.color-objective-heading h3{font-size:18px}.learning-kicker{font-size:8px;letter-spacing:1px}.objective-prize{font-size:17px;padding:9px 11px;border-radius:14px}.color-objective-chips{grid-template-columns:repeat(auto-fit,minmax(70px,1fr));gap:7px}.objective-color{font-size:11px;min-height:70px;padding:8px 3px}.objective-color[aria-pressed=true]{padding:7px 2px}.objective-color-swatch{width:28px;height:28px}.color-objective-footer{font-size:11px;gap:8px}.settings-language small{font-size:11px}body .settings-language button{gap:6px}}
@media(max-width:350px){body .world-header .logo-wordmark,body[data-view=editor] .world-header .logo-wordmark{font-size:25px}body .world-header .logo-mascot,body[data-view=editor] .world-header .logo-mascot{width:20px}.learning-group-colors{margin-left:44px;max-width:none}.color-objective-heading h3{font-size:16px}}

body .world-controls #settings-top{overflow:hidden}body .world-controls #settings-top>span[data-i18n=settings]{font-size:8px}@media(max-width:600px){body .world-controls #settings-top>span[data-i18n=settings]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}body .world-controls #settings-top .control-symbol{font-size:23px}}
