/* Display settings (visitors): Light/Dark/Auto theme and a button style. Stored in the visitor's browser only.
   No data-btn-theme attribute = the site default button style (Fusion).
   Change this file, change its ?v= tag on every page (first 10 characters of its SHA-1). */
html[data-btn-theme] :is(.btn-primary,.ir-navcta,.quote-btn,.submit-btn,.service-cta,.biz-cta,.ticket-search-btn,.nav-emergency,.ir-root :is(a,button)[style*="border-radius: 980px"][style*="background: #00645A"]){background:var(--tp-bg)!important;color:var(--tp-fg)!important;box-shadow:var(--tp-sh)!important;border:0!important}
html[data-btn-theme] :is(.it-go,.ws-go,.ir-web-go,.sam-cta,.ir-root :is(a,button)[style*="border-radius: 980px"][style*="background: #5CF2C4"]){background:var(--tm-bg)!important;color:var(--tm-fg)!important;box-shadow:var(--tm-sh)!important;border:0!important}
html[data-btn-theme] :is(.btn-ghost:not(.it-hero .btn-ghost,.ws-studio .btn-ghost),.ir-root :is(a,button)[style*="border-radius: 980px"][style*="background: #FFFFFF"][style*="solid #00645A"]){color:var(--ts-fg)!important;border-color:var(--ts-bd)!important;box-shadow:var(--ts-sh)!important}
html[data-btn-theme="bright"]{--tp-bg:#19AFA9;--tp-fg:#0B1313;--tp-sh:none;--tm-bg:#19AFA9;--tm-fg:#0B1313;--tm-sh:0 0 0 3px rgba(25,175,169,.3);--ts-fg:#0A5F5C;--ts-bd:#19AFA9;--ts-sh:none}
html[data-btn-theme="gradient"]{--tp-bg:linear-gradient(135deg,#0D807B,#0A5F5C);--tp-fg:#fff;--tp-sh:0 8px 20px rgba(12,116,112,.35);--tm-bg:linear-gradient(135deg,#5CF2C4,#19AFA9);--tm-fg:#0B1313;--tm-sh:0 8px 20px rgba(25,175,169,.35);--ts-fg:#0A5F5C;--ts-bd:#19AFA9;--ts-sh:none}
html[data-btn-theme="duotone"]{--tp-bg:#5CF2C4;--tp-fg:#0B1313;--tp-sh:3px 3px 0 rgba(11,19,19,.4);--tm-bg:#5CF2C4;--tm-fg:#0B1313;--tm-sh:3px 3px 0 #19AFA9;--ts-fg:#0B1313;--ts-bd:#0B1313;--ts-sh:3px 3px 0 rgba(11,19,19,.2)}
html[data-btn-theme="combo"]{--tp-bg:linear-gradient(135deg,#0D807B,#0A5F5C);--tp-fg:#fff;--tp-sh:0 8px 20px rgba(12,116,112,.3);--tm-bg:linear-gradient(135deg,#5CF2C4,#19AFA9);--tm-fg:#0B1313;--tm-sh:0 8px 20px rgba(25,175,169,.3);--ts-fg:#0C7470;--ts-bd:#0C7470;--ts-sh:none}
/* Dark theme: invert the page, then flip back everything that must keep its real colours */
html[data-theme="dark"]{color-scheme:dark;background:#fff;filter:invert(1) hue-rotate(180deg)}
html[data-theme="dark"] :is(img,video,picture,iframe,embed,object,svg:has([fill^="#"])){filter:invert(1) hue-rotate(180deg)}
html[data-theme="dark"] [data-keepdark]{filter:invert(1) hue-rotate(180deg)}
html[data-theme="dark"] [data-keepdark] :is(img,video,picture,iframe,embed,object,svg:has([fill^="#"])){filter:none}
html[data-theme="dark"] :is(#ir-tg,#ir-tp,#ir-st,.ir-hunt-pill,.ir-hunt-card,.ir-hunttab,.ir-huntcard){filter:invert(1) hue-rotate(180deg)}
/* a filter makes the chat host the containing block of its fixed button, so the host is pinned along the bottom edge at zero height */
html[data-theme="dark"] #irescue-chat{position:fixed;left:0;bottom:0;width:100vw;height:0;z-index:2147483000;filter:invert(1) hue-rotate(180deg)}
/* The Display control */
#ir-tg{position:fixed;left:0;top:calc(50% + 34px);z-index:2147483001;display:flex;align-items:center;gap:8px;min-height:46px;padding:0 14px 0 13px;border:2px solid #5CF2C4;border-left:0;border-radius:0 980px 980px 0;background:#0B1313;color:#fff;font:600 13px/1 Inter,system-ui,sans-serif;letter-spacing:.01em;cursor:pointer;box-shadow:3px 5px 16px rgba(0,0,0,.22)}
#ir-tg svg{color:#5CF2C4;transition:transform .5s ease}
#ir-tg:hover svg,#ir-tg.on svg{transform:rotate(90deg)}
#ir-tg:focus-visible,#ir-tp button:focus-visible{outline:3px solid #5CF2C4;outline-offset:3px}
#ir-tp[hidden]{display:none}
#ir-tp{position:fixed;left:12px;top:50%;transform:translateY(-50%);z-index:2147483002;width:288px;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);overflow:auto;box-sizing:border-box;padding:16px;border:2px solid #5CF2C4;border-radius:20px;background:#0B1313;color:#fff;font:500 14px/1.3 Inter,system-ui,sans-serif;box-shadow:0 18px 50px rgba(0,0,0,.4)}
#ir-tp .tp-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
#ir-tp .tp-h b{font-size:16px;font-weight:800;letter-spacing:-.01em}
#ir-tp .tp-l{margin:12px 0 6px;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#A8B3B3}
#ir-tp button{font:inherit;cursor:pointer;color:#fff;background:#1C2424;border:2px solid transparent;border-radius:12px;min-height:40px;padding:0 12px;text-align:left}
#ir-tp button:hover{background:#2A3535}
#ir-tp button[aria-pressed="true"]{border-color:#5CF2C4;background:#0B1313}
#ir-tp .tp-seg{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
#ir-tp .tp-seg button{text-align:center;font-weight:700}
#ir-tp .tp-list{display:grid;gap:6px}
#ir-tp .tp-sw{display:inline-block;width:14px;height:14px;border-radius:50%;margin-right:10px;vertical-align:-2px;box-shadow:0 0 0 1px rgba(255,255,255,.3)}
#ir-tp .tp-x{min-width:36px;min-height:36px;padding:0;text-align:center;font-size:20px;background:transparent;color:#A8B3B3}
#ir-tp .tp-r{display:block;margin:12px 0 0 auto;min-height:36px;background:transparent;color:#A8B3B3;text-decoration:underline}
@media (max-width:640px){#ir-tg{top:calc(38vh - 52px);bottom:auto;transform:none;min-height:40px;padding:0 9px 0 6px}#ir-tg svg{width:18px;height:18px}#ir-tg span{display:none}#ir-tp{top:auto;bottom:12px;right:12px;left:12px;width:auto;transform:none;max-height:calc(100vh - 80px)}}
@media (prefers-reduced-motion:reduce){#ir-tg svg{transition:none}}
/* The Shop tab (right edge). Doors loop open every 6s to show the NOW OPEN sign; hover or focus holds them open. */
#ir-st{position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:2147483000;display:flex;flex-direction:column;align-items:center;gap:2px;width:96px;padding:12px 6px 12px 10px;box-sizing:border-box;border:2px solid #5CF2C4;border-right:0;border-radius:24px 0 0 24px;background:#0B1313;color:#fff;font-family:Inter,system-ui,sans-serif;text-decoration:none;box-shadow:-4px 8px 22px rgba(0,0,0,.28);animation:st-glow 6s ease-in-out infinite;transition:width .2s ease,padding .2s ease}
#ir-st:hover,#ir-st:focus-visible{width:104px;padding-left:14px}
#ir-st:focus-visible{outline:3px solid #5CF2C4;outline-offset:3px}
#ir-st .st-ic{display:block;width:64px;height:60px;overflow:visible}
#ir-st .st-t{font-size:16px;font-weight:800;line-height:1.1;letter-spacing:-.01em}
#ir-st .st-s{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#5CF2C4;white-space:nowrap}
#ir-st .st-door{transform-box:fill-box;animation:st-door 6s ease-in-out infinite}
#ir-st .st-l{transform-origin:left center}
#ir-st .st-r{transform-origin:right center}
#ir-st .st-in{animation:st-light 6s ease-in-out infinite}
#ir-st .st-spk{transform-box:fill-box;transform-origin:center;opacity:0;animation:st-spark 6s ease-in-out infinite}
#ir-st .st-s2{animation-delay:.25s}
#ir-st .st-bub{position:absolute;right:calc(100% + 12px);top:50%;transform:translate(8px,-50%);padding:9px 14px;border-radius:980px;background:#5CF2C4;color:#0B1313;font-size:13px;font-weight:800;white-space:nowrap;box-shadow:0 8px 20px rgba(0,0,0,.25);opacity:0;pointer-events:none;animation:st-bub 6s ease-in-out infinite}
#ir-st .st-bub::after{content:"";position:absolute;right:-6px;top:50%;margin-top:-6px;border:6px solid transparent;border-right:0;border-left-color:#5CF2C4}
#ir-st:hover .st-door,#ir-st:focus-visible .st-door{animation:none;transform:scaleX(.28)}
#ir-st:hover .st-spk,#ir-st:focus-visible .st-spk,#ir-st:hover .st-bub,#ir-st:focus-visible .st-bub{animation:none;opacity:1}
#ir-st:hover .st-bub,#ir-st:focus-visible .st-bub{transform:translate(0,-50%)}
@keyframes st-door{0%,52%,94%,100%{transform:scaleX(1)}62%,84%{transform:scaleX(.28)}}
@keyframes st-light{0%,52%,94%,100%{fill:#FFE27A}62%,84%{fill:#FFF3B8}}
@keyframes st-spark{0%,58%,90%,100%{opacity:0;transform:scale(.4) rotate(0)}66%,82%{opacity:1;transform:scale(1.15) rotate(45deg)}}
@keyframes st-bub{0%,56%,92%,100%{opacity:0;transform:translate(8px,-50%)}64%,84%{opacity:1;transform:translate(0,-50%)}}
@keyframes st-glow{0%,52%,94%,100%{box-shadow:-4px 8px 22px rgba(0,0,0,.28)}62%,84%{box-shadow:-4px 8px 22px rgba(0,0,0,.28),0 0 0 5px rgba(92,242,196,.35),0 0 28px rgba(92,242,196,.55)}}
@media (max-width:640px){#ir-st{top:calc(38vh - 52px);transform:none;width:70px;padding:8px 4px 8px 8px;border-radius:18px 0 0 18px}#ir-st:hover,#ir-st:focus-visible{width:70px;padding-left:8px}#ir-st .st-ic{width:48px;height:45px}#ir-st .st-t{font-size:13px}#ir-st .st-s,#ir-st .st-bub{display:none}}
@media (prefers-reduced-motion:reduce){#ir-st,#ir-st .st-door,#ir-st .st-in,#ir-st .st-spk,#ir-st .st-bub{animation:none}#ir-st .st-door{transform:scaleX(.5)}#ir-st .st-spk{opacity:1}#ir-st,#ir-st:hover{transition:none}}
/* The chat panel is open (chat-widget.js sets html.ir-chat-open): the Display, Shop and treasure hunt tabs step aside so nothing covers it. */
html.ir-chat-open :is(#ir-tg,#ir-tp,#ir-st,.ir-hunttab,.ir-hunt-pill,.ir-huntcard,.ir-hunt-card){visibility:hidden}
/* The open nav menu gets the same room: the Display, Shop and hunt tabs step aside while it is open. */
html:has(.ir-nav.ir-menuopen) :is(#ir-tg,#ir-tp,#ir-st,.ir-hunttab,.ir-hunt-pill,.ir-huntcard,.ir-hunt-card){visibility:hidden}

/* The crew peeks over the work: Anda, Billie, Juno and Kearon (cartoon cutouts) stand behind a
   section or the footer, heads and shoulders above its top edge, and now and then one ducks down.
   Markup: <div class="ir-peek" aria-hidden="true"><div class="ir-peek-row">imgs</div></div> right
   before the element they lean on. themes.js adds one above every page footer. */
.ir-peek{position:relative;height:0;margin-top:96px;z-index:0;pointer-events:none}
.ir-peek+*{position:relative;z-index:1}
.ir-peek-row{position:absolute;left:0;right:0;bottom:calc(var(--peek-sink,92px) * -1);display:flex;align-items:flex-end;justify-content:var(--peek-j,flex-end);gap:var(--peek-gap,0px);padding:0 clamp(16px,5%,64px)}
.ir-peek img{display:block;height:var(--peek-h,160px);width:auto;margin:0 -6px;transform-origin:50% 100%;filter:drop-shadow(0 -2px 10px rgba(0,0,0,.18));animation:ir-peekaboo 9s ease-in-out infinite}
.ir-peek img:nth-child(even){scale:-1 1}
.ir-peek img:nth-child(2){animation-delay:-2.2s;--peek-y:10px}
.ir-peek img:nth-child(3){animation-delay:-4.6s;--peek-y:4px}
.ir-peek img:nth-child(4){animation-delay:-6.8s;--peek-y:14px}
.ir-peek img:nth-child(5){animation-delay:-1.3s;--peek-y:8px}
.ir-peek img:nth-child(6){animation-delay:-5.7s;--peek-y:2px}
.ir-peek img:nth-child(7){animation-delay:-3.4s;--peek-y:12px}
.ir-peek img:nth-child(8){animation-delay:-7.9s;--peek-y:6px}
@keyframes ir-peekaboo{0%,70%,100%{transform:translateY(var(--peek-y,0)) rotate(0)}76%{transform:translateY(calc(var(--peek-y,0px) + 62%)) rotate(0)}84%{transform:translateY(var(--peek-y,0)) rotate(-4deg)}90%{transform:translateY(var(--peek-y,0)) rotate(2deg)}}
.ir-peek-foot{margin-top:72px;--peek-j:center;--peek-h:150px;--peek-sink:88px}
.ir-peek-foot+footer,.ir-peek-foot+.foot{margin-top:0!important}
@media (max-width:640px){.ir-peek{margin-top:76px;--peek-h:124px;--peek-sink:72px}.ir-peek img:nth-child(n+5){display:none}}
@media (prefers-reduced-motion:reduce){.ir-peek img{animation:none;transform:translateY(var(--peek-y,0))}}
