/* Worklab by Architevo: the map with what is nearby (after Xheko Imperial's), in Worklab's black and white */
.wlm { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; background: rgba(8,8,9,.62); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #151515; opacity: 0; transition: opacity .3s ease; }
.wlm.is-on { opacity: 1; }
.wlm *, .wlm *::before { box-sizing: border-box; }
.wlm button, .wlm a { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; text-decoration: none; }
.wlm svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wlm__card { width: min(1280px, 92vw); height: min(860px, 88vh); height: min(860px, 88dvh); display: flex; flex-direction: column; background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); transform: translateY(14px); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.wlm.is-on .wlm__card { transform: none; }
.wlm__top { display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 20px; border-bottom: 1px solid #ecebe7; }
.wlm__head { flex: 1; min-width: 0; display: flex; align-items: center; gap: 16px; }
.wlm__head img { height: 30px; width: auto; flex: none; }
.wlm__head span { font-size: 13px; color: #6e6e6e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* (.wlm .wlm__dir: the reset of links above must not take its padding away) */
.wlm .wlm__dir { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 16px; border-radius: 10px; background: #151515; color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; flex: none; }
.wlm .wlm__dir:hover { background: #000; }
.wlm__x { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.wlm__x:hover { background: #f1f0ec !important; }
.wlm__body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.wlm__frame { position: relative; background: #ecebe7; min-height: 0; }
.wlm__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wlm__near { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; padding: 18px 16px 16px; border-left: 1px solid #ecebe7; background: #fafaf8; }
.wlm__near h3 { margin: 0 0 10px 4px; font-size: 14px; font-weight: 600; }
.wlm__near ul { margin: 0; padding: 0; list-style: none; }
.wlm__near li { border-bottom: 1px solid #ecebe7; }
.wlm__item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 6px 11px 4px; text-align: left; border-radius: 4px; }
.wlm__item:hover { background: #f0efeb !important; }
.wlm__ic { width: 34px; height: 34px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; border: 1px solid #dedcd6; }
.wlm__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wlm__txt b { font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.wlm__txt small { font-size: 13px; color: #6e6e6e; }
.wlm__go { flex: none; color: #6e6e6e; }
.wlm__note { margin: 12px 4px 0; font-size: 12px; color: #8b8b8b; }
@media (max-width: 767px), (max-height: 560px) {
  .wlm__card { width: 100%; height: 100%; border-radius: 0; }
  .wlm__top { padding: calc(8px + env(safe-area-inset-top)) 8px 8px 14px; }
  .wlm__head img { height: 24px; }
  .wlm__head span { display: none; }
  .wlm .wlm__dir { padding: 0 14px 0 12px; font-size: 13px; }
}
@media (max-width: 767px) {
  .wlm__body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .wlm__near { border-left: 0; border-top: 1px solid #ecebe7; max-height: 44vh; max-height: 44dvh; padding: 12px 12px calc(10px + env(safe-area-inset-bottom)); }
}
@media (max-width: 767px) and (orientation: landscape), (max-height: 560px) and (orientation: landscape) { .wlm__body { grid-template-columns: minmax(0, 1fr) 260px; grid-template-rows: none; } .wlm__near { border-top: 0; border-left: 1px solid #ecebe7; max-height: none; } }
@media (prefers-reduced-motion: reduce) { .wlm, .wlm__card { transition: none; } }

/* the name of the view the visitor is in, at the top in the middle */
.wlt { position: absolute; z-index: 1; top: 18px; left: 50%; transform: translate(-50%, -6px); max-width: calc(100vw - 140px); pointer-events: none;
  color: #fff; font: 500 16px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: .02em; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 3px rgba(0,0,0,.55), 0 0 14px rgba(0,0,0,.35);
  opacity: 0; transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.wlt.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 767px) { .wlt { top: calc(14px + env(safe-area-inset-top)); font-size: 15px; max-width: calc(100vw - 110px); } }
@media (prefers-reduced-motion: reduce) { .wlt { transition: none; } }

/* the cover while the panorama comes back after the phone took its drawing away (Worklab's orange, the logo) */
.wlv { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; background: #C64C37;
  opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.wlv.is-on { opacity: 1; pointer-events: auto; }
.wlv img { width: min(260px, 60vw); height: auto; }
.wl-reviving #layer .gin, .wl-reviving #layer .gin-win, .wl-reviving .wls { visibility: hidden !important; }

/* the small credit in the bottom right corner */
.wlc { position: absolute; z-index: 2; right: 10px; bottom: 7px; bottom: calc(7px + env(safe-area-inset-bottom)); color: rgba(255,255,255,.85); text-decoration: none;
  font: 400 9px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: .03em; text-shadow: 0 1px 3px rgba(0,0,0,.6); opacity: .85; }
.wlc:hover { color: #fff; text-decoration: underline; }

/* the names under the walk circles, and signs pinned in a view */
.wls { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
/* (its place is never eased: an eased place trails the circle while the panorama moves; only the fade and, on a
   computer, the slide under the grown bubble are) */
.wls__lab { position: absolute; transform: translate(-50%, 4px); padding: 5px 11px; border-radius: 6px; background: rgba(15,15,16,.62); color: #fff;
  font: 500 13.5px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; white-space: nowrap; opacity: 0;
  transition: opacity .2s ease, transform .25s ease; }
.wls__lab.is-on { opacity: 1; transform: translate(-50%, 0); }
.wls__lab.is-on.is-big { transform: translate(-50%, 28px); }
@media (max-width: 767px) { .wls__lab { font-size: 12.5px; padding: 4px 9px; } }
/* footprints on the floor (their perspective comes from the script); white, see-through, under everything else */
.wlf { position: absolute; inset: 0; pointer-events: none; }
.wlf i { position: absolute; left: 0; top: 0; width: 40px; height: 100px; transform-origin: 0 0; background: center / 100% 100% no-repeat;
  opacity: 0; filter: drop-shadow(0 0 1px rgba(0,0,0,.55)) drop-shadow(0 0 3px rgba(0,0,0,.25)); will-change: transform, opacity; }

/* Worklab's orange, a thin white line, white words and a strong white arrow */
/* (width: max-content = the card keeps its own width and its lines wherever it is on the screen; without it the lines
   broke differently near the edges while the panorama moved) */
.wls__sign { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; width: max-content; max-width: min(320px, 72vw); box-sizing: border-box; padding: 10px 15px 10px 10px;
  border-radius: 10px; background: #C64C37; border: 1.5px solid rgba(255,255,255,.95); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.3);
  font: 600 14px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; opacity: 0; transition: opacity .4s ease; }
.wls__sign.is-on { opacity: 1; }
.wls__sign svg { width: 28px; height: 28px; flex: none; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.wls__sign--right svg { transform: rotate(180deg); }
.wls__sign--up svg { transform: rotate(90deg); }
.wls__sign--down svg { transform: rotate(-90deg); }
/* a sign over a walk circle: its bottom stays clear of the circle, also when it grows into the picture of the next room */
.wls__sign--over { transform: translate(-50%, -100%); }

/* the info window: its text cannot be selected (a tap on a word opened Google's "touch to search" on phones); only the X closes it */
#layer .gin-win, #layer .gin-win * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
/* info points stay UNDER the menu, its tab and the buttons (menu 6, tab 7, buttons 13; the points were 9) */
#layer .gin { z-index: 5 !important; }
/* a phone: the info window is a card floating in the middle, between the menu tab and the buttons (not a sheet at the
   bottom of the screen) */
@media (max-width: 767px) {
  #layer .gin-win { top: 0 !important; bottom: 0 !important; left: 0 !important; right: 0 !important; margin: auto !important;
    width: min(330px, calc(100% - 136px)) !important; height: fit-content !important; max-height: calc(100% - 150px) !important;
    border-radius: 14px !important; box-shadow: 0 18px 50px rgba(0,0,0,.38) !important; overflow-y: auto !important; }
  #layer .gin-win h3 { font-size: 19px !important; }
  #layer .gin-win p { font-size: 14.5px; }
}
/* a phone held sideways: the buttons in two columns, so all of them stay on the screen */
@media (orientation: landscape) and (max-height: 500px) {
  #layer .gbt { display: grid !important; grid-auto-flow: column; grid-template-rows: repeat(4, auto); justify-items: center; }
}

/* info points: Worklab's orange with a white ring; a white line comes down from the circle to the object */
#layer .gin > span:first-child { background: #C64C37 !important; border: 2px solid #fff !important; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
#layer .gin[data-stem]::before { content: ""; position: absolute; left: 0; top: 24px; width: 2px; margin-left: -1px; height: calc(var(--stem) - 24px);
  background: rgba(255,255,255,.95); box-shadow: 0 0 3px rgba(0,0,0,.45); transform-origin: 50% 0; pointer-events: none; }
#layer .gin[data-stem]::after { content: ""; position: absolute; left: 0; top: var(--stem); width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 4px rgba(0,0,0,.5); pointer-events: none; }

/* the bar's point is the other way round: white with a thin orange ring, an orange "i" and an orange line */
#layer .gin[data-alt] { color: #C64C37 !important; }
#layer .gin[data-alt] > span:first-child { background: #fff !important; border: 1.5px solid #C64C37 !important; }
#layer .gin[data-alt][data-stem]::before { background: #C64C37; box-shadow: 0 0 0 1px rgba(255,255,255,.7), 0 0 3px rgba(0,0,0,.35); }
#layer .gin[data-alt][data-stem]::after { background: #C64C37; box-shadow: 0 0 0 1.5px #fff, 0 0 4px rgba(0,0,0,.45); }

/* the language list: only as wide as its words */
#layer .gbt-langs { min-width: 0 !important; }
#layer .gbt-langs > button { padding: 5px 12px !important; font-size: 13px !important; }

/* the albums sit on the middle line of the screen */
#layer .ggl-albums { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 767px) { .wls__sign { font-size: 13px; padding: 8px 12px 8px 8px; } }

/* Worklab's orange, frosted: the menu's open/close tab, the buttons on the right and the language list */
#layer .gsb-handle { background: rgba(198,76,55,.55) !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-radius: 10px !important; border: 1px solid rgba(255,255,255,.28) !important; text-shadow: none !important; height: 118px !important; }
#layer .gbt > button { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-radius: 10px !important; }
#layer .gbt-langs { background: rgba(198,76,55,.72) !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.28); }

/* help: rings around the buttons and their names, the gesture in the middle (from Xheko Imperial) */
.wlh { position: fixed; inset: 0; z-index: 2147483100; background: rgba(10,10,12,.66); color: #fff; cursor: pointer; opacity: 0; transition: opacity .25s ease;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.wlh.is-on { opacity: 1; }
.wlh__ring { position: fixed; border: 1.5px solid rgba(255,255,255,.95); border-radius: 9px; pointer-events: none; }
.wlh__lab { position: fixed; transform: translateY(-50%); display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.wlh__lab i { display: block; width: 16px; height: 1px; background: rgba(255,255,255,.9); flex: none; }
.wlh__lab--left { flex-direction: row-reverse; }
.wlh__center { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(440px, calc(100vw - 40px)); text-align: center; }
.wlh__gesture { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.4; }
.wlh__gesture svg { width: 34px; height: 34px; flex: none; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.wlh__go { margin-top: 22px; min-height: 44px; padding: 0 24px; border: 1.5px solid #fff; border-radius: 10px; background: transparent; color: #fff; font: 600 15px/1 inherit; cursor: pointer; }
.wlh__go:hover { background: #fff; color: #15171A; }
.wlh__center.is-card { width: min(360px, calc(100vw - 32px)); max-height: calc(100% - 40px); overflow-y: auto; padding: 18px 20px; text-align: left; background: rgba(18,18,20,.96); border-radius: 12px; }
.wlh__center.is-card h2 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.wlh__center.is-card ul { margin: 0 0 14px; padding: 0; list-style: none; }
.wlh__center.is-card li { display: flex; align-items: center; gap: 12px; padding: 5px 0; font-size: 14.5px; border-top: 1px solid rgba(255,255,255,.08); }
.wlh__center.is-card li:first-child { border-top: 0; }
.wlh__ic { width: 32px; height: 32px; flex: none; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.5); border-radius: 7px; font-size: 11px; font-weight: 700; }
.wlh__ic svg { width: 18px !important; height: 18px !important; }
.wlh__center.is-card .wlh__gesture { justify-content: flex-start; font-size: 15px; }
.wlh__center.is-card .wlh__go { width: 100%; margin-top: 16px; }
/* a phone held sideways: the list card in two columns, so it fits the low screen without scrolling */
@media (orientation: landscape) and (max-height: 500px) {
  .wlh__center.is-card { width: min(580px, calc(100vw - 32px)); padding: 14px 20px; }
  .wlh__center.is-card h2 { font-size: 17px; margin-bottom: 4px; }
  .wlh__center.is-card ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; margin-bottom: 8px; }
  .wlh__center.is-card li { padding: 3px 0; font-size: 14px; }
  .wlh__center.is-card li:nth-child(2) { border-top: 0; }
  .wlh__center.is-card .wlh__ic { width: 28px; height: 28px; }
  .wlh__center.is-card .wlh__go { margin-top: 8px; min-height: 40px; }
}
/* a phone: smaller names, and the line about swiping under the column of buttons, across the screen */
.wlh.is-narrow .wlh__lab { font-size: 12.5px; gap: 6px; }
.wlh.is-narrow .wlh__lab i { width: 10px; }
.wlh__center.is-low { left: 16px; right: 16px; width: auto; transform: none; }
.wlh__center.is-low .wlh__gesture { font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .wlh, .wls__lab, .wls__sign { transition: none; } }

/* GM360's card on a right click (from Xheko Imperial) */
@keyframes wlFade { from { opacity: 0; } }
.gmcard { position: fixed; z-index: 2147483200; display: grid; grid-template-columns: auto auto; gap: 0; width: max-content; max-width: calc(100vw - 16px);
  background: #fff; color: #15171A; border-radius: 10px; box-shadow: 0 18px 50px rgba(0,0,0,.30), 0 0 0 1px rgba(21,23,26,.06);
  font-family: Arial, Helvetica, sans-serif; animation: wlFade .18s ease both; }
.gmcard *, .gmcard *::before { box-sizing: border-box; }
.gmcard a { text-decoration: none; color: inherit; }
.gmcard.is-leaving { opacity: 0; transition: opacity .2s ease; }
.gmcard__x { position: absolute; z-index: 2; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; background: #C9A24A; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.25); cursor: pointer; border: 0; padding: 0; }
.gmcard__x:hover { background: #D9B560; }
.gmcard__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.gmcard__brand { padding: 22px 26px 20px; width: 210px; }
.gmcard__logo { display: block; width: 128px; }
.gmcard__svg { display: block; width: 100%; height: auto; }
.gmcard__svg .logo__gm { fill: #15171A; }
.gmcard__svg .logo__num { fill: #B8912F; }
.gmcard__sub { margin: 12px 0 16px; font-size: 12.5px; line-height: 1.45; color: #4A4F57; }
.gmcard__soc { display: flex; gap: 10px; }
.gmcard__soc a { width: 34px; height: 34px; border-radius: 50%; background: #15171A; color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.gmcard__soc a:hover { background: #7A5C12; }
.gmcard__soc svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gmcard__cred { position: relative; padding: 22px 28px 20px 26px; display: flex; flex-direction: column; min-width: 190px; }
.gmcard__cred::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 1px; background: #D5D6D1; }
.gmcard__k { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #B8912F; font-weight: 700; }
.gmcard__v { margin: 3px 0 14px; font-size: 15px; line-height: 1.3; }
.gmcard__cta { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 16px; border-radius: 999px;
  background: #C9A24A; color: #15171A !important; font-size: 13px; font-weight: 700; white-space: nowrap; }
.gmcard__cta:hover { background: #D9B560; }
.gmcard__cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 520px) {
  .gmcard { grid-template-columns: 1fr; width: min(300px, calc(100vw - 32px)); }
  .gmcard__brand, .gmcard__cred { width: auto; }
  .gmcard__cred { padding-top: 18px; }
  .gmcard__cred::before { left: 26px; right: 26px; top: 0; bottom: auto; width: auto; height: 1px; }
}
