/* Tokyo sketch map: shared by index.html and residences/. */
.map { position: relative; background: #f6f1e7; border: 1px solid #ddd2bd; min-width: 0; box-shadow: 0 18px 40px -28px rgba(60,45,20,.45); }
.map svg { width: 100%; height: auto; display: block; }
.map text.lm { font-family: var(--f-display); font-size: 11px; fill: #7d7666; font-style: italic; letter-spacing: .02em; }
html[lang="en"] .map text.lm { font-family: var(--f-display-lat); }
.map text.lm.big { font-size: 15px; fill: #6f97a3; letter-spacing: .3em; }
.map text.pin-l { font-family: var(--f-body); font-size: 13px; font-weight: 500; fill: #3b382f; }
.map text.office-l { font-family: var(--f-body); font-size: 11px; fill: #4a4740; }
.map text { paint-order: stroke; stroke: rgba(246,241,231,.85); stroke-width: 3px; stroke-linejoin: round; }
.map text.pin-l { stroke: none; }
.map text.poi { font-family: var(--f-body); font-size: 11px; font-weight: 500; }
.map text.st { font-family: var(--f-body); font-size: 10.5px; font-weight: 600; fill: #5d7a35; letter-spacing: .02em; stroke: rgba(251,246,236,.92); stroke-width: 3.5px; }
.map text.lm.green { fill: #5f7f4c; font-size: 11.5px; }
.legend .y { width: 22px; height: 5px; border-radius: 3px; background: #9fd15a; box-shadow: 0 0 0 1.5px #fffaf2, 0 0 0 2.3px #76a83a; }
.layers { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px 0; background: #fbf8f1; border-top: 1px solid #e2d6bd; }
.layers button { display: inline-flex; align-items: center; gap: 8px; font: 500 .76rem/1 var(--f-body); color: var(--mute-dark); background: #fffdf8; border: 1px solid #e2d6bd; border-radius: 999px; padding: 7px 12px 7px 8px; cursor: pointer; }
.layers button[aria-pressed="false"] { opacity: .45; }
.layers i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.layers .ls { background: #d4e3f0; } .layers .le { background: #f2d9d6; } .layers .ll { background: #f2e2c2; }
.map .legend { border-top: 0; }
.map .pin { cursor: pointer; }
.map .pin:hover path, .map .pin:focus path { filter: brightness(1.08); }
.map .pin:focus { outline: none; }
.legend { display: flex; flex-wrap: wrap; gap: 20px; padding: 14px 18px; border-top: 1px solid #e2d6bd; font-size: .78rem; color: var(--mute-dark); background: #fbf8f1; }
.legend i { display: inline-block; width: 11px; height: 11px; margin-right: 8px; vertical-align: middle; }
.legend .a { background: linear-gradient(135deg,#d9c08a,#b39256); transform: rotate(45deg) scale(.85); }
.legend .m { border: 1px dashed #b39256; border-radius: 50%; }
.legend .o { background: #4a4740; border-radius: 50%; width: 8px; height: 8px; }
.map .hood { cursor: pointer; }
.map .hood .hood-c { transition: r .15s; }
.map .hood:hover .hood-c, .map .hood:focus-visible .hood-c { r: 9; }
.map .hood:focus { outline: none; }
.map text.hood-l { font-family: var(--f-body); font-size: 11px; font-weight: 600; fill: #6e5a30; stroke: rgba(251,246,236,.92); stroke-width: 3.5px; paint-order: stroke; }
.legend .h { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #b8975a; box-sizing: border-box; }
.map text.hood-n { font: 700 9px var(--f-body-lat); fill: #6e5a30; pointer-events: none; }
.map text.lm.zone { font: italic 600 13px var(--f-display-lat); fill: #8a713f; letter-spacing: .12em; }
