/* OMOI Essence: the tour's own layer over the Panotour tour (room card, buttons, menus, gallery, map, share, help).
   Brand: dark green #104424, light green #D9E8DB, ivory; type from OMOI's own printed menus: Spectral (names and titles),
   Crimson Pro italic (short lines), Ubuntu Light (small text). Quiet sizes: nothing louder than the panorama. */
@font-face { font-family: 'Spectral'; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/spectral-400.woff2) format('woff2'); }
@font-face { font-family: 'Spectral'; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/spectral-500.woff2) format('woff2'); }
@font-face { font-family: 'Crimson Pro'; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/crimson-pro-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Ubuntu'; font-weight: 300; font-style: normal; font-display: swap; src: url(fonts/ubuntu-300.woff2) format('woff2'); }
@font-face { font-family: 'Ubuntu'; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/ubuntu-400.woff2) format('woff2'); }
@font-face { font-family: 'Ubuntu'; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/ubuntu-500.woff2) format('woff2'); }

#om { --g: #104424; --lg: #D9E8DB; --iv: #FBFAF6; --line: #E6E2D8; --ink: #1B2A20; --sub: #5D6B61;
  --serif: 'Spectral', Georgia, serif; --it: 'Crimson Pro', Georgia, serif; --sans: 'Ubuntu', system-ui, sans-serif;
  --pad: 16px; --safeT: env(safe-area-inset-top, 0px); --safeB: env(safe-area-inset-bottom, 0px); --safeL: env(safe-area-inset-left, 0px); --safeR: env(safe-area-inset-right, 0px);
  position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; font-family: var(--sans); color: var(--ink);
  -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased; opacity: 0; transition: opacity .6s ease; }
#om.is-on { opacity: 1; }
#om * { box-sizing: border-box; }
:where(#om) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
:where(#om) a { color: inherit; text-decoration: none; }
:where(#om) svg { display: block; }
#om .lobe { clip-path: url(#om-qf); }
#om:not(.is-on) * { pointer-events: none !important; }

/* ---------- the closed card: one small button that names the room ---------- */
.om-open { position: absolute; left: calc(var(--pad) + var(--safeL)); top: calc(var(--pad) + var(--safeT)); pointer-events: auto; display: flex; align-items: center; gap: 10px;
  max-width: min(300px, calc(100vw - 2 * var(--pad) - 96px)); background: var(--iv); border-radius: 14px; padding: 6px 14px 6px 6px; box-shadow: 0 6px 20px rgba(0,0,0,.22); text-align: left;
  transition: opacity .25s ease, transform .3s ease; }
.om-open__ic { flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--g); display: grid; place-items: center; }
.om-open__ic svg { width: 16px; height: 16px; stroke: #F4EFE6; stroke-width: 1.8; fill: none; stroke-linecap: round; }
.om-open__t { min-width: 0; font-family: var(--serif); font-size: 15px; line-height: 1.15; color: var(--ink); }
.om-open__t b { display: block; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.om-open__t small { display: block; font-family: var(--it); font-style: italic; font-size: 12.5px; color: var(--sub); }
#om.side-open .om-open { opacity: 0; transform: translateX(-10px); pointer-events: none; }

/* ---------- the floating card ---------- */
.om-side { position: absolute; z-index: 5; left: calc(var(--pad) + var(--safeL)); top: calc(var(--pad) + var(--safeT)); width: 256px; max-width: calc(100vw - 2 * var(--pad));
  bottom: calc(var(--pad) + var(--safeB));
  display: flex; flex-direction: column; background: var(--g); border-radius: 18px; overflow: hidden; pointer-events: auto;
  box-shadow: 0 14px 40px rgba(0,0,0,.32), 0 2px 6px rgba(0,0,0,.18);
  transform: translateX(calc(-100% - 30px)); opacity: 0; visibility: hidden; transition: transform .36s cubic-bezier(.2,.8,.2,1), opacity .3s ease, visibility 0s linear .36s; }
#om.side-open .om-side { transform: none; opacity: 1; visibility: visible; transition: transform .36s cubic-bezier(.2,.8,.2,1), opacity .3s ease; }
.om-side__head { flex: none; position: relative; background: var(--iv); padding: 16px 16px 12px; text-align: center; }
.om-side__logo { display: block; width: 84px; height: auto; margin: 0 auto; }
.om-side__tag { margin-top: 5px; font-family: var(--it); font-style: italic; font-size: 14px; color: var(--sub); }
.om-x { position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; border-radius: 50%; background: #EEF3EF; display: grid; place-items: center; }
.om-x svg { width: 12px; height: 12px; stroke: var(--g); stroke-width: 2.3; fill: none; stroke-linecap: round; }
.om-side__list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 0 10px; color: #EEF4EF; scrollbar-width: thin; scrollbar-color: rgba(217,232,219,.3) transparent; }
.om-grp { font-family: var(--it); font-style: italic; font-size: 14px; color: rgba(217,232,219,.6); padding: 10px 22px 2px; }
.om-row { display: flex; align-items: center; gap: 11px; width: calc(100% - 16px); margin: 0 8px; min-height: 38px; padding: 4px 10px 4px 14px; border-radius: 10px; text-align: left;
  font-family: var(--serif); font-size: 15px; color: #EEF4EF; }
.om-row:hover { background: rgba(217,232,219,.08); }
.om-row__n { flex: none; width: 21px; height: 21px; display: grid; place-items: center; font-family: var(--sans); font-size: 10px; font-weight: 500; color: var(--lg); background: rgba(217,232,219,.14); }
.om-row__t { flex: 1 1 auto; min-width: 0; }
.om-row__c { flex: none; font-family: var(--sans); font-size: 11px; color: rgba(217,232,219,.55); }
.om-row__chev { flex: none; width: 14px; height: 14px; stroke: rgba(217,232,219,.7); stroke-width: 1.6; fill: none; }
.om-row.is-here { background: rgba(217,232,219,.13); }
.om-row.is-here .om-row__n { background: var(--lg); color: var(--g); }
.om-row--v { padding-left: 16px; }
.om-here { flex: none; font-family: var(--sans); font-size: 10.5px; color: rgba(217,232,219,.75); white-space: nowrap; }
/* Back: a lighter stripe across the list, so it reads as a button and not as one more room */
.om-back { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 42px; margin: -6px 0 6px; padding: 0 18px; background: #D9E8DB; font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: #104424; }
.om-back:hover { background: #E7F0E8; }
.om-back svg { width: 15px; height: 15px; stroke: #104424; stroke-width: 2; fill: none; stroke-linecap: round; }
.om-lvl2 { font-family: var(--it); font-style: italic; font-size: 15px; color: rgba(217,232,219,.7); padding: 4px 22px 4px; }
.om-side__foot { flex: none; background: var(--iv); padding: 4px 12px; }
.om-soc { display: flex; justify-content: center; align-items: center; gap: 2px; font-size: 12.5px; color: var(--sub); }
.om-soc a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; }
.om-soc svg { width: 18px; height: 18px; stroke: var(--g); fill: none; stroke-width: 1.5; }

/* ---------- on the panorama: white line icons with no boxes, two small pills on top ---------- */
.om-strip { position: absolute; right: calc(10px + var(--safeR)); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 4px; pointer-events: auto; }
.om-strip button { width: 40px; height: 40px; display: grid; place-items: center; opacity: .92; }
.om-strip button:hover { opacity: 1; }
.om-strip svg { width: 21px; height: 21px; stroke: #fff; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.om-strip .is-off svg .on { display: none; }
.om-strip :not(.is-off) > svg .off { display: none; }
.om-lang { position: absolute; right: calc(12px + var(--safeR)); top: calc(12px + var(--safeT)); pointer-events: auto; display: flex; align-items: center;
  font-family: var(--serif); font-size: 15px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.om-lang button { min-width: 34px; height: 40px; padding: 0 4px; opacity: .6; }
.om-lang button.is-on { opacity: 1; }
.om-lang i { font-style: normal; opacity: .55; }
.om-pills { position: absolute; left: 50%; top: calc(16px + var(--safeT)); transform: translateX(-50%); display: flex; gap: 8px; pointer-events: auto; transition: opacity .25s ease; }
.om-pill { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; border-radius: 999px; font-family: var(--serif); font-size: 15px; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.22); }
.om-pill svg { width: 15px; height: 15px; flex: none; }
.om-pill--menu { position: absolute; right: calc(16px + var(--safeR)); bottom: calc(22px + var(--safeB)); pointer-events: auto; background: var(--g); color: #F4EFE6; height: 38px; padding: 0 18px; transition: opacity .25s ease; }
.om-pill--book { background: var(--iv); color: var(--g) !important; padding: 0 20px; }
.om-pill--book svg { fill: currentColor; }
.om-strip, .om-lang { transition: opacity .25s ease; }

/* ---------- windows (menus, gallery, map, share, viewer) ---------- */
.om-veil { position: absolute; inset: 0; background: rgba(8,26,15,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); pointer-events: auto; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
.om-veil.is-open { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.om-panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -48%); width: min(720px, calc(100vw - 32px)); max-height: calc(100% - 32px - var(--safeT) - var(--safeB)); overflow-y: auto; overscroll-behavior: contain;
  background: var(--iv); border-radius: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.4); text-align: center; padding: 36px 40px 32px; transition: transform .3s ease; }
.om-veil.is-open .om-panel { transform: translate(-50%, -50%); }
.om-close { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; background: var(--g); display: grid; place-items: center; z-index: 2; }
.om-close svg { width: 13px; height: 13px; stroke: var(--lg); stroke-width: 2.3; fill: none; stroke-linecap: round; }
.om-kick { font-family: var(--it); font-style: italic; font-size: 16px; color: var(--sub); }
.om-h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--g); margin: 2px 0 0; }
.om-mlang { display: inline-flex; gap: 4px; margin-top: 14px; padding: 3px; border-radius: 999px; background: #EEEAE0; }
.om-mlang button { height: 30px; padding: 0 14px; border-radius: 999px; font-size: 13px; color: var(--sub); }
.om-mlang button.is-on { background: var(--g); color: #F4EFE6; }
/* the three menus as quiet cards: their mark, the name, one line */
.om-books { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.om-bk { display: flex; flex-direction: column; align-items: center; padding: 22px 12px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s ease, transform .2s ease; }
.om-bk:hover { border-color: rgba(16,68,36,.45); transform: translateY(-2px); }
.om-bk__mk { width: 40px; height: 40px; background: var(--lg); display: grid; place-items: center; }
.om-bk__mk > span { width: 26px; height: 26px; border-radius: 50%; background: var(--g); display: grid; place-items: center; }
.om-bk__mk svg { width: 22px; height: 22px; }
.om-bk__n { font-family: var(--serif); font-size: 22px; color: var(--g); margin-top: 12px; }
.om-bk__d { font-family: var(--it); font-style: italic; font-size: 14.5px; color: var(--sub); margin-top: 2px; line-height: 1.25; }
.om-bk__go { margin-top: 12px; font-size: 12.5px; color: var(--g); letter-spacing: .02em; }
.om-bk__en { display: none; margin-top: 4px; font-size: 11px; color: var(--sub); }
.om-bk.is-en .om-bk__en { display: block; }

.om-viewer { position: absolute; inset: 0; background: #0B2214; pointer-events: auto; display: none; flex-direction: column; }
.om-viewer.is-open { display: flex; }
.om-viewer__bar { flex: none; display: flex; align-items: center; gap: 12px; padding: calc(8px + var(--safeT)) 12px 8px 16px; color: var(--lg); }
.om-viewer__bar .om-close { position: static; flex: none; }
.om-viewer__t { flex: 1 1 auto; font-family: var(--serif); font-size: 17px; }
.om-viewer__dl { font-size: 12.5px; color: var(--lg) !important; border: 1px solid rgba(217,232,219,.4); border-radius: 999px; padding: 8px 14px; white-space: nowrap; }
.om-viewer iframe { flex: 1 1 auto; width: 100%; border: 0; background: #2a2a2a; }

.om-gal { position: absolute; inset: 0; background: #0B2214; color: var(--lg); pointer-events: auto; display: none; }
.om-gal.is-open { display: block; }
.om-gal__top { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 14px; padding: calc(12px + var(--safeT)) 14px 0 20px; }
.om-gal__top .om-close { position: static; margin-left: auto; flex: none; }
.om-gal__tabs { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; }
.om-gal__tabs::-webkit-scrollbar { display: none; }
.om-gal__tabs button { flex: none; font-family: var(--serif); font-size: 17px; color: rgba(217,232,219,.6); padding: 8px 0 5px; border-bottom: 1px solid transparent; }
.om-gal__tabs button.is-on { color: #F1F6F2; border-color: var(--lg); }
.om-gal__n { flex: none; font-size: 12px; opacity: .6; }
.om-gal__stage { position: absolute; left: 80px; right: 80px; top: calc(68px + var(--safeT)); bottom: calc(142px + var(--safeB)); display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.om-gal__stage img { max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; border-radius: 4px; user-select: none; -webkit-user-drag: none; }
.om-gal__cap { position: absolute; left: 20px; right: 20px; bottom: calc(106px + var(--safeB)); text-align: center; font-family: var(--it); font-style: italic; font-size: 18px; color: #F1F6F2; min-height: 24px; }
.om-gal__th { position: absolute; left: 0; right: 0; bottom: calc(20px + var(--safeB)); display: flex; gap: 8px; padding: 4px 20px; overflow-x: auto; scrollbar-width: none; justify-content: safe center; }
.om-gal__th::-webkit-scrollbar { display: none; }
.om-gal__th button { flex: none; width: 84px; height: 60px; border-radius: 3px; overflow: hidden; opacity: .5; outline-offset: 2px; }
.om-gal__th button.is-on { opacity: 1; outline: 1.5px solid var(--lg); }
.om-gal__th img { width: 100%; height: 100%; object-fit: cover; }
.om-gal__ar { position: absolute; top: 50%; margin-top: -50px; width: 48px; height: 48px; display: grid; place-items: center; }
.om-gal__ar svg { width: 24px; height: 24px; stroke: var(--lg); stroke-width: 1.4; fill: none; }
.om-gal__ar--l { left: 16px; } .om-gal__ar--r { right: 16px; }

.om-map { text-align: left; padding: 0; overflow: hidden; width: min(1040px, calc(100vw - 64px)); }
.om-map iframe { display: block; width: 100%; height: min(600px, calc(100vh - 220px)); border: 0; }
.om-map__b { padding: 16px 20px 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.om-map__a { flex: 1 1 200px; }
.om-map__a b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; color: var(--g); }
.om-map__a span { font-size: 13.5px; color: var(--sub); font-weight: 300; }
.om-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 20px; border-radius: 999px; background: var(--g); color: #F4EFE6 !important; font-family: var(--serif); font-size: 15px; }
.om-btn--line { background: none; color: var(--g) !important; border: 1px solid rgba(16,68,36,.35); }
.om-share { width: min(380px, calc(100vw - 32px)); padding: 34px 26px 26px; }
.om-share__row { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.om-share__row .om-btn { width: 100%; }
.om-rate { display: block; margin-top: 18px; padding: 16px 14px 14px; border-radius: 14px; background: var(--g); color: #F4EFE6 !important; text-align: center; }
.om-rate__st { display: flex; justify-content: center; gap: 4px; }
.om-rate__st svg { width: 22px; height: 22px; fill: #E9C46A; }
.om-rate b { display: block; margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: 19px; }
.om-rate small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 300; color: rgba(244,239,230,.8); }
/* info point card: a picture, then the words */
.om-info { width: min(420px, calc(100vw - 32px)); padding: 0; overflow: hidden; text-align: left; }
.om-info__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.om-info__b { padding: 18px 22px 22px; }
.om-info__t { font-size: 26px; }
.om-info__p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--sub); font-weight: 300; }
.om-info__go { margin-top: 16px; }
.om-info .om-close { background: var(--iv); } .om-info .om-close svg { stroke: var(--g); }

/* ---------- help: a ring around each button with its name ---------- */
.om-help { position: absolute; inset: 0; background: rgba(7,28,16,.76); color: #F4EFE6; pointer-events: auto; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
.om-help.is-open { opacity: 1; visibility: visible; transition: opacity .25s ease; }
.om-help__rg { position: absolute; border: 1.2px solid rgba(244,239,230,.9); border-radius: 999px; }
.om-help__lb { position: absolute; transform: translateY(-50%); display: flex; align-items: center; gap: 7px; white-space: nowrap; font-family: var(--serif); font-size: 15px; }
.om-help__lb i { display: block; width: 12px; height: 1px; background: rgba(244,239,230,.85); }
.om-help__lb.l { flex-direction: row-reverse; }
.om-help__lb.u { transform: translateX(-50%); }
.om-help__lb.a { transform: translateY(-100%); }
.om-help__cn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(400px, calc(100vw - 40px)); text-align: center; }
.om-help__mk { width: 46px; height: 46px; margin: 0 auto 14px; background: var(--lg); display: grid; place-items: center; }
.om-help__mk > span { width: 30px !important; height: 30px !important; }
.om-help__gs { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--serif); font-size: 21px; line-height: 1.25; }
.om-help__gs svg { width: 28px; height: 28px; flex: none; fill: none; stroke: #F4EFE6; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.om-help__g2 { font-size: 14.5px; font-weight: 300; margin-top: 8px; opacity: .88; line-height: 1.5; }
.om-help__go { display: inline-flex; align-items: center; min-height: 40px; margin-top: 18px; background: var(--iv); color: var(--g); font-family: var(--serif); font-size: 16px; padding: 0 28px; border-radius: 999px; }

.om-toast { position: absolute; left: 50%; bottom: calc(26px + var(--safeB)); transform: translate(-50%, 20px); background: var(--iv); color: var(--g); font-family: var(--serif); font-size: 15px; padding: 9px 18px; border-radius: 999px; opacity: 0; transition: .25s ease; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.om-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- phones ---------- */
@media (max-width: 767px) {
  #om { --pad: 12px; }
  /* the two pills go to the bottom, side by side; the room button and EN / SQ stay on top */
  /* phones upright: Book a table bottom left, Menu bottom right; the room button and EN / SQ stay on top */
  .om-pills { top: auto; left: calc(12px + var(--safeL)); transform: none; bottom: calc(16px + var(--safeB)); }
  .om-pill { height: 38px; }
  .om-pill--menu { right: calc(12px + var(--safeR)); bottom: calc(20px + var(--safeB)); }
  .om-strip { right: calc(4px + var(--safeR)); gap: 0; }
  .om-lang { right: calc(6px + var(--safeR)); top: calc(10px + var(--safeT)); }
  .om-side { width: min(272px, calc(100vw - 24px)); }
  .om-row { min-height: 42px; font-size: 15.5px; }
  .om-panel { padding: 50px 16px 20px; border-radius: 16px; }
  .om-h2 { font-size: 26px; }
  .om-books { grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
  .om-bk { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; text-align: left; padding: 12px 14px; justify-items: start; }
  .om-bk__mk { grid-row: span 3; }
  .om-bk__n { margin: 0; font-size: 20px; line-height: 1.1; }
  .om-bk__d { margin: 0; }
  .om-bk__go { margin: 4px 0 0; }
  .om-bk__en { grid-column: 2; margin: 2px 0 0; }
  .om-gal__top { padding-left: 14px; }
  .om-gal__tabs { gap: 14px; } .om-gal__tabs button { font-size: 15.5px; }
  .om-gal__stage { left: 0; right: 0; top: calc(60px + var(--safeT)); bottom: calc(134px + var(--safeB)); }
  .om-gal__stage img { border-radius: 0; }
  .om-gal__ar { display: none; }
  .om-gal__cap { font-size: 16px; bottom: calc(98px + var(--safeB)); }
  .om-gal__th button { width: 70px; height: 50px; }
  /* the map takes the whole phone screen */
  .om-veil[data-p="map"] .om-map { left: 0; top: 0; transform: none; width: 100%; height: 100%; max-height: none; border-radius: 0; display: flex; flex-direction: column; }
  .om-veil[data-p="map"] .om-map iframe { flex: 1 1 auto; height: auto; min-height: 0; }
  .om-map .om-close { top: calc(12px + var(--safeT)); }
  .om-map__b { padding: 14px 16px calc(16px + var(--safeB)); }
  .om-map__b .om-btn { width: 100%; }
  .om-info__img { aspect-ratio: 16 / 9; }
  .om-help__lb { font-size: 14px; gap: 6px; } .om-help__lb i { width: 9px; }
  .om-help__cn { left: 18px; right: 18px; top: calc(140px + var(--safeT)); transform: none; width: auto; text-align: left; }
  .om-help__mk { margin: 0 0 10px; }
  .om-help__gs { justify-content: flex-start; font-size: 19px; }
  .om-help__go { width: 100%; justify-content: center; }
  #om.side-open .om-pills, #om.side-open .om-pill--menu, #om.side-open .om-strip, #om.side-open .om-lang { opacity: 0; pointer-events: none; }
}
/* phones turned sideways: little height */
@media (max-height: 500px) {
  #om { --pad: 10px; }
  .om-pills { top: calc(10px + var(--safeT)); bottom: auto; left: 50%; transform: translateX(-50%); }
  /* sideways: Menu right under the column of icons, its right edge on theirs */
  .om-pill--menu { right: calc(10px + var(--safeR)); bottom: calc(20px + var(--safeB)); }
  .om-strip { gap: 0; }
  .om-strip button { width: 36px; height: 36px; }
  .om-strip svg { width: 19px; height: 19px; }
  .om-side__head { padding: 8px 12px 6px; }
  .om-side__logo { width: 60px; }
  .om-side__tag, .om-side__foot { display: none; }
  .om-row { min-height: 36px; }
  .om-panel { padding: 40px 16px 16px; }
  .om-books { grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
  .om-bk { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 8px; }
  .om-bk__mk { display: none; }
  .om-gal__stage { top: 54px; bottom: 88px; left: 64px; right: 64px; }
  .om-gal__ar { display: grid; }
  .om-gal__cap { bottom: 64px; font-size: 15px; }
  .om-gal__th { bottom: 6px; } .om-gal__th button { width: 56px; height: 40px; }
  .om-help__cn { left: 50%; right: auto; top: 46%; bottom: auto; transform: translate(-50%, -50%); width: min(360px, 56vw); text-align: center; }
  .om-help__gs { justify-content: center; font-size: 18px; } .om-help__mk { display: none; }
  .om-veil[data-p="map"] .om-map { left: 0; top: 0; transform: none; width: 100%; height: 100%; max-height: none; border-radius: 0; display: flex; flex-direction: column; }
  .om-veil[data-p="map"] .om-map iframe { flex: 1 1 auto; height: auto; min-height: 0; }
  .om-map__b { padding: 8px 16px; }
  .om-info { display: flex; width: min(640px, calc(100vw - 32px)); } .om-info__img { width: 45%; aspect-ratio: auto; } .om-info__b { padding: 14px 18px; } .om-info__t { font-size: 21px; }
  #om.side-open .om-pills, #om.side-open .om-pill--menu { opacity: 0; pointer-events: none; }
}
.om-veil[data-p="map"] .om-panel.om-map { padding: 0; }
/* the small credit in the bottom right corner (the same as Sushi Co and Worklab), under the Menu pill */
.om-credit { position: absolute; right: calc(10px + var(--safeR)); bottom: calc(5px + var(--safeB)); pointer-events: auto; color: rgba(255,255,255,.85) !important; 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; }
.om-credit:hover { color: #fff !important; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { #om *, #om { transition: none !important; } }

/* GM360's card on a right click / long press (the same card as on Sushi Co and Worklab) */
.gmcard { position: fixed; z-index: 2147483300; display: grid; grid-template-columns: auto auto; 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 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; }
.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 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::before { left: 26px; right: 26px; top: 0; bottom: auto; width: auto; height: 1px; } }
.gmcard a, .gmcard a:hover { text-decoration: none; }
.gmcard__wa svg { fill: currentColor !important; stroke: none !important; }
