:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#163b43;--ink:#163b43;--muted:#536c6e;--paper:#fffdf8;--line:#d9dfd5;--deep:#145f60;--mint:#dcf2e4;background:#f8f6ef;font-family:Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.54}[hidden]{display:none!important}:focus-visible{outline-offset:3px;outline:3px solid #408aae}#app{width:min(1180px,100% - 72px);margin:auto}.masthead{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:80px;display:flex}.brand{color:var(--ink);letter-spacing:-.04em;align-items:center;gap:9px;font-size:21px;font-weight:800;text-decoration:none;display:inline-flex}.brand-icon{width:40px;height:40px;display:block}.masthead h1{display:flex}.workspace{padding:20px 0 22px}.workspace-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px;display:flex}h1,h2,p{margin:0}.workspace-heading p{color:var(--muted);font-size:14px}.button{border:1px solid var(--line);min-height:44px;color:var(--ink);background:var(--paper);border-radius:13px;justify-content:center;align-items:center;gap:8px;padding:9px 15px;font-weight:650;line-height:1.2;display:inline-flex}.button:hover:not(:disabled),.choice:hover{background:#eef7ef;border-color:#7ba49c}.button span[aria-hidden]{font-size:1.3em;line-height:.8}.primary{background:var(--deep);border-color:var(--deep);color:#fffdf8}.primary:hover:not(:disabled){background:#0d4c4e;border-color:#0d4c4e}.danger{color:#9c3733;border-color:#e5bfb6}.danger:hover:not(:disabled){background:#fff1ed;border-color:#d98b7e}.profile{background:#eef5ea;min-width:0;max-width:54%}.profile-icon{flex:none}.profile-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.aquarium{isolation:isolate;background:radial-gradient(at 34% -14%,#6ab6ab 0%,#0000 52%),linear-gradient(175deg,#2a8d8c 1%,#21747c 33%,#124b64 79%,#12485b 100%);border:1px solid #28676a;border-radius:25px;height:clamp(330px,60vh,610px);min-height:320px;position:relative;overflow:hidden;box-shadow:0 14px 30px #173f431e}.water,.sand,.bubbles,.scene{position:absolute;inset:0}.water{background:linear-gradient(104deg,#0000 15%,#e3ffcf17 23%,#0000 29%),linear-gradient(115deg,#0000 27%,#c7ffd125 35%,#0000 45%),linear-gradient(124deg,#0000 40%,#efffd91a 47%,#0000 56%),linear-gradient(140deg,#0000 52%,#b5ffe217 60%,#0000 67%)}.water:before{content:"";filter:blur(3px);background:radial-gradient(at 31% 0,#f5ffd58c,#0000 58%),repeating-linear-gradient(179deg,#0000 0 7px,#c5ffdc2e 9px,#0000 11px 17px);height:13%;position:absolute;inset:0 0 auto;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.sand{background:radial-gradient(at 29% 0,#a5c3a7 0%,#0000 53%),radial-gradient(at 53% 70%,#729d90 0%,#0000 50%),linear-gradient(172deg,#789d88,#5b8b83 55%,#447b77);border-radius:48% 61% 0 0/60% 50% 0 0;height:32%;inset:auto -11% -14%;transform:rotate(-1.7deg)}.sand:before{content:"";opacity:.34;background:radial-gradient(#214c54 0 1px,#0000 1.8px) 0 0/39px 27px,radial-gradient(#d6e0b2 0 1px,#0000 2px) 0 0/29px 17px;position:absolute;inset:16% 0 0;-webkit-mask-image:radial-gradient(#000,#0000 72%);mask-image:radial-gradient(#000,#0000 72%)}.bubbles{pointer-events:none;overflow:hidden}.bubbles i{bottom:-22px;left:var(--x);width:var(--b);aspect-ratio:1;animation:rise var(--speed) var(--delay) linear infinite;border:1px solid #cbf8ea68;border-radius:50%;position:absolute;box-shadow:inset 2px 1px 2px #caffef32}.bubbles i:first-child{--x:9%;--b:13px;--speed:12s;--delay:-3s}.bubbles i:nth-child(2){--x:14%;--b:7px;--speed:14s;--delay:-10s}.bubbles i:nth-child(3){--x:78%;--b:11px;--speed:17s;--delay:-7s}.bubbles i:nth-child(4){--x:86%;--b:17px;--speed:16s;--delay:-12s}.bubbles i:nth-child(5){--x:89%;--b:9px;--speed:11s;--delay:-2s}.bubbles i:nth-child(6){--x:53%;--b:6px;--speed:20s;--delay:-12s}@keyframes rise{to{bottom:106%;transform:translate(25px)}}.scene canvas{width:100%;height:100%;display:block}.empty{pointer-events:none;text-align:center;color:#f7ffef;width:min(90%,420px);position:absolute;top:47%;left:50%;transform:translate(-50%,-50%)}.empty h2{letter-spacing:-.04em;margin:17px 0 7px;font-size:clamp(23px,3.2vw,32px)}.empty p{color:#effbed;font-size:15px}.empty-ripple{background:#ddffec1c;border:1px solid #d1ffe467;border-radius:26px;place-items:center;width:74px;height:68px;margin:auto;display:grid;position:relative}.empty-ripple i{aspect-ratio:1;border:2px solid #d3ffea;border-radius:50%;width:16px;position:absolute}.empty-ripple i:first-child{top:30px;left:18px}.empty-ripple i:nth-child(2){width:20px;top:17px;left:35px}.empty-ripple i:nth-child(3){width:9px;top:41px;left:42px}.actions,.dialog-actions{flex-wrap:wrap;gap:9px;display:flex}.actions{margin-top:16px}.status,.inline-status{min-height:1.5em;color:var(--muted);font-size:14px}.status{margin-top:10px}dialog{width:min(520px,100% - 28px);max-height:calc(100dvh - 28px);color:var(--ink);background:var(--paper);border:1px solid #d5e0d7;border-radius:23px;padding:0;box-shadow:0 25px 90px #052a3c48}dialog.wide{width:min(850px,100% - 28px)}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0b354b9c}.dialog-heading{z-index:1;background:var(--paper);border-bottom:1px solid #e5e9df;justify-content:space-between;align-items:center;gap:12px;padding:15px 20px;display:flex;position:sticky;top:0}.dialog-heading h2{letter-spacing:-.045em;overflow-wrap:anywhere;font-size:clamp(22px,4.8vw,28px)}.icon{flex:0 0 44px;width:44px;padding:0;font-size:24px}.dialog-body{padding:20px}.dialog-body>p{margin-bottom:14px}.dialog-body>p:last-child{margin-bottom:0}.dialog-actions{margin-top:16px}.inline-status:not(:empty){margin-top:9px}.inline-status:empty{display:none}.profile-grid,.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.choice{border:1px solid var(--line);color:var(--ink);text-align:center;overflow-wrap:anywhere;background:#f4f7ef;border-radius:15px;align-content:start;justify-items:center;gap:5px;padding:10px 8px;font-weight:700;display:grid}.choice[aria-pressed=true],.tool-row button[aria-pressed=true]{background:var(--mint);border-color:#38817a}.profile-choice{align-content:center;min-height:104px}.picture{font-size:36px}.choice canvas{width:min(100%,150px);height:auto}.collection-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:9px;display:grid}.replacement-grid{max-height:44vh;margin-bottom:12px;padding:4px 5px 8px;overflow:auto}.item-card small{color:var(--muted);font-weight:600}.detail-art{background:#eef7f1;border-radius:15px;width:min(100%,384px);height:auto;margin:auto;display:block}.attribution{overflow-wrap:anywhere;margin-top:12px}.paint-workspace{grid-template-columns:1.12fr 1fr;align-items:start;gap:18px;display:grid}.paint-stage{background:#eaf4ef radial-gradient(circle,#bed4c7 1px,#0000 1px) 0 0/13px 13px;border:1px solid #d7e8db;border-radius:17px;padding:8px}.paint-canvas{touch-action:none;cursor:crosshair;width:100%;height:auto;display:block}.paint-canvas[data-tool=eraser]{cursor:cell}.tool-row{flex-wrap:wrap;gap:6px;display:flex}.tool-row .button{padding-inline:11px}.tool-icon{flex:none;width:20px;height:20px}.sizes .button{font-size:13px}.tool-help{color:var(--muted);margin:6px 0 8px;font-size:13px}.palette{flex-wrap:wrap;gap:4px;margin:10px 0 14px;display:flex}.swatch{background:0 0;border:2px solid #0000;border-radius:50%;place-items:center;width:42px;height:42px;padding:3px;display:grid}.swatch:before{content:"";background:var(--paint);border:1px solid #163b4335;border-radius:50%;width:100%;height:100%}.swatch[aria-pressed=true]{border-color:var(--deep)}.swatch:hover{border-color:#7ba49c}.name-fields{gap:8px;display:grid}.name-field{gap:4px;font-size:14px;font-weight:600;display:grid}input,select{width:100%;min-height:41px;color:var(--ink);background:#fff;border:1px solid #c5d5cb;border-radius:9px;padding:7px 9px}@media (width<=620px){#app{width:calc(100% - 28px)}.masthead{min-height:65px}.workspace{padding-top:15px}.workspace-heading{align-items:center}.workspace-heading .button{white-space:nowrap;padding-inline:10px;font-size:14px}.aquarium{border-radius:19px;height:55svh;min-height:300px}.dialog-heading,.dialog-body{padding:12px}.paint-workspace{grid-template-columns:1fr;gap:10px}.paint-stage{padding:4px}.paint-canvas{width:auto;max-width:100%;max-height:33dvh;margin-inline:auto}.swatch{width:40px;height:40px}}@media (width<=350px){.brand{gap:6px;font-size:18px}.brand-icon{width:33px;height:33px}.profile{padding-inline:9px;font-size:13px}}@media (prefers-reduced-motion:reduce){.bubbles i{animation:none}}
