* { box-sizing: border-box; }
:root { color-scheme: light; --paper:#fff; --ink:#232028; --dim:#8e8695; --rose:#e3a1b4; }
html,body { margin:0; min-height:100%; font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif; color:var(--ink); }
body { background:radial-gradient(ellipse at 12% 16%, #fff2f3 0,transparent 45%),radial-gradient(ellipse at 89% 88%, #d9d8ee 0,transparent 40%),#f6f4f7; }
button,input { font:inherit; } button { cursor:pointer; -webkit-tap-highlight-color:transparent; } button:focus-visible,input:focus-visible {outline:3px solid #76a8f9;outline-offset:2px}
.page-frame { min-height:100dvh;display:flex;align-items:center;justify-content:center;gap:38px;padding:20px; }
.page-heading { width:230px;display:flex;flex-direction:column;gap:18px; }
.page-heading span { color:#bb8399; font-size:11px;letter-spacing:0.32em;font-weight:700; }
.page-heading strong { font-size:30px;letter-spacing:-.07em;font-weight:500;line-height:1.32; }
.page-heading small { font-size:12px;color:#aa97a4;line-height:1.8; }
.page-note { max-width:205px;font-size:12px;line-height:2.05;color:#ac97a7; }
.phone { position:relative;flex:none;width:385px;height:812px;background:linear-gradient(100deg,#f2e6e6,#fefcfa 25%,#f8edf0 72%,#f0e5e5);border:2px solid #e5d2d6;border-radius:48px; box-shadow:0 27px 80px #55415c32, inset 0 0 0 2px #fff9; padding:51px 13px 73px; }
.top-bezel { height:49px; position:absolute;left:0;right:0;top:0;display:flex;align-items:center;justify-content:center;gap:12px; }
.earpiece { height:5px;width:49px;background:#b9aaae;border-radius:6px; }
.front-camera { height:8px;width:8px;background:#8b8b95;border-radius:50%; box-shadow:inset 0 0 0 2px #bcc1c7;}
.screen { position:relative;width:100%;height:100%;overflow:hidden;background:#c4aac9;isolation:isolate; }
.wallpaper {position:absolute;inset:0;z-index:-1;background: radial-gradient(ellipse at 80% 5%,#ffe8dcbb 0%,transparent 40%),radial-gradient(ellipse at 15% 38%,#ffe2e8ad 0%,transparent 42%),radial-gradient(ellipse at 73% 79%,#9c9dc8 0%,transparent 56%),linear-gradient(140deg,#af91bd 0%,#d5adc8 36%,#c6b9d9 68%,#8993bf 100%);}
.wallpaper::before {content:"";position:absolute;top:30%;left:-34%;width:170%;height:39%;border-radius:50%;background:#fae1e9a3;filter:blur(35px);transform:rotate(-27deg);}
.wallpaper::after {content:"";position:absolute;bottom:-22%;right:-45%;width:125%;height:65%;border-radius:45%;background:#546eaf3c;filter:blur(35px);}
.status-bar {height:24px;position:absolute;z-index:20;top:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;padding:2px 7px;color:white;font-size:11px;font-weight:600;text-shadow:0 1px 4px #0003;pointer-events:none}
.battery {display:inline-block;width:19px;height:9px;border:1px solid currentColor;border-radius:2px;margin-left:2px;position:relative;vertical-align:-1px}
.battery::before {content:"";position:absolute;inset:1px;background:currentColor}
.battery::after {content:"";position:absolute;right:-4px;top:2px;width:2px;height:3px;border-radius:0 2px 2px 0;background:currentColor}
.view {position:absolute;inset:0;display:none}.view.active{display:flex}
.lock-view{ flex-direction:column;color:#fff;text-shadow:0 1px 7px #3c314533;}
.lock-date {margin-top:67px;text-align:center;font-size:19px;font-weight:300;}
.lock-time {font-size:81px;line-height:1.1;letter-spacing:-.045em;font-weight:200}
.lock-notification {display:flex;gap:9px;align-items:center;background:#ffffff9e;color:#282533;text-shadow:none;border-radius:12px;margin:35px 9px 0;padding:11px;font-size:12px;backdrop-filter:blur(12px);}
.lock-notification p {margin:4px 0 0;color:#57505d}.lock-notification>span {align-self:flex-start;margin-left:auto;font-size:10px;color:#726b73}
.notification-icon {height:34px;width:34px;border-radius:8px;background:#ffe140;color:#34291f;display:grid;place-items:center;font-size:12px;font-weight:800}
.unlock-zone {position:absolute;bottom:24px;left:0;right:0;border:0;background:transparent;color:white;text-shadow:0 1px 9px #6f5b7e;font-size:17px;font-weight:300;display:flex;align-items:center;justify-content:center;gap:11px;animation:glow 2.4s ease-in-out infinite}
.unlock-arrow {font-size:31px;font-weight:200;line-height:1}
.lock-camera {position:absolute;right:16px;bottom:19px;font-size:26px;opacity:.7}
@keyframes glow {50%{opacity:.55}}
.home-view{flex-direction:column;padding:31px 15px 9px}
.home-top-text { font-size:11px;letter-spacing:.12em;text-align:center;color:#fff8;margin:7px 0 29px; }
.apps-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:10px;row-gap:23px;align-content:start}
.app-icon-wrap{border:0;background:none;color:white;text-shadow:0 1px 2px #0004;font-size:11px;text-align:center;padding:0;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;}
.app-square {height:58px;width:58px;border-radius:13px;box-shadow:0 2px 5px #28212b2a;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;flex-shrink:0;text-shadow:none}
.app-icon-wrap .app-label {white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:85px}
.app-square.kakao{background:#ffdf00;color:#392a21;font-size:12px;font-weight:900}
.app-square.kakao::before{content:"";position:absolute;width:42px;height:31px;background:#3a2d23;border-radius:48%;top:13px;left:8px;}
.app-square.kakao::after{content:"";position:absolute;border-top:10px solid #3a2d23;border-right:12px solid transparent;top:37px;left:12px;transform:rotate(10deg)}
.app-square.kakao b{position:relative;z-index:1;color:#ffe600;font-size:10px}
.app-square.fb{background:#2763b8;color:white;font-family:Arial,sans-serif;font-size:57px;font-weight:bold;align-items:flex-end;padding-top:12px;}
.app-square.messenger{background:linear-gradient(135deg,#00b5fb,#005adb);color:white;font-size:32px}
.app-square.photos{background:#fcfafb;font-size:33px}
.app-square.notes{background:linear-gradient(#ffdf58 0 26%,#fff 26%);color:#e1c9a4;font-size:30px}
.app-square.clock{background:#fff;color:#27272b;font-size:33px}
.app-square.safari{background:#f6fdff;color:#118fff;font-size:35px}
.app-square.settings{background:linear-gradient(#a5aab4,#696c79);color:white;font-size:32px}
.app-square.phoneicon{background:linear-gradient(#6eea5f,#23b523);color:white;font-size:32px}
.app-square.messages{background:linear-gradient(#72f675,#21bd37);color:white;font-size:29px}
.app-square.camera{background:linear-gradient(#e4e5e7,#fcfcfc);font-size:32px}
.app-square.music{background:linear-gradient(#f8fafc,#d5d4da);font-size:33px}
.page-dots{display:flex;gap:6px;justify-content:center;margin-top:auto;padding:0 0 16px}
.dot{width:7px;height:7px;border-radius:50%;background:#ffffff73}.dot.active{background:white}
.dock{border-radius:19px;background:#f4eaf581;backdrop-filter:blur(12px);display:grid;grid-template-columns:repeat(4,1fr);padding:10px 7px 6px;gap:8px;min-height:86px}
.dock .app-icon-wrap{font-size:10px}
.dock .app-square{height:55px;width:55px;border-radius:12px}
.bottom-bezel{position:absolute;bottom:0;left:0;right:0;height:71px;display:grid;place-items:center}
.hardware-home{height:47px;width:47px;border:2px solid #e2c9d0;background:linear-gradient(#faf8f7,#f5e8ea);border-radius:50%;box-shadow:inset 0 1px 3px #b4a4ad7a;display:grid;place-items:center}
.hardware-home span{height:16px;width:16px;border:2px solid #c7bcc4;border-radius:4px;display:block}
.app-view{background:#fff;flex-direction:column;z-index:2}
.app-content{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-top:24px}
.app-nav{height:49px;background:#f7f7f9;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #dddce2;position:sticky;top:0;z-index:5}
.app-nav .title{font-size:17px;font-weight:600}.app-nav .back{position:absolute;left:10px;border:none;background:none;color:#2688e7;font-size:15px;padding:12px 3px}.app-nav .action{position:absolute;right:12px;border:none;background:none;color:#2586e8;font-size:14px}
.kakao-app{background:#b4c9d5;min-height:100%;padding-bottom:18px}
.kakao-app .app-nav{background:#a7bdcb;border-color:#9dafbb}
.contact-row{border:0;background:white;display:flex;align-items:center;text-align:left;width:100%;padding:15px 13px;gap:12px;border-bottom:1px solid #ededed;color:#27232b}
.contact-avatar{width:47px;height:47px;background:#e8dee1;border-radius:18px;display:grid;place-items:center;font-weight:bold;color:#9c7686}
.contact-desc{display:flex;flex-direction:column;gap:4px;flex:1}.contact-desc small{font-size:12px;color:#8f8f8f}
.contact-row time{align-self:start;color:#b6b6b6;font-size:10px}
.chat-date{color:#617888;text-align:center;font-size:10px;margin:20px 0 17px}
.chat-messages{display:flex;flex-direction:column;gap:11px;padding:0 11px 18px}
.message-line{display:flex;gap:7px;align-items:flex-end}.message-line.me{justify-content:flex-end}.message-line.them{justify-content:flex-start}
.message-bubble{background:#fff;max-width:77%;padding:10px 12px;border-radius:9px;font-size:13px;line-height:1.52;white-space:pre-wrap;box-shadow:0 1px 0 #00000011}
.me .message-bubble{background:#ffe454}
.message-avatar{background:#f6f2f2;width:31px;height:31px;border-radius:12px;display:grid;place-items:center;font-size:10px;color:#67515b;flex-shrink:0}
.call-invite{display:block;margin:14px auto 26px;padding:10px 15px;background:#ffffffd8;border:1px solid #9bb0bd;border-radius:24px;font-size:12px;color:#455b69}
.chat-input-placeholder{background:#fff;border-top:1px solid #d8d8dc;padding:12px 16px;color:#a6a3ac;font-size:12px;position:sticky;bottom:0}
.facebook-app{min-height:100%;background:#e9eaed;padding-bottom:24px}
.fb-toolbar{background:#3b5998;color:#fff;padding:12px 15px;font-family:Arial,sans-serif;font-weight:bold;font-size:23px;display:flex;align-items:center;justify-content:space-between}
.fb-toolbar button{color:#fff;background:none;border:0;font-family:inherit;font-size:12px}
.fb-compose{background:#fff;margin:8px 0;padding:12px 14px;font-size:13px;display:flex;gap:10px;align-items:center;color:#8d8d8d}
.fb-avatar{width:36px;height:36px;border-radius:50%;background:#eaceda;display:grid;place-items:center;color:#9c6178;flex:none;font-weight:bold}
.fb-post{background:white;margin:9px 0 0;padding:13px 14px;color:#2e2f34;font-size:13px;line-height:1.7}
.fb-post-header{display:flex;gap:9px;align-items:center;line-height:1.35}.fb-post-header small{color:#858995;font-size:11px}
.fb-body{white-space:pre-wrap;margin:14px 0 13px}.fb-engage{color:#888d99;font-size:11px;border-bottom:1px solid #e1e2e5;padding-bottom:8px}
.fb-buttons{display:flex;justify-content:space-around;border-bottom:1px solid #e1e2e5;padding:8px 0;color:#6d737e;font-weight:600;font-size:12px}
.fb-comment{display:flex;gap:6px;margin-top:9px}.fb-comment b{color:#385898}
.settings-app{background:#f5f5f9;min-height:100%;padding:10px 0 30px}
.settings-group{margin:14px 0;background:#fff;border-top:1px solid #dedee4;border-bottom:1px solid #dedee4;padding:14px 16px;font-size:14px}
.settings-group p{font-size:12px;color:#777583;margin:8px 0 0;line-height:1.65}
.settings-group label{display:block;font-size:12px;color:#777583;margin-bottom:9px}
.settings-input{border:1px solid #dddddf;padding:10px;border-radius:8px;width:100%;font-size:16px;outline-color:#d39db1}
.settings-save{border:0;border-radius:8px;background:#e6a7b7;color:#fff;padding:11px 20px;margin-top:10px;width:100%;font-weight:700}
.settings-pill{display:flex;justify-content:space-between;align-items:center}.settings-pill span{color:#898491}
.placeholder-app{min-height:100%;background:#faf9fb;display:flex;flex-direction:column;align-items:center;gap:14px;padding:110px 30px;text-align:center}
.placeholder-app .illustration{font-size:43px}.placeholder-app p{font-size:13px;color:#9b96a0;line-height:1.8}
.call-view{background:linear-gradient(150deg,#4f5364 0%,#292c3b 50%,#131723 100%);color:white;z-index:4;flex-direction:column;align-items:center;padding:62px 21px 22px;}
.call-glow{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 24%,#a1a5be44,transparent 55%);pointer-events:none}
.call-info{display:flex;flex-direction:column;align-items:center;gap:12px;position:relative;z-index:1}
.call-avatar{height:67px;width:67px;border-radius:50%;background:#ffffff35;display:grid;place-items:center;font-size:31px;color:#f0e7ed}
.call-caller{font-size:29px;font-weight:300;letter-spacing:-.04em}.call-status{font-size:13px;color:#dedee4}
.call-actions{display:flex;justify-content:space-around;position:absolute;bottom:55px;width:100%;}
.call-choice{border:0;background:none;display:flex;align-items:center;flex-direction:column;gap:8px;color:#f9f9f9;font-size:13px;position:relative;z-index:1}
.round-call{height:68px;width:68px;border-radius:50%;display:grid;place-items:center;font-size:29px;color:#fff}.red{background:#f1484f}.green{background:#38c95c}
.call-live{position:relative;z-index:1;width:100%;margin-top:47px;min-height:175px;border:1px solid #ffffff2d;background:#ffffff10;border-radius:16px;padding:18px;backdrop-filter:blur(8px)}
.call-bubble-name{color:#eed8e4;font-size:11px;margin-bottom:10px}.call-dialogue{font-size:18px;line-height:1.65;word-break:keep-all;min-height:80px}.call-footnote{color:#ffffff85;font-size:10px;line-height:1.6;margin-top:10px}
.call-connected-actions{margin-top:auto;width:100%;display:flex;flex-direction:column;align-items:center;gap:24px;z-index:1}
.next-dialogue{background:#ffffff1c;color:white;border:1px solid #ffffff5f;border-radius:23px;padding:12px 18px;min-width:150px}.next-dialogue span{margin-left:12px}
.end-call{background:#f24e58;color:white;border:0;border-radius:50px;height:54px;min-width:168px;font-size:14px}
.setup-overlay{position:absolute;inset:0;z-index:40;background:#24213472;display:flex;justify-content:center;align-items:center;padding:18px;backdrop-filter:blur(9px)}
.setup-overlay.hidden{display:none}.setup-box{background:#fffafaee;box-shadow:0 15px 45px #1e18213b;width:100%;border-radius:22px;padding:25px 22px 20px;color:#332731;text-align:center;backdrop-filter:blur(16px)}
.setup-heart{font-size:28px;color:#ca879c;line-height:1}.setup-eyebrow{font-size:10px;color:#c48fa6;letter-spacing:.3em;font-weight:700;margin-top:8px}
.setup-box h1{font-size:23px;letter-spacing:-.07em;font-weight:700;margin:11px 0 9px}
.setup-box p{font-size:12px;line-height:1.85;color:#8d7e88;margin:0 0 24px}
.setup-label{text-align:left;display:block;font-weight:bold;font-size:11px;color:#a48794;margin-bottom:8px}
.setup-box input{border:1px solid #e6dce2;border-radius:9px;background:#fff;width:100%;font-size:15px;padding:12px;outline-color:#e4a6b9}
.start-button{background:#d990a6;color:white;border:0;border-radius:10px;width:100%;font-size:13px;font-weight:700;padding:13px;margin-top:12px;display:flex;justify-content:center;gap:13px}
.skip-button{border:0;background:none;color:#a68794;font-size:11px;padding:11px 0}
.setup-box .setup-note{font-size:10px;color:#aaa0a5;line-height:1.6;margin:11px 0 0}
.toast{position:absolute;bottom:24px;left:15px;right:15px;padding:12px;border-radius:12px;color:white;background:#37313acc;text-align:center;font-size:12px;z-index:50;opacity:0;pointer-events:none;transition:opacity .2s}
.toast.show{opacity:1}
[hidden] {display:none!important}
@media(max-width:900px) { .page-heading,.page-note{display:none}.page-frame{padding:0}.phone{margin:12px auto} }
@media(max-width:430px) { body{background:#f6edf1}.page-frame{height:100dvh;min-height:0}.phone{margin:0;border:0;border-radius:0;width:100vw;height:100dvh;box-shadow:none;padding:28px 0 64px;background:#f9eef1}.top-bezel{height:28px}.top-bezel .earpiece{width:44px}.bottom-bezel{height:64px}.screen{border-radius:0}.app-square{height:56px;width:56px}.lock-date{margin-top:65px} }
@media(max-width:350px){ .apps-grid{column-gap:5px}.app-square{height:51px;width:51px}.dock .app-square{height:49px;width:49px}.setup-box{padding:22px 15px}}
.screen.app-mode .status-bar{color:#35343b;text-shadow:none}
.screen.call-mode .status-bar{color:#fff}
