/* Compact phone desktop; the player and lyrics-sized Notepad share a centered column. */
.xp-touch-resize{display:none}
@media(max-width:600px){
 :root{--xp-bar-height:38px;--xp-icon-size:clamp(26px,7.7vw,32px);--xp-shortcut-width:calc((100vw - 32px) / 4);--xp-shortcut-height:58px;--xp-shortcut-rows:3;--xp-mobile-top:204px;--xp-mobile-note-height:clamp(112px,16dvh,144px);--xp-mobile-player-size:min(calc(100vw - 20px),max(140px,calc(var(--xp-work-height) - var(--xp-mobile-top) - var(--xp-mobile-note-height) - 24px)))}
 .xp-shortcuts{inset:6px 6px auto;height:186px;grid-template-rows:repeat(3,58px);grid-auto-columns:var(--xp-shortcut-width);gap:4px;padding:0 2px 4px}
 .xp-shortcuts .xp-desktop-icon{width:var(--xp-shortcut-width);height:58px;padding:2px 1px;gap:2px;font-size:10px;line-height:11px}
 .xp-shortcuts .xp-desktop-icon>img,.xp-shortcuts .xp-media-icon-large{width:var(--xp-icon-size);height:var(--xp-icon-size);flex-basis:var(--xp-icon-size)}
 .xp-shortcuts .xp-desktop-icon>span:last-child{max-width:100%;overflow-wrap:normal}
 #xp-media-player:not(.is-maximized){left:calc((100vw - var(--xp-mobile-player-size)) / 2);top:var(--xp-mobile-top);width:var(--xp-mobile-player-size);height:var(--xp-mobile-player-size);min-width:140px;min-height:140px;max-width:calc(100vw - 12px);max-height:calc(var(--xp-work-height) - 12px)}
 #xp-notepad:not(.is-maximized){left:calc((100vw - var(--xp-mobile-player-size)) / 2);top:calc(var(--xp-mobile-top) + var(--xp-mobile-player-size) + 12px);width:var(--xp-mobile-player-size);height:var(--xp-mobile-note-height);min-width:140px;min-height:96px;max-height:calc(var(--xp-work-height) - 12px)}
 .xp-notepad{padding:2px 2px 3px;border-radius:6px 6px 0 0;resize:none}
 .xp-notepad-titlebar{height:24px;min-height:24px;padding:2px 2px 3px 4px;gap:3px}.xp-notepad .title-bar-text{font-size:10px}.xp-notepad-titlebar>img,.xp-notepad-titlebar>.xp-media-icon{width:14px;height:14px;flex-basis:14px}
 .xp-notepad .title-bar-controls{height:20px;gap:3px}.xp-notepad .title-bar-controls button{width:20px;height:20px}.xp-close span{font-size:21px}.xp-maximize{width:10px;height:10px}
 .xp-player-menubar,.xp-notepad-menubar{height:18px}.xp-player-menubar button,.xp-menu-group>button{font-size:10px;line-height:14px;padding:1px 5px}.xp-menu{top:18px}.xp-player-viewbar{height:12px}.xp-player-status{height:14px;font-size:10px;line-height:12px}.xp-player-transport{height:40px}.xp-player-transport::before{top:-2px}
 .xp-notepad textarea{font-size:12px;line-height:1.35;padding:4px 6px}.xp-notepad textarea::-webkit-scrollbar{width:10px;height:10px}.xp-notepad-status{min-height:16px;font-size:10px;padding:1px 25px 1px 5px}.xp-notepad-status span{min-width:100px}
 .xp-task-notepad{height:30px;width:42px;flex-basis:42px;margin-top:4px;margin-left:5px;padding:4px}.xp-task-notepad img,.xp-task-notepad>.xp-media-icon{width:18px;height:18px;flex-basis:18px}
 .xp-start-user{padding:9px;font-size:20px;gap:10px}.xp-user-picture{width:44px;height:44px;flex-basis:44px}.xp-start-item{font-size:12px;min-height:46px;gap:7px}.xp-start-item>img,.xp-start-item>.xp-media-icon{width:26px;height:26px;flex-basis:26px}.xp-start-footer{height:20px}
 .xp-touch-resize{display:block;position:absolute;right:0;bottom:0;width:34px;height:34px;padding:0;border:0;background:linear-gradient(135deg,transparent 45%,#c4d9fa99 46%);z-index:8;touch-action:none;cursor:nwse-resize;border-radius:0;color:#174da8}
 .xp-touch-resize::after{content:'';position:absolute;right:5px;bottom:5px;width:13px;height:13px;background:repeating-linear-gradient(135deg,transparent 0 3px,#174da8 3px 4px,transparent 4px 6px);clip-path:polygon(100% 0,100% 100%,0 100%)}
 .xp-touch-resize:focus-visible{outline:2px dotted #fff;outline-offset:-3px}.xp-app-window.is-maximized .xp-touch-resize{display:none}
}
