/* ============================================================
   精英俱樂部 — 頁面專屬樣式
   延用 style.css 的設計代幣；會員卡沿用 index 的玻璃定價卡
   ============================================================ */

:root {
  /* 活動類型色標 */
  --ev-roadshow: #D2A06E;  /* 閉門路演 — 金 */
  --ev-salon:    #8CA9BF;  /* 行業沙龍 — 霧藍 */
  --ev-summit:   #AC9BC2;  /* 年度峰會 — 霧紫 */
  --ev-trip:     #9DB98C;  /* 海外考察 — 霧綠 */

  /* 等級限制標籤 */
  --lv-elite: #D2A06E;
  --lv-mid:   #8CA9BF;
}

/* 內頁導航固定實心 */
.page-club .nav {
  background: rgba(20, 16, 16, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line-on-dark);
}
.page-club .nav__link.is-current { color: var(--c-accent); opacity: 1; }
.page-club .nav__link.is-current::after { transform: scaleX(1); }
@media (max-width: 860px) {
  .page-club .nav__link.is-current::after { display: none; }
}

/* 共用小元件 */
.crumbs { display: flex; gap: 10px; opacity: .6; margin-bottom: 22px; }
.crumbs a { transition: color .25s; }
.crumbs a:hover { color: var(--c-accent); }
.crumbs span[aria-current] { color: var(--c-accent); }

.link-inline {
  color: var(--c-accent);
  border-bottom: 1px dashed rgba(210, 160, 110, .45);
  transition: color .25s, border-color .25s;
}
.link-inline:hover { color: #E6BC8E; border-color: #E6BC8E; }
.section--light .link-inline { color: #A9764A; border-color: rgba(169, 118, 74, .45); }

.lock { width: 11px; height: 11px; flex: none; }

/* 金色主按鈕 */
.btn--gold {
  background: var(--c-accent);
  border: 1px solid var(--c-accent);
  color: #16120F;
}
.btn--gold::before { display: none; }
.btn--gold .btn__text { color: #16120F; }
.btn--gold .btn__icon { background: rgba(22, 18, 15, .9); color: var(--c-accent); }
.btn--gold:hover { background: #E0B384; border-color: #E0B384; }
.btn--lg { padding: 18px 30px; }

/* ============ 2. Hero — 圈層宣言 ============ */
.club-hero {
  position: relative;
  padding: calc(var(--pad-lg) + 70px) var(--pad) var(--pad-lg);
  min-height: min(92svh, 800px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.club-hero__canvas {
  position: absolute; inset: 0;
  z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.club-hero::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(20, 16, 16, .9) 15%, rgba(20, 16, 16, .45) 50%, transparent 78%);
  pointer-events: none;
}
.club-hero__inner { position: relative; z-index: 2; max-width: 780px; }

.club-hero__eyebrow {
  display: inline-block;
  color: var(--c-accent);
  padding: 6px 13px;
  border: 1px dashed rgba(210, 160, 110, .45);
  border-radius: 999px;
  margin-bottom: 26px;
  font-size: 10.5px;
}
.club-hero__title {
  font-size: clamp(38px, 6.6vw, 86px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: .01em;
}
.club-hero__creed {
  margin-top: 26px;
  max-width: 640px;
  opacity: .72;
  font-weight: 300;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.85;
}
.club-hero__creed b { color: var(--c-accent); font-weight: 500; }

.club-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.club-hero__stats {
  margin-top: clamp(40px, 5vw, 70px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px dashed var(--line-on-dark);
  max-width: 660px;
}
.club-hero__stats > div {
  padding: 20px 16px 2px 24px;
  border-right: 1px dashed var(--line-on-dark);
}
.club-hero__stats > div:first-child { padding-left: 0; }
.club-hero__stats > div:last-child { border-right: none; }
.club-hero__stats dt { font-size: 12.5px; opacity: .5; }
.club-hero__stats dd {
  margin-top: 5px;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  color: var(--c-accent);
  letter-spacing: 0;
  text-transform: none;
}
@media (max-width: 720px) {
  .club-hero__stats { grid-template-columns: repeat(2, 1fr); }
  .club-hero__stats > div:nth-child(2n) { border-right: none; }
  .club-hero__stats > div:nth-child(2n+1) { padding-left: 0; }
}
@media (max-width: 820px) {
  .club-hero { min-height: auto; }
  .club-hero::after {
    background: linear-gradient(185deg, rgba(20, 16, 16, .88) 40%, rgba(20, 16, 16, .5) 70%, transparent);
  }
}

/* ============ 3. 會員等級對比 ============ */
.tiers__foot {
  margin-top: clamp(32px, 4vw, 52px);
  text-align: center;
  opacity: .75;
  font-size: 15px;
}

/* ============ 4. 近期活動預告 ============ */
.evgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2vw, 26px);
}
@media (max-width: 900px) { .evgrid { grid-template-columns: 1fr; } }

.evcard {
  position: relative;
  display: flex; flex-direction: column; gap: 15px;
  padding: 26px 24px;
  border: 1px dashed var(--line-on-dark);
  background: var(--c-surface);
  transition: border-color .35s, transform .35s var(--ease-power4);
}
.evcard:hover { border-color: rgba(210, 160, 110, .5); transform: translateY(-4px); }
.evcard:hover .handle { transform: scale(1.35); }

.evcard__tags { display: flex; flex-wrap: wrap; gap: 7px; }

/* 4.2 活動類型標籤 */
.tag--ev[data-type="roadshow"] { background: rgba(210, 160, 110, .16); color: var(--ev-roadshow); }
.tag--ev[data-type="salon"]    { background: rgba(140, 169, 191, .16); color: var(--ev-salon); }
.tag--ev[data-type="summit"]   { background: rgba(172, 155, 194, .18); color: var(--ev-summit); }
.tag--ev[data-type="trip"]     { background: rgba(157, 185, 140, .16); color: var(--ev-trip); }

/* 4.3 等級限制標籤 */
.tag--lv {
  border: 1px solid transparent;
  background: transparent;
}
.tag--lv-elite { color: var(--lv-elite); border-color: rgba(210, 160, 110, .45); }
.tag--lv-mid   { color: var(--lv-mid);   border-color: rgba(140, 169, 191, .45); }

/* 4.4 標題 */
.evcard__title {
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 500;
  line-height: 1.45;
}

/* 4.5 時間 · 地點 · 形式 */
.evcard__meta { opacity: .55; font-size: 11.5px; letter-spacing: .04em; text-transform: none; }

/* 4.6 名額 */
.evcard__seats { display: flex; flex-direction: column; gap: 8px; }
.evcard__seats-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.evcard__seats-label { font-size: 13px; opacity: .55; }
.evcard__seats-num { font-size: 13px; opacity: .6; }
.evcard__seats-num b { font-size: 17px; font-weight: 700; color: var(--c-accent); opacity: 1; }
.evcard__seats-num.is-scarce b { color: #E6A07A; }
.evcard__seats-num.is-full b { color: var(--c-text); opacity: .45; }

/* 嘉賓頭像疊放 */
.evcard__guests { display: flex; align-items: center; gap: 12px; }
.avatars { display: flex; }
.avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: .02em;
  color: var(--c-text);
  background: linear-gradient(150deg, rgba(247, 247, 247, .16), rgba(247, 247, 247, .05));
  border: 1px solid rgba(20, 16, 16, .9);
  flex: none;
}
.avatars .avatar + .avatar { margin-left: -9px; }
.evcard__guests-text { font-size: 12.5px; opacity: .5; }

/* 4.7 CTA 三態 */
.evcard__cta {
  margin-top: auto;
  padding-top: 6px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-accent);
  transition: gap .3s var(--ease-power4), color .25s;
}
.evcard__cta:hover { gap: 14px; color: #E6BC8E; }
.evcard__cta--wait { color: rgba(247, 247, 247, .55); }
.evcard__cta--wait:hover { color: var(--c-text); }
.evcard__cta--locked { color: rgba(247, 247, 247, .4); }
.evcard__cta--locked:hover { color: var(--c-accent); gap: 10px; }

/* 鎖定態卡片 */
.evcard.is-locked { background: rgba(27, 21, 20, .6); }
.evcard.is-locked .evcard__title,
.evcard.is-locked .evcard__seats { opacity: .65; }

.events__foot { margin-top: clamp(28px, 3.5vw, 44px); text-align: center; }

/* ============ 5. 資源對接預覽 ============ */
.match-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 26px);
}
@media (max-width: 1000px) { .match-grid { grid-template-columns: 1fr; } }

.match-panel {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  padding: 26px 24px;
  border: 1px dashed var(--line-on-dark);
  background: var(--c-surface);
  transition: border-color .35s;
}
.match-panel:hover { border-color: rgba(210, 160, 110, .45); }
.match-panel:hover .handle { transform: scale(1.35); }

.match-panel__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.match-panel__num { color: var(--c-accent); }
.match-panel__title { font-size: 19px; font-weight: 500; flex: 1; }
.match-panel__count { opacity: .45; }
.match-panel__desc { font-size: 14px; font-weight: 300; opacity: .65; line-height: 1.7; }

/* 投資人名錄 */
.investor-list { display: flex; flex-direction: column; gap: 2px; }
.investor {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line-on-dark);
}
.investor:last-child { border-bottom: none; }
.avatar--ring {
  width: 34px; height: 34px;
  font-size: 10.5px;
  border: 1px solid rgba(210, 160, 110, .6);
  background: linear-gradient(150deg, rgba(210, 160, 110, .22), rgba(210, 160, 110, .06));
  color: var(--c-accent);
}
.investor__id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.investor__id b { font-size: 14px; font-weight: 500; }
.investor__tags { font-size: 10px; opacity: .45; }
.investor__deals { font-size: 11px; opacity: .5; flex: none; }
.investor--blur { filter: blur(3px); opacity: .5; user-select: none; }

.match-panel__lock {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: auto;
  color: rgba(247, 247, 247, .4);
  font-size: 10.5px;
}

/* 對接流程時間軸 */
.flowline { display: flex; flex-direction: column; gap: 0; }
.flowline__step {
  position: relative;
  display: flex; align-items: center; gap: 13px;
  padding: 9px 0 9px 2px;
}
.flowline__step::before {
  content: '';
  position: absolute; left: 4px; top: 50%;
  width: 1px; height: 100%;
  background: var(--line-on-dark);
}
.flowline__step:last-child::before { display: none; }
.flowline__dot {
  position: relative; z-index: 1;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  background: var(--c-surface);
  flex: none;
}
.flowline__label { font-size: 13.5px; opacity: .45; }
.flowline__step.is-done .flowline__dot { background: rgba(210, 160, 110, .5); border-color: rgba(210, 160, 110, .5); }
.flowline__step.is-done .flowline__label { opacity: .7; }
.flowline__step.is-now .flowline__dot {
  background: var(--c-accent);
  border-color: var(--c-accent);
  box-shadow: 0 0 0 0 rgba(210, 160, 110, .6);
  animation: flowPulse 2s infinite;
}
.flowline__step.is-now .flowline__label { opacity: 1; color: var(--c-accent); }
@keyframes flowPulse {
  0% { box-shadow: 0 0 0 0 rgba(210, 160, 110, .55); }
  70% { box-shadow: 0 0 0 7px rgba(210, 160, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(210, 160, 110, 0); }
}
.match-panel__types { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }

/* 產業資源庫 */
.reslist { display: flex; flex-direction: column; }
.reslist li {
  display: flex; align-items: center; gap: 13px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line-on-dark);
  font-size: 14px;
  transition: color .25s;
}
.reslist li:last-child { border-bottom: none; }
.reslist li span { color: var(--c-accent); opacity: .6; font-size: 10.5px; }
.reslist li b { margin-left: auto; font-weight: 500; opacity: .5; font-size: 12px; }
.reslist li:hover { color: var(--c-accent); }

/* ============ 6+7. 俱樂部洞察 ============ */
.ingrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 26px);
}
@media (max-width: 960px) { .ingrid { grid-template-columns: 1fr; } }

.incard {
  position: relative;
  display: flex; flex-direction: column;
  border: 1px dashed var(--line-on-light);
  background: #FFFFFF;
  transition: border-color .35s, transform .35s var(--ease-power4);
  overflow: hidden;
}
.incard:hover { border-color: rgba(169, 118, 74, .55); transform: translateY(-4px); }
.incard:hover .handle { transform: scale(1.35); }

.incard__cover {
  position: relative;
  aspect-ratio: 3 / 2;
  display: grid; place-items: center;
  overflow: hidden;
}
.incard__cover svg { width: 62%; height: auto; }
.incard__cover--report { background: linear-gradient(150deg, #F0EAE3, #E4D8C9); }
.incard__cover--replay { background: linear-gradient(150deg, #1B1514, #3A2A1C); }
.incard__cover--early  { background: linear-gradient(150deg, #EFE7DC, #E0D2BF); }

.incard__kind {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: 3px;
  background: rgba(27, 21, 20, .82);
  color: #F0D49A;
  font-size: 10px;
}
.incard__play {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(210, 160, 110, .92);
  color: #16120F;
  transition: transform .35s var(--ease-power4);
}
.incard__play svg { width: 26px; height: 26px; }
.incard--replay:hover .incard__play { transform: scale(1.12); }
.incard__dur {
  position: absolute; right: 12px; bottom: 12px;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(27, 21, 20, .8);
  color: #F7F7F7;
  font-size: 10px;
}

.incard__body {
  display: flex; flex-direction: column; gap: 9px;
  padding: 20px 20px 22px;
  flex: 1;
}
.incard__title { font-size: 16.5px; font-weight: 500; line-height: 1.5; }
.incard__meta { font-size: 11px; opacity: .5; letter-spacing: .04em; text-transform: none; }
.incard__cta {
  margin-top: auto;
  padding-top: 10px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #A9764A;
  transition: gap .3s var(--ease-power4), color .25s;
}
.incard__cta:hover { gap: 14px; }
.incard__cta--locked { color: rgba(27, 21, 20, .45); }
.incard__cta--locked:hover { color: #A9764A; gap: 10px; }

/* ============ 8. 加入流程 ============ */
.apply { position: relative; overflow: hidden; }
.apply > *:not(.cta__rings) { position: relative; z-index: 1; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  display: flex; flex-direction: column; gap: 11px;
  padding: 26px 22px;
  border: 1px dashed var(--line-on-dark);
  background: rgba(27, 21, 20, .62);
  transition: border-color .35s;
}
.step:hover { border-color: rgba(210, 160, 110, .5); }
.step__num {
  font-size: 26px;
  font-weight: 700;
  color: var(--c-accent);
  opacity: .8;
  letter-spacing: 0;
}
.step__title { font-size: 17px; font-weight: 500; }
.step__desc { font-size: 13.5px; font-weight: 300; opacity: .62; line-height: 1.7; }
.step__time {
  margin-top: auto;
  padding-top: 8px;
  font-size: 10.5px;
  opacity: .45;
}

.apply__ways {
  margin-top: clamp(28px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px dashed var(--line-on-dark);
}
@media (max-width: 760px) { .apply__ways { grid-template-columns: 1fr; } }
.way {
  padding: 22px 20px 6px 24px;
  border-right: 1px dashed var(--line-on-dark);
}
.way:first-child { padding-left: 0; }
.way:last-child { border-right: none; }
@media (max-width: 760px) {
  .way { padding-left: 0; border-right: none; border-bottom: 1px dashed var(--line-on-dark); }
  .way:last-child { border-bottom: none; }
}
.way__label { color: var(--c-accent); }
.way__desc { margin-top: 8px; font-size: 14px; font-weight: 300; opacity: .7; }
.way__desc b { color: var(--c-text); font-weight: 500; opacity: 1; }

.apply__cta {
  margin-top: clamp(36px, 4.5vw, 60px);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.apply__note { opacity: .45; }

@media (prefers-reduced-motion: reduce) {
  .flowline__step.is-now .flowline__dot { animation: none; }
  .evcard, .incard, .match-panel, .step { transition: none; }
}

/* ============================================================
   俱樂部子頁共用層
   會員權益 / 活動中心 / 活動詳情 / 資源對接 四頁共用
   ============================================================ */

/* hidden 屬性優先於元件自身的 display（表單、成功面板、卡片皆靠它切換） */
[hidden] { display: none !important; }

/* ---------- 僅螢幕閱讀器可見 ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 基礎標籤與 Chips ----------
   與 projects.css 同源；俱樂部頁面不載入該檔，故在此提供同一份定義 */
.tag {
  display: inline-flex; align-items: center;
  padding: 3px 9px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--plain {
  background: transparent;
  border: 1px dashed var(--line-on-dark);
  color: rgba(247, 247, 247, .6);
  font-weight: 500;
  text-transform: none;
  letter-spacing: .04em;
}
.section--light .tag--plain { border-color: var(--line-on-light); color: rgba(27, 21, 20, .6); }

.filters {
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px 0;
  border-top: 1px dashed var(--line-on-dark);
  border-bottom: 1px dashed var(--line-on-dark);
  margin-bottom: clamp(24px, 3vw, 40px);
}
.filters__row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.filters__label { opacity: .45; min-width: 56px; }
.chips { display: flex; gap: 9px; flex-wrap: wrap; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px;
  border: 1px dashed var(--line-on-dark);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(247, 247, 247, .72);
  transition: border-color .25s, color .25s, background-color .25s;
}
.chip:hover { color: var(--c-text); border-color: rgba(210, 160, 110, .5); }
.chip.is-on {
  background: var(--c-accent);
  border-style: solid;
  border-color: var(--c-accent);
  color: #16120F;
  font-weight: 500;
}
.chip__dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.chip.is-on .chip__dot { box-shadow: 0 0 0 1.5px rgba(22, 18, 15, .35); }
.chip--reset { border-style: solid; border-color: transparent; opacity: .5; }
.chip--reset:hover { opacity: 1; border-color: var(--line-on-dark); }

/* ---------- 子頁頁首 ---------- */
/* <header> 不吃 style.css 的 section 內距，需自行指定 */
.sub-head {
  position: relative;
  padding: calc(var(--pad-lg) + 56px) var(--pad) var(--pad-lg);
  overflow: hidden;
}
.sub-head__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(210, 160, 110, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(210, 160, 110, .06) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 90% at 18% 0%, #000 8%, transparent 68%);
  mask-image: radial-gradient(120% 90% at 18% 0%, #000 8%, transparent 68%);
  pointer-events: none;
}
.sub-head > *:not(.sub-head__grid) { position: relative; z-index: 1; }

.sub-head__title {
  font-size: clamp(34px, 5.4vw, 68px);
  font-weight: 300;
  line-height: 1.1;
}
.sub-head__desc {
  margin-top: 18px;
  max-width: 620px;
  opacity: .7;
  font-weight: 300;
}

.sub-stats {
  margin-top: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px dashed var(--line-on-dark);
  max-width: 760px;
}
.sub-stats > div {
  padding: 20px 16px 2px 24px;
  border-right: 1px dashed var(--line-on-dark);
}
.sub-stats > div:first-child { padding-left: 0; }
.sub-stats > div:last-child { border-right: none; }
.sub-stats dt { font-size: 12.5px; opacity: .5; }
.sub-stats dd {
  margin-top: 5px;
  font-size: clamp(21px, 2.4vw, 32px);
  font-weight: 500;
  color: var(--c-accent);
  letter-spacing: 0;
  text-transform: none;
}
@media (max-width: 720px) {
  .sub-stats { grid-template-columns: repeat(2, 1fr); }
  .sub-stats > div:nth-child(2n) { border-right: none; }
  .sub-stats > div:nth-child(2n+1) { padding-left: 0; }
}

/* ---------- 兩欄版面 + 吸頂側欄 ---------- */
.sub-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 328px;
  gap: clamp(22px, 2.6vw, 40px);
  align-items: start;
}
.sub-aside {
  position: sticky;
  top: 80px;
  display: flex; flex-direction: column;
  gap: 18px;
}
@media (max-width: 1040px) {
  .sub-layout { grid-template-columns: 1fr; }
  .sub-aside { position: static; order: 2; }
  .sub-main { order: 1; }
}

/* ---------- 面板 ---------- */
.panel {
  position: relative;
  padding: clamp(22px, 2.4vw, 30px) clamp(20px, 2.2vw, 28px);
  border: 1px dashed var(--line-on-dark);
  background: var(--c-surface);
}
.panel + .panel { margin-top: clamp(18px, 2vw, 26px); }
.section--light .panel { border-color: var(--line-on-light); background: #FFFFFF; }

.panel__head {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px dashed var(--line-on-dark);
}
.section--light .panel__head { border-bottom-color: var(--line-on-light); }
.panel__num { color: var(--c-accent); }
.section--light .panel__num { color: #A9764A; }
.panel__title { font-size: clamp(18px, 1.9vw, 22px); font-weight: 500; flex: 1; }
.panel__note { opacity: .45; }
.panel__desc { font-size: 14.5px; font-weight: 300; opacity: .68; line-height: 1.75; }

/* ---------- 資料表 ---------- */
.ctable-wrap { overflow-x: auto; scrollbar-width: thin; }
.ctable {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}
.ctable th, .ctable td {
  text-align: left;
  padding: 14px 14px;
  border-bottom: 1px dashed var(--line-on-dark);
  vertical-align: top;
}
.section--light .ctable th,
.section--light .ctable td { border-bottom-color: var(--line-on-light); }
.ctable thead th {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .55;
  white-space: nowrap;
}
.ctable tbody th { font-weight: 500; }
.ctable__group th {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #A9764A;
  padding-top: 26px;
  border-bottom-style: solid;
}
.section--dark .ctable__group th { color: var(--c-accent); }
.ctable__cell { text-align: center; }
.ctable tr:hover td, .ctable tr:hover th { background: rgba(210, 160, 110, .05); }

/* ✓ / ✕ / 部分開放 */
.mk {
  display: inline-grid; place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
}
.mk--on { background: #A9764A; color: #F7F7F7; }
.mk--off { background: rgba(27, 21, 20, .09); color: rgba(27, 21, 20, .4); }
.mk--val {
  width: auto;
  padding: 0 10px;
  border-radius: 999px;
  background: #A9764A;
  color: #F7F7F7;
  font-size: 10.5px;
  font-weight: 500;
}
.section--dark .mk--val { background: var(--c-accent); color: #16120F; }
.mk--part {
  width: auto;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(169, 118, 74, .18);
  color: #A9764A;
  font-size: 10.5px;
  font-weight: 500;
}
.section--dark .mk--on { background: var(--c-accent); color: #16120F; }
.section--dark .mk--off { background: rgba(247, 247, 247, .1); color: rgba(247, 247, 247, .45); }
.section--dark .mk--part { background: rgba(210, 160, 110, .2); color: var(--c-accent); }

/* ---------- 亮底進度條 ---------- */
.progress__bar--light { background: rgba(27, 21, 20, .1); }
.progress__bar--light i { background: linear-gradient(90deg, rgba(169, 118, 74, .5), #A9764A); }

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: clamp(14px, 2vw, 30px);
  border-bottom: 1px dashed var(--line-on-dark);
  margin-bottom: clamp(22px, 2.6vw, 34px);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative;
  flex: none;
  padding: 14px 2px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(247, 247, 247, .5);
  white-space: nowrap;
  transition: color .25s;
}
.tab::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease-power4);
}
.tab:hover { color: rgba(247, 247, 247, .85); }
.tab.is-on { color: var(--c-accent); }
.tab.is-on::after { transform: scaleX(1); transform-origin: left; }
.tab__count { opacity: .55; margin-left: 6px; font-size: 11px; }

/* ---------- 表單 ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
.field legend { padding: 0; }
.field__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .6;
}
.field__label .req { color: var(--c-accent); margin-left: 4px; }
.field__hint { font-size: 12px; opacity: .45; }

.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(247, 247, 247, .04);
  border: 1px dashed var(--line-on-dark);
  border-radius: 4px;
  color: var(--c-text);
  font-family: var(--sans);
  font-size: 14px;
  transition: border-color .25s, background-color .25s;
}
.textarea { min-height: 104px; resize: vertical; line-height: 1.7; }
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--c-accent) 50%), linear-gradient(135deg, var(--c-accent) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 13px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.select option { background: #1B1514; color: var(--c-text); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: rgba(210, 160, 110, .7);
  background: rgba(210, 160, 110, .06);
}
.input::placeholder, .textarea::placeholder { color: rgba(247, 247, 247, .32); }

.optline { display: flex; flex-wrap: wrap; gap: 9px; }
.opt {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px;
  border: 1px dashed var(--line-on-dark);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(247, 247, 247, .7);
  cursor: pointer;
  transition: border-color .25s, color .25s, background-color .25s;
}
.opt:hover { border-color: rgba(210, 160, 110, .5); color: var(--c-text); }
.opt input { accent-color: var(--c-accent); width: 13px; height: 13px; }
.opt:has(input:checked) {
  border-style: solid;
  border-color: rgba(210, 160, 110, .6);
  background: rgba(210, 160, 110, .12);
  color: var(--c-accent);
}
.opt:focus-within { border-color: var(--c-accent); }

.form__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding-top: 4px;
}
.form__note { font-size: 12px; opacity: .45; }

/* 開關（在名錄中隱藏） */
.switch {
  display: inline-flex; align-items: center; gap: 12px;
  cursor: pointer;
  font-size: 13.5px;
}
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__box {
  position: relative;
  width: 40px; height: 21px;
  border-radius: 999px;
  background: rgba(247, 247, 247, .1);
  border: 1px dashed var(--line-on-dark);
  flex: none;
  transition: background-color .25s, border-color .25s;
}
.switch__box::after {
  content: '';
  position: absolute; top: 3px; left: 3px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: rgba(247, 247, 247, .5);
  transition: transform .28s var(--ease-power4), background-color .25s;
}
.switch input:checked + .switch__box {
  background: rgba(210, 160, 110, .2);
  border-style: solid;
  border-color: rgba(210, 160, 110, .6);
}
.switch input:checked + .switch__box::after { transform: translateX(19px); background: var(--c-accent); }
.switch input:focus-visible + .switch__box { border-color: var(--c-accent); }

/* ---------- 縱向狀態時間軸（含顧問備註） ---------- */
.vtl { display: flex; flex-direction: column; }
.vtl__step {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 20px;
}
.vtl__step:last-child { padding-bottom: 0; }
.vtl__step::before {
  content: '';
  position: absolute; left: 10px; top: 16px; bottom: -4px;
  width: 1px;
  background: var(--line-on-dark);
}
.vtl__step:last-child::before { display: none; }
.vtl__dot {
  position: relative; z-index: 1;
  margin-top: 5px;
  width: 11px; height: 11px;
  justify-self: center;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  background: var(--c-surface);
}
.vtl__body { display: flex; flex-direction: column; gap: 5px; }
.vtl__label { font-size: 14px; font-weight: 500; opacity: .45; }
.vtl__time { font-size: 10.5px; opacity: .4; }
.vtl__memo {
  margin-top: 4px;
  padding: 10px 13px;
  border-left: 1px dashed var(--line-on-dark);
  background: rgba(247, 247, 247, .03);
  font-size: 13px;
  font-weight: 300;
  opacity: .62;
  line-height: 1.7;
}
.vtl__memo b { font-weight: 500; opacity: .9; }
.vtl__step.is-done .vtl__dot { background: rgba(210, 160, 110, .5); border-color: rgba(210, 160, 110, .5); }
.vtl__step.is-done .vtl__label { opacity: .78; }
.vtl__step.is-now .vtl__dot {
  background: var(--c-accent);
  border-color: var(--c-accent);
  animation: flowPulse 2s infinite;
}
.vtl__step.is-now .vtl__label { opacity: 1; color: var(--c-accent); }
.vtl__step.is-miss .vtl__dot { background: rgba(247, 247, 247, .25); border-color: rgba(247, 247, 247, .25); }
.vtl__step.is-miss .vtl__label { opacity: .6; }

/* ---------- 空狀態 ---------- */
.empty {
  padding: 56px 20px;
  text-align: center;
  opacity: .5;
  border: 1px dashed var(--line-on-dark);
  font-size: 14px;
}
.section--light .empty { border-color: var(--line-on-light); }

/* ---------- 吸頂底部 CTA 條（手機） ---------- */
.stickybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px var(--pad);
  background: rgba(20, 16, 16, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px dashed var(--line-on-dark);
}
.stickybar__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stickybar__label { font-size: 10.5px; opacity: .5; }
.stickybar__value { font-size: 13px; font-weight: 500; color: var(--c-accent); }
@media (max-width: 1040px) {
  .stickybar { display: flex; }
  /* 吸頂條會蓋住頁尾最後一列，補上對應的底部留白 */
  .stickybar ~ .footer { padding-bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  .vtl__step.is-now .vtl__dot { animation: none; }
  .panel, .chip, .tab, .opt, .switch__box, .switch__box::after { transition: none; }
}

/* ============ 會員等級門控（js/tier-gate.js） ============ */
.tgate { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px dashed rgba(210, 160, 110, .45); border-radius: 8px; background: radial-gradient(80% 90% at 0% 0%, rgba(210, 160, 110, .1), transparent 70%), rgba(27, 21, 20, .6); }
.tgate__k { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: var(--c-accent); }
.tgate__t { font-size: clamp(18px, 1.6vw, 22px); font-weight: 400; line-height: 1.45; }
.tgate__p { font-size: 14px; line-height: 1.8; color: rgba(247, 247, 247, .7); }
.tgate__p b { color: var(--c-text); font-weight: 500; }
.tgate__ops { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.tier-card.is-mine { box-shadow: 0 0 0 1px var(--c-accent); }
.tier-card__mine { display: inline-block; margin-top: 10px; padding: 3px 8px; border: 1px solid currentColor; border-radius: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; color: var(--c-accent); }
.quota-row .progress__bar i.is-unl { background: repeating-linear-gradient(135deg, rgba(210, 160, 110, .55) 0 4px, rgba(210, 160, 110, .2) 4px 8px); }
