/* ============================================================
   異煌祭 2026 公式サイト  map.css（会場マップ map/ だけで読む。style.css のあとに読み、地図の部分を上書きする）
   委員長 2026-11-02「作って」：五月祭・京大11月祭のような「動く地図」に、建物の中のキャンパス案内図と同じ描き方
   （明るい灰色の地面・白い道・紺の平らな建物に白い字・緑のグラウンド）。スマホは画面いっぱい、PC は左に一覧。
   団体の正方形のアイコン（委員長「団体がだしてる写真とかも使いたいな～」）を、区画と一覧に使う
   2026-11-02 委員長「入れて」：見本 v2 の見た目（建物に高さ＝壁と影、暖かい明るい地面、企画のない建物は明るい屋根に濃い字）
   ============================================================ */

.vmap__card {
  --m-ground: #ece9e2;
  --m-out: #dfdbd2;
  --m-bld: #34558a;
  --m-bld-free: #dde2ea;
  --m-bld-minor: #e7e9ed;
  --m-yatai: #cf4f37;
  --m-stage: #2b6fb7;
  --m-tenji: #d99a1e;
  --m-con: #14305a;
  --m-aed: #c8102e;
  --m-wc: #23788a;
  --m-me: #2b7de9;
  background: var(--m-out);
}

/* ---------- 地図の絵 ---------- */
.vmap__campus { fill: var(--m-ground); stroke: none; }
.vmap__field { fill: #b4d3ab; stroke: none; }
.vmap__field--turf { fill: #aacd9f; }
.vmap__field--court { fill: #c3dcbb; }
.vmap__lawn, .vmap__planter { fill: #dcebd3; stroke: none; }
/* 林は描かない（案内図と同じ、平らな地面にする） */
.vmap__forest { display: none; }
.vmap__tree, .vmap__treehi, .vmap__stairs-up, .vmap__bridge-rail { display: none; }
/* 建物の高さ：南へのびる壁（venue.mjs の FLOOR_WALL）と、南東へずれるうすい影 */
.vmap__shadow { fill: rgba(70, 72, 60, 0.13); }
.vmap__shadow--tree { display: none; }
.vmap__plaza { fill: #fff; }
.vmap__road { stroke: #fff; stroke-width: 5.2; }
.vmap__walk, .vmap__walk--roof { stroke: #fff; stroke-width: 3.6; }
.vmap__cover { fill: #f6f7f9; stroke: #cdd4dc; stroke-width: 1; }
.vmap__ramp { fill: #fff; stroke: none; }
.vmap__stairs-band { fill: #fff; }
.vmap__stairs-tread { stroke: #b9c2cc; stroke-width: 0.16; }
.vmap__bridge-deck { fill: #fff; stroke: #b9c2cc; stroke-width: 1; } /* 橋は下を通る道と見分けられるよう、細いふち */
.vmap__feat--water { fill: #c4e0f0; stroke: #a9cde4; }
/* スロープ・橋・階段などの名前：小さく、地面の色のふち。引いた画面では出さない（近づくと出る） */
.vmap__svg:not(.is-mid) .vmap__fname { display: none; }
/* 歩ける所（tools/ground.py が1つの面にまとめたもの。ふちの線は付けない） */
.vmap__paved { fill: #fff; stroke: #dcd7cc; stroke-width: 0.4; }
/* 和光銀座の通り：淡い朱の帯（1つの面なので、重なって濃くならない）。押すための線は見えなくする */
.vmap__ginzaband { fill: rgba(207, 79, 55, 0.2); pointer-events: none; }
.vmap__ginza { stroke: transparent; stroke-width: 6.5; }
.vmap__ginza.is-on { stroke: rgba(207, 79, 55, 0.14); }
.vmap__card.is-filter .vmap__ginza:not(.is-hit) { opacity: 1; }
/* 建物：企画のある建物は紺の屋根に濃い紺の壁、ない建物は明るい屋根に灰色の壁、名前のない小さな建物はもっとうすく */
.vmap__roof { fill: var(--m-bld-free); stroke: #c3cad5; stroke-width: 0.3; }
.vmap__wall { fill: #a9b3c1; }
.vmap__wall--dim { fill: #959fb0; }
.vmap__bld.is-used .vmap__roof { fill: var(--m-bld); stroke: #2a4672; }
.vmap__bld.is-used .vmap__wall { fill: #1d3358; }
.vmap__bld.is-used .vmap__wall--dim { fill: #172a49; }
.vmap__bld.is-minor .vmap__roof { fill: var(--m-bld-minor); stroke: #d1d5dc; }
.vmap__bld.is-minor .vmap__wall { fill: #cdd2da; }
.vmap__bld.is-minor .vmap__wall--dim { fill: #c2c8d1; }
.vmap__bld--tower .vmap__roof { fill: var(--m-bld-free); stroke: #c3cad5; }
.vmap__bld.is-on .vmap__roof { fill: var(--m-stage); }
.vmap__card.is-filter .vmap__bld.is-hit .vmap__roof { fill: #3f74b5; }
/* 建物の名前：企画のある建物は白い字に紺のふち、ほかは濃い字に白いふち（建物の外にはみ出しても読める） */
.vmap__blabel text { font-size: 14px; font-weight: 700; fill: #33435c; stroke: rgba(255, 255, 255, 0.92); stroke-width: 3.6px; letter-spacing: 0.04em; }
.vmap__blabel.is-used text { fill: #fff; stroke: rgba(23, 42, 73, 0.95); }
.vmap__blabel.is-on text { fill: #fff; stroke: rgba(20, 60, 120, 0.95); }
.vmap__gname text { font-size: 12.5px; font-weight: 700; fill: #fff; letter-spacing: 0.12em; stroke: rgba(78, 120, 72, 0.55); stroke-width: 3px; paint-order: stroke; }
.vmap__fname text { font-size: 11px; font-weight: 600; fill: #8a94a3; stroke: var(--m-ground); stroke-width: 3px; paint-order: stroke; } /* 地面の名前（vmap__gname）のあとに置いて上書きする */

/* ---------- 場所の札（角の丸い四角。左の印の色で、そこにあるものが分かる） ---------- */
.vmap__pin rect { fill: #fff; stroke: rgba(20, 48, 90, 0.14); filter: drop-shadow(0 2px 5px rgba(14, 42, 82, 0.2)); }
.vmap__pin text { font-size: 12px; }
.vmap__pin .vmap__ico { color: var(--m-con); }
.vmap__pin--stage .vmap__ico, .vmap__pin.is-stage .vmap__ico { color: var(--m-stage); }
.vmap__pin.is-yatai .vmap__ico { color: var(--m-yatai); }
.vmap__pin--ginza rect, .vmap__pin--ginza .vmap__tip { fill: #fff; stroke: rgba(207, 79, 55, 0.4); }
.vmap__pin--ginza text { fill: #a3361f; }
.vmap__pin--info .vmap__ico { color: #2a8a5e; }
.vmap__pin--smoke .vmap__ico { color: #6d7f98; }
.vmap__pin:focus-visible rect { fill: #eef3fa; }
.vmap__pin.is-on rect, .vmap__pin.is-on .vmap__tip { fill: var(--m-con); stroke: var(--m-con); }
.vmap__pin.is-on text { fill: #fff; }
.vmap__pin.is-on .vmap__ico { color: #9cc8f2; }
/* AED：赤い四角に白いハート */
.vmap__pin--aed rect { fill: var(--m-aed); stroke: #fff; stroke-width: 1.5; }
.vmap__pin--aed .vmap__ico { color: #fff; }
.vmap__pin--aed:focus-visible rect { fill: #a00d25; }
.vmap__pin--aed.is-on rect { fill: var(--m-con); }
.vmap__pin--aed.is-dot .vmap__dot { stroke: var(--m-aed); }
/* トイレ：青緑の四角に白い男女の形（パンフレットの会場マップと同じ場所） */
.vmap__pin--toilet rect { fill: var(--m-wc); stroke: #fff; stroke-width: 1.5; }
.vmap__pin--toilet .vmap__ico { color: #fff; }
.vmap__pin--toilet:focus-visible rect { fill: #175a68; }
.vmap__pin--toilet.is-on rect { fill: var(--m-con); }
.vmap__pin--toilet.is-dot .vmap__dot { stroke: var(--m-wc); }
.vs__wc { margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--navy); }
/* トイレ・AED は、ほかの札と重なっても点にせず、小さな四角のまま残す（札より上に描いてある） */
.vmap__pin--toilet.is-dot > :not(.vmap__dot), .vmap__pin--aed.is-dot > :not(.vmap__dot) { display: inline; }
.vmap__pin--toilet.is-dot .vmap__dot, .vmap__pin--aed.is-dot .vmap__dot { display: none; }
.vmap__pin--toilet.is-dot, .vmap__pin--aed.is-dot { --pin: 0.66; }
/* ステージの印が点になったら、時刻の札（「13:00〜」「あと◯分」など）も隠す。style.css の .vmap__pin[data-state] .vmap__state が、点のときに中身を隠す決まりと同じ強さで後に書かれていて、札だけが点から離れて浮いていた（2026-11-06 委員長「マップのステージの時間かな、バグってるよ」） */
.vmap__pin--stage.is-dot[data-state] .vmap__state { display: none; }
/* 「トイレ」ボタンを押しているとき：トイレの印を大きく */
.vmap__card.is-wc .vmap__pin--toilet { --pin: 1.3; }
.vmap__chip--toilet svg { flex: none; margin-right: -2px; color: var(--m-wc); fill: currentColor; stroke: currentColor; }
.vmap__chip--toilet.is-on { background: var(--m-wc); border-color: var(--m-wc); }
.vmap__chip--toilet.is-on svg, .vmap__chip--toilet.is-on span { color: #fff; }
/* トイレの一覧の行 */
.vs__icon.vs__icon--wc { display: grid; place-items: center; background: var(--m-wc); box-shadow: none; }
.vs__icon--wc svg { width: 28px; height: 28px; color: #fff; }
.vs__tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; font-size: 11px; font-weight: 700; color: var(--m-wc); background: rgba(35, 120, 138, 0.1); white-space: nowrap; }
.vs__tag--tbd { color: #8a6a00; background: #fff6d6; }
/* 地図の記号（凡例）：右の道具のボタンから開く */
.vmap__legendpop { position: absolute; top: 14px; right: 66px; z-index: 4; width: 252px; padding: 14px 16px 12px; background: #fff; border: 1px solid rgba(20, 48, 90, 0.1); border-radius: 14px; box-shadow: 0 16px 36px rgba(14, 42, 82, 0.18); }
.vmap__legendtitle { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); }
.vmap__legendpop .vmap__legend { display: grid; gap: 7px; margin: 0; padding: 0; font-size: 13px; color: var(--navy); }
.vmap__legendpop .vmap__legend li { display: flex; align-items: center; gap: 10px; list-style: none; }
.vmap__legendpop .vmap__legend svg { flex: none; width: 30px; }
.vmap__tool.is-on { background: var(--navy); color: #fff; }
.vmap__legendpop:not([hidden]) { transform-origin: top right; transition: opacity 150ms ease, transform 150ms cubic-bezier(0.23, 1, 0.32, 1); }
@starting-style { .vmap__legendpop:not([hidden]) { opacity: 0; transform: scale(0.97); } }

/* ---------- 和光銀座の区画：朱の丸に白い番号。もっと近づくと、団体のアイコンに番号が添う ---------- */
.vmap__slot circle, .vmap__slot.is-used circle { fill: var(--m-yatai); stroke: #fff; stroke-width: 1.6; filter: drop-shadow(0 1px 3px rgba(14, 42, 82, 0.28)); }
.vmap__slot text { font-family: var(--latin); font-size: 11px; font-weight: 700; fill: #fff; }
.vmap__slot:not(.is-used) circle { fill: #a9b1ba; }
.vmap__slot.is-used:focus-visible circle { fill: #b8402a; }
.vmap__slot.is-on circle, .vmap__slot.is-used.is-on circle { fill: var(--m-con); stroke: #fff; stroke-width: 2.2; }
.vmap__slot.is-on text { fill: #fff; }
.vmap__face { display: none; }
.vmap__facebg { fill: #fff; filter: drop-shadow(0 2px 5px rgba(14, 42, 82, 0.3)); }
.vmap__svg.is-close .vmap__slot.has-face .vmap__face { display: inline; }
.vmap__svg.is-close .vmap__slot.has-face .vmap__num { transform: translate(18px, -18px) scale(0.86); }
.vmap__slot.is-on .vmap__facebg { fill: var(--m-con); }
/* G棟入口前の G1・G2、C棟横テラスの3区画（パンフレットと同じ札） */
.vmap__stall { cursor: pointer; transform: translate(calc(var(--x) * 1px), calc(var(--y) * 1px)) scale(calc(var(--s) * var(--pin, 1))); }
.vmap__stall rect { fill: var(--m-yatai); stroke: #fff; stroke-width: 1.4; filter: drop-shadow(0 1px 3px rgba(14, 42, 82, 0.28)); }
.vmap__stall text { font-family: var(--latin); font-size: 10.5px; font-weight: 700; fill: #fff; text-anchor: middle; }
.vmap__stall.is-on rect { fill: var(--m-con); }
.vmap__svg:not(.is-mid) .vmap__stall { display: none; }
.vmap__svg.is-near:not(.is-mid) .vmap__slot:not(.is-on) { --pin: 0.42; }
.vmap__svg.is-near:not(.is-mid) .vmap__slot:not(.is-on) text, .vmap__svg.is-near:not(.is-mid) .vmap__slot:not(.is-on) .vmap__face { display: none; }
.vmap__card.is-filter .vmap__stall:not(.is-hit) { opacity: 0.32; }

/* ---------- 現在地 ---------- */
.vmap__me { display: none; }
.vmap__me.is-on { display: inline; }
.vmap__me-acc { fill: rgba(43, 125, 233, 0.14); stroke: rgba(43, 125, 233, 0.4); stroke-width: 1; vector-effect: non-scaling-stroke; }
.vmap__me-dot { transform: translate(calc(var(--x) * 1px), calc(var(--y) * 1px)) scale(calc(var(--s) * var(--pin, 1))); pointer-events: none; }
.vmap__me-dot circle { fill: var(--m-me); stroke: #fff; stroke-width: 3; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35)); }

/* ---------- 地図の上の部品 ---------- */
.vmap__search { border-radius: 12px; }
.vmap__chip { border-radius: 10px; }
.vmap__clock { border-radius: 12px; }
.vmap__tool { border-radius: 12px; }
.vmap__tool--me { color: var(--m-me); }
.vmap__tool--me.is-on { background: var(--m-me); color: #fff; border-color: var(--m-me); }
.vmap__tool--me.is-wait svg { animation: vmap-blink 1s ease-in-out infinite; }
@keyframes vmap-blink { 50% { opacity: 0.3; } }
.vmap__tool--fav { color: var(--m-tenji); }
.vmap__results button { grid-template-columns: auto auto minmax(0, 1fr); align-items: center; }
.vmap__results .r-icon { grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 7px; object-fit: cover; }
.vmap__results span.r-icon { display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: var(--m-con); }
.vmap__results span.r-icon svg { width: 22px; height: 22px; }
.vmap__results span.r-icon--toilet { background: var(--m-wc); }
.vmap__results span.r-icon--aed { background: var(--m-aed); }
.vmap__results span.r-icon--info { background: #2a8a5e; }
.vmap__results span.r-icon--smoke { background: #6d7f98; }
.vmap__results .r-no { grid-row: 1 / 3; }
.vmap__toast { position: absolute; left: 50%; top: 72px; z-index: 6; transform: translateX(-50%); width: max-content; max-width: calc(100% - 40px); padding: 10px 16px; font-size: 13px; line-height: 1.6; color: #fff; background: rgba(20, 48, 90, 0.94); border-radius: 10px; box-shadow: 0 8px 22px rgba(14, 42, 82, 0.25); }
.vmap__listbtn { display: none; }

/* ---------- 一覧の1行（団体のアイコン・★） ---------- */
.vs__item { grid-template-columns: 44px minmax(0, 1fr) auto auto; column-gap: 12px; }
.vs__icon { grid-column: 1; grid-row: 1 / 4; align-self: center; width: 44px; height: 44px; border-radius: 9px; object-fit: cover; background: var(--paper); box-shadow: 0 0 0 1px rgba(20, 48, 90, 0.08); }
.vs__icon--none { display: grid; place-items: center; font-family: var(--mincho); font-size: 17px; font-weight: 700; color: #fff; background: var(--m-con); box-shadow: none; }
.vs__icon--none[data-k="yatai"] { background: var(--m-yatai); }
.vs__icon--none[data-k="stage"] { background: var(--m-stage); }
.vs__icon--none[data-k="tenji"] { background: var(--m-tenji); }
.vs__item .vs__no, .vs__item .vs__name, .vs__item .vs__group { grid-column: 2; }
.vs__item .vs__room { grid-column: 3; grid-row: 1 / 4; border-radius: 6px; }
.vs__room small { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; color: var(--muted); text-align: right; }
.vs__fav { grid-column: 4; grid-row: 1 / 4; align-self: center; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; color: #c3cbd6; }
.vs__fav svg path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.vs__fav.is-on { color: var(--m-tenji); }
.vs__fav.is-on svg path { fill: currentColor; }
.vs__item--go .vs__go { grid-column: 2; grid-row: 1 / 4; display: grid; gap: 1px; min-width: 0; text-align: left; }
.vs__go .vs__no, .vs__go .vs__name, .vs__go .vs__group { grid-column: auto; }
.vs__go .vs__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs__item--go .vs__room { max-width: 9em; white-space: normal; text-align: right; line-height: 1.4; background: none; padding: 0; color: var(--ink); font-weight: 500; }

/* 予定の予約ページなどのリンク（タイムテーブルのデータの link） */
.vs__tlink { grid-column: 2; display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 12.5px; font-weight: 700; color: var(--blue); }

/* ---------- スマホ：地図を画面いっぱいに。上に検索と部門、下に「企画の一覧」 ---------- */
@media (max-width: 760px) {
  .vmap.section { padding-top: 14px; }
  .vmap .crumb, .vmap__lead { display: none; }
  .vmap .sec-title { margin-bottom: 10px; }
  .vmap__card { height: calc(100svh - var(--header-h) - 64px); min-height: 460px; margin-inline: -14px; border-radius: 14px; }
  .vmap__top { width: calc(100% - 20px); right: 10px; }
  .vmap__results { max-height: 46svh; }
  .vmap__bottom { display: contents; }
  .vmap__chips { position: absolute; top: 62px; left: 10px; right: 0; z-index: 2; }
  .vmap__chip { height: 36px; padding: 0 12px; font-size: 13.5px; }
  .vmap__clockwrap { position: absolute; left: 10px; bottom: 66px; z-index: 2; }
  .vmap__clock { height: 38px; padding: 0 12px; }
  .vmap__tools { top: 108px; }
  .vmap__legendpop { top: 108px; right: 62px; width: min(252px, calc(100% - 80px)); }
  .vmap__tool[data-zoom="in"], .vmap__tool[data-zoom="out"] { display: none; }
  .vmap__tool[data-full] { margin-top: 0; }
  .vmap__listbtn { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; font-size: 15px; font-weight: 700; color: #fff; background: var(--m-con); border-radius: 12px; box-shadow: 0 8px 20px rgba(14, 42, 82, 0.25); }
  .vmap__listbtn span { font-family: var(--latin); font-size: 15px; color: #9cc8f2; }
  .vmap__card.is-sheet .vmap__listbtn, .vmap__card.is-sheet .vmap__clockwrap { display: none; }
  .vmap__credit { bottom: 60px; }
  .vmap__toast { top: 108px; }
  .vs__item--go .vs__room { max-width: 7em; font-size: 11.5px; }
}

/* ---------- タブレット（761〜1099px）：「企画の一覧」は右下 ---------- */
@media (min-width: 761px) and (max-width: 1099px) {
  .vmap__listbtn { position: absolute; right: 14px; bottom: 26px; z-index: 3; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; font-size: 14px; font-weight: 700; color: #fff; background: var(--m-con); border-radius: 12px; box-shadow: 0 8px 20px rgba(14, 42, 82, 0.25); }
  .vmap__listbtn span { font-family: var(--latin); color: #9cc8f2; }
  .vmap__card.is-sheet .vmap__listbtn { display: none; }
}

/* ---------- PC：左に一覧（場所を押すと、その場所の企画に替わる） ---------- */
@media (min-width: 1100px) {
  .vmap__card { height: clamp(620px, 82vh, 880px); }
  .vmap__stage { left: 384px; }
  .vmap__card .vmap__sheet { top: 0; left: 0; right: auto; bottom: 0; width: 384px; border: 0; border-right: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .vmap__card .vmap__sheet[hidden] { display: block; }
  .vmap__sheetbody { padding: 78px 22px 28px; }
  .vmap__close { margin-top: 72px; }
  .vmap__sheet.is-list .vmap__close { display: none; }
  .vmap__top { left: 14px; width: 356px; z-index: 5; }
  .vmap__bottom { left: 398px; }
  .vmap__toast { left: calc(384px + (100% - 384px) / 2); }
}

/* ---------- スマホでの手ざわり（スキル mobile-native の決まり。2026-11-02） ---------- */
/* 押したときの灰色・青の四角を出さない（代わりに、下の「押した瞬間」の動きで手ごたえを出す） */
html { -webkit-tap-highlight-color: transparent; }
/* iPhone は 16px より小さい入力欄を押すと画面を拡大して戻らない */
.vmap__search input { font-size: 16px; }
/* ボタンは、2回たたきの拡大を待たずにすぐ反応・長押しで文字が選ばれない */
.vmap__card button, .vmap__card [role="button"], .vlist__focus { touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
/* 押した瞬間の手ごたえ（指が触れたときに少し縮む。離したときではなく） */
.vmap__tool, .vmap__chip, .vmap__listbtn, .vs__fav, .vmap__clock, .vmap__close, .vmap__day, .vmap__reset { transition: transform 120ms cubic-bezier(0.2, 0.7, 0.3, 1), background-color .2s ease, color .2s ease; }
.vmap__tool:active, .vmap__chip:active, .vmap__listbtn:active, .vs__fav:active, .vmap__clock:active, .vmap__close:active, .vmap__day:active, .vmap__reset:active { transform: scale(0.95); }
.vs__go:active .vs__name, .vmap__results button:active .r-title { color: var(--blue); }
.vmap__results button:active, .vs__item--go:active { background: var(--paper); }
/* マウスで乗せたときの色（指で押したあとに残らないよう、マウスのときだけ） */
@media (hover: hover) and (pointer: fine) {
  .vmap__bld[data-b]:hover .vmap__roof { fill: #cfd6e1; }
  .vmap__bld.is-used[data-b]:hover .vmap__roof { fill: #3f66a3; }
  .vmap__ginza:hover { stroke: rgba(207, 79, 55, 0.14); }
  .vmap__pin:hover rect { fill: #eef3fa; }
  .vmap__pin--aed:hover rect { fill: #a00d25; }
  .vmap__pin--toilet:hover rect { fill: #175a68; }
  .vmap__slot.is-used:hover circle { fill: #b8402a; }
  .vs__fav:hover { background: var(--paper); color: var(--m-tenji); }
  .vs__go:hover .vs__name { color: var(--blue); }
}
/* style.css の「乗せたとき」の色は条件なしなので、さわる画面では元に戻す */
@media (hover: none), (pointer: coarse) {
  .vmap__tool:hover { background: rgba(255, 255, 255, 0.96); color: var(--navy); }
  .vmap__tool--me:hover { color: var(--m-me); }
  .vmap__tool--fav:hover { color: var(--m-tenji); }
  .vmap__tool--me.is-on:hover { background: var(--m-me); color: #fff; }
  .vmap__card.is-full .vmap__tool[data-full]:hover { background: var(--navy); color: #fff; }
  .vmap__chip:hover { background: rgba(255, 255, 255, 0.97); }
  .vmap__chip.is-on:hover { background: var(--navy); }
  .vmap__chip--toilet.is-on:hover { background: var(--m-wc); }
  .vmap__slot:not(.is-used):hover circle { fill: #a9b1ba; }
  .vmap__results button:hover { background: none; }
  .vmap__close:hover { background: var(--paper); color: var(--navy); }
  .vmap__reset:hover { background: var(--paper); }
  .vmap__bld[data-b]:hover .vmap__roof { fill: var(--m-bld-free); }
  .vmap__bld.is-used[data-b]:hover .vmap__roof { fill: var(--m-bld); }
  .vmap__bld.is-on[data-b]:hover .vmap__roof { fill: var(--m-stage); }
}
/* 画面いっぱい（全画面）のときは、上のくぼみ（ノッチ）と下のホームバーをよける */
.vmap__card.is-full .vmap__top, .vmap__card.is-full .vmap__tools { top: calc(14px + env(safe-area-inset-top, 0px)); }
.vmap__sheetbody { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 760px) {
  .vmap__card.is-full .vmap__top, .vmap__card.is-full .vmap__tools { top: calc(10px + env(safe-area-inset-top, 0px)); }
  .vmap__card.is-full .vmap__chips { top: calc(62px + env(safe-area-inset-top, 0px)); }
  .vmap__card.is-full .vmap__tools { top: calc(108px + env(safe-area-inset-top, 0px)); }
  .vmap__card.is-full .vmap__listbtn { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .vmap__card.is-full .vmap__clockwrap { bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- 出入りの動き（スキル emil-design-eng の決まり。2026-11-02） ---------- */
/* 下の欄・知らせ・検索の結果が「急にパッと出る」と壊れて見えるので、短く出す（出る向き＝来た方向。ease-out の強い曲線、300ms 未満） */
@media (max-width: 1099px) {
  .vmap__sheet:not([hidden]) { transition: transform 300ms cubic-bezier(0.32, 0.72, 0, 1), opacity 180ms ease; }
  @starting-style { .vmap__sheet:not([hidden]) { transform: translateY(18%); opacity: 0; } }
}
.vmap__toast:not([hidden]) { transition: opacity 200ms ease, transform 200ms cubic-bezier(0.23, 1, 0.32, 1); }
@starting-style { .vmap__toast:not([hidden]) { opacity: 0; transform: translate(-50%, -6px); } }
.vmap__results:not([hidden]) { transform-origin: top left; transition: opacity 150ms ease, transform 150ms cubic-bezier(0.23, 1, 0.32, 1); }
@starting-style { .vmap__results:not([hidden]) { opacity: 0; transform: translateY(-4px) scale(0.98); } }
@media (prefers-reduced-motion: reduce) {
  .vmap__sheet:not([hidden]), .vmap__toast:not([hidden]), .vmap__results:not([hidden]) { transition: opacity 150ms ease; }
  .vmap__tool:active, .vmap__chip:active, .vmap__listbtn:active, .vs__fav:active, .vmap__clock:active, .vmap__close:active, .vmap__day:active, .vmap__reset:active { transform: none; }
}
