/* TRAVEL WORLD's opening and closing signature; desktop only.
   V3 — 31 Oct 2026. Three corrections to V2:
   1. One single backdrop and one single type scale from the first painted frame, so the opening
      no longer jumps from the sign-in cloak's navy to a flat teal to a radial teal.
   2. If the browser keeps the window open, the farewell offers its close shortcut and a way back.
   3. The exit control keeps its place in the header bar at every desktop width. */
.tw-pres-exit,.tw-presence{display:none}

@media(min-width:821px){

 /* ---- the exit control, in the header bar ---- */
 .tw-pres-exit{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border:1px solid #9db6c52e;border-radius:12px;background:#ffffff04;color:#9bb6c5;cursor:pointer;transition:color .2s,border-color .2s,background .2s}
 .tw-pres-exit svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
 .tw-pres-exit:hover{color:#ebd5a5;border-color:#c6b07a88;background:#c6b07a10}
 .tw-pres-exit:focus-visible{outline:2px solid #a9dfd5;outline-offset:4px}

 /* ---- the curtain ----
    The curtain itself stays transparent: the opening fades the backdrop away to hand the screen
    over to the dashboard, so the colour must sit on the backdrop and never on the curtain. */
 .tw-presence{position:fixed;inset:0;z-index:1900000000;display:flex;align-items:center;justify-content:center;background:transparent;color:#f2f5f7;isolation:isolate;overflow:hidden;font-family:system-ui,-apple-system,sans-serif;direction:ltr}
 .tw-presence[hidden]{display:none!important}
 .tw-pres-backdrop{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 45%,#1c454b 0%,#102b35 28%,#081622 67%)}

 .tw-pres-center{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;width:min(90vw,600px)}
 .tw-pres-emblem{position:relative;width:112px;height:112px;flex:none;will-change:transform}
 .tw-pres-emblem img{display:block;width:100%;height:100%;object-fit:contain;border-radius:24px;background:#fff;box-shadow:0 18px 54px -18px #0009,0 0 50px -15px #8de1cb44}
 .tw-pres-ring{position:absolute;inset:-15px;border:1px solid #a7ddcf25;border-radius:36px;pointer-events:none}
 .tw-pres-ring::after{content:'';position:absolute;inset:-12px;border-radius:46px;border:1px solid #d2ba7820}
 .tw-pres-name{margin:30px 0 0;font-size:24px;font-weight:750;line-height:1.35;letter-spacing:.24em;text-indent:.24em}
 .tw-pres-caption{margin:12px 0 0;color:#9eb9bf;font-size:10px;font-weight:500;letter-spacing:.25em}
 .tw-pres-line{width:66px;height:1px;background:linear-gradient(90deg,transparent,#c5ad77,transparent);margin:27px 0 0}

 /* ---- the finished screen: a hint and a quiet way back, never a question ---- */
 .tw-pres-note{margin:26px 0 0;min-height:18px;color:#d4e6e7;font-size:14px;font-weight:500;line-height:1.7}
 .tw-pres-back{margin:14px 0 0;padding:9px 16px;font:600 13px/1.2 system-ui,-apple-system,sans-serif;border:1px solid #9db6c566;border-radius:20px;background:#ffffff08;color:#d4e6e7;cursor:pointer;transition:background .2s}
 .tw-pres-back:hover{background:#ffffff16}
 .tw-pres-back:focus-visible{outline:2px solid #a9dfd5;outline-offset:4px;color:#bcd9cc}
 .tw-pres-note[hidden],.tw-pres-back[hidden]{display:none!important}

 /* the opening and the farewell carry the mark alone */
 .tw-presence[data-phase=intro] .tw-pres-note,.tw-presence[data-phase=intro] .tw-pres-back,
 .tw-presence[data-phase=outro] .tw-pres-note,.tw-presence[data-phase=outro] .tw-pres-back{display:none!important}
 .tw-presence[data-phase=intro] .tw-pres-name,
 .tw-presence[data-phase=intro] .tw-pres-caption,
 .tw-presence[data-phase=intro] .tw-pres-line{will-change:opacity,transform}

 #twBootCurtain.tw-presence{display:flex}
 #twBootCurtain.tw-presence[hidden]{display:none!important}
}

@media(min-width:821px) and (max-width:980px){
 html[data-tw-dashboard-view=advanced] .av-bar{gap:6px}
 .tw-pres-exit{width:30px;height:34px;border-radius:11px}
 .av-bar>.workspace-tabs button{padding-inline:6px}
 .av-bar .av-clock{padding-left:6px}
}

@media(prefers-reduced-motion:reduce){.tw-pres-exit{transition:none}}
@media(max-width:820px){#twBootCurtain{display:none!important}}
