/* Fit the complete farewell scene below the shared navigation. */
html:has(body.exit-page){height:100%;overflow:hidden}
body.exit-page{height:100dvh;min-height:0;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr);padding:0!important}
.exit-page>.site-head{position:relative!important;top:auto!important;margin:0!important;box-sizing:border-box;width:100%;min-width:0}
.exit-page .exit-stage{display:grid;grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);align-items:stretch;justify-content:stretch;min-width:0;min-height:0;height:100%;overflow:hidden}
.exit-scene-v165{position:relative;display:grid;place-items:center;container-type:size;min-width:0;min-height:0;width:100%;height:100%;overflow:hidden;isolation:isolate}
.exit-scene-v165:before{content:'';position:absolute;inset:-16px;z-index:-1;background:url('assets/gate_uscita_V79_V106.webp') center/cover no-repeat;filter:blur(14px) brightness(.72)}
.exit-illustration-v165{position:relative;width:min(100cqw,calc(100cqh * var(--exit-ratio)));height:min(100cqh,calc(100cqw / var(--exit-ratio)));min-width:0;min-height:0}
.exit-illustration-v165>img{display:block;width:100%;height:100%;max-height:none;max-width:none;object-fit:contain;margin:0}
.exit-scene-v165 .exit-sign-v165{position:absolute;right:2%;top:3%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:10px 18px;background:linear-gradient(#e21a3f,#af0024);border:3px solid #ffe39a;border-radius:8px;box-shadow:0 4px 0 #795a20,0 6px 14px #0005;color:white;text-decoration:none;text-align:center;font-family:Arial,sans-serif;max-width:26%;box-sizing:border-box}
.exit-sign-v165 strong{font-size:clamp(20px,2.2vw,34px);font-weight:900;line-height:1.05;letter-spacing:.05em;white-space:nowrap}
.exit-sign-v165 span{font-size:clamp(10px,.8vw,13px);line-height:1.2}
.exit-sign-v165:hover{filter:brightness(1.12)}
.exit-sign-v165:focus-visible{outline:3px solid white;outline-offset:4px}
.exit-page .exit-note{padding:8px 12px;margin:0;font:12px/1.25 Arial,sans-serif;background:#092b41;color:#edf8ff}
@media(max-width:600px){.exit-scene-v165 .exit-sign-v165{padding:6px 8px;border-width:2px;max-width:31%;gap:2px}.exit-sign-v165 strong{font-size:19px}.exit-sign-v165 span{font-size:9px}.exit-page .exit-note{font-size:11px;padding:7px 8px}}
