/* XUNIA // CL1 Living Core / responsive liquid-silver interaction layer. */
.cl1-live{--lc-text:#effafe;--lc-soft:#a7c5d3;--lc-edge:rgba(170,226,241,.22);--lc-glow:#b1ecf7;position:relative;isolation:isolate;overflow:hidden;margin:0 0 24px;border:1px solid rgba(169,221,234,.38);border-radius:20px;background:linear-gradient(147deg,#07111e,#0c1928 43%,#030b15);color:var(--lc-text);box-shadow:0 26px 85px #020610a8,0 0 50px #82d6ee10;max-width:100%}
.cl1-live:before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;opacity:.45;background:linear-gradient(rgba(178,232,248,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(178,232,248,.04) 1px,transparent 1px);background-size:36px 36px}
.cl1-live-head{padding:clamp(17px,2.6vw,30px);display:flex;justify-content:space-between;align-items:center;gap:25px;border-bottom:1px solid var(--lc-edge)}
.cl1-live-kicker{font:800 10px/1.6 ui-monospace,Menlo,Consolas,monospace;letter-spacing:.11em;color:#a2f4de}
.cl1-live-indicator{display:inline-block;vertical-align:middle;width:7px;height:7px;margin-right:9px;border-radius:50%;background:#bdf8ed;box-shadow:0 0 15px #8cffee}
.cl1-live h2{font-size:clamp(29px,3.8vw,52px);letter-spacing:-.065em;line-height:1.06;margin:12px 0;color:#f6fdff;font-weight:900}
.cl1-live h2 em{font-style:normal;color:#b6e3ef;font-weight:300;text-shadow:0 0 38px #91e6ff4f}
.cl1-live-head p{color:var(--lc-soft);font-size:13px;line-height:1.65;margin:8px 0 0;max-width:830px}
.cl1-live-head-right{align-self:stretch;display:flex;min-width:170px;justify-content:center;flex-direction:column;align-items:flex-end;text-align:right;gap:5px;border-left:1px solid var(--lc-edge);padding-left:18px}
.cl1-live-head-right strong{font:300 40px/1 ui-monospace,Menlo,monospace;letter-spacing:-.08em;color:#d6f9f9}
.cl1-live-head-right small{font:700 10px ui-monospace,Menlo,monospace;color:#b6d6dc;letter-spacing:.11em}
.cl1-live-head-right span{font:9px ui-monospace,Menlo,monospace;color:#7093a3}
.cl1-live-layout{display:grid;grid-template-columns:minmax(0,1.76fr) minmax(268px,.86fr);min-height:485px}
.cl1-live-visual{position:relative;overflow:hidden;min-height:485px;background:radial-gradient(ellipse at 46% 51%,#19344a,#071423 63%,#030b14);border-right:1px solid var(--lc-edge)}
#cl1-live-canvas{display:block;width:100%;height:100%;min-height:485px;touch-action:none;cursor:grab;outline-offset:-5px}
#cl1-live-canvas:active{cursor:grabbing}
#cl1-live-canvas:focus-visible{outline:2px solid #b4f7ec}
.cl1-live-overlay-top{pointer-events:none;position:absolute;top:14px;left:17px;right:17px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font:9px/1.45 ui-monospace,Menlo,Consolas,monospace;color:#93c4cb;letter-spacing:.065em}
.cl1-live-overlay-bottom{pointer-events:none;position:absolute;bottom:14px;left:17px;max-width:70%;font:9px/1.5 ui-monospace,Menlo,monospace;color:#749ba7;letter-spacing:.07em}
.cl1-live-canvas-controls{position:absolute;right:11px;bottom:10px;display:flex;gap:5px}
.cl1-live button,.cl1-live input,.cl1-live a{font:inherit}
.cl1-live button{border:1px solid #3b6274;border-radius:6px;cursor:pointer;color:#d6eef3;background:#102736}
.cl1-live button:hover{border-color:#b7e7ee;background:#193d4c}
.cl1-live button:focus-visible,.cl1-live a:focus-visible,.cl1-live input:focus-visible{outline:2px solid #a9f2e7;outline-offset:2px}
.cl1-live-canvas-controls button{width:35px;height:35px;background:#091c29e8;font-size:19px;line-height:1}
.cl1-live-desk{display:flex;flex-direction:column;gap:12px;padding:18px;background:linear-gradient(153deg,#0b202c,#07121e)}
.cl1-live-panel-title{display:flex;justify-content:space-between;gap:7px;align-items:center;padding-bottom:6px;border-bottom:1px solid #284452;font:800 10px/1.5 ui-monospace,Menlo,monospace;letter-spacing:.10em;color:#d1e7e9}
.cl1-live-panel-title span:last-child,.cl1-live-panel-title output{color:#81bdc8;font-weight:500}
.cl1-live-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.cl1-live-modes button{min-width:0;padding:11px 3px;font:700 10px ui-monospace,Menlo,monospace}
.cl1-live-modes button[aria-pressed=true],.cl1-live-selection button[aria-pressed=true],.cl1-live-control-row button[aria-pressed=true]{background:#27535b;border-color:#b8fbec;color:#fff;box-shadow:inset 0 0 18px #a7ffed18}
#cl1-live-energy{width:100%;margin:0;accent-color:#b6f1e6;cursor:pointer}
.cl1-live-control-row{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.cl1-live-control-row button{padding:10px 4px;font:700 10px ui-monospace,Menlo,monospace}
.cl1-live-desk h3{font-size:25px;margin:1px 0 -4px;color:#edf9fa;letter-spacing:-.025em}
#cl1-live-description{min-height:58px;margin:0;font-size:12px;line-height:1.55;color:#b2cbd1}
.cl1-live-selection{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.cl1-live-selection button{padding:9px 2px;min-width:0;font:750 9px ui-monospace,Menlo,monospace}
.cl1-live-enter{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 16px;border:1px solid #b3f3e3;border-radius:8px;text-decoration:none!important;background:linear-gradient(100deg,#c5e9e8,#e6f8f7);color:#08232b!important;font:900 11px ui-monospace,Menlo,monospace!important;letter-spacing:.06em}
.cl1-live-enter:hover{filter:brightness(1.07)}
.cl1-live-enter span{font-size:18px}
.cl1-live-capture{padding:10px;font:800 10px ui-monospace,Menlo,monospace!important}
#cl1-live-message{display:block;min-height:16px;font:10px/1.5 ui-monospace,Menlo,monospace;color:#9befd9;overflow-wrap:anywhere}
.cl1-live-note{margin:0;font:10px/1.6 ui-monospace,Menlo,monospace;color:#7e9fac}
.cl1-live-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:10px 18px;border-top:1px solid var(--lc-edge);color:#6f99a5;font:9px/1.5 ui-monospace,Menlo,monospace;letter-spacing:.07em}
.cl1-live-visual:fullscreen{background:#030c16}
.cl1-live-visual:fullscreen #cl1-live-canvas{height:100vh;min-height:100vh}
@media(max-width:1040px){.cl1-live-layout{grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr)}.cl1-live-selection{grid-template-columns:repeat(2,minmax(0,1fr))}.cl1-live-head-right{min-width:130px}.cl1-live-head-right strong{font-size:34px}}
@media(max-width:760px){.cl1-live-head{align-items:flex-start}.cl1-live-layout{display:flex;flex-direction:column}.cl1-live-visual,#cl1-live-canvas{min-height:380px;height:380px}.cl1-live-desk{padding:15px}.cl1-live-selection{grid-template-columns:repeat(4,minmax(0,1fr))}.cl1-live-head-right{min-width:110px}.cl1-live-head-right span{display:none}}
@media(max-width:470px){.cl1-live-head{display:block}.cl1-live-head-right{margin-top:15px;padding-top:12px;border-left:0;border-top:1px solid var(--lc-edge);align-items:flex-start;text-align:left}.cl1-live-head-right strong{font-size:26px}.cl1-live-visual,#cl1-live-canvas{height:340px;min-height:340px}.cl1-live-overlay-bottom{font-size:8px}.cl1-live-selection{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.cl1-live *{transition:none!important;animation:none!important}.cl1-live-indicator{box-shadow:none}.cl1-live h2 em{text-shadow:none}}
