.panel-map {
  position:absolute; inset:0; z-index:0; pointer-events:none;
}
.map-tall { display:none; }
.repair a.panel-link {
  position:absolute; inset:0; display:block; pointer-events:auto; clip-path:var(--outline);
  padding:0; margin:0; cursor:pointer; outline:none; text-decoration:none;
  touch-action:manipulation; color:#fffaf0; -webkit-tap-highlight-color:transparent;
}
.panel-ink { display:block; width:100%; height:100%; pointer-events:none; overflow:visible; }
.panel-ink polygon {
  fill:#ffdf92; fill-opacity:0; stroke:#ffdf92; stroke-opacity:0; stroke-width:6;
  transition:fill-opacity .19s ease-out,stroke-opacity .16s ease-out;
}
.scene-tag {
  position:absolute; left:var(--x); top:var(--y); transform:translateY(-50%);
  display:inline-flex; align-items:center; gap:0; white-space:nowrap;
  padding:2px; border:1.5px solid #261b2b; border-radius:3px; color:#291d2d;
  background:#fff0ce; box-shadow:2px 2px 0 #261b2b; line-height:1;
  pointer-events:none; font-family:Manrope,Arial,sans-serif;
  transition:background .15s ease-out,box-shadow .15s ease-out;
}
.marker-right .scene-tag { transform:translate(-100%,-50%); }
.scene-tip { display:grid; place-items:center; width:17px; height:16px; font:800 15px/1 Arial,sans-serif; }
.scene-label {
  display:block; max-width:0; opacity:0; padding:0; overflow:hidden;
  font-size:clamp(.68rem,.88cqw,.9rem); font-weight:850; letter-spacing:-.025em;
  transition:max-width .18s ease-out,padding .18s ease-out,opacity .13s ease-out;
}
.repair a.panel-link:focus-visible .panel-ink polygon,
.repair a.panel-link:active .panel-ink polygon { fill-opacity:.25; stroke-opacity:1; }
.panel-link:focus-visible .scene-tag,.panel-link:active .scene-tag { background:#ffd279; box-shadow:3px 3px #251a2d; }
.panel-link:focus-visible .scene-label,.panel-link:active .scene-label { max-width:15em; padding:3px 4px 3px 2px; opacity:1; }
@media (hover:hover) {
  .panel-link:hover .panel-ink polygon { fill-opacity:.22; stroke-opacity:1; }
  .panel-link:hover .scene-tag { background:#ffd279; box-shadow:3px 3px #251a2d; }
  .panel-link:hover .scene-label { max-width:15em; padding:3px 4px 3px 2px; opacity:1; }
}

/* Only the visible title and its actual irregular backing catch a click. */
.repair .cover-masthead { pointer-events:none; text-decoration:none; translate:none; outline:none; }
.cover-masthead h1,.cover-masthead .edition-line {
  pointer-events:auto; cursor:pointer;
}
.cover-masthead .set-square { pointer-events:none; }
.cover-masthead .set-square::before { pointer-events:auto; cursor:pointer; }
.cover-masthead .set-square { transition:filter .18s ease-out; }
.cover-masthead:focus-visible .set-square { filter:drop-shadow(0 0 4px #fff6ae) drop-shadow(0 0 9px #14101b); }
.repair .cover-masthead:focus-visible .edition-line { color:#251a28; background:#fff1a7; outline:3px solid #251a28; }
@media (hover:hover) {
  .repair .cover-masthead:hover .set-square { filter:drop-shadow(4px 6px #24172e) brightness(1.15); }
  .repair .cover-masthead:hover h1 em { background:#ffdc9b; }
}
.cover-blurb { min-width:0; }
.repair .scene-help { margin:0 0 .35em; color:#ffdf96; font:750 .8rem/1.3 Manrope,Arial,sans-serif; }
@media (max-width:650px) {
  .map-wide { display:none; }
  .map-tall { display:block; }
  .scene-tag { border-width:1px; padding:1px; box-shadow:1px 1px #211626; }
  .scene-tip { width:12px; height:13px; font-size:11px; }
  .scene-label { font-size:clamp(11px,2.55cqw,14px); }
  .repair .scene-help { font-size:.73rem; }
}
@media (hover:none), (max-width:650px) {
  .scene-label { max-width:15em; opacity:1; padding:2px 3px 2px 1px; }
}
@media (max-width:345px) {
  .scene-tip { display:none; }
  .scene-label { padding:3px; }
}
@media (prefers-reduced-motion:reduce) {
  .panel-ink polygon,.scene-tag,.scene-label,.cover-masthead .set-square { transition:none; }
}
@media print {
  .panel-map,.scene-help { display:none; }
  .repair .cover-masthead { text-decoration:none; }
}

/* Allocate just the readable area inside each painted scene. */
.panel-link .scene-tag { box-sizing:border-box; max-width:var(--tag-width); white-space:normal; }
.scene-tip { flex:none; }
.panel-link .scene-label { min-width:0; line-height:1.16; }
.panel-link:not(:focus-visible):not(:active):not(:hover) .scene-label { white-space:nowrap; }
@media (hover:none), (max-width:650px) {
  .panel-link:not(:focus-visible):not(:active):not(:hover) .scene-label { white-space:normal; }
}
.map-tall .scene-tip { display:none; }
.map-tall .scene-tag { padding:1px; }
.map-tall .scene-label { padding:2px 3px; text-align:center; }
.map-wide [data-scene="living"]:is(:focus-visible,:hover,:active) .scene-tip { display:none; }
.map-wide [data-scene="living"] .scene-tag { max-width:clamp(54px,8.2cqw,86px); }
.poster-deck a { color:inherit; text-decoration:underline; text-underline-offset:.16em; }
@media (min-width:651px) and (max-width:1000px) {
  .map-wide .scene-tip { width:12px; }
  .map-wide .scene-label { font-size:11px; }
}
