/* Apple-inspired system: rounded controls, grouped content, glass navigation. */
.screen{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}
.screen button{transition:background 140ms,transform 140ms,box-shadow 140ms}.screen button:active{transform:scale(.94)}.screen :focus-visible{outline-color:#007aff;outline-offset:3px}.screen .wallpaper{background:radial-gradient(ellipse at 90% 6%,#ffd9b4 0,transparent 40%),radial-gradient(ellipse at 10% 90%,#94deed 0,transparent 46%),radial-gradient(ellipse at 130% 10%,#a9d2f2 0%,#638cdd 18%,#1c3f8c 29%,#9ebde9 33%,#c7d7ed 36%,#313b78 48%,#759edb 49%,#94ceed 75%,#405cbc 100%)}.screen[data-wallpaper=ember] .wallpaper{background:radial-gradient(ellipse at 82% 8%,#ffda9170,transparent 47%),repeating-radial-gradient(ellipse at 100% 95%,#170d1d 0%,#682c30 17%,#ed6d47 24%,#ffbd77 27%,#1d1b35 32%,#111627 45%)}.screen[data-wallpaper=ocean] .wallpaper{filter:hue-rotate(335deg)}.screen[data-wallpaper=moss] .wallpaper{filter:hue-rotate(260deg)}
.screen .lock{padding:28px 22px 24px}.lock-date{font-size:17px;font-weight:500;margin:13px 0 0}.screen .lock-time{font-size:86px;line-height:1.1;letter-spacing:-5px;font-weight:600;color:#f0f6ff;text-shadow:0 1px 18px #132d5e12}.lock-symbol{opacity:.9}.screen .lock-message{display:flex;gap:12px;align-items:center;text-align:left;padding:15px;border-radius:25px;background:#edf5ffb5;border:1px solid #fff7;box-shadow:inset 0 1px 1px #fff8,0 10px 30px #10234718;color:#1c2636;backdrop-filter:blur(26px) saturate(1.6)}.notification-icon{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;background:#202a3d;color:white;font-size:21px;font-weight:600;flex-shrink:0}.lock-message>div{flex:1}.lock-message small{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.5px;color:#495569}.screen .lock-message strong{font-size:13px;margin-top:3px}.lock-message p{font-size:11px;margin:0}.screen .unlock{background:#ffffff24;backdrop-filter:blur(16px);border:1px solid #ffffff42;color:white;font-size:12px;border-radius:30px;padding:14px 25px;margin-top:17px;box-shadow:inset 0 1px #ffffff35}.unlock span{margin-left:10px}.screen .home{padding:21px 21px 0;inset:55px 0 17px}.home-widgets{display:grid;grid-template-columns:1fr 1fr;gap:14px}.home-widgets>button{height:132px;border-radius:27px;border:1px solid #fff6;box-shadow:inset 0 1px 1px #fff8,0 5px 17px #14275018}.calendar-widget{padding:14px 13px!important;text-align:left;background:#fffef5ed!important;color:#202125!important}.calendar-widget>span{font-size:9px;letter-spacing:.3px;color:#ef4a4f;display:block;font-weight:600}.calendar-widget>b{font-size:42px;font-weight:300;line-height:1.12;display:block}.calendar-widget>small{font-size:9px;line-height:1.45;display:block;color:#7a7a80;margin-top:6px}.time-widget{background:#eff4ffbd!important;padding:10px!important;color:#252b37!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;backdrop-filter:blur(20px)}.time-widget>small{font-size:9px;font-weight:600;letter-spacing:.5px}.analog-clock{position:relative;width:87px;height:87px;border-radius:50%;background:#fff;box-shadow:0 1px 5px #19284b18}.analog-clock>span{position:absolute;font-size:9px;font-weight:500}.clock-12{top:4px;left:38px}.clock-3{right:5px;top:39px}.clock-6{bottom:4px;left:41px}.clock-9{left:5px;top:39px}.hand{position:absolute;left:42px;bottom:43px;width:3px;background:#242630;border-radius:3px;transform-origin:50% 100%;transform:rotate(var(--hand-turn,0deg))}.hour-hand{height:22px}.minute-hand{height:30px;width:2px}.clock-center{position:absolute;left:40px;top:40px;width:7px;height:7px;border-radius:50%;background:#fc8840}.widget-captions{display:flex;justify-content:space-around;font-size:10px;margin-top:8px;text-shadow:0 1px 3px #1235}.screen .app-grid{gap:23px 12px;margin-top:27px}.screen .app-icon{font-size:10px;font-weight:500;gap:7px;text-shadow:0 1px 3px #10234655}.screen .icon-tile{height:53px;width:53px;border-radius:16px;border:1px solid #ffffff55;box-shadow:inset 0 1px 2px #fffa,0 3px 8px #12274d26;background:linear-gradient(155deg,#f4f6fa,#cdd3db);color:#626b78;overflow:hidden}.screen .icon-tile svg{width:40px;height:40px}.screen .icon-clock{background:#191c23}.screen .icon-gallery,.screen .icon-calendar,.screen .icon-browser{background:linear-gradient(#fff,#f5f7fa)}.screen .icon-gallery svg{width:37px;height:37px}.screen .icon-notes{background:linear-gradient(#ffdf56 0 28%,#fffdf0 28%)}.screen .icon-notes svg{width:44px;height:44px}.screen .icon-calculator{background:linear-gradient(#697079,#3e444d)}.screen .icon-info{background:linear-gradient(#65b8fe,#087afa);color:#fff}.screen .icon-info svg{width:31px;height:31px}.screen .icon-settings svg{width:37px;height:37px;stroke-width:1.4}.calendar-icon{display:flex;flex-direction:column;align-items:center;text-shadow:none}.calendar-icon small{color:#ef484e;font-size:9px;font-weight:600;line-height:1.4}.calendar-icon b{color:#202125;font-size:31px;font-weight:300;line-height:1}.home-tools{margin-top:auto;display:flex;justify-content:center;gap:8px;padding:15px 0}.home-tools button{background:#d9e8ff38;border:1px solid #fff3;border-radius:25px;padding:8px 15px;font-size:11px;backdrop-filter:blur(18px)}.home-customize{width:35px;padding:6px!important;font-size:16px!important}.screen .dock{margin-top:0;border-radius:31px;background:#e1ebff66;border:1px solid #fff7;padding:14px 8px;margin-bottom:15px;box-shadow:inset 0 1px 1px #fff8,0 8px 24px #14264b24;backdrop-filter:blur(28px) saturate(1.6)}.screen .dock .icon-tile{width:51px;height:51px}
.screen .app-view{background:#f2f2f7;padding:59px 20px 35px}.screen .app-view h2{font-size:31px;font-weight:700;letter-spacing:-1px;margin:16px 0 19px}.screen .app-back{color:#007aff;font-size:13px;padding:7px 11px!important;border-radius:22px;background:#ffffffba!important;box-shadow:0 1px 3px #1111;border:1px solid #fff}.screen .app-scroll{padding:2px 1px 15px}.screen .app-view button{border-radius:22px}.screen .app-view input,.screen .app-view textarea{border-radius:20px;border:0;box-shadow:inset 0 0 0 .5px #17254d0a;background:#fff;padding:15px;font-size:15px}.screen .settings-row{border:0;border-radius:23px;padding:19px;margin-bottom:13px;background:#fff;font-size:12px;line-height:1.65}.screen .settings-row b{font-size:15px;margin-bottom:3px}.screen .helper{font-size:11px;color:#7e7f86;line-height:1.6}.screen .app-view label{font-size:11px;font-weight:500;color:#777980;margin:17px 0 9px;padding-left:5px}.screen .wall-options{gap:5px}.screen .wall-options button{border:0;background:white;font-size:10px;padding:12px 3px;border-radius:17px}.screen .wall-options button.active{outline-color:#007aff}.screen input[type=range]{accent-color:#007aff;box-shadow:none;padding:15px 0;background:transparent}.screen #screen-lock{background:#fff;color:#ff3b30;border:0;width:100%;padding:16px}.screen .quicklinks{gap:11px}.screen .quicklinks a{border:0;border-radius:22px;background:white;padding:22px 8px;color:#007aff;font-weight:500;box-shadow:0 2px 8px #15284a06}.screen .google-word{font-size:46px;margin:37px 0 28px;letter-spacing:-2px}.screen .search-submit{border-radius:24px!important;background:#007aff!important;color:white!important;border:0;padding:14px;font-size:13px}.screen[data-app=notes] .app-view{background:#fffdf5}.screen[data-app=notes] .app-back{color:#b68b16}.screen[data-app=notes] h2{margin-bottom:12px}.screen .app-view .note{height:365px;border-radius:20px;background:repeating-linear-gradient(#fffefa 0 29px,#ded8bb44 29px 30px);font-size:16px;line-height:30px;padding:15px;box-shadow:0 2px 13px #4b391108}.screen[data-app=calculator] .app-view{background:#121316;color:white}.screen[data-app=calculator] .statusbar,.screen[data-app=calculator] .homebar{color:#fff}.screen[data-app=calculator] .app-back{background:#ffffff18!important;color:#ffa52e;border-color:#ffffff18}.screen[data-app=calculator] .app-view h2{font-size:24px;font-weight:500;color:#f0f0f3;margin-bottom:0}.screen .calc-output{font-size:54px;font-weight:300;padding:25px 1px 22px;color:#fff;letter-spacing:-2px}.screen .calc-grid{gap:9px}.screen .calc-grid button{height:53px;border-radius:50%;background:#33343a;border:1px solid #ffffff0c;color:white;font-size:23px;font-weight:400;padding:0}.screen .calc-grid button:nth-child(-n+3){background:#a5a5ac;color:#161619}.screen .calc-grid .operator{background:#ff9f0a;color:white;box-shadow:inset 0 1px 1px #ffffff45}.screen .clock-big{font-size:45px;font-weight:300;letter-spacing:-1.8px;margin:35px 0 10px}.screen .clock-actions{gap:18px}.screen .clock-actions button{width:91px;height:65px;border-radius:50px;font-size:12px;border:0}.screen #timer-toggle{background:#d7f3df;color:#198140}.screen #timer-reset{background:#e5e5ea;color:#60616b}.screen .app-scroll hr{border:0;border-top:1px solid #dedee5;margin:28px 0}.screen .calendar{background:white;border-radius:26px;padding:12px 8px;gap:4px}.screen .calendar .today{background:#ff453a}.screen .calendar .weekday{color:#a0a0a8}.screen .gallery{gap:9px}.screen .gallery button{border:0;border-radius:24px}.screen .home,.screen .app-view{animation:os-appear 220ms ease-out both}@keyframes os-appear{from{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}
.system-sheet[hidden]{display:none}.system-sheet{position:absolute;inset:54px 10px 30px;z-index:11;border:1px solid #fff8;border-radius:32px;background:#edf2f8e8;backdrop-filter:blur(30px) saturate(1.6);box-shadow:0 12px 40px #13284d33,inset 0 1px 1px white;color:#1b2130;padding:23px 18px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y}.sheet-heading{display:flex;justify-content:space-between;align-items:center}.sheet-heading h2{font-size:27px;letter-spacing:-1px;margin:0}.system-sheet button{color:#242936}.sheet-close{width:35px;height:35px;border:0;border-radius:50%;background:#fff9;padding:0;font-size:24px}.search-label{display:block;font-size:11px;color:#747e8f;margin:24px 0 8px}.system-sheet input[type=search]{width:100%;padding:13px;border:0;border-radius:19px;background:#fff9;color:#1c2636;font-size:15px}.system-sheet .search-results{grid-template-columns:repeat(3,1fr);gap:20px 9px;margin-top:24px}.system-sheet .app-icon{color:#27324a;text-shadow:none;font-size:9px}.search-empty{grid-column:1/-1;text-align:center;font-size:13px;color:#6d7785;padding-top:30px}.sheet-subtitle{font-size:12px;color:#6c778a;margin:12px 0 26px}.control-card{border:1px solid #fffa;background:#fff8;border-radius:26px;padding:20px}.control-card label{font-size:13px;display:block;margin-bottom:15px}.control-card input{width:100%;accent-color:#007aff}.control-wallpapers{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.control-wallpapers button{padding:8px;background:#fff8;border:2px solid transparent;border-radius:22px;font-size:11px}.control-wallpapers button[aria-pressed=true]{border-color:#007aff}.wall-preview{display:block;height:80px;border-radius:15px;margin-bottom:7px;background:linear-gradient(130deg,#c8e0ff,#4f77c2 45%,#243777 50%,#bbccea)}.wall-ember{filter:hue-rotate(140deg)}.wall-ocean{filter:hue-rotate(335deg)}.wall-moss{filter:hue-rotate(260deg)}.control-settings{border:0;background:#fff9;border-radius:22px;width:100%;padding:15px;font-size:12px;color:#007aff!important}.system-sheet :focus-visible{outline:2px solid #007aff;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.screen .home,.screen .app-view{animation:none}.screen button{transition:none}}

.screen .calc-grid button{height:auto;aspect-ratio:1;width:100%}
/* Liquid Glass: transparent optical layers over the generated Liquid Tide image. */
.screen{--liquid-fill:linear-gradient(var(--glass-angle,135deg),#ffffff30 0%,#ffffff08 42%,#bedcff12 65%,#ffffff25 100%);--liquid-edge:1px solid #edf6ff66;--liquid-shadow:inset 0 1px 1px #ffffffbb,inset 1px 0 1px #ffffff36,inset 0 -1px 1px #b9ddff66,0 7px 18px #00000022;--liquid-blur:blur(13px) saturate(1.55)}
.screen[data-wallpaper=liquid] .wallpaper{background:#071529 url('/wallpapers/liquid-tide.webp') center/cover no-repeat;filter:none}
.screen .icon-tile{position:relative;background:var(--liquid-fill)!important;border:var(--liquid-edge);border-radius:18px;box-shadow:var(--liquid-shadow);backdrop-filter:blur(7px) saturate(1.7);-webkit-backdrop-filter:blur(7px) saturate(1.7);color:#f6fbff!important}
.screen .icon-tile:after{content:"";position:absolute;inset:1px;pointer-events:none;border-radius:16px;background:linear-gradient(145deg,#fff4,transparent 27%,transparent 65%,#d3edff18);box-shadow:inset 0 0 0 .5px #ffffff13}
.screen .icon-tile svg{width:29px;height:29px;stroke-width:1.55;filter:drop-shadow(0 1px 1px #06152666)}.screen .icon-gallery svg{width:33px;height:33px}.screen .icon-settings svg{width:31px;height:31px}.screen .calendar-icon small{color:#e1f0ff}.screen .calendar-icon b{color:#fff;font-size:30px;font-weight:400;text-shadow:0 1px 2px #081b3b33}.screen .app-icon{color:#fff;text-shadow:0 1px 4px #001329cc}
.screen .home-widgets>button{background:var(--liquid-fill)!important;color:#fff!important;border:var(--liquid-edge);box-shadow:var(--liquid-shadow);backdrop-filter:var(--liquid-blur);-webkit-backdrop-filter:var(--liquid-blur)}.screen .calendar-widget>span{color:#e0f2ff}.screen .calendar-widget>small{color:#e1ebf6}.screen .calendar-widget>b{text-shadow:0 2px 8px #001c4422}.screen .analog-clock{background:#e7f4ff16;border:1px solid #effaff33;box-shadow:inset 0 1px 2px #fff5,0 2px 9px #07173522}.screen .analog-clock>span{color:#f2faff}.screen .hand{background:#fff;box-shadow:0 1px 3px #0015}.screen .clock-center{background:#bce8ff}.widget-captions{text-shadow:0 1px 4px #071735aa}
.screen .dock,.screen .home-tools button,.screen .unlock{background:var(--liquid-fill);border:var(--liquid-edge);box-shadow:var(--liquid-shadow);backdrop-filter:var(--liquid-blur);-webkit-backdrop-filter:var(--liquid-blur)}.screen .dock{border-radius:33px;background:linear-gradient(140deg,#e8f6ff2e,#b9d8f40d 50%,#e8f6ff30);box-shadow:inset 0 1px 2px #fff9,inset 0 -1px 1px #d8f4ff55,0 10px 22px #00183235}.screen .dock .icon-tile{background:linear-gradient(145deg,#ffffff20,#ffffff03 50%,#ffffff20)!important;backdrop-filter:blur(5px) saturate(1.5)}
.screen .lock-message{background:linear-gradient(145deg,#e2f2ff26,#b8d7ee13 60%,#e0f3ff2a);border:var(--liquid-edge);box-shadow:var(--liquid-shadow);backdrop-filter:blur(22px) saturate(1.55);-webkit-backdrop-filter:blur(22px) saturate(1.55);color:#fff}.screen .lock-message small{color:#dae9f4}.screen .notification-icon{background:#ffffff18;border:1px solid #fff5;box-shadow:inset 0 1px #fff6}.screen .lock-time{text-shadow:0 2px 20px #02132f33;color:#f0f9ff}
.screen .system-sheet{background:linear-gradient(145deg,#122c48cb,#10253abb);border:var(--liquid-edge);box-shadow:var(--liquid-shadow),0 18px 40px #00152d44;backdrop-filter:blur(25px) saturate(1.6);-webkit-backdrop-filter:blur(25px) saturate(1.6);color:white}.screen .system-sheet button{color:#fff}.screen .sheet-close,.screen .control-card,.screen .control-wallpapers button,.screen .control-settings{background:var(--liquid-fill);border:1px solid #ffffff35;box-shadow:inset 0 1px #fff5,0 3px 8px #0012}.screen .sheet-subtitle,.screen .search-label,.screen .search-empty{color:#c9dbea}.screen .system-sheet input[type=search]{background:#071c3566;border:1px solid #fff4;color:#fff;box-shadow:inset 0 1px 2px #0002}.screen .system-sheet input::placeholder{color:#c2d4e5}.screen .system-sheet .app-icon{color:#fff}.screen .control-settings{color:#def3ff!important}.screen .control-wallpapers button[aria-pressed=true]{border:1px solid #b8e8ff;box-shadow:0 0 0 1px #b8e8ff,inset 0 1px #fff9}.screen .wall-liquid{background:#071529 url('/wallpapers/liquid-tide.webp') center 60%/cover}.screen .control-wallpapers button:first-child{grid-column:1/-1}.screen .control-wallpapers button:first-child .wall-preview{height:90px}.screen .system-sheet :focus-visible{outline-color:#bfeaff}
/* App content retains an opaque-enough reading plane; navigation and controls stay glass. */
.screen .app-view{background:linear-gradient(150deg,#eff6fde8,#e0eaf2e3);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.screen .app-back{background:linear-gradient(145deg,#ffffffb0,#ffffff40)!important;border:1px solid #ffffffc0;box-shadow:inset 0 1px #fff,0 3px 12px #13304a12}.screen .settings-row,.screen .quicklinks a,.screen .calendar{background:linear-gradient(145deg,#ffffffb5,#ffffff65);border:1px solid #ffffffb0;box-shadow:inset 0 1px #fff,0 4px 14px #29456509;backdrop-filter:blur(12px)}.screen .wall-options button{background:#ffffff70;border:1px solid #fff9;font-size:9px}.screen .app-view input:not([type=range]){background:#ffffff9c;border:1px solid #ffffffbb}.screen[data-app=notes] .app-view{background:linear-gradient(145deg,#fffdf3f5,#f4f4e9eb)}.screen .app-view .note{background:repeating-linear-gradient(#fffffbce 0 29px,#dbd8bc66 29px 30px);border:1px solid #ffffffb0;box-shadow:inset 0 1px #fff,0 5px 18px #1832470c}.screen[data-app=calculator] .app-view{background:linear-gradient(150deg,#101a28f0,#08111dd9)}.screen .calc-grid button{background:linear-gradient(140deg,#ffffff29,#ffffff0a);border:1px solid #ffffff48;box-shadow:inset 0 1px 1px #ffffff66,0 4px 9px #0002;backdrop-filter:blur(10px)}.screen .calc-grid button:nth-child(-n+3){background:linear-gradient(135deg,#e9f4ffb0,#d1e4f066);color:#111d29}.screen .calc-grid .operator{background:linear-gradient(140deg,#ffc164c9,#e78a1c99);border-color:#ffe3aaa6;color:white}.screen #timer-toggle,.screen #timer-reset{border:1px solid #fff9;box-shadow:inset 0 1px #fff9,0 4px 12px #1631450b}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.screen .icon-tile,.screen .home-widgets>button,.screen .dock,.screen .lock-message{background:#25445cdd!important}.screen .system-sheet{background:#122a43f5}.screen .app-view{background:#eff4f9}.screen[data-app=calculator] .app-view{background:#101822}}
