/**
 * NARITA TIME — 店舗マップ 世界基準化アドオン（map-page.css の後に読み込む）
 *
 * 設計書 6.5 の ①〜⑤ を再構築。既存 map-page.css / shop-discovery.js のロジックは
 * 壊さず、見た目と演出だけを世界基準へ引き上げる（重ねるだけ）。
 *   ① 絵文字→SVGアイコン（mask不要・inline SVG / currentColor で3色追従）
 *   ② マーカーのホバー強化（内側要素のみ変形＝Leaflet の位置transformと非干渉）
 *   ③ リスト⇄ピン 相互ハイライト（.is-selected / .is-active）
 *   ④ 地図タイル彩度調整（やりすぎ厳禁）
 *   ⑤ ピン初回登場（JSが marker-pane を1度だけフェード）
 * 品を保つ上限：定常は穏やか、登場は初回1回。reduced-motion で全停止。
 *
 * @package naritatime
 */

/* ============================================================
   ① 絵文字 → SVG アイコン（currentColor で3色に追従）
   ============================================================ */
.ntm-ic { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.ntm-map-search-icon svg { color: var(--ntm-slate-soft); }
.ntm-map-locate-btn svg { vertical-align: -3px; margin-right: .35em; }
.ntm-map-empty-notice-icon svg { color: var(--ntm-terracotta); }
.ntm-map-list-divider-label svg { color: var(--ntm-slate); margin-right: .3em; vertical-align: -2px; }

/* ============================================================
   ④ 地図タイルの彩度調整（完全に3色世界へ・やりすぎない）
   ============================================================ */
.ntm-map-stage .leaflet-tile-pane { filter: saturate(.82) brightness(1.02); }

/* ============================================================
   ② マーカーのホバー強化（掲載店ピンは常時静か → ホバーで浮き上がり）
      ※ Leaflet が .leaflet-marker-icon に位置 transform を当てるため、
        変形は必ず「内側の svg / .ntm-action-marker」にのみ適用する。
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
    .ntm-map-marker:not(.ntm-map-marker--action) > svg,
    .ntm-action-marker {
        transition: transform .3s var(--ntm-ease-out);
        transform-origin: center bottom;
    }
    .ntm-map-marker:not(.ntm-map-marker--action):hover > svg,
    .ntm-map-marker--action:hover .ntm-action-marker {
        transform: scale(1.12) translateY(-4px);
    }
}

/* ============================================================
   ③ リスト⇄ピン 相互ハイライト
   ============================================================ */
/* 選択中ピン：テラコッタの脈動リング（操作時のみ） */
.ntm-map-marker.is-selected { z-index: 1000 !important; }
.ntm-map-marker.is-selected::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 34%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 2px solid var(--ntm-terracotta);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
    .ntm-map-marker.is-selected::after { animation: ntmMapSelRing 1.4s var(--ntm-ease-out) infinite; }
}
@media (prefers-reduced-motion: reduce) {
    .ntm-map-marker.is-selected::after { opacity: .9; transform: scale(1.3); }
}
@keyframes ntmMapSelRing {
    0%   { transform: scale(.55); opacity: .9; }
    100% { transform: scale(1.9); opacity: 0; }
}

/* v1.16.2: フォトピン(v1.14 既定アイコン)にも相互ハイライトを適用
   - .is-selected : リスト行 hover 時の呼応リング
   - .is-current  : クリック/タップ選択中(popupopen)の脈動。SP のタップフィードバック兼用 */
.ntm-photo-marker.is-selected,
.ntm-photo-marker.is-current { z-index: 1000 !important; }
.ntm-photo-marker.is-selected::after,
.ntm-photo-marker.is-current::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 2px solid var(--ntm-terracotta);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
    .ntm-photo-marker.is-selected::after,
    .ntm-photo-marker.is-current::after { animation: ntmMapSelRing 1.4s var(--ntm-ease-out) infinite; }
    .ntm-photo-marker.is-current .ntm-photo-pin { animation: ntmMapCurrentPulse 1.6s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
    .ntm-photo-marker.is-selected::after,
    .ntm-photo-marker.is-current::after { opacity: .9; animation: none; }
    .ntm-photo-marker.is-current .ntm-photo-pin { animation: none; }
}
@keyframes ntmMapCurrentPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.1); }
}

/* ピン hover で対応するリスト行（テラコッタ縦ライン＝Facts と同思想） */
.ntm-map-list-item.is-active {
    background: var(--ntm-paper);
    box-shadow: inset 3px 0 0 var(--ntm-terracotta);
}
.ntm-map-list-item.is-active .ntm-map-list-title { color: var(--ntm-terracotta); }

/* v1.16.2: リスト行 hover — ヒーロー・Facts と同じ「静かに持ち上がる」トーン */
.ntm-map-list-item { position: relative; }
.ntm-map-list-item:hover .ntm-map-list-title { color: var(--ntm-terracotta); }
@media (prefers-reduced-motion: no-preference) {
    .ntm-map-list-item {
        transition: background var(--ntm-transition-fast),
                    transform .25s cubic-bezier(.25, 1, .5, 1),
                    box-shadow .25s cubic-bezier(.25, 1, .5, 1);
    }
    .ntm-map-list-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(31, 42, 68, 0.08);
        z-index: 1;
    }
}

/* ============================================================
   ⑤ ピン初回登場（JS が .leaflet-marker-pane の opacity を1度だけ操作。
      reduced-motion 時は JS 側でスキップ。ここではトランジションの保険）
   ============================================================ */
/* ============================================================
   ★ ド派手：全幅シネマティック・ヒーロー（成田の真骨頂）
   ============================================================ */
.ntm-map-hero {
    position: relative;
    min-height: clamp(360px, 52vh, 560px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background: var(--ntm-indigo-deep);
}
.ntm-map-hero-bg {
    position: absolute;
    inset: -6% 0;
    background-size: cover;
    background-position: center;
    filter: saturate(.9) brightness(.62);
    animation: ntmMapHeroKB 18s ease-out forwards;
}
@keyframes ntmMapHeroKB { from { transform: scale(1.08); } to { transform: scale(1); } }
.ntm-map-hero-ov {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(19, 27, 46, .45), rgba(19, 27, 46, .35) 45%, rgba(19, 27, 46, .72));
}
.ntm-map-hero-in { position: relative; z-index: 2; color: #fff; padding: 0 var(--ntm-padding-pc); }
.ntm-map-hero-eyebrow {
    font-family: var(--ntm-font-en-italic);
    font-style: italic;
    font-size: 1rem;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--ntm-sand);
}
.ntm-map-hero-title {
    font-family: var(--ntm-font-serif);
    font-weight: 700;
    font-size: clamp(2rem, 5.5vw, 3.6rem);
    line-height: 1.4;
    letter-spacing: .06em;
    color: #fff; /* :where(h1..h6) の indigo を上書き */
    margin: 1rem 0 .8rem;
    text-shadow: 0 2px 40px rgba(0, 0, 0, .45);
}
.ntm-map-hero-sub {
    font-family: var(--ntm-font-serif);
    font-size: clamp(.95rem, 1.7vw, 1.15rem);
    line-height: 1.95;
    color: rgba(255, 255, 255, .9) !important; /* body.ntm-theme p の墨黒を上書き */
    text-shadow: 0 1px 20px rgba(0, 0, 0, .5);
}
.ntm-map-hero-scroll {
    display: block;
    width: 1px;
    height: 46px;
    margin: 1.8rem auto 0;
    background: linear-gradient(180deg, #fff, transparent);
    position: relative;
    overflow: hidden;
}
.ntm-map-hero-scroll::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 40%;
    background: var(--ntm-terracotta);
    animation: ntmMapScrollDot 2.2s infinite cubic-bezier(.7, 0, .3, 1);
}
@keyframes ntmMapScrollDot { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(230%); } }

/* ★ ド派手：企画開催中ピン（成田の主役）をより強く灯す */
.ntm-action-marker-svg {
    filter: drop-shadow(0 0 8px rgba(194, 83, 58, .7)) drop-shadow(0 0 3px rgba(232, 181, 71, .85));
}

@media (prefers-reduced-motion: reduce) {
    .ntm-map-stage .leaflet-marker-pane { opacity: 1 !important; transition: none !important; }
    .ntm-map-hero-bg { animation: none; transform: none; }
    .ntm-map-hero-scroll::after { animation: none; }
}

/* ============================================================
   ★ 生成さんぽ「あなたのための成田」— 時間×気分で順路を即生成
   shop-route-gen.js が #ntm-walk-* を駆動。地図(.ntm-map-stage)上のオーバーレイ。
   ============================================================ */
.ntm-map-stage { position: relative; } /* オーバーレイ基準（既に relative でも無害） */

.ntm-walk-panel {
    position: absolute; top: 16px; left: 16px; z-index: 1000;
    width: 320px; max-height: calc(100% - 32px); overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(255, 255, 255, .97);
    border: 1px solid var(--ntm-hairline);
    border-radius: 4px; padding: 18px;
    box-shadow: 0 10px 40px rgba(31, 42, 68, .12);
}
.ntm-walk-eye { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ntm-terracotta); margin: 0 0 10px; }
.ntm-walk-clabel { font-size: 11px; color: #6b7280; margin: 0 0 5px; }
#ntm-walk-time { display: flex; gap: 6px; margin: 0 0 11px; }
#ntm-walk-time button { flex: 1; font-family: inherit; font-size: 12.5px; color: var(--ntm-indigo); background: #fff; border: 1px solid var(--ntm-hairline); border-radius: 3px; padding: 7px 0; cursor: pointer; transition: background .15s, color .15s; }
#ntm-walk-time button.is-on { background: var(--ntm-indigo); color: #fff; border-color: var(--ntm-indigo); }
#ntm-walk-theme { width: 100%; font-family: inherit; font-size: 12.5px; color: var(--ntm-indigo); background: #fff; border: 1px solid var(--ntm-hairline); border-radius: 3px; padding: 8px 10px; margin: 0 0 10px; }
.ntm-walk-gen { width: 100%; font-family: inherit; font-size: 14px; font-weight: 600; color: #fff; background: var(--ntm-terracotta); border: none; border-radius: 3px; padding: 12px; cursor: pointer; margin: 2px 0 6px; letter-spacing: .04em; transition: background .15s; }
.ntm-walk-gen:hover { background: var(--ntm-terracotta-deep); }
.ntm-walk-subrow { display: flex; gap: 14px; justify-content: center; }
#ntm-walk-regen, #ntm-walk-here { font-family: inherit; font-size: 12px; color: var(--ntm-terracotta); background: none; border: none; cursor: pointer; padding: 4px; text-decoration: underline; }
#ntm-walk-here.is-on { color: #5d7059; }
#ntm-walk-here.is-loading { opacity: .5; pointer-events: none; }
.ntm-walk-result:not(:empty) { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ntm-hairline); }
.ntm-walk-title { font-family: var(--ntm-font-serif); font-size: 20px; font-weight: 600; margin: 0 0 5px; line-height: 1.3; color: var(--ntm-indigo); }
.ntm-walk-meta { font-size: 12px; color: #6b7280; margin: 0 0 9px; }
.ntm-walk-meta b { color: var(--ntm-indigo); }
.ntm-walk-intro { font-size: 12.5px; line-height: 1.7; color: #4a4a4a; margin: 0 0 9px; }
.ntm-walk-from { font-size: 12px; color: #5d7059; font-weight: 600; margin: 0 0 12px; }
.ntm-walk-stops { list-style: none; margin: 0; padding: 0; }
.ntm-walk-stop { display: flex; gap: 11px; padding: 8px 6px; border-radius: 4px; align-items: flex-start; list-style: none; }
.ntm-walk-stop:hover { background: var(--ntm-hairline-soft); }
.ntm-walk-no { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--ntm-indigo); color: #fff; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.ntm-walk-stop.is-hot .ntm-walk-no { background: var(--ntm-terracotta); }
.ntm-walk-name { font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--ntm-indigo); text-decoration: none; }
.ntm-walk-name:hover { color: var(--ntm-terracotta); }
.ntm-walk-sub { display: block; font-size: 11px; color: #6b7280; margin-top: 2px; }
.ntm-walk-open { color: #5d7059; font-weight: 600; }
.ntm-walk-closed { color: #b0b0b0; }
.ntm-walk-seg { font-size: 10px; color: #9aa0a6; padding: 1px 0 1px 30px; list-style: none; }
.ntm-walk-empty { font-size: 13px; color: #6b7280; line-height: 1.7; }

.ntm-walk-pin { width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--ntm-indigo); border: 2px solid #fff; box-shadow: 0 3px 7px rgba(31, 42, 68, .4); display: flex; align-items: center; justify-content: center; }
.ntm-walk-pin span { transform: rotate(45deg); color: #fff; font-size: 12px; font-weight: 700; }
.ntm-walk-pin.is-hot { background: var(--ntm-terracotta); }

@media (max-width: 768px) {
    .ntm-walk-panel { width: calc(100% - 24px); max-height: 58%; left: 12px; top: 12px; }
}

/* ============================================================
   ★ 参道スタンプ帳（御朱印帳メタファ） stamp-book.js
   ============================================================ */
/* ルートパネル内：行った（朱印）ボタン と スタンプ帳ボタン */
.ntm-walk-stamp {
    flex: 0 0 auto; align-self: center; font-family: inherit; font-size: 11px;
    color: #a8322a; background: #fff; border: 1px solid #e3b3ad; border-radius: 3px;
    padding: 4px 9px; cursor: pointer; transition: background .15s, color .15s, transform .12s;
}
.ntm-walk-stamp:hover { background: #fbeeec; }
.ntm-walk-stamp.is-stamped { background: #a8322a; color: #fff; border-color: #a8322a; }
.ntm-walk-stamp:active { transform: scale(.92); }
.ntm-walk-book {
    width: 100%; margin-top: 12px; font-family: inherit; font-size: 12.5px; font-weight: 600;
    color: #a8322a; background: #fff; border: 1px dashed #d9a59e; border-radius: 3px;
    padding: 9px; cursor: pointer; transition: background .15s;
}
.ntm-walk-book:hover { background: #fbeeec; }

/* モーダル */
.ntm-stamp-overlay {
    position: fixed; inset: 0; z-index: 4000; display: flex; align-items: center; justify-content: center;
    padding: 24px; background: rgba(20, 22, 30, .5);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.ntm-stamp-overlay.is-open { opacity: 1; visibility: visible; }
.ntm-stamp-overlay.is-instant { transition: none; }
.ntm-stamp-book {
    position: relative; width: 100%; max-width: 560px; max-height: 86vh; overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #f7f3ea; border: 1px solid #e3ddcd; border-radius: 4px;
    padding: 30px 30px 26px; box-shadow: 0 20px 70px rgba(20, 22, 30, .4);
    transform: translateY(14px) scale(.98); transition: transform .3s ease;
}
.ntm-stamp-overlay.is-open .ntm-stamp-book { transform: none; }
.ntm-stamp-close {
    position: absolute; top: 14px; right: 16px; width: 32px; height: 32px; line-height: 1;
    font-size: 24px; color: #8a8270; background: none; border: none; cursor: pointer; border-radius: 50%;
}
.ntm-stamp-close:hover { background: rgba(0, 0, 0, .05); }
.ntm-stamp-eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #a8322a; margin: 0 0 6px; }
.ntm-stamp-title { font-family: var(--ntm-font-serif); font-size: 26px; font-weight: 600; color: var(--ntm-indigo); margin: 0 0 8px; }
.ntm-stamp-progress { font-size: 14px; color: #6b6453; margin: 0 0 20px; }
.ntm-stamp-progress b { font-size: 22px; color: #a8322a; font-weight: 700; }
.ntm-stamp-progress span { color: #9a927e; font-size: 12px; }
.ntm-stamp-sec {
    font-size: 12px; font-weight: 600; letter-spacing: .08em; color: #6b6453;
    margin: 22px 0 12px; padding-bottom: 7px; border-bottom: 1px solid #e3ddcd;
}
.ntm-stamp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 14px; }
.ntm-stamp-seal { position: relative; aspect-ratio: 1 / 1; }
.ntm-stamp-seal .ntm-seal-svg { width: 100%; height: 100%; display: block; }
.ntm-stamp-seal-name { font-family: var(--ntm-font-serif); font-size: 13px; font-weight: 600; color: #a8322a; } /* 生成器未読込時のフォールバック表示 */
.ntm-stamp-seal.is-fresh { animation: ntmSealPress .55s cubic-bezier(.2, 1.3, .4, 1); transform-origin: center; }
@keyframes ntmSealPress {
    0% { transform: scale(1.5) rotate(var(--r, 0deg)); opacity: 0; }
    55% { transform: scale(.92); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
.ntm-stamp-empty { font-size: 13px; line-height: 1.8; color: #8a8270; margin: 0; }
.ntm-stamp-wish { list-style: none; margin: 0; padding: 0; }
.ntm-stamp-wish-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #ece6d8; }
.ntm-stamp-wish-name { font-size: 14px; font-weight: 600; color: var(--ntm-indigo); }
.ntm-stamp-wish-sub { display: block; font-size: 11px; color: #9a927e; margin-top: 1px; }
.ntm-stamp-wish-btn { flex: 0 0 auto; font-family: inherit; font-size: 11px; color: #a8322a; background: #fff; border: 1px solid #e3b3ad; border-radius: 3px; padding: 6px 11px; cursor: pointer; }
.ntm-stamp-wish-btn:hover { background: #fbeeec; }
.ntm-stamp-next { margin: 20px 0 0; padding: 14px 16px; background: rgba(168, 50, 42, .05); border-radius: 4px; font-size: 13px; color: #6b6453; }
.ntm-stamp-next b { color: #a8322a; }

@media (prefers-reduced-motion: reduce) {
    .ntm-stamp-overlay, .ntm-stamp-book { transition: none; }
    .ntm-stamp-seal.is-fresh { animation: none; }
}

/* ============================================================
   ★ フォト×ライブ地図（v1.14）— 写真ピン＋営業状態＋「成田の今」リボン
   ============================================================ */
.ntm-photo-marker { background: none; border: 0; }
.ntm-photo-pin-wrap { position: relative; width: 48px; height: 48px; }
.ntm-photo-pin {
    position: relative;
    width: 48px; height: 48px; border-radius: 50%; overflow: hidden;
    border: 3px solid #fff; background: var(--ntm-hairline, #e5e1d5);
    box-shadow: 0 3px 10px rgba(31, 42, 68, .35);
    /* v1.16.2: 軽く跳ねるホバー(パッチ②のバウンス系イージング) */
    transition: transform .22s cubic-bezier(.34, 1.56, .64, 1);
    transform-origin: center bottom;
}
/* v1.45.2: 横長ロゴが円で見切れないよう、同じ写真のぼかしで円を埋め、本体は全体表示。 */
.ntm-photo-pin::before {
    content: ""; position: absolute; inset: 0;
    background-image: var(--thumb); background-size: cover; background-position: center;
    filter: blur(7px) saturate(1.1); transform: scale(1.4);
}
.ntm-photo-pin img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; display: block; }
.ntm-photo-pin-ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center;
    font-family: var(--ntm-font-serif, serif); font-size: 18px; color: var(--ntm-indigo, #1f2a44); }
.ntm-photo-pin-wrap:hover .ntm-photo-pin { transform: translateY(-3px) scale(1.1); }
.ntm-photo-pin-wrap.st-open .ntm-photo-pin { border-color: #5d7059; }
.ntm-photo-pin-wrap.st-soon .ntm-photo-pin { border-color: var(--ntm-terracotta, #c2533a); }
.ntm-photo-pin-wrap.st-closed .ntm-photo-pin { filter: grayscale(.75) brightness(.86); border-color: #c9c5bb; }
.ntm-photo-pin-tag {
    position: absolute; bottom: -7px; left: 50%; transform: translateX(-50%); white-space: nowrap;
    font-size: 9px; font-weight: 600; color: #fff; background: #5d7059; padding: 1px 7px; border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.ntm-photo-pin-wrap.st-soon .ntm-photo-pin-tag { background: var(--ntm-terracotta, #c2533a); }
.ntm-photo-pin-wrap.is-hot::after {
    content: ""; position: absolute; inset: -4px; border-radius: 50%;
    border: 2px solid var(--ntm-terracotta, #c2533a); animation: ntmPhotoPulse 2s infinite;
}
@keyframes ntmPhotoPulse { 0% { transform: scale(.85); opacity: .6; } 100% { transform: scale(1.4); opacity: 0; } }

/* v1.41.0: 地図(明色タイル)が背後に透けて文字が沈む問題を解消。
   ほぼ不透過の濃紺＋ブラウザぼかしで下地を断ち、本文は純白・数字は明るい緑に。 */
.ntm-now-ribbon {
    position: absolute; top: 16px; left: 16px; z-index: 1000;
    display: flex; align-items: center; gap: 11px;
    background: rgba(19, 27, 46, .97);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    color: #fff; border-radius: 8px; padding: 11px 18px;
    box-shadow: 0 10px 30px rgba(19, 27, 46, .4);
    border: 1px solid rgba(255, 255, 255, .1);
    font-size: 12.5px; letter-spacing: .02em;
}
/* ⚠ 真犯人: typography.css の `.ntm-theme b { color: var(--ntm-indigo) }` が
   全 <b> を藍色にするため、濃紺リボン上の「成田の今」(<b>)が沈む。
   読み込み順に依存しないよう .ntm-theme を前置して詳細度で確実に上書きする。 */
.ntm-now-ribbon b,
.ntm-theme .ntm-now-ribbon b { font-size: 13.5px; font-weight: 700; color: #fff; }
.ntm-now-ribbon-time,
.ntm-theme .ntm-now-ribbon .ntm-now-ribbon-time { font-variant-numeric: tabular-nums; font-weight: 600; color: rgba(255, 255, 255, .72); }
.ntm-now-ribbon-count,
.ntm-theme .ntm-now-ribbon .ntm-now-ribbon-count { opacity: 1; color: #fff; }
.ntm-now-ribbon-count b,
.ntm-theme .ntm-now-ribbon .ntm-now-ribbon-count b { color: #8fe6b4; font-weight: 700; }
.ntm-now-ribbon-dot { width: 8px; height: 8px; border-radius: 50%; background: #8fe6b4; animation: ntmNowPulse 2s infinite; }
@keyframes ntmNowPulse { 0% { box-shadow: 0 0 0 0 rgba(126, 224, 168, .6); } 100% { box-shadow: 0 0 0 9px rgba(126, 224, 168, 0); } }

.ntm-map-popup-now { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 10px; }
.ntm-map-popup-now.is-open { color: #fff; background: #5d7059; }
.ntm-map-popup-now.is-soon { color: #fff; background: var(--ntm-terracotta, #c2533a); }
.ntm-map-popup-now.is-closed { color: #8a8a8a; background: #efece4; }

@media (prefers-reduced-motion: reduce) {
    .ntm-photo-pin-wrap.is-hot::after, .ntm-now-ribbon-dot { animation: none; }
    .ntm-photo-pin-wrap:hover .ntm-photo-pin { transform: none; }
}
