/* Sello aportado y plano de visita del museo. */
.wax-seal{width:90px;height:90px;left:50%;top:60%;border-radius:0;background:none;box-shadow:none;transform:translate(-50%,-50%) rotate(5deg);filter:drop-shadow(0 4px 3px #4f422d50)}
.wax-seal img{width:100%;height:100%;object-fit:contain;display:block}
.stamp-slot.completed .stamp-outline{border:0;background:none;box-shadow:none;transform:rotate(-8deg)}
.stamp-outline img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 2px #54442a30)}
dialog:has(.dialog-map){width:min(700px,calc(100% - 28px));padding:20px 32px 25px;background:#f8f4eb}
.dialog-map .map-heading{text-align:center;position:relative;padding:0 50px 19px}
.map-heading>img{position:absolute;left:0;top:8px;object-fit:contain;filter:drop-shadow(0 2px 2px #54442a22)}
.map-heading .eyebrow{font-size:8px;letter-spacing:2.6px;color:#927950;margin:0 0 7px}
.map-heading h2{font-size:36px;line-height:1.15;font-weight:400;margin:0 0 8px}
.map-heading>p:last-child{font-family:var(--serif);font-style:italic;font-size:14px;color:#8c7a5e}
.museum-plan{padding:16px 21px 18px;border:1px solid #d5c7af;outline:1px solid #e4dac9;outline-offset:4px;background:linear-gradient(90deg,transparent 49.8%,#d9cdb533 50%,transparent 50.2%),#f0eade;position:relative}
.plan-caption{display:flex;justify-content:space-between;align-items:center;font-size:7px;letter-spacing:2px;color:#a28c68;padding:0 0 16px}
.plan-caption>span:last-child{font-size:10px;letter-spacing:1px}
.map-floorplan{display:grid;grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);grid-template-rows:repeat(3,minmax(103px,auto)) 64px;gap:12px 0;position:relative}
.map-corridor{grid-column:2;grid-row:1/5;border:1px solid #cdbd9e;background:#e3d8c4;display:flex;align-items:center;justify-content:center}
.map-corridor span{writing-mode:vertical-rl;font-size:7px;letter-spacing:3px;color:#a08d6a}
.map-room{border:1px solid #c4b291;background:#fbf8f0;box-shadow:inset 0 0 0 4px #fbf8f0,inset 0 0 0 5px #e9dfcd;position:relative;display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:7px;min-width:0;padding:12px 17px;transition:background .2s,border-color .2s,box-shadow .2s;filter:none!important}
.map-room:nth-of-type(odd){grid-column:1;margin-right:10px}
.map-room:nth-of-type(even){grid-column:3;margin-left:10px}
.map-room:nth-of-type(1),.map-room:nth-of-type(2){grid-row:1}
.map-room:nth-of-type(3),.map-room:nth-of-type(4){grid-row:2}
.map-room:nth-of-type(5),.map-room:nth-of-type(6){grid-row:3}
.map-room:after{content:'';position:absolute;top:calc(50% - 12px);width:11px;height:24px;background:#e3d8c4;border-top:1px solid #cdbd9e;border-bottom:1px solid #cdbd9e}
.map-room:nth-of-type(odd):after{right:-11px}
.map-room:nth-of-type(even):after{left:-11px}
.map-room-top{display:flex;align-items:center;justify-content:space-between;gap:6px;color:#9b8155}
.map-room-number{font-family:var(--serif);font-size:19px;line-height:1}
.map-room-symbol{font-size:13px;line-height:1}
.map-room-symbol .icon{width:12px;height:12px}
.map-room-title{font-family:var(--serif);font-size:18px;line-height:1.2;color:#554936;text-wrap:balance}
.map-room-status{font-size:7px;line-height:1.3;letter-spacing:1.2px;text-transform:uppercase;color:#a18d6c;margin-top:auto}
.map-room.locked{background:#e9e3d8;box-shadow:inset 0 0 0 4px #e9e3d8,inset 0 0 0 5px #dcd2c1;border-style:dashed}
.map-room.locked .map-room-title{color:#938671}
.map-room.current{border-color:#8e7650;background:#eee3ce;box-shadow:inset 0 0 0 4px #eee3ce,inset 0 0 0 5px #c5ae85}
.map-room.current .map-room-status{color:#78603d;font-weight:600}
.map-room:hover{background:#f1e7d5;border-color:#987c4d}
.map-room:focus-visible,.map-vestibule:focus-visible{outline:2px solid #89734c;outline-offset:3px}
.map-vestibule{grid-column:1/4;grid-row:4;justify-self:center;align-self:center;display:flex;align-items:center;gap:12px;background:#eee4d3;padding:9px 25px;border:1px solid #c5b28c;z-index:1;color:#7a6647;font-family:var(--serif);font-size:18px;line-height:1.1;min-width:165px;text-align:center;filter:none!important}
.map-vestibule>span:first-child{font-size:22px}
.map-vestibule small{display:block;font-family:var(--sans);text-transform:uppercase;letter-spacing:1.5px;font-size:7px;margin-top:6px;color:#a08b65}
.map-vestibule.current{background:#e7d7b9;border-color:#967a4c}
.map-vestibule:hover{background:#e5d6ba}
.map-key{display:flex;justify-content:center;gap:20px;padding-top:18px;color:#9a8663;font-size:9px}
.map-key>span{display:flex;align-items:center;gap:6px}
.map-key b{font-size:14px;font-weight:400}
.map-key .icon{width:11px;height:11px}
.map-location-dot{width:5px;height:5px;border-radius:50%;background:#927750}
.map-location{text-align:center;font-size:11px;color:#9b896c;margin:18px 0 6px}
.map-location strong{font-weight:500;color:#78613e}
.map-unlock-note{text-align:center;font-size:10px;line-height:1.5;color:#9b896c;margin:0 auto 5px;max-width:340px}
.map-instruction{text-align:center;font-family:var(--serif);font-style:italic;font-size:13px;color:#8c7656;margin:0}
@media(min-width:601px) and (max-height:800px){
  dialog:has(.dialog-map){padding:16px 30px 18px}
  dialog:has(.dialog-map) .dialog-top{margin-bottom:9px}
  .dialog-map .map-heading{padding-bottom:13px}
  .map-heading h2{font-size:30px;margin-bottom:5px}
  .map-heading>img{width:42px;height:42px;top:8px}
  .map-heading>p:last-child{font-size:12px}
  .museum-plan{padding:12px 18px}
  .plan-caption{padding-bottom:11px}
  .map-floorplan{grid-template-rows:repeat(3,minmax(90px,auto)) 50px;gap:9px 0}
  .map-room{padding:10px 15px;gap:5px}
  .map-room-number{font-size:17px}.map-room-title{font-size:16px}
  .map-vestibule{padding:7px 23px;font-size:16px}
  .map-key{padding-top:12px}
  .map-location{margin-top:13px}
}
@media(max-width:600px){
  .wax-seal{width:78px;height:78px}
  dialog:has(.dialog-map){padding:15px 17px 19px;width:calc(100% - 20px);max-height:calc(100svh - 20px)}
  dialog:has(.dialog-map) .dialog-top{margin-bottom:10px}
  .dialog-map .map-heading{padding:0 30px 18px}
  .map-heading>img{width:35px;height:35px;top:12px;left:0}
  .map-heading h2{font-size:29px}
  .map-heading .eyebrow{font-size:7px;letter-spacing:1.9px}
  .map-heading>p:last-child{font-size:12px}
  .museum-plan{padding:12px 10px 14px;outline-offset:3px}
  .plan-caption{letter-spacing:1.3px;font-size:6px;padding-bottom:12px}
  .map-floorplan{grid-template-columns:minmax(0,1fr) 27px minmax(0,1fr);grid-template-rows:repeat(3,minmax(112px,auto)) 59px;gap:10px 0}
  .map-room{padding:11px 10px;gap:7px}
  .map-room:nth-of-type(odd){margin-right:6px}.map-room:nth-of-type(even){margin-left:6px}
  .map-room:after{width:7px}.map-room:nth-of-type(odd):after{right:-7px}.map-room:nth-of-type(even):after{left:-7px}
  .map-room-number{font-size:18px}.map-room-title{font-size:16px}.map-room-status{font-size:6px;letter-spacing:.8px}
  .map-corridor span{font-size:6px;letter-spacing:2px}
  .map-vestibule{padding:8px 20px;font-size:17px;min-width:150px}
  .map-key{gap:11px;font-size:8px;padding-top:14px}
  .map-location{font-size:10px;margin-top:15px}
}
