/*
MIT License

Copyright (c) 2026 Seokwoooo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

*/

/* Lucian theme tokens mapped to the existing Mochi series. */
:root{--ux-page:var(--paper);--ux-surface:var(--white);--ux-surface-2:#f5eee7;--ux-surface-3:#fce8dc;--ux-ink:var(--ink);--ux-ink-2:#6d594d;--ux-ink-3:#827268;--ux-line:var(--line);--ux-line-2:#d7bbab;--ux-accent:var(--accent);--ux-accent-2:#8c452f;--ux-accent-soft:#fce8dc;--ux-accent-ink:#fff;--ux-mint:var(--accent);--ux-warn:#a66a26;--ux-danger:#a63732;--ux-shadow:#64402724;--ux-shadow-strong:#6440274d;--ux-ease:cubic-bezier(.2,.8,.2,1);--ux-spring:cubic-bezier(.34,1.45,.64,1)}
.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;overflow-wrap:break-word}
:where(.ux) :is(button,input,textarea,select){font:inherit;color:inherit}
:where(.ux) button{cursor:pointer}
.ux :focus-visible{outline:2px solid var(--ux-accent);outline-offset:3px}
.ux [hidden]{display:none!important}
.ux[data-lucian-theme="dark"]{--ux-page:#211c19;--ux-surface:#302823;--ux-surface-2:#42362e;--ux-surface-3:#4d4036;--ux-ink:#fff7ee;--ux-ink-2:#ead8c8;--ux-ink-3:#bca999;--ux-line:#796253;--ux-line-2:#8d7462;--ux-accent:#eea082;--ux-mint:#9c4b32;--ux-accent-ink:#fff}


/* Lucian UX/UI Prompt #002 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#002 */
.u002{--bg:#16151B;--fg:#F7F5F0;--blob:linear-gradient(135deg,#8B6CFF,#4F8DFF 60%,#2FC7B4);
  position:relative;width:340px;height:200px;display:grid;place-items:center}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .u002{--bg:#F4F0E8;--fg:#121117}}
:root[data-theme="dark"] .u002{--bg:#F4F0E8;--fg:#121117}
.u002-mag{transition:translate .9s var(--ux-spring)}
.u002-btn{position:relative;display:flex;align-items:center;gap:18px;height:76px;padding:0 10px 0 32px;border:0;border-radius:999px;background:var(--bg);color:var(--fg);overflow:hidden;isolation:isolate;
  box-shadow:0 24px 40px -24px rgba(100,54,30,.25),0 0 0 1px color-mix(in srgb,var(--fg) 8%,transparent);
  transition:transform .6s var(--ux-spring),box-shadow .6s var(--ux-ease)}
.u002-btn:hover{box-shadow:0 30px 52px -22px rgba(156,77,48,.3),0 0 0 1px transparent}
.u002-btn:active{transform:scale(.96)}
.u002-btn:focus-visible{outline:2px solid var(--ux-accent);outline-offset:5px}

.u002-fill{position:absolute;inset:0;z-index:-1;background:var(--blob);clip-path:circle(28px at calc(100% - 38px) 50%);transition:clip-path .8s var(--ux-ease)}
.u002-btn:hover .u002-fill,.u002-btn:focus-visible .u002-fill{clip-path:circle(160% at calc(100% - 38px) 50%)}
.u002-txt{position:relative;overflow:hidden;padding:5px 0;font-size:19px;font-weight:700;letter-spacing:-.03em;white-space:nowrap;transition:translate .7s var(--ux-spring),color .5s var(--ux-ease)}
.u002-btn:hover .u002-txt{color:#fff}
.u002-txt span{display:block;transition:transform .6s var(--ux-spring),opacity .35s var(--ux-ease)}
.u002-txt span+span{position:absolute;left:0;top:5px;transform:translateY(130%);opacity:0}
.u002[data-state="go"] .u002-txt span:first-child{transform:translateY(-130%);opacity:0}
.u002[data-state="go"] .u002-txt span+span{transform:none;opacity:1}
.u002-orb{position:relative;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;color:#fff;overflow:hidden;flex:none;transition:translate .7s var(--ux-spring)}
.u002-orb svg{position:absolute;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.u002-orb svg:last-child{transform:translateX(-46px)}
.u002[data-state="go"] .u002-orb svg:first-child{animation:u002-out .55s var(--ux-ease) forwards}
.u002[data-state="go"] .u002-orb svg:last-child{animation:u002-in .6s var(--ux-spring) .28s forwards}
@keyframes u002-out{to{transform:translateX(46px)}}
@keyframes u002-in{to{transform:none}}
.u002-glow{position:absolute;left:50%;top:50%;width:300px;height:110px;margin:-40px 0 0 -150px;border-radius:50%;background:var(--blob);filter:blur(36px);opacity:0;z-index:-1;transition:opacity .7s var(--ux-ease)}
.u002:hover .u002-glow{opacity:.45}
.u002-live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}


/* Lucian UX/UI Prompt #008 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#008 */
.u008{position:relative;width:340px;height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}
.u008-tabs{display:flex;gap:4px;align-self:flex-start;margin-left:12px}
.u008-tab{height:30px;padding:0 12px;border:0;border-radius:9px;background:none;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;font-weight:600;color:var(--ux-ink-3);transition:background-color .3s var(--ux-ease),color .3s var(--ux-ease)}
.u008-tab[aria-selected="true"]{background:var(--ux-surface);color:var(--ux-ink);box-shadow:0 0 0 1px var(--ux-line)}
.u008-box{position:relative;display:flex;align-items:center;width:316px;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)}
.u008-code em{font-style:normal;color:var(--ux-mint);margin-right:8px;user-select:none}
.u008-code b{font-weight:500;color:var(--ux-accent)}
.u008-cmd{display:inline-block}
.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}


/* Lucian UX/UI Prompt #019 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#019 */
.u019{position:relative;width:340px}
.u019-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:16px}
.u019-head b{display:block;font-size:19px;font-weight:760;letter-spacing:-.03em}
.u019-head small{display:block;margin-top:4px;font-size:13px;color:var(--ux-ink-3)}
.u019-cnt{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--ux-ink-2);font-variant-numeric:tabular-nums;transition:color .3s var(--ux-ease)}
.u019-dots{display:flex;gap:3px}
.u019-dots i{width:7px;height:7px;border-radius:50%;background:var(--ux-line-2);transition:background-color .3s var(--ux-ease),transform .4s var(--ux-spring)}
.u019-dots i.on{background:var(--ux-accent);transform:scale(1.15)}
.u019.is-warn .u019-cnt{color:var(--ux-danger);animation:u019-flash .5s var(--ux-ease)}
@keyframes u019-flash{30%{transform:scale(1.08)}}
.u019-list{display:flex;flex-wrap:wrap;align-content:center;gap:8px;height:200px}
.u019-chip{display:inline-flex;align-items:center;height:42px;padding:0 16px;border:0;border-radius:999px;background:var(--ux-surface);color:var(--ux-ink-2);font-size:14.5px;font-weight:640;
  box-shadow:inset 0 0 0 1px var(--ux-line-2);transition:background-color .35s var(--ux-ease),color .3s var(--ux-ease),box-shadow .3s var(--ux-ease),padding .45s var(--ux-spring),transform .4s var(--ux-spring)}
.u019-chip:hover{color:var(--ux-ink);box-shadow:inset 0 0 0 1px var(--ux-ink-3)}
.u019-chip:active{transform:scale(.94)}
.u019-chip:focus-visible{outline:2px solid var(--ux-accent);outline-offset:3px}
.u019-chip i{display:grid;place-items:center;width:0;height:18px;margin-right:0;overflow:hidden;opacity:0;transition:width .45s var(--ux-spring),margin .45s var(--ux-spring),opacity .25s var(--ux-ease)}
.u019-chip svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.u019-chip[aria-pressed="true"]{background:var(--ux-ink);color:var(--ux-page);box-shadow:0 10px 18px -12px var(--ux-shadow-strong);padding-left:12px}
.u019-chip[aria-pressed="true"] i{width:18px;margin-right:6px;opacity:1}
.u019-chip.is-no{animation:u019-no .4s var(--ux-ease)}
@keyframes u019-no{20%{transform:translateX(-5px)}45%{transform:translateX(4px)}70%{transform:translateX(-2px)}}
.u019-msg{height:20px;margin:14px 0 0;font-size:13px;color:var(--ux-ink-3);transition:color .3s var(--ux-ease)}
.u019.is-warn .u019-msg{color:var(--ux-danger)}


/* Layout adapters: Japanese content, 320px screens, and larger touch targets. */
.u002{--bg:var(--accent);--fg:#fff;--blob:linear-gradient(135deg,#bc573b,#a34a32);width:100%;max-width:100%;height:76px;display:block;margin:14px 0 16px}
.u002-mag{width:100%}.u002-btn{width:100%;max-width:100%;justify-content:space-between;touch-action:manipulation}.u002-txt{min-width:0;line-height:1.6}.u002-orb{color:#fff}.u002-glow{pointer-events:none}
.home-primary-copy{font-size:14px;color:var(--muted);margin:0 0 17px;padding:0 8px;line-height:1.8}
.u008.call-script{width:100%;max-width:100%;height:auto;display:block;align-items:stretch;gap:0;padding:20px 16px}
.u008-box{width:100%;height:auto;min-height:62px;margin-top:12px;padding:18px;flex-direction:column;align-items:stretch;gap:16px}
.u008 .u008-code{font:inherit;font-size:16px;white-space:normal;line-height:1.95;margin:0;color:var(--ux-ink)}
.u008-copy-action{display:flex;align-items:center;gap:12px;min-height:52px;border:0;background:none;text-align:left;font-size:16px;font-weight:600;padding:0;color:var(--ux-ink);border-radius:13px}
.u008-btn{display:grid;pointer-events:none;flex-shrink:0;color:var(--ux-ink-2)}
.u008-copy-action:hover .u008-btn{background:var(--ux-surface-3);color:var(--ux-ink)}
.u008-copy-action:active .u008-btn{transform:scale(.88)}
.u008-copy-action:focus-visible{outline:2px solid var(--ux-accent);outline-offset:4px}
.u008 .u008-tip{position:relative;right:auto;top:auto;align-self:flex-end;min-height:34px;margin-top:-8px;transform-origin:80% 0}.u008 .u008-tip:after{top:-5px;bottom:auto}.u008 .u008-copy-label{pointer-events:none}
.u019{width:100%;max-width:100%}.u019-list{height:auto;min-height:48px;align-content:flex-start}.u019-chip{min-height:48px;height:auto;padding-top:8px;padding-bottom:8px;line-height:1.5;white-space:normal}
.u019.feeling-buttons{display:flex;flex-wrap:wrap;gap:8px}.u019.feeling-buttons .u019-chip{flex:1;min-width:90px}
.category-tabs [aria-selected="true"]:before{content:"✓";display:inline-block;margin-right:4px;font-size:12px;font-weight:700}
button[data-go] .arrow{font-size:24px}.breathing-description{font-size:14px}.primary-button #breathing-label{margin-left:0}
.large-type .u002-txt{font-size:21px}.large-type .u019-chip,.large-type .u008-copy-action,.large-type .u008 .u008-code{font-size:18px}
@media(max-width:360px){.u002-btn{padding-left:24px;gap:10px}.u002-txt{font-size:18px}.large-type .u002-txt{font-size:19px}.u008-box{padding:15px}.u019.feeling-buttons .u019-chip{font-size:14px;padding-left:12px;padding-right:12px}.large-type .u019.feeling-buttons .u019-chip{font-size:18px}}
@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}.u002-mag,.u002-txt,.u002-orb{translate:none!important}}

.close-button{width:auto;min-width:80px;height:48px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 12px;border-radius:13px;font-size:14px;font-weight:500;flex-shrink:0}.close-button span{font-size:25px;line-height:1}.large-type .close-button{font-size:16px}

.u002-mag{width:calc(100% - 16px);margin-inline:auto}
