/* ═══════════════════════════════════════════════════════════════
   02 地圖標籤（2026-10-06）
   這個檔（baseCss70_2.css）在 /https://www.wowintw.com.tw/archive/modelBase/<lang>/RWDfullscreen01/ 底下，
   圖的網址一定要寫完整網址：寫 https://www.wowintw.com.tw/archive/image/... 這種相對路徑會從這個資料夾去找，變成 404、光暈就不會出現。
   客戶的 2017 MacBook Pro（Safari、2x）實測：地圖區 30～35fps、滑過標籤 20～30fps，
   原因都是每格重算的濾鏡／疊色，全部改成圖片，動畫只動 opacity／transform。
   ═══════════════════════════════════════════════════════════════ */

/* 巫師大圖：不疊色（底圖是深色，看不出差別） */
.block3-bg img.all-bg.cover {
  mix-blend-mode: unset;
}

/* ───── A 段：光圈、呼吸光、魔杖光暈改圖片 ───── */

/* 光圈：直接用發光版標籤圖，不再濾鏡＋疊色 */
.map-block .map-stage .map-labels .map-label-item::before {
  background: url("https://www.wowintw.com.tw/archive/image/customization/tag-light-4.webp") no-repeat center center / contain;
  -webkit-filter: none;
  filter: none;
  mix-blend-mode: normal;
}

/* 呼吸光：原本的「橢圓漸層＋blur 8→14px＋兩層 drop-shadow」畫成一張 tag-glow.webp，
   框比原本的橢圓大，才放得下向外擴散的光；呼吸只動大小與亮度 */
.map-block .map-stage .map-labels .map-label-item.active::after {
  left: -10.7%;
  top: -5.9%;
  width: 121.4%;
  height: 111.5%;
  border-radius: 0;
  background: url("https://www.wowintw.com.tw/archive/image/customization/tag-glow-2.webp") center / contain no-repeat;
  -webkit-filter: none;
  filter: none;
  -webkit-animation: wandGlowPulseImg 2.2s ease-in-out infinite alternate;
  animation: wandGlowPulseImg 2.2s ease-in-out infinite alternate;
}

@-webkit-keyframes wandGlowPulseImg { 0% { -webkit-transform: scale(0.85); opacity: 0.7; } 100% { -webkit-transform: scale(1.1); opacity: 1; } }
@keyframes wandGlowPulseImg { 0% { transform: scale(0.85); opacity: 0.7; } 100% { transform: scale(1.1); opacity: 1; } }

/* 魔杖光暈：改用音樂鈕的光暈圖，不疊色、不濾鏡；倍率 1.8～2.2 補足原本濾鏡向外擴散的範圍。991px 以下原本就隱藏 */
.map-block .deco-wand-glow {
  border-radius: 0;
  background: url("https://www.wowintw.com.tw/archive/image/customization/bgm-toggle-shadow.webp") center / contain no-repeat;
  -webkit-filter: none;
  filter: none;
  mix-blend-mode: normal;
  -webkit-transform-origin: center;
  transform-origin: center;
  -webkit-animation: wandGlowImagePulse 2.2s ease-in-out infinite alternate;
  animation: wandGlowImagePulse 2.2s ease-in-out infinite alternate;
}

@-webkit-keyframes wandGlowImagePulse { from { opacity: 0.65; -webkit-transform: scale(1.8); } to { opacity: 1; -webkit-transform: scale(2.2); } }
@keyframes wandGlowImagePulse { from { opacity: 0.65; transform: scale(1.8); } to { opacity: 1; transform: scale(2.2); } }

@media (prefers-reduced-motion: reduce) {
  .map-block .deco-wand-glow {
    animation: none;
    transform: scale(2);
    opacity: 0.8;
  }
}

/* ───── B 段：標籤圖的陰影做進圖（en 的 9 張 -s 圖已經換好，這段直接生效） ───── */
/* 圖四邊各多 12px 透明邊放陰影，寬度要放大 1.134 倍，標籤本體才會維持原尺寸；
   滑過的縮放過場不再帶 filter；選中標籤的金色 drop-shadow 也拿掉（光由光圈圖提供） */
.map-block .map-stage .map-labels .map-label-item img {
  width: clamp(136px, 7.94vw, 218px);
  -webkit-filter: none;
  filter: none;
  -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.map-block .map-stage .map-labels .map-label-item.active img {
  -webkit-filter: none;
  filter: none;
}

@media (max-width: 1024px) {
  .map-block .map-stage .map-labels .map-label-item img { width: clamp(113px, 7.94vw, 218px); }   /* 原 clamp(100px, 7vw, 192px) × 1.134 */
}

/* ───── 英文版地圖卡片（原本就有） ───── */
.lang_en .map-block .map-detail .map-card .card-title {
  font-size: calc(var(--FontSizePrimary) * .65);
}

.lang_en .map-block .map-detail .map-card .card-title {
    font-size: calc(var(--FontSizeItemTitle) * 0.9);
}

.lang_en .map-block .map-detail .map-card .card-desc {
    font-size: var(--FontSizeBody);
}


 .map-block .map-detail .map-card .card-info{
      place-content: center;
      padding-bottom: var(--Space3);
}
.map-block .map-detail .map-card .card-inner::after {
  width: calc(100% - 20px);
  height: calc(100% - 40px);
  left: 10px;
  top: 20px;
}

@media (max-width: 991px) {
  .map-block .map-detail .map-card {
    aspect-ratio: unset;
  }

  .map-block .map-detail .map-card .card-inner::after {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
  }
}
@media (max-width: 1536px) {

.map-block .map-detail .map-card .card-info {
    padding-bottom: var(--Space4);
}
}

@media (max-width: 1024px) {
    .lang_en .map-block .map-detail .map-card .card-desc {
        font-size: 14px;
    }

    .lang_en .map-block .map-detail .map-card .card-title {
    font-size: calc(var(--FontSizeItemTitle) * 0.8);
}
}

@media (max-width: 991px) {
    .map-block .map-detail .map-card .card-info {
        padding-bottom: 0;
    }
    .lang_en .map-block .map-detail .map-card .card-info {
    padding-left: 0;}
}

@media (max-width: 650px) {

    .lang_en .map-block .map-detail .map-card .card-info {
        padding: var(--Space3);
        padding-top: 0;
    }
}


/* ───── 紫光軌跡圖層（和 baseCss61 的游標段落一樣，放哪一個檔都可以，留著不衝突） ───── */
.cur-layer {
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  opacity: 1 !important;
  -webkit-transition: none !important;
  transition: none !important;
  visibility: hidden !important;
}

.cur-layer.on { visibility: visible !important; }
.cur-layer.text { visibility: hidden !important; }

.cur-trail i {
  mix-blend-mode: normal !important;
}

.cur-gem,
.cur-ball {
  -webkit-filter: none !important;
  filter: none !important;
}
