.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.app-library { width:min(100%,1080px); margin:54px auto 0; }
.library-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin:0 0 24px; text-shadow:0 1px 12px #0004; }
.library-heading h1 { margin:0 0 6px; font-size:clamp(24px,4vw,32px); letter-spacing:-.035em; }
.library-summary { margin:0; color:#e0e6f1; font-size:13px; }
.library-tools { display:flex; align-items:center; gap:16px; }
.library-tools a { color:#e0e6f1; font-size:13px; text-underline-offset:3px; white-space:nowrap; }
#app-search { width:min(270px,40vw); min-height:42px; padding:9px 14px; border:1px solid #ffffff50; border-radius:14px; color:#fff; background:#111c38c9; font:inherit; font-size:15px; backdrop-filter:blur(12px); }
#app-search::placeholder { color:#c5cee1; }
#app-search:focus-visible { outline:2px solid #fff; outline-offset:3px; }
#app-groups { display:grid; gap:29px; }
.app-group-title { margin:0 0 14px; color:#e8edfa; font-size:15px; font-weight:600; letter-spacing:.01em; text-shadow:0 1px 6px #0005; }
.app-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(104px,1fr)); gap:23px 14px; }
.app { min-width:0; display:flex; flex-direction:column; align-items:center; gap:7px; padding:0; border:0; border-radius:14px; background:none; color:#fff; font:inherit; text-decoration:none; cursor:pointer; outline:none; }
.app img { width:72px; height:72px; border-radius:22%; display:block; object-fit:cover; box-shadow:0 7px 20px #0005,0 1px 3px #0003; transition:transform .16s ease,filter .16s ease; }
.app .app-name { max-width:120px; color:#fff; font-size:13px; font-weight:550; line-height:1.2; text-align:center; overflow-wrap:anywhere; text-shadow:0 1px 6px #0008; }
.app-state { max-width:120px; color:#f5dcae; font-size:10px; font-weight:550; line-height:1.2; text-align:center; opacity:.92; }
.app-state.ready,.app-state.tool { color:#aaf0d1; }
.app:active img { transform:scale(.93); filter:brightness(.88); }
.app:focus-visible img { outline:3px solid #fff; outline-offset:3px; }
@media(hover:hover) { .app:hover img { transform:translateY(-3px) scale(1.025); } }
.empty-result { padding:24px 0; color:#e0e6f1; font-size:16px; }
.app-dialog { width:min(440px,calc(100% - 32px)); max-height:calc(100% - 48px); overflow:auto; border:1px solid #ffffff40; border-radius:24px; padding:28px; background:linear-gradient(145deg,#1c2a49,#111a32); color:#fff; box-shadow:0 24px 100px #0009; }
.app-dialog::backdrop { background:#080d1bc4; backdrop-filter:blur(5px); }
.dialog-top { display:flex; align-items:start; justify-content:space-between; gap:16px; }
.dialog-icon { width:76px; height:76px; border-radius:22%; box-shadow:0 8px 22px #0006; }
.dialog-close { width:44px; height:44px; border:1px solid #ffffff40; background:#ffffff0a; color:#fff; border-radius:12px; font:inherit; font-size:25px; cursor:pointer; }
.app-dialog h2 { font-size:24px; line-height:1.2; margin:20px 0 12px; }
.dialog-status { display:inline-block; padding:6px 10px; border:1px solid #ffffff36; border-radius:999px; color:#dbe8ff; background:#ffffff0c; font-size:13px; }
.dialog-note { color:#cbd6e9; }
.app-dialog p { font-size:15px; line-height:1.6; }
.former-link { display:inline-block; color:#c0d8ff; font-size:15px; text-underline-offset:4px; margin-top:8px; }
.former-note { font-size:14px!important; color:#b9c7df; }
[hidden] { display:none!important; }
@media(max-width:700px) { .app-library { margin-top:39px; } .library-heading { align-items:stretch; flex-direction:column; gap:15px; margin-bottom:21px; } .library-tools { flex-wrap:wrap; gap:12px; } #app-search { flex:1; width:100%; min-width:180px; } .app-grid { grid-template-columns:repeat(auto-fill,minmax(78px,1fr)); gap:21px 8px; } .app img { width:62px;height:62px; } .app .app-name { font-size:11.5px;max-width:84px; } }
@media(max-width:360px) { .app-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(prefers-reduced-motion:reduce) { .app img { transition:none; } }

.app-views { display:block; max-width:100%; padding:4px 7px; border-radius:999px; background:rgba(16,22,41,.72); color:#eef3ff; font-size:10px; font-weight:600; line-height:1.25; text-align:center; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
