:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#fff;font-synthesis:none;--blue:#3478f6;--ink:#26242d;--muted:#8c8994;--glass:rgba(255,255,255,.2)}*{box-sizing:border-box}body{margin:0;background:#b5a2c5}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit;border:0;background:none}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #438aff;outline-offset:5px}svg{width:24px;height:24px;flex-shrink:0}p,h1,h2,h3{margin:0}button{touch-action:manipulation}button:active{transform:scale(.97)}[hidden]{display:none!important}.svg-defs{position:absolute;width:0;height:0}.phone{height:100svh;min-height:620px;position:relative;overflow:hidden;isolation:isolate}.wallpaper{position:absolute;inset:0;z-index:-2;background:linear-gradient(180deg,#9a98bd 0%,#c4aec8 38%,#e9c4bb 67%,#cbb2c9 100%);background-size:cover;background-position:center}.sun{width:44vw;height:44vw;max-width:600px;max-height:600px;border-radius:50%;background:radial-gradient(circle,#f4d7c4 0%,#edd3cc88 53%,#eac9c900 72%);position:absolute;top:18%;left:47%;filter:blur(10px)}.ridge{position:absolute;width:150%;height:60%;left:-20%;bottom:-27%;border-radius:48% 54% 0 0;transform:rotate(-13deg);background:linear-gradient(170deg,#8b89ac,#7b719c 65%);box-shadow:0 -2px 20px #c6b5d555}.ridge-back{bottom:-11%;left:15%;transform:rotate(14deg);background:linear-gradient(150deg,#c5aec3,#a89aba 48%,#9087ab)}.ridge-front{height:56%;bottom:-31%;left:-36%;transform:rotate(8deg);background:linear-gradient(170deg,#a6a0c1,#777393)}.grain{position:absolute;inset:0;opacity:.035;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23n)' opacity='.7' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}.status-bar{height:64px;position:absolute;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 42px;z-index:30;font-size:14px;font-weight:600;pointer-events:none}.island{position:absolute;top:13px;left:50%;transform:translateX(-50%);width:116px;height:32px;background:#16151b;border-radius:28px;box-shadow:inset 0 0 0 1px #ffffff0a}.island span{position:absolute;right:13px;top:11px;width:9px;height:9px;border-radius:50%;background:radial-gradient(circle at 40% 40%,#242b43,#090a11 70%)}.status-icons{display:flex;gap:7px;align-items:center}.status-icons svg{width:18px;height:15px}.signal{display:flex;height:13px;align-items:flex-end;gap:2px}.signal i{width:3px;background:currentColor;border-radius:1px}.signal i:nth-child(1){height:4px}.signal i:nth-child(2){height:7px}.signal i:nth-child(3){height:10px}.signal i:nth-child(4){height:13px}.battery{width:25px;height:12px;border:1px solid #ffffff88;border-radius:4px;position:relative}.battery:before{content:"";position:absolute;inset:2px;background:currentColor;border-radius:2px}.battery:after{content:"";position:absolute;right:-4px;top:3px;width:2px;height:4px;background:currentColor;border-radius:2px}.screen{position:absolute;inset:64px 0 0;animation:screen-in .4s ease both}.lock-screen{padding:22px 9vw 70px;display:flex;flex-direction:column;align-items:center}.lock-clock{text-align:center}.lock-icon{width:21px;height:21px;margin-bottom:11px}.lock-clock>p:first-of-type{font-size:20px;font-weight:500;letter-spacing:-.5px}.lock-clock h1{font-size:clamp(92px,12vw,166px);font-weight:650;letter-spacing:-9px;line-height:1.08;color:#f9f1f3;text-shadow:0 2px 50px #6b567718}.lock-dedication{font-size:13px;letter-spacing:2px;opacity:.8;margin-top:6px}.lock-bottom{width:100%;max-width:1000px;display:grid;grid-template-columns:1fr 1fr;column-gap:70px;align-items:end;margin:auto 0 5px}.tiny-label{font-size:10px;letter-spacing:1.8px;text-transform:lowercase;font-weight:600}.lock-note .tiny-label{opacity:.7}.lock-note h2{font-size:clamp(34px,4.6vw,62px);line-height:1.03;letter-spacing:-2px;font-weight:550;margin:20px 0}.lock-note>p{font-size:15px;line-height:1.7;color:#ffffffcc}.glass{background:var(--glass);border:1px solid #ffffff42;backdrop-filter:blur(30px);-webkit-backdrop-filter:blur(30px);box-shadow:0 8px 35px #5042670a,inset 0 1px 0 #ffffff25}.notifications{display:grid;gap:9px}.notification{display:flex;gap:13px;padding:17px;text-align:left;width:100%;border-radius:21px;color:#393341;background:#f5ecf080}.notification .app-icon{width:40px;height:40px;border-radius:10px}.notification .app-icon svg{width:29px;height:29px}.notification-body{flex:1;font-size:13px;line-height:1.5}.notification-title{display:flex;justify-content:space-between;gap:8px;margin-bottom:1px}.notification-title strong{font-size:13px;font-weight:650}.notification-title span{font-size:10px;opacity:.55}.notification-body p{opacity:.85}.unlock{grid-column:2;display:flex;justify-content:space-between;align-items:center;border-radius:40px;padding:16px 22px;margin-top:19px;font-size:14px;font-weight:550}.unlock svg{width:20px;height:20px}.unlock-hint{grid-column:2;text-align:center;font-size:10px;margin-top:12px;color:#ffffffb0;letter-spacing:.3px}.lock-tools{position:absolute;bottom:35px;left:35px;right:35px;display:flex;justify-content:space-between;pointer-events:none}.round-glass{pointer-events:auto;width:44px;height:44px;border-radius:50%;background:#483b632b;backdrop-filter:blur(15px);display:grid;place-items:center}.home-indicator{position:absolute;z-index:50;bottom:max(9px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);height:5px;width:130px;padding:0;background:currentColor;border-radius:8px;opacity:.8}.home-indicator:after{content:"";position:absolute;inset:-12px}.home-screen{padding:42px max(7vw,24px) 45px;display:flex;align-items:center;flex-direction:column}.home-top{text-align:center}.home-top .tiny-label{opacity:.7}.home-top h1{font-size:48px;letter-spacing:-2px;font-weight:550;margin:12px 0 8px}.home-top>p:last-child{font-size:14px;opacity:.8}.home-layout{display:grid;grid-template-columns:260px 250px 260px;gap:32px;align-items:center;margin:auto 0}.widget{text-align:left;padding:23px;border-radius:28px;height:270px;display:flex;flex-direction:column}.widget-heading{display:flex;justify-content:space-between;font-size:11px;color:#ffffffc9}.widget-heading>span{opacity:.65}.widget h2{font-weight:500;letter-spacing:-1px;font-size:33px;line-height:1.15;margin:auto 0}.widget-footer{font-size:11px;display:flex;justify-content:space-between;align-items:center;opacity:.85}.small-arrow{font-size:20px}.apps{display:grid;grid-template-columns:1fr 1fr;gap:28px 35px}.app-button{display:flex;flex-direction:column;align-items:center;gap:9px;font-size:12px;text-shadow:0 1px 5px #362b5940}.app-icon{display:grid;place-items:center;width:65px;height:65px;border-radius:17px;box-shadow:0 5px 15px #44335717;position:relative}.app-icon svg{width:43px;height:43px;color:white}.messages-icon{background:linear-gradient(#72ec8b,#20bd4c)}.notes-icon{background:linear-gradient(#ffd95d 0 27%,#fff 27%);overflow:hidden}.note-lines{width:100%;height:39%;background:repeating-linear-gradient(transparent 0 9px,#d6d4da 9px 10px);margin-top:20%}.music-icon{background:linear-gradient(#fa758f,#ed365b)}.photos-icon{background:#fff}.petal{position:absolute;width:15px;height:25px;border-radius:50%;left:25px;top:8px;transform-origin:50% 24px;opacity:.8}.badge{position:absolute;right:-6px;top:-6px;width:22px;height:22px;border-radius:50%;background:#ff453a;color:white;font-size:12px;display:grid;place-items:center;font-weight:500}.memory-widget{height:270px;overflow:hidden;border-radius:28px;cursor:pointer;position:relative}.memory-visual{height:100%;background:url('assets/memory.svg') center/cover}.memory-widget>div:last-child{position:absolute;inset:auto 0 0;padding:40px 20px 20px;background:linear-gradient(transparent,#33334b99)}.memory-widget p{font-size:22px;line-height:1.15;font-weight:500;margin-top:8px;letter-spacing:-.5px}.home-caption{font-size:12px;opacity:.75;margin-bottom:24px}.dock{display:flex;align-items:center;border-radius:28px;width:390px;max-width:100%;padding:13px 17px;gap:15px}.dock .app-icon{width:51px;height:51px;border-radius:14px}.dock .app-icon svg{width:34px;height:34px}.dock-text{flex:1;display:flex;flex-direction:column;gap:5px}.dock-text span{font-size:10px;opacity:.7}.dock-text strong{font-size:13px;font-weight:500}.dock-lock{opacity:.6}.app-screen{background:#f7f6f9;color:var(--ink);inset:0;padding-top:64px}.phone.in-app .status-bar{color:#25232b}.phone.in-app .battery{border-color:#2226}.phone.in-app .home-indicator{color:#222}.app-nav{height:57px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid #26242d0a;background:#f9f8f9e8;backdrop-filter:blur(25px)}.back-button{display:flex;gap:2px;align-items:center;color:var(--blue);font-size:15px;padding:8px 0;min-width:90px}.back-button svg{width:22px}.text-button{color:var(--blue);font-size:13px;padding:12px}.app-nav>span{font-size:12px;color:var(--muted)}.app-content{height:calc(100% - 57px);overflow:auto;overscroll-behavior:contain;padding:30px max(24px,calc((100vw - 1000px)/2)) 60px}.page-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.page-heading h1{font-size:39px;font-weight:700;letter-spacing:-1.5px}.page-heading p{font-size:13px;color:var(--muted);margin-top:6px}.page-heading .tiny-label{color:var(--muted);padding-bottom:5px}.notes-intro{font-size:12px;color:#9a8f6c;padding:12px 0 24px}.notes-list{background:white;border-radius:19px;overflow:hidden}.note-row{display:flex;align-items:center;text-align:left;padding:23px 25px;width:100%;gap:18px;border-bottom:1px solid #eeeeef}.note-row:last-child{border:0}.note-number{font-size:13px;color:#c6b570;width:24px}.note-row>div{flex:1}.note-row h2{font-size:17px;font-weight:600;margin-bottom:6px}.note-row p{font-size:13px;line-height:1.5;color:var(--muted)}.note-row>svg{color:#bbb;width:18px;transform:rotate(180deg)}.note-detail{max-width:660px;margin:10px auto}.note-date{font-size:12px;color:#aaa29a;text-align:center;margin-bottom:30px}.note-detail h1{font-size:33px;letter-spacing:-1px;margin-bottom:24px}.note-detail p{font-size:19px;line-height:1.85;white-space:pre-line}.note-sign{margin-top:36px!important;color:#a49466;font-size:14px!important}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.photo-card{text-align:left;min-width:0}.photo-card img{width:100%;aspect-ratio:1.05;object-fit:cover;border-radius:16px;display:block;transition:filter .2s}.photo-card h2{font-size:14px;font-weight:550;margin:12px 0 4px}.photo-card p{font-size:11px;color:var(--muted);margin-bottom:14px}.photo-detail{max-width:680px;margin:auto}.photo-detail img{width:100%;max-height:53svh;object-fit:contain;border-radius:20px;background:#e7e0e8}.photo-detail h1{font-size:27px;letter-spacing:-.7px;margin:24px 0 12px}.photo-detail p{font-size:16px;color:#797582;line-height:1.8}.music-hero{display:flex;gap:34px;align-items:center;margin-bottom:35px}.album-art{width:230px;aspect-ratio:1;border-radius:15px;background:linear-gradient(145deg,#cd9aa9,#705d80);box-shadow:0 12px 30px #74627c25;display:flex;flex-direction:column;justify-content:space-between;padding:24px;color:#fff;position:relative;overflow:hidden}.album-art:before{content:"";position:absolute;width:180px;height:180px;border:1px solid #f9d8da55;border-radius:50%;top:26px;left:60px;box-shadow:0 0 0 25px #f9d8da11,0 0 0 50px #f9d8da11}.album-art>span{font-size:9px;letter-spacing:2px;z-index:1}.album-art strong{font-family:Georgia,serif;font-style:italic;font-weight:400;font-size:42px;line-height:.95;z-index:1}.music-info h1{font-size:38px;letter-spacing:-1.5px;max-width:400px;line-height:1.1}.music-info p{font-size:14px;color:#96909a;max-width:330px;line-height:1.7;margin-top:15px}.music-info .tiny-label{color:#c55473;margin-bottom:12px;display:block}.track-list{border-top:1px solid #e7e2e8}.track{display:flex;align-items:center;gap:18px;padding:18px 4px;border-bottom:1px solid #e7e2e8}.track-index{color:#a19aa4;font-size:13px;width:20px}.track-info{flex:1}.track h2{font-size:15px;font-weight:550}.track p{font-size:12px;color:#97909a;margin-top:5px}.track a{color:#c75473;text-decoration:none;font-size:12px;padding:12px 15px;border-radius:20px;background:#ece5eb}.music-footnote{font-size:11px;color:#9a919c;line-height:1.7;margin-top:22px}.messages-page{max-width:740px;margin:auto}.conversation-row{display:flex;width:100%;align-items:center;gap:16px;padding:22px 4px;text-align:left;border-top:1px solid #e8e5eb}.avatar{width:50px;height:50px;border-radius:50%;background:linear-gradient(145deg,#c9bbd0,#91829f);color:white;display:grid;place-items:center;font-size:18px;font-weight:500;flex-shrink:0}.conversation-row>div:nth-child(2){flex:1}.conversation-row h2{font-size:16px;margin-bottom:6px;font-weight:600}.conversation-row p{font-size:13px;color:var(--muted)}.conversation-row time{font-size:11px;color:var(--muted)}.unread-dot{width:8px;height:8px;background:var(--blue);border-radius:50%}.messages-note{margin-top:28px;text-align:center;font-size:12px;line-height:1.8;color:#9b96a2}.chat-mode .app-nav{height:78px}.chat-mode .app-content{height:calc(100% - 78px);padding:0;overflow:hidden}.chat-identity{display:flex;align-items:center;flex-direction:column;gap:4px;color:#39343f!important}.chat-identity .avatar{width:34px;height:34px;font-size:12px}.chat-identity strong{font-size:11px;font-weight:500}.chat-shell{height:100%;display:flex;flex-direction:column;background-size:cover;background-position:center}.chat-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px max(24px,calc((100vw - 680px)/2)) 20px;scroll-behavior:smooth}.chat-date{text-align:center;font-size:10px;color:#a09aa4;margin-bottom:25px;line-height:1.8}.chat-date strong{font-weight:600}.bubble{position:relative;max-width:80%;width:fit-content;padding:12px 17px;line-height:1.5;font-size:15px;letter-spacing:-.1px;margin:5px 0;background:#e7e6eb;border-radius:19px 19px 19px 5px;white-space:pre-line;overflow-wrap:anywhere;animation:bubble-in .3s ease both}.bubble.outgoing{margin-left:auto;background:#3478f6;color:white;border-radius:19px 19px 5px 19px}.bubble.confession{font-size:23px;font-weight:550;line-height:1.3;letter-spacing:-.6px;padding:18px 22px;background:#e5dfed}.delivered{text-align:right;font-size:9px;color:#a19aa5;margin:5px 3px 14px}.typing{display:flex;gap:4px;padding:16px;width:62px}.typing i{width:7px;height:7px;border-radius:50%;background:#a8a4ae;animation:typing 1.2s infinite}.typing i:nth-child(2){animation-delay:.18s}.typing i:nth-child(3){animation-delay:.36s}.chat-controls{padding:14px max(24px,calc((100vw - 680px)/2)) 38px;background:#f8f7f9e8;border-top:1px solid #ded9e43b;flex-shrink:0}.choices{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.choice{background:#fff;border:1px solid #b6c9ee;color:#3478f6;border-radius:22px;font-size:13px;padding:12px 17px;transition:background .2s}.composer{border:1px solid #d6d1db;border-radius:24px;padding:11px 15px;color:#aaa3ae;font-size:13px;display:flex;justify-content:space-between;align-items:center;gap:15px}.composer span:last-child{font-size:10px;color:#a29aa8}.choice-hint{text-align:center;color:#aaa2ae;font-size:10px;margin:10px 0 0}.final-card{background:white;border:1px solid #e5dfea;border-radius:20px;padding:21px;margin:24px 0 4px;animation:bubble-in .4s both}.final-card .tiny-label{color:#a596ad}.final-card h2{font-size:21px;letter-spacing:-.6px;font-weight:600;margin:9px 0}.final-card p{font-size:12px;line-height:1.8;color:#99909e}.contact-cta{display:block;border-radius:25px;background:var(--blue);color:white;text-decoration:none;text-align:center;padding:14px;margin-top:17px;font-size:13px}.change-answer{display:block;margin:12px auto 0;font-size:11px;color:#91859c;padding:7px}.toast{position:absolute;bottom:45px;left:50%;transform:translateX(-50%);padding:12px 22px;border-radius:24px;background:#292334dd;backdrop-filter:blur(20px);color:#fff;font-size:12px;z-index:100;white-space:nowrap}.flash-on:after{content:"";position:absolute;inset:0;background:#fff9;pointer-events:none;z-index:29}.flash-on #flashlight{background:#fff;color:#56486a}.app-screen:focus,.screen:focus{outline:none}@keyframes screen-in{from{opacity:0;transform:translateY(12px) scale(.99)}to{opacity:1;transform:none}}@keyframes bubble-in{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}@keyframes typing{0%,65%,100%{opacity:.4;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
@media(min-width:1500px){.home-layout{gap:65px}.lock-bottom{max-width:1080px}.lock-screen{padding-top:40px}.home-top{margin-top:18px}}
@media(max-width:900px){.home-layout{grid-template-columns:230px 230px;gap:28px}.memory-widget{display:none}.widget{height:245px}.photo-grid{gap:12px}.lock-bottom{gap:35px}.lock-note h2{font-size:44px}}
@media(max-width:600px){.phone{min-height:560px}.status-bar{padding:0 26px;height:58px;font-size:13px}.island{top:11px;width:106px;height:30px}.screen{inset:58px 0 0}.lock-screen{padding:16px 24px 95px}.lock-clock>p:first-of-type{font-size:17px}.lock-clock h1{font-size:100px;letter-spacing:-6px;line-height:1.08}.lock-icon{width:18px;height:18px;margin-bottom:8px}.lock-dedication{font-size:10px;letter-spacing:1.5px;margin-top:8px}.lock-bottom{display:flex;flex-direction:column;gap:0;align-items:stretch;max-width:390px;margin:auto 0 0}.lock-note{margin:20px 5px 22px}.lock-note .tiny-label{font-size:8px;letter-spacing:1.2px}.lock-note h2{font-size:35px;line-height:1.08;letter-spacing:-1px;margin:10px 0}.lock-note h2 br{display:none}.lock-note>p{font-size:12px;line-height:1.6}.lock-note>p br{display:none}.notification{padding:13px;border-radius:19px;gap:11px}.notification-body{font-size:11px}.notification-title strong{font-size:12px}.notification .app-icon{width:36px;height:36px}.notification .app-icon svg{width:27px;height:27px}.unlock{margin-top:14px;padding:14px 20px;font-size:13px}.unlock-hint{font-size:9px;margin-top:11px}.lock-tools{bottom:34px;left:27px;right:27px}.round-glass{width:40px;height:40px}.home-screen{padding:27px 24px 37px}.home-top h1{font-size:38px;margin:10px 0 7px}.home-top .tiny-label{font-size:8px;letter-spacing:1.4px}.home-top>p:last-child{font-size:12px}.home-layout{width:100%;max-width:350px;grid-template-columns:1fr;gap:24px;margin:auto 0}.widget{height:163px;width:100%;padding:18px 22px;border-radius:24px}.widget h2{font-size:27px;line-height:1.05;max-width:230px}.widget h2 br{display:none}.widget-heading{font-size:10px}.widget-footer{font-size:10px}.apps{display:flex;justify-content:space-between;gap:8px}.app-icon{width:60px;height:60px;border-radius:15px}.app-button{font-size:10px;gap:8px}.app-icon svg{width:39px;height:39px}.petal{left:23px;top:6px;width:14px;height:24px}.home-caption{font-size:10px;margin-bottom:16px}.dock{padding:12px 14px;border-radius:25px;gap:12px}.dock-text strong{font-size:12px}.dock-text span{font-size:9px}.app-screen{inset:0;padding-top:58px}.app-nav{padding:0 17px;height:53px}.back-button{font-size:13px;min-width:70px}.app-nav>span{font-size:10px}.app-content{height:calc(100% - 53px);padding:24px 20px 55px}.page-heading{margin-bottom:23px}.page-heading h1{font-size:33px}.page-heading p{font-size:11px}.page-heading>.tiny-label{display:none}.note-row{padding:20px 15px;gap:8px}.note-row h2{font-size:15px}.note-row p{font-size:11px}.note-detail h1{font-size:28px}.note-detail p{font-size:17px}.photo-grid{grid-template-columns:repeat(2,1fr);gap:12px}.photo-card img{border-radius:12px}.photo-card h2{font-size:12px;margin:9px 0 3px}.photo-card p{font-size:10px}.music-hero{flex-direction:column;gap:23px;text-align:center}.album-art{width:200px;text-align:left}.music-info h1{font-size:29px}.music-info p{font-size:12px;margin:11px auto 0}.music-info .tiny-label{font-size:8px}.track{gap:10px}.track h2{font-size:14px}.track p{font-size:11px}.track a{font-size:10px;padding:10px}.chat-scroll{padding:18px 18px 16px}.bubble{font-size:14px;max-width:86%;padding:11px 15px}.bubble.confession{font-size:22px}.chat-controls{padding:12px 17px 35px}.choice{font-size:12px;padding:11px 14px}.chat-mode .app-nav{height:71px}.chat-mode .app-content{height:calc(100% - 71px)}.sun{width:110vw;height:110vw;top:22%;left:20%}.ridge-back{bottom:-5%;left:20%;height:45%;width:180%}.ridge-front{bottom:-16%;height:37%;width:180%;left:-65%}}
@media(max-height:720px) and (max-width:600px){.lock-clock h1{font-size:82px}.lock-screen{padding-top:5px;padding-bottom:83px}.lock-note{margin:12px 5px}.lock-note h2{font-size:28px;margin:7px 0}.notifications .notification:nth-child(n+2){display:none}.home-screen{padding-top:15px}.home-top h1{font-size:32px}.home-layout{gap:18px}.widget{height:145px}.home-caption{margin-bottom:12px}.app-icon{width:54px;height:54px}.petal{left:20px;top:3px}.dock .app-icon{width:43px;height:43px}.lock-dedication{margin-top:2px}.lock-icon{margin-bottom:3px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Light iMessage styling. Avatar and an optional photo message live in CONFIG. */
.phone.chat-mode{--chat-blue:#168bfa;--chat-gray:#e9e9eb;--chat-paper:#fff}
.chat-mode .app-screen{background:var(--chat-paper);color:#161618}
.chat-mode .app-nav{height:128px;position:relative;background:#ffffffed;border:0;padding:0 max(24px,calc((100vw - 740px)/2));align-items:flex-start;padding-top:18px;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
.chat-mode .app-content{height:calc(100% - 128px)}
.chat-mode .back-button,.chat-mode #app-home{background:linear-gradient(150deg,#f8f8f8,#eeeeef);box-shadow:inset 0 0 0 1px #dedee075,0 2px 6px #00000004;color:#252527;min-width:0;height:43px;border-radius:28px;display:flex;align-items:center;justify-content:center}
.chat-mode .back-button{padding:0 12px 0 9px;gap:6px}
.chat-mode .back-button>svg{height:26px;width:26px}
.chat-back-count{background:#fff;min-width:25px;height:23px;border-radius:14px;font-size:13px;display:grid;place-items:center;padding:0 6px}
.chat-mode #app-home{width:43px;padding:0}
.chat-mode #app-home svg{width:21px;height:21px}
.chat-mode #app-context{position:absolute;left:50%;transform:translateX(-50%);top:12px}
.chat-mode .chat-identity{gap:7px;color:#303035!important}
.chat-mode .chat-identity .avatar{width:62px;height:62px;background:linear-gradient(160deg,#a49caf,#746b8d);overflow:hidden;color:#fff}
.chat-identity .avatar>svg{width:59px;height:59px;align-self:end}
.chat-identity .avatar>img{width:100%;height:100%;object-fit:cover}
.chat-mode .chat-identity strong{font-size:11px;font-weight:500;display:flex;align-items:center;gap:3px;white-space:nowrap;border-radius:20px;background:#f4f4f5;padding:5px 9px}
.chat-identity strong svg{width:10px;height:10px;color:#88888d}
.chat-shell{background-color:var(--chat-paper);--chat-tail:var(--chat-paper)}
.chat-scroll{padding-top:5px;padding-left:max(23px,calc((100vw - 700px)/2));padding-right:max(23px,calc((100vw - 700px)/2))}
.chat-date{font-size:11px;color:#89898d;margin:0 0 24px;line-height:1.5;display:flex;flex-direction:column;align-items:center}
.chat-date strong{font-size:12px;font-weight:500}
.chat-date .chat-simulation{font-size:10px;color:#a0a0a5}
.chat-date time{margin-top:18px;font-size:11px}
.message-row{margin:5px 0;display:flow-root}
.bubble{font-size:17px;line-height:1.35;letter-spacing:-.28px;padding:11px 16px;border-radius:23px;background:var(--chat-gray);color:#161618;max-width:80%;margin:0;isolation:isolate}
.bubble:before{content:"";position:absolute;bottom:0;left:-6px;width:15px;height:18px;background:var(--chat-gray);border-bottom-right-radius:13px;z-index:-1}
.bubble:after{content:"";position:absolute;bottom:0;left:-10px;width:10px;height:22px;background:var(--chat-tail);border-bottom-right-radius:9px;z-index:-1}
.bubble.outgoing{background:var(--chat-blue);border-radius:23px;color:#fff}
.bubble.outgoing:before{left:auto;right:-6px;background:var(--chat-blue);border-bottom-right-radius:0;border-bottom-left-radius:13px}
.bubble.outgoing:after{left:auto;right:-10px;border-bottom-right-radius:0;border-bottom-left-radius:9px}
.bubble.confession{background:var(--chat-gray);font-size:25px;font-weight:500;line-height:1.2;padding:16px 19px;letter-spacing:-.65px}
.delivered{font-size:10px;color:#919195;margin:5px 3px 8px}
.bubble.typing{padding:16px;width:65px;margin-top:7px}
.typing i{background:#99999f}
.chat-photo{width:min(75%,300px);margin:0 0 8px auto}
.chat-photo img{width:100%;max-height:420px;object-fit:cover;border-radius:22px;display:block}
.chat-controls{background:#ffffffef;border-top:0;padding-top:15px;padding-bottom:max(38px,calc(env(safe-area-inset-bottom) + 24px))}
.composer{border:0;border-radius:0;padding:0;gap:13px}
.composer-plus{display:grid;place-items:center;border-radius:50%;background:#f0f0f2;color:#717176;font-size:28px!important;width:35px;height:35px;font-weight:300;flex-shrink:0}
.composer>div{border:1px solid #dadadd;border-radius:24px;min-height:38px;padding:4px 5px 4px 14px;flex:1;display:flex;align-items:center;justify-content:space-between;font-size:15px}
.composer-send{display:grid;place-items:center;background:#e6e6e9;border-radius:50%;height:27px;width:27px;color:#fff!important}
.composer-send svg{width:20px;height:20px}
.choice{border-color:#d9e4f5;background:#f5f8fd;color:#087ff5;font-size:14px;border-radius:23px;padding:12px 17px}

.choice-hint{color:#96969d}
.final-card{background:#f7f7f9;border-color:#eeeeef;border-radius:24px;margin-top:30px;box-shadow:none}
.final-card .tiny-label{color:#9a9aa2}
.final-card p{color:#85858c}
.contact-cta{background:var(--chat-blue)}
.change-answer{color:#85858d}
@media(max-width:600px){
 .chat-mode .app-nav{height:122px;padding:17px 20px 0}
 .chat-mode .app-content{height:calc(100% - 122px)}
 .chat-mode #app-context{top:10px}
 .chat-mode .chat-identity .avatar{width:58px;height:58px}
 .chat-identity .avatar>svg{width:55px;height:55px}
 .chat-mode .chat-identity strong{font-size:10px}
 .chat-scroll{padding:7px 22px 18px}
 .bubble{font-size:16px;max-width:84%;padding:10px 15px;border-radius:22px}
 .bubble.outgoing{border-radius:22px}
 .bubble.confession{font-size:23px;padding:15px 18px}
 .chat-controls{padding-left:18px;padding-right:18px}
 .choice{font-size:13px;padding:11px 15px}
 .chat-date{margin-bottom:22px}
}
@media(max-height:650px){.chat-mode .app-nav{height:102px}.chat-mode .app-content{height:calc(100% - 102px)}.chat-mode .chat-identity .avatar{width:45px;height:45px}.chat-identity .avatar>svg{width:43px;height:43px}.chat-date time{margin-top:10px}.chat-date{margin-bottom:15px}}

/* Astronomy lock screen and decorative four-digit passcode. */
.locked-state .wallpaper{background-color:#000;background-size:auto 100%;background-position:center;background-repeat:no-repeat}
.locked-state .wallpaper>.sun,.locked-state .wallpaper>.ridge,.locked-state .wallpaper>.grain{display:none}
.locked-state #status-time{font-size:0}
.locked-state #status-time:after{content:"iPhone";font-size:12px;font-weight:500}
.lock-screen{padding:30px 24px 75px}
.lock-clock{position:relative;margin-top:14px;color:#e3e8e9}
.lock-clock .lock-icon{position:absolute;top:-26px;left:calc(50% - 8px);height:16px;width:16px;opacity:.8}
.lock-clock>p:first-of-type{font-size:23px;letter-spacing:-.6px;font-weight:500}
.lock-clock h1{font-size:clamp(102px,13vw,156px);font-weight:650;letter-spacing:-7px;color:#e3e8e9;line-height:1.06;text-shadow:0 2px 30px #0003}
.lock-dedication,.lock-note{display:none}
.lock-widgets{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:340px;margin:22px auto 0;color:#dce2e3;gap:24px}
.lock-battery-widget{width:145px;flex-shrink:0;display:flex;flex-direction:column;font-size:12px;gap:5px}
.widget-battery-label{display:flex;align-items:center;gap:3px;font-size:15px;font-weight:550}
.widget-battery-label svg{width:13px;height:19px}
.lock-battery-track{height:7px;background:#ffffff36;border-radius:10px;margin-top:3px;overflow:hidden}
.lock-battery-track i{display:block;height:100%;width:100%;background:#dce2e3;border-radius:10px}
.lock-person-widget{display:flex;flex-direction:column;align-items:center;justify-content:center;width:56px;height:56px;background:#ffffff2b;border-radius:50%;gap:3px;flex-shrink:0}
.lock-person-widget svg{width:22px;height:22px;opacity:.85}
.lock-person-widget span{font-size:7px;letter-spacing:.4px}
.lock-memory-widget{border:4px solid #ffffff45;border-bottom-color:transparent;border-radius:50%;width:58px;height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0}
.lock-memory-widget>span:first-child{font-size:23px;line-height:1;font-weight:400;letter-spacing:-1px}
.lock-memory-widget>span:last-child{font-size:7px;margin-top:4px}
.lock-bottom{display:flex;flex-direction:column;align-items:center;gap:0;margin:auto 0 0;max-width:360px}
.lock-bottom .notifications{display:none;width:100%}
.show-lock-notifications .lock-bottom .notifications{display:grid;margin-bottom:18px}
.unlock.glass{border:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;padding:12px 24px;gap:8px;margin:0;font-size:12px;font-weight:500;color:#e5e8eb;text-shadow:0 1px 5px #000}
.unlock>svg{height:14px;width:14px;order:-1}
.unlock-hint{display:none}
.lock-tools .round-glass{width:48px;height:48px;background:#303033b0;backdrop-filter:blur(15px)}
.passcode-screen{padding:24px 20px 45px;overflow-y:auto;background:#0b0d1770;backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px);display:flex;justify-content:center;align-items:center}
.passcode-card{width:292px;max-width:100%;text-align:center;padding-top:12px}
.passcode-lock{width:24px;height:24px;opacity:.8;margin-bottom:15px}
.passcode-card h1{font-size:22px;font-weight:500;letter-spacing:-.4px}
.passcode-card>p:first-of-type{font-size:12px;opacity:.6;margin-top:10px}
.passcode-dots{display:flex;justify-content:center;gap:23px;margin:28px 0 0}
.passcode-dots i{width:12px;height:12px;border:1px solid #fff;border-radius:50%;transition:background .15s}
.passcode-dots i.filled{background:white}
.passcode-feedback{height:34px;padding-top:10px;font-size:11px;color:#ffffffc9}
.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:15px 23px;justify-items:center;margin:7px 0 22px}
.keypad button{display:flex;flex-direction:column;align-items:center;justify-content:center;width:76px;height:76px;border-radius:50%;background:#ffffff24;box-shadow:inset 0 0 0 1px #ffffff09;transition:background .15s}
.keypad button:active,.keypad button.is-pressed{background:#ffffff50}
.keypad button>span{font-size:33px;font-weight:350;line-height:1.1}
.keypad small{font-size:8px;letter-spacing:2px;min-height:10px;margin-top:3px;padding-left:2px}
.keypad button[data-digit="0"]>span{line-height:1.4}
.passcode-actions{display:flex;justify-content:space-between;font-size:12px;padding:0 7px}
.passcode-actions button{padding:12px;min-height:44px}
.shake{animation:shake .45s ease}
@keyframes shake{20%,60%{transform:translateX(-10px)}40%,80%{transform:translateX(10px)}100%{transform:translateX(0)}}
@media(max-width:600px){.lock-screen{padding:36px 24px 78px}.lock-clock{margin-top:8px}.lock-clock h1{font-size:112px;letter-spacing:-7px}.lock-clock>p:first-of-type{font-size:22px}.lock-widgets{margin-top:20px;max-width:325px;gap:18px}.lock-battery-widget{width:140px}.lock-tools{bottom:35px;left:34px;right:34px}.lock-tools .round-glass{width:47px;height:47px}}
@media(max-height:720px){.lock-screen{padding-top:17px}.lock-clock{margin-top:5px}.lock-clock>p:first-of-type{font-size:19px}.lock-clock h1{font-size:94px}.lock-widgets{margin-top:15px}.lock-person-widget,.lock-memory-widget{width:49px;height:49px}.passcode-screen{padding-top:5px;align-items:flex-start}.passcode-card{padding-top:7px}.passcode-lock{margin-bottom:7px;height:20px}.passcode-dots{margin-top:19px}.keypad{gap:12px 22px}.keypad button{width:65px;height:65px}.passcode-feedback{height:30px}.passcode-actions{margin-top:-10px}}

/* Edge-to-edge, three-column iPhone album. */
.gallery-mode .app-screen{background:#fff}
.gallery-mode .app-nav{background:#ffffffed;border:0;position:relative;z-index:8;padding-left:max(18px,calc((100vw - 940px)/2));padding-right:max(18px,calc((100vw - 940px)/2))}
.gallery-mode .app-content{padding:0 max(0px,calc((100vw - 960px)/2)) 130px;overflow-y:auto;background:#fff}
.gallery-title-row{height:77px;display:flex;align-items:center;justify-content:space-between;padding:0 23px;position:relative;z-index:3;background:linear-gradient(#ffffffed,#ffffff94,transparent);margin-bottom:-77px;gap:10px;pointer-events:none}
.gallery-title-row h1{font-size:31px;letter-spacing:-1px;line-height:1.1;font-weight:700;text-shadow:0 1px 8px #fff8}
.gallery-title-row>div{display:flex;align-items:center;gap:8px;pointer-events:auto}
.gallery-select,.gallery-more{background:#f0eef0d9;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid #ffffff80;border-radius:22px;height:35px;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 6px #00000005}
.gallery-select{font-size:12px;font-weight:550;padding:0 15px}
.gallery-more{width:35px;padding:8px}
.gallery-more svg{width:20px;height:20px;fill:#38353d}
.gallery-mode .photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}
.gallery-mode .photo-card{padding:0;position:relative;overflow:hidden;aspect-ratio:1;display:block;min-width:0;background:#e7e4e8}
.gallery-mode .photo-card>img{aspect-ratio:1;border-radius:0;width:100%;height:100%;object-fit:cover;display:block}
.gallery-mode .photo-card:active{transform:none;filter:brightness(.88)}
.photo-heart{position:absolute;bottom:9px;left:9px;color:#fff;filter:drop-shadow(0 1px 3px #0004);display:flex}
.photo-heart svg{width:17px;height:17px}
.photo-selection{position:absolute;right:8px;bottom:8px;width:21px;height:21px;border:1.5px solid #fff;border-radius:50%;box-shadow:0 1px 4px #0004;background:#0001;display:grid;place-items:center;color:#fff}
.photo-selection svg{width:16px;height:16px}
.is-selected .photo-selection{background:#168bfa;border-color:#fff}
.is-selected img{filter:brightness(.8)}
.gallery-count{text-align:center;font-size:12px;color:#9a979f;padding:27px 15px 0;line-height:1.6}
.gallery-tabs{position:absolute;z-index:8;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:clamp(30px,9vw,130px);background:#f8f8fae8;backdrop-filter:blur(25px);-webkit-backdrop-filter:blur(25px);border-top:1px solid #e6e5e8;padding:12px 10px max(30px,env(safe-area-inset-bottom));color:#8a8891}
.gallery-tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0 3px;min-width:47px}
.gallery-tabs svg{width:25px;height:25px}
.gallery-tabs span{font-size:10px;white-space:nowrap}
.gallery-tabs [aria-current="page"]{color:#0783fa}
.gallery-albums{padding:20px 22px}
.gallery-albums h1{font-size:32px;letter-spacing:-1px;margin-bottom:25px}
.album-list{display:grid;grid-template-columns:1fr 1fr;gap:17px}
.album-list button{text-align:left;padding:0;display:flex;flex-direction:column;gap:7px}
.album-list img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;margin-bottom:5px}
.album-list strong{font-size:15px;font-weight:500}
.album-list span{font-size:12px;color:#959099}
.gallery-menu{position:absolute;z-index:9;right:max(20px,calc((100vw - 920px)/2));top:185px;border:1px solid #e8e5eb;border-radius:15px;background:#fffffff5;box-shadow:0 10px 30px #0002;padding:7px;min-width:170px}
.gallery-menu button{display:block;width:100%;text-align:left;font-size:13px;padding:12px 15px;border-radius:10px}

.gallery-mode:has(.photo-search) .gallery-title-row,.gallery-mode:has(.gallery-subtitle) .gallery-title-row{margin-bottom:0;background:white}
.photo-search{padding:0 18px 20px;display:flex;flex-direction:column;gap:8px}
.photo-search label{font-size:11px;color:#8f8b96}
.photo-search input{width:100%;padding:12px 15px;background:#f1f0f4;border:0;border-radius:12px;font:inherit;font-size:14px;color:#333;outline-offset:2px}
.gallery-subtitle{font-size:13px;color:#8e8894;padding:0 22px 20px}
.gallery-mode .photo-detail{max-width:800px;padding:0 20px 10px;margin:0 auto}
.photo-viewer-date{text-align:center;display:flex;flex-direction:column;gap:5px;padding:15px 5px 20px}
.photo-viewer-date strong{font-size:14px;font-weight:600}
.photo-viewer-date span{font-size:11px;color:#9b94a0}
.gallery-mode .photo-full img{max-height:55svh;width:100%;height:auto;object-fit:contain;border-radius:0;background:#fff;display:block;min-height:180px}
.photo-viewer-tools{display:flex;align-items:center;justify-content:space-between;max-width:250px;margin:15px auto 0}
.photo-viewer-tools button{width:44px;height:44px;display:grid;place-items:center;color:#168bfa}
.next-photo svg{transform:rotate(180deg)}
.photo-viewer-tools .favorite-toggle svg{width:24px;height:24px}
.gallery-mode .photo-caption{font-size:14px;line-height:1.75;color:#827a89;max-width:550px;margin:10px auto 20px;text-align:center}
.gallery-mode .photo-detail-mode .app-content{padding-bottom:38px}
@media(min-width:900px){.gallery-title-row{height:90px;margin-bottom:-90px;padding:0 27px}.gallery-title-row h1{font-size:39px}.gallery-mode .photo-grid{gap:3px}.photo-heart svg{width:20px;height:20px}.photo-heart{bottom:13px;left:13px}}
@media(max-width:360px){.gallery-title-row{padding:0 14px}.gallery-title-row h1{font-size:27px}.gallery-select{padding:0 12px}.gallery-tabs{gap:23px}.lock-widgets{gap:12px}.lock-battery-widget{width:125px}}
/* Keep the phone viewport fixed; each app owns its own scroll surface. */
.phone{overflow:clip}
.locked-state .wallpaper{background-size:auto 85%;background-position:center bottom}
.message-row:not(.from-you):has(+ .message-row:not(.from-you)) .bubble:before,.message-row:not(.from-you):has(+ .message-row:not(.from-you)) .bubble:after{display:none}

/* iOS typography and interaction tokens. Apple devices use their native SF font. */
:root{--ios-font:-apple-system,BlinkMacSystemFont,system-ui,"Helvetica Neue",Arial,sans-serif;--ios-ease:cubic-bezier(.16,1,.3,1);--ios-blue:#007aff;font-family:var(--ios-font);font-kerning:normal;font-optical-sizing:auto;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
button,input,a{font-family:inherit}
button{font-synthesis:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.screen{animation:none}
button,a.contact-cta,[role="button"]{transition:scale 220ms var(--ios-ease),background-color 160ms ease,box-shadow 200ms ease,opacity 160ms ease;transform-origin:center}
button:active{transform:none}
button.is-pressed,a.contact-cta.is-pressed,[role="button"].is-pressed{scale:.96;transition-duration:80ms}
.app-button.is-pressed,.dock-app.is-pressed{scale:.92;filter:brightness(.88)}
.keypad button.is-pressed{scale:.96}
.home-indicator:active{transform:translateX(-50%)}
.home-indicator{touch-action:none;transition:opacity .16s ease;min-height:5px}
.lock-screen{touch-action:pan-x}
.passcode-actions button,.text-button,.back-button,.choice,.change-answer,.track a{min-height:44px}
.back-button,.text-button{letter-spacing:-.35px}
.app-nav .back-button{border-radius:26px;padding:0 12px 0 7px;min-width:0;background:#f3f3f5a6;box-shadow:inset 0 0 0 1px #fff9;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px)}
.app-nav>.text-button{border-radius:24px;padding:0 15px;background:#f3f3f5a6;box-shadow:inset 0 0 0 1px #fff9;font-weight:500}
.page-heading h1,.gallery-title-row h1,.gallery-albums h1{font-weight:700;letter-spacing:-1.1px}
.bubble{font-size:17px;line-height:1.3;letter-spacing:-.4px}
.lock-clock h1,.status-bar,.passcode-dots{font-variant-numeric:tabular-nums}
.lock-clock h1{font-stretch:normal}
.passcode-card h1{font-size:23px;font-weight:500;letter-spacing:-.5px}
.keypad button>span{font-weight:300;letter-spacing:-.5px}
.keypad small{font-weight:600}
.glass{backdrop-filter:blur(24px) saturate(145%);-webkit-backdrop-filter:blur(24px) saturate(145%);box-shadow:inset 0 1px 0 #ffffff70,inset 0 -1px 0 #ffffff12,0 6px 24px #3021420d}
.chat-mode .back-button,.chat-mode #app-home,.gallery-select,.gallery-more{backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);box-shadow:inset 0 1px 0 #fff,inset 0 0 0 1px #ffffff90,0 2px 12px #00000008}
.gallery-tabs{left:50%;right:auto;transform:translateX(-50%);bottom:25px;max-width:430px;width:calc(100% - 30px);gap:3px;padding:6px;border:1px solid #ffffffbd;border-radius:36px;background:#f6f6f9c9;box-shadow:inset 0 1px 0 #fff,0 6px 24px #26222e15;backdrop-filter:blur(25px) saturate(150%);-webkit-backdrop-filter:blur(25px) saturate(150%)}
.gallery-tabs button{flex:1;min-height:55px;padding:7px 5px;border-radius:28px;gap:3px;transition:background-color 180ms ease,scale 220ms var(--ios-ease),color 160ms ease}
.gallery-tabs [aria-current="page"]{color:var(--ios-blue);background:#ffffffc4;box-shadow:0 1px 4px #00000004,inset 0 1px 0 #fff}
.gallery-tabs svg{width:24px;height:24px}
.gallery-tabs span{font-size:10px;font-weight:500;letter-spacing:-.1px}
.gallery-mode .app-content{padding-bottom:125px}
.chat-controls .choice{font-size:14px;font-weight:400;letter-spacing:-.2px}
.bubble{animation:bubble-in 320ms var(--ios-ease) both}
@keyframes bubble-in{from{opacity:0;translate:0 7px;scale:.97}to{opacity:1;translate:0 0;scale:1}}
@media(hover:hover) and (pointer:fine){
 .app-button:hover .app-icon,.dock-app:hover .app-icon{filter:brightness(1.06);box-shadow:inset 0 1px 0 #ffffff60,0 6px 18px #24153424}
 .glass:hover{background-color:#ffffff32}
 .back-button:hover,.text-button:hover,.gallery-select:hover,.gallery-more:hover,.gallery-tabs button:hover{background-color:#e9e9efcf}
 .choice:hover{background-color:#eaf3ff;border-color:#b4d3ff}
 .keypad button:hover{background-color:#ffffff35}
 .photo-card:hover img{filter:brightness(.94)}
 .gallery-menu button:hover,.note-row:hover,.conversation-row:hover{background-color:#f1f0f4}
 .track a:hover,.contact-cta:hover{filter:brightness(.95)}
 .passcode-actions button:hover,.change-answer:hover{opacity:.7}
}
@media(prefers-reduced-transparency:reduce){.glass{background:#ada2be}.app-nav,.gallery-tabs,.chat-controls{backdrop-filter:none;-webkit-backdrop-filter:none;background:#f7f7fa}.gallery-select,.gallery-more{background:#f2f2f5}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.is-pressed{scale:1!important}}
/* Keep press/release timing consistent even on controls with older local rules. */
.phone :is(button,a.contact-cta,[role="button"]){transition:scale 220ms var(--ios-ease),background-color 160ms ease,box-shadow 200ms ease,opacity 160ms ease}
.phone :is(button,a.contact-cta,[role="button"]).is-pressed{transition-duration:80ms}
.app-icon{transition:filter 160ms ease,box-shadow 200ms ease}
@media(prefers-reduced-motion:reduce){.phone :is(button,a.contact-cta,[role="button"]){transition:none!important}}
.phone :is(button,a.contact-cta,[role="button"]):active{scale:.96}
@media(max-width:600px){.app-button{font-size:12px;letter-spacing:-.15px}.note-row h2{font-size:16px}.note-row p{font-size:13px}.chat-controls .choice{font-size:14px}}
@media(prefers-reduced-motion:reduce){.phone :is(button,a.contact-cta,[role="button"]):active{scale:1!important}}

/* Home is an icon canvas, with no editorial widgets or welcome copy. */
.home-screen{padding:35px 24px 38px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
.home-screen>.apps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:29px 15px;width:100%;max-width:440px;margin:0 auto}
.home-screen .app-button{font-size:12px;letter-spacing:-.15px;gap:8px;padding:0;min-height:83px;justify-content:flex-start}
.home-screen .app-icon{width:62px;height:62px;border-radius:16px}
.home-screen .app-icon svg{width:42px;height:42px}
.home-page-dots{margin:auto auto 19px;display:flex;align-items:center;justify-content:center;height:22px;min-width:35px;border-radius:20px;background:#ffffff18}
.home-page-dots i{height:6px;width:6px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0001}
.home-screen .dock{width:100%;max-width:390px;min-height:94px;justify-content:space-around;gap:12px;padding:15px 17px;border-radius:34px;background:#ffffff29;border:1px solid #ffffff40;box-shadow:inset 0 1px 0 #ffffff73,0 4px 20px #40314e13}
.home-screen .dock-app{padding:0;display:grid;place-items:center}
.home-screen .dock .app-icon{width:62px;height:62px;border-radius:16px}
.home-screen .dock .app-icon svg{width:42px;height:42px}
.lock-app-icon{background:linear-gradient(#81838f,#555865)}
.lock-app-icon svg{width:34px!important;height:34px!important;color:#fff}
.lock-screen{touch-action:none;cursor:grab}
.lock-dragging .lock-screen{cursor:grabbing;z-index:2;animation:none;transition:none}
.lock-dragging .passcode-screen{z-index:1;pointer-events:none;animation:none;transition:none}
.lock-dragging .lock-tools{pointer-events:none}
.lock-dragging .lock-tools button{pointer-events:none}
@media(min-width:700px){.home-screen{padding-top:48px}.home-screen>.apps{max-width:600px;gap:35px 35px}.home-screen .app-icon{width:70px;height:70px;border-radius:19px}.home-screen .app-button{font-size:13px;gap:10px}.home-screen .dock{margin-bottom:4px}}
@media(max-width:360px){.home-screen{padding:29px 17px 35px}.home-screen>.apps{gap:25px 10px}.home-screen .app-icon,.home-screen .dock .app-icon{width:56px;height:56px;border-radius:15px}.home-screen .dock{gap:9px;padding:14px 13px;min-height:84px;border-radius:30px}}
@media(max-height:650px){.home-screen{padding-top:24px}.home-screen .dock{min-height:82px;padding-top:11px;padding-bottom:11px}.home-page-dots{margin-bottom:13px}}
.lock-screen{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
