:root{font-family:Inter,system-ui,sans-serif;color:#eee8df;background:#1b2b29;color-scheme:dark}*{box-sizing:border-box}body{margin:0}#scene{position:fixed;inset:0}header,nav,#status{position:fixed;background:#172422eb;border:1px solid #ffffff20;border-radius:16px;box-shadow:0 4px 24px #0003}header{top:16px;left:16px;display:flex;gap:16px;align-items:center;padding:10px 14px;max-width:calc(100% - 32px)}header[hidden]{display:none}#brand{position:fixed;top:16px;left:18px;height:56px;width:auto;z-index:60;pointer-events:none;-webkit-user-select:none;user-select:none;filter:drop-shadow(0 1px 3px #00000047)}header{left:auto;right:16px}#name{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.button,button{font:inherit;font-size:13px;border:1px solid #ffffff26;border-radius:10px;background:#ffffff0d;color:inherit;padding:11px 14px;cursor:pointer;white-space:nowrap}button:hover,.button:hover{background:#ffffff20}nav{right:16px;bottom:16px;padding:6px;display:flex;gap:6px}nav[hidden]{display:none}#status[hidden],#overlay-spinner[hidden]{display:none}#status{left:16px;bottom:16px;padding:12px;font-size:12px;max-width:55vw;margin:0}.scene-labels{display:none}canvas{display:block;touch-action:none}@media(max-width:550px){header{gap:8px}#status{bottom:82px;max-width:calc(100% - 32px)}}#overlay{position:fixed;inset:0;z-index:50;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:#87ceeb;font-family:system-ui,sans-serif;color:#0e2a35;text-align:center;padding:24px}#overlay[hidden]{display:none}#overlay-title{font-size:20px;font-weight:600}#overlay-subtitle{font-size:14px;opacity:.75;max-width:360px}#overlay-spinner{width:38px;height:38px;border-radius:50%;border:4px solid #0e2a352e;border-top-color:#0e2a35;animation:tnd-spin .9s linear infinite}@keyframes tnd-spin{to{transform:rotate(360deg)}}.nc-scrim{position:fixed;left:0;right:0;bottom:0;height:300px;z-index:39;pointer-events:none;background:linear-gradient(to top,#0610189e,#06101852 38%,transparent);transition:opacity .26s ease}.nc-cluster{position:fixed;left:14px;right:14px;bottom:38px;z-index:40;display:flex;flex-direction:column;align-items:center;gap:14px;pointer-events:none;text-align:center;font-family:Inter,system-ui,-apple-system,sans-serif;transition:opacity .26s ease,transform .26s ease}.nc-leaving{opacity:0}.nc-cluster.nc-leaving{transform:translateY(8px)}.nc-title{font-size:13px;font-weight:600;color:#fff;letter-spacing:.02em;text-shadow:0 1px 6px #06101899}.nc-hint{font-size:12px;font-weight:500;color:#ffffffe0;text-shadow:0 1px 6px #06101899}.nc-row{display:flex;justify-content:center;gap:11px;width:100%;max-width:400px}.nc-chip{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 6px 12px;border-radius:20px;background:#1e283085;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 12px 28px #081e1e4d;border:1px solid #ffffff29}.nc-label{font-size:13px;font-weight:600;color:#fff}.nc-badge{font-size:10px;font-weight:600;color:#9bddee;background:#46aec53d;padding:2px 8px;border-radius:20px}.nc-stage{width:58px;height:58px;border-radius:16px;overflow:hidden;background:#ffffff1a;border:1px solid #ffffff24;display:flex;align-items:center;justify-content:center}.nc-stage-inner{position:relative;flex:none;width:120px;height:120px;transform:scale(.48)}.nc-dot{position:absolute;left:50%;top:50%;border-radius:50%;background:radial-gradient(circle at 35% 30%,#eafbff,#9bdded 34%,#6fcde3 51%,#54c5df,#31bdda 68%);box-shadow:0 5px 12px #00000059,inset 0 0 0 2px #ffffffb3}.nc-ripple{position:absolute;inset:-8px;border-radius:50%;border:2px solid #ffffff80}.nc-orbit-ring{position:absolute;left:50%;top:50%;width:92px;height:42px;margin:-21px 0 0 -46px;border:1.5px dashed #ffffff52;border-radius:50%}.nc-zoom-line{position:absolute;left:50%;top:50%;width:78px;height:0;margin-left:-39px;border-top:1.5px dashed #ffffff4d;transform:rotate(43deg)}.nc-pan-box{position:absolute;left:50%;top:50%;width:84px;height:30px;margin:-15px 0 0 -42px;border:1.5px dashed #ffffff47;border-radius:16px}@keyframes ftOrbit{0%,to{transform:translate(-30px,7px)}50%{transform:translate(30px,-7px)}}@keyframes ftPinchTL{0%,to{transform:translate(-24px,-22px)}50%{transform:translate(-3px,-2px)}}@keyframes ftPinchBR{0%,to{transform:translate(24px,22px)}50%{transform:translate(3px,2px)}}@keyframes ftPan{0%,to{transform:translate(-22px,13px)}50%{transform:translate(22px,-13px)}}@keyframes tndRipple{0%{transform:scale(.7);opacity:.5}70%{opacity:0}to{transform:scale(2.3);opacity:0}}#options{position:fixed;top:12px;left:50%;transform:translate(-50%);z-index:60;display:flex;flex-wrap:wrap;justify-content:center;gap:6px;max-width:82vw;pointer-events:none;font-family:system-ui,sans-serif}#options[hidden]{display:none}#options button{pointer-events:auto;border:none;border-radius:999px;padding:7px 15px;font-size:13px;font-weight:600;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#ffffff9e;color:#46555d;box-shadow:0 1px 4px #00000024;transition:background .12s,box-shadow .12s}#options button.active{background:#fff;color:#0e2a35;box-shadow:0 2px 10px #00000038}#options button:hover{filter:brightness(.96)}#colors-open{position:fixed;left:50%;bottom:calc(16px + env(safe-area-inset-bottom,0px));transform:translate(-50%);z-index:45;display:flex;align-items:center;gap:9px;max-width:calc(100% - 32px);padding:11px 18px 11px 13px;border:none;border-radius:999px;background:#fff;color:#0e2a35;font-family:system-ui,sans-serif;font-size:14px;font-weight:600;box-shadow:0 4px 18px #00000047}#colors-open:hover{background:#f1f4f5}#colors-open[hidden],#colors[hidden]{display:none}#colors-open-label{overflow:hidden;text-overflow:ellipsis}#colors-open .dots{display:flex;flex:none}#colors-open .dots i{width:14px;height:14px;border-radius:50%;border:2px solid #fff;margin-left:-5px}#colors-open .dots i:first-child{margin-left:0;background:#2b35b0}#colors-open .dots i:nth-child(2){background:#e2a028}#colors-open .dots i:nth-child(3){background:#62d3c0}#colors{position:fixed;left:16px;bottom:16px;z-index:45;width:372px;max-height:calc(100dvh - 104px);overflow-y:auto;padding:14px 16px 12px;border-radius:18px;background:#fffffff5;color:#0e2a35;font-family:system-ui,sans-serif;box-shadow:0 8px 32px #00000052}.colors-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.colors-head h2{margin:0;font-size:16px}#colors button.colors-close{border:none;background:none;font-size:26px;line-height:1;padding:2px 8px;color:#46555d}.pick{margin-top:10px}.pick-label{font-size:13px;margin-bottom:6px;display:flex;gap:6px;align-items:baseline}.pick-hint{color:#6b7a82;font-size:12px}.pick-name{margin-left:auto;font-weight:600;font-size:13px}.chips{display:grid;grid-template-columns:repeat(6,44px);gap:8px}#colors button.chip{width:44px;height:44px;padding:0;border-radius:10px;border:2px solid #ffffff;background-image:var(--swatches);background-size:1500% 100%;box-shadow:0 0 0 1px #0e2a3526}#colors button.chip.on{box-shadow:0 0 0 3px #0e2a35}.colors-note{width:100%;margin-top:14px;padding:10px 12px;font:inherit;font-size:16px;color:inherit;background:#fff;border:1px solid #0e2a3533;border-radius:10px}#colors button.colors-send{width:100%;margin-top:10px;padding:13px;border:none;border-radius:12px;background:#0e2a35;color:#fff;font-size:15px;font-weight:600}#colors button.colors-send:disabled{background:#0e2a3540;cursor:default}.colors-status{margin:8px 0 0;font-size:13px;min-height:1em}.colors-status:empty{display:none}.colors-status a{color:#0b5c7a;font-weight:600}@media(max-width:550px){#colors{left:0;right:0;bottom:0;width:auto;max-height:70dvh;border-radius:18px 18px 0 0;padding-bottom:calc(60px + env(safe-area-inset-bottom,0px))}#colors-open{bottom:calc(62px + env(safe-area-inset-bottom,0px))}.chips{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:46px;overflow-x:auto;margin:0 -16px;padding:3px 16px 4px;scrollbar-width:none}#colors button.chip{width:46px;height:46px}}
