html.maintenance-locked, html.maintenance-locked body { overflow: hidden !important; overscroll-behavior: none; }
.maintenance-gate { box-sizing: border-box; width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); border: 0; background: #070b16; color: #eef5ff; }
.maintenance-gate[open] { display: grid; place-items: center; }
.maintenance-gate::backdrop { background: #070b16; }
.maintenance-gate__card { width: min(100%, 520px); padding: clamp(24px, 6vw, 48px); border: 1px solid #224a7a; border-radius: 28px; background: radial-gradient(ellipse at top, #122e50, #0d1729 72%); box-shadow: 0 24px 100px #0006; text-align: center; }
.maintenance-gate__card img { width: 76px; height: 76px; border-radius: 20px; margin: 0 auto 24px; }
.maintenance-gate__card small { display: block; color: #93c5fd; font-size: 12px; font-weight: 750; letter-spacing: .14em; }
.maintenance-gate__card h1 { margin: 18px 0; font-size: clamp(25px, 5vw, 36px); line-height: 1.2; }
.maintenance-gate__card p { color: #bdcde2; line-height: 1.75; overflow-wrap: anywhere; }
.maintenance-gate__card button { width: 100%; min-height: 52px; margin-top: 20px; padding: 14px 20px; border: 1px solid #60a5fa; border-radius: 14px; color: #fff; background: #1d4ed8; font: inherit; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.maintenance-gate__card button:hover { background: #2563eb; }
.maintenance-gate__card button:focus-visible { outline: 3px solid #bfdbfe; outline-offset: 4px; }

.maintenance-gate__card .maintenance-gate__reassurance {font-size:13px;color:#9eb3ce;border-top:1px solid #24405f;margin-top:22px;padding-top:18px;}
.maintenance-gate:not([open]) {display:none;}
