/* ==========================================================================
   VEELIN 官網 — 現代工業風樣式（取代舊的 Bootstrap 3 範本；前綴 vl-）
   設計語彙：冷靜的深海軍藍 + 石墨灰，單一訊號橘作重點；直角、細線、網格、大量留白；
   數字／型號用等寬字，呈現精密、可靠、德系工業的質感。
   ========================================================================== */
:root {
    --vl-navy: #0a3663;
    --vl-navy-deep: #06223f;
    --vl-ink: #0d1b2a;
    --vl-steel: #44515f;
    --vl-muted: #66727f;
    --vl-line: #dde2e8;
    --vl-mist: #f4f6f8;
    --vl-paper: #ffffff;
    --vl-accent: #fa6400;
    --vl-accent-hover: #ff7a1f;
    --vl-radius: 3px;
    --vl-shadow: 0 1px 2px rgba(13, 27, 42, .06), 0 8px 24px rgba(13, 27, 42, .06);
    --vl-shadow-lg: 0 2px 4px rgba(13, 27, 42, .08), 0 16px 40px rgba(13, 27, 42, .12);
    --vl-font: "DIN Alternate", "Bahnschrift", "Inter", "Helvetica Neue", "Segoe UI", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
    --vl-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
    --vl-wrap: 1280px;
    --vl-header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--vl-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--vl-ink);
    background: var(--vl-paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--vl-navy); text-decoration: none; }
a:hover { color: var(--vl-accent); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--vl-accent); outline-offset: 2px; }
.vl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vl-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--vl-accent); color: var(--vl-ink); padding: 10px 16px; font-weight: 700; }
.vl-skip:focus { left: 8px; }
.vl-wrap { width: 100%; max-width: var(--vl-wrap); margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }

/* ---------- 頂部資訊列 ---------- */
.vl-topbar { background: var(--vl-navy-deep); color: #b9c8d9; font-size: 13px; letter-spacing: .02em; }
.vl-topbar .vl-wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.vl-topbar a { color: #dbe6f2; }
.vl-topbar a:hover { color: #fff; }
.vl-topbar-list { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.vl-topbar-tag { font-family: var(--vl-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #8ea6bf; }

/* ---------- 頁首 ---------- */
.vl-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--vl-line); }
.vl-header .vl-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--vl-header-h); gap: 24px; }
.vl-brand { display: flex; align-items: center; gap: 14px; color: var(--vl-navy); }
.vl-brand:hover { color: var(--vl-navy); }
.vl-brand svg { width: 46px; height: 37px; flex: none; }
.vl-brand-text { display: flex; flex-direction: column; line-height: 1; }
.vl-brand-name { font-weight: 800; font-size: 22px; letter-spacing: .22em; }
.vl-brand-sub { margin-top: 6px; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--vl-muted); font-weight: 500; }
.vl-nav { display: flex; align-items: center; gap: 4px; }
.vl-nav a { position: relative; padding: 10px 16px; font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--vl-ink); }
.vl-nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 3px; background: var(--vl-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.vl-nav a:hover { color: var(--vl-navy); }
.vl-nav a:hover::after, .vl-nav a[aria-current="page"]::after { transform: scaleX(1); }
.vl-nav .vl-btn { margin-left: 12px; }
.vl-nav .vl-btn::after { display: none; }
.vl-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--vl-line); background: #fff; border-radius: var(--vl-radius); cursor: pointer; padding: 0; }
.vl-burger span, .vl-burger span::before, .vl-burger span::after { display: block; width: 20px; height: 2px; background: var(--vl-ink); margin: 0 auto; position: relative; transition: transform .2s, opacity .2s; }
.vl-burger span::before, .vl-burger span::after { content: ""; position: absolute; left: 0; }
.vl-burger span::before { top: -6px; }
.vl-burger span::after { top: 6px; }
.vl-burger[aria-expanded="true"] span { background: transparent; }
.vl-burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.vl-burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 按鈕 ---------- */
.vl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border: 2px solid var(--vl-accent); background: var(--vl-accent); color: var(--vl-ink); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; border-radius: var(--vl-radius); cursor: pointer; transition: background .2s, border-color .2s, transform .2s, color .2s; }
.vl-btn:hover { background: var(--vl-accent-hover); border-color: var(--vl-accent-hover); color: var(--vl-ink); transform: translateY(-1px); }
.vl-btn--ghost { background: transparent; color: var(--vl-navy); border-color: var(--vl-navy); }
.vl-btn--ghost:hover { background: var(--vl-navy); border-color: var(--vl-navy); color: #fff; }
.vl-btn--sm { padding: 9px 18px; font-size: 13px; }
.vl-btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- 首屏（產品列表） ---------- */
.vl-hero { position: relative; overflow: hidden; color: #fff; padding: 72px 0 64px;
    background:
        radial-gradient(900px 420px at 88% -10%, rgba(38, 118, 200, .55) 0%, transparent 62%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 48px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 48px),
        linear-gradient(160deg, #0a3663 0%, #061f3a 100%); }
.vl-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--vl-accent) 0 120px, transparent 120px); }
.vl-hero-mark { position: absolute; right: -40px; top: 50%; width: min(46vw, 560px); transform: translateY(-50%); opacity: .09; pointer-events: none; --vl-mark-gap: #0a3663; }
.vl-hero .vl-wrap { position: relative; }
.vl-eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--vl-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .22em; color: #9fc0e3; margin-bottom: 22px; }
.vl-eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--vl-accent); }
.vl-hero h1 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.02em; max-width: 14ch; }
.vl-hero h1 em { font-style: normal; color: var(--vl-accent); }
.vl-hero-sub { margin: 22px 0 0; max-width: 56ch; color: #c9d9ea; font-size: clamp(16px, 1.6vw, 19px); }
.vl-stats { display: flex; flex-wrap: wrap; gap: 0; margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .18); max-width: 640px; }
.vl-stats li { flex: 1 1 140px; padding: 18px 24px 0 0; }
.vl-stats strong { display: block; font-family: var(--vl-mono); font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; line-height: 1; color: #fff; }
.vl-stats span { display: block; margin-top: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: #9fc0e3; }

/* ---------- 產品列表版面 ---------- */
.vl-catalog { padding: 48px 0 88px; background: var(--vl-mist); }
.vl-catalog-grid { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 40px; align-items: start; }
.vl-side { position: sticky; top: calc(var(--vl-header-h) + 20px); background: #fff; border: 1px solid var(--vl-line); border-radius: var(--vl-radius); padding: 22px 20px; }
.vl-side h2 { font-family: var(--vl-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--vl-muted); margin: 0 0 14px; font-weight: 600; }
.vl-search { position: relative; margin-bottom: 26px; }
.vl-search input { width: 100%; height: 48px; padding: 0 44px 0 44px; border: 1px solid var(--vl-line); border-radius: var(--vl-radius); background: var(--vl-mist); font-size: 15px; transition: border-color .2s, background .2s, box-shadow .2s; }
.vl-search input::placeholder { color: #8a95a1; }
.vl-search input:focus { outline: none; background: #fff; border-color: var(--vl-navy); box-shadow: 0 0 0 3px rgba(10, 54, 99, .12); }
.vl-search > svg { position: absolute; left: 14px; top: 15px; width: 18px; height: 18px; color: var(--vl-muted); pointer-events: none; }
.vl-search-clear { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border: 0; background: none; color: var(--vl-muted); font-size: 22px; line-height: 1; cursor: pointer; border-radius: var(--vl-radius); }
.vl-search-clear:hover { color: var(--vl-ink); background: var(--vl-line); }
.vl-cats { list-style: none; margin: 0; padding: 0; }
.vl-cats a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 12px; margin: 0 -12px; font-size: 15px; font-weight: 500; color: var(--vl-ink); border-left: 3px solid transparent; border-radius: 0 var(--vl-radius) var(--vl-radius) 0; transition: background .15s, border-color .15s; }
.vl-cats a:hover { background: var(--vl-mist); color: var(--vl-navy); }
.vl-cats a[aria-current="true"] { background: #eaf1f9; border-left-color: var(--vl-accent); color: var(--vl-navy); font-weight: 700; }
.vl-cats .vl-count { font-family: var(--vl-mono); font-size: 12px; color: var(--vl-muted); background: var(--vl-mist); padding: 2px 8px; border-radius: 99px; }
.vl-cats a[aria-current="true"] .vl-count { background: #fff; color: var(--vl-navy); }
.vl-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; min-height: 40px; }
.vl-result { font-size: 15px; color: var(--vl-steel); }
.vl-result strong { font-family: var(--vl-mono); font-size: 18px; color: var(--vl-ink); }
.vl-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.vl-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; background: #fff; border: 1px solid var(--vl-line); border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--vl-navy); cursor: pointer; }
.vl-pill:hover { border-color: var(--vl-navy); }
.vl-pill b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--vl-mist); font-size: 14px; line-height: 1; }

/* ---------- 產品卡片 ---------- */
.vl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 22px; }
.vl-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--vl-line); border-radius: var(--vl-radius); overflow: hidden; color: var(--vl-ink); transition: border-color .2s, box-shadow .25s, transform .25s; }
.vl-card:hover { border-color: var(--vl-navy); box-shadow: var(--vl-shadow-lg); transform: translateY(-3px); color: var(--vl-ink); }
.vl-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--vl-accent); transition: width .3s ease; z-index: 1; }
.vl-card:hover::before { width: 100%; }
.vl-card-img { aspect-ratio: 4 / 3; position: relative; overflow: hidden; --vl-pad: 22px; background: #fff; border-bottom: 1px solid var(--vl-line); }
.vl-card-img img { position: absolute; top: var(--vl-pad); left: var(--vl-pad); width: calc(100% - 2 * var(--vl-pad)); height: calc(100% - 2 * var(--vl-pad)); max-width: none; object-fit: contain; transition: transform .4s ease; }
.vl-card:hover .vl-card-img img { transform: scale(1.05); }
.vl-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.vl-brandtag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--vl-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--vl-muted); }
.vl-brandtag::before { content: ""; width: 8px; height: 8px; background: var(--vl-accent); }
.vl-card h3 { font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.vl-card-sku { font-family: var(--vl-mono); font-size: 12px; color: var(--vl-muted); }
.vl-card-more { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--vl-navy); }
.vl-card-more svg { width: 16px; height: 16px; transition: transform .25s; }
.vl-card:hover .vl-card-more { color: var(--vl-accent); }
.vl-card:hover .vl-card-more svg { transform: translateX(5px); }
.vl-empty { padding: 72px 24px; text-align: center; background: #fff; border: 1px dashed #b8c2cd; border-radius: var(--vl-radius); }
.vl-empty h3 { font-size: 22px; margin-bottom: 8px; }
.vl-empty p { color: var(--vl-steel); }

/* ---------- 麵包屑與產品詳情 ---------- */
.vl-crumbs { background: var(--vl-mist); border-bottom: 1px solid var(--vl-line); font-size: 14px; }
.vl-crumbs .vl-wrap { display: flex; align-items: center; gap: 10px; min-height: 52px; flex-wrap: wrap; color: var(--vl-muted); }
.vl-crumbs a { color: var(--vl-steel); font-weight: 500; }
.vl-crumbs a:hover { color: var(--vl-accent); }
.vl-crumbs i { font-style: normal; color: #aab4be; }
.vl-crumbs [aria-current] { color: var(--vl-ink); font-weight: 700; font-family: var(--vl-mono); font-size: 13px; }
.vl-product { padding: 48px 0 24px; }
.vl-product-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.vl-gallery { position: sticky; top: calc(var(--vl-header-h) + 24px); }
.vl-stage { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--vl-line); border-radius: var(--vl-radius); padding: 28px; cursor: zoom-in; overflow: hidden; }
.vl-stage img { position: absolute; inset: 28px; margin: auto; max-width: calc(100% - 56px); max-height: calc(100% - 56px); width: auto; height: auto; object-fit: contain; }
.vl-zoom { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(13, 27, 42, .86); color: #fff; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; border-radius: var(--vl-radius); pointer-events: none; }
.vl-zoom svg { width: 14px; height: 14px; }
.vl-info h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; margin: 14px 0 12px; letter-spacing: -.015em; }
.vl-meta { display: flex; gap: 8px 22px; flex-wrap: wrap; align-items: center; margin: 0 0 24px; padding: 0 0 22px; border-bottom: 1px solid var(--vl-line); list-style: none; font-size: 14px; color: var(--vl-steel); }
.vl-meta b { font-family: var(--vl-mono); font-weight: 600; color: var(--vl-ink); }
.vl-meta a { color: var(--vl-navy); font-weight: 600; }
.vl-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 0; }
.vl-h2 { display: flex; align-items: center; gap: 14px; font-size: 13px; font-family: var(--vl-mono); font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: var(--vl-muted); margin: 0 0 20px; }
.vl-h2::after { content: ""; flex: 1; height: 1px; background: var(--vl-line); }
.vl-desc { font-size: 16px; color: var(--vl-steel); }
.vl-desc p:first-child { font-size: 18px; font-weight: 600; color: var(--vl-ink); line-height: 1.5; }
.vl-desc ul.elements { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--vl-line); }
.vl-desc ul.elements li { position: relative; padding: 13px 8px 13px 30px; border-bottom: 1px solid var(--vl-line); }
.vl-desc ul.elements li::before { content: ""; position: absolute; left: 6px; top: 22px; width: 8px; height: 8px; background: var(--vl-accent); }
.vl-desc ul.elements li i { display: none; }
.vl-desc h3 { font-family: var(--vl-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--vl-muted); font-weight: 600; margin: 22px 0 10px; }
.vl-desc .skills, .vl-desc .client { margin: 0; }
.vl-desc ul.nav { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vl-desc ul.nav li a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; background: var(--vl-mist); border: 1px solid var(--vl-line); border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--vl-navy); pointer-events: none; }
.vl-desc ul.nav li a i { color: var(--vl-accent); font-size: 13px; }
.vl-desc a:not([href="#"]) { text-decoration: underline; text-underline-offset: 3px; }
.vl-section { padding: 56px 0 8px; }
.vl-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.vl-doc { background: #fff; border: 1px solid var(--vl-line); border-radius: var(--vl-radius); padding: 14px; cursor: zoom-in; transition: border-color .2s, box-shadow .2s; display: block; width: 100%; text-align: left; }
.vl-doc:hover { border-color: var(--vl-navy); box-shadow: var(--vl-shadow); }
.vl-doc img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.vl-doc span { display: block; padding-top: 10px; font-size: 13px; color: var(--vl-steel); }
.vl-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 56px 0 0; }
.vl-pager a { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border: 1px solid var(--vl-line); border-radius: var(--vl-radius); color: var(--vl-ink); transition: border-color .2s, background .2s; min-width: 0; }
.vl-pager a:hover { border-color: var(--vl-navy); background: var(--vl-mist); }
.vl-pager small { font-family: var(--vl-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--vl-muted); }
.vl-pager strong { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vl-pager .vl-next { text-align: right; grid-column: 2; }
.vl-related { padding: 64px 0 88px; margin-top: 64px; background: var(--vl-mist); border-top: 1px solid var(--vl-line); }
.vl-notfound { padding: 120px 0; text-align: center; }
.vl-notfound h1 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 14px; }
.vl-notfound p { color: var(--vl-steel); margin-bottom: 28px; }

/* ---------- 聯絡頁 ---------- */
.vl-page-hero { padding: 56px 0; color: #fff; background: linear-gradient(160deg, #0a3663 0%, #061f3a 100%); position: relative; }
.vl-page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--vl-accent) 0 120px, transparent 120px); }
.vl-page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; }
.vl-contact { padding: 56px 0 88px; background: var(--vl-mist); }
.vl-contact-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.vl-cards { display: grid; gap: 16px; align-content: start; }
.vl-infocard { background: #fff; border: 1px solid var(--vl-line); border-radius: var(--vl-radius); padding: 22px 24px; border-left: 3px solid var(--vl-accent); }
.vl-infocard h2 { font-family: var(--vl-mono); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--vl-muted); margin: 0 0 10px; }
.vl-infocard p, .vl-infocard address { margin: 0; font-style: normal; font-size: 16px; line-height: 1.7; }
.vl-infocard a { font-weight: 600; }
.vl-map { min-height: 420px; background: #dfe5ec; border: 1px solid var(--vl-line); border-radius: var(--vl-radius); overflow: hidden; }
.vl-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.vl-inquiry { background: var(--vl-navy-deep); color: #fff; border-radius: var(--vl-radius); padding: 22px 24px; }
.vl-inquiry strong { display: block; font-size: 17px; margin-bottom: 4px; }
.vl-inquiry p { color: #b9c8d9; margin: 0 0 14px; font-size: 14px; }

/* ---------- 頁尾 ---------- */
.vl-footer { background: var(--vl-navy-deep); color: #b9c8d9; --vl-mark-gap: #06223f; }
.vl-footer .vl-wrap { padding-top: 64px; padding-bottom: 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.vl-footer h2 { font-family: var(--vl-mono); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: #8ea6bf; margin: 0 0 18px; }
.vl-footer a { color: #dbe6f2; }
.vl-footer a:hover { color: var(--vl-accent); }
.vl-footer .vl-brand { color: #fff; margin-bottom: 18px; }
.vl-footer .vl-brand-sub { color: #8ea6bf; }
.vl-footer p { max-width: 38ch; font-size: 15px; }
.vl-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.vl-footer address { font-style: normal; font-size: 15px; line-height: 1.8; }
.vl-footer-bar { border-top: 1px solid rgba(255, 255, 255, .12); }
.vl-footer-bar .vl-wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 24px; font-size: 13px; color: #8ea6bf; grid-template-columns: none; }

/* ---------- 燈箱 ---------- */
.vl-lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(6, 18, 33, .92); padding: 56px 72px; }
.vl-lightbox.is-open { display: flex; }
.vl-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: var(--vl-radius); box-shadow: var(--vl-shadow-lg); }
.vl-lb-btn { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s; }
.vl-lb-btn:hover { background: var(--vl-accent); color: var(--vl-ink); }
.vl-lb-close { top: 16px; right: 16px; }
.vl-lb-prev { left: 12px; top: 50%; margin-top: -24px; }
.vl-lb-next { right: 12px; top: 50%; margin-top: -24px; }
.vl-lb-cap { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: #c9d9ea; font-family: var(--vl-mono); font-size: 13px; letter-spacing: .08em; }

/* ---------- 版面縮放 ---------- */
@media (max-width: 1080px) {
    .vl-catalog-grid { grid-template-columns: 1fr; gap: 24px; }
    .vl-side { position: static; }
    .vl-side .vl-cats { display: flex; flex-wrap: wrap; gap: 8px; }
    .vl-side .vl-cats a { margin: 0; padding: 8px 14px; border: 1px solid var(--vl-line); border-radius: 99px; border-left-width: 1px; }
    .vl-side .vl-cats a[aria-current="true"] { border-color: var(--vl-accent); }
    .vl-product-grid { grid-template-columns: 1fr; gap: 32px; }
    .vl-gallery { position: static; }
    .vl-footer .vl-wrap { grid-template-columns: 1fr 1fr; }
    .vl-footer .vl-wrap > :first-child { grid-column: 1 / -1; }
    .vl-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
    :root { --vl-header-h: 64px; }
    .vl-topbar-tag { display: none; }
    .vl-burger { display: block; }
    .vl-nav { position: absolute; left: 0; right: 0; top: var(--vl-header-h); flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--vl-line); padding: 8px 24px 20px; box-shadow: var(--vl-shadow); display: none; }
    .vl-nav.is-open { display: flex; }
    .vl-nav a { padding: 16px 0; border-bottom: 1px solid var(--vl-line); }
    .vl-nav a::after { display: none; }
    .vl-nav .vl-btn { margin: 16px 0 0; }
    .vl-brand svg { width: 40px; height: 32px; }
    .vl-brand-name { font-size: 19px; }
    .vl-hero { padding: 48px 0 44px; }
    .vl-catalog { padding: 28px 0 56px; }
    .vl-lightbox { padding: 64px 12px 48px; }
}
@media (max-width: 560px) {
    .vl-wrap { padding: 0 18px; }
    .vl-stats li { flex: 1 1 0; min-width: 0; padding-right: 12px; }
    .vl-stats span { font-size: 11px; letter-spacing: .1em; }
    .vl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .vl-card-img { --vl-pad: 12px; }
    .vl-card-body { padding: 14px 14px 16px; }
    .vl-card h3 { font-size: 15px; }
    .vl-footer .vl-wrap { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; }
    .vl-pager { grid-template-columns: 1fr; }
    .vl-pager .vl-next { grid-column: 1; text-align: left; }
    .vl-actions .vl-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   視覺效果層：進場動畫、卡片 3D 傾斜 + 游標追光、技術圖框、產品展示台、放大鏡、捲動進度
   原則：只在「有滑鼠的桌機」做傾斜與放大鏡；「減少動態效果」的使用者全部關閉；
         沒有 JavaScript 時內容照常顯示（進場動畫由 html.vl-js 控制，header.php 的 inline script 才會加上）。
   ========================================================================== */

/* ---------- 首屏載入：依序浮現（純 CSS） ---------- */
@keyframes vl-rise { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
.vl-hero .vl-wrap > *, .vl-page-hero .vl-wrap > *, .vl-info > * { animation: vl-rise .85s cubic-bezier(.2, .7, .2, 1) both; }
.vl-hero .vl-wrap > :nth-child(2), .vl-info > :nth-child(2) { animation-delay: .08s; }
.vl-hero .vl-wrap > :nth-child(3), .vl-info > :nth-child(3) { animation-delay: .16s; }
.vl-hero .vl-wrap > :nth-child(4), .vl-info > :nth-child(4) { animation-delay: .24s; }
.vl-info > :nth-child(n+5) { animation-delay: .3s; }

/* 首屏：掃描光束、標題橘字流光、標誌隨游標視差 */
@keyframes vl-scan { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 300px)); } }
.vl-hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: -300px; width: 300px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(120, 175, 255, .2) 50%, transparent); animation: vl-scan 9s linear infinite; }
@keyframes vl-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.vl-hero h1 em { background: linear-gradient(90deg, #fa6400 0%, #fa6400 38%, #ffc08f 50%, #fa6400 62%, #fa6400 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: vl-shimmer 6s ease-in-out infinite; }
.vl-hero-mark { translate: calc(var(--px, 0) * -26px) calc(var(--py, 0) * -16px); transition: translate .5s cubic-bezier(.2, .7, .2, 1); }

/* ---------- 捲動進場（html.vl-js 才啟用） ---------- */
.vl-js .vl-reveal:not(.is-in), .vl-js .vl-desc ul.elements li:not(.is-in), .vl-js .vl-desc ul.nav li:not(.is-in), .vl-js .vl-doc:not(.is-in) { opacity: 0; translate: 0 24px; scale: .985; }
.vl-js .vl-desc ul.elements li, .vl-js .vl-desc ul.nav li { transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), translate .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), scale .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.vl-js .vl-doc { transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), translate .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), scale .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), border-color .2s, box-shadow .2s; }
@keyframes vl-pop { from { opacity: 0; translate: 0 14px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }
.vl-card.vl-pop { animation: vl-pop .5s cubic-bezier(.2, .7, .2, 1) both; }   /* 篩選後重新出現的卡片 */

/* ---------- 產品卡片：3D 傾斜、游標追光、發光邊框、技術圖框 ---------- */
.vl-card { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: transform var(--tt, .5s) cubic-bezier(.2, .7, .2, 1), border-color .2s, box-shadow .3s; }
.vl-js .vl-card { transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), translate .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), scale .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform var(--tt, .5s) cubic-bezier(.2, .7, .2, 1), border-color .2s, box-shadow .3s; }
.vl-card.is-tilting { --tt: .12s; }
.vl-card:hover { --lift: -5px; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); z-index: 3; box-shadow: 0 2px 4px rgba(13, 27, 42, .08), 0 22px 48px rgba(10, 54, 99, .22); }
.vl-card::before { display: none; }
.vl-card::after { content: ""; position: absolute; inset: 0; z-index: 2; padding: 1.5px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), var(--vl-accent), rgba(79, 134, 220, .55) 42%, transparent 72%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.vl-card:hover::after { opacity: 1; }
/* 展示台：產品圖用 multiply 混合，白底照片會融進淡灰漸層，像攝影棚；游標位置有一圈藍色追光 */
.vl-card-img { position: relative; isolation: isolate; background: radial-gradient(250px circle at var(--mx, 50%) var(--my, 42%), rgba(79, 134, 220, .26), transparent 64%), linear-gradient(180deg, #ffffff 0%, #edf1f6 100%); }
.vl-card-img img { mix-blend-mode: multiply; translate: var(--tx, 0px) var(--ty, 0px); transition: transform .6s cubic-bezier(.2, .7, .2, 1), translate .3s ease-out; }
.vl-card:hover .vl-card-img img { transform: scale(1.09); }
/* 四角取景框（工程圖面的感覺） */
.vl-card-img::after { content: ""; position: absolute; inset: 16px; pointer-events: none; opacity: 0; transform: scale(1.06); transition: opacity .3s, transform .45s cubic-bezier(.2, .7, .2, 1);
    background:
        linear-gradient(var(--vl-accent), var(--vl-accent)) top left / 16px 2px no-repeat, linear-gradient(var(--vl-accent), var(--vl-accent)) top left / 2px 16px no-repeat,
        linear-gradient(var(--vl-accent), var(--vl-accent)) top right / 16px 2px no-repeat, linear-gradient(var(--vl-accent), var(--vl-accent)) top right / 2px 16px no-repeat,
        linear-gradient(var(--vl-accent), var(--vl-accent)) bottom left / 16px 2px no-repeat, linear-gradient(var(--vl-accent), var(--vl-accent)) bottom left / 2px 16px no-repeat,
        linear-gradient(var(--vl-accent), var(--vl-accent)) bottom right / 16px 2px no-repeat, linear-gradient(var(--vl-accent), var(--vl-accent)) bottom right / 2px 16px no-repeat; }
.vl-card:hover .vl-card-img::after { opacity: 1; transform: scale(1); }

/* ---------- 產品詳情：展示台、刻度尺、放大鏡 ---------- */
@keyframes vl-stage-in { from { opacity: 0; scale: .93; } to { opacity: 1; scale: 1; } }
.vl-stage { isolation: isolate; background: radial-gradient(circle at 50% 36%, #ffffff 0%, #eef2f7 60%, #e1e8f0 100%); }
.vl-stage img { mix-blend-mode: multiply; animation: vl-stage-in 1s cubic-bezier(.2, .7, .2, 1) both; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.vl-stage.is-zoom { cursor: crosshair; }
.vl-stage.is-zoom img { transform: scale(2.3); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.vl-zoom { transition: opacity .2s; }
.vl-stage.is-zoom .vl-zoom { opacity: 0; }
.vl-stage::before { content: ""; position: absolute; inset: 14px; z-index: 2; pointer-events: none;
    background:
        linear-gradient(rgba(10, 54, 99, .55), rgba(10, 54, 99, .55)) top left / 20px 2px no-repeat, linear-gradient(rgba(10, 54, 99, .55), rgba(10, 54, 99, .55)) top left / 2px 20px no-repeat,
        linear-gradient(rgba(10, 54, 99, .55), rgba(10, 54, 99, .55)) top right / 20px 2px no-repeat, linear-gradient(rgba(10, 54, 99, .55), rgba(10, 54, 99, .55)) top right / 2px 20px no-repeat,
        linear-gradient(rgba(10, 54, 99, .55), rgba(10, 54, 99, .55)) bottom left / 20px 2px no-repeat, linear-gradient(rgba(10, 54, 99, .55), rgba(10, 54, 99, .55)) bottom left / 2px 20px no-repeat,
        linear-gradient(rgba(10, 54, 99, .55), rgba(10, 54, 99, .55)) bottom right / 20px 2px no-repeat, linear-gradient(rgba(10, 54, 99, .55), rgba(10, 54, 99, .55)) bottom right / 2px 20px no-repeat; }
.vl-stage::after { content: ""; position: absolute; left: 40px; right: 40px; bottom: 6px; height: 9px; z-index: 2; pointer-events: none; opacity: .8;
    background:
        repeating-linear-gradient(90deg, rgba(10, 54, 99, .6) 0 1px, transparent 1px 50px) bottom / 100% 9px no-repeat,
        repeating-linear-gradient(90deg, rgba(10, 54, 99, .35) 0 1px, transparent 1px 10px) bottom / 100% 5px no-repeat; }

/* ---------- 捲動進度條 ---------- */
.vl-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.vl-progress i { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--vl-accent), #ffb27a); box-shadow: 0 0 10px rgba(250, 100, 0, .6); }

/* 觸控裝置：按下的回饋 */
@media (hover: none) { .vl-card:active { scale: .98; } }
/* 減少動態效果：全部關閉，內容直接顯示 */
@media (prefers-reduced-motion: reduce) {
    .vl-hero::before { display: none; }
    .vl-hero h1 em { animation: none; background-position: 0 0; }
    .vl-card, .vl-card:hover { transform: none; }
    .vl-hero-mark { translate: none; }
}

/* ==========================================================================
   精準刻度層：尺規、游標卡尺讀數、十字準線、零件表編號、刻度線
   語彙：1 單位 = 4px（小刻度），5 單位 = 20px（中刻度），10 單位 = 40px（大刻度，標示數字）。
   首屏尺規上的數字、游標卡尺的讀數、詳情頁準線的座標都用同一把尺（px ÷ 4 = mm），所以數字彼此對得上。
   ========================================================================== */

/* ---------- 捲動進度條 → 帶刻度的尺 ---------- */
.vl-progress { height: 9px; background-color: rgba(6, 34, 63, .9);
    background-image:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .38) 0 1px, transparent 1px 1%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .8) 0 1px, transparent 1px 10%);
    background-position: left bottom, left bottom; background-size: 100% 4px, 100% 8px; background-repeat: no-repeat; }
.vl-progress i { height: 3px; }
.vl-progress b { position: absolute; top: 3px; left: 0; width: 0; height: 0; margin-left: -4px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid var(--vl-accent); filter: drop-shadow(0 0 4px rgba(250, 100, 0, .8)); }

/* ---------- 首屏：底部尺規 + 游標卡尺 ---------- */
@keyframes vl-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.vl-ruler { position: absolute; left: 0; right: 0; bottom: 4px; height: 36px; z-index: 1; pointer-events: none; animation: vl-draw 1.8s cubic-bezier(.2, .7, .2, 1) .35s both;
    background-image:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .45) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .7) 0 1px, transparent 1px 20px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .95) 0 1px, transparent 1px 40px);
    background-position: left bottom; background-size: 100% 7px, 100% 13px, 100% 20px; background-repeat: no-repeat; }
.vl-ruler-n { position: absolute; bottom: 23px; transform: translateX(4px); font: 500 10px/1 var(--vl-mono); letter-spacing: .04em; color: #9fc0e3; font-variant-numeric: tabular-nums; }
.vl-caliper { position: absolute; top: 0; bottom: 4px; left: 0; width: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .2s; will-change: transform; }
.vl-caliper i { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: linear-gradient(180deg, transparent 0%, rgba(250, 100, 0, .85) 35%, #fa6400 100%); box-shadow: 0 0 8px rgba(250, 100, 0, .75); }
.vl-caliper b { position: absolute; bottom: 46px; left: 8px; padding: 4px 8px; font: 700 11px/1 var(--vl-mono); letter-spacing: .06em; background: #fa6400; color: #0d1b2a; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vl-caliper.flip b { left: auto; right: 8px; }
.vl-hero.is-measuring .vl-caliper { opacity: 1; }
.vl-hero { padding-bottom: 84px; }
.vl-page-hero { padding-bottom: 76px; }
.vl-stats { border-top: 0; padding-top: 0; background-image:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .38) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .7) 0 1px, transparent 1px 40px),
        linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .28));
    background-position: left top; background-size: 100% 5px, 100% 10px, 100% 1px; background-repeat: no-repeat; }
.vl-stats li { padding-top: 26px; font-variant-numeric: tabular-nums; }

/* ---------- 標題旁的刻度線、頁尾上緣刻度 ---------- */
.vl-h2::after { height: 9px; background-color: transparent; background-image:
        repeating-linear-gradient(90deg, #b7c1cc 0 1px, transparent 1px 4px),
        repeating-linear-gradient(90deg, #6f7f90 0 1px, transparent 1px 40px),
        linear-gradient(var(--vl-line), var(--vl-line));
    background-position: left bottom; background-size: 100% 4px, 100% 9px, 100% 1px; background-repeat: no-repeat; }
.vl-footer::before { content: ""; display: block; height: 10px; background-image:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 40px);
    background-position: left top; background-size: 100% 5px, 100% 10px; background-repeat: no-repeat; }
.vl-meta { border-bottom: 0; padding-bottom: 30px; background-image:
        repeating-linear-gradient(90deg, rgba(10, 54, 99, .32) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(90deg, rgba(10, 54, 99, .6) 0 1px, transparent 1px 40px),
        linear-gradient(var(--vl-line), var(--vl-line));
    background-position: left bottom; background-size: 100% 5px, 100% 10px, 100% 1px; background-repeat: no-repeat; }

/* ---------- 卡片：圖片區底緣的刻度，游標位置有橘色游標 ---------- */
.vl-card-img::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; z-index: 2; pointer-events: none; background-image:
        repeating-linear-gradient(90deg, rgba(10, 54, 99, .3) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(90deg, rgba(10, 54, 99, .55) 0 1px, transparent 1px 20px);
    background-position: left bottom; background-size: 100% 4px, 100% 7px; background-repeat: no-repeat; }
.vl-card:hover .vl-card-img::before { background-image:
        linear-gradient(#fa6400, #fa6400),
        repeating-linear-gradient(90deg, rgba(10, 54, 99, .3) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(90deg, rgba(10, 54, 99, .55) 0 1px, transparent 1px 20px);
    background-position: var(--mx, 50%) 100%, left bottom, left bottom; background-size: 2px 12px, 100% 4px, 100% 7px; }

/* ---------- 詳情頁：展示台左緣尺規 + 十字準線與座標讀數 ---------- */
.vl-stage { background:
        repeating-linear-gradient(180deg, rgba(10, 54, 99, .3) 0 1px, transparent 1px 4px) left 10px top 44px / 5px calc(100% - 88px) no-repeat,
        repeating-linear-gradient(180deg, rgba(10, 54, 99, .55) 0 1px, transparent 1px 40px) left 10px top 44px / 10px calc(100% - 88px) no-repeat,
        radial-gradient(circle at 50% 36%, #ffffff 0%, #eef2f7 60%, #e1e8f0 100%); }
.vl-reticle { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .15s; }
.vl-reticle i { position: absolute; background: rgba(250, 100, 0, .8); }
.vl-reticle .h { left: 0; right: 0; top: var(--rty, 50%); height: 1px; }
.vl-reticle .v { top: 0; bottom: 0; left: var(--rtx, 50%); width: 1px; }
.vl-reticle b { position: absolute; left: calc(var(--rtx, 50%) + 12px); top: calc(var(--rty, 50%) + 12px); padding: 5px 8px; font: 700 11px/1 var(--vl-mono); letter-spacing: .06em; background: #0d1b2a; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vl-reticle.flip-x b { left: auto; right: calc(100% - var(--rtx, 50%) + 12px); }
.vl-reticle.flip-y b { top: auto; bottom: calc(100% - var(--rty, 50%) + 12px); }
.vl-stage.is-zoom .vl-reticle { opacity: 1; }

/* ---------- 規格清單：零件表（BOM）編號 ---------- */
.vl-desc ul.elements { counter-reset: spec; }
.vl-desc ul.elements li { padding-left: 50px; }
.vl-desc ul.elements li::before { counter-increment: spec; content: counter(spec, decimal-leading-zero); left: 4px; top: 20px; width: auto; height: auto; background: none; font: 700 11px/1 var(--vl-mono); letter-spacing: .08em; color: var(--vl-accent); }
.vl-desc ul.elements li::after { content: ""; position: absolute; left: 34px; top: 25px; width: 8px; height: 1px; background: #aab4be; }

/* ==========================================================================
   手機、平板（觸控裝置）與舊版 iOS 的相容處理（iOS Safari 圖片偏右下、跑出框外的修正）
   ========================================================================== */
/* 觸控裝置：不用 3D 傾斜、混合模式、游標追光位移、取景框特效。
   原因：iOS Safari 遇到「一直存在的 perspective transform ＋ overflow／圓角裁切 ＋ mix-blend-mode」會讓圖片偏移、跑出圓角框外；
   這些特效本來就只有有滑鼠的桌機看得到（js/vl-modern.js 只對滑鼠啟用），手機上關掉也沒有差別，還能省效能。 */
@media (hover: none), (pointer: coarse) {
    .vl-card, .vl-card:hover { transform: none; }
    .vl-card-img { background: #fff; }                       /* 沒有混合模式時，圖片白底要和框底色一樣才看不出方框 */
    .vl-card-img img, .vl-card:hover .vl-card-img img { mix-blend-mode: normal; translate: none; transform: none; }
    .vl-stage img { mix-blend-mode: normal; }
    /* 藍色霧感：桌機是「圖片用 multiply 混進漸層底色」；手機不用混合模式，改成蓋在圖片「上面」的一層半透明霧
       （照片白底和框底色都是白的，蓋上同一層霧後看不出方框；不用任何混合模式或 transform，所以不會再讓 iOS 圖片偏移）。
       卡片：原本四角取景框的 ::after 在手機上改當霧層（取景框本來就只有滑鼠移上去才看得到）。 */
    .vl-card-img::after { display: block; inset: 0; opacity: 1; transform: none; transition: none; z-index: 1;
        background:
            radial-gradient(250px circle at 50% 42%, rgba(79, 134, 220, .20), transparent 64%),
            linear-gradient(180deg, rgba(10, 54, 99, 0) 0%, rgba(10, 54, 99, .07) 100%); }
    /* 詳情頁展示台：左緣尺規保留，周圍的淡灰藍暈影用 ::before 蓋在圖上（取景框四角一起畫在同一層，位置同原本的 14px 內縮） */
    .vl-stage { background:
            repeating-linear-gradient(180deg, rgba(10, 54, 99, .3) 0 1px, transparent 1px 4px) left 10px top 44px / 5px calc(100% - 88px) no-repeat,
            repeating-linear-gradient(180deg, rgba(10, 54, 99, .55) 0 1px, transparent 1px 40px) left 10px top 44px / 10px calc(100% - 88px) no-repeat,
            #fff; }
    .vl-stage::before { inset: 0; background:
            linear-gradient(rgba(10, 54, 99, .55), rgba(10, 54, 99, .55)) left 14px top 14px / 20px 2px no-repeat, linear-gradient(rgba(10, 54, 99, .55), rgba(10, 54, 99, .55)) left 14px top 14px / 2px 20px no-repeat,
            linear-gradient(rgba(10, 54, 99, .55), rgba(10, 54, 99, .55)) right 14px top 14px / 20px 2px no-repeat, linear-gradient(rgba(10, 54, 99, .55), rgba(10, 54, 99, .55)) right 14px top 14px / 2px 20px no-repeat,
            linear-gradient(rgba(10, 54, 99, .55), rgba(10, 54, 99, .55)) left 14px bottom 14px / 20px 2px no-repeat, linear-gradient(rgba(10, 54, 99, .55), rgba(10, 54, 99, .55)) left 14px bottom 14px / 2px 20px no-repeat,
            linear-gradient(rgba(10, 54, 99, .55), rgba(10, 54, 99, .55)) right 14px bottom 14px / 20px 2px no-repeat, linear-gradient(rgba(10, 54, 99, .55), rgba(10, 54, 99, .55)) right 14px bottom 14px / 2px 20px no-repeat,
            radial-gradient(circle at 50% 36%, rgba(10, 54, 99, 0) 0%, rgba(10, 54, 99, .07) 60%, rgba(10, 54, 99, .11) 100%); }
}
/* 不支援 aspect-ratio 的舊瀏覽器（iOS 14 以前的 Safari）：用 padding-bottom 撐出 4:3、1:1 的比例，圖片本來就是絕對定位 */
@supports not (aspect-ratio: 4 / 3) {
    .vl-card-img { height: 0; padding-bottom: 75%; }
    .vl-stage { height: 0; padding: 0 0 100% 0; }
}
