/* GaliVue V5.1.153 — inert-shell navigation fallback + desktop signup fit. */
@media (min-width:1101px){
  body.gvf-homepage-v5171 #signupDialog:not(.hidden) > .signup-panel{
    width:min(600px,calc(100vw - 64px))!important;
    max-height:calc(100dvh - 48px)!important;
    overflow:auto!important;
    overscroll-behavior:contain;
  }
  body.gvf-homepage-v5171 #signupDialog .dialog-head h2{max-width:none!important;text-wrap:balance}
}
html.gv51153-fallback-modal-open{overflow:hidden!important}
.gv51153-fallback-layer{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:24px;background:rgba(17,17,15,.54);backdrop-filter:blur(10px)}
.gv51153-fallback-panel{width:min(720px,100%);max-height:calc(100dvh - 48px);overflow:auto;padding:32px;border:1px solid #ded8cd;border-radius:28px;background:#fffdf7;color:#171716;box-shadow:0 28px 80px rgba(0,0,0,.28);outline:none}
.gv51153-fallback-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.gv51153-fallback-head small{font-size:.74rem;font-weight:900;letter-spacing:.14em;color:#6d695f}
.gv51153-fallback-head h2{margin:8px 0 22px;font-size:clamp(1.8rem,4vw,2.45rem);line-height:1;letter-spacing:-.045em}
.gv51153-fallback-close{flex:0 0 auto;width:48px;height:48px;border:1px solid #e5e0d6;border-radius:50%;background:#f5f1e8;font-size:1.8rem;font-weight:900;line-height:1;cursor:pointer}
.gv51153-fallback-panel p{margin:0 0 18px;color:#5e5a52;line-height:1.55}
.gv51153-fallback-actions{display:grid;grid-template-columns:1fr;gap:12px;margin-top:22px}
.gv51153-fallback-actions button{min-height:52px;width:100%;border-radius:14px;font:inherit;font-weight:900;cursor:pointer}
.gv51153-fallback-danger{border:1px solid #e7aaa4;background:#fff8f6;color:#aa342d}
.gv51153-fallback-continue{border:0;background:transparent;color:#171716;text-decoration:underline}
@media (max-width:720px){.gv51153-fallback-layer{padding:20px}.gv51153-fallback-panel{padding:28px 20px;border-radius:24px}}
