/* 無人／自助場館頁專用樣式。共用元件（btn、card、contact、主題、圖示）沿用 main-*.css。 */

:root {
  --ss-grid: rgba(59, 91, 219, .07);
  --ss-ok: #0f8a5f;
  --ss-ok-bg: #e3f6ee;
  --ss-sec: 96px;
}
[data-theme="dark"] {
  --ss-grid: rgba(120, 160, 255, .08);
  --ss-ok: #5fdcaa;
  --ss-ok-bg: rgba(95, 220, 170, .12);
}

.ss-sec { padding: var(--ss-sec) 0; scroll-margin-top: var(--header-h); }
.ss-sec--tint { background: var(--tint); }
.ss-head { display: grid; gap: 12px; max-width: 760px; }
.ss-head--center { margin: 0 auto; text-align: center; justify-items: center; }
.ss-eyebrow {
  margin: 0; color: var(--link);
  font-size: 14px; font-weight: 700; letter-spacing: .08em;
}
.ss-title { margin: 0; color: var(--ink); font-size: clamp(26px, 3vw, 38px); font-weight: 800; line-height: 1.35; }
.ss-lead { margin: 0; color: var(--text); font-size: 17px; line-height: 1.75; max-width: 64ch; }

/* ── Hero ── */
.shero {
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--line);
  background-color: var(--tint);
  background-image:
    linear-gradient(var(--ss-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ss-grid) 1px, transparent 1px);
  background-size: 32px 32px;
}
.shero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.shero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 16px; padding: 4px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--ink);
  font-size: 14px; font-weight: 600; line-height: 1.6;
}
.shero__title { margin: 0; color: var(--ink); font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; line-height: 1.25; letter-spacing: .02em; }
.shero__em {
  background-image: var(--cool); background-clip: text; -webkit-background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.shero__sub { margin: 20px 0 0; max-width: 32em; color: var(--text); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.75; }
.shero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin: 32px 0 0; }
.ss-ghost {
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  font-size: 16.5px; font-weight: 600;
}
.ss-ghost:hover { border-color: var(--link); color: var(--link); transform: translateY(-2px); }

/* Hero 示意：手機動態碼 → 閘機 → 燈光冷氣 */
.sdiag {
  padding: 24px;
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--card); box-shadow: var(--shadow);
}
.sdiag__flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 8px; }
.sdiag__node {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 12px 16px;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--bg); text-align: center;
}
.sdiag__label { display: block; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.4; }
.sdiag__meta { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.sdiag__link { align-self: center; color: var(--muted); }
.sdiag__wire { display: block; width: 40px; height: 12px; overflow: visible; }
.sdiag__wire line, .sdiag__wire path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.w-base { stroke: var(--line); }
.w-flow { stroke: var(--cyan); stroke-dasharray: 6 40; stroke-dashoffset: 46; opacity: 0; }
.w-head { stroke: var(--muted); }

.sdiag__qr {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px;
  width: 64px; height: 64px; padding: 6px;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--card);
}
.sdiag__qr i { display: block; border-radius: 2px; background: var(--ink); }
.sdiag__qr i.o { background: transparent; }
.sdiag__ring { position: relative; display: grid; place-items: center; width: 64px; height: 64px; }
.sdiag__timer { position: absolute; inset: 0; width: 64px; height: 64px; transform: rotate(-90deg); }
.sdiag__timer circle { fill: none; stroke-width: 3; }
.sdiag__timer .t-bg { stroke: var(--line); }
.sdiag__timer .t-fg { stroke: var(--cyan); stroke-linecap: round; stroke-dasharray: 188.5; stroke-dashoffset: 0; }
.sdiag__ring .sdiag__qr { width: 48px; height: 48px; padding: 4px; gap: 2px; border: 0; }

.sdiag__icon {
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 16px; background: var(--panel);
}
.sdiag__icon .ico { width: 32px; height: 32px; }
.sdiag__status {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 10px; border-radius: 999px;
  background: var(--ss-ok-bg); color: var(--ss-ok);
  font-size: 13px; font-weight: 700; line-height: 1.6; white-space: nowrap;
}
.sdiag__status .ico { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.4; }

.sdiag__foot {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line);
}
.sdiag__fact { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 13.5px; line-height: 1.45; }
.sdiag__fact .ico { width: 18px; height: 18px; }

@media (prefers-reduced-motion: no-preference) {
  .sdiag__timer .t-fg { animation: ss-countdown 60s linear infinite; }
}
@keyframes ss-countdown { to { stroke-dashoffset: 188.5; } }

/* ── 痛點 ── */
.pain { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.pain__item {
  padding: 32px;
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--card);
}
.pain__q { margin: 0; color: var(--ink); font-size: 21px; font-weight: 700; line-height: 1.45; }
.pain__a { margin: 12px 0 0; font-size: 16px; line-height: 1.8; }
.pain__fix {
  display: flex; align-items: center; gap: 8px;
  margin: 20px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--line);
  color: var(--ink); font-size: 15px; font-weight: 600;
}
.pain__fix .ico { width: 18px; height: 18px; }

/* ── 運作流程 ── */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px; counter-reset: step; }
.step {
  position: relative;
  padding: 24px 20px;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--card);
}
.step__num {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  position: relative; background: var(--blue); color: #fff;
  font-size: 15px; font-weight: 800;
}
.step__title { margin: 16px 0 0; color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1.45; }
.step__desc { margin: 8px 0 0; font-size: 14.5px; line-height: 1.75; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 41px; right: -16px;
  width: 16px; height: 2px; background: var(--line);
}

/* ── 兩大主軸 ── */
.pillar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.pillar + .pillar { margin-top: 96px; padding-top: 96px; border-top: 1px solid var(--line); }
.pillar--flip .pillar__visual { order: -1; }
.pillar__tag {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0; color: var(--link); font-size: 14px; font-weight: 700; letter-spacing: .08em;
}
.pillar__title { margin: 8px 0 0; color: var(--ink); font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.35; }
.pillar__lead { margin: 12px 0 0; font-size: 17px; line-height: 1.75; }
.feats { display: grid; gap: 4px; margin-top: 32px; }
.feat { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 16px 0; }
.feat + .feat { border-top: 1px solid var(--line); }
.feat__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--panel); }
.feat__icon .ico { width: 24px; height: 24px; }
.feat__title { margin: 0; color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1.5; }
.feat__desc { margin: 4px 0 0; font-size: 15.5px; line-height: 1.75; }

.pillar__visual { position: sticky; top: calc(var(--header-h) + 32px); }
.pv {
  padding: 24px;
  border: 1px solid var(--line); border-radius: 20px;
  background: var(--card); box-shadow: var(--shadow);
}
.pv__title { margin: 0; color: var(--ink); font-size: 15px; font-weight: 700; }
.pv__sub { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* 自助購買：通路 */
.chan { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.chan__item {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg);
}
.chan__item .ico { width: 28px; height: 28px; }
.chan__name { display: block; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.4; }
.chan__note { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.renew {
  display: grid; grid-template-columns: 28px repeat(3, minmax(0, 1fr)); align-items: center; gap: 8px;
  margin-top: 16px; padding: 16px; border-radius: 14px; background: var(--tint);
}
.renew__cell { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.renew__k { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.renew__v { display: block; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.5; white-space: nowrap; }

/* 會員管控：入場檢查 */
.check { display: grid; gap: 8px; margin-top: 16px; }
.check__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
}
.check__k { display: block; color: var(--ink); font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.check__d { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.check__result {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 12px; padding: 14px; border-radius: 12px;
  background: var(--ss-ok-bg); color: var(--ss-ok);
  font-size: 15px; font-weight: 700;
}
.check__result .ico { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.4; }

/* ── 場地自動化 ── */
.auto { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.auto__item {
  padding: 28px 24px;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--card);
}
.auto__item .feat__icon { margin-bottom: 16px; }
.auto__title { margin: 0; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.45; }
.auto__desc { margin: 8px 0 0; font-size: 15px; line-height: 1.75; }

/* ── 適用場景 ── */
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.mode {
  display: flex; flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--card);
}
.mode__title { margin: 0; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.45; }
.mode__how { margin: 12px 0 0; display: grid; gap: 6px; }
.mode__how li {
  position: relative; padding-left: 18px;
  font-size: 15px; line-height: 1.6;
}
.mode__how li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
}

.verts { display: grid; gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.vert { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.vert__name { margin: 0; color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.5; }
.vert__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.vert__tag {
  display: inline-flex; align-items: center;
  min-height: 36px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--ink);
  font-size: 14.5px; font-weight: 500; white-space: nowrap;
}

/* ── FAQ ── */
.faq { max-width: 880px; margin: 48px auto 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 4px;
  color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1.5;
  cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q .ico { width: 20px; height: 20px; flex: none; stroke: var(--link); transition: transform .25s var(--ease); }
.faq__item[open] .faq__q .ico { transform: rotate(45deg); }
@media (hover: hover) { .faq__q:hover { color: var(--link); } }
.faq__a { margin: 0; padding: 0 40px 24px 4px; font-size: 16px; line-height: 1.8; }


/* ── 響應式 ── */
@media (max-width: 1199px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .auto, .modes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  .shero__inner { grid-template-columns: 1fr; gap: 40px; }
  .pillar { grid-template-columns: 1fr; gap: 32px; }
  .pillar--flip .pillar__visual { order: 0; }
  .pillar__visual { position: static; }
}
@media (max-width: 768px) {
  :root { --ss-sec: 64px; }
  .shero { padding: 48px 0 56px; }
  .shero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .pain { grid-template-columns: 1fr; }
  .pain__item { padding: 24px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  .step__title { margin: 4px 0 0; }
  .step__desc { grid-column: 2; }
  .pillar + .pillar { margin-top: 64px; padding-top: 64px; }
  .auto, .modes { grid-template-columns: 1fr; }
  .vert { grid-template-columns: 1fr; gap: 12px; }
  .faq__q { font-size: 16px; }
  .faq__a { padding-right: 4px; }
}
@media (max-width: 520px) {
  .sdiag { padding: 16px; }
  .sdiag__flow { grid-template-columns: 1fr; }
  .sdiag__link { transform: rotate(90deg); justify-self: center; }
  .sdiag__node { flex-direction: row; text-align: left; padding: 14px; }
  .sdiag__txt { flex: 1; }
  .sdiag__foot { grid-template-columns: 1fr; }
  .chan { grid-template-columns: 1fr; }
}

/* 波浪接在 FAQ 的淺色底之後 */
.sec--contact .contact__wave path { fill: var(--bg); }

/* ── 動畫圖示的靜態樣貌（減少動態時就停在這個狀態） ── */
.anim-bulb .glass { fill: rgba(253, 187, 87, .28); }
.anim-bulb .rays { opacity: 1; }
/* 指針是純垂直／水平線，邊界框寬或高為 0，漸層描邊會整條消失，所以改用實色 */
.anim-clock .hand-m, .anim-clock .hand-h { stroke: var(--blue); transform-box: view-box; transform-origin: 12px 12px; }
.anim-clock .hand-m { stroke-width: 2; }
.anim-clock .hand-h { stroke-width: 2.4; }
[data-theme="dark"] .anim-clock .hand-m, [data-theme="dark"] .anim-clock .hand-h { stroke: var(--cyan); }
.anim-door .leaf { fill: var(--svg-paper); transform-box: view-box; transform-origin: 6px 12px; }
.anim-wifi .cut { stroke: var(--coral); }
.renew__spin { width: 24px; height: 24px; }

@media (prefers-reduced-motion: no-preference) {
  /* Hero：資料沿線流動 → 閘機通過 → 燈亮，一個 3.6 秒的循環 */
  .w-flow { opacity: 1; animation: ss-flow 1.8s linear infinite; }
  .sdiag__link:nth-of-type(2) .w-flow, .sdiag__flow > .sdiag__link + .sdiag__node + .sdiag__link .w-flow { animation-delay: .9s; }
  .sdiag__icon--gate { animation: ss-gate 3.6s var(--ease) infinite; }
  .sdiag .anim-bulb .glass { animation: ss-glass 3.6s var(--ease) infinite; }
  .sdiag .anim-bulb .rays { animation: ss-rays 3.6s var(--ease) infinite; }

  /* 運作流程：數字依序亮起，表達先後順序 */
  .step__num::after {
    content: ""; position: absolute; inset: -4px; border-radius: 50%;
    border: 2px solid var(--cyan); opacity: 0;
    animation: ss-ring 4s var(--ease) infinite;
    animation-delay: calc(var(--i, 0) * .8s);
  }

  /* 自動續約：循環圖示慢速轉動 */
  .renew__spin { animation: ss-spin 6s linear infinite; }

  /* 入場檢查：區塊進入畫面後逐項打勾，最後開門 */
  html.js .check .sdiag__status,
  html.js .check__result { opacity: 0; transform: scale(.7); }
  html.js .pillar__visual.in .check .sdiag__status,
  html.js .pillar__visual.in .check__result {
    animation: ss-pop .38s var(--ease) forwards;
    animation-delay: calc(.4s + var(--i, 0) * .38s);
  }
  html.js .pillar__visual.in .check__result { animation-delay: calc(.4s + 4 * .38s); }

  /* 場地自動化：每張卡的圖示示範該功能 */
  .auto .anim-bulb .glass { animation: ss-glass 3s var(--ease) infinite; }
  .auto .anim-bulb .rays { animation: ss-rays 3s var(--ease) infinite; }
  .anim-clock .hand-m { animation: ss-spin 4s linear infinite; }
  .anim-clock .hand-h { animation: ss-spin 24s linear infinite; }
  .anim-wifi .a1, .anim-wifi .a2, .anim-wifi .a3 { animation: ss-wave 2.4s var(--ease) infinite; }
  .anim-wifi .a2 { animation-delay: .25s; }
  .anim-wifi .a3 { animation-delay: .5s; }
  .anim-door .leaf { animation: ss-door 3.2s var(--ease) infinite; }
}
@keyframes ss-flow { from { stroke-dashoffset: 46; } to { stroke-dashoffset: 0; } }
@keyframes ss-gate {
  0%, 30%, 70%, 100% { box-shadow: 0 0 0 0 rgba(15, 138, 95, 0); }
  45% { box-shadow: 0 0 0 6px rgba(15, 138, 95, .22); }
}
@keyframes ss-glass {
  0%, 40% { fill: rgba(253, 187, 87, 0); }
  55%, 90% { fill: rgba(253, 187, 87, .55); }
  100% { fill: rgba(253, 187, 87, 0); }
}
@keyframes ss-rays {
  0%, 45% { opacity: 0; }
  58%, 90% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes ss-ring {
  0% { opacity: .9; transform: scale(1); }
  25%, 100% { opacity: 0; transform: scale(1.5); }
}
@keyframes ss-spin { to { transform: rotate(360deg); } }
@keyframes ss-pop { to { opacity: 1; transform: none; } }
@keyframes ss-wave {
  0%, 100% { opacity: .25; }
  30%, 60% { opacity: 1; }
}
@keyframes ss-door {
  0%, 20% { transform: scaleX(1); }
  45%, 75% { transform: scaleX(.42); }
  100% { transform: scaleX(1); }
}

/* 行業類別與營運型態的示意圖示 */
.vert__name { display: flex; align-items: center; gap: 12px; }
.vert__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--panel); }
.vert__icon .ico { width: 22px; height: 22px; }
.mode__icon { margin-bottom: 16px; }

/* Hero 示意：三個節點同寬、文字不換行、會員碼改為標準 QR 外觀 */
@media (min-width: 521px) {
  .sdiag__flow { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); }
}
.sdiag__txt { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sdiag__label { white-space: nowrap; }
.sdiag__qrsvg { position: relative; width: 36px; height: 36px; fill: var(--ink); }
.sdiag__status--info { background: var(--tint); color: var(--link); }
@media (max-width: 520px) {
  .sdiag__txt { align-items: flex-start; }
}

/* 標題斷行平均，避免最後一行只剩一兩個字 */
.shero__title, .ss-title, .pillar__title, .pain__q, .contact__title { text-wrap: balance; }
.shero__sub, .ss-lead, .pillar__lead { text-wrap: pretty; }

/* 標題以語意片段為單位換行 */
.nw { white-space: nowrap; }
@media (max-width: 360px) { .nw { white-space: normal; } }

/* 動態會員碼：手機畫面上的 QR，右下角同步標記表示會持續更新 */
.sdiag__phone { width: 40px; height: 40px; overflow: visible; }
.sdiag__phone .ph-body { fill: var(--card); stroke: var(--ink); stroke-width: 1.6; }
.sdiag__phone .ph-notch, .sdiag__phone .ph-hint { stroke: var(--muted); stroke-width: 1.4; stroke-linecap: round; fill: none; }
.sdiag__phone .ph-qr rect { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.sdiag__phone .ph-qr .m { fill: var(--ink); }
.sdiag__phone .ph-sync circle { fill: var(--blue); }
.sdiag__phone .ph-sync path { fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sdiag__phone .ph-sync { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
}
@keyframes ss-qr { 0%, 100% { opacity: 1; } 48% { opacity: 1; } 50% { opacity: .25; } 54% { opacity: 1; } }

/* Hero 第三格：自動續約的循環圖示慢速轉動 */
.sdiag__renew { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .sdiag__renew { animation: ss-spin 6s linear infinite; }
}

/* ── 生成插畫與流程小動畫（2026-11-14） ───────────────────────── */

/* Hero 插畫：白底框承接插畫的白背景，狀態標籤疊在四角 */
.shero__art { margin: 0; min-width: 0; }
.shero__stage {
  position: relative;
  border: 1px solid var(--line); border-radius: 24px;
  background: #fff; box-shadow: var(--shadow);
}
.shero__img { display: block; width: 100%; height: auto; border-radius: 24px; }
.shero__chips { list-style: none; margin: 0; padding: 0; }
.hchip {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--card); box-shadow: var(--shadow);
}
.hchip--buy   { top: 24px; left: -24px; }
.hchip--gate  { top: 40%; right: -24px; }
.hchip--renew { bottom: 24px; left: 16%; }
.hchip__ico {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--tint); color: var(--blue);
}
.hchip__ico .ico { width: 22px; height: 22px; }
.hchip__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.hchip__k { display: block; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.shero__foot { margin-top: 24px; border-top: 0; padding-top: 0; }

/* 運作流程：每張卡片右上角一個會動的小插圖 */
.step__art {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px; overflow: visible;
}
.step__art .a-ln { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.step__art .a-acc-ln { fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; }
.step__art .a-acc { fill: var(--cyan); }
.step__art .a-fill { fill: var(--blue); opacity: .85; }
.step__art .a-ok { fill: var(--ss-ok); }
.step__art .a-tick { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.art-light .a-glass { fill: rgba(56, 176, 227, .12); }

/* 適用場景：卡片頂部插圖，依原比例 4:3 */
.mode__img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3;
  margin-bottom: 16px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line);
}

@media (max-width: 1199px) {
  .hchip--buy { left: 12px; }
  .hchip--gate { right: 12px; }
}
@media (max-width: 768px) {
  .step { padding-right: 76px; }
}
@media (max-width: 600px) {
  /* 手機：標籤改排在插畫下方，不遮住畫面 */
  .shero__stage { border-radius: 18px; }
  .shero__img { border-radius: 18px; }
  .shero__chips { display: grid; gap: 8px; padding: 12px; }
  .hchip { position: static; box-shadow: none; }
  .shero__foot { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .hchip { animation: ss-float 5s ease-in-out infinite; }
  .hchip--gate { animation-delay: -1.6s; }
  .hchip--renew { animation-delay: -3.2s; }
  .hchip__spin { animation: ss-spin 6s linear infinite; }

  .art-buy .a-drop { animation: art-drop 2.6s var(--ease) infinite; }
  .art-scan .a-scanline { animation: art-scan 2.2s ease-in-out infinite alternate; }
  .art-light .a-rays { animation: ss-rays 3s var(--ease) infinite; }
  .art-light .a-glass { animation: art-glow 3s var(--ease) infinite; }
  .art-pay .a-badge { transform-box: fill-box; transform-origin: center; animation: art-pop 2.8s var(--ease) infinite; }
  .art-dash .a-bar { transform-box: fill-box; transform-origin: bottom; animation: art-bar 2.4s var(--ease) infinite; animation-delay: calc(var(--b) * .25s); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 600px) {
  .hchip { animation: none; }
}
@keyframes ss-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes art-drop {
  0% { transform: translateY(-6px); opacity: 0; }
  30% { transform: translateY(8px); opacity: 1; }
  45%, 80% { transform: translateY(6px); opacity: 1; }
  100% { transform: translateY(6px); opacity: 0; }
}
@keyframes art-scan { from { transform: translateY(0); } to { transform: translateY(20px); } }
@keyframes art-glow { 0%, 25% { fill: rgba(56, 176, 227, .12); } 45%, 80% { fill: rgba(253, 187, 87, .55); } 100% { fill: rgba(56, 176, 227, .12); } }
@keyframes art-pop { 0%, 20% { transform: scale(0); } 35% { transform: scale(1.15); } 45%, 85% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes art-bar { 0% { transform: scaleY(.3); } 50% { transform: scaleY(1); } 100% { transform: scaleY(.3); } }
@media (max-width: 600px) {
  .shero__chips { gap: 4px; padding: 8px 12px 12px; }
  .hchip { padding: 8px 4px; border: 0; border-top: 1px solid var(--line); border-radius: 0; gap: 10px; }
  .hchip:first-child { border-top: 0; }
  .hchip__ico { width: 32px; height: 32px; border-radius: 10px; }
  .hchip__ico .ico { width: 18px; height: 18px; }
  .hchip__txt { flex: 1; flex-direction: row; align-items: center; justify-content: space-between; }
}
