.hd-demo{aspect-ratio:660/478;width:100%;max-width:660px;margin-inline:auto;position:relative;container-type:inline-size}.hd-demo .hd-kit-stage{transform-origin:0 0;isolation:isolate;width:660px;height:478px;transform:scale(calc(100cqw / 660px));--hd-kit-ink-1:#ffffff0d;--hd-kit-ink-2:#ffffff12;--hd-kit-ink-3:#ffffff1a;font-family:var(--hd-kit-font);letter-spacing:normal;word-spacing:normal;text-align:start;text-indent:0;text-transform:none;white-space:normal;font-size:16px;font-style:normal;font-weight:400;line-height:normal;position:absolute;inset:0 auto auto 0}.hd-demo *,.hd-demo :before,.hd-demo :after{box-sizing:border-box}.hd-demo :is(img,svg){max-width:none}.hd-demo .hd-kit-window{background:var(--hd-kit-canvas);border-radius:var(--hd-kit-radius-window);flex-direction:column;display:flex;overflow:hidden}.hd-demo .hd-kit-window__bar{background:var(--hd-kit-chrome);border-bottom:1px solid var(--hd-kit-line);flex-shrink:0;align-items:center;gap:6px;height:38px;padding:0 14.5px;display:flex}.hd-demo .hd-kit-window__lights{flex-shrink:0;gap:6px;display:flex}.hd-demo .hd-kit-window__lights i{background:#bac8da80;border-radius:50%;width:9px;height:9px}.hd-demo .hd-kit-window__spacer{flex:1}.hd-demo .hd-kit-window__body{flex:1;min-height:0;position:relative}.hd-demo .hd-kit-bar{min-width:0;max-width:100%;display:block}.hd-demo .hd-kit-text{white-space:nowrap}.hd-demo .hd-kit-thread{min-height:0;font-size:var(--hd-kit-thread-size,13px);letter-spacing:-.01em;flex-direction:column;justify-content:flex-end;line-height:1.55;display:flex}.hd-demo .hd-kit-bubble-row{justify-content:flex-end;display:flex;position:relative}.hd-demo .hd-kit-bubble{max-width:75%;color:var(--hd-kit-text-strong);background:var(--hd-kit-ink-1);overflow-wrap:break-word;border-radius:1.2em;padding:.5em .9em;position:relative}.hd-demo .hd-kit-cursor{z-index:100;pointer-events:none;will-change:transform;transition:opacity .25s;position:absolute;top:0;left:0}.hd-demo .hd-kit-cursor[data-idle]{opacity:0;transition-duration:.6s}.hd-demo .hd-kit-cursor__press{transform-origin:0 0;transition:transform .26s cubic-bezier(.22,1,.36,1);display:grid}.hd-demo .hd-kit-cursor[data-pressed=true] .hd-kit-cursor__press{transition:transform 80ms ease-out;transform:scale(.9)}.hd-demo .hd-kit-cursor__glyph{opacity:0;grid-area:1/1;transition:transform .2s,opacity .2s;transform:scale(0)}.hd-demo .hd-kit-cursor[data-kind=pointer] [data-glyph=pointer],.hd-demo .hd-kit-cursor[data-kind=ibeam] [data-glyph=ibeam]{opacity:1;transform:scale(1)}.hd-demo .hd-kit-cursor__glyph svg{filter:drop-shadow(0 1px 2px #0000004d);display:block}.hd-demo .hd-kit-cursor__arrow path{fill:#fff;stroke:#fff;stroke-width:2.4px;stroke-linejoin:round}.hd-demo .hd-kit-cursor__arrow{filter:drop-shadow(0 1px 1.5px #0000002e)}.hd-demo .hd-kit-ripple{z-index:99;border:1.5px solid var(--hd-kit-accent);background:color-mix(in srgb,var(--hd-kit-accent) 10%,transparent);pointer-events:none;border-radius:50%;width:36px;height:36px;margin:-18px 0 0 -18px;animation:.55s cubic-bezier(.25,.8,.25,1) forwards hd-kit-ripple;position:absolute}@keyframes hd-kit-ripple{0%{opacity:1;transform:scale(.2)}to{opacity:0;transform:scale(1)}}.hd-demo [data-paused=true] *{animation-play-state:paused!important}.hd-demo [data-still=true] *,.hd-demo [data-still=true] :before{transition:none!important;animation:none!important}@media (max-width:767px){.hd-demo{aspect-ratio:358/578;max-width:358px}.hd-demo .hd-kit-stage{width:358px;height:578px;transform:scale(calc(100cqw / 358px))}}@media (prefers-reduced-motion:reduce){.hd-demo *,.hd-demo :before{transition:none!important;animation:none!important}}
.hd-demo .hd-kit-stage{--hd-kit-canvas:#111;--hd-kit-surface:#1a1a1a;--hd-kit-chrome:#1a1a1a;--hd-kit-well:#111;--hd-kit-raised:#272727;--hd-kit-accent:#13d456;--hd-kit-accent-text:#13d456;--hd-kit-accent-soft:#13d45633;--hd-kit-text-strong:#fff;--hd-kit-text:#ededed;--hd-kit-text-faint:#b7b7b7;--hd-kit-line:#333;--hd-kit-line-faint:#292929;--hd-kit-icon:#b7b7b7;--hd-kit-font:"Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;--hd-kit-radius-window:12px;--hd-kit-radius-md:8px;background:0 0;overflow:hidden}.hd-demo .hd-window{width:100%;height:100%;box-shadow:none;position:absolute;inset:0}.hd-demo .hd-editor{background:var(--hd-kit-surface);height:100%;color:var(--hd-kit-text);grid-template-columns:440px 220px;display:grid}.hd-demo .hd-canvas{background:#111;justify-content:center;align-items:center;display:flex}.hd-demo .hd-photo{width:440px;height:440px;position:relative;overflow:hidden}.hd-demo .hd-image{object-fit:contain;opacity:0;width:100%;height:100%;transition:opacity .65s;position:absolute;inset:0}.hd-demo .hd-image:first-child,.hd-demo .hd-image[data-on=true]{opacity:1}.hd-demo .hd-paint{opacity:0;width:100%;height:100%;transition:opacity .25s;position:absolute;inset:0}.hd-demo .hd-paint[data-on=true]{opacity:.44}.hd-demo .hd-label-focus{opacity:0;pointer-events:none;border:1.5px solid #13a04a;border-radius:4px;transition:opacity .35s;position:absolute}.hd-demo .hd-label-focus[data-on=true]{opacity:1;transition-delay:.65s}.hd-demo .hd-panel{border-left:1px solid #292929;flex-direction:column;gap:16px;padding:16px;display:flex}.hd-demo .hd-tools{justify-content:space-between;align-items:center;gap:12px;display:flex}.hd-demo .hd-chat{align-items:center;gap:8px;font-size:13px;display:flex}.hd-demo button{font:inherit;cursor:pointer;color:inherit;border:0;flex:none}.hd-demo .hd-brush{background:#2a2a2a;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:84px;height:36px;padding:0 12px;font-size:12px;transition:background .18s,color .18s,transform .12s;display:flex}.hd-demo .hd-message,.hd-demo .hd-brush,.hd-demo .hd-original{will-change:transform}.hd-demo .hd-replay{color:#b7b7b7;background:#292929;border-radius:6px;place-items:center;width:28px;height:28px;padding:0;display:grid}.hd-demo .hd-replay-compact{display:none}.hd-demo .hd-replay[data-pressed]{background:#424242}.hd-demo .hd-brush[data-active=true]{color:#13d456;background:#183e25}.hd-demo .hd-brush[data-pressed],.hd-demo .hd-send[data-pressed],.hd-demo .hd-original[data-pressed]{transform:scale(.96)}.hd-demo .hd-history{align-items:center;gap:8px;display:flex}.hd-demo .hd-original{background:#242424;border:1px solid #414141;border-radius:8px;align-items:center;gap:8px;padding:5px;font-size:11px;transition:border-color .2s,transform .12s;display:flex;position:relative}.hd-demo .hd-original img{border-radius:4px;width:30px;height:30px}.hd-demo .hd-original .hd-kit-text{padding-right:3px}.hd-demo .hd-message .hd-kit-thread{--hd-kit-thread-size:13px}.hd-demo .hd-original[data-active=true]{border-color:#13d456}.hd-demo .hd-history-slot{border:1px solid #333;border-radius:7px;width:40px;height:40px;transition:border-color .2s;position:relative}.hd-demo .hd-history-slot img{opacity:0;border-radius:6px;width:38px;height:38px;transition:opacity .65s;position:absolute;inset:0}.hd-demo .hd-history-slot img[data-on=true]{opacity:1}.hd-demo .hd-history-slot[data-active=true]{border-color:#13d456}.hd-demo .hd-conversation{flex:1;min-height:100px;position:relative}.hd-demo .hd-message{opacity:0;transition:opacity .26s,transform .35s cubic-bezier(.25,.8,.25,1);position:absolute;inset:0 0 auto;transform:translateY(8px)}.hd-demo .hd-message:nth-child(2){top:80px}.hd-demo .hd-message[data-on=true]{opacity:1;transform:translateY(0)}.hd-demo .hd-context{opacity:0;flex-direction:column;gap:10px;transition:opacity .2s;display:flex;position:absolute;top:12px;left:0}.hd-demo .hd-context[data-on=true]{opacity:1}.hd-demo .hd-pending{color:#b7b7b7;opacity:0;align-items:center;gap:8px;height:18px;font-size:11px;transition:opacity .16s;display:flex;position:absolute;top:70px;left:0}.hd-demo .hd-pending[data-second=true]{top:150px}.hd-demo .hd-pending[data-on=true]{opacity:1}.hd-demo .hd-spinner{border:1.5px solid #555;border-top-color:#13d456;border-radius:50%;width:12px;height:12px;animation:.8s linear infinite hd-spin}.hd-demo .hd-compose{background:#242424;border:1px solid #444;border-radius:12px;align-items:flex-end;gap:8px;min-height:96px;padding:12px;transition:border-color .18s;display:flex;position:relative}.hd-demo .hd-compose[data-focus=true]{border-color:#13d456}.hd-demo .hd-input{overflow-wrap:break-word;flex:1;align-self:stretch;min-width:0;font-size:13px;line-height:1.55;position:relative}.hd-demo .hd-input-placeholder{opacity:0;transition:opacity .12s;position:absolute;top:9px;left:0}.hd-demo .hd-input-placeholder[data-on=true]{opacity:1}.hd-demo .hd-compose[data-focus=true] .hd-input-placeholder{opacity:0}.hd-demo .hd-caret{opacity:0;background:linear-gradient(#13d456,#13d456) 50%/1px 13px no-repeat;margin-left:2px;padding-left:1px;display:inline}.hd-demo .hd-caret[data-on=true]{opacity:1}.hd-demo .hd-send{color:#111;background:#13d456;border-radius:8px;place-items:center;width:30px;height:30px;padding:0;transition:transform .12s;display:grid}@media (max-width:767px){.hd-demo .hd-kit-stage{border-radius:12px}.hd-demo .hd-kit-window__bar{display:none}.hd-demo .hd-replay-compact{display:grid}.hd-demo .hd-editor{flex-direction:column;height:578px;display:flex}.hd-demo .hd-canvas{flex:none}.hd-demo .hd-photo{width:358px;height:358px}.hd-demo .hd-panel{border-left:0;gap:10px;height:220px;padding:12px;position:relative}.hd-demo .hd-tools{gap:8px;position:absolute;top:12px;right:12px}.hd-demo .hd-chat{display:none}.hd-demo .hd-brush{height:44px}.hd-demo .hd-history{gap:6px;height:44px}.hd-demo .hd-original{height:44px}.hd-demo .hd-history-slot{width:38px;height:38px}.hd-demo .hd-history-slot img{width:36px;height:36px}.hd-demo .hd-conversation{height:94px;min-height:0;position:absolute;top:64px;left:12px;right:12px}.hd-demo .hd-message{inset:0 0 auto}.hd-demo .hd-message:nth-child(2){top:42px}.hd-demo .hd-pending{background:#1a1a1a;border-radius:4px;padding:3px 6px;top:40px;left:0;right:auto}.hd-demo .hd-pending[data-second=true]{top:80px}.hd-demo .hd-context{flex-direction:row;align-items:center;top:12px}.hd-demo .hd-compose{align-items:center;min-height:42px;margin-top:100px;padding:8px 10px}.hd-demo .hd-input{align-self:center;min-height:24px;font-size:12px;line-height:1.5}.hd-demo .hd-send{width:26px;height:26px}}@keyframes hd-spin{to{transform:rotate(360deg)}}
