/* Fixed-size tiles reflow as the frame grows, matching the native launcher. */
.shortcut-menu.native-launcher{position:absolute;transform:none;padding:0;max-width:none;max-height:none;overflow:hidden;min-width:0;min-height:0;box-shadow:0 10px 24px #20112b44;clip-path:polygon(24px 0,calc(100% - 24px) 0,100% 24px,100% calc(100% - 24px),calc(100% - 24px) 100%,24px 100%,0 calc(100% - 24px),0 24px);transition:none;touch-action:none;user-select:none}
.native-launcher::before{display:none}
.native-launcher .launcher-frame{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:4}
.native-launcher .shortcut-head{position:absolute;left:var(--launcher-margin);right:var(--launcher-margin);margin:0;gap:5px;cursor:grab;touch-action:none;z-index:2}
.native-launcher.moving .shortcut-head{cursor:grabbing}
.native-launcher .shortcut-head strong{flex:1;min-width:0;font-size:calc(20px * var(--launcher-scale));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.native-launcher .shortcut-head button,.native-launcher.compact .shortcut-head button{flex:none;width:calc(38px * var(--launcher-scale));height:calc(38px * var(--launcher-scale));padding:0;font-size:calc(26px * var(--launcher-scale));cursor:pointer}
.native-launcher .shortcut-head #compact-menu{font-size:calc(30px * var(--launcher-scale))}
.native-launcher.compact .shortcut-head{justify-content:center;gap:calc(10px * var(--launcher-scale))}
/* CD-012: the close × sits after Settings in both sizes; the emblems move left to make room. */
.native-launcher.compact .shortcut-head strong{display:none}
.native-launcher .shortcut-head #close-menu,.native-launcher.compact .shortcut-head #close-menu{display:block;width:calc(20px * var(--launcher-scale));color:#e9e4f2}
.native-launcher .shortcut-head button svg{display:block;width:78%;height:78%;margin:auto;overflow:visible}
.native-launcher .shortcut-head #close-menu svg{width:100%;height:auto}
.native-launcher:not([hidden]){animation:launcher-in .14s ease-out}@keyframes launcher-in{from{opacity:0}}
.native-launcher .shortcut-grid{display:block;position:absolute;inset:0;pointer-events:none}
.native-launcher .shortcut-grid>:nth-child(n),.native-launcher.compact .shortcut-grid>:nth-child(n){position:absolute;display:flex;min-height:0!important;min-width:0;padding:calc(8px * var(--launcher-scale)) calc(5px * var(--launcher-scale));margin:0;grid-column:auto;flex-direction:column;justify-content:center;align-items:center;gap:calc(5px * var(--launcher-scale));pointer-events:auto;font-size:calc(12px * var(--launcher-scale));}
.native-launcher .shortcut-grid>.wide:nth-child(n),.native-launcher.compact .shortcut-grid>.wide:nth-child(n){flex-direction:row;justify-content:flex-start;padding-left:calc(13px * var(--launcher-scale));}
.native-launcher .shortcut-grid>[hidden]{display:none!important}
.native-launcher .shortcut-grid span{font-size:calc(29px * var(--launcher-scale));line-height:1}
.native-launcher .shortcut-grid .app-icon{width:calc(30px * var(--launcher-scale));height:calc(30px * var(--launcher-scale))}
.native-launcher .shortcut-grid .wide .app-icon{width:calc(26px * var(--launcher-scale));height:calc(26px * var(--launcher-scale))}
.native-launcher .shortcut-grid>.launcher-empty{opacity:.4;cursor:default;font-size:calc(11px * var(--launcher-scale))}
.native-launcher .shortcut-pages{position:absolute;bottom:calc(28px * var(--launcher-scale));left:18px;right:18px;height:20px;margin:0;gap:12px;z-index:2;font-size:calc(12px * var(--launcher-scale));}
.native-launcher .shortcut-pages button{padding:2px 10px;font-size:calc(11px * var(--launcher-scale));}
.native-launcher .launcher-resize-tip{position:absolute;bottom:13px;left:24px;right:24px;margin:0;text-align:center;font-size:10px;line-height:11px;color:#d6c8e1;pointer-events:none;z-index:3}
.native-launcher #shortcut-feedback{position:absolute;left:18px;right:18px;bottom:52px;margin:0;padding:10px;background:#312043f5;border:1px solid #af8ccb;border-radius:8px;z-index:3;user-select:text}
.native-launcher .launcher-edge{position:absolute;z-index:6;border:0;padding:0;margin:0;border-radius:0;background:transparent;box-shadow:none;touch-action:none;opacity:0}
.native-launcher .launcher-edge:hover,.native-launcher .launcher-edge:focus-visible{opacity:1;background:#32edff33;outline:1px solid #72f6ff;outline-offset:-2px}
.native-launcher .edge-n{top:0;left:18px;right:18px;height:18px;cursor:n-resize}
.native-launcher .edge-s{bottom:0;left:18px;right:18px;height:10px;cursor:s-resize}
.native-launcher .edge-w{left:0;top:18px;bottom:18px;width:10px;cursor:w-resize}
.native-launcher .edge-e{right:0;top:18px;bottom:18px;width:10px;cursor:e-resize}
.native-launcher .edge-nw,.native-launcher .edge-ne,.native-launcher .edge-sw,.native-launcher .edge-se{width:32px;height:32px}
.native-launcher .edge-nw{left:0;top:0;cursor:nw-resize}.native-launcher .edge-ne{right:0;top:0;cursor:ne-resize}
.native-launcher .edge-sw{left:0;bottom:0;cursor:sw-resize}.native-launcher .edge-se{right:0;bottom:0;cursor:se-resize}

.native-launcher .app-icon.mono{filter:brightness(0) invert(1)}
.native-launcher .app-icon.youtube-icon{filter:invert(18%) sepia(97%) saturate(6543%) hue-rotate(350deg) brightness(100%) contrast(119%)}
.native-launcher .app-icon.claude-icon{filter:invert(65%) sepia(35%) saturate(679%) hue-rotate(331deg) brightness(93%) contrast(90%)}

.native-launcher .shortcut-grid>[data-slot-group]{touch-action:none;user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none}
.native-launcher .shortcut-grid img{pointer-events:none;-webkit-user-drag:none}
.native-launcher .shortcut-grid>.swap-source{opacity:.3}
.native-launcher .shortcut-grid>.swap-target,.native-launcher .shortcut-pages>.swap-target{background:#345c65;box-shadow:inset 0 0 0 3px #ffe47c,inset 0 0 0 6px #25eaff}
.native-launcher .shortcut-grid>.shortcut-drag-ghost{pointer-events:none!important;z-index:8;opacity:.88;filter:drop-shadow(0 5px 5px #0008)}
.native-launcher.swapping{cursor:grabbing}

