/* Map coordinates are measured in the native pixel space of each official floor plan. */
[data-street-map] { min-width:0; }
.map-panel:has([data-street-map]) { transform:none; padding:16px; }
.map-panel:has([data-street-map]) figcaption { padding:0 0 9px; }
.map-panel:has([data-street-map]) h3 { color:#36204e; font-size:1.35rem; }
.sm-widget { container:street-map / inline-size; color:#36204e; min-width:0; --sm-ink:#36204e; }
.sm-toolbar, .sm-fields, .sm-views, .sm-foot { display:flex; align-items:center; }
.sm-toolbar { flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:10px 16px; }
.sm-fields { gap:8px 12px; min-width:0; flex-wrap:wrap; flex:1 1 14rem; }
.sm-field { display:grid; gap:3px; min-width:0; max-width:100%; flex:1 1 13rem; font-size:.93rem; font-weight:650; }
.sm-field:has(+ .sm-field) { flex:0 1 9rem; }
.sm-field select {
  padding:6px 24px 6px 8px; width:100%; min-width:0; min-height:40px;
  background-color:white; color:var(--sm-ink); border:1px solid #7a697f;
  border-radius:3px; font-weight:400; text-overflow:ellipsis;
}
.sm-views { border:1px solid var(--sm-ink); width:fit-content; background:white; }
.sm-views button { border:0; padding:6px 11px; min-height:38px; color:var(--sm-ink); background:white; font-weight:650; font-size:.94rem; }
.sm-views button[aria-pressed="true"] { background:var(--sm-ink); color:white; }
.sm-hint { margin:9px 0 8px; font-size:.91rem; color:#51435c; }
.sm-widget[data-view="full"] .sm-swipe { display:none; }
.sm-window { position:relative; isolation:isolate; border:1px solid #afa4b2; background:#f6f3fa; }
.sm-viewport { position:relative; overflow:auto; overscroll-behavior-x:contain; scrollbar-color:#887593 #f1e9f2; }
.sm-canvas { position:relative; margin:0 auto; width:100%; }
.sm-widget[data-view="near"] .sm-canvas { width:max(100%,var(--sm-mouse-width)); }
.sm-widget[data-view="near"][data-shape="tall"] .sm-canvas { width:max( min(100%,560px), var(--sm-mouse-width)); }
.sm-widget[data-view="full"] .sm-canvas { width:min(100%, calc(450px * var(--sm-ratio))); }
.sm-widget .sm-plan { position:absolute; inset:0; width:100%; height:100%; display:block; max-width:none; margin:0; }
.sm-pins { position:absolute; inset:0; }
.sm-pin {
  position:absolute; min-width:0; min-height:0; margin:0; border:0; padding:0;
  appearance:none; border-radius:1px; background:transparent; cursor:pointer;
  touch-action:manipulation; color:var(--sm-ink);
}
.sm-widget[data-view="near"] .sm-pin { box-shadow:inset 0 0 0 1.6px #2a655a; }
.sm-widget[data-edition="RG33"][data-view="near"] .sm-pin,
.sm-widget[data-edition="RG31"][data-view="near"] .sm-pin { box-shadow:inset 0 0 0 2px #8a1451,0 0 0 3px #ffbcdb; }
.sm-widget[data-view] .sm-pin.is-current {
  background:rgb(255 191 44 / 58%); color:#38250d; z-index:2;
}
.sm-tip {
  position:absolute; z-index:5; pointer-events:none; transform:translateX(-50%);
  background:var(--sm-ink); color:white; padding:4px 8px; box-shadow:2px 2px #8d84a2;
  width:min(17rem,calc(100% - 12px)); height:3.1rem; overflow:hidden; font-size:.875rem; line-height:1.35; font-weight:650;
}
.sm-bounds { position:absolute; border:2px solid #ac1b60; background:rgba(250,57,138,.05); pointer-events:none; }
.sm-zoom {
  position:absolute; z-index:3; transform:translate(-50%,-103%); min-height:30px; white-space:nowrap;
  border:0; border-radius:2px; background:var(--sm-ink); color:white; padding:4px 9px;
  font-weight:700; font-size:.875rem; line-height:1.4;
}
.sm-selection {
  display:grid; align-items:center; grid-template-columns:minmax(0,1fr) auto;
  grid-template-rows:minmax(0,1fr); column-gap:12px; block-size:4.25rem;
  box-sizing:border-box; background:#e3faf6; padding:.5rem .75rem; margin-top:6px; color:var(--sm-ink);
}
.sm-info {
  grid-area:1/1; display:grid; grid-template-columns:2.75rem auto minmax(0,1fr);
  align-items:center; gap:8px; min-width:0; margin:0; line-height:1.35;
}
.sm-selected-art { display:grid; place-items:center; inline-size:2.75rem; block-size:2.75rem; overflow:hidden; }
.sm-widget .sm-selected-art img.sm-thumb { width:100%; height:100%; }
.sm-code { background:#ffdc38; color:var(--sm-ink); font:700 .94rem/1.25 Arial,sans-serif; padding:3px 5px; white-space:nowrap; }
.sm-name { display:block; min-width:0; font-size:.9375rem; font-weight:700; }
.sm-name, .sm-info .sm-art-label, .sm-tip :is(.sm-id-line,.sm-art-label),
.sm-picker-toggle :is(.sm-id-line,.sm-art-label) { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sm-info .sm-id-text { min-width:0; position:relative; }
.sm-sr-name { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; white-space:nowrap; }
.sm-detail { grid-area:1/2; color:#741748; font-size:.91rem; font-weight:650; }
.sm-empty { grid-area:1/1/-1/-1; font-size:.91rem; margin:0; }
@container street-map (max-width: 33rem) {
  .sm-selection {
    block-size:6.75rem; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:minmax(0,1fr) 2.75rem;
    row-gap:.25rem; padding:.375rem .625rem;
  }
  .sm-info { grid-area:1/1/2/-1; gap:6px; grid-template-columns:2.5rem auto minmax(0,1fr); }
  .sm-selected-art { inline-size:2.5rem; block-size:2.5rem; }
  .sm-name { font-size:.9rem; }
  .sm-detail { grid-area:2/1; justify-self:start; display:inline-flex; align-items:center; min-height:2.75rem; }
}
.sm-foot { gap:4px 14px; flex-wrap:wrap; margin-top:7px; font-size:.85rem; }
.sm-foot a { display:inline-flex; align-items:center; color:var(--sm-ink); min-height:32px; }
.sm-caption { margin-right:auto; }
.sm-widget :is(a,button,select):focus-visible { outline:3px solid #9b1659; outline-offset:2px; }
@media (pointer:coarse), (max-width:650px) {
  .sm-widget[data-view="near"] .sm-canvas { width:max(100%,var(--sm-touch-width)); }
  .sm-widget[data-view="near"][data-shape="tall"] .sm-canvas { width:max(min(100%,560px),var(--sm-touch-width)); }
  .sm-field select,.sm-views button { min-height:44px; }
}
@media (max-width:650px) {
  .map-panel:has([data-street-map]) { margin-inline:0; padding:12px; }
  .sm-toolbar { gap:8px 12px; }
  .sm-fields { flex-basis:10rem; }
}
.sm-widget[data-edition="RG34"][data-view="near"] .sm-pin {
  color:#203f3b; background:#ccf4df; border:1px solid #386955;
}
.sm-widget[data-edition="RG34"][data-view="near"] .sm-pin::after {
  content:attr(data-booth); display:block; font:700 clamp(11px,1.1vw,15px)/1 Arial,sans-serif; text-align:center;
}
.sm-widget[data-edition="RG34"][data-view="near"] .sm-pin[data-booth^="N"] { background:#aff0e3; }
.sm-widget[data-edition="RG34"][data-view="near"] .sm-pin.is-current { color:#4a1836; background:#ffdf67; }

/* The artwork belongs to the named creator or the official booth listing. */
.sm-picker { position:relative; }
.sm-picker:has(.sm-picker-panel:not([hidden])) { z-index:8; }
.sm-picker-toggle {
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  justify-self:start; box-sizing:border-box; width:fit-content; max-width:min(100%,13rem); min-width:0;
  min-height:44px; height:2.75rem; padding:4px 12px; overflow:hidden; text-align:start;
  color:var(--sm-ink); background:#fff; border:1px solid #7a697f; border-radius:3px; font:inherit; font-size:.875rem;
}
.sm-picker-toggle::after {
  content:""; width:7px; height:7px; flex:none; margin-inline:2px;
  border:solid currentColor; border-width:0 2px 2px 0; transform:rotate(45deg) translateY(-2px);
}
.sm-picker-toggle[aria-expanded=true]::after { transform:rotate(225deg) translateY(-2px); }
.sm-picker-panel {
  position:absolute; left:0; top:calc(100% + 3px); width:min(28rem,100%); min-width:min(100%,16rem);
  padding:8px; border:2px solid var(--sm-ink); background:#fff; box-shadow:3px 4px 0 #b4a1bc;
}
.sm-pick-tools { display:flex; align-items:center; gap:6px; }
.sm-query { min-width:0; flex:1; min-height:44px; padding:7px 9px; border:1px solid #816f86; background:white; color:var(--sm-ink); font:inherit; }
.sm-clear { min-height:44px; padding:3px 9px; border:0; background:transparent; color:#841654; font:inherit; font-weight:650; }
.sm-pick-count { margin:4px 2px; font-size:.875rem; color:#59495c; }
.sm-pick-list { list-style:none; padding:0; margin:0; max-height:min(17rem,36vh); max-height:min(17rem,36dvh); overflow-y:auto; overscroll-behavior:contain; }
.sm-pick-list li { margin:0; padding:0; }
.sm-pick-item {
  width:100%; min-height:54px; padding:5px 10px; background:white; border:0; border-top:1px solid #e6dfe7;
  color:var(--sm-ink); text-align:start; font:inherit; cursor:pointer;
}
.sm-pick-item:is(:hover,:focus-visible) { background:#fff6cb; }
.sm-pick-item[aria-pressed=true] { background:#e3faf6; }
.sm-pick-item:focus-visible { outline-offset:-3px !important; }
.sm-identity, .sm-tip { display:flex; align-items:center; gap:9px; min-width:0; }
.sm-widget [hidden] { display:none !important; }
.sm-id-text { display:grid; min-width:0; gap:2px; }
.sm-id-line { display:block; overflow-wrap:anywhere; line-height:1.35; }
.sm-id-code { margin-inline-end:6px; font-weight:750; }
.sm-art-label { display:block; font-size:.8rem; line-height:1.36; font-weight:400; }
.sm-identity .sm-art-label, .sm-info .sm-art-label { color:#59495c; }
.sm-tip .sm-art-label { color:#f9d7e8; }
.sm-widget img.sm-thumb { width:46px; height:46px; display:block; flex:none; object-fit:contain; background:#fff; border:1px solid #c2b7c4; border-radius:3px; margin:0; }
.sm-picker-toggle .sm-identity { flex:0 1 auto; overflow:hidden; gap:6px; }
.sm-picker-toggle .sm-art-label { display:none; }
.sm-widget .sm-picker-toggle img.sm-thumb { width:1.875rem; height:1.875rem; }
.sm-widget .sm-tip img.sm-thumb { width:2.25rem; height:2.25rem; }
.sm-widget .sm-query:focus-visible { outline:2px solid #9b1659; outline-offset:1px; }
