/* Lucian UX/UI Prompt theme tokens · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/
   가져온 요소(#008 복사 칸, #089 404)가 쓰는 --ux-* 값을 사이트 색(--bg, --surface, --text, --accent)에 잇는다.
   방송 도구는 tool.css가 라이트·다크마다 같은 이름의 색을 바꾸므로 여기서 따로 나누지 않는다. */
:root {
  --ux-page: var(--bg);
  --ux-surface: var(--surface);
  --ux-surface-2: color-mix(in srgb, var(--text) 6%, var(--surface));
  --ux-surface-3: color-mix(in srgb, var(--text) 12%, var(--surface));
  --ux-ink: var(--text);
  --ux-ink-2: color-mix(in srgb, var(--text) 72%, transparent);
  --ux-ink-3: var(--text-muted);
  --ux-line: color-mix(in srgb, var(--text) 10%, transparent);
  --ux-line-2: var(--border);
  --ux-accent: var(--accent);
  --ux-accent-ink: #101010;
  --ux-mint: var(--accent);
  --ux-danger: #ff5a4e;
  --ux-shadow: rgba(0, 0, 0, .45);
  --ux-shadow-strong: rgba(0, 0, 0, .72);
  --ux-ease: cubic-bezier(.2, .8, .2, 1);
  --ux-spring: cubic-bezier(.34, 1.45, .64, 1);
}
/* 방송 도구 라이트 모드: 흰 바탕에서 노란 글자가 안 읽히므로 글자용 강조색만 진하게 */
html[data-theme="light"] { --ux-accent: #8a6d00; }
/* 요소 공통 베이스. 글꼴은 사이트 것을 그대로 쓴다 */
.ux,.ux *,.ux *::before,.ux *::after{box-sizing:border-box}
.ux{font-family:inherit;color:var(--ux-ink);-webkit-font-smoothing:antialiased;letter-spacing:-.01em;-webkit-tap-highlight-color:transparent;word-break:keep-all;overflow-wrap:break-word}
:where(.ux) :is(button,input,textarea,select){font:inherit;color:inherit}
:where(.ux) button{cursor:var(--cursor-link, pointer)}
.ux :focus-visible{outline:2px solid var(--ux-accent);outline-offset:3px}
.ux [hidden]{display:none!important}
@media (prefers-reduced-motion:reduce){
  .ux,.ux *,.ux *::before,.ux *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}

/* Lucian UX/UI Prompt #008 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#008
   방송 도구의 OBS 주소 칸(js/live.js가 만든다). 패키지 관리자 탭은 빼고 주소 칸·복사 버튼·말풍선만 옮겼다.
   요소 전체 크기(340x170) 대신 높이는 내용만큼. 주소(bawi.me/도구?overlay=방 코드 10자)가 다 보이게 너비를 440px로 넓히고 화면이 좁으면 줄어들게 했다 */
.u008{position:relative;width:440px;max-width:100%;display:flex;flex-direction:column;align-items:center;margin:14px auto 0}
.u008-box{position:relative;display:flex;align-items:center;width:100%;height:62px;padding:0 8px 0 18px;border-radius:18px;background:var(--ux-surface);box-shadow:0 0 0 1px var(--ux-line-2),0 18px 32px -24px var(--ux-shadow-strong);overflow:visible;transition:box-shadow .45s var(--ux-ease)}
.u008-code{position:relative;flex:1;min-width:0;overflow:hidden;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14.5px;white-space:nowrap;color:var(--ux-ink);text-align:left}
.u008-code b{font-weight:500;color:var(--ux-accent)}
.u008-code::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,color-mix(in srgb,var(--ux-mint) 30%,transparent) 50%,transparent 80%);transform:translateX(-110%);pointer-events:none}
.u008.is-copied .u008-code::after{animation:u008-sweep .7s var(--ux-ease)}
@keyframes u008-sweep{to{transform:translateX(110%)}}
.u008-btn{position:relative;flex:none;width:46px;height:46px;border:0;padding:0;border-radius:13px;background:var(--ux-surface-2);color:var(--ux-ink-2);display:grid;place-items:center;transition:background-color .35s var(--ux-ease),color .35s var(--ux-ease),transform .45s var(--ux-spring)}
.u008-btn:hover{background:var(--ux-surface-3);color:var(--ux-ink)}
.u008-btn:active{transform:scale(.88)}
.u008-btn:focus-visible{outline:2px solid var(--ux-accent);outline-offset:3px}
.u008-btn svg{position:absolute;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;transition:opacity .25s var(--ux-ease),transform .5s var(--ux-spring)}
.u008-ok{opacity:0;transform:scale(.4) rotate(-30deg)}
.u008-ok path{stroke-width:2.6;stroke-dasharray:22;stroke-dashoffset:22;transition:stroke-dashoffset .4s var(--ux-ease) .1s}
.u008.is-copied .u008-btn{background:var(--ux-mint);color:var(--ux-accent-ink)}
.u008.is-copied .u008-cp{opacity:0;transform:scale(.4) rotate(30deg)}
.u008.is-copied .u008-ok{opacity:1;transform:none}
.u008.is-copied .u008-ok path{stroke-dashoffset:0}
.u008.is-copied .u008-box{box-shadow:0 0 0 1.5px var(--ux-mint),0 0 0 6px color-mix(in srgb,var(--ux-mint) 16%,transparent),0 18px 32px -24px var(--ux-shadow-strong)}
.u008-tip{position:absolute;right:-6px;top:-44px;padding:7px 12px;border-radius:10px;background:var(--ux-ink);color:var(--ux-page);font-size:13px;font-weight:650;white-space:nowrap;pointer-events:none;opacity:0;transform:translateY(8px) scale(.8);transform-origin:80% 100%;transition:opacity .25s var(--ux-ease),transform .5s var(--ux-spring)}
.u008-tip::after{content:"";position:absolute;right:24px;bottom:-5px;width:10px;height:10px;background:inherit;border-radius:2px;transform:rotate(45deg)}
.u008.is-copied .u008-tip{opacity:1;transform:none}
.u008 .obs-copy{margin:10px 0 0}

/* Lucian UX/UI Prompt #089 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#089
   404.html. 주소 칸에는 실제로 연 주소를, 아래 목록에는 사이트 주소 중 비슷한 것을 넣는다(js/not-found.js) */
.u089{position:relative;width:340px;max-width:100%;height:420px;display:flex;flex-direction:column;padding:18px;border-radius:30px;background:var(--ux-surface);box-shadow:0 0 0 1px var(--ux-line),0 30px 60px -36px var(--ux-shadow-strong);overflow:hidden;text-align:center}
.u089-url{display:flex;align-items:center;gap:8px;height:40px;padding:0 14px;border-radius:14px;background:var(--ux-surface-2);font-size:13.5px;font-weight:650;color:var(--ux-ink-3);text-align:left;white-space:nowrap;overflow:hidden}
.u089-url svg{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.u089-url span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.u089-url b{font-weight:750;color:var(--ux-ink);text-decoration:underline wavy var(--ux-danger);text-decoration-thickness:1.5px;text-underline-offset:4px;text-decoration-skip-ink:none;transition:color .3s}
.u089.fixing .u089-url b{text-decoration-color:transparent}
.u089.found .u089-url b{color:var(--ux-mint);text-decoration-color:transparent}
.u089-url b::after{content:"";display:inline-block;width:1.5px;height:15px;margin-left:1px;vertical-align:-2px;background:var(--ux-accent);opacity:0}
.u089.fixing .u089-url b::after{opacity:1;animation:u089-c .8s steps(1) infinite}
@keyframes u089-c{50%{opacity:0}}
.u089-num{display:flex;justify-content:center;align-items:center;gap:4px;height:96px;margin-top:20px;font-size:86px;font-weight:850;letter-spacing:-.05em;line-height:96px;font-variant-numeric:tabular-nums}
.u089-d{height:96px;overflow:hidden;transition:transform .5s var(--ux-spring)}
.u089-d:first-child{transform:rotate(calc(var(--r,0) * -7deg))}
.u089-d:last-child{transform:rotate(calc(var(--r,0) * 7deg))}
.u089-col{display:flex;flex-direction:column;transform:translateY(calc(var(--v) * -96px));transition:transform 1s cubic-bezier(.6,-.15,.25,1.2)}
.u089-d:last-child .u089-col{transition-delay:.12s}
.u089-col span{height:96px}
.u089-cp{width:72px;height:72px;margin:0 2px}
.u089-cp svg{display:block;width:72px;height:72px;overflow:visible}
.u089-ring{fill:none;stroke:var(--ux-ink);stroke-width:11;transition:stroke .5s}
.u089.found .u089-ring{stroke:var(--ux-mint)}
.u089-tk{stroke:var(--ux-ink-3);stroke-width:2;stroke-linecap:round}
.u089-wob{transform-origin:36px 36px}
.u089:not(.trk):not(.found) .u089-wob{animation:u089-w 3.4s ease-in-out infinite}
@keyframes u089-w{0%,100%{transform:rotate(-16deg)}50%{transform:rotate(18deg)}}
.u089-nd{transform-origin:36px 36px}
.u089-hub{fill:var(--ux-surface);stroke:var(--ux-ink);stroke-width:2}
.u089-t{margin:16px 0 0;font-size:19px;font-weight:850;letter-spacing:-.04em}
.u089-s{margin:4px 0 0;font-size:13px;font-weight:600;color:var(--ux-ink-3)}
.u089-t,.u089-s{transition:opacity .25s,transform .35s var(--ux-ease)}
.u089.swap .u089-t,.u089.swap .u089-s{opacity:0;transform:translateY(6px)}
.u089-lab{display:flex;align-items:center;justify-content:space-between;height:28px;margin-top:auto;padding:0 4px;font-size:12px;font-weight:750;color:var(--ux-ink-3)}
.u089-sug{margin:4px 0 0;padding:0;list-style:none}
.u089-row{display:flex;align-items:center;gap:10px;width:100%;height:44px;padding:0 12px;border:0;border-radius:14px;background:transparent;text-align:left;transition:background-color .2s,opacity .3s}
.u089-row:hover{background:var(--ux-surface-2)}
.u089-row:active{transform:scale(.98)}
.u089-row code{font:750 13.5px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--ux-ink)}
.u089-row small{flex:1;font-size:12px;font-weight:650;color:var(--ux-ink-3)}
.u089-m{width:44px;height:4px;border-radius:2px;background:var(--ux-surface-3);overflow:hidden}
.u089-m i{display:block;height:100%;width:calc(var(--m) * 100%);border-radius:inherit;background:var(--ux-accent)}
.u089-row svg{width:16px;height:16px;flex:none;fill:none;stroke:var(--ux-ink-3);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s var(--ux-spring)}
.u089-row:hover svg{transform:translateX(3px)}
.u089-row:disabled{opacity:.35;cursor:default}
.u089-row:disabled:hover{background:transparent}
.u089-row.on{background:color-mix(in srgb,var(--ux-mint) 16%,transparent);opacity:1}
.u089-row.on .u089-m i{background:var(--ux-mint)}
.u089-row.on svg{stroke:var(--ux-mint);transform:none}
.not-found .u089 + .not-found-home{margin-top:24px}
/* style.css의 .not-found p 여백이 요소 문단에 덮어씌워지지 않게 */
.not-found .u089-t{margin:16px 0 0}
.not-found .u089-s{margin:4px 0 0}
html.is-overlay .u008{display:none!important}

/* Lucian UX/UI Prompt #343 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#343
   노트·개인정보 처리방침의 맨 위로 버튼(js/back-to-top.js). 원본은 카드 안 글을 스크롤했지만 여기서는 페이지 전체 스크롤을 따르므로
   틀(카드)과 예시 글은 빼고, 버튼을 화면 오른쪽 아래에 고정했다. 흰 버튼이 너무 튀어서 사이트 카드색 회색으로 바꿨다(바위님 A안) */
.u343{position:fixed;right:24px;bottom:24px;z-index:50;width:52px;height:52px}
.u343-up{position:absolute;right:0;bottom:0;width:52px;height:52px;border:0;padding:0;border-radius:50%;background:var(--ux-surface);color:var(--ux-ink-3);box-shadow:0 0 0 1px var(--border-soft),0 12px 24px -10px var(--ux-shadow-strong);opacity:0;transform:translateY(20px) scale(.6);pointer-events:none;transition:opacity .3s,transform .5s var(--ux-spring)}
.u343.show .u343-up{opacity:1;transform:none;pointer-events:auto}
.u343-up svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.u343-ring{fill:none;stroke:var(--ux-accent);stroke-width:3;stroke-linecap:round;transform:rotate(-90deg);transform-origin:26px 26px}
.u343-ar{fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:opacity .2s}
.u343-rk{opacity:0}
.u343-rk .b{fill:currentColor}
.u343-rk .w{fill:var(--ux-accent)}
.u343-rk .f{fill:#FF922B;transform-box:fill-box;transform-origin:50% 0}
.u343.fly .u343-ar{opacity:0}
.u343.fly .u343-rk{opacity:1}
.u343.fly .u343-rk .f{animation:u343-fl .12s linear infinite alternate}
@keyframes u343-fl{to{transform:scaleY(1.6)}}
@media (max-width:560px){.u343{right:16px;bottom:16px}}
