.launcher{--home-glass-bg:rgba(55,60,65,.34);--home-glass-border:rgba(255,255,255,.26);--home-glass-highlight:rgba(255,255,255,.3);display:flex;flex:1;min-height:0;flex-direction:column;color:white;position:relative;touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.home-glass{background:var(--home-glass-bg);border:1px solid var(--home-glass-border);box-shadow:inset 0 1px var(--home-glass-highlight),0 3px 14px #0000000d;backdrop-filter:blur(28px) saturate(140%);-webkit-backdrop-filter:blur(28px) saturate(140%);color:white;border-radius:25px}
.launcher-toolbar{height:56px;flex-shrink:0;padding:4px 18px;display:flex;justify-content:space-between}.launcher-toolbar button{height:44px;padding:0 20px;font-size:16px}.launcher button:active{filter:brightness(.95)}
.launcher-grid{position:relative;top:-14px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(var(--grid-rows),minmax(0,1fr));grid-auto-flow:row;gap:10px 8px;flex:1;min-height:0;padding:5px 20px 10px;overflow:hidden}
.launcher-item{position:relative;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;touch-action:pan-y}.launcher-tile{width:100%;height:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column;position:relative;min-width:0}.launcher-tile>.dock-app-icon{flex-shrink:0}.launcher-tile>small{font-size:12px;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:6px;text-shadow:0 1px 3px #0005}.launcher-badge{position:absolute;top:-6px;right:calc(50% - 33px);border-radius:20px;background:#ff3b30;color:white;font:500 11px -apple-system,sans-serif;min-width:20px;padding:3px 5px;text-align:center;z-index:3}
.launcher-minus{position:absolute;top:-6px;left:calc(50% - 32px);z-index:5;background:#e5e5e9e8;color:#333;border-radius:50%;width:25px;height:25px;padding:0!important;display:grid!important;place-items:center;font-size:22px}.launcher-item:has(.launcher-clock)>.launcher-minus,.launcher-item:has(.launcher-widget-image)>.launcher-minus{left:-7px}
.launcher-clock{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:white;text-shadow:0 1px 4px #0002;container-type:inline-size}.launcher-clock strong{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:calc(27cqw * var(--widget-font-scale,1));font-weight:600;letter-spacing:-.025em;font-variant-numeric:tabular-nums;line-height:1;text-shadow:0 1px 1px #ffffff80,0 3px 8px #00000018}.launcher-clock small{font-size:calc(4.5cqw * var(--widget-font-scale,1));font-weight:600;line-height:1.3}.launcher-widget-image{height:100%;width:100%;object-fit:cover;border-radius:24px;pointer-events:none}
.launcher .dock{flex-shrink:0;border-radius:34px;padding:12px 8px;margin:5px 13px calc(11px + var(--safe-bottom));min-height:77px}.launcher .dock .launcher-tile>small{display:none}.launcher .dock .launcher-item{height:51px}.launcher-pages{display:flex;align-items:center;justify-content:center;align-self:center;padding:9px 12px;gap:8px;margin:6px 0;flex-shrink:0}.launcher-pages button{width:6px;height:6px;border-radius:50%;background:#ffffff66;padding:0}.launcher-pages button.active{background:white}.launcher-pages .page-add{width:18px;height:18px;background:transparent;font-size:17px}
.launcher.editing .launcher-item:not(.vacant)>.launcher-tile{animation:jiggle .15s ease-in-out infinite alternate;animation-delay:var(--jiggle-delay,-.04s);transform-origin:50% 50%}.launcher.editing .launcher-item,.launcher.editing .launcher-grid{touch-action:none}.launcher.editing .launcher-item:nth-child(even)>.launcher-tile{animation-direction:alternate-reverse}.launcher-item.vacant{opacity:.25}.launcher-item.hovered{outline:2px solid #ffffff66;border-radius:20px}.launcher-ghost{position:fixed;pointer-events:none;z-index:110;transform:scale(1.05);filter:drop-shadow(0 6px 8px #0002);color:white}.launcher-ghost .launcher-tile{animation:none!important}
@keyframes jiggle{from{transform:rotate(-.7deg)}to{transform:rotate(.7deg)}}
.launcher-mask{position:absolute;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:18px;background:#0002}.launcher-menu{width:100%;max-width:380px;padding:20px;max-height:90%;overflow:auto}.launcher-menu button,.launcher-menu label{display:block;padding:13px 0;width:100%;text-align:left;background:transparent;color:inherit;border-bottom:.5px solid #fff2;font-size:16px}.launcher-menu input:not([type=file]),.launcher-menu select,.folder-sheet input{width:100%;background:#ffffff24;color:white;border:0;border-radius:14px;padding:12px;font:inherit}.launcher-menu option{color:black}.launcher-menu strong{display:block;margin-bottom:12px}.widget-size-preview{height:100px;border-radius:18px;background:#ffffff26;display:grid;place-items:center;margin:16px 0}.widget-size-preview.small{width:50%}.widget-size-preview.large{height:160px}
.folder-icon{width:54px;height:54px;border-radius:14px;display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:7px;background:#ffffff55;backdrop-filter:blur(15px)}.folder-icon img{width:100%;border-radius:3px}.folder-mask{background:#0004}.folder-sheet{width:100%;padding:20px;max-height:85%;overflow:auto}.folder-sheet>button{background:transparent;color:white;padding:10px}.folder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 12px;min-height:150px;margin:20px 0}.folder-grid .launcher-item{min-height:76px}
.clock-screen{background:#000!important;color:white}.clock-screen .status-bar{color:white}.clock-screen .home-indicator{background:white}.clock-view{--clock-glass:rgba(45,45,47,.68);--clock-border:rgba(255,255,255,.13);display:flex;flex:1;min-height:0;flex-direction:column;position:relative;background:#000;color:white}.clock-glass{background:var(--clock-glass);border:1px solid var(--clock-border);box-shadow:inset 0 1px #ffffff13,0 4px 18px #0003;backdrop-filter:blur(28px) saturate(140%);-webkit-backdrop-filter:blur(28px) saturate(140%);color:white;border-radius:28px;padding:12px 22px;transition:transform .18s}.clock-glass:active{transform:scale(.97)}.clock-actions{display:flex;justify-content:space-between;flex-shrink:0;padding:14px 20px}.clock-actions button{height:54px;font-size:18px}.clock-actions .clock-plus{width:54px;border-radius:50%;padding:0;font-size:32px}
.clock-scroll{flex:1;min-height:0;overflow:auto;padding:8px 20px 20px}.clock-scroll>h2{font-size:38px;font-weight:750;margin:12px 0 10px}.clock-time-settings{font-size:12px;color:#ffffff99;background:transparent;padding:0 0 14px}.world-city{display:flex;align-items:center;gap:8px;min-height:132px;border-top:.5px solid #ffffff30}.world-city:last-child{border-bottom:.5px solid #ffffff30}.world-city>div{flex:1;min-width:0}.world-city small{font-size:14px;color:#ffffff99;white-space:nowrap}.world-city h3{font-size:28px;font-weight:400;margin:5px 0}.world-city time{font-size:clamp(48px,15vw,70px);font-weight:300;letter-spacing:-2px;white-space:nowrap;font-variant-numeric:tabular-nums}.city-remove,.city-handle{background:transparent;color:#ff453a;padding:3px;font-size:24px}.city-handle{color:#888;touch-action:none}.clock-tabs{display:flex;justify-content:space-around;flex-shrink:0;margin:8px 14px;padding:7px;border-radius:36px;min-height:78px}.clock-tabs button{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;border-radius:28px;background:transparent;color:white;transition:background .2s,color .2s}.clock-tabs button.active{background:#ffffff20;color:#ff9f0a}.clock-tabs small{font-size:11px}.clock-tabs .ui-icon{width:25px;height:25px}.clock-counter{font-size:64px;font-weight:300;margin:50px 0}.clock-empty{font-size:28px;margin-top:50px}.clock-scroll>p{color:#999;font-size:13px}.clock-scroll input{max-width:100%;color:white;background:#222;border:0;border-radius:12px;padding:12px}.clock-mask{position:absolute;inset:0;background:#0008;z-index:20;display:flex;align-items:flex-end}.clock-sheet{width:100%;max-height:95%;overflow:auto;border-radius:28px 28px 0 0;background:#1c1c1e;padding:20px}.clock-sheet header{display:flex;align-items:center;justify-content:space-between;gap:10px}.clock-sheet h2{font-size:22px}.clock-sheet>button,.clock-sheet>label{display:block;width:100%;padding:16px 0;background:transparent;color:white;text-align:left;border-bottom:.5px solid #fff2}.clock-sheet input:not([type=checkbox]){display:block;width:100%;border:0;padding:12px;background:#333;color:white;border-radius:14px;margin:10px 0}.clock-sheet small{color:#888}.clock-sheet p{color:#999;font-size:13px}
@media(prefers-reduced-motion:reduce){.launcher.editing .launcher-tile{animation:none!important}.clock-glass,.clock-tabs button{transition:none}}
.launcher.editing .home-reorder-move{transition:transform .2s ease-out}.launcher .dock .launcher-minus{background:#e5e5e9e8;color:#333}
.launcher-pages{gap:0;padding:0 7px;max-width:calc(100% - 28px);overflow-x:auto;scrollbar-width:none}
.launcher-pages button{position:relative;width:28px;height:32px;flex-shrink:0;background:transparent}
.launcher-pages button::after{content:'';position:absolute;width:6px;height:6px;left:11px;top:13px;border-radius:50%;background:#ffffff66}
.launcher-pages button.active{background:transparent}.launcher-pages button.active::after{background:white}
.launcher-pages .page-add{width:32px;height:32px}.launcher-pages .page-add::after{display:none}
.launcher-grid{grid-auto-flow:row dense}
.launcher-menu,.folder-sheet,.clock-sheet{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.launcher-menu input:not([type=file]),.launcher-menu select,.folder-sheet input,.clock-sheet input:not([type=checkbox]){font-size:16px;min-width:0;box-sizing:border-box}
.font-library-cell{gap:12px}.font-library-cell .font-library-choice{flex:1;min-width:0;white-space:normal;overflow-wrap:anywhere;font:inherit;color:inherit;border:0;padding:12px 0;background:transparent;text-align:left}
.font-library-cell .font-library-delete{flex-shrink:0;min-height:44px;padding:8px;font:inherit;border:0;background:transparent}
.world-city h3{overflow-wrap:anywhere}.world-city small{white-space:normal;line-height:1.4}.world-city time{flex-shrink:0}
.clock-sheet header{position:sticky;top:-20px;background:#1c1c1e;z-index:1;padding:8px 0}.clock-sheet header button{flex-shrink:0}
.clock-tabs button:focus-visible,.launcher button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
@media(max-height:600px) and (orientation:landscape){.launcher-toolbar{height:44px;padding-top:0;padding-bottom:0}.launcher-toolbar button{height:40px}.launcher-grid{grid-template-rows:repeat(var(--grid-rows),minmax(84px,1fr));overflow-y:auto;overscroll-behavior:contain}.launcher .dock{margin-top:2px;margin-bottom:calc(4px + var(--safe-bottom));padding-top:8px;padding-bottom:8px;min-height:67px}.launcher-pages{margin:2px 0}.clock-actions{padding:4px 20px}.clock-actions button{height:44px}.clock-actions .clock-plus{width:44px}.clock-scroll>h2{font-size:32px;margin:4px 0}.clock-tabs{min-height:60px;margin-top:4px;margin-bottom:4px}.world-city{min-height:100px}}
@media(prefers-reduced-motion:reduce){.home-reorder-move{transition:none}}
.world-city:has(.city-handle) time{font-size:clamp(38px,11vw,58px)}
.clock-title-home{display:block;border:0;padding:0;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;text-align:left;min-height:44px;cursor:pointer}.clock-title-home:active{opacity:.65}
.launcher.layout-pending .launcher-grid{visibility:hidden}

.widget-style-preview{height:160px;border-radius:20px;background:#626974;margin:16px 0;padding:12px;box-sizing:border-box;overflow:hidden}
.widget-style-preview[data-widget-rows="1"]{height:84px}
.widget-style-field{display:flex!important;align-items:center;gap:12px;flex-wrap:wrap}
.widget-style-field input[type="color"]{width:42px;height:32px;padding:0;border:0;background:none}
.widget-style-field output{margin-left:auto;font-size:13px}
.widget-style-field input[type="range"]{width:100%;padding:0}
.widget-style-note{font-size:12px;line-height:1.6;opacity:.75}
