/* =========================================================
   2026 靈感日日村年會｜共創時代：你我都是故事造浪者
   設計來源：Claude Design 畫布第四版 Tide.dc.html
   ========================================================= */

@font-face {
  font-family: 'PV Hand';
  src: url(../fonts/pv-hand.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* 色票（已和村長確認） */
  --navy: #122338;
  --brand: #0048A8;
  --sea: #2F6DB8;
  --paper: #E9EEF3;
  --star: #FFE81E;

  --ink: #122338;
  --ink-2: #26344D;
  --ink-3: #34425C;
  --muted: #44526B;
  --muted-2: #5A6780;
  --line: #B9C6D6;
  --sky: #C8E1F8;
  --night: #0F2140;
  --black: #141414;

  /* 圓角：標籤 8／按鈕・議程列・選項 14／大卡片・票卡 22 */
  --r-tag: 8px;
  --r-ctl: 14px;
  --r-card: 22px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --hd-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* 中文換行：不在字和字之間斷，斷點交給零寬空格 */
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}

img { max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
button { font-family: inherit; }
section[id] { scroll-margin-top: var(--hd-h); }
:focus-visible { outline: 3px solid var(--star); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-ctl);
  text-decoration: none; font-weight: 700;
}
.skip:focus { top: 12px; }

.noscript { padding: 24px; text-align: center; background: var(--star); font-weight: 700; }

/* ---------- 字體 ---------- */
.fh { font-family: 'PV Hand', 'Noto Sans TC', sans-serif; font-weight: 400; }
.fs { font-family: 'Great Vibes', cursive; font-weight: 400; line-height: 1; }
.fs-ow { color: transparent; -webkit-text-stroke: 1.3px #FFFFFF; }
.fs-ob { color: transparent; -webkit-text-stroke: 1.3px var(--brand); }
.fs-on { color: transparent; -webkit-text-stroke: 1.2px var(--navy); }
.cl { display: inline-block; }

/* ---------- 底紋 ---------- */
.tex { background-image: url(../img/tex-grain.png); background-size: 320px 320px; }
.lined {
  background-color: #F8FAFC;
  background-image: repeating-linear-gradient(180deg, transparent 0, transparent 33px, #DCE6F0 33px, #DCE6F0 34px), url(../img/tex-grain.png);
  background-size: auto, 320px 320px;
}
.sea {
  background-color: #3B79C2;
  background-image: url(../img/tex-grain.png), linear-gradient(180deg, #77ABDC 0%, #3B79C2 42%, #2B5FA3 100%);
  background-size: 320px 320px, auto;
}
.deep {
  background-color: #0F3A63;
  background-image: url(../img/tex-grain.png), linear-gradient(180deg, #123F6B 0%, #0A2A4A 100%);
  background-size: 320px 320px, auto;
}

/* ---------- 文字選取框（主視覺元素，保留直角） ---------- */
.sel {
  position: relative; display: inline-block;
  background: var(--sky); padding: 0 .22em;
  border-left: 2px solid var(--brand); border-right: 2px solid var(--brand);
  line-height: 1.4;
}
.sel::before, .sel::after { content: ""; position: absolute; width: 6px; height: 6px; background: var(--brand); }
.sel::before { left: -4px; top: -5px; }
.sel::after { right: -4px; bottom: -5px; }
.sel-w { background: #FFFFFF; }
.mark { background: var(--sky); padding: 0 .15em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.todo { background: #FFF3A6; color: #6B5800; font-weight: 700; padding: 0 .2em; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.nw, [data-my], [data-ticket-who] { white-space: nowrap; }

/* ---------- 標籤（8px） ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--black); color: #FFFFFF; font-weight: 700;
  padding: 4px 12px; line-height: 1.35; border-radius: var(--r-tag); font-size: 13px;
}
.tag-lg { font-size: 17px; }
.tag-y { background: var(--star); color: var(--black); }
.tag-rec { background: var(--navy); color: var(--star); font-size: 14px; }
.tag-rec-y { background: var(--star); color: var(--black); border: 2px solid var(--navy); font-size: 14px; box-shadow: 2px 2px 0 var(--navy); }
.tag-rec svg, .tag-rec-y svg { flex: none; }
.hash {
  display: inline-block; background: #CFE4F8; color: #0D2A55; font-weight: 900;
  border-radius: var(--r-tag); padding: 3px 10px; font-size: 14px;
  box-shadow: 2px 2px 0 rgba(13, 42, 85, .18);
}
.hashes { display: flex; flex-wrap: wrap; gap: 8px; }
.label-blue {
  display: inline-block; margin: 0 0 clamp(28px, 4vw, 44px);
  background: #0D4FA8; color: #FFFFFF; font-size: clamp(21px, 2.6vw, 30px); font-weight: 700;
  padding: 6px 16px; line-height: 1.4; border-radius: var(--r-tag);
}
.pill-blue { background: #0D4FA8; color: #FFFFFF; padding: 3px 12px; font-weight: 700; border-radius: var(--r-tag); }

/* ---------- 拼貼小物 ---------- */
.tape {
  position: absolute; height: 28px;
  background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}
.pola {
  position: relative; background: #FFFFFF; padding: 9px 9px 10px; border-radius: var(--r-ctl); margin: 0;
  box-shadow: 0 16px 28px -20px rgba(8, 26, 52, .7);
}
.pola img { display: block; width: 100%; height: auto; border-radius: var(--r-tag); }
.star { position: absolute; }
.clip { position: absolute; }

/* 照片拼貼角度（只用在照片） */
.r-l1 { --r: -1.8deg; } .r-r1 { --r: 1.6deg; }
.r-l2 { --r: -1deg; }   .r-r2 { --r: 2.4deg; }
.rot { transform: rotate(var(--r, 0deg)); }

/* 卡片：滑鼠移入浮起、點擊下壓（照片保留原本角度，不轉正） */
.lift { transform: rotate(var(--r, 0deg)); transition: transform .35s var(--ease-out), box-shadow .35s ease; }
.lift:hover { transform: rotate(var(--r, 0deg)) translateY(-8px); box-shadow: 0 30px 44px -24px rgba(8, 26, 52, .6); }
.lift:active { transform: rotate(var(--r, 0deg)) translateY(-1px) scale(.985); box-shadow: 0 8px 16px -12px rgba(8, 26, 52, .5); transition-duration: .1s; }

/* ---------- 按鈕：實體按鍵感 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: none; border-radius: var(--r-ctl);
  font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 rgba(6, 18, 36, .38);
  transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(6, 18, 36, .38); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(6, 18, 36, .38); transition-duration: .06s; }
.btn-dark { background: var(--navy); color: #FFFFFF; }
.btn-dark:hover { background: var(--brand); color: #FFFFFF; }
.btn-y { background: var(--star); color: var(--navy); font-weight: 900; }
.btn-y:hover { background: #FFFFFF; color: var(--navy); }
.btn-w { background: #FFFFFF; color: var(--navy); font-weight: 900; }
.btn-w:hover { background: var(--star); color: var(--navy); }
.btn-ghost { background: transparent; color: #FFFFFF; box-shadow: inset 0 0 0 1.5px #FFFFFF, 0 4px 0 rgba(6, 18, 36, .38); }
.btn-ghost:hover { background: var(--brand); box-shadow: inset 0 0 0 1.5px #FFFFFF, 0 6px 0 rgba(6, 18, 36, .38); }
.btn-ghost-d { background: #FFFFFF; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy), 0 4px 0 rgba(6, 18, 36, .25); }
.btn-ghost-d:hover { background: var(--paper); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn-xl { display: flex; width: 100%; min-height: 58px; font-size: 18px; font-weight: 900; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; gap: 8px; }

/* 文字連結底線 */
.ul {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .3s ease;
}
.ul:hover { background-size: 100% 2px; }
.link-btn {
  min-height: 44px; padding: 0; border: none; background-color: transparent; cursor: pointer;
  font-size: 15px;
}

/* ---------- 海浪分隔帶 ---------- */
.strip { width: 100%; }
/* 浪條只放一張、不重複（重複會在接縫處斷開）：高度跟著螢幕寬度走，圖片永遠比畫面寬 */
.strip-sea { background: url(../img/strip-sea.webp) 50% 50% / auto 100% no-repeat; height: max(60px, 7.5vw); }
.strip-foam { background: url(../img/strip-foam.webp) 50% 50% / auto 100% no-repeat; height: max(64px, 8vw); }
.strip-blue { background: url(../img/strip-blue.webp) 50% 50% / auto 100% no-repeat; height: max(64px, 8vw); }
/* 海浪分隔帶：上下兩段的顏色在浪條「每一處都是實心」的高度交接，看不到直線
   （浪條 sea 33%～66%、foam 50%～59%、blue 42%～62% 處處實心）；
   浪條下緣漸層融進下一段的顏色，上緣保留撕紙邊 */
.wd, .hero-foot { position: relative; }
.wd { --split: 50%; background: linear-gradient(180deg, var(--wd-a) var(--split), var(--wd-b) var(--split)); }
.wd:has(.strip-foam) { --split: 54.5%; }
.wd::after, .hero-foot::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--wd-b) 94%);
}
.torn { display: block; height: 46px; }
/* 撕紙邊（固定亂數產生，和設計稿一致） */
.torn-c { -webkit-clip-path: polygon(0% 0px, 100% 0px, 100.00% calc(100% - 10.3px), 97.92% calc(100% - 26.6px), 95.83% calc(100% - 17.3px), 93.75% calc(100% - 27.3px), 91.67% calc(100% - 7.3px), 89.58% calc(100% - 25.2px), 87.50% calc(100% - 20.1px), 85.42% calc(100% - 23.7px), 83.33% calc(100% - 7.3px), 81.25% calc(100% - 0.4px), 79.17% calc(100% - 3.5px), 77.08% calc(100% - 3.4px), 75.00% calc(100% - 7.9px), 72.92% calc(100% - 14.3px), 70.83% calc(100% - 25.1px), 68.75% calc(100% - 26.2px), 66.67% calc(100% - 11.8px), 64.58% calc(100% - 0.0px), 62.50% calc(100% - 11.0px), 60.42% calc(100% - 7.7px), 58.33% calc(100% - 23.9px), 56.25% calc(100% - 1.9px), 54.17% calc(100% - 13.7px), 52.08% calc(100% - 24.4px), 50.00% calc(100% - 10.7px), 47.92% calc(100% - 13.3px), 45.83% calc(100% - 13.2px), 43.75% calc(100% - 20.9px), 41.67% calc(100% - 18.4px), 39.58% calc(100% - 1.8px), 37.50% calc(100% - 16.3px), 35.42% calc(100% - 12.5px), 33.33% calc(100% - 2.1px), 31.25% calc(100% - 8.6px), 29.17% calc(100% - 7.3px), 27.08% calc(100% - 25.7px), 25.00% calc(100% - 9.3px), 22.92% calc(100% - 14.5px), 20.83% calc(100% - 0.2px), 18.75% calc(100% - 2.2px), 16.67% calc(100% - 17.7px), 14.58% calc(100% - 21.3px), 12.50% calc(100% - 26.9px), 10.42% calc(100% - 0.6px), 8.33% calc(100% - 16.7px), 6.25% calc(100% - 11.1px), 4.17% calc(100% - 3.0px), 2.08% calc(100% - 26.0px), 0.00% calc(100% - 22.4px)); clip-path: polygon(0% 0px, 100% 0px, 100.00% calc(100% - 10.3px), 97.92% calc(100% - 26.6px), 95.83% calc(100% - 17.3px), 93.75% calc(100% - 27.3px), 91.67% calc(100% - 7.3px), 89.58% calc(100% - 25.2px), 87.50% calc(100% - 20.1px), 85.42% calc(100% - 23.7px), 83.33% calc(100% - 7.3px), 81.25% calc(100% - 0.4px), 79.17% calc(100% - 3.5px), 77.08% calc(100% - 3.4px), 75.00% calc(100% - 7.9px), 72.92% calc(100% - 14.3px), 70.83% calc(100% - 25.1px), 68.75% calc(100% - 26.2px), 66.67% calc(100% - 11.8px), 64.58% calc(100% - 0.0px), 62.50% calc(100% - 11.0px), 60.42% calc(100% - 7.7px), 58.33% calc(100% - 23.9px), 56.25% calc(100% - 1.9px), 54.17% calc(100% - 13.7px), 52.08% calc(100% - 24.4px), 50.00% calc(100% - 10.7px), 47.92% calc(100% - 13.3px), 45.83% calc(100% - 13.2px), 43.75% calc(100% - 20.9px), 41.67% calc(100% - 18.4px), 39.58% calc(100% - 1.8px), 37.50% calc(100% - 16.3px), 35.42% calc(100% - 12.5px), 33.33% calc(100% - 2.1px), 31.25% calc(100% - 8.6px), 29.17% calc(100% - 7.3px), 27.08% calc(100% - 25.7px), 25.00% calc(100% - 9.3px), 22.92% calc(100% - 14.5px), 20.83% calc(100% - 0.2px), 18.75% calc(100% - 2.2px), 16.67% calc(100% - 17.7px), 14.58% calc(100% - 21.3px), 12.50% calc(100% - 26.9px), 10.42% calc(100% - 0.6px), 8.33% calc(100% - 16.7px), 6.25% calc(100% - 11.1px), 4.17% calc(100% - 3.0px), 2.08% calc(100% - 26.0px), 0.00% calc(100% - 22.4px)); }

/* ---------- 動態 ---------- */
@keyframes sway { from { background-position: 30% 50%; } to { background-position: 70% 50%; } }
@keyframes sway2 { from { background-position: 65% 50%; } to { background-position: 35% 50%; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes surf { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-2.5deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.72) rotate(24deg); opacity: .65; } }
@keyframes rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateX(-50%) translateY(36px) scale(.8); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes mq { to { transform: translateX(-50%); } }
@keyframes flow { to { stroke-dashoffset: -275; } }
@keyframes ping {
  0% { box-shadow: 0 3px 0 rgba(0, 72, 168, .35), 0 0 0 0 rgba(0, 72, 168, .35); }
  70%, 100% { box-shadow: 0 3px 0 rgba(0, 72, 168, .35), 0 0 0 12px rgba(0, 72, 168, 0); }
}
@keyframes ecopop { 0% { transform: translateY(0) scale(.97); } 100% { transform: translateY(-8px) scale(1); } }
@keyframes spark-out { from { transform: rotate(var(--a)) translateY(0) scale(1); opacity: 1; } to { transform: rotate(var(--a)) translateY(-40px) scale(.3); opacity: 0; } }
@keyframes spark-core { 0% { transform: scale(.2) rotate(0); opacity: 1; } 60% { transform: scale(1.25) rotate(40deg); opacity: 1; } 100% { transform: scale(.6) rotate(72deg); opacity: 0; } }

.sw { animation: sway 14s ease-in-out infinite alternate; }
.sw2 { animation: sway2 18s ease-in-out infinite alternate; }
.bob { animation: bob 5.5s ease-in-out infinite; }
.bob2 { animation: bob 6.6s ease-in-out .9s infinite; }
.surf { animation: surf 4.8s ease-in-out infinite; }
.tw { animation: twinkle 3.2s ease-in-out infinite; }
.tw2 { animation: twinkle 4.1s ease-in-out .8s infinite; }
.r1 { animation: rise .9s var(--ease-out) .05s both; }
.r2 { animation: rise .9s var(--ease-out) .2s both; }
.r3 { animation: rise .9s var(--ease-out) .38s both; }

/* 捲動進場：淡入＋上浮＋由模糊變清楚，每個元素只播一次 */
.rv-on .rv {
  opacity: 0; transform: translateY(44px); filter: blur(6px);
  transition: opacity .8s ease, transform 1s cubic-bezier(.16, 1, .3, 1), filter .8s ease;
  transition-delay: var(--rd, 0s);
}
.rv-on .rv.rv-s { transform: translateY(24px) scale(.9); }
.rv-on .rv.rv-in { opacity: 1; transform: none; filter: none; }

/* 英文草寫「手寫寫出」：遮罩範圍比字框大，播完移除遮罩 */
.rv-write { padding: .24em .34em .36em .3em; margin: -.24em -.34em -.36em -.3em; }
.rv-on .rv-write {
  -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  mask-image: linear-gradient(90deg, #000 40%, transparent 60%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  transition: -webkit-mask-position 1.6s cubic-bezier(.45, 0, .2, 1) .15s, mask-position 1.6s cubic-bezier(.45, 0, .2, 1) .15s;
}
.rv-on .rv-write.rv-in { -webkit-mask-position: 0 0; mask-position: 0 0; }
.rv-on .rv-write.rv-done { -webkit-mask-image: none; mask-image: none; }

/* 點擊星星火花 */
.spark-burst { position: fixed; width: 0; height: 0; pointer-events: none; z-index: 90; }
.spark-burst svg { position: absolute; }
.sp-core { left: -12px; top: -12px; width: 24px; height: 24px; animation: spark-core .6s ease-out forwards; }
.sp-ray { left: -6px; top: -6px; width: 12px; height: 12px; animation: spark-out .75s ease-out forwards; }

/* =========================================================
   導覽列
   ========================================================= */
.hd {
  position: sticky; top: 0; z-index: 60;
  background: rgba(233, 238, 243, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid #CCD7E3;
}
.hd-in {
  max-width: 1240px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 6px 18px; min-height: 56px;
}
.hd-logo { flex: none; display: flex; align-items: center; min-height: 44px; }
.hd-logo img { height: 30px; width: auto; display: block; }
.hd-nav {
  flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; gap: 2px;
  overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.hd-nav::-webkit-scrollbar { display: none; }
.nav { flex: none; color: var(--ink); font-size: 15px; font-weight: 500; padding: 8px 9px; }
.nav.on { color: var(--brand); background-size: 100% 2px; font-weight: 700; }
.hd-cta { flex: none; min-height: 40px; padding: 0 18px; font-size: 15px; }
/* 分享鍵（icon 方形按鈕，和回到頂端同一型） */
.hd-share { position: relative; flex: none; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: none; border-radius: var(--r-ctl); background: #FFFFFF; color: var(--navy); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--navy), 0 3px 0 rgba(6, 18, 36, .25); transition: transform .15s, box-shadow .15s, background .15s; }
.hd-share:hover { background: var(--paper); }
.hd-share:active { transform: translateY(3px); box-shadow: inset 0 0 0 1.5px var(--navy), 0 0 0 rgba(6, 18, 36, .25); }
.hd-share-tip { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 4px 10px; border-radius: var(--r-tag); background: var(--navy); color: #FFFFFF; font-size: 12px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s; }
.hd-share.tip-on .hd-share-tip { opacity: 1; }
@media (max-width: 960px) {
  :root { --hd-h: 100px; }
  .hd-in { flex-wrap: wrap; min-height: 0; padding-top: 4px; }
  .hd-logo { order: 1; }
  .hd-share { order: 2; margin-left: auto; }
  .hd-cta { order: 2; }
  .hd-nav { order: 3; flex: 1 1 100%; justify-content: flex-start; margin: 0 -8px; }
  .nav { font-size: 14px; padding: 6px 8px 8px; }
}

.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  min-height: 52px; padding: 0 22px; border: 2px solid var(--navy); gap: 8px;
  opacity: 0; transform: translateY(24px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, box-shadow .15s ease, background-color .2s ease;
}
.fab-on .fab { opacity: 1; transform: none; pointer-events: auto; }
.fab-on .fab:hover { transform: translateY(-2px); }
.fab-on .fab:active { transform: translateY(3px); }
/* 回到頂端：離開主視覺後出現，報名鈕在的時候疊在它上面 */
.totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: #FFFFFF; color: var(--navy); border: 2px solid var(--navy); border-radius: var(--r-ctl);
  box-shadow: 0 4px 0 rgba(6, 18, 36, .38);
  opacity: 0; transform: translateY(24px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, bottom .3s ease, box-shadow .15s ease, background-color .2s ease;
}
.top-on .totop { opacity: 1; transform: none; pointer-events: auto; }
.top-on.fab-on .totop { bottom: 84px; }
.top-on .totop:hover { background: var(--star); transform: translateY(-2px); box-shadow: 0 6px 0 rgba(6, 18, 36, .38); }
.top-on .totop:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(6, 18, 36, .38); transition-duration: .06s; }
@media (max-width: 600px) {
  .fab { right: 14px; bottom: 14px; }
  .totop { right: 14px; bottom: 14px; }
  .top-on.fab-on .totop { bottom: 78px; }
}

/* =========================================================
   主視覺
   ========================================================= */
.hero { position: relative; overflow: hidden; background: #E3E8EE; --px: 62%; --py: 36%; --mx: 0; --my: 0; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-spot {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle 320px at var(--px) var(--py), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 62%);
}
.hero-in { position: relative; max-width: 1240px; margin: 0 auto; padding: clamp(20px, 3vw, 40px) 28px 0; }
.hero-kicker { display: flex; justify-content: flex-end; font-size: 13px; font-weight: 700; letter-spacing: .06em; line-height: 1.4; text-align: right; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(250px, 1fr); align-items: end; gap: 20px 48px; padding-top: 6px; }
.hero-logo { display: flex; align-items: flex-end; gap: 16px; min-width: 0; }
.hero-h1 { margin: 0; flex: 1 1 auto; min-width: 0; }
.hero-h1 img { display: block; width: 100%; max-width: 780px; height: auto; }
.hero-date-m { display: none; flex: 1 1 0; min-width: 0; flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 6px; }
.hero-date-m .fh { font-size: clamp(28px, 7.4vw, 40px); white-space: nowrap; color: var(--brand); line-height: 1; }
.hero-date-m img { width: 100%; max-width: 200px; height: auto; display: block; }
.hero-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding-bottom: 6px; }
.hero-date-d { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero-date-d .fh { font-size: clamp(40px, 4.2vw, 58px); white-space: nowrap; color: var(--brand); line-height: 1; }
.hero-date-d img { width: clamp(220px, 22vw, 290px); height: auto; display: block; }
.hero-copy p { margin: 4px 0 0; font-size: 16px; line-height: 1.85; color: var(--ink-2); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero-link { color: var(--ink); font-size: 15px; font-weight: 700; padding: 10px 0; }
.count { align-self: flex-start; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.count-k { font-size: 15px; font-weight: 900; color: var(--navy); letter-spacing: .02em; }
.clock { display: flex; align-items: center; gap: clamp(7px, .9vw, 10px); }
/* 圓環倒數：白底圓盤＋淺藍軌道＋品牌藍進度（3/4 圈，缺口在下方放單位） */
.ring { position: relative; flex: none; width: clamp(66px, 5.8vw, 82px); aspect-ratio: 1; border-radius: 50%; background: #FFFFFF; box-shadow: 0 12px 24px -14px rgba(5, 20, 45, .55), inset 0 0 0 1px rgba(0, 72, 168, .08); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(135deg); overflow: visible; }
.ring circle { fill: none; stroke-width: 7.5; stroke-linecap: round; }
.ring-track { stroke: #C9DAF0; stroke-dasharray: 197.9 999; }
.ring-bar { stroke: var(--brand); stroke-dasharray: .01 999; transition: stroke-dasharray .6s ease; }
.ring b { position: relative; margin-top: -4%; font-size: clamp(23px, 2.25vw, 31px); font-weight: 900; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ring i { position: absolute; left: 0; right: 0; bottom: 7%; text-align: center; font-style: normal; font-size: clamp(11px, .9vw, 13px); font-weight: 900; line-height: 1; color: var(--brand); }
.ring b.tick { animation: tick .35s ease-out; }
/* 數字在原位置換：只有淡入，不上下跳 */
@keyframes tick { from { opacity: .35; } to { opacity: 1; } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .hero-h1 { flex: none; }
  .hero-h1 img { width: min(40vw, 190px); }
  .hero-date-m { display: flex; }
  .hero-date-d { display: none; }
}

.hero-band { position: relative; height: clamp(210px, 24vw, 340px); margin-top: clamp(4px, 2vw, 20px); }
.hero-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 68%; object-fit: cover; object-position: center top; display: block; }
.hero-fig {
  position: absolute; z-index: 2; height: clamp(66px, 8.6vw, 124px);
  transform: translateX(-50%); animation: pop .9s cubic-bezier(.34, 1.56, .64, 1) both;
}
.hero-fig > div { height: 100%; }
.fig { display: block; position: relative; height: 100%; text-decoration: none; }
.fig > span:last-child { display: block; height: 100%; }
.fig img { display: block; height: 100%; width: auto; max-width: none; transition: transform .3s var(--ease-out); }
.fig:hover img, .fig:focus-visible img { transform: translateY(-8px) scale(1.05); }
.fig-tip {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -90%); z-index: 3;
  background: var(--black); color: #FFFFFF; font-size: 13px; font-weight: 700; padding: 4px 10px;
  border-radius: var(--r-tag); white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.fig:hover .fig-tip, .fig:focus-visible .fig-tip { opacity: 1; transform: translate(-50%, -120%); }
.par1 { transform: translate(calc(var(--mx) * -22px), calc(var(--my) * -14px)); transition: transform .45s var(--ease-out); }
.par2 { transform: translate(calc(var(--mx) * 30px), calc(var(--my) * 18px)); transition: transform .55s var(--ease-out); }
.par3 { transform: translate(calc(var(--mx) * -40px), calc(var(--my) * 12px)); transition: transform .65s var(--ease-out); }
.hero-foot { --wd-b: var(--sea); margin-top: calc(-1 * clamp(32px, 4vw, 56px)); background: linear-gradient(180deg, rgba(47, 109, 184, 0) 50%, var(--sea) 50%); }
@media (max-width: 1000px) { .sky-only { display: none; } }

/* =========================================================
   心理測驗
   ========================================================= */
.quiz { background-color: var(--sea); padding: 24px 24px 88px; }
.quiz-in { max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }
.quiz-head { display: flex; flex-direction: column; gap: 4px; color: #FFFFFF; }
.quiz-script { font-size: clamp(54px, 7vw, 88px); align-self: flex-start; }
.quiz-head h2 { margin: -6px 0 0; font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; line-height: 1.3; outline: none; }
.quiz-lead { margin: 6px 0 0; font-size: 17px; line-height: 1.85; color: #E4EEF9; max-width: 36em; }
.quiz-card-wrap { position: relative; max-width: 940px; }
.quiz-card-wrap[hidden], #quiz-result[hidden], .quiz-lead[hidden] { display: none; }

/* 筆記本卡 */
.nb { position: relative; border-radius: var(--r-card); }
.nb-quiz {
  padding: clamp(26px, 4vw, 40px) clamp(18px, 4vw, 44px) clamp(24px, 4vw, 36px) clamp(46px, 6vw, 72px);
  box-shadow: 0 24px 40px -28px rgba(5, 20, 45, .8);
}
.nb-hole {
  position: absolute; left: clamp(14px, 2vw, 24px); width: 18px; height: 18px; border-radius: 50%;
  background: var(--sea); box-shadow: inset 1px 2px 3px rgba(0, 0, 0, .35);
}

.qi { display: flex; flex-direction: column; gap: 18px; }
.qi h3 { margin: 0; font-size: clamp(21px, 2.4vw, 26px); font-weight: 900; line-height: 1.45; }
.qi p { margin: 0; font-size: 16px; line-height: 1.9; color: var(--ink-3); }
.qi .btn { align-self: flex-start; }
.deck { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.mini {
  position: relative; background: #FFFFFF; border-radius: var(--r-ctl); padding: 6px 6px 8px; text-align: center;
  box-shadow: 0 12px 20px -14px rgba(8, 26, 52, .6), 0 0 0 1px rgba(18, 35, 56, .08);
  transform: translateY(var(--arc, 0)); transition: transform .3s var(--ease-out), box-shadow .3s ease;
  animation: deal .7s var(--ease-out) backwards; animation-delay: calc(var(--i) * .08s); cursor: pointer;
}
.mini:nth-child(1), .mini:nth-child(6) { --arc: 12px; } .mini:nth-child(2), .mini:nth-child(5) { --arc: 4px; }
.mini:hover { transform: translateY(calc(var(--arc, 0px) - 8px)); box-shadow: 0 22px 28px -16px rgba(8, 26, 52, .6), 0 0 0 2px var(--star); }
@keyframes deal { from { opacity: 0; transform: translateY(26px) scale(.9); } to { opacity: 1; transform: translateY(var(--arc, 0)); } }
.mini-pic { position: relative; overflow: hidden; aspect-ratio: 3 / 3.7; border-radius: 9px; background: #C8DDF0 url(../img/card-sea.webp) center 60% / cover; }
.mini-pic img { position: absolute; left: 50%; bottom: 4%; height: 74%; width: auto; max-width: none; transform: translateX(-50%); }
.mini-tag {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 6px; background: rgba(18, 35, 56, .9); color: #FFFFFF;
  font-size: 12px; font-weight: 700; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease;
}
.mini:hover .mini-tag, .mini.show .mini-tag { opacity: 1; transform: none; }
.mini-name { margin-top: 6px; font-size: clamp(15px, 1.6vw, 19px); color: var(--brand); line-height: 1.2; white-space: nowrap; }
.mini-en { font-size: 15px; color: var(--navy); line-height: 1.1; }
@media (max-width: 760px) {
  .deck { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .mini:nth-child(n) { --arc: 0px; }
}
@media (prefers-reduced-motion: reduce) { .mini { animation-name: fade-only; } }

.q { display: flex; flex-direction: column; gap: 18px; }
.q-top { display: flex; align-items: center; gap: 14px; }
.q-back {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #FFFFFF;
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--navy);
  transition: border-color .2s ease, transform .15s ease;
}
.q-back:hover { border-color: var(--brand); }
.q-back:active { transform: scale(.94); }
.q-prog { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.q-count { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.q-count span:first-child { color: var(--brand); }
.q-count span:last-child { color: var(--muted-2); }
.q-dots { display: flex; gap: 5px; }
.q-dots span { flex: 1; height: 6px; background: #D6DEE8; border-radius: 3px; transition: background-color .3s ease; }
.q-dots span.on { background: var(--brand); }
.q h3 { margin: 4px 0 0; font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; line-height: 1.5; outline: none; }
.q-opts { display: flex; flex-direction: column; gap: 12px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 13px 16px; min-height: 58px; border-radius: var(--r-ctl);
  font-size: 16px; line-height: 1.55; cursor: pointer;
  border: 1.5px solid #C3CFDD; background: #FFFFFF; color: var(--ink);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.opt:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 10px 18px -12px rgba(8, 26, 52, .55); }
.opt:active { transform: translateY(1px); box-shadow: none; transition-duration: .06s; }
.opt-l {
  flex: none; width: 30px; height: 30px; border-radius: 9px; border: 1.5px solid var(--navy);
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 15px;
}
.opt[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.opt[aria-pressed="true"] .opt-l { background: var(--star); border-color: var(--star); color: var(--navy); }
.q-hint { font-size: 14px; color: var(--muted-2); }

/* 解鎖結果：留下 Email（背面朝上的角色牌＋表單） */
.gate { display: flex; flex-direction: column; gap: 18px; }
.gate-body { display: flex; gap: 30px; align-items: center; }
.gate-card { flex: none; width: 150px; }
.gate-back {
  position: relative; aspect-ratio: 5 / 7; border-radius: var(--r-ctl);
  background: var(--brand) url(../img/tex-grain.png); background-size: 320px 320px;
  box-shadow: 0 20px 30px -18px rgba(4, 18, 40, .8); animation: gate-float 3.4s ease-in-out infinite;
}
.gate-back .back-in { inset: 8px; gap: 8px; padding: 10px; }
.gate-back img { width: 78%; height: auto; filter: brightness(0) invert(1); }
.gate-mark { font-size: 56px; font-weight: 900; line-height: 1; color: var(--star); }
.gate-card { position: relative; }
.gate-card .star { position: absolute; z-index: 1; }
.gate-back .back-no { font-size: 8px; letter-spacing: .08em; }
@keyframes gate-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.gate-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gate-main h3 { margin: 0; font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; line-height: 1.45; }
.gate-main > p { margin: 0; font-size: 16px; line-height: 1.85; color: var(--ink-3); }
.gate-label { margin-top: 4px; font-size: 15px; font-weight: 700; color: var(--brand); }
.gate-row { display: flex; flex-wrap: wrap; gap: 10px; }
.gate-input {
  flex: 1 1 280px; min-width: 0; min-height: 54px; padding: 0 16px; border-radius: var(--r-ctl);
  border: 1.5px solid #C3CFDD; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 17px;
}
.gate-input::placeholder { color: #8A97AA; }
.gate-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 72, 168, .18); }
.gate-input[aria-invalid="true"] { border-color: #B4441A; box-shadow: 0 0 0 3px rgba(180, 68, 26, .15); }
.gate-go { flex: 1 1 200px; }
.gate-go:disabled { cursor: progress; opacity: .85; transform: none; }
.gate-msg { font-size: 15px; line-height: 1.7; padding: 10px 14px; border-radius: var(--r-ctl); }
.gate-msg:empty { display: none; }
.gate-msg.is-err { background: #FDECE4; color: #8A3412; }
.gate-msg.is-tip { background: #FFF6B3; color: var(--navy); border: 1.5px solid var(--navy); }
.gate-msg b { overflow-wrap: anywhere; }
.gate-fix { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 8px; }
.gate-main .gate-note { margin: 0; font-size: 12px; line-height: 1.7; color: #8B97A8; }   /* 個資說明：小字淺灰，不搶表單的焦點 */
.gate-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 600px) {
  .gate-body { flex-direction: column; align-items: stretch; gap: 18px; }
  .gate-card { width: 112px; align-self: center; }
}
@media (prefers-reduced-motion: reduce) { .gate-back { animation: none; } }

/* 測驗結果 */
.res { display: flex; flex-wrap: wrap; gap: 36px 52px; align-items: flex-start; }
.res-card-col { flex: 0 1 360px; min-width: 0; width: 100%; max-width: 380px; margin: 0 auto; }
.res-card { position: relative; background: #FFFFFF; border-radius: var(--r-card); padding: 14px 14px 20px; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 30px 40px -26px rgba(4, 18, 40, .85); }
/* 卡牌：旋轉進場＋閃光＋傾斜 */
.holo-stage { position: relative; perspective: 1100px; touch-action: pan-y; }
.holo-card {
  --rx: 0deg; --ry: 0deg; --hx: 50%; --hy: 50%; --ho: 0;
  position: relative; transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .3s ease-out;
}
.holo-card.flip-in:not(.play) { visibility: hidden; }
/* 正反面不只靠 backface-visibility（iPhone Safari 會讓卡片裡的動畫圖層透出來），
   而是在卡片轉到側面（90°）的那一刻，用透明度切換正反面 */
.holo-card.flip-in.play { animation: card-in 1.3s ease-out both; }
.holo-card.flip-in.play .res-card { animation: face-in-front 1.3s linear both; }
.holo-card.flip-in.play .holo-back { animation: face-in-back 1.3s linear both; }
@keyframes card-in {
  0% { transform: translateY(60px) rotateY(-540deg) scale(.5); }
  18% { transform: translateY(40px) rotateY(-450deg) scale(.66); }
  36% { transform: translateY(16px) rotateY(-270deg) scale(.84); }
  56% { transform: translateY(-6px) rotateY(-90deg) scale(1); }
  72% { transform: translateY(-14px) rotateY(10deg) scale(1.05); }
  86% { transform: translateY(0) rotateY(-4deg) scale(.98); }
  100% { transform: none; }
}
@keyframes face-in-front { 0%, 17.9% { opacity: 0; } 18%, 35.9% { opacity: 1; } 36%, 55.9% { opacity: 0; } 56%, 100% { opacity: 1; } }
@keyframes face-in-back { 0%, 17.9% { opacity: 1; } 18%, 35.9% { opacity: 0; } 36%, 55.9% { opacity: 1; } 56%, 100% { opacity: 0; } }
/* 減少動態：不轉，淡入 */
.holo-card.fade-in { animation: card-fade .8s ease-out both; }
@keyframes card-fade { from { opacity: 0; } to { opacity: 1; } }
.holo-back {
  position: absolute; inset: 0; border-radius: var(--r-card); transform: rotateY(180deg); opacity: 0;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background: var(--brand) url(../img/tex-grain.png); background-size: 320px 320px;
  box-shadow: 0 30px 40px -26px rgba(4, 18, 40, .85);
}
.holo-back img { width: 62%; height: auto; filter: brightness(0) invert(1); }
.holo-glare {
  position: absolute; inset: 0; border-radius: var(--r-card); pointer-events: none; z-index: 3;
  background: radial-gradient(circle at var(--hx) var(--hy), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 45%);
  mix-blend-mode: soft-light; opacity: calc(var(--ho) * .7); transition: opacity .35s ease;
}
.holo-stage { cursor: pointer; border-radius: var(--r-card); }
.holo-stage:focus-visible { outline: 3px solid var(--star); outline-offset: 6px; }
/* 點一下翻面：data-side 是最後停在哪一面，.anim 時播翻轉動畫（在 40% 轉到側面時切換正反面） */
.holo-flip { position: relative; transform-style: preserve-3d; }
.holo-flip[data-side="back"] { transform: rotateY(180deg); }
.holo-flip[data-side="back"] .res-card { opacity: 0; }
.holo-flip[data-side="back"] .holo-back { opacity: 1; }
.holo-flip.anim[data-side="back"] { animation: flip-to-back .8s both; }
.holo-flip.anim[data-side="front"] { animation: flip-to-front .8s both; }
.holo-flip.anim[data-side="back"] .res-card, .holo-flip.anim[data-side="front"] .holo-back { animation: face-out .8s linear both; }
.holo-flip.anim[data-side="back"] .holo-back, .holo-flip.anim[data-side="front"] .res-card { animation: face-on .8s linear both; }
@keyframes flip-to-back { 0% { transform: none; animation-timing-function: ease-in; } 40% { transform: rotateY(90deg); animation-timing-function: ease-out; } 78% { transform: rotateY(196deg); } 100% { transform: rotateY(180deg); } }
@keyframes flip-to-front { 0% { transform: rotateY(180deg); animation-timing-function: ease-in; } 40% { transform: rotateY(90deg); animation-timing-function: ease-out; } 78% { transform: rotateY(-16deg); } 100% { transform: none; } }
@keyframes face-out { 0%, 39.9% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes face-on { 0%, 39.9% { opacity: 0; } 40%, 100% { opacity: 1; } }
.res-card-top { display: flex; justify-content: space-between; padding: 2px 4px 10px; font-size: 11px; font-weight: 900; letter-spacing: .12em; color: var(--brand); }
/* 卡面插畫：天空＋波光粼粼的海面（波光由 sea-glints.js 畫在 canvas 上，會閃爍） */
.res-sea { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.glint-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.holo-card.sweep .glint-cv { animation: glint-flash 1.8s ease-out; }
@keyframes glint-flash { 0% { filter: brightness(2.2); } 100% { filter: brightness(1); } }
.ripple {
  position: absolute; left: 50%; bottom: 4%; width: 52%; height: 8%; z-index: 1; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 70%);
  animation: ripple 3.6s ease-in-out infinite;
}
@keyframes ripple { 0%, 100% { transform: translateX(-50%) scale(.85); opacity: .7; } 50% { transform: translateX(-50%) scale(1.1); opacity: 1; } }
.back-in {
  position: absolute; inset: 14px; border-radius: var(--r-ctl); border: 2px solid rgba(255, 255, 255, .7);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; color: #FFFFFF;
}
.back-script { font-size: 64px; color: var(--star); }
.back-k { font-size: 12px; font-weight: 900; letter-spacing: .06em; color: var(--navy); background: var(--star); padding: 3px 10px; border-radius: var(--r-tag); margin-bottom: -4px; }
.back-tag { font-size: 20px; font-weight: 900; line-height: 1.6; }
.back-no { font-size: 11px; font-weight: 900; letter-spacing: .14em; opacity: .85; }
.back-hint { margin-top: 6px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: var(--r-ctl); background: rgba(255, 255, 255, .15); }
.holo-pop svg { position: absolute; opacity: 0; pointer-events: none; z-index: 4; }
.holo-pop .hp1 { left: -10px; top: 12%; } .holo-pop .hp2 { right: -12px; top: 30%; }
.holo-pop .hp3 { left: 4%; bottom: 14%; } .holo-pop .hp4 { right: 2%; bottom: 4%; }
.landed .holo-pop svg { animation: star-pop .9s cubic-bezier(.34, 1.56, .64, 1) both; }
.landed .holo-pop .hp2 { animation-delay: .08s; } .landed .holo-pop .hp3 { animation-delay: .16s; } .landed .holo-pop .hp4 { animation-delay: .24s; }
@keyframes star-pop { 0% { opacity: 0; transform: scale(.2) rotate(-40deg); } 60% { opacity: 1; transform: scale(1.25) rotate(10deg); } 100% { opacity: 0; transform: scale(.8) rotate(30deg) translateY(-18px); } }
.holo-hint {
  display: flex; align-items: center; justify-content: center; gap: 6px; width: fit-content;
  margin: 16px auto 0; padding: 6px 14px; border-radius: var(--r-ctl);
  border: 1px solid rgba(255, 255, 255, .5); font-size: 13px; font-weight: 700; color: #E4EEF9; text-align: center; max-width: 100%;
}
.res-pic { position: relative; overflow: hidden; border-radius: var(--r-ctl); aspect-ratio: 4 / 5; background: #E3E8EE; }
.res-char { position: absolute; left: 0; right: 0; bottom: 5%; height: 62%; z-index: 2; display: flex; justify-content: center; }
.res-char img { height: 100%; width: auto; display: block; }
.res-name { padding: 16px 4px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.res-name .fh { font-size: clamp(46px, 5vw, 58px); color: var(--brand); line-height: 1.15; }
.res-name .fs { font-size: 36px; color: var(--navy); }
.res-info { flex: 1 1 420px; min-width: 0; max-width: 620px; display: flex; flex-direction: column; gap: 18px; color: #FFFFFF; }
.res-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.res-label { font-size: 14px; }
.res-tagline { font-size: clamp(34px, 3.4vw, 40px); line-height: 1.4; }
.res-desc { margin: 0; font-size: 17px; line-height: 1.9; color: #E4EEF9; }
.res-facts { margin: 0; background: #FFFFFF; color: var(--ink); border-radius: var(--r-card); padding: 6px 22px; box-shadow: 0 20px 34px -24px rgba(4, 18, 40, .8); }
.res-fact { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 4px 16px; align-items: baseline; padding: 14px 0; }
.res-fact + .res-fact { border-top: 1.5px dashed var(--line); }
.res-fact dt { font-size: 14px; font-weight: 700; color: var(--brand); }
.res-fact dd { margin: 0; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.res-fact-main dd { font-size: 18px; font-weight: 900; line-height: 1.6; color: var(--ink); }
.res-fact-pal { align-items: center; }
.res-fact-pal dd { display: flex; align-items: center; gap: 12px; }
.res-fact-pal img { flex: none; width: 56px; height: 56px; object-fit: contain; background: var(--paper); border-radius: var(--r-ctl); }
.res-fact-pal dd > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.res-fact-pal b { font-size: 17px; font-weight: 900; color: var(--ink); }
@media (max-width: 520px) { .res-fact { grid-template-columns: minmax(0, 1fr); } }
.res-cta { background: var(--navy); color: #FFFFFF; border-radius: var(--r-card); padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 34px -24px rgba(4, 18, 40, .8); }
.res-cta-t { font-size: 18px; font-weight: 900; line-height: 1.6; }
.res-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.res-cta-btns .btn { flex: 1 1 200px; }
.res-cta .btn-y:hover { background: #FFFFFF; }
.res-mail {
  margin: 0; display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: var(--r-ctl);
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35); font-size: 14px; line-height: 1.7; color: #E4EEF9;
}
.res-mail svg { flex: none; margin-top: 2px; color: var(--star); }
.res-mail b { color: #FFFFFF; overflow-wrap: anywhere; }
.res-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.res-actions .btn { min-height: 46px; padding: 0 18px; font-size: 15px; }
.res-restart { color: #E4EEF9; margin-left: auto; }

/* =========================================================
   適合誰＆帶走什麼
   ========================================================= */
.who { position: relative; background-color: #F4F6F8; }
.who-in { max-width: 1120px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) 24px clamp(72px, 8vw, 112px); display: flex; flex-direction: column; gap: clamp(48px, 6vw, 80px); }
.who-intro { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.script-pair { display: flex; flex-direction: column; align-items: center; }
.script-sub { font-size: 15px; font-weight: 700; letter-spacing: .32em; color: var(--brand); margin-top: -4px; }
.who-script { font-size: clamp(76px, 10vw, 136px) !important; }
.who-intro p { margin: 8px 0 0; font-size: clamp(20px, 2.3vw, 28px); font-weight: 700; line-height: 1.8; }
.who-logo { width: clamp(200px, 22vw, 260px); height: auto; display: block; }
.who-fit { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.who-title { margin: 0; display: flex; flex-direction: column; align-items: center; font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; line-height: 1.3; }
.who-title span { color: #FFFFFF; padding: 4px 16px; border-radius: var(--r-tag); }
.who-title span:first-child { background: #1F5FB4; transform: translateX(-28px); }
.who-title span:last-child { background: #6FA7E0; transform: translateX(28px); margin-top: 4px; }

.eco {
  display: grid; width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px) minmax(0, 1fr);
  grid-template-areas: ". a ." "b ring c";
  gap: 24px 28px; align-items: center;
}
.eco-ring { grid-area: ring; position: relative; width: 100%; }
.eco-box { position: relative; }
.eco-svg { display: block; width: 100%; height: auto; overflow: visible; }
.eco-center { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); pointer-events: none; }
.eco-center .sel { font-size: clamp(16px, 1.9vw, 22px); font-weight: 900; color: var(--brand); white-space: nowrap; }
.eco-btn {
  position: absolute; transform: translate(-50%, -50%);
  min-height: 40px; padding: 4px 16px; border-radius: var(--r-ctl); border: 2px solid var(--brand);
  background: rgba(255, 255, 255, .9); color: var(--brand);
  font-size: clamp(15px, 1.5vw, 18px); font-weight: 900; white-space: nowrap; cursor: pointer;
  box-shadow: 0 3px 0 rgba(0, 72, 168, .35);
  transition: transform .15s ease, background-color .2s ease, color .2s ease, box-shadow .15s ease;
}
.eco-btn:hover { background: #FFFFFF; transform: translate(-50%, -50%) translateY(-2px); box-shadow: 0 5px 0 rgba(0, 72, 168, .35); }
.eco-btn:active { transform: translate(-50%, -50%) translateY(2px); box-shadow: 0 1px 0 rgba(0, 72, 168, .35); }
.eco-btn[aria-pressed="true"] { background: var(--star); color: var(--navy); border-color: var(--navy); box-shadow: 0 3px 0 var(--navy); }
.eco-idle .eco-btn { animation: ping 2.8s ease-out infinite; }
.eco-idle .eco-btn:nth-of-type(2) { animation-delay: .9s; }
.eco-idle .eco-btn:nth-of-type(3) { animation-delay: 1.8s; }
.rf { transition: fill-opacity .35s ease; }
.rs { transition: stroke-width .3s ease; }
.eco-s0 .rf0, .eco-s1 .rf1, .eco-s2 .rf2 { fill-opacity: .26; }
.eco-s0 .rs0, .eco-s1 .rs1, .eco-s2 .rs2 { stroke-width: 11; }
.flow { animation: flow 16s linear infinite; }
.flow1 { animation-duration: 20s; animation-direction: reverse; }
.flow2 { animation-duration: 24s; }
.eco-hint { margin: 10px 0 0; text-align: center; font-size: 14px; font-weight: 700; color: var(--muted); }
.eco-a { grid-area: a; display: flex; justify-content: center; }
.eco-b { grid-area: b; display: flex; justify-content: flex-end; }
.eco-c { grid-area: c; display: flex; justify-content: flex-start; }
.persona-land { width: 100%; max-width: 420px; position: relative; z-index: 2; }
.persona {
  background-color: #FFFFFF; border-radius: var(--r-card); padding: 24px 24px 22px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: 0 20px 34px -26px rgba(8, 26, 52, .6);
}
.persona .sel { font-size: 25px; font-weight: 900; color: #0D2A55; }
.persona p { margin: 0; border-left: 2px solid var(--navy); padding-left: 14px; font-size: 16px; line-height: 1.85; }
.persona-who { font-size: 14px; line-height: 1.7; color: var(--muted); border-top: 1.5px dashed var(--line); padding-top: 10px; }
.persona.eco-on { box-shadow: 0 0 0 4px var(--star), 0 30px 44px -22px rgba(8, 26, 52, .6); transform: translateY(-8px); animation: ecopop .55s cubic-bezier(.34, 1.56, .64, 1); }
.persona.eco-on .sel { background: var(--star); }
@media (max-width: 1100px) { .eco { grid-template-columns: minmax(0, 1fr) minmax(0, 320px) minmax(0, 1fr); } }
@media (max-width: 860px) {
  .eco { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ring" "a" "b" "c"; }
  .eco-ring { width: min(86vw, 360px); justify-self: center; }
  .eco-b, .eco-c { justify-content: center; }
}

.takes-wrap { display: flex; flex-direction: column; gap: 22px; }
.takes-title { margin: 0; font-size: clamp(24px, 2.8vw, 32px); font-weight: 900; }
.takes { display: flex; flex-wrap: wrap; gap: 0 24px; }
.take {
  flex: 1 1 190px; min-width: 0; display: flex; flex-direction: column; gap: 8px;
  padding: 18px 14px 20px; border-top: 3px solid var(--navy); border-radius: 0 0 var(--r-ctl) var(--r-ctl);
  transition: background-color .3s ease;
}
.take .fh { font-size: 44px; color: var(--brand); line-height: 1; }
.take-t { font-size: 19px; font-weight: 900; }
.take p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--muted); }
.take.mine { background: #FFFFFF; }
.take .tag[hidden] { display: none; }

/* =========================================================
   造浪者舞台
   ========================================================= */
.stage { position: relative; overflow: hidden; background: var(--night); color: #FFFFFF; padding: 56px 24px 104px; }
/* 聚光燈：兩盞固定的追蹤燈從左上、右上打在「造浪者舞台」標準字上；
   捲到這一段時燈「啪」地亮起（閃兩下），之後只有很輕微的呼吸明暗，不會左右掃動 */
.stage-lights { position: absolute; left: 0; top: 0; width: 100%; height: 0; pointer-events: none; z-index: 0; }
.beam { position: absolute; top: -48px; width: 560px; height: 620px; margin-left: -280px; transform-origin: 50% 0; opacity: 0; }
.b1 { left: -60px; transform: rotate(-38deg); }
.b2 { left: 460px; transform: rotate(40deg); }
.cone-blur { position: absolute; inset: 0; filter: blur(9px); }
.cone {
  position: absolute; inset: 0;
  -webkit-clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%); clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%);
  background: linear-gradient(90deg, rgba(255, 236, 150, 0) 10%, rgba(255, 246, 200, .42) 50%, rgba(255, 236, 150, 0) 90%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .75) 45%, rgba(0, 0, 0, 0) 92%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .75) 45%, rgba(0, 0, 0, 0) 92%);
}
.dust { position: absolute; inset: 0; -webkit-clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%); clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%); }
.dust i { position: absolute; border-radius: 50%; background: #FFF9D6; box-shadow: 0 0 6px 2px rgba(255, 236, 120, .7); opacity: 0; animation: dust 9s ease-in-out infinite; }
@keyframes dust { 0% { opacity: 0; transform: translateY(16px); } 35% { opacity: .9; } 65% { opacity: .5; } 100% { opacity: 0; transform: translateY(-34px); } }
.lamp { position: absolute; top: -56px; width: 54px; height: 34px; margin-left: -27px; border-radius: 10px 10px 20px 20px; background: linear-gradient(180deg, #2A3B57, #16233A); box-shadow: 0 2px 0 rgba(0, 0, 0, .4); opacity: .9; }
.lamp::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 46px; height: 20px; margin-left: -23px; border-radius: 50%; background: radial-gradient(ellipse, #FFFDF0 0 25%, rgba(255, 240, 160, .75) 50%, rgba(255, 232, 30, 0) 75%); opacity: 0; }
.l1 { left: -60px; transform: rotate(-38deg); transform-origin: 50% 100%; }
.l2 { left: 460px; transform: rotate(40deg); transform-origin: 50% 100%; }
.pool { position: absolute; left: 190px; top: 150px; width: 620px; height: 260px; margin-left: -310px; border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 236, 140, .2), rgba(255, 232, 30, 0) 68%); opacity: 0; }
.stage.lit .beam { animation: power-on 1.5s linear forwards, breathe 8s ease-in-out 1.5s infinite; }
.stage.lit .b2 { animation-delay: .25s, 1.75s; }
.stage.lit .lamp::after, .stage.lit .pool { animation: power-on 1.5s linear forwards, breathe 8s ease-in-out 1.5s infinite; }
@keyframes power-on { 0% { opacity: 0; } 10% { opacity: .75; } 16% { opacity: .1; } 28% { opacity: .9; } 34% { opacity: .35; } 60%, 100% { opacity: 1; } }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .82; } }
/* 標準字：金色光澤掃過、旁邊有小星光閃爍 */
.stage-logo { position: relative; width: clamp(250px, 30vw, 360px); align-self: flex-start; margin: 0 0 4px -6px; }
.stage-logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 18px rgba(255, 220, 120, .35)); }
.sheen {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  -webkit-mask: url(../img/logo-stage.webp) center / 100% 100% no-repeat; mask: url(../img/logo-stage.webp) center / 100% 100% no-repeat;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .9) 50%, rgba(255, 255, 255, 0) 60%) no-repeat;
  background-size: 300% 100%; background-position: 150% 0; animation: sheen 6s ease-in-out 1.6s infinite;
}
@keyframes sheen { 0%, 50% { background-position: 150% 0; } 80%, 100% { background-position: -50% 0; } }
.twinkle { position: absolute; display: block; line-height: 0; filter: drop-shadow(0 0 6px rgba(255, 240, 150, .9)); animation: twinkle 2.8s ease-in-out infinite; }
.tk1 { left: 6%; top: 10%; } .tk2 { right: 4%; top: 46%; animation-delay: .9s; } .tk3 { left: 52%; top: -4%; animation-delay: 1.7s; }
@media (max-width: 760px) {
  /* 手機：標準字置中，兩盞燈左右對稱，都在畫面內 */
  .stage-head { align-items: center; text-align: center; }
  .stage-logo { align-self: center; margin: 0 auto 4px; width: min(78vw, 320px); }
  .beam { width: 400px; height: 500px; margin-left: -200px; }
  .b1, .l1 { left: 7%; } .b1 { transform: rotate(-26deg); } .l1 { transform: rotate(-26deg); }
  .b2, .l2 { left: 93%; } .b2 { transform: rotate(26deg); } .l2 { transform: rotate(26deg); }
  .pool { left: 50%; width: 420px; margin-left: -210px; top: 130px; }
}
.stage-in { position: relative; max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: stretch; }
.stage-main { position: relative; z-index: 1; flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.stage-head { display: flex; flex-direction: column; gap: 8px; }
.stage-head h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); font-weight: 900; line-height: 1.3; }
.stage-lead { margin: 0; font-size: clamp(17px, 1.8vw, 19px); line-height: 1.9; color: #DCE4F2; max-width: 30em; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fact-n { font-size: 12px; color: #A9B7CC; line-height: 1.5; }
.fact { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-ctl); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.fact-k { font-size: 13px; color: #C3CEDF; font-weight: 700; }
.fact-v { font-size: 17px; font-weight: 900; color: var(--star); white-space: nowrap; }
@media (max-width: 520px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 12px; }
  .fact-n { grid-column: 1 / -1; }
}
.stage-topics { display: flex; flex-direction: column; gap: 12px; }
.stage-topics-k { font-size: 15px; font-weight: 700; color: #C3CEDF; }
/* 兩個題目一樣大、一樣的樣式，中間用「或」，看不出先後 */
.stage-topics-list { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 10px; }
.topic {
  display: flex; align-items: center; background: rgba(255, 255, 255, .08); color: #FFFFFF;
  border: 1.5px solid rgba(255, 232, 30, .7); border-radius: var(--r-ctl); padding: 14px 18px; font-size: 18px; font-weight: 900; line-height: 1.5;
}
.topic-or {
  align-self: center; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--star); color: var(--navy); font-size: 15px; font-weight: 900;
}
@media (max-width: 520px) {
  .stage-topics-list { grid-template-columns: minmax(0, 1fr); }
  .topic-or { justify-self: center; margin: -4px 0; }
}
.stage-tip { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, .06); border-radius: var(--r-ctl); padding: 14px 16px; font-size: 15px; line-height: 1.8; color: #DCE4F2; }
.stage-tip[hidden] { display: none; }
.stage-tip svg { flex: none; margin-top: 4px; }
.stage-steps {
  position: relative; z-index: 1; flex: 1 1 320px; min-width: 0; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-card); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 6px;
}
.stage-steps h3 { margin: 0 0 14px; font-size: clamp(21px, 2.4vw, 30px); font-weight: 900; }
.stage-steps .btn { align-self: flex-start; min-height: 50px; margin-top: auto; }
.steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; flex: 1 1 auto; }
.steps li { flex: 1 1 auto; }
.steps li:last-child { flex: 0 0 auto; }
.steps li { display: flex; gap: clamp(14px, 1.4vw, 18px); }
.step-rail { flex: none; display: flex; flex-direction: column; align-items: center; }
.step-n { width: clamp(32px, 3.6vw, 48px); height: clamp(32px, 3.6vw, 48px); border-radius: 50%; background: var(--star); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: clamp(15px, 1.7vw, 21px); }
.step-line { flex: 1 1 auto; width: 2px; min-height: 12px; margin: 4px 0; background: rgba(255, 232, 30, .45); }
.step-body { display: flex; flex-direction: column; gap: 4px; padding: 4px 0 18px; }
/* 電腦版和左欄等高：字放大，步驟之間不會空太多 */
.step-t { font-size: clamp(17px, 2.1vw, 26px); font-weight: 900; line-height: 1.45; }
.step-d { font-size: clamp(14px, 1.5vw, 18px); line-height: 1.75; color: #C3CEDF; }
.stage-deadline { font-size: clamp(13px, 1.2vw, 15px); line-height: 1.7; color: #C3CEDF; margin-top: 8px; }

/* =========================================================
   議程
   ========================================================= */
.agenda { background-color: #DCE8F4; padding: 48px 20px 96px; }
.agenda-in { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
.agenda-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.agenda-head-t { display: flex; flex-direction: column; }
.agenda-script { font-size: clamp(66px, 9vw, 112px); align-self: flex-start; }
.agenda-head h2 { margin: -4px 0 0; font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; }
.agenda-where { font-size: 15px; line-height: 1.8; color: var(--ink-3); }
.agenda-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
/* 地點連到 Google 地圖 */
.map-link { display: inline-flex; align-items: center; gap: 3px; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; white-space: nowrap; }
.map-link svg { flex: none; color: var(--brand); }
.map-link:hover { color: var(--brand); }
[data-if-type][hidden], [data-if-notype][hidden] { display: none !important; }

.route-card {
  background-color: #FFFFFF; border-radius: var(--r-card); padding: 26px clamp(18px, 3vw, 36px) 28px;
  box-shadow: 0 22px 36px -28px rgba(8, 26, 52, .6); border-top: 8px solid var(--star);
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: 24px 48px; align-items: start;
}
.route-side { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 901px) { .route-side { position: sticky; top: calc(var(--hd-h) + 24px); } }
.route-top { display: flex; align-items: center; gap: 12px 16px; }
.route-top img { height: 84px; width: auto; display: block; }
.route-name { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.route-k { font-size: 14px; font-weight: 700; color: var(--brand); }
.route-t { font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; }
.route-intro { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.9; color: var(--ink); }
.route-ask { background: var(--paper); border-radius: var(--r-ctl); padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.route-ask-k { font-size: 14px; font-weight: 900; color: var(--brand); }
.route-ask ul + .route-ask-k { margin-top: 6px; padding-top: 12px; border-top: 1.5px dashed var(--line); }
.route-ask ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.route-ask li { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 10px; font-size: 14px; line-height: 1.7; }
.route-ask li b { font-weight: 900; color: var(--navy); }
.route-ask li span { color: var(--ink-2); }
.route-legend { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.legend-dot { flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--star); border: 2px solid var(--navy); }
.route-cta { padding-top: 16px; border-top: 1.5px dashed var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.route-cta p { margin: 0; font-size: 17px; font-weight: 900; line-height: 1.6; }
.route-btns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-self: stretch; }
.route-btns .btn { padding: 8px 12px; font-size: 15px; gap: 6px; text-align: center; line-height: 1.35; }
.route-btns .btn svg { flex: none; }
/* 路線：時間｜圓點｜場次；推薦理由獨立成一個黃色框 */
.route { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.stop { display: grid; grid-template-columns: 52px 38px minmax(0, 1fr); gap: 0 12px; }
.stop-time { padding-top: 8px; font-size: 15px; font-weight: 900; color: var(--brand); font-variant-numeric: tabular-nums; }
.stop-rail { display: flex; flex-direction: column; align-items: center; }
.stop-dot {
  flex: none; width: 32px; height: 32px; margin-top: 2px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px;
  background: #FFFFFF; color: var(--brand); border: 2px solid var(--brand);
}
.stop.is-rec .stop-dot { width: 38px; height: 38px; margin-top: 0; background: var(--star); color: var(--navy); border: 3px solid var(--navy); font-size: 16px; }
.stop-line { flex: 1 1 auto; width: 0; min-height: 12px; border-left: 2px dashed var(--brand); margin: 4px 0; }
.stop:last-child .stop-line { border-left-color: transparent; }
.stop-main { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 6px 0 18px; min-width: 0; }
.stop-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 17px; font-weight: 900; line-height: 1.45; }
.stop-title .tag { font-size: 12px; padding: 2px 8px; }
.stop-role { font-size: 13px; font-weight: 700; color: var(--brand); line-height: 1.5; }
.stop-meta { font-size: 13px; color: var(--muted); line-height: 1.6; }
.stop-why {
  margin-top: 4px; padding: 8px 12px; border-radius: var(--r-ctl); background: #FFF6B3; border: 1.5px solid var(--navy);
  font-size: 14px; font-weight: 700; line-height: 1.6; color: var(--navy);
}
.stop-why b { display: block; font-size: 12px; color: var(--brand); letter-spacing: .04em; }
@media (max-width: 900px) {
  .route-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .stop { grid-template-columns: 38px minmax(0, 1fr); }
  .stop-time { grid-column: 2; grid-row: 1; padding-top: 0; }
  .stop-rail { grid-column: 1; grid-row: 1 / span 2; }
  .stop-main { grid-column: 2; padding-top: 0; }
}

.agenda-nudge { background: #FFFFFF; border-radius: var(--r-card); padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.agenda-nudge img { height: 60px; width: auto; }
.agenda-nudge-t { flex: 1 1 240px; min-width: 0; font-size: 16px; line-height: 1.7; }
.agenda-nudge .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }

.block-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 8px; }
.block-title { font-size: 22px; font-weight: 900; }
.block-note { margin-left: auto; font-size: 15px; font-weight: 700; color: var(--brand); }
.am { display: flex; flex-direction: column; gap: 8px; }
.am-list { display: flex; flex-direction: column; gap: 8px; }
.am-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  padding: 10px 18px; border-radius: var(--r-ctl); background: rgba(255, 255, 255, .5);
  border: 3px solid transparent;
}
.am-time { flex: 0 0 112px; font-size: 15px; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--brand); }
.am-photo { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid #FFFFFF; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.am-main { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.am-title { font-size: 16px; font-weight: 700; }
.am-sub { font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.am-row.talk, .am-row.stage-row { padding: 14px 18px; }
.am-row.talk { background: #FFFFFF; }
.am-row.talk .am-title, .am-row.stage-row .am-title { font-size: 20px; font-weight: 900; line-height: 1.4; }
.am-role { display: inline-block; margin-left: 10px; font-size: 13px; font-weight: 700; color: var(--brand); vertical-align: 2px; }
.am-row.is-rec .am-role { color: var(--navy); }
@media (max-width: 640px) { .am-role { display: block; margin: 2px 0 0; } }
.am-row.stage-row { background: var(--navy); color: #FFFFFF; border-left: 8px solid var(--star); }
.am-row.stage-row .am-time { color: var(--star); }
.am-row.stage-row .am-sub { color: #DCE4F2; }
.am-row.stage-row a { color: var(--star); font-size: 14px; font-weight: 700; padding: 6px 0; }
/* 推薦標記：黃底＋深藍粗框＋標籤（沒推薦的不變淡） */
.am-row.is-rec { background: var(--star); border-color: var(--navy); box-shadow: 0 10px 22px -14px rgba(18, 35, 56, .7); }
.am-row.is-rec .am-time, .am-row.is-rec .am-sub { color: var(--navy); }
.am-row .tag-rec[hidden] { display: none; }
@media (max-width: 600px) { .am-time { flex: 1 1 100%; } }

.runtable { position: relative; border-radius: var(--r-card); padding: clamp(22px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; box-shadow: 0 22px 36px -28px rgba(8, 26, 52, .6); }
.runtable-text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.runtable-text h3 { margin: 0; font-size: clamp(22px, 2.8vw, 30px); font-weight: 900; line-height: 1.4; }
.runtable-text p { margin: 0; font-size: 16px; line-height: 1.95; }
.runtable-q { margin-top: 8px; font-size: 16px; font-weight: 900; }
.runtable-text .runtable-a { line-height: 2; }
.runtable-photos { flex: 1 1 340px; min-width: 0; position: relative; aspect-ratio: 10 / 7; }
.runtable-p1 { position: absolute; left: 0; top: 0; width: 68%; }
.runtable-p2 { position: absolute; right: 0; bottom: 0; width: 60%; }
.runtable-photos img { aspect-ratio: 435 / 310; object-fit: cover; }

.pm { display: flex; flex-direction: column; gap: 10px; }
.pm-lead { margin: 0 0 6px; font-size: 16px; line-height: 1.8; color: var(--ink-3); }
.grid { display: flex; flex-direction: column; gap: 8px; }
.g-head, .g-row { display: grid; grid-template-columns: 112px repeat(3, minmax(0, 1fr)); gap: 8px; }
.g-row { align-items: stretch; }
.g-span { grid-column: span 3; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.g-span-k { font-size: 14px; font-weight: 900; color: var(--brand); }
.g-bracket { width: 100%; height: 10px; border: 2px solid var(--brand); border-bottom: none; border-radius: 8px 8px 0 0; }
.g-space { background: var(--navy); color: #FFFFFF; text-align: center; padding: 10px; font-size: 16px; font-weight: 900; border-radius: var(--r-ctl); }
.g-time { display: flex; flex-direction: column; justify-content: flex-start; gap: 2px; padding-top: 14px; border-radius: var(--r-ctl); font-size: 15px; font-weight: 900; color: var(--brand); font-variant-numeric: tabular-nums; }
.g-time.soft { justify-content: center; padding-top: 0; font-size: 13px; color: var(--muted-2); }
.g-note { display: none; }
.g-cell {
  min-width: 0; padding: 14px; border-radius: var(--r-ctl); background: #FFFFFF;
  border: 3px solid transparent; box-shadow: 0 6px 14px -12px rgba(18, 35, 56, .4);
  display: flex; flex-direction: column; gap: 8px;
}
.g-cell-top { display: flex; gap: 12px; align-items: flex-start; }
.g-cell-top img { flex: none; width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid #FFFFFF; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.g-cell-id { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.g-cell-sp { display: none; font-size: 12px; padding: 2px 8px; }
.g-cell-n { font-size: 17px; font-weight: 900; line-height: 1.3; }
.g-cell-r { font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.5; margin-top: 1px; }
.g-cell.is-rec .g-cell-r { color: var(--navy); }
.g-cell-c { font-size: 12px; font-weight: 700; color: var(--brand); }
.g-cell-t { font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.g-cell.is-rec { background: var(--star); border-color: var(--navy); box-shadow: 0 12px 24px -14px rgba(18, 35, 56, .8); }
.g-cell.is-rec .g-cell-top img { border-color: var(--navy); }
.g-cell.is-rec .g-cell-c { color: var(--navy); }
.g-cell .tag-rec[hidden] { display: none; }
.g-text {
  min-width: 0; padding: 8px 14px; border-radius: var(--r-ctl); display: flex; flex-direction: column; justify-content: center; gap: 2px;
  background: rgba(255, 255, 255, .45); border: 1.5px dashed #9FB4CB;
}
.g-text.strong { padding: 14px; background: #FFFFFF; border-color: transparent; }
.g-text-t { font-size: 15px; font-weight: 900; }
.g-text-s { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .g-head { display: none; }
  .g-row { display: flex; flex-direction: column; gap: 6px; }
  .g-time { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 14px; background: var(--navy); color: #FFFFFF; font-size: 16px; }
  .g-note { display: inline; font-size: 13px; font-weight: 700; color: var(--star); }
  .g-time.soft { background: transparent; color: var(--muted-2); padding: 2px 0; font-size: 13px; }
  .g-row.g-break { flex-direction: row; align-items: center; gap: 10px; }
  .g-row.g-break .g-text { flex: 1 1 auto; }
  .g-cell-sp { display: inline-flex; }
}
.agenda-note { font-size: 14px; line-height: 1.8; color: var(--muted); }

/* 場地：RED SPACE 空間概念圖（等角 3D 圖＋HTML 標籤） */
.venue { display: flex; flex-direction: column; gap: 10px; }
.venue .block-note { font-size: 14px; }
.venue-card { background: #FFFFFF; border-radius: var(--r-card); padding: clamp(14px, 2.4vw, 28px); box-shadow: 0 24px 40px -30px rgba(5, 20, 45, .7); display: flex; flex-direction: column; gap: 18px; }
.venue-map { position: relative; border-radius: var(--r-ctl); background: linear-gradient(180deg, #EEF3F8, #DCE8F4); overflow: hidden; }
.venue-map img { display: block; width: 100%; height: auto; }
.vm-pin { position: absolute; z-index: 1; transform: translate(-50%, calc(-100% - 12px)); display: flex; flex-direction: column; align-items: center; gap: 3px; white-space: nowrap; pointer-events: none; }
.vm-pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 12px; margin-left: -1px; background: var(--navy); }
.vm-pin::before { content: ""; position: absolute; left: 50%; top: calc(100% + 9px); width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 2px #FFFFFF; }
.vm-room b { display: block; background: var(--navy); color: #FFFFFF; font-size: clamp(13px, 1.5vw, 17px); font-weight: 900; letter-spacing: .04em; padding: 4px 12px; border-radius: var(--r-tag); box-shadow: 0 6px 12px -6px rgba(5, 20, 45, .6); }
.vm-room i { font-style: normal; font-size: 12px; font-weight: 900; color: var(--navy); background: var(--star); border: 2px solid var(--navy); border-radius: var(--r-tag); padding: 1px 8px; }
.vm-room i[hidden] { display: none; }
.vm-room.is-mine b { background: var(--star); color: var(--navy); box-shadow: 0 0 0 2px var(--navy), 0 6px 12px -6px rgba(5, 20, 45, .6); }
.vm-poi { font-size: 12px; font-weight: 700; color: var(--navy); background: #FFFFFF; border: 1.5px solid var(--navy); border-radius: var(--r-tag); padding: 2px 8px; flex-direction: row; transform: translate(-50%, calc(-100% - 10px)); }
.vm-poi::after { height: 10px; }
.vm-poi::before { top: calc(100% + 7px); }
.vm-stage { background: var(--star); }
.vm-poi { gap: 0; }
/* 入口標籤放在電扶梯下方，不擋走廊 */
.vm-below { transform: translate(-50%, 12px); }
.vm-below::after { top: auto; bottom: 100%; height: 12px; }
.vm-below::before { top: auto; bottom: calc(100% + 9px); }
.venue-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vm-b1 { position: absolute; left: 12px; top: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.vm-b1 b { background: var(--navy); color: #FFFFFF; font-size: 14px; font-weight: 900; padding: 2px 8px; border-radius: var(--r-tag); letter-spacing: .04em; }
.vm-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.vm-legend li { display: inline-flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.sw-door { background: var(--star); box-shadow: inset 0 0 0 1.5px var(--navy); }
.sw-path { width: 22px; height: 0; border-radius: 0; border-top: 3px dashed var(--sea); }
.sw-men { background: #7FB0EA; }
.sw-women { background: #F2A2C0; }
/* 靠得很近的標籤：F 往左、H 和舞台往右，不疊在一起 */
.vm-l { transform: translate(-88%, calc(-100% - 12px)); }
.vm-r { transform: translate(-12%, calc(-100% - 12px)); }
.vm-poi.vm-r { transform: translate(-12%, calc(-100% - 10px)); }
.vm-l::after, .vm-l::before { left: 88%; }
.vm-r::after, .vm-r::before { left: 12%; }
.venue-side { display: flex; flex-direction: column; gap: 12px; }
.venue-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
.venue-list > li { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 10px; border-radius: var(--r-ctl); background: var(--paper); }
.vl-name { font-size: 16px; font-weight: 900; color: var(--navy); padding: 0 4px; }
/* 每個空間的時刻表：時間＋頭像＋講者，推薦的那一列黃底深藍框 */
.vl-slots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.vs { position: relative; display: grid; grid-template-columns: 44px 32px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 8px 6px 6px; border-radius: 10px; background: #FFFFFF; box-shadow: inset 0 0 0 2px transparent; }
.vs time { font-size: 13px; font-weight: 900; color: var(--brand); font-variant-numeric: tabular-nums; }
.vs-av { position: relative; width: 30px; height: 30px; flex: none; }
.vs-av img { position: absolute; top: 0; left: 0; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #FFFFFF; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); object-fit: cover; }
.vs-av.two img { width: 24px; height: 24px; }
.vs-av.two img + img { top: 7px; left: 8px; }
.vs-ic { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); }
.vs-ic svg { width: 15px; height: 15px; }
.vs-ic svg use { fill: var(--star); }
.vs-ic.free { background: #D3DCE6; }
.vs-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.vs-t b { font-size: 14px; font-weight: 900; color: var(--navy); }
.vs-t small { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.vs.is-free { background: transparent; }
.vs.is-free .vs-t b { font-weight: 700; color: var(--muted); }
.vs.is-free .vs-t small { color: var(--muted-2); }
.vs .tag-rec { font-size: 11px; padding: 2px 7px; font-style: normal; }
.vs .tag-rec svg { width: 11px; height: 11px; }
.vs.is-rec { background: var(--star); box-shadow: inset 0 0 0 2px var(--navy); }
@media (min-width: 1024px) and (max-width: 1199px) {
  /* 三欄並排、欄位較窄：推薦標籤只留星星（整列已經是黃底） */
  .vs .tag-rec span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .vs .tag-rec { padding: 3px 5px; }
}
.vs.is-rec .vs-t small { color: var(--navy); }
.vs.is-rec time { color: var(--navy); }
.venue-note { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted-2); }
@media (min-width: 1024px) {
  /* 桌機：圖在上、三個空間的時刻表並排在下面（左右不會留一大塊空白） */
  .venue-card { gap: 22px; }
  .venue-main { width: 100%; max-width: 900px; margin: 0 auto; }
  .venue-list { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
}
@media (max-width: 1023px) {
  /* 平板、手機：三個空間的時刻表上下排 */
  .venue-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  /* 手機：圖上只標字母，說明看下方清單 */
  .vm-long { display: none; }
  .vm-room b { padding: 2px 7px; font-size: 12px; }
  .vm-room i { display: none; }
  .vm-pin { transform: translate(-50%, calc(-100% - 7px)); }
  .vm-pin::after { height: 7px; }
  .vm-pin::before { top: calc(100% + 4px); width: 6px; height: 6px; margin-left: -3px; }
  .vm-poi { font-size: 10px; padding: 1px 5px; border-width: 1px; }
  .vm-wc { display: none; }
  .vm-below { transform: translate(-50%, 7px); }
  .vm-below::after { height: 7px; }
  .vm-below::before { top: auto; bottom: calc(100% + 4px); }
  .vm-below::after { top: auto; }
  .vm-b1 { left: 8px; top: 8px; font-size: 10px; gap: 5px; }
  .vm-b1 b { font-size: 11px; padding: 1px 6px; }
  .vm-legend { font-size: 12px; gap: 4px 12px; }
  .vm-l { transform: translate(-85%, calc(-100% - 7px)); }
  .vm-r, .vm-poi.vm-r { transform: translate(-15%, calc(-100% - 7px)); }
  .vm-l::after, .vm-l::before { left: 85%; }
  .vm-r::after, .vm-r::before { left: 15%; }
}

/* =========================================================
   講者
   ========================================================= */
.speakers { padding: 40px 20px 96px; }
.speakers-in { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.speakers-head { display: flex; flex-direction: column; gap: 8px; max-width: 760px; color: #FFFFFF; }
.speakers-script { font-size: clamp(60px, 8vw, 100px); align-self: flex-start; }
.speakers-head h2 { margin: -4px 0 0; font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; line-height: 1.35; }
.speakers-head p { margin: 0; font-size: 17px; line-height: 1.9; color: #F0F6FC; }
.speakers-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 15px; font-weight: 700; }
.speakers-legend[hidden] { display: none; }
.speakers-legend .tag { border: 2px solid var(--navy); }
.sp-label { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sp-label .tag:last-child { margin-left: 20px; }
.sp-label + .sp-list { margin-top: -6px; }
.sp-list { display: flex; flex-wrap: wrap; gap: 30px 24px; }
.sp-list + .sp-label { margin-top: 16px; }
.sp-wrap { flex: 0 1 calc(50% - 12px); min-width: 0; display: flex; }
@media (max-width: 620px) { .sp-wrap { flex: 1 1 100%; } }
.sp {
  position: relative; width: 100%; border-radius: var(--r-card); padding: 24px 20px 18px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 20px 36px -26px rgba(4, 20, 48, .75);
}
.sp.is-rec { box-shadow: 0 0 0 4px var(--navy), 0 0 0 9px var(--star), 0 26px 40px -24px rgba(4, 20, 48, .85); }
.sp-rec { position: absolute; top: -15px; left: 18px; z-index: 3; }
.sp-rec[hidden] { display: none; }
.sp-rec .tag-rec { font-size: 14px; }
.sp-top { display: flex; gap: 16px; align-items: flex-start; }
.sp-photo { flex: 0 0 clamp(104px, 34%, 160px); position: relative; }
.sp-photo img { aspect-ratio: 3 / 4; object-fit: cover; object-position: center 22%; }
.sp-photo .clip { right: 8px; top: -20px; transform: rotate(10deg); }
.sp-id { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.sp-cat { font-size: 13px; font-weight: 900; color: var(--brand); }
.sp h3 { margin: 0; font-size: clamp(20px, 2.1vw, 25px); font-weight: 900; line-height: 1.3; }
.sp-role { background: #3A6EA5; color: #FFFFFF; font-size: 13px; font-weight: 700; padding: 3px 9px; line-height: 1.5; border-radius: var(--r-tag); }
.sp-topic { font-size: clamp(15px, 1.5vw, 17px); font-weight: 900; line-height: 1.65; margin-top: 2px; }
.sp-topic span { background: linear-gradient(180deg, rgba(200, 225, 248, 0) 55%, var(--sky) 55%); }
.sp .hash { font-size: 13px; }
.sp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; border-top: 1.5px dashed var(--line); padding-top: 12px; }
.sp-more { color: var(--brand); font-weight: 900; }
.soc {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: var(--r-ctl);
  background: var(--navy); color: #FFFFFF; font-size: 13px; font-weight: 700; text-decoration: none;
  transition: transform .15s ease, background-color .2s ease;
}
.soc:hover { background: var(--brand); transform: translateY(-2px); }
.soc:active { transform: translateY(1px); }
.sp-bio { display: flex; flex-direction: column; gap: 10px; border-top: 1.5px dashed #9AA6B2; padding-top: 14px; }
.sp-bio[hidden] { display: none; }
.sp-bio p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--ink-3); }
.sp-ask { background: #FFFFFF; border-left: 3px solid var(--brand); padding: 10px 14px; font-size: 15px; line-height: 1.75; border-radius: 0 var(--r-tag) var(--r-tag) 0; }

/* =========================================================
   去年回顧
   ========================================================= */
.recap { color: #FFFFFF; padding: 40px 20px 72px; }
.recap-in { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.recap-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.recap-script-wrap { display: flex; flex-direction: column; align-items: center; }
.recap-year { align-self: flex-end; font-size: 18px; font-weight: 500; margin-bottom: -4px; }
.recap-script { font-size: clamp(64px, 10vw, 128px); }
.recap-head h2 { margin: -6px 0 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.5; }
.recap-sel { font-size: clamp(28px, 3.4vw, 40px); font-weight: 500; color: var(--navy); margin-top: 6px; }
.recap-head p { margin: 10px 0 0; font-size: 17px; line-height: 1.9; color: #DCE4F2; max-width: 34em; }
.recap-photos { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.recap-main { flex: 1 1 560px; min-width: 0; }
.recap-fig { position: relative; margin: 0; background: #FFFFFF; border-radius: var(--r-card); padding: 12px 12px 14px; box-shadow: 0 30px 40px -26px rgba(0, 0, 0, .7); }
.recap-fig img { display: block; width: 100%; height: auto; aspect-ratio: 650 / 470; object-fit: cover; border-radius: var(--r-ctl); }
.recap-fig figcaption { padding-top: 10px; font-size: 14px; color: var(--muted); }
.recap-side { flex: 0 1 340px; min-width: 0; margin: 0 auto; width: 100%; max-width: 340px; }
.recap-video { margin: 0; background: #FFFFFF; border-radius: var(--r-card); padding: 10px 10px 12px; box-shadow: 0 30px 40px -26px rgba(0, 0, 0, .7); }
.video-frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-ctl); overflow: hidden; background: #0A1A30; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.recap-video figcaption { padding-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.recap-video a { color: var(--brand); font-weight: 700; }
.review { background: #FFFFFF; color: var(--ink); padding: 16px 18px; border-radius: var(--r-card); box-shadow: 0 16px 28px -18px rgba(0, 0, 0, .6); display: flex; flex-direction: column; gap: 8px; }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review-name { font-size: 17px; font-weight: 900; }
.review-stars { color: #D9A400; letter-spacing: 2px; font-size: 16px; white-space: nowrap; }
.review p { margin: 0; font-size: 15px; line-height: 1.8; }
.stats { display: flex; justify-content: center; gap: clamp(10px, 3vw, 44px); }
.stat {
  flex: none; width: clamp(100px, 27vw, 196px); height: clamp(100px, 27vw, 196px); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3D8FC4 0%, #1F6496 55%, #134A73 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 20px 30px -20px rgba(0, 0, 0, .6);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
}
.stat .fs { font-size: clamp(32px, 8.6vw, 64px); color: #FFFFFF; }
.stat-l { font-size: clamp(12px, 3.2vw, 16px); font-weight: 700; padding: 0 6px; line-height: 1.4; }
.marquees { display: flex; flex-direction: column; gap: 14px; margin: 0 -20px; }
.mq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.mq-track { display: flex; align-items: stretch; width: max-content; animation: mq 70s linear infinite; }
.mq:hover .mq-track, .mq:focus-within .mq-track, .mq:active .mq-track { animation-play-state: paused; }
.mq-slow { animation-duration: 60s; }
.mq-rev { animation-duration: 80s; }   /* 評論和照片一樣由右向左，順著閱讀方向 */
.mq-ph { flex: none; margin: 0 22px 0 0; padding: 14px 0; }
.mq-ph img { height: clamp(150px, 18vw, 220px); width: auto; max-width: none; }
.mq-ph:nth-child(odd) .pola { transform: rotate(-1.6deg); }
.mq-ph:nth-child(even) .pola { transform: rotate(1.4deg); }
.mq-rv { flex: none; width: clamp(260px, 30vw, 340px); margin: 0 18px 0 0; padding: 10px 0; display: flex; }
.mq-rv .review { flex: 1 1 auto; }

/* =========================================================
   主辦單位
   ========================================================= */
.about { position: relative; background: #FFFFFF; }
.about-in { max-width: 1120px; margin: 0 auto; padding: 32px 20px 96px; display: flex; flex-direction: column; gap: 30px; }
.about-head { display: flex; align-items: center; justify-content: center; gap: 20px; }
.about-head > img { height: 120px; width: auto; }
.about-title { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.about-script { font-size: clamp(76px, 10vw, 128px); }
.about-k { font-size: 18px; font-weight: 700; margin-top: -10px; }
.about-title h2 { margin: 4px 0 0; }
.about-title .sel { font-size: clamp(28px, 3.4vw, 38px); font-weight: 900; color: #0D2A55; }
.mq-item { flex: none; width: clamp(240px, 34vw, 420px); margin: 0 18px 0 0; }
.mq-item img { display: block; width: 100%; height: auto; aspect-ratio: 760 / 425; object-fit: cover; border-radius: var(--r-ctl); }
.mq-item figcaption { padding-top: 10px; font-size: 15px; font-weight: 700; }
.about-text { display: flex; flex-direction: column; gap: 14px; }
.about-text p { margin: 0; font-size: 17px; line-height: 2; }

/* =========================================================
   報名
   ========================================================= */
.ticket { background: var(--night); color: #FFFFFF; padding: 48px 20px 96px; overflow-x: hidden; overflow-x: clip; }   /* 印章蓋下去的放大動畫不能撐出橫向捲動 */
.ticket-in { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
.ticket-head { display: flex; flex-direction: column; gap: 6px; max-width: 760px; }
.ticket-script { font-size: clamp(54px, 7vw, 84px); align-self: flex-start; }
.ticket-head h2 { margin: 0; font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; line-height: 1.35; }
.tk { display: grid; grid-template-columns: minmax(0, 1fr) 260px; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .35)); }
.tk-main {
  background-color: #FBFCFD; color: var(--ink); padding: clamp(22px, 3.4vw, 40px); min-width: 0; border-radius: var(--r-card) 0 0 var(--r-card);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 40px; align-items: center;
}
.tk-info { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.tk-buy { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding-left: 40px; border-left: 1.5px dashed var(--line); }
.tk-code { background: var(--star); color: var(--navy); padding: 0 .3em; border-radius: 4px; font-weight: 900; letter-spacing: .04em; }
@media (max-width: 960px) {
  .tk-main { grid-template-columns: minmax(0, 1fr); }
  .tk-buy { padding-left: 0; border-left: 0; border-top: 1.5px dashed var(--line); padding-top: 18px; }
}
.tk-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.tk-name { font-size: 15px; font-weight: 700; color: var(--muted); }
.tk-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-tags .tag[hidden] { display: none; }
.tk-logos { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 22px; }
.tk-logo { height: clamp(70px, 8vw, 96px); width: auto; display: block; }
.tk-logo2 { width: 150px; height: auto; display: block; }
.tk-incl { list-style: none; margin: 0; padding: 16px 0 0; display: flex; flex-direction: column; gap: 10px; border-top: 1.5px dashed var(--line); }
.tk-incl li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.65; }
.tk-incl svg { flex: none; margin-top: 4px; }
.tk-price { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tk-now { white-space: nowrap; font-size: clamp(40px, 4.4vw, 56px); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.tk-was { font-size: 16px; color: var(--muted); text-decoration: line-through; }
.tk-note { font-size: 14px; line-height: 1.7; color: var(--muted); text-align: center; }
/* 「座位有限」印章：雙框、微傾斜、墨色不均，捲到票卡時「蓋」下去 */
.tk-buy { position: relative; }
.tk-stamp {
  position: absolute; right: -4px; top: -18px; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; padding: 7px 14px 6px;
  color: var(--brand); border: 3px solid currentColor; border-radius: 10px;
  box-shadow: inset 0 0 0 2px #FBFCFD, inset 0 0 0 3.5px currentColor;
  transform: rotate(-12deg); opacity: .9; mix-blend-mode: multiply;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -7 4.75'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -7 4.75'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (min-width: 961px) { .tk-stamp { top: -84px; right: 8px; } }
.tk-stamp b { font-size: 21px; font-weight: 900; letter-spacing: .14em; line-height: 1.25; margin-right: -.14em; }
.tk-stamp small { font-size: 9px; font-weight: 900; letter-spacing: .24em; line-height: 1.3; margin-right: -.24em; }
.rv-on .tk .tk-stamp { opacity: 0; }
.rv-on .tk.rv-in .tk-stamp { animation: stamp .55s cubic-bezier(.3, 1.5, .6, 1) .75s both; }
@keyframes stamp {
  0% { opacity: 0; transform: rotate(-12deg) scale(1.9); }
  55% { opacity: .95; transform: rotate(-12deg) scale(.93); }
  100% { opacity: .9; transform: rotate(-12deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .rv-on .tk.rv-in .tk-stamp { animation: fade-only .6s ease-out .4s both; opacity: .9; } }
.tk-stub {
  position: relative; background-color: var(--sky); color: var(--ink); padding: 30px 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px;
  border-left: 2px dashed var(--navy); border-radius: 0 var(--r-card) var(--r-card) 0;
}
.tk-notch { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--night); }
/* 撕票根：沿虛線出現鋸齒邊，票根往外撕開 */
.tk.tearing .tk-stub {
  animation: tear .95s cubic-bezier(.45, .05, .3, 1) forwards; transform-origin: 0 100%;
  -webkit-mask: linear-gradient(#000 0 0) 9px 0 / calc(100% - 9px) 100% no-repeat, conic-gradient(from 45deg at left, #000 0 90deg, #0000 90deg) 0 0 / 10px 18px repeat-y;
  mask: linear-gradient(#000 0 0) 9px 0 / calc(100% - 9px) 100% no-repeat, conic-gradient(from 45deg at left, #000 0 90deg, #0000 90deg) 0 0 / 10px 18px repeat-y;
}
.tk.tearing .tk-main {
  -webkit-mask: linear-gradient(#000 0 0) 0 0 / calc(100% - 9px) 100% no-repeat, conic-gradient(from 225deg at right, #000 0 90deg, #0000 90deg) 100% 0 / 10px 18px repeat-y;
  mask: linear-gradient(#000 0 0) 0 0 / calc(100% - 9px) 100% no-repeat, conic-gradient(from 225deg at right, #000 0 90deg, #0000 90deg) 100% 0 / 10px 18px repeat-y;
}
@keyframes tear {
  0% { transform: none; }
  18% { transform: rotate(-1.5deg) translateX(2px); }
  36% { transform: rotate(2deg) translate(8px, -4px); }
  100% { transform: rotate(13deg) translate(70px, 46px); }
}
.tk-n1 { left: -16px; top: -15px; }
.tk-n2 { left: -16px; bottom: -15px; }
.tk-k { font-size: 13px; font-weight: 700; letter-spacing: .2em; }
.tk-date { display: flex; flex-direction: column; align-items: center; font-size: 60px; color: var(--brand); line-height: 1; }
.tk-year { font-size: 30px; letter-spacing: .08em; margin-bottom: 2px; }
.tk-day { font-size: 16px; font-weight: 900; }
.tk-where { font-size: 14px; line-height: 1.7; margin-top: 4px; }
.tk-char { height: 96px; width: auto; margin-top: 8px; }
.tk-holder-k { font-size: 12px; color: var(--muted); }
.tk-holder { font-size: 17px; font-weight: 900; white-space: nowrap; }
.tk-bar { width: 150px; height: 34px; margin-top: 8px; background: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 7px, transparent 7px 9px, var(--navy) 9px 10px, transparent 10px 13px); }
@media (max-width: 720px) {
  .tk { grid-template-columns: minmax(0, 1fr); }
  .tk-main { border-radius: var(--r-card) var(--r-card) 0 0; }
  .tk-stub { border-radius: 0 0 var(--r-card) var(--r-card); border-left: 0; border-top: 2px dashed var(--navy); }
  .tk-n1 { left: -15px; top: -16px; }
  .tk-n2 { left: auto; right: -15px; top: -16px; bottom: auto; }
  .tk.tearing .tk-stub {
    animation-name: tear-m; transform-origin: 0 0;
    -webkit-mask: linear-gradient(#000 0 0) 0 9px / 100% calc(100% - 9px) no-repeat, conic-gradient(from 135deg at top, #000 0 90deg, #0000 90deg) 0 0 / 18px 10px repeat-x;
    mask: linear-gradient(#000 0 0) 0 9px / 100% calc(100% - 9px) no-repeat, conic-gradient(from 135deg at top, #000 0 90deg, #0000 90deg) 0 0 / 18px 10px repeat-x;
  }
  .tk.tearing .tk-main {
    -webkit-mask: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #000 0 90deg, #0000 90deg) 0 100% / 18px 10px repeat-x;
    mask: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 9px) no-repeat, conic-gradient(from -45deg at bottom, #000 0 90deg, #0000 90deg) 0 100% / 18px 10px repeat-x;
  }
  @keyframes tear-m {
    0% { transform: none; }
    20% { transform: rotate(-1deg) translateY(2px); }
    40% { transform: rotate(1.5deg) translate(-4px, 6px); }
    100% { transform: rotate(-7deg) translate(16px, 56px); }
  }
}

/* =========================================================
   常見問題
   ========================================================= */
.faq { background-color: var(--paper); padding: 40px 20px 96px; }
.faq-in { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.faq-head { display: flex; flex-direction: column; gap: 4px; }
.faq-script { font-size: clamp(60px, 8vw, 96px); align-self: flex-start; }
.faq-head h2 { margin: -4px 0 0; font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: flex-start; }
.faq-cat { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; background: rgba(255, 255, 255, .7); border-radius: var(--r-card); padding: 22px 22px 8px; }
.faq-cat-h { padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.faq-item + .faq-item { border-top: 1px solid #C9D5E1; }
.faq-q {
  width: 100%; min-height: 56px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: none; border: none; color: var(--ink); font-size: 16px; font-weight: 700; text-align: left; cursor: pointer; padding: 12px 0;
}
.faq-q svg { flex: none; transition: transform .25s ease; }
.faq-q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-a { padding: 0 0 18px; font-size: 15px; line-height: 1.9; color: var(--ink-3); }
.faq-a[hidden] { display: none; }
.faq-a p { margin: 0; }
.faq-a p + p, .faq-a p + ul, .faq-a ul + p { margin-top: 8px; }
.faq-a ul { margin: 0; padding: 0; list-style: none; }
.faq-a li { position: relative; padding-left: 16px; }
.faq-a li::before { content: ""; position: absolute; left: 3px; top: .82em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* =========================================================
   頁尾
   ========================================================= */
.ft { background: var(--night); color: #FFFFFF; }
.ft-in { max-width: 1120px; margin: 0 auto; padding: 40px 24px 32px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.ft-logo { width: 260px; height: auto; display: block; }
.ft-slogan { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.5; }
.ft-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ft-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: var(--r-ctl);
  color: #FFFFFF; border: 1.5px solid rgba(255, 255, 255, .55); box-shadow: 0 3px 0 rgba(0, 0, 0, .35);
  transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.ft-icon:hover { background: var(--star); color: var(--navy); border-color: var(--star); transform: translateY(-2px); }
.ft-icon:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0, 0, 0, .35); }
/* 主辦單位／媒體協力 logo：小一點，跟版權一起當頁尾收尾 */
.ft-credits { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 40px; margin-top: 8px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.ft-credit { display: flex; align-items: center; gap: 12px; }
.ft-credit span { font-size: 13px; font-weight: 700; color: #B7C4D8; letter-spacing: .06em; padding-right: 12px; border-right: 1px solid rgba(255, 255, 255, .35); line-height: 1; }
.ft-credit img { display: block; height: 28px; width: auto; }
.ft-credit a { display: block; transition: opacity .2s; }
.ft-credit a:hover { opacity: .8; }
.ft-copy { font-size: 13px; font-weight: 700; color: #B7C4D8; letter-spacing: .08em; margin-top: -6px; }
@media (max-width: 480px) {
  .ft-credits { gap: 10px 18px; }
  .ft-credit { gap: 8px; }
  .ft-credit span { font-size: 11px; padding-right: 8px; letter-spacing: .02em; }
  .ft-credit img { height: 20px; }
}
.ft-wave { display: block; width: 100%; height: clamp(110px, 14vw, 220px); object-fit: cover; object-position: center top; }

/* =========================================================
   IG 限動卡預覽
   ========================================================= */
.card-dlg {
  width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: none;
  border-radius: var(--r-card); background: #FFFFFF; color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(4, 18, 40, .7);
}
.card-dlg::backdrop { background: rgba(10, 22, 40, .72); }
.card-dlg-in { padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.card-dlg h2 { margin: 0; font-size: 20px; font-weight: 900; }
.card-dlg-img { width: min(100%, calc(58dvh * .5625)); background: var(--paper); border-radius: var(--r-ctl); overflow: hidden; aspect-ratio: 9 / 16; margin: 0 auto; }
.card-dlg-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* 路線圖、議程圖比較長：框內可以往下滑 */
.card-dlg-img.long { width: min(100%, 440px); aspect-ratio: auto; max-height: 60dvh; overflow-y: auto; overscroll-behavior: contain; }
.card-dlg-img.long img { height: auto; }
.card-dlg-hint { margin: 0; font-size: 14px; color: var(--muted); }
.card-dlg-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.card-dlg-actions .btn[hidden] { display: none; }

/* =========================================================
   減少動態
   ========================================================= */
/* 減少動態（iPhone「減少動態效果」）：拿掉位移、旋轉、晃動這些「會動來動去」的效果，
   保留淡入、星光閃爍、燈光亮起、光澤這類不會移動畫面的效果。
   跑馬燈和生態圈繞行的星星維持慢速移動（手機開了這個設定也要看得到在動），跑馬燈手指按住或滑鼠移入就暫停 */
@keyframes fade-only { from { opacity: 0; } to { opacity: 1; } }
@keyframes blink-only { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes dust-only { 0%, 100% { opacity: 0; } 50% { opacity: .9; } }
@keyframes lights-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sw, .sw2, .bob, .bob2, .surf, .r1, .r2, .r3, .persona.eco-on, .ripple, .landed .holo-pop svg, .holo-card.sweep .glint-cv { animation: none; }
  .r1, .r2, .r3, .hero-fig { animation: fade-only .9s ease-out both; }
  .hero-fig { transform: translateX(-50%); }
  .tw, .tw2, .twinkle { animation-name: blink-only; }
  .dust i { animation-name: dust-only; }
  .ring b.tick { animation: none; }
  .stage.lit .beam, .stage.lit .lamp::after, .stage.lit .pool { animation: lights-fade 1.4s ease-out forwards, breathe 8s ease-in-out 1.4s infinite; }
  .rv-on .rv, .rv-on .rv.rv-s { transform: none; filter: none; transition: opacity .8s ease; transition-delay: var(--rd, 0s); }
  .rv-on .rv-write { -webkit-mask-image: none; mask-image: none; }
  .par1, .par2, .par3 { transform: none; }
  .holo-card { transition: none; transform: none; }
  .mq-track { animation-duration: 105s; }
  .mq-slow { animation-duration: 90s; }
  .mq-rev { animation-duration: 120s; }
}
