/* base */

:root{--ease:cubic-bezier(.32,.72,0,1);--blue:#007aff;--red:#ff3b30;--green:#34c759;--sep:rgba(60,60,67,.29);--grey:#8e8e93;--bg2:#f2f2f7;
 font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Apple SD Gothic Neo","Pretendard Variable",Pretendard,system-ui,sans-serif;color:#000;-webkit-font-smoothing:antialiased;letter-spacing:-.2px}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}
html,body{height:100%;margin:0;background:radial-gradient(ellipse at 50% 30%,#2a2a30,#0b0b0d 70%);overflow:hidden;overscroll-behavior:none}
body{display:flex;align-items:center;justify-content:center}
button,input{font:inherit;color:inherit;letter-spacing:inherit}
button{border:0;background:none;padding:0;cursor:pointer}
img{-webkit-user-drag:none}
svg{display:block}
#phone{position:relative;width:min(100vw,calc((100dvh - 36px)*.4613),430px);aspect-ratio:393/852;border-radius:58px;overflow:hidden;background:#000;
 box-shadow:0 0 0 10px #121214,0 0 0 12px #3b3b40,0 0 0 13px #18181a,0 40px 90px rgba(0,0,0,.8);isolation:isolate;transform:translateZ(0)}
#phone.mob{border-radius:0;box-shadow:none;aspect-ratio:auto}
#screen{position:absolute;inset:0;overflow:hidden}
#wall{position:absolute;inset:-2px;background:#000 url('../assets/images/image-01.jpg') center/cover;transition:filter .45s,transform .45s}
#wall.dim{filter:blur(24px) brightness(.62);transform:scale(1.08)}
.layer{position:absolute;inset:0}
#homeL,#appL{visibility:hidden}
#appL{z-index:20;background:#fff;overflow:hidden}
#ov{position:absolute;inset:0;z-index:60;pointer-events:none}
#ov>*{pointer-events:auto}

/* status bar / island / home indicator */
#sb{position:absolute;z-index:80;top:0;left:0;right:0;height:54px;display:flex;justify-content:space-between;align-items:center;padding:6px 30px 0 44px;pointer-events:none;color:#000;transition:color .3s}
#sb.light{color:#fff}
#sb .t{font-size:17px;font-weight:600;letter-spacing:-.3px;width:60px;text-align:center}
#sbk{display:none;position:absolute;left:22px;top:6px;height:48px;min-width:92px;padding:0 6px;align-items:center;gap:3px;font-size:14px;font-weight:600;color:inherit;pointer-events:auto;cursor:pointer;white-space:nowrap}
#sbk svg{width:7px;height:12px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
#sbk:active{opacity:.45}
#sb.crumb #sbk{display:flex}
#sb.crumb .t{visibility:hidden}
#sb .r{display:flex;gap:6px;align-items:center}
#sb svg{fill:currentColor}
#island{position:absolute;z-index:90;top:11px;left:50%;transform:translateX(-50%);width:124px;height:36px;background:#000;border-radius:20px;transition:width .5s var(--ease),height .5s var(--ease),border-radius .5s var(--ease);display:flex;align-items:center;justify-content:space-between;padding:0 10px;overflow:hidden}
#island .ia,#island .ib{opacity:0;transition:opacity .3s}
#island.act{width:200px}
#island.act .ia,#island.act .ib{opacity:1}
#island .ia{width:22px;height:22px;border-radius:6px;background:#333 center/cover}
#island .ib{display:flex;gap:2px;align-items:center;height:16px}
#island .ib i{width:3px;background:#ff5d7e;border-radius:2px;animation:eq .9s ease-in-out infinite alternate}
#island .ib i:nth-child(2){animation-delay:-.3s}#island .ib i:nth-child(3){animation-delay:-.6s}#island .ib i:nth-child(4){animation-delay:-.15s}
@keyframes eq{from{height:4px}to{height:15px}}
#hb{position:absolute;z-index:85;bottom:0;left:0;right:0;height:34px;display:flex;align-items:flex-end;justify-content:center;padding-bottom:8px;cursor:pointer;touch-action:none}
#hb i{width:139px;height:5px;border-radius:3px;background:#000;transition:background .3s,transform .2s}
#hb.light i{background:#fff}
#hb:hover i{transform:scaleX(1.06)}
#hb.pulse i{animation:hbp 1.6s ease-in-out 2}
@keyframes hbp{50%{transform:scaleX(1.25) translateY(-3px);opacity:.6}}
