/* 昭揚藝文案｜樣式
   重建依據：舊官網 https://k1.h2.com.tw/（2026-11-17 量測）。每一段的寬度、間距、斷點都照舊站的數字，
   目的是「看起來一模一樣」，所以這裡的百分比與像素不要順手改成整齊的數字。
   斷點（和舊站相同）：481、769、1025、1441；浮動按鈕另外在 680 與 480 變化。 */

:root {
  /* 顏色（全部取自舊站） */
  --navy: #08163e;        /* 主視覺底色 */
  --blue: #21466c;        /* 表單文字、按鈕 */
  --blue-line: #1f466b;   /* 表單框線 */
  --blue-hi: #3170b7;     /* 浮動按鈕的邊線與滑過色 */
  --blue-hover: #116394;  /* 送出按鈕滑過 */
  --red: #961c1c;         /* 每段結尾的紅色橫條 */
  --gold: #c69c6d;        /* 輪播圓點 */
  --ink: #212529;
  --field-ink: #333;
  --muted: #666;
  --bar: rgba(140, 201, 238, .8); /* 手機底部按鈕列 */
  --error: #d40000;
  --white: #fff;
  /* 字體：舊站只有表單與少數小字是真的文字，用的是系統字（其餘文字都是圖）。照舊站的順序 */
  --font: "微軟正黑體", "Arial", sans-serif;
  --ease: ease-in-out;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; font: 400 16px/1.5 var(--font); color: var(--ink); background: var(--white); }
h1, h2, h3, p, ul { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; }
ul { list-style: none; }
picture { display: block; }
img { display: block; width: 100%; height: auto; }
button, input { margin: 0; font: inherit; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.only-pc { display: none !important; }

/* 宣紙底紋（280px 小圖重複鋪滿） */
.paper { background: url(../img/box-bg.jpg) repeat; }

/* 每段結尾的紅色橫條 */
.rule { width: 36%; height: 8px; margin: 0 32%; background: var(--red); }

/* ── 00 李多慧影片（2026-12-02 業主要求加在最上面） ── */
.vid { position: relative; overflow: hidden; background: var(--navy); }
.vid__bg { display: none; }
.vid__frame { position: relative; }
.vid__main { display: block; width: 100%; height: auto; aspect-ratio: 404 / 720; object-fit: cover; background: var(--navy); }
.vid__ctrl { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 10px; }
.vid__ctrl[hidden] { display: none; }
.vid__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--white); background: rgba(8, 22, 62, .55); border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; cursor: pointer; transition: background-color .2s var(--ease); }
.vid__btn:hover { background: rgba(8, 22, 62, .85); }
.vid__ico { width: 22px; height: 22px; fill: currentColor; }
.vid__btn[data-vid="sound"] .vid__ico--on,
.vid__btn[data-vid="sound"].is-on .vid__ico--off,
.vid__btn[data-vid="play"] .vid__ico--play,
.vid__btn[data-vid="play"].is-paused .vid__ico--pause { display: none; }
.vid__btn[data-vid="sound"].is-on .vid__ico--on,
.vid__btn[data-vid="play"].is-paused .vid__ico--play { display: block; }

/* ── 01 主視覺 ── */
.hero { position: relative; overflow: hidden; padding-top: 60%; background: var(--navy); }
.hero__logo { position: absolute; top: 2%; left: 5%; width: 26%; }
.hero__text { position: absolute; top: 8%; left: 0; width: 100%; overflow: hidden; }
.hero__title { width: 20%; margin: 0 40%; }
.hero__mid { width: 60%; margin: 6% 20% 0; }
.hero__bottom { position: absolute; bottom: 0; left: 0; width: 30%; margin: 0 35%; }
.hero__brand { position: absolute; right: 3%; bottom: 2%; font-size: 13px; font-weight: 500; line-height: 1.2; letter-spacing: 2px; color: var(--white); }

/* ── 02 最懂桃園 ── */
.s1 { padding: 10% 10% 0; }
.s1__body { margin: 0 0 15%; }
.s1__title { margin: 0 0 18px; }
.s1__cols { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
.s1__text, .s1__photos { width: 100%; }
.s1__text > p { margin: 0 0 18px; }

/* ── 03 鳥瞰圖 ── */
.map { position: relative; }
.map__scroll { overflow-x: scroll; scrollbar-width: none; }
.map__scroll::-webkit-scrollbar { display: none; }
.map__scroll img { width: 320%; max-width: none; }
.map__scroll.is-dragging { cursor: grabbing; user-select: none; }
/* 標題與底部的字蓋在圖上；不攔手指與滑鼠，圖才滑得動 */
.map__title { position: absolute; top: 12%; left: 5%; z-index: 10; width: 90%; pointer-events: none; }
.map__bottom { position: absolute; bottom: 0; left: 1%; z-index: 10; display: flex; flex-wrap: wrap; width: 98%; pointer-events: none; }
.map__hint { width: 80%; margin: 0 10% 15px; text-align: center; font-size: 1.25em; font-weight: 700; line-height: 1.2; letter-spacing: 4px; color: var(--white); text-shadow: 1px 3px 2px #000; }
.map__note { width: 100%; margin: 0 0 5px; font-size: 10px; font-weight: 700; line-height: 1.2; color: var(--white); text-shadow: 2px 3px 8px #000; }

/* ── 04、05 兩段圖文 ── */
.s3 { padding: 8% 5% 0; }
.s3__title { width: 80%; margin: 0 10% 18px; }
.s3__cols { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; margin: 0 0 15%; }
.s3__cols--reverse { flex-direction: column; }
.s3__text, .s3__media { width: 100%; }
.s3__para { margin: 0 0 18px; }

/* ── 06 大境 ── */
.s5 { padding: 8% 0 0; }
.s5__cols { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; margin: 0 0 6%; }
.s5__text { z-index: 5; width: 90%; margin: 5% 5% 0; }
.s5__title { margin: 0 0 18px; }
.s5__art { width: 100%; }

/* ── 07 預約鑑賞 ── */
.contact { padding: 60px 5% 40px; }
.contact__inner { display: flex; flex-wrap: wrap; }
.contact__form { width: 100%; }
.contact__lead { margin: 18px 0; }

.form { display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; }
.form__title { width: 90px; margin: 0 calc(50% - 45px) 10px; }
.form__box { display: flex; flex-wrap: wrap; align-items: center; width: 100%; margin: 8px 0; background: var(--white); border: 1px solid var(--blue-line); }
.form__label { width: 82px; padding: 0 10px; font-size: .9em; font-weight: 700; letter-spacing: 1px; color: var(--blue); }
.form__input { width: calc(100% - 98px); margin: 0 8px; padding: 5px 0; font-weight: 700; color: var(--field-ink); background: var(--white); border: 0; border-radius: 0; }
.form__input:focus { outline: none; }
.form__box:focus-within { outline: 2px solid var(--blue-hi); outline-offset: 1px; }

.form__rooms { display: flex; flex-wrap: wrap; align-items: center; width: 100%; margin: 8px 0; padding: 6px 8px 0; background: var(--white); border: 1px solid var(--blue-line); }
.form__rooms-label { width: 100%; font-size: .9em; font-weight: 700; letter-spacing: 1px; color: var(--blue); }
.form__rooms-label span { color: var(--muted); }
.form__choices { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; width: 100%; margin: 4px 0; }
.form__choice { display: flex; flex-wrap: wrap; align-items: center; margin: 0 25px 6px 0; font-size: 1em; font-weight: 700; color: var(--blue); cursor: pointer; }
.form__choice input { margin: 0 8px; }

.form__consent { display: flex; flex-wrap: wrap; width: 100%; margin: 15px 0; font-size: 1em; font-weight: 700; letter-spacing: 1px; color: var(--blue); }
.form__consent label { display: flex; flex-wrap: wrap; align-items: center; cursor: pointer; }
.form__consent input { width: 25px; height: 25px; margin: 0 8px; }
.form__consent a { color: var(--blue); text-decoration: underline; transition: color .25s var(--ease); }
.form__consent a:hover { color: var(--red); }

.form__error { width: 100%; padding: 0 10px 4px; font-size: .9em; font-weight: 400; letter-spacing: 0; color: var(--error); }
.form__error:empty { display: none; }
.form__agree .form__error { margin: -10px 0 0; padding: 0; }

.form__captcha { display: flex; justify-content: center; width: 100%; margin: 10px 0; }
.form__btn { position: relative; display: flex; justify-content: center; width: 100%; margin: 25px 0; padding: 12px 0; overflow: hidden; font-size: 1.05em; font-weight: 700; letter-spacing: 1px; color: var(--white); background: var(--blue); border: 0; border-radius: 2px; cursor: pointer; transition: background-color .25s var(--ease); }
.form__btn:hover { background: var(--blue-hover); }
.form__btn:disabled { cursor: progress; }
/* 送出中：按鈕底下一條來回跑的細線，讓人知道有在處理 */
.form__btn.is-sending::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40%; height: 2px; background: var(--white); animation: sending 1.1s var(--ease) infinite alternate; }
@keyframes sending { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

.form-done { width: 100%; margin: 8px 0 25px; padding: 28px 20px; text-align: center; color: var(--blue); background: var(--white); border: 1px solid var(--blue-line); }
.form-done strong { display: block; margin: 0 0 6px; font-size: 1.25em; letter-spacing: 1px; }
.form-done:focus { outline: none; }

.contact__end { width: 100%; margin: 20px 0 0; }
.contact__mark { width: 120px; margin: 0 calc(50% - 60px) 5px; }
.contact__brand { width: 96%; margin: 0 2%; text-align: right; font-size: 11px; font-weight: 700; color: var(--blue); }

/* ── 輪播（只有手機版出現） ── */
.carousel { position: relative; width: 100%; }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; touch-action: pan-y; }
.carousel__slide { flex: 0 0 100%; min-width: 0; }
.carousel__track.is-dragging { cursor: grabbing; }
/* 程式沒有載入時：改成可以用手指左右滑的清單，內容一樣看得到 */
html:not(.js) .carousel__viewport { overflow-x: auto; scroll-snap-type: x mandatory; }
html:not(.js) .carousel__slide { scroll-snap-align: start; }
.carousel__dots { position: absolute; left: 0; bottom: -25px; z-index: 10; display: flex; flex-wrap: wrap; justify-content: center; width: 100%; }
.carousel__dot { position: relative; width: 14px; height: 14px; margin: 0 5px; padding: 0; background: var(--white); border: 2px solid var(--gold); border-radius: 50%; cursor: pointer; }
.carousel__dot::after { content: ""; position: absolute; inset: -15px -5px; } /* 看起來 14px，可以點的範圍放大到 44px 高 */
.carousel__dot[aria-current="true"], .carousel__dot:hover { background: var(--gold); }

/* ── 浮動聯絡按鈕 ── */
.shortcuts { position: fixed; right: 15px; bottom: 15px; z-index: 2000; width: 50px; }
.shortcuts__in { display: flex; flex-wrap: wrap; width: 100%; }
.shortcuts a { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; width: 50px; height: 50px; margin: 0 0 10px; font-size: 1.25em; font-weight: 700; color: var(--white); text-decoration: none; background: var(--blue); border: 2px solid var(--blue-hi); border-radius: 50%; transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.shortcuts a:hover { background: var(--blue-hi); border-color: var(--blue-hi); }
.shortcuts a span { display: none; }
/* 後台刪掉的那顆（程式設成 hidden）：上面的 display: flex 會蓋掉 hidden，所以另外寫。三顆都在時不影響樣子。 */
.shortcuts a[hidden] { display: none; }
.ico { display: block; height: 1.25em; fill: currentColor; }
.ico--fb { width: .78em; }
.ico--pin { width: .94em; }
.ico--tel { width: 1.25em; }

/* ── 跳出視窗（個資保護條款）。尺寸與淡入淡出照舊站：白底、內距 24px、0.33 秒 ── */
.modal { --modal-fade: .33s; width: 548px; max-width: calc(100vw - 30px); max-height: calc(100vh - 88px); padding: 24px; overflow: auto; color: var(--ink); background: var(--white); border: 0; border-radius: 5px; box-shadow: 0 2px 15px #222; }
.modal[open] { animation: modal-in var(--modal-fade) cubic-bezier(.22, .61, .36, 1) both; }
.modal::backdrop { background: rgba(15, 15, 17, .87); }
.modal[open]::backdrop { animation: modal-in var(--modal-fade) cubic-bezier(.22, .61, .36, 1) both; }
.modal.is-closing, .modal.is-closing::backdrop { animation: modal-out var(--modal-fade) cubic-bezier(.55, .06, .68, .19) both; }
.modal__title { margin: 0 0 15px; padding: 15px 0; font-size: 1.35em; font-weight: 500; line-height: 1.2; letter-spacing: 1px; color: var(--field-ink); border-bottom: 1px solid #aaa; }
.modal__body { font-size: 1.15em; line-height: 1.35; }
.modal__close { position: absolute; top: 0; right: 0; z-index: 10; width: 44px; height: 44px; padding: 0; background: transparent; border: 0; cursor: pointer; }
.modal__close::after { content: "×"; position: absolute; top: 5px; right: 5px; width: 30px; height: 30px; font: 300 20px/30px Arial, "Helvetica Neue", Helvetica, sans-serif; text-align: center; color: #888; background: var(--white); border-radius: 50%; transition: background-color .25s; }
.modal__close:hover::after { background: #eee; }
@keyframes modal-in { from { opacity: 0; } }
@keyframes modal-out { to { opacity: 0; } }
@media (max-width: 769px) { .modal { width: 508px; } }
@media (max-width: 480px) { .modal { width: 348px; } .modal__title { font-size: 1.25em; } .modal__body { font-size: 1.05em; } }
@media (max-width: 360px) { .modal { width: 308px; } .modal__body { font-size: 1em; } }

/* ── 提示訊息 ── */
.toast { position: fixed; left: 50%; bottom: 70px; z-index: 3000; max-width: calc(100vw - 30px); padding: 10px 18px; font-size: .95em; color: var(--white); background: rgba(8, 22, 62, .94); border-radius: 4px; opacity: 0; pointer-events: none; transform: translate3d(-50%, 8px, 0); transition: opacity .25s ease, transform .25s ease; }
.toast.is-on { opacity: 1; transform: translate3d(-50%, 0, 0); }

/* ── 預覽標示（共用程式在預覽版加上的那一條） ── */
.preview-flag { position: fixed; top: 0; left: 50%; z-index: 4000; padding: 4px 14px; font-size: 12px; letter-spacing: 1px; color: var(--white); background: var(--red); border-radius: 0 0 4px 4px; transform: translateX(-50%); pointer-events: none; }
/* 手機版（769px 以下）左上角有昭揚建築的標誌，佔寬度的 5%～31%。標示放正中間的話，螢幕窄於 347px 會蓋到標誌的右緣
   （2026-11-17 實測：320 寬蓋到 5px）。所以手機版改靠右上角，那裡沒有任何東西；桌機沒有左上角的標誌，維持置中。 */
@media (max-width: 768px) { .preview-flag { left: auto; right: 0; border-radius: 0 0 0 4px; transform: none; } }

/* ── 進場動態（照舊站：捲到才出現，位移 20px；標題與表單是放大） ── */
.js [data-reveal] { visibility: hidden; }
.js [data-reveal].is-in { visibility: visible; animation: var(--reveal-name) var(--reveal-time, 1s) .01s both; }
[data-reveal="fade"] { --reveal-name: fade; }
[data-reveal="fade-up"] { --reveal-name: fade-up; }
[data-reveal="fade-down"] { --reveal-name: fade-down; }
[data-reveal="fade-left"] { --reveal-name: fade-left; }
[data-reveal="fade-right"] { --reveal-name: fade-right; }
[data-reveal="zoom-in"] { --reveal-name: zoom-in; }
[data-reveal-time="1.2"] { --reveal-time: 1.2s; }
[data-reveal-time="2.6"] { --reveal-time: 2.6s; }
@keyframes fade { from { opacity: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-20px); } }
@keyframes fade-left { from { opacity: 0; transform: translateX(-20px); } }
@keyframes fade-right { from { opacity: 0; transform: translateX(20px); } }
@keyframes zoom-in { from { opacity: 0; transform: scale(.3); } 50% { opacity: 1; } }

/* ═════ 481 以上 ═════ */
@media (min-width: 481px) {
  .rule { width: 40%; height: 14px; margin: 0 30%; }
  /* 影片：不超過一個畫面高，中間是直式影片，兩側是同一支影片放大模糊（平板、電腦都是這個排法） */
  .vid { height: 178.2vw; max-height: 100vh; max-height: 100svh; }
  .vid__bg { display: block; position: absolute; top: -10%; left: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(30px) brightness(.55); }
  .vid__frame { height: 100%; width: auto; max-width: 100%; aspect-ratio: 404 / 720; margin: 0 auto; box-shadow: 0 0 40px rgba(0, 0, 0, .45); }
  .vid__main { width: 100%; height: 100%; }
  .hero { padding-top: 70%; }
  .hero__bottom { width: 40%; margin: 0 30%; }
  .hero__brand { font-size: 14px; }

  .s1 { padding: 12% 10% 0; }
  .s1__title { margin-bottom: 20px; }
  .s1__text > p { margin-bottom: 20px; }

  .map__scroll img { width: 240%; }
  .map__title { top: 10%; left: 15%; width: 70%; }
  .map__hint { margin-bottom: 10px; font-size: 1.45em; }
  .map__note { font-size: 12px; }

  .s3 { padding: 8% 6% 0; }
  .s3__title { margin-bottom: 25px; }
  .s3__para { margin-bottom: 5%; }

  .s5__cols { margin-bottom: 8%; }
  .s5__text { width: 88%; margin: 5% 6% 0; }
  .s5__title { margin-bottom: 25px; }

  .contact { padding: 80px 0 50px; }
  .contact__form { width: 92%; margin: 0 4%; }
  .contact__lead { margin: 30px 0; }
  .form__title { width: 100px; margin: 0 calc(50% - 50px) 10px; }
  .form__label { width: 85px; }
  .form__input { width: calc(100% - 95px); margin: 0 10px 0 0; padding: 6px 10px; }
  .form__rooms { margin: 10px 0; padding: 6px 10px 0; }
  .form__choice input { margin: 0 8px 0 0; }
  .form__consent { font-size: 1.05em; }
  .form__consent input { margin: 0 8px 0 0; }
  .contact__mark { width: 220px; margin: 0 calc(50% - 110px) 15px; }
  .contact__brand { width: 94%; margin: 0 3%; font-size: .85em; }

  .carousel__dots { bottom: -35px; }
  .carousel__dot { width: 16px; height: 16px; margin: 0 6px; }
  .carousel__dot::after { inset: -14px -6px; }
}

/* ═════ 769 以上：桌機版面 ═════ */
@media (min-width: 769px) {
  .only-pc { display: block !important; }
  .only-ph { display: none !important; }
  .rule { width: 25%; margin: 0 37.5%; }

  /* 影片：電腦改成 16:9 的橫帶（排法在 481 以上那一段） */
  .vid { height: 56.25vw; }
  .vid__ctrl { right: 16px; bottom: 16px; }

  .hero { padding-top: 0; }
  .hero__text { top: 10%; }
  .hero__title { width: 70%; margin: 0 15%; }
  .hero__mid { width: 20%; margin: 8% 40% 0; }
  .hero__bottom { width: 70%; margin: 0 15%; }

  .s1 { padding: 8% 5% 0; }
  .s1__body { margin-bottom: 4%; }
  .s1__title { width: 50%; margin: 0 25% 35px; }
  .s1__text { width: 49%; }
  .s1__text > p { margin-bottom: 25px; }
  .s1__photos { width: 49%; }
  .s1__photos > p { margin: 0 0 10px; }

  .map__scroll img { width: 170%; }
  .map__scroll { cursor: grab; }
  .map__title { left: 20%; width: 60%; }
  .map__hint { margin: 0 10%; font-size: 1.5em; }
  .map__note { margin: 0; font-size: 13px; }

  .s3 { padding: 7% 5% 0; }
  .s3__title { width: 70%; margin: 0 15% 35px; }
  .s3__cols { margin-bottom: 6%; }
  .s3__cols--reverse { flex-direction: row-reverse; }
  .s3__text--a { width: 44.2%; }
  .s3__text--b { width: 45.8%; }
  .s3__para { margin-bottom: 5.5%; }
  .s3__photo { margin: 0 0 8px; }
  .s3__media--a { width: 54%; }
  .s3__media--b { width: 52.5%; }

  .s5 { padding: 10% 0 0; }
  .s5__cols { margin: 0 0 6%; padding: 0 0 0 5%; }
  .s5__text { width: 40%; margin: 5% 0 0; }
  .s5__title { margin-bottom: 35px; }
  .s5__art { width: 65%; margin: 0 0 0 -5%; }

  .contact { padding: 130px 0 0; }
  .contact__form { width: 80%; margin: 0 10%; }
  .contact__lead { margin: 45px 0; }
  .form__title { width: 120px; margin: 0 calc(50% - 60px) 20px; }
  .form__box { width: 49.5%; margin: 10px 0; }
  .form__input { padding: 8px 12px; }
  .form__rooms-label { font-size: 1em; }
  .form__consent { font-size: 1.25em; }
  .form__btn { margin: 50px 0; font-size: 1.25em; }
  .contact__end { margin: 0; }
  .contact__mark { width: 260px; margin: 0 calc(50% - 120px) 5px; }
  .contact__brand { width: 80%; margin: 0 10%; font-size: 1em; }
}

/* ═════ 1025 以上 ═════ */
@media (min-width: 1025px) {
  .rule { width: 24%; height: 16px; margin: 0 38%; }

  .s1 { padding: 8% 8% 0; }
  .s1__title { margin-bottom: 60px; }
  .s1__text { width: 50%; }
  .s1__text > p { margin-bottom: 35px; }
  .s1__photos { width: 46%; }
  .s1__photos > p { margin-bottom: 30px; }

  .map__scroll img { width: 135%; }
  .map__title { top: 8%; left: 25%; width: 50%; }
  .map__hint { font-size: 1.65em; }
  .map__note { font-size: 16px; }

  .s3 { padding: 8% 8% 0; }
  .s3__title { width: 60%; margin: 0 20% 65px; }
  .s3__text--a { width: 43.2%; }
  .s3__text--b { width: 44.8%; }
  .s3__media--a { width: 53%; }
  .s3__media--b { width: 51.5%; }

  .s5__cols { padding-left: 10%; }
  .s5__title { margin-bottom: 60px; }

  .contact { padding: 180px 0 0; }
  .contact__form { width: 800px; margin: 0 calc(50% - 400px); }
  .contact__lead { margin: 55px 0; }
  .form__box { width: 49%; }
  .form__label { width: 100px; font-size: 1em; }
  .form__input { width: calc(100% - 110px); padding: 8px 15px; }
  .form__rooms-label { font-size: 1.15em; }
  .form__choice { font-size: 1.05em; }
  .contact__mark { width: 300px; margin: 0 calc(50% - 150px) 5px; }
  .contact__brand { width: 90%; margin: 0 5%; }
}

/* ═════ 1441 以上：鳥瞰圖剛好滿版，不用滑 ═════ */
@media (min-width: 1441px) {
  .rule { width: 23%; height: 20px; margin: 0 38.5%; }
  .map__scroll img { width: 100%; }
  .map__scroll { cursor: auto; }
  .map__hint { display: none; }
}

/* ═════ 680 以下：浮動按鈕改成底部一排 ═════ */
@media (max-width: 680px) {
  .shortcuts { right: 0; bottom: 0; width: 100%; }
  .shortcuts a { width: 33.4%; height: 50px; margin: 0; font-size: 1.05em; color: var(--field-ink); background: var(--bar); border: 0; border-top: 3px solid var(--blue-hi); border-radius: 0; }
  .shortcuts a:not(:last-child) { width: calc(33.3% - 1px); border-right: 1px solid #999; }
  .shortcuts a:hover { background: var(--blue-hi); }
  .shortcuts a span { display: inline-block; }
  /* 後台刪掉一顆時，剩下的平分整排（不留空位）。三顆都在時不會套用。 */
  .shortcuts__in:has(a[hidden]) a { flex: 1 1 0; width: auto; }
  .ico { margin-right: 10px; }
  /* 影片的聲音／暫停鍵：影片底部被這一排蓋到時（矮的手機、平板直放），往上推到這一排上面 */
  .vid__ctrl { bottom: max(12px, calc(100% - 100vh + 62px)); bottom: max(12px, calc(100% - 100svh + 62px)); }
}
@media (max-width: 480px) {
  .shortcuts a { height: 40px; font-size: 14px; }
  .vid__ctrl { bottom: max(12px, calc(100% - 100vh + 52px)); bottom: max(12px, calc(100% - 100svh + 52px)); }
  .ico { height: 1em; margin-right: 3px; }
  .ico--fb { width: .625em; }
  .ico--pin { width: .75em; }
  .ico--tel { width: 1em; }
}

/* 尊重「減少動態效果」：不做進場動畫、送出中的細線不跑 */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal].is-in { visibility: visible; animation: none; }
  .modal[open], .modal[open]::backdrop { animation: none; }
  .form__btn.is-sending::after { animation: none; width: 100%; }
  .toast { transition: none; }
}
