/* v18.3.14 Moonlight Glass integrated settings. Scoped; never overrides the store/login. */
#ml96-launcher{position:fixed;right:73px;bottom:calc(142px + env(safe-area-inset-bottom,0px));z-index:11001;background:linear-gradient(135deg,#fffbff,#e6d5f6);border:1px solid #d5bde9;border-radius:15px;min-height:44px;padding:8px 12px;color:#76539c;box-shadow:0 5px 22px #765a8a45;font:700 12px/1.4 system-ui;cursor:pointer}
#ml96-dialog{position:fixed;right:10px;bottom:calc(195px + env(safe-area-inset-bottom,0px));z-index:11002;width:min(435px,calc(100vw - 20px));max-height:min(75dvh,710px);overflow:hidden;color:#543d6e;background:#fffafe;border:1px solid #dac5eb;border-radius:21px;box-shadow:0 14px 40px #49335455;font:13px/1.5 system-ui}
#ml96-dialog[hidden]{display:none!important}.ml96-header{padding:12px 16px;background:linear-gradient(110deg,#efe4fe,#ffe9f3);display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:16px}
.ml96-body{padding:12px 15px;display:grid;gap:8px;max-height:calc(min(75dvh,710px) - 113px);overflow-y:auto;overscroll-behavior:contain}.ml96-body h3{font-size:14px;margin:12px 0 2px}.ml96-body p{font-size:11px;margin:0;color:#6e5a81}
#ml96-dialog button,.ml96-admin button{min-height:40px;min-width:40px;border:1px solid #d9c6e8;background:#fff;border-radius:11px;padding:7px 9px;font:700 12px system-ui;color:#695081;cursor:pointer}
#ml96-dialog :focus-visible,.ml96-admin :focus-visible,#ml96-launcher:focus-visible{outline:3px solid #926ac2;outline-offset:3px}.ml96-menu{display:grid;gap:5px;max-height:210px;overflow:auto}.ml96-menu-row{display:grid;grid-template-columns:minmax(90px,1fr) 40px 40px;gap:5px;align-items:center;padding:4px 5px;border:1px solid #eadfee;border-radius:10px}.ml96-menu-row label{display:flex;align-items:center;gap:7px}.ml96-actions{display:flex;gap:5px;flex-wrap:wrap}.ml96-field{display:flex;gap:8px;align-items:center;justify-content:space-between;min-height:34px}.ml96-field input[type=checkbox]{width:19px;height:19px;accent-color:#8b68b3}.ml96-field select{min-height:38px;border:1px solid #d7c2e8;border-radius:9px;padding:7px;color:#604c7b;background:white}.ml96-compare{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1px;background:#dfcbea;border:1px solid #dfcbea;border-radius:10px;overflow:hidden}.ml96-compare span{background:#fff;padding:8px 4px;text-align:center;font-size:10px;overflow-wrap:anywhere}.ml96-status{margin:0;padding:8px 14px;background:#f6effd;color:#65507e;font-size:11px;max-height:62px;overflow:auto}.ml96-restore{min-height:37px;padding:5px 12px;margin:8px 0;color:#775298;border:1px solid #dfc7ee;background:#fcf4ff;border-radius:11px}
.ml96-mail-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px;background:#faf3ff;border:1px solid #ebdbee;border-radius:11px;flex-wrap:wrap}.ml96-mail-controls label{display:flex;gap:8px;align-items:center;font-size:12px}.ml96-mail-controls small{font-size:11px}.ml96-private #notifications-list :is(h3,strong,p,small){filter:blur(5px);user-select:none}.ml96-mailbox #notifications-list :is(h3,strong){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-clamp:2;overflow:hidden}
.ml96-admin{margin:18px 0;padding:13px;border-radius:15px;border:1px solid #d9c4e5;background:#fcf6ff}.ml96-admin summary{cursor:pointer;font-weight:800;color:#654582;min-height:44px}.ml96-admin-body{display:grid;gap:10px}.ml96-admin-body input,.ml96-admin-body select{min-height:44px;padding:7px;border:1px solid #d9c4e5;border-radius:10px;max-width:100%}.ml96-admin-body p{font-size:12px;color:#746485}
:root[data-ml96-theme=rose]{--yr-tint:#ffebf3}:root[data-ml96-theme=silver]{--yr-tint:#eaf0f7}:root[data-ml96-theme=night]{--yr-tint:#665080}:root[data-ml96-motion=reduce] :is(.yr-navigation,.yr-mailbox,#ml96-dialog){transition:none!important;animation:none!important}
@media(min-width:768px){#ml96-launcher{right:184px;bottom:20px}#ml96-dialog{right:15px;bottom:80px}}
@media(max-width:410px){#ml96-launcher{right:67px;bottom:calc(137px + env(safe-area-inset-bottom,0px));padding:7px;font-size:11px}#ml96-dialog{bottom:calc(185px + env(safe-area-inset-bottom,0px));max-height:72dvh}}
@media(prefers-reduced-motion:reduce){#ml96-launcher,#ml96-dialog{animation:none!important;transition:none!important}}
/* One-row compact tool dock above the bottom navigation on narrow devices. */
@media(max-width:767px){
 #yr-nav-settings{right:8px;bottom:calc(77px + env(safe-area-inset-bottom,0px))}
 #ml96-launcher{right:61px;bottom:calc(78px + env(safe-area-inset-bottom,0px));min-height:46px;padding:7px 9px;white-space:nowrap}
 #yr-extra-menu-launcher{right:190px;bottom:calc(79px + env(safe-area-inset-bottom,0px));min-height:44px;white-space:nowrap}
 #ml96-dialog{bottom:calc(135px + env(safe-area-inset-bottom,0px));max-height:76dvh}
 #yr-extra-menu{bottom:calc(133px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:360px){#ml96-launcher{right:60px;font-size:10px;padding:6px 7px}#yr-extra-menu-launcher{right:176px;font-size:10px;padding:7px}}
@media(min-width:768px){#ml96-launcher{right:85px;bottom:19px}#yr-extra-menu-launcher{right:233px;bottom:19px}}

/* v18.3.16: safe fixed toolbar. Do not allow compact tools to occupy the same slot. */
@media(max-width:767px){
 #yr-nav-settings{right:calc(9px + env(safe-area-inset-right,0px))!important;bottom:calc(79px + env(safe-area-inset-bottom,0px))!important}
 #ml96-launcher{right:calc(72px + env(safe-area-inset-right,0px))!important;left:auto!important;bottom:calc(79px + env(safe-area-inset-bottom,0px))!important;max-width:calc(100vw - 170px);overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}
 #yr-extra-menu-launcher{left:calc(9px + env(safe-area-inset-left,0px))!important;right:auto!important;bottom:calc(79px + env(safe-area-inset-bottom,0px))!important;max-width:84px;box-sizing:border-box}
 #yr-nav-panel,#ml96-dialog,#yr-extra-menu{max-height:calc(100dvh - 155px - env(safe-area-inset-bottom,0px))}
}
@media(max-width:340px){
 #yr-extra-menu-launcher{max-width:63px;padding:8px 5px;font-size:10px}
 #ml96-launcher{right:calc(64px + env(safe-area-inset-right,0px))!important;max-width:calc(100vw - 146px);font-size:10px}
 #yr-nav-settings{min-width:44px;padding:6px!important}
}
