.game-theme-petal{--gf1:#f7ece3;--gf2:#e9f1f3}:root[data-theme=dark] .game-theme-petal{--gf1:#2a2335;--gf2:#152735}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .game-theme-petal{--gf1:#2a2335;--gf2:#152735}}.gp-mc{transform:rotate(-6deg)}.gp-mc-paper{fill:#fffcf6}.gp-mc path{stroke:#4a433d;stroke-width:1.1px;stroke-linejoin:round}.gp-mc .gp-mc-e{fill:#fffefb}:root[data-theme=dark] .gp-mc-paper{fill:#ece5d8}:root[data-theme=dark] .gp-mc .gp-mc-e{fill:#f7f2e9}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .gp-mc-paper{fill:#ece5d8}:root:not([data-theme=light]) .gp-mc .gp-mc-e{fill:#f7f2e9}}[data-game=mandala-colouring] .game-stage{grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:stretch stretch;container-type:inline-size}.mc{--mc-page:#f1e9dc;--mc-paper:#fffcf6;--mc-empty:#fffefb;--mc-line:#4a433d;flex-direction:column;gap:6px;width:100%;min-width:0;height:100%;min-height:0;padding:8px 10px 10px;display:flex;position:relative}:root[data-theme=dark] .mc{--mc-page:#1b2232;--mc-paper:#ece5d8;--mc-empty:#f7f2e9;--mc-line:#463f39}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .mc{--mc-page:#1b2232;--mc-paper:#ece5d8;--mc-empty:#f7f2e9;--mc-line:#463f39}}.mc-hud{align-items:center;gap:6px;min-width:0;display:flex}.mc-pill{border-radius:var(--r-pill);background:color-mix(in srgb, var(--surface) 86%, transparent);border:1px solid var(--border);min-height:44px;color:var(--text);font:800 .95rem/1 var(--font-head);white-space:nowrap;flex:none;align-items:center;gap:7px;padding:0 14px;display:inline-flex;box-shadow:0 2px 8px #281e140f}button.mc-pill{cursor:pointer}button.mc-pill:hover{background:var(--surface)}.mc-pill svg{flex:none;width:18px;height:18px}.mc-palbtn{flex:0 auto;min-width:0;padding:0 10px 0 8px}.mc-palname{text-overflow:ellipsis;overflow:hidden}.mc-paldots{border-radius:50%;flex:none;grid-template-columns:1fr 1fr;gap:2px;width:22px;height:22px;padding:1px;display:inline-grid;overflow:hidden;transform:rotate(45deg)}.mc-paldots i{border-radius:2px;display:block}.mc-prog{font-variant-numeric:tabular-nums;margin-left:auto}.mc-prog svg{width:22px;height:22px;transform:rotate(-90deg)}.mc-prog-track{fill:none;stroke:color-mix(in srgb, var(--text) 14%, transparent);stroke-width:3px}.mc-prog-ring{fill:none;stroke:var(--primary);stroke-width:3px;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100px;transition:stroke-dashoffset .4s}.mc-goalbtn{padding:0 12px}.mc-stars{gap:0;display:inline-flex}.mc-stars i{color:color-mix(in srgb, var(--text) 22%, transparent);display:inline-flex}.mc-stars i.on{color:#e0a526}.mc-back{padding:0 12px 0 8px}.mc-line{text-align:center;min-height:2.6em;color:var(--text-muted);justify-content:center;align-items:center;margin:0;font-size:.88rem;line-height:1.3;display:flex}.mc-line-goals,.mc.has-started:not(.is-free) .mc-line-teach{display:none}.mc.has-started:not(.is-free) .mc-line-goals{display:inline}.mc:not(.has-teach):not(.is-free) .mc-line-teach{display:none}.mc:not(.has-teach):not(.is-free) .mc-line-goals{display:inline}.mc-main{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex;position:relative}.mc-board{background:radial-gradient(110% 90% at 50% 40%, color-mix(in srgb, var(--mc-page) 70%, #fff), var(--mc-page) 70%);min-height:0;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--border) 80%, transparent), inset 0 2px 10px #3c28140f;border-radius:22px;flex:1;position:relative;overflow:hidden}:root[data-theme=dark] .mc-board{background:radial-gradient(110% 90% at 50% 40%, #222b3d, var(--mc-page) 70%)}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .mc-board{background:radial-gradient(110% 90% at 50% 40%, #222b3d, var(--mc-page) 70%)}}.mc-svg{touch-action:none;-webkit-tap-highlight-color:transparent;border-radius:22px;outline:none;width:100%;height:100%;display:block;position:absolute;inset:0}.mc-svg:focus-visible{box-shadow:inset 0 0 0 3px var(--focus)}.mc.is-pointer .mc-svg:focus-visible{box-shadow:none}.mc-paper{fill:var(--mc-paper)}.mc-fills path{fill:var(--mc-empty)}.mc-svg.is-picking .mc-fills path{cursor:pointer}.mc-lines{fill:none;stroke:var(--mc-line);stroke-width:1.2px;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke;pointer-events:none}.mc-over,.mc-over *,[data-blooms] *{pointer-events:none}.mc-hover path{opacity:.55}.mc-hover.is-erase path{fill:#fff;opacity:.75}.mc-focus-a,.mc-focus-b{fill:none;vector-effect:non-scaling-stroke;stroke-linejoin:round}.mc-focus-a{stroke:#fff;stroke-width:7px}.mc-focus-b{stroke:#1e2733;stroke-width:3px}.mc-pulse path{fill:#f6c453;fill-opacity:.5;stroke:#b86e00;stroke-width:3px;vector-effect:non-scaling-stroke;animation:.93s ease-in-out 3 mc-pulse}.mc-pulse.is-still path{animation:none}@keyframes mc-pulse{50%{fill-opacity:.12;stroke-opacity:.35}}.mc-sparkles path{fill:#fff;stroke:#e5a93c;stroke-width:1.5px;vector-effect:non-scaling-stroke;opacity:0;transform-box:fill-box;transform-origin:50%;animation:1.3s ease-in-out both mc-twinkle}.mc-halo{fill:none;stroke:#f7d58a;stroke-width:14px;vector-effect:non-scaling-stroke;opacity:0;animation:1.5s ease-out both mc-halo}@keyframes mc-twinkle{0%{opacity:0;transform:scale(.3)rotate(0)}45%{opacity:1;transform:scale(1)rotate(25deg)}to{opacity:0;transform:scale(.6)rotate(45deg)}}@keyframes mc-halo{0%{opacity:0}35%{opacity:.9}to{opacity:0}}.mc-zoom{border-radius:var(--r-pill);background:color-mix(in srgb, var(--surface) 90%, transparent);border:1px solid var(--border);padding:2px;display:flex;position:absolute;bottom:6px;right:8px;box-shadow:0 4px 14px #281e141f}.mc.is-wide-board .mc-zoom{flex-direction:column;bottom:8px}.mc.is-tight .mc-zoom [data-zoom],.mc.is-tight:not(.is-zoomed) .mc-zoom{display:none}.mc.is-tight .mc-refmini{width:48px;height:48px}.mc-zbtn{width:44px;height:44px;color:var(--text);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;display:grid}.mc-zbtn:hover{background:var(--surface-2)}.mc-zbtn svg{width:20px;height:20px}.mc.is-complete:not(.is-finished) .mc-zoom{display:none}.mc-refmini{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:50%;width:56px;height:56px;padding:2px;position:absolute;bottom:4px;left:8px;box-shadow:0 6px 16px #281e1429}.mc-refmini img{border-radius:50%;width:100%;height:100%;display:block}.mc-chip{border-radius:var(--r-pill);background:color-mix(in srgb, var(--surface) 95%, transparent);border:1px solid var(--border);max-width:calc(100% - 24px);color:var(--text);font:700 .88rem/1.25 var(--font-body);text-align:center;pointer-events:none;margin:0;padding:8px 14px;position:absolute;top:10px;left:50%;transform:translate(-50%);box-shadow:0 6px 18px #281e1424}.mc-chip[hidden]{display:none}.mc-done{border-radius:var(--r-pill);background:var(--primary);min-height:52px;color:var(--on-primary);font:800 1.1rem/1 var(--font-head);cursor:pointer;white-space:nowrap;box-shadow:0 10px 24px color-mix(in srgb, var(--primary) 40%, transparent), inset 0 -3px 0 #00000026;border:0;align-items:center;gap:10px;padding:0 24px;display:inline-flex;position:absolute;bottom:6px;left:50%;transform:translate(-50%)}.mc-done[hidden]{display:none}.mc-done:hover{background:var(--primary-hover)}.mc-done svg{width:20px;height:20px}.mc-done-stars{color:#ffd66b;letter-spacing:2px;font-size:1.05rem}.mc-done-stars i{color:#ffffff59;font-style:normal}:root[data-theme=dark] .mc-done-stars{color:#8a5a00}:root[data-theme=dark] .mc-done-stars i{color:#0e1a2b4d}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .mc-done-stars{color:#8a5a00}:root:not([data-theme=light]) .mc-done-stars i{color:#0e1a2b4d}}.mc-done.is-in{animation:.55s cubic-bezier(.3,1.4,.5,1) mc-rise}@keyframes mc-rise{0%{opacity:0;transform:translate(-50%,18px)scale(.9)}to{opacity:1;transform:translate(-50%)scale(1)}}.mc-goals{z-index:5;background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:10px 12px 12px;display:none;position:absolute;top:0;left:0;right:0;box-shadow:0 14px 32px #1e140a2e}.mc-goals.is-open{display:block}.mc-goals-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.mc-goals-title{font:800 1.05rem/1.2 var(--font-head);margin:0}.mc-goals-x{width:44px;height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;margin:-6px -8px -6px 0;display:grid}.mc-goals-x:hover{background:var(--surface-2);color:var(--text)}.mc-goals-x svg{width:20px;height:20px}.mc-goal-list{gap:4px;margin:6px 0 0;padding:0;list-style:none;display:grid}.mc-goal-list li{border-radius:10px;grid-template-columns:2.5rem 1fr 22px;align-items:center;gap:6px;margin:0;padding:5px 6px;font-size:.9rem;line-height:1.25;display:grid}.mc-goal-list li.is-met{background:var(--primary-soft)}.mc-gstars{color:#b07a0e;letter-spacing:0;white-space:nowrap;text-align:center;font-size:.74rem}:root[data-theme=dark] .mc-gstars{color:#f2c14e}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .mc-gstars{color:#f2c14e}}.mc-gtext small{color:var(--text-muted);font-size:.8rem;display:block}.mc-goal-list li.is-off .mc-gtext small{color:var(--warn)}.mc-gcheck{color:var(--primary)}.mc-gcheck svg{width:20px;height:20px}.mc-refcard{border:1px solid var(--border);background:var(--surface-2);width:100%;color:var(--text);font:800 .95rem/1.2 var(--font-head);text-align:left;cursor:pointer;border-radius:14px;align-items:center;gap:10px;margin-top:8px;padding:6px;display:flex}.mc-refcard:hover{border-color:var(--primary)}.mc-refcard img{border-radius:50%;flex:none;width:64px;height:64px}.mc-refcard small{font:600 .8rem/1.3 var(--font-body);color:var(--text-muted);display:block}.mc-side{flex-direction:column;flex:none;gap:6px;min-height:0;display:flex}.mc-swatches{grid-template-columns:repeat(var(--cols,5), auto);justify-content:center;gap:4px 8px;padding:2px 0 4px;display:grid}.mc-sw{cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:50%;flex:none;width:52px;height:52px;padding:0;transition:transform .18s;position:relative}.mc-sw-dot{background:var(--c);border-radius:50%;transition:transform .18s;position:absolute;inset:5px;box-shadow:inset 0 -3px #0000001f,inset 0 2px #fff6,inset 0 0 0 1px #0000001a,0 3px 8px #281e1429}.mc.is-grad .mc-sw-dot{background:radial-gradient(circle at 50% 50%, var(--t) 18%, var(--c) 78%)}.mc-sw:hover .mc-sw-dot{transform:scale(1.05)}.mc-sw:focus-visible{outline:3px solid var(--focus);outline-offset:1px}.mc-sw[aria-pressed=true]{transform:translateY(-3px)}.mc-sw[aria-pressed=true]:before{content:"";box-shadow:0 0 0 2.5px var(--text);opacity:.75;border-radius:50%;position:absolute;inset:0}.mc-sw[aria-pressed=true] .mc-sw-dot{transform:scale(1.06);box-shadow:inset 0 -3px #0000001f,inset 0 2px #fff6,inset 0 0 0 1px #0000001a,0 8px 18px #281e1442}.mc-sw.is-own:after{content:"";border:2px solid var(--surface);background:conic-gradient(#f28b82,#fdd663,#81c995,#78d9ec,#8ab4f8,#c58af9,#f28b82);border-radius:50%;width:12px;height:12px;position:absolute;top:3px;right:3px}.mc-add{color:var(--text);place-items:center;display:grid}.mc-add:before{content:"";-webkit-mask-composite:xor;background:conic-gradient(#f28b82,#fdd663,#81c995,#78d9ec,#8ab4f8,#c58af9,#f28b82);border-radius:50%;padding:3px;position:absolute;inset:5px;-webkit-mask-image:linear-gradient(#000 0 0),linear-gradient(#000 0 0);-webkit-mask-position:0 0,0 0;-webkit-mask-size:auto,auto;-webkit-mask-repeat:repeat,repeat;-webkit-mask-clip:content-box,border-box;-webkit-mask-origin:content-box,border-box;mask-composite:exclude;mask-mode:match-source,match-source}.mc-add svg{width:22px;height:22px;position:relative}.mc.is-eraser .mc-sw-dot{opacity:.55}.mc-tools{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.mc-tool{border-radius:var(--r-pill);border:1px solid var(--border);background:color-mix(in srgb, var(--surface) 90%, transparent);min-width:44px;min-height:44px;color:var(--text);font:700 .9rem/1 var(--font-body);cursor:pointer;box-shadow:inset 0 -2px 0 color-mix(in srgb, var(--text) 7%, transparent), 0 2px 6px #281e140f;justify-content:center;align-items:center;gap:6px;padding:0 12px;display:inline-flex}.mc-tool:hover:not(:disabled){background:var(--surface-2)}.mc-tool:disabled{opacity:.42;cursor:default}.mc-tool[aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.mc-tool svg{flex:none;width:20px;height:20px}.mc.is-finished .mc-side,.mc.is-finished .mc-zoom,.mc.is-finished .mc-palbtn{opacity:.5;pointer-events:none;transition:opacity .6s}.mc-sheet,.mc-refview{z-index:7;background:color-mix(in srgb, var(--bg) 35%, transparent);justify-content:center;align-items:flex-start;padding:58px 10px 10px;display:flex;position:absolute;inset:0}.mc-sheet[hidden],.mc-refview[hidden]{display:none}.mc-sheet-card,.mc-refview-card{background:var(--surface);border:1px solid var(--border);border-radius:20px;width:min(100%,380px);max-height:100%;padding:10px 12px 12px;overflow:auto;box-shadow:0 18px 40px #1e140a38}.mc-pal-list{gap:4px;margin-top:4px;display:grid}.mc-pal-item{width:100%;min-height:48px;color:var(--text);font:700 .95rem/1.2 var(--font-body);cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:6px 10px;display:flex}.mc-pal-item:hover{background:var(--surface-2)}.mc-pal-item[aria-pressed=true]{border-color:var(--primary);background:var(--primary-soft)}.mc-pal-strip{border-radius:8px;flex:none;display:flex;overflow:hidden;box-shadow:inset 0 0 0 1px #00000014}.mc-pal-strip i{width:18px;height:26px}.mc-pal-own{border-top:1px solid var(--border);border-radius:0 0 12px 12px;justify-content:flex-start;margin-top:4px}.mc-pal-own svg{width:20px;height:20px}.mc-refview-card img{border-radius:50%;width:min(100%,340px);height:auto;margin:6px auto 4px;display:block}.mc-refview-note{color:var(--text-muted);text-align:center;margin:4px 2px 0;font-size:.9rem}.mc-colourin{opacity:0;pointer-events:none;border:0;width:1px;height:1px;padding:0;position:absolute;bottom:0;left:50%}.mc-finish-art{object-fit:contain;width:min(176px,44vw);height:auto;max-height:28svh;margin:0 auto var(--s3);border-radius:50%;display:block;box-shadow:0 10px 26px #281e1433}.mc-save svg{width:20px;height:20px}.mc-gallery{text-align:center;width:100%;height:100%;padding:14px 12px;overflow:auto}.mc-gal-title{font:800 1.45rem/1.2 var(--font-head);margin:2px 0 0}.mc-gal-sub{max-width:40ch;color:var(--text-muted);margin:4px auto 14px}.mc-gal-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.mc-gal-grid li{margin:0}.mc-gal-item{border:1px solid var(--border);background:var(--surface);width:100%;height:100%;color:var(--text);font:700 .82rem/1.2 var(--font-body);cursor:pointer;border-radius:16px;align-content:start;justify-items:center;gap:6px;padding:10px 6px;display:grid;box-shadow:0 3px 10px #281e1412}.mc-gal-item:hover{transform:translateY(-2px);box-shadow:0 8px 18px #281e141f}.mc-gal-thumb,.mc-gal-new{background:#f4ede1;border-radius:50%;place-items:center;width:84px;height:84px;display:grid}.mc-gal-thumb img{border-radius:50%;width:84px;height:84px}.mc-gal-item.is-new{border:2px dashed var(--primary)}.mc-gal-new{color:var(--primary);background:var(--primary-soft)}.mc-gal-new svg{width:34px;height:34px}@container (width<=470px){.mc-tool{padding:0}.mc-tool span,.mc-goalword{display:none}.mc-pill{gap:6px;padding:0 11px}.mc-sw{width:50px;height:50px}}@container (width<=329px){.mc-palname{display:none}}@media (height<=720px){@container (width<=639px){.mc-swatches{grid-template-columns:repeat(var(--n,9), auto);overscroll-behavior-x:contain;scrollbar-width:none;justify-content:start;margin:0 -4px;padding:4px 4px 6px;overflow-x:auto}.mc-swatches::-webkit-scrollbar{display:none}.mc-line{min-height:2.4em;font-size:.84rem}}}@container (width>=640px){.mc{gap:8px;padding:10px 14px 14px}.mc-main{flex-direction:row;gap:12px}.mc-side{background:color-mix(in srgb, var(--surface) 55%, transparent);border:1px solid color-mix(in srgb, var(--border) 70%, transparent);border-radius:22px;gap:8px;width:272px;padding:8px 10px 10px;overflow-y:auto}.mc-goals{box-shadow:none;background:0 0;border:0;padding:2px 0 0;display:block;position:static}.mc-goal-list{gap:2px;margin-top:2px}.mc-goal-list li{padding:3px 4px;font-size:.86rem}.mc-refcard{margin-top:6px;padding:5px}.mc-refcard img{width:56px;height:56px}.mc-goals-x,.mc-goalbtn,.mc-refmini,.mc-line-goals{display:none!important}.mc.has-started:not(.is-free) .mc-line-teach,.mc:not(.has-teach) .mc-line-teach{display:inline}.mc-swatches{border-top:1px solid color-mix(in srgb, var(--border) 70%, transparent);grid-template-columns:repeat(5,48px);justify-content:space-between;gap:4px 2px;padding-top:8px}.mc-sw{width:48px;height:48px}.mc-sw-dot,.mc-add:before{inset:4px}.mc-tools{border-top:1px solid color-mix(in srgb, var(--border) 70%, transparent);grid-template-columns:1fr 1fr;padding-top:10px;display:grid}.mc-tool{justify-content:flex-start;width:100%;padding:0 12px}.mc-ringtool span{white-space:nowrap}}@container (width>=880px){.mc-side{width:296px}.mc-swatches{grid-template-columns:repeat(5,52px);gap:6px 2px}.mc-sw{width:52px;height:52px}}@media (prefers-reduced-motion:reduce){.mc-sw,.mc-sw-dot,.mc-prog-ring,.mc-gal-item,.mc-done{transition:none!important;animation:none!important}}:root[data-motion=reduce] :is(.mc-sw,.mc-sw-dot,.mc-prog-ring,.mc-gal-item,.mc-done,.mc-pulse path,.mc-sparkles path,.mc-halo){transition:none!important;animation:none!important}
