/* Phone-first layout. The story and app content remain unchanged. */
:root{font-family:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Noto Sans KR',sans-serif;background:#141418;color:#171719;font-synthesis:none}
html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}
button,input,a{touch-action:manipulation}button{user-select:none}
.desktop-layout{display:flex;align-items:center;justify-content:center;min-height:0;height:100dvh;padding:20px;background:#141418;gap:0}
.phone-wrap{height:100%;display:flex;align-items:center;justify-content:center}
.phone-wrap:after{display:none}
.phone-shell{width:min(390px,calc((100dvh - 40px)*.462));height:auto;aspect-ratio:390/844;min-height:0;max-height:100%;border:2px solid #4c4d52;padding:9px;border-radius:49px;background:#09090b;box-shadow:0 18px 48px #0006,inset 0 0 0 2px #101013}
.phone-shell:before,.phone-shell:after{background:#55565a;left:-4px;width:2px}.phone-shell:after{left:auto;right:-4px}
.phone-screen{height:100%;border-radius:38px;background:#000;isolation:isolate}
.statusbar{height:53px;padding:8px 24px 0;font-size:14px;z-index:30}.statusbar>b{font-size:13px;font-weight:650;letter-spacing:-.35px}.status-icons{gap:4px;font-size:9px}
.island{top:12px;width:104px;height:28px;min-height:28px;z-index:32}.island:disabled{opacity:1}
.home-indicator{height:29px;min-height:29px;bottom:0;left:23%;right:23%;touch-action:none}.home-indicator span{height:5px;width:126px}.home-indicator:active span{opacity:.6}
.screen-content{height:100%;transform-origin:var(--app-origin,50% 50%);will-change:auto}
.screen-content.transition-open{animation:openApp .32s cubic-bezier(.16,1,.3,1)}
.screen-content.transition-close{animation:homeReveal .28s cubic-bezier(.16,1,.3,1)}
.screen-content.transition-unlock{animation:unlockHome .4s cubic-bezier(.16,1,.3,1)}
.screen-content.transition-lock,.screen-content.transition-fade{animation:screenFade .2s ease}
.app{animation:none;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-top:54px;padding-bottom:35px;background:#f2f2f7}
.app-nav{min-height:50px;padding:0 13px;background:inherit}.app-nav strong{font-size:16px}.back{min-height:44px;font-size:14px}
.app-title{font-size:31px;margin:14px 20px 23px;letter-spacing:-1px}
.list-row{font-size:14px;min-height:62px;line-height:1.55;padding:14px}.list-row b{font-size:15px}.list-row small{font-size:12px}.list-row>span:last-child{font-size:13px}
.wallpaper{background:#151518;overflow:hidden}.wallpaper:before{display:none;backdrop-filter:none}.wallpaper:after{background:linear-gradient(180deg,#0003,transparent 35%,transparent 70%,#0002);pointer-events:none}
.wallpaper img,.wallpaper.lock img,.wallpaper.home img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;mask-image:none;-webkit-mask-image:none;filter:none;opacity:1}
.wallpaper.lock img{object-position:43% center}
.home-content{padding:78px 20px 30px;color:#fff;gap:0}
.home-date{font-size:19px;font-weight:650;letter-spacing:-.5px;text-shadow:0 1px 7px #0007;margin-bottom:18px}
.world-widget{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:14px;min-height:104px;padding:15px 18px;margin:0 0 25px;border-radius:22px;background:#262b3096;border:1px solid #ffffff25;backdrop-filter:none;box-shadow:0 2px 9px #0001}
.widget-city{display:flex;flex-direction:column;align-items:flex-start;gap:9px;margin:0;font-size:12px}.widget-city+ .widget-city{padding-left:18px;border-left:1px solid #ffffff24}.widget-city b{font-size:31px;line-height:1;font-weight:400;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.home-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:25px 10px;align-items:start}
.app-button{gap:7px;width:100%;min-height:78px;transition:transform .16s,filter .16s}.app-button:active{transform:scale(.9);filter:brightness(.85)}
.app-icon{height:58px;width:58px;border-radius:14px;box-shadow:0 2px 5px #0002}.app-name{font-size:11px;line-height:1.4;font-weight:500;letter-spacing:-.3px;text-shadow:0 1px 5px #000a}
.app-icon.pet{background:linear-gradient(#dceacb,#a6c388);color:inherit;overflow:hidden}.app-icon.pet .sprite{width:51px;height:51px;filter:none;fill:none;stroke:none}
.home-spacer{flex:1;min-height:22px}
.dock{border-radius:26px;padding:12px 5px;gap:7px;background:#f4f4f458;border:1px solid #ffffff38;backdrop-filter:none;box-shadow:0 2px 10px #0001}.dock .app-button{min-height:58px}.dock .app-name{display:none}
.lock-content{padding:76px 23px 34px;touch-action:none;transition:transform .18s,opacity .18s;user-select:none}
.lock-content>svg{margin-bottom:9px;filter:drop-shadow(0 1px 3px #0006)}.lock-date{font-size:17px;font-weight:550;margin-top:12px;text-shadow:0 1px 9px #0006}.lock-clock{font-size:82px;line-height:1.08;font-weight:500;letter-spacing:-4px;text-shadow:0 1px 14px #0002;font-variant-numeric:tabular-nums}
.lock-space{min-height:30px}.unlock{font-size:12px;min-height:52px;margin-top:20px;opacity:.96;text-shadow:0 1px 6px #000;letter-spacing:-.2px}
.lock-notification{backdrop-filter:none;background:#f5f5f2e8;font-size:14px}.lock-notification p{font-size:13px}
.notification-wrap{top:57px;left:9px;right:9px}.notification{background:#f8f8f6f5;padding:14px 30px 14px 12px;min-height:83px}.notification strong{font-size:11px}.notification b,.notification p{font-size:13px;line-height:1.5}
.call-screen{background:linear-gradient(150deg,#52605b,#263a34 55%,#182c26);padding:94px 23px 52px;position:relative;isolation:isolate}
.call-head{width:100%}.caller-symbol{width:65px;height:65px;border-radius:50%;background:#ffffff16;display:grid;place-items:center;margin:0 auto 16px;color:#d9e2dd}
.call-head h1{font-size:32px;margin:0 0 9px;font-weight:500;letter-spacing:-.7px}.call-head p{font-size:16px;color:#ccd5cf;margin:0;font-variant-numeric:tabular-nums}
.call-caption{width:100%;max-width:345px;text-align:left;min-height:160px;justify-content:center;position:relative;padding:18px 2px}
.caption-label{display:flex;justify-content:space-between;font-size:11px;color:#b9c7bf;margin-bottom:14px;letter-spacing:.02em}.caption-label>span{font-variant-numeric:tabular-nums;opacity:.75}
.call-caption p{font-size:21px;line-height:1.75;font-weight:450;letter-spacing:-.35px;word-break:keep-all;overflow-wrap:break-word;text-wrap:pretty;white-space:normal;margin:0;animation:subtitle .25s ease}
.call-controls{display:flex;justify-content:center;gap:35px;width:100%;padding-top:10px}.call-control{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;gap:13px;width:105px;color:white;font-size:28px;line-height:1;background:transparent;border:0;min-height:100px}
.call-control:before{content:'';position:absolute;top:0;width:65px;height:65px;border-radius:50%;background:#ffffff1d;z-index:-1}.call-control>span{font-size:11px;line-height:1.4;margin-top:13px;white-space:nowrap}.call-control[aria-pressed=true]:before{background:#ffffff3c}.end-call:before{background:#f0444d}.end-call svg{transform:rotate(135deg);fill:#fff}
.answer-slider{position:relative;display:flex;align-items:center;width:min(290px,100%);height:73px;background:#ffffff20;border:1px solid #ffffff20;border-radius:40px;touch-action:none;user-select:none;margin-top:auto}
.answer-slider>span{font-size:15px;margin-left:82px;color:#e6ede9;pointer-events:none;letter-spacing:-.4px}.answer-slider .slide-chevron{font-size:25px;margin-left:auto;margin-right:18px;color:#ffffff86}
.answer-knob{position:absolute;left:5px;top:5px;height:61px;min-height:61px;width:61px;border-radius:50%;background:#39c862;color:white;display:grid;place-items:center;padding:0;transform:translateX(var(--answer-drag,0px));box-shadow:0 2px 8px #0002;touch-action:none}.answer-knob svg{fill:white}.answer-knob:active{background:#49d773}
.ring-ripple{height:90px;width:90px;border-radius:50%;margin:auto;border:1px solid #ffffff20;box-shadow:0 0 0 25px #ffffff05;animation:ring 2.6s ease infinite}
.bubble{font-size:14px;line-height:1.65;letter-spacing:-.25px;word-break:keep-all;overflow-wrap:break-word;text-wrap:pretty;padding:10px 12px}.message>div{max-width:calc(100% - 40px);min-width:0}.message.sent>div{max-width:86%}.message small{font-size:11px}.bubble-row{min-width:0}.bubble-row time{font-size:9px;flex-shrink:0}.bubble-row .bubble{min-width:0}.chat-scroll{padding:16px 13px 26px;scrollbar-width:none}.chat-scroll::-webkit-scrollbar{display:none}.chat-date{font-size:11px}.chat-app{background:#b7c9d7;padding-bottom:29px}.chat-app .app-nav{background:#b7c9d7}.reply-area{padding:12px 13px}.reply-choice{font-size:14px;line-height:1.55;min-height:45px;word-break:keep-all;overflow-wrap:break-word;padding:10px 13px}.reply-area>span{font-size:11px}.reply-area p{font-size:11px}.chat-row b{font-size:15px}.chat-row p{font-size:12px}
.note-content{font-size:16px;line-height:1.9;word-break:keep-all;overflow-wrap:break-word}.note-items li{font-size:15px;line-height:1.8}.pet-app{background:#f8f7ed}.clock-app{background:#060606}.notes-app{background:#f8f7f3}.music-app{background:#fff}.kakao-list{background:#fff}.maps-app{background:#f1f4ef}.safari-app{background:#f1f2f6}
.list-row div,.place-note p,.episode-card p{word-break:keep-all;overflow-wrap:break-word}.episode-card>div{font-size:14px}.episode-card p{font-size:15px}.episode-card>small{font-size:11px}
.reduce-motion *{animation:none!important;transition:none!important}
@keyframes openApp{from{transform:scale(.82);opacity:.3}to{transform:scale(1);opacity:1}}
@keyframes homeReveal{from{transform:scale(1.06);opacity:.5}to{transform:scale(1);opacity:1}}
@keyframes unlockHome{from{transform:scale(1.12);opacity:.3}to{transform:scale(1);opacity:1}}
@keyframes screenFade{from{opacity:.4}to{opacity:1}}
@keyframes subtitle{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@keyframes ring{50%{transform:scale(1.12);box-shadow:0 0 0 45px #ffffff02}}
@media(max-width:600px){.desktop-layout{padding:0;background:#000;width:100%;height:100dvh}.phone-wrap{display:block;width:100%;height:100%}.phone-shell{width:100%;height:100%;max-height:none;min-height:0;aspect-ratio:auto;padding:0;border:0;border-radius:0;box-shadow:none}.phone-shell:before,.phone-shell:after{display:none}.phone-screen{width:100%;height:100%;border-radius:0;padding:0}.home-content{padding:calc(76px + env(safe-area-inset-top,0px)) 20px calc(32px + env(safe-area-inset-bottom,0px))}.statusbar{padding-top:calc(8px + env(safe-area-inset-top,0px));height:calc(53px + env(safe-area-inset-top,0px))}.island{top:calc(12px + env(safe-area-inset-top,0px))}.app{padding-top:calc(54px + env(safe-area-inset-top,0px));padding-bottom:calc(35px + env(safe-area-inset-bottom,0px))}.home-indicator{bottom:env(safe-area-inset-bottom,0px)}.lock-content{padding-top:calc(78px + env(safe-area-inset-top,0px));padding-bottom:calc(34px + env(safe-area-inset-bottom,0px))}.notification-wrap{top:calc(57px + env(safe-area-inset-top,0px))}.call-screen{padding-top:calc(96px + env(safe-area-inset-top,0px));padding-bottom:calc(55px + env(safe-area-inset-bottom,0px))}.chat-app{padding-bottom:calc(29px + env(safe-area-inset-bottom,0px))}}
@media(max-height:740px){.home-content{padding-top:65px}.home-date{font-size:17px;margin-bottom:12px}.world-widget{min-height:88px;padding:13px 15px;margin-bottom:21px}.widget-city b{font-size:27px}.home-grid{gap:20px 8px}.app-icon{width:52px;height:52px;border-radius:13px}.app-button{min-height:70px}.app-icon.pet .sprite{width:46px;height:46px}.dock .app-button{min-height:52px}.dock{padding:10px 5px}.call-screen{padding-top:72px;padding-bottom:34px}.caller-symbol{height:50px;width:50px;margin-bottom:10px}.call-head h1{font-size:29px}.call-caption p{font-size:18px;line-height:1.7}.call-caption{min-height:150px}.call-controls{gap:25px}.call-control{min-height:90px}.call-control:before{width:60px;height:60px}.lock-clock{font-size:74px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Original bundled app artwork, shared sizing for the Home Screen and Dock. */
.home-content{--app-icon-size:58px;--app-icon-radius:14px}
.home-content .app-icon{width:var(--app-icon-size);height:var(--app-icon-size);border-radius:var(--app-icon-radius);background:transparent;isolation:isolate;overflow:visible;padding:0;border:0}
.home-content .app-icon:before,.home-content .app-icon:after{content:none;display:none}
.home-content .app-artwork{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:contain;border-radius:inherit;filter:none;opacity:1;pointer-events:none;-webkit-user-drag:none}
.home-content .app-icon.pet .app-artwork{image-rendering:pixelated}
.home-grid .app-button:disabled,.home-grid .app-button.disabled{opacity:1;filter:none;cursor:default}
.home-grid .app-button:disabled:active{transform:none;filter:none}
.home-grid,.dock{column-gap:10px}
.dock{padding-left:0;padding-right:0}
@media(max-height:740px){.home-content{--app-icon-size:52px;--app-icon-radius:13px}}
