/* ═══════ ORIGINAL STYLES · REFRESH admin (scoped to .m-refresh) ═══════ */

.m-refresh, .m-refresh *{margin:0;padding:0;box-sizing:border-box}
.m-root.m-refresh{color-scheme:dark;-webkit-text-size-adjust:100%}
.m-root.m-refresh{background:#000;color:#fff;font-family:'Space Grotesk',system-ui,Arial,sans-serif;min-height:100vh;padding:28px 16px 60px;display:flex;flex-direction:column;align-items:center;gap:18px}
.m-root.m-refresh::before{content:'';position:fixed;inset:0;background:radial-gradient(ellipse 60% 40% at 50% 0%,rgba(255,255,255,.07),transparent 70%);pointer-events:none}
.m-refresh h1{font-family:'Orbitron','Arial Black',monospace;font-size:clamp(1rem,4vw,1.3rem);font-weight:900;letter-spacing:.2em;text-transform:uppercase;text-align:center;position:relative}
.m-refresh .sub{font-size:.66rem;letter-spacing:.3em;text-transform:uppercase;color:rgba(255,255,255,.3);text-align:center;margin-top:-8px;position:relative}
.m-refresh .card{width:min(720px,100%);background:rgba(12,12,12,.9);border:1px solid rgba(255,255,255,.1);border-radius:22px;padding:clamp(18px,4vw,28px);box-shadow:0 24px 60px rgba(0,0,0,.8);position:relative}
.m-refresh .card h2{font-size:.68rem;letter-spacing:.3em;text-transform:uppercase;color:rgba(255,255,255,.45);margin-bottom:14px;font-weight:600}
.m-refresh label{display:block;font-size:.62rem;letter-spacing:.2em;text-transform:uppercase;color:rgba(255,255,255,.35);margin-bottom:7px}
.m-refresh input,.m-refresh textarea{width:100%;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12);border-radius:12px;color:#fff;font-family:inherit;font-size:16px;padding:12px 14px;outline:none}
.m-refresh input:focus,.m-refresh textarea:focus{border-color:rgba(255,255,255,.4)}
.m-refresh textarea{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12px;line-height:1.5;height:120px;resize:vertical;word-break:break-all;color:rgba(255,255,255,.85)}
.m-refresh .row{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.m-refresh .btn{height:40px;padding:0 18px;border-radius:12px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);color:#fff;font-family:inherit;font-size:.7rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;touch-action:manipulation}
.m-refresh .btn:hover{background:rgba(255,255,255,.16)}
.m-refresh .btn.primary{background:#fff;color:#000;border-color:#fff}
.m-refresh .note{font-size:.76rem;line-height:1.75;color:rgba(255,255,255,.5);margin-top:12px}
.m-refresh .note code{font-family:ui-monospace,Menlo,Consolas,monospace;color:rgba(255,255,255,.8);font-size:.72rem}
.m-refresh .sum{margin-top:12px;font-size:.8rem;color:rgba(255,255,255,.75);min-height:1.2em}
.m-refresh .ok{color:#7be38f}
.m-refresh ol{margin:6px 0 0 18px;font-size:.78rem;line-height:1.9;color:rgba(255,255,255,.55)}




/* ═══════════════════════════════════════════════════════════════
   MERGE OVERRIDES — the unified sidebar / lock / password replace
   each panel's own sidebar, lock screen and mobile bar.
   ═══════════════════════════════════════════════════════════════ */
.m-root .sidebar,.m-root .sidebar-backdrop,.m-root .mobile-nav,
.m-root #lock,.m-root #lock-screen,.m-root #sidebar{display:none!important}
.m-root .main{margin-left:0!important;min-width:0;flex:1;max-width:100%}
.m-root .scrim-fix{display:none}
.m-root .topbar{top:0}

/* burger shows at the shell breakpoint for every panel */
@media(max-width:860px){
  .m-root .burger,.m-root .mob-menu-btn{display:flex!important;align-items:center;justify-content:center}
  .m-root .content.pv-locked{height:calc(100dvh - 54px)}
}

/* single-page tools */
.m-root.m-m3u.active{display:block!important}
.m-root.m-refresh.active{display:flex!important}
.m-m3u header{position:sticky;top:0}
