/* Source: https://github.com/Seokwoooo/lucian-uxui-prompt, element 408
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.
*/
.u408{position:relative;width:340px;height:300px;display:grid;place-items:center}
.u408-w{position:relative;width:232px;height:274px}
.u408-av{position:absolute;left:50%;top:0;width:46px;height:46px;margin-left:-23px;padding:0;border:0;border-radius:50%;background:#FFE1CC;overflow:hidden;box-shadow:0 0 0 0 transparent;transition:box-shadow .3s,transform .45s var(--ux-spring)}
.u408-av:hover{transform:scale(1.05)}
.u408-av:active{transform:scale(.94);transition-duration:.3s,.1s}
.u408-av[aria-expanded="true"]{box-shadow:0 0 0 3px var(--ux-page),0 0 0 5px var(--ux-accent)}
.u408 .u408-av:focus-visible{outline:2px solid var(--ux-accent);outline-offset:3px}
.u408-av svg{display:block;width:46px;height:46px}
.u408-dot{position:absolute;left:50%;top:33px;margin-left:11px;width:12px;height:12px;border-radius:50%;background:var(--ux-mint);box-shadow:0 0 0 2.5px var(--ux-page);pointer-events:none}
.u408-m{position:absolute;left:0;right:0;top:58px;padding:6px;border-radius:16px;background:var(--ux-surface);box-shadow:inset 0 0 0 1px var(--ux-line),0 22px 44px -18px var(--ux-shadow-strong),0 4px 12px -6px var(--ux-shadow);transform-origin:50% -35px;transform:scale(.16);opacity:0;visibility:hidden;transition:transform .28s var(--ux-ease),opacity .2s,visibility 0s .28s}
.u408-m::before{content:"";position:absolute;left:50%;top:-5px;width:10px;height:10px;margin-left:-5px;border-radius:2px;background:var(--ux-surface);box-shadow:-1px -1px 0 0 var(--ux-line);transform:rotate(45deg)}
.u408.is-open .u408-m{transform:none;opacity:1;visibility:visible;transition:transform .55s var(--ux-spring),opacity .15s,visibility 0s}
.u408-m>*{position:relative;opacity:0;transform:translateY(-6px);transition:opacity .15s,transform .35s var(--ux-spring)}
.u408.is-open .u408-m>*{opacity:1;transform:none;transition-delay:calc(70ms + var(--i) * 35ms)}
.u408-hd{display:flex;flex-direction:column;gap:2px;padding:8px 10px 10px}
.u408-hd b{font-size:14px;font-weight:650;letter-spacing:-.01em;color:var(--ux-ink)}
.u408-hd span{font-size:12px;color:var(--ux-ink-3)}
.u408-it{display:flex;align-items:center;gap:10px;width:100%;height:36px;padding:0 10px;border:0;border-radius:10px;background:none;font-size:13.5px;font-weight:500;color:var(--ux-ink);text-align:left}
.u408-it:hover,.u408-it:focus-visible{background:var(--ux-surface-2);outline:none}
.u408-it svg{width:18px;height:18px;flex:none;fill:none;stroke:var(--ux-ink-2);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.u408-it.is-out{color:var(--ux-danger)}
.u408-it.is-out svg{stroke:var(--ux-danger)}
.u408-it.is-out:hover,.u408-it.is-out:focus-visible{background:color-mix(in srgb,var(--ux-danger) 10%,transparent)}
.u408-hr{height:1px;margin:5px 4px;background:var(--ux-line)}

.nro-account .u408{
  --ux-page:var(--nro-surface);
  --ux-surface:var(--nro-surface);
  --ux-surface-2:var(--nro-background);
  --ux-ink:var(--nro-text);
  --ux-ink-2:#40546d;
  --ux-ink-3:var(--nro-muted);
  --ux-line:var(--nro-border);
  --ux-accent:var(--nro-primary);
  --ux-mint:var(--nro-success);
  --ux-danger:var(--nro-danger);
  --ux-shadow:rgba(15,35,66,.14);
  --ux-shadow-strong:rgba(15,35,66,.3);
  --ux-ease:cubic-bezier(.2,.8,.2,1);
  --ux-spring:cubic-bezier(.34,1.45,.64,1);
  flex:0 0 auto;width:46px;height:46px;display:block;
}
.nro-account .u408-w{width:46px;height:46px}
.nro-account .u408-av{left:0;margin-left:0;cursor:pointer}
.nro-account .u408-av:hover{transform:none;box-shadow:0 0 0 2px var(--ux-line)}
.nro-account .u408-av:active{transform:none;box-shadow:0 0 0 2px var(--ux-accent)}
.nro-account .u408-av[aria-expanded="true"]{box-shadow:0 0 0 2px var(--ux-accent)}
.nro-account .u408-av img{width:46px;height:46px;object-fit:cover}
.nro-account .u408-dot{left:auto;right:1px;top:auto;bottom:1px;margin:0;width:9px;height:9px;z-index:1}
.nro-account .u408-m{
  left:auto;right:0;top:54px;width:min(280px,calc(100vw - 24px));
  max-height:calc(100vh - 78px);max-height:calc(100dvh - 78px);
  overflow-y:auto;overscroll-behavior:contain;z-index:2;
  transform-origin:calc(100% - 23px) -35px;
}
.nro-account .u408-m::before{left:auto;right:18px;margin-left:0}
.nro-account .u408-it{cursor:pointer;text-decoration:none}
.nro-account .u408-email{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nro-account .u408-m a.u408-it,.nro-account .u408-m a.u408-it:hover,.nro-account .u408-m a.u408-it:focus-visible{color:var(--ux-ink)}
.nro-account .u408-m .u408-it>i.fa{flex:0 0 18px;width:18px;font-size:14px;text-align:center;color:var(--ux-ink-2)}
.nro-account .u408-it.is-out>i.fa{color:var(--ux-danger)}
.nro-account .u408-it[aria-current="page"]{background:var(--ux-surface-2);font-weight:650}
.nro-account .u408-hd .u408-bal{color:var(--ux-ink);font-weight:650}
.nro-account .u408-hd b,.nro-account .u408-hd span{overflow-wrap:anywhere}
@media (prefers-reduced-motion:reduce){
  .nro-account .u408 *{transition-duration:.001ms!important;animation-duration:.001ms!important}
}
