/* 沅鏡傳媒 YUANJING MEDIA — 視覺系統
   版面節奏：深 / 淺交替、標籤小字、超大標題、跑馬燈、數據卡、編號格、CTA 帶
   自有識別：訊號橘 + 電光紫、直播牆、ON AIR 呼吸燈、外框浮水印、取景框角標 */
:root {
  --ink: #0c0b12;
  --ink-2: #14121d;
  --ink-3: #1d1a29;
  --paper: #f6f2ea;
  --paper-2: #ece5d8;
  --white: #ffffff;
  --orange: #ff5b14;
  --orange-2: #ff8a3d;
  --violet: #6d4dff;
  --violet-2: #9d86ff;
  --live: #ff2d55;
  --text: #1a1822;
  --muted: #6f6a7a;
  --muted-d: #9a95a8;
  --line-d: rgba(255, 255, 255, .09);
  --line-l: rgba(20, 18, 29, .1);
  --r: 18px;
  --max: 1180px;
  --zh: "Noto Sans TC", system-ui, sans-serif;
  --en: "Space Grotesk", "Noto Sans TC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--zh); color: var(--text); background: var(--paper); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
/* SVG 圖示（/assets/icons.svg 的 symbol） */
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.14em; }
.ico-chip { width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; flex: none; background: #fff1e8; color: var(--orange); font-size: 20px; }
.ico-chip.v { background: #ece8ff; color: var(--violet); }
.ico-chip.r { background: #ffe8ee; color: var(--live); }
.ico-chip.d { background: rgba(255, 255, 255, .08); color: var(--orange-2); }
.en { font-family: var(--en); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.hdr.solid { background: rgba(12, 11, 18, .86); backdrop-filter: blur(14px); border-color: var(--line-d); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--zh); font-weight: 900; letter-spacing: .08em; font-size: 21px; line-height: 1.1; }
.logo .mark { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, var(--orange), var(--violet)); display: grid; place-items: center; font-size: 18px; letter-spacing: 0; position: relative; }
.logo .mark::after { content: ""; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
.logo small { display: block; font-family: var(--en); font-size: 10px; font-weight: 500; color: var(--muted-d); letter-spacing: .28em; line-height: 1; margin-top: 4px; }
.logo b { color: var(--orange); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: rgba(255, 255, 255, .78); font-size: 14px; position: relative; padding: 4px 0; }
.nav a:hover, .nav a.on { color: #fff; }
.nav a.on::after, .nav a:hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--orange); border-radius: 2px; }
.hdr-cta { display: flex; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-o { background: var(--orange); color: #fff; box-shadow: 0 8px 24px -8px rgba(255, 91, 20, .7); }
.btn-o:hover { background: #ff6d2c; }
.btn-v { background: var(--violet); color: #fff; box-shadow: 0 8px 24px -8px rgba(109, 77, 255, .7); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { border-color: var(--line-l); color: var(--text); background: #fff; }
.btn .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
.burger { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-d); background: transparent; color: #fff; font-size: 20px; }

/* ---------- section 共用 ---------- */
section { position: relative; }
[id] { scroll-margin-top: 84px; }
.sec { padding: 120px 0; overflow: hidden; }
.dark { background: var(--ink); color: #fff; }
.dark-2 { background: var(--ink-2); color: #fff; }
.light { background: var(--paper); }
.light-2 { background: var(--paper-2); }
.white { background: var(--white); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--en); font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
.eyebrow.v { color: var(--violet-2); }
.light .eyebrow.v, .white .eyebrow.v { color: var(--violet); }
.h2 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.18; font-weight: 900; margin: 0 0 20px; letter-spacing: -.01em; }
.h2 em { font-style: normal; color: var(--orange); }
.lead { font-size: 17px; color: var(--muted); max-width: 640px; margin: 0; }
.dark .lead, .dark-2 .lead { color: var(--muted-d); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 56px; flex-wrap: wrap; }
.watermark.zh { font-family: var(--zh); font-weight: 900; letter-spacing: .02em; }
.watermark { position: absolute; font-family: var(--en); font-weight: 700; font-size: clamp(160px, 26vw, 380px); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--line-l); pointer-events: none; user-select: none; white-space: nowrap; z-index: 0; }
.dark .watermark, .dark-2 .watermark { -webkit-text-stroke-color: rgba(255, 255, 255, .06); }
.sec > .wrap { position: relative; z-index: 1; }
/* 進場只改透明度，不改位置與尺寸，避免按鈕在游標下移動 */
.reveal { opacity: 0; transition: opacity .5s ease; }
.reveal.in { opacity: 1; }
.fade-in { animation: fadein .24s ease both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ---------- hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 0 90px; background:
  radial-gradient(900px 600px at 85% 20%, rgba(109, 77, 255, .28), transparent 60%),
  radial-gradient(700px 500px at 10% 90%, rgba(255, 91, 20, .22), transparent 60%), var(--ink); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); opacity: .5; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; position: relative; }
.onair { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid rgba(255, 45, 85, .4); background: rgba(255, 45, 85, .1); font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #ff8aa1; }
.onair em { font-style: normal; font-family: var(--en); font-size: 11px; letter-spacing: .2em; opacity: .75; }
.onair i { width: 9px; height: 9px; border-radius: 50%; background: var(--live); animation: pulse 1.3s infinite; }
.hero h1 { margin: 24px 0 26px; font-weight: 900; line-height: 1; }
.hero h1 .zh { display: block; font-family: var(--zh); font-size: clamp(64px, 10vw, 136px); letter-spacing: .04em; line-height: 1.02; }
.hero h1 .en-sub { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-family: var(--en); font-weight: 700; font-size: clamp(14px, 1.6vw, 20px); letter-spacing: .42em; color: var(--muted-d); }
.hero h1 .en-sub::before { content: ""; width: 44px; height: 2px; background: linear-gradient(90deg, var(--orange), var(--violet)); }
.hero h1 .o { background: linear-gradient(100deg, var(--orange) 10%, var(--orange-2) 45%, var(--violet-2) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h2 { font-size: clamp(22px, 2.6vw, 32px); margin: 0 0 16px; font-weight: 700; letter-spacing: .04em; }
.hero h2 span { color: var(--muted-d); font-weight: 400; margin: 0 .3em; }
.hero p { color: var(--muted-d); font-size: 16px; max-width: 540px; margin: 0 0 34px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* 直播牆 */
.livewall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; transform: rotate(-4deg) translateY(10px); }
.livewall .tile:nth-child(3n+2) { transform: translateY(-36px); }
.tile { position: relative; aspect-ratio: 9/14; border-radius: 16px; overflow: hidden; background: var(--ink-3); border: 1px solid var(--line-d); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.tile .bg { position: absolute; inset: 0; }
.tile .tag { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; font-family: var(--en); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.tile .tag b { background: var(--live); color: #fff; padding: 3px 7px; border-radius: 6px; }
.tile .tag span { background: rgba(0, 0, 0, .45); color: #fff; padding: 3px 7px; border-radius: 6px; backdrop-filter: blur(6px); }
.tile .tag span { display: inline-flex; align-items: center; gap: 4px; }
.tile .hearts i .i { width: 16px; height: 16px; display: block; }
.side-list b { display: flex; align-items: center; gap: 10px; }
.side-list b .i { color: var(--orange); font-size: 20px; }
.burger { place-items: center; } .burger .i { font-size: 22px; }
.fab .top .i { font-size: 18px; }
.tile .who { position: absolute; left: 10px; right: 10px; bottom: 10px; font-size: 12px; font-weight: 700; }
.tile .who small { display: block; color: rgba(255, 255, 255, .7); font-weight: 400; font-size: 10px; }
.tile .eq { position: absolute; right: 10px; bottom: 14px; display: flex; gap: 2px; align-items: end; height: 16px; }
.tile .eq i { width: 3px; background: #fff; border-radius: 2px; animation: eq 1s infinite ease-in-out; }
.tile .eq i:nth-child(2) { animation-delay: .2s; } .tile .eq i:nth-child(3) { animation-delay: .4s; } .tile .eq i:nth-child(4) { animation-delay: .1s; }
.tile .hearts { position: absolute; right: 12px; bottom: 40px; width: 20px; height: 120px; pointer-events: none; }
.tile .hearts i { position: absolute; bottom: 0; left: 0; font-style: normal; font-size: 14px; opacity: 0; animation: float 3s infinite; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-family: var(--en); font-size: 11px; letter-spacing: .3em; color: var(--muted-d); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-cue { font-family: var(--zh); letter-spacing: .4em; }
@media (max-width: 860px) { .scroll-cue { display: none; } }
.scroll-cue::after { content: ""; width: 1px; height: 38px; background: linear-gradient(var(--orange), transparent); animation: drip 2s infinite; }

/* ---------- 跑馬燈 ---------- */
.ticker { background: var(--orange); color: #fff; overflow: hidden; white-space: nowrap; padding: 15px 0; transform: skewY(-1.2deg); margin: -14px 0; position: relative; z-index: 3; box-shadow: 0 20px 40px -20px rgba(255, 91, 20, .6); }
.ticker .track { display: inline-flex; gap: 40px; animation: marquee 30s linear infinite; font-family: var(--en); font-weight: 700; letter-spacing: .18em; font-size: 14px; }
.ticker .track { font-family: var(--zh); letter-spacing: .14em; font-size: 15px; font-weight: 900; }
.ticker .track span { display: inline-flex; align-items: baseline; gap: 10px; }
.ticker .track small { font-family: var(--en); font-size: 10px; font-weight: 700; letter-spacing: .2em; opacity: .7; margin-right: 30px; }
.ticker .track span::after { content: "●"; font-size: 8px; color: var(--ink); }

/* ---------- 關於 + 數據 ---------- */
.about .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.about .watermark { right: -4vw; top: 40px; }
.founder { margin-top: 34px; display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: #fff; border-radius: var(--r); border: 1px solid var(--line-l); max-width: 460px; }
.founder .av { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--violet)); display: grid; place-items: center; color: #fff; font-family: var(--en); font-weight: 700; font-size: 20px; flex: none; }
.founder q { display: block; font-size: 14px; color: var(--text); quotes: "「" "」"; }
.founder small { color: var(--muted); font-size: 12px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.stat { background: #fff; border-radius: var(--r); padding: 26px 24px; border: 1px solid var(--line-l); position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--orange), var(--violet)); }
.stat b { display: block; font-family: var(--en); font-size: 40px; line-height: 1.05; font-weight: 700; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 13px; }

/* ---------- 服務 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-d); border-radius: 22px; overflow: hidden; }
.svc { padding: 34px 28px 30px; border-right: 1px solid var(--line-d); position: relative; transition: background .35s; min-height: 330px; display: flex; flex-direction: column; }
.svc:last-child { border-right: 0; }
.svc:hover { background: linear-gradient(180deg, rgba(255, 91, 20, .12), transparent 70%); }
.svc .no { font-family: var(--en); font-size: 13px; color: var(--muted-d); letter-spacing: .1em; }
.svc .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--ink-3); border: 1px solid var(--line-d); display: grid; place-items: center; margin: 26px 0 22px; color: var(--orange); }
.svc:nth-child(4) .ico { color: var(--violet-2); }
.svc h3 { font-size: 24px; margin: 0 0 10px; }
.svc p { color: var(--muted-d); font-size: 14px; margin: 0 0 18px; }
.svc ul { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.svc li { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .8); }

/* ---------- 主播 ---------- */
.roster .watermark { left: -3vw; bottom: -40px; }
.roster-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-s { background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-l); transition: transform .35s, box-shadow .35s; position: relative; }
.card-s:nth-child(even) { margin-top: 40px; }
a.card-s { display: block; color: inherit; }
.card-s:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -30px rgba(30, 20, 60, .45); }
.card-s .ph { aspect-ratio: 4/5; position: relative; overflow: hidden; }
.card-s .ph::before, .card-s .ph::after { content: ""; position: absolute; width: 22px; height: 22px; border: 2px solid rgba(255, 255, 255, .85); z-index: 2; }
.card-s .ph::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.card-s .ph::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.card-s .plat { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .45); color: #fff; backdrop-filter: blur(6px); }
.card-s .body { padding: 18px 20px 22px; }
.card-s h3 { margin: 0; font-size: 17px; }
.card-s .meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin-top: 4px; }
.card-s .meta b { color: var(--orange); font-family: var(--en); }
.card-s p { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.card-join { display: flex; flex-direction: column; justify-content: center; align-items: start; gap: 14px; padding: 30px; background: var(--ink); color: #fff; border: 0; min-height: 100%; }
.card-join h3 { font-size: 24px; line-height: 1.3; }
.card-join p { color: var(--muted-d); }

/* ---------- 主播聯繫帶 ---------- */
.recruit .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.steps { display: grid; gap: 12px; counter-reset: s; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; background: #fff; border-radius: 16px; padding: 16px 20px; border: 1px solid var(--line-l); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--en); font-size: 26px; font-weight: 700; color: var(--orange); }
.step b { display: block; font-size: 16px; }
.step span { font-size: 13px; color: var(--muted); }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 30px 0; }
.perk { display: flex; gap: 10px; align-items: start; font-size: 14px; }
.perk::before, .checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='black'/%3E%3Cpath d='m7 12.5 3.3 3.3L17 9' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='black'/%3E%3Cpath d='m7 12.5 3.3 3.3L17 9' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.perk::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c.6 4.8 2.9 7.3 8 8-5.1.7-7.4 3.2-8 8-.6-4.8-2.9-7.3-8-8 5.1-.7 7.4-3.2 8-8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c.6 4.8 2.9 7.3 8 8-5.1.7-7.4 3.2-8 8-.6-4.8-2.9-7.3-8-8 5.1-.7 7.4-3.2 8-8z'/%3E%3C/svg%3E"); }

/* ---------- 聯盟 ---------- */
.alliance { background: radial-gradient(800px 500px at 90% 10%, rgba(109, 77, 255, .3), transparent 60%), var(--ink-2); color: #fff; }
.alliance .eyebrow { color: var(--violet-2); }
.alliance .h2 em { color: var(--violet-2); }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 50px; }
.plogo { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-d); background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s; }
.plogo:hover { border-color: rgba(157, 134, 255, .5); background: rgba(109, 77, 255, .08); }
.lg { display: grid; place-items: center; border-radius: 10px; color: #fff; font-family: var(--en); font-weight: 700; font-size: 13px; flex: none; }
.plogo .lg { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-family: var(--en); font-weight: 700; font-size: 14px; color: #fff; flex: none; }
.plogo b { display: block; font-size: 14px; line-height: 1.3; }
.plogo small { color: var(--muted-d); font-size: 12px; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how > div { padding: 26px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-d); }
.how .n { font-family: var(--en); color: var(--violet-2); font-weight: 700; font-size: 13px; letter-spacing: .15em; }
.how h3 { margin: 10px 0 6px; font-size: 19px; }
.how p { margin: 0; color: var(--muted-d); font-size: 14px; }
.feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.promo { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 18px; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--line-d); transition: transform .25s, border-color .25s; }
.promo:hover { transform: translateY(-4px); border-color: rgba(157, 134, 255, .6); }
.promo .top { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted-d); }
.promo .lg { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-family: var(--en); font-weight: 700; font-size: 11px; }
.promo .tg { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: rgba(109, 77, 255, .25); color: #cfc4ff; }
.promo h4 { margin: 0; font-size: 17px; line-height: 1.4; }
.promo p { margin: 0; font-size: 13px; color: var(--muted-d); flex: 1; }
.promo .go { font-size: 13px; font-weight: 700; color: var(--violet-2); }
.feed-note { font-size: 12px; color: var(--muted-d); margin-top: 14px; }

/* ---------- CTA 帶 ---------- */
.cta-band { background: linear-gradient(120deg, var(--orange) 0%, #ff4d2e 45%, var(--violet) 130%); color: #fff; padding: 110px 0; overflow: hidden; }
.cta-band .watermark { right: -2vw; top: 50%; transform: translateY(-50%); -webkit-text-stroke-color: rgba(255, 255, 255, .22); }
.cta-band h2 { font-size: clamp(34px, 5.4vw, 70px); line-height: 1.12; margin: 0 0 30px; font-weight: 900; max-width: 820px; }
.cta-band .row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-band .mail { font-family: var(--en); font-size: 18px; border-bottom: 2px solid rgba(255, 255, 255, .5); padding-bottom: 2px; margin-left: 10px; }

/* ---------- footer ---------- */
.ftr { background: #08070c; color: var(--muted-d); padding: 70px 0 30px; font-size: 14px; }
.ftr .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.ftr h5 { color: #fff; font-family: var(--en); letter-spacing: .2em; font-size: 12px; margin: 6px 0 14px; }
.ftr a:hover { color: #fff; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr .bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line-d); margin-top: 50px; padding-top: 24px; font-size: 12px; }

/* ---------- 浮動按鈕 ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; gap: 10px; align-items: end; }
.fab .call { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; border: 1px solid rgba(255, 91, 20, .6); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); }
.fab .call i { width: 10px; height: 10px; border-radius: 50%; background: var(--live); animation: pulse 1.3s infinite; }
.fab .top { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); border: 1px solid var(--line-l); display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; }
.fab .top.show { opacity: 1; pointer-events: auto; }

/* ---------- 表單 / 內頁 ---------- */
.page-hero { padding: 150px 0 80px; background: radial-gradient(700px 400px at 80% 0%, rgba(109, 77, 255, .3), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(255, 91, 20, .2), transparent 60%), var(--ink); color: #fff; }
.page-hero h1 { font-size: clamp(36px, 5.5vw, 68px); line-height: 1.1; margin: 0 0 18px; font-weight: 900; }
.page-hero p { color: var(--muted-d); max-width: 620px; font-size: 17px; margin: 0; }
.form-card { background: #fff; border-radius: 24px; padding: 38px; border: 1px solid var(--line-l); box-shadow: 0 30px 60px -40px rgba(30, 20, 60, .35); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; }
.field label i { color: var(--orange); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-l); background: var(--paper); color: var(--text); font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field input::placeholder, .field textarea::placeholder { color: #a7a1b2; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 91, 20, .45); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 91, 20, .14); background: #fff; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .12); }
.field textarea { min-height: 110px; resize: vertical; }
input[type=checkbox], input[type=radio] { accent-color: var(--orange); width: 18px; height: 18px; }

/* 下拉選單：所有瀏覽器先換掉系統箭頭；支援 customizable select 的 Chrome 再連展開清單一起換 */
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5b14' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
@supports (appearance: base-select) {
  .field select, .field select::picker(select) { appearance: base-select; }
  .field select { background-image: none; display: flex; align-items: center; gap: 8px; }
  .field select::picker-icon {
    content: ""; width: 18px; height: 18px; margin-left: auto; background-color: var(--orange);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .field select:open { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 91, 20, .14); background-color: #fff; }
  .field select::picker(select) {
    border: 1px solid var(--line-l); border-radius: 14px; padding: 6px; margin-block: 6px; background: #fff;
    box-shadow: 0 24px 50px -18px rgba(30, 20, 60, .35); max-height: 320px;
    opacity: 0; transition: opacity .18s ease, display .18s allow-discrete, overlay .18s allow-discrete;
  }
  .field select:open::picker(select) { opacity: 1; }
  @starting-style { .field select:open::picker(select) { opacity: 0; } }
  .field select option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 15px; color: var(--text); cursor: pointer; transition: background-color .15s, color .15s; }
  .field select option:hover, .field select option:focus-visible { background: #fff1e8; color: #c94200; outline: none; }
  .field select option:checked { font-weight: 700; color: var(--orange); }
  .field select option::checkmark { content: ""; order: 1; margin-left: auto; width: 16px; height: 16px; background: var(--orange);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
  .v-form .field select::picker-icon, .v-form .field select option::checkmark { background-color: var(--violet); }
  .v-form .field select option:hover { background: #ece8ff; color: #4a2fd6; }
  .v-form .field select option:checked { color: var(--violet); }
}
.v-form .field input:focus, .v-form .field select:focus, .v-form .field textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(109, 77, 255, .14); }
.v-form input[type=checkbox] { accent-color: var(--violet); }
.hp { position: absolute; left: -9999px; }
.form-msg { margin-top: 14px; font-size: 14px; font-weight: 700; }
.form-msg.ok { color: #0a8a4a; } .form-msg.err { color: #d1203a; }
.side-list { display: grid; gap: 14px; }
.side-list > div { padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line-l); }
.side-list b { display: block; margin-bottom: 4px; }
.side-list span { font-size: 14px; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line-l); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--orange); font-family: var(--en); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; font-size: 14px; }

/* ---------- 後台 ---------- */
.dash { padding: 110px 0 60px; min-height: 100vh; background: var(--paper); }
.panel { background: #fff; border-radius: 20px; border: 1px solid var(--line-l); padding: 26px; margin-bottom: 20px; }
.panel h2 { font-size: 18px; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.kpi { background: #fff; border-radius: 18px; padding: 20px 22px; border: 1px solid var(--line-l); }
.kpi span { font-size: 12px; color: var(--muted); }
.kpi b { display: block; font-family: var(--en); font-size: 30px; line-height: 1.2; }
.kpi small { font-size: 12px; color: var(--muted); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line-l); border-radius: 14px; background: #fff; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: 12px 14px; background: var(--paper); border-bottom: 1px solid var(--line-l); white-space: nowrap; }
.tbl td { padding: 14px; border-bottom: 1px solid var(--line-l); vertical-align: top; transition: background-color .15s; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: #fffaf6; }
.tbl td b { font-weight: 700; }
.panel > .tbl { border: 1px solid var(--line-l); border-radius: 14px; overflow: hidden; }
.pill { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 999px; font-weight: 700; white-space: nowrap; }
.pill.new, .pill.pending { background: #fff1e8; color: #c94200; }
.pill.contacted { background: #ece8ff; color: #4a2fd6; }
.pill.signed, .pill.approved { background: #e3f7ec; color: #0a7a40; }
.pill.rejected, .pill.paused { background: #f1f0f3; color: #6f6a7a; }
.mini-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-l); background: #fff; color: var(--text); cursor: pointer; font-size: 12px; font-weight: 700; margin: 2px; transition: border-color .15s, color .15s, background-color .15s; }
.mini-btn:hover { border-color: var(--orange); color: var(--orange); background: #fff8f3; }
.mini-btn[data-armed] { border-color: #e5484d; color: #e5484d; background: #fff4f4; }
.mini-btn.pri { background: var(--orange); color: #fff; border-color: var(--orange); }
.mini-btn.pri:hover { color: #fff; filter: brightness(1.08); }
code.k { font-size: 12px; background: var(--paper); padding: 3px 7px; border-radius: 6px; word-break: break-all; }
pre.code { background: var(--ink); color: #e9e4ff; padding: 16px 18px; border-radius: 14px; font-size: 13px; overflow-x: auto; margin: 0; white-space: pre-wrap; word-break: break-all; }
.bars { display: flex; align-items: end; gap: 6px; height: 160px; padding-top: 10px; }
.bars .d { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: end; }
.bars .pair { display: flex; gap: 2px; align-items: end; width: 100%; height: 100%; }
.bars .pair i { flex: 1; border-radius: 4px 4px 0 0; min-height: 2px; }
.bars .pair i.h { background: var(--orange); } .bars .pair i.r { background: var(--violet); }
.bars small { font-size: 10px; color: var(--muted); }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.login-box { max-width: 420px; margin: 40px auto; }

/* ---------- 動畫 ---------- */
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
@keyframes float { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-110px) translateX(-10px) scale(1.1); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- 跨頁轉場（View Transitions，不支援的瀏覽器直接一般跳頁） ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .14s ease both; }
::view-transition-new(root) { animation: vt-in .26s ease both; }
.hdr { view-transition-name: site-header; }
.fab { view-transition-name: site-fab; }
::view-transition-group(site-header), ::view-transition-group(site-fab) { animation: none; }
::view-transition-old(site-header), ::view-transition-old(site-fab) { display: none; }
::view-transition-new(site-header), ::view-transition-new(site-fab) { animation: none; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- 內容頁元件 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.adv { padding: 28px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line-l); position: relative; overflow: hidden; }
.dark .adv, .dark-2 .adv { background: rgba(255, 255, 255, .04); border-color: var(--line-d); }
.adv .no { position: absolute; right: 18px; top: 8px; font-family: var(--en); font-weight: 700; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--orange); opacity: .45; }
.adv small { font-family: var(--en); letter-spacing: .2em; font-size: 11px; color: var(--orange); font-weight: 700; }
.adv h3 { margin: 40px 0 10px; font-size: 20px; }
.adv p { margin: 0; font-size: 14px; color: var(--muted); }
.dark .adv p, .dark-2 .adv p { color: var(--muted-d); }

.roadmap { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 0; }
.roadmap::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--orange), var(--violet)); opacity: .5; }
.roadmap li { display: grid; grid-template-columns: 100px 1fr; gap: 40px; padding: 18px 0; position: relative; }
.roadmap li::before { content: ""; position: absolute; left: 112px; top: 26px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--orange); }
.roadmap time { font-family: var(--en); font-weight: 700; color: var(--orange); padding-top: 2px; }
.roadmap b { font-size: 18px; }
.roadmap p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.team { padding: 22px 20px; border-radius: 18px; border: 1px solid var(--line-d); background: rgba(255, 255, 255, .03); }
.team small { font-family: var(--en); font-size: 11px; letter-spacing: .2em; color: var(--violet-2); font-weight: 700; }
.team b { display: block; font-size: 18px; margin: 8px 0 6px; }
.team p { margin: 0; font-size: 13px; color: var(--muted-d); }

.svc-block { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; padding: 70px 0; border-top: 1px solid var(--line-l); }
.svc-block:first-child { border-top: 0; padding-top: 0; }
.svc-block:nth-child(even) .svc-media { order: 2; }
.svc-media { aspect-ratio: 4/3; border-radius: 24px; position: relative; overflow: hidden; display: grid; place-items: center; }
.svc-media .big { font-family: var(--en); font-weight: 700; font-size: clamp(60px, 9vw, 120px); color: rgba(255, 255, 255, .92); letter-spacing: -.04em; line-height: .9; text-align: center; }
.svc-media::after { content: ""; position: absolute; inset: 14px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 16px; pointer-events: none; }
.svc-media .chip { position: absolute; left: 24px; bottom: 24px; background: rgba(0, 0, 0, .35); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 12px; backdrop-filter: blur(6px); }
.svc-copy .no { font-family: var(--en); color: var(--orange); font-weight: 700; letter-spacing: .1em; }
.svc-copy h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 8px 0 14px; line-height: 1.25; }
.svc-copy p { color: var(--muted); margin: 0 0 18px; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.checks li { font-size: 14px; display: flex; gap: 8px; }

.subnav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.subnav a { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: 14px; }
.subnav a:hover { border-color: var(--orange); color: var(--orange-2); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line-l); transition: border-color .25s, box-shadow .25s; }
.news-card:hover { border-color: var(--orange); box-shadow: 0 24px 40px -30px rgba(30, 20, 60, .4); }
.news-card .cat { align-self: start; font-size: 12px; font-weight: 700; color: var(--orange); background: #fff1e8; padding: 3px 10px; border-radius: 999px; }
.news-card time { font-family: var(--en); font-size: 13px; color: var(--muted); }
.news-card h3 { margin: 0; font-size: 19px; line-height: 1.45; }
.news-card p { margin: 0; font-size: 14px; color: var(--muted); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .go { font-weight: 700; font-size: 14px; }

.article { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.95; }
.article h2 { font-size: 24px; margin: 44px 0 10px; line-height: 1.4; }
.article p, .article ul { margin: 0 0 18px; }
.article li { margin-bottom: 6px; }
.article a { color: var(--orange); font-weight: 700; border-bottom: 1px solid currentColor; }
.crumbs { font-size: 13px; color: var(--muted-d); margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }

.creator-hero { display: grid; grid-template-columns: 380px 1fr; gap: 50px; align-items: center; }
.creator-hero .ph { aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; position: relative; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8); }
.kv { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin: 26px 0 30px; }
.kv span { display: block; font-size: 12px; color: var(--muted-d); }
.kv b { font-family: var(--en); font-size: 22px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { padding: 30px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line-l); display: flex; flex-direction: column; gap: 10px; }
.contact-card .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff1e8; color: var(--orange); font-size: 20px; }
.contact-card h3 { margin: 6px 0 0; font-size: 20px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.info-list { display: grid; gap: 1px; background: var(--line-l); border-radius: 18px; overflow: hidden; border: 1px solid var(--line-l); }
.info-list > div { background: #fff; padding: 18px 22px; display: grid; grid-template-columns: 120px 1fr; gap: 10px; font-size: 15px; }
.info-list span { color: var(--muted); }

@media (max-width: 1024px) {
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .svc-block, .creator-hero { grid-template-columns: 1fr; gap: 30px; }
  .svc-block:nth-child(even) .svc-media { order: 0; }
  .creator-hero .ph { max-width: 340px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .adv-grid, .news-grid, .checks { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .roadmap::before { left: 6px; } .roadmap li { grid-template-columns: 1fr; gap: 4px; padding-left: 30px; } .roadmap li::before { left: 0; top: 22px; }
  .info-list > div { grid-template-columns: 1fr; gap: 2px; }
  .kv { grid-template-columns: repeat(2, auto); }
}

/* ---------- RWD ---------- */
@media (max-width: 1240px) {
  .hdr .wrap { gap: 18px; }
  .nav { gap: 16px; }
  .nav a { font-size: 13px; }
  .hdr-cta .btn-ghost { display: none; }
}
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc:nth-child(2) { border-right: 0; }
  .svc:nth-child(-n+2) { border-bottom: 1px solid var(--line-d); }
  .roster-grid { grid-template-columns: repeat(3, 1fr); }
  .card-s:nth-child(even) { margin-top: 0; }
  .card-s:nth-child(3n+2) { margin-top: 40px; }
  .feed, .how { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav, .hdr-cta { display: none; }
  .burger { display: block; }
  .hdr.open .nav { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(12, 11, 18, .97); padding: 10px 20px 20px; border-bottom: 1px solid var(--line-d); }
  .hdr.open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-d); }
  .hero .wrap, .about .wrap, .recruit .wrap, .two-col { grid-template-columns: 1fr; }
  .livewall { transform: none; margin-top: 10px; }
  .livewall .tile:nth-child(3n+2) { transform: none; }
  .sec { padding: 84px 0; }
  .ftr .grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .svc-grid, .stats, .perks { grid-template-columns: 1fr; }
  .roster-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc { border-right: 0; border-bottom: 1px solid var(--line-d); min-height: 0; }
  .card-s:nth-child(n) { margin-top: 0; }
  .card-s p { display: none; }
  .ftr .grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .fab .call span { display: none; }
  .kpis { grid-template-columns: 1fr; }
}

/* =========================================================
   響應式補強：手機 / 平板 / 橫向 / 大螢幕 / 安全區（瀏海、底部手勢列）
   ========================================================= */
.nav-cta { display: none; }
.hdr { padding-top: env(safe-area-inset-top); }
.hdr.open { background: rgba(12, 11, 18, .98); border-color: var(--line-d); backdrop-filter: none; }
.fab { right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); }
.hero { min-height: 100vh; min-height: 100svh; }
html.menu-open { overflow: hidden; }
html.menu-open .fab { opacity: 0; pointer-events: none; }
.ftr { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }

/* 觸控裝置不要 hover 位移（點一下會卡在浮起狀態） */
@media (hover: none) {
  .card-s:hover, .promo:hover, .btn:hover { transform: none; }
}

@media (min-width: 1600px) { :root { --max: 1320px; } }

@media (max-width: 1024px) {
  .hero .wrap { gap: 40px; }
  .sec-head { margin-bottom: 40px; }
}

@media (max-width: 860px) {
  /* 全螢幕選單 */
  .hdr.open .nav {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; left: 0; right: 0; bottom: 0; top: calc(72px + env(safe-area-inset-top));
    padding: 8px max(20px, env(safe-area-inset-left)) calc(24px + env(safe-area-inset-bottom));
    background: rgba(12, 11, 18, .98); border: 0; overflow-y: auto; overscroll-behavior: contain;
    animation: fadein .24s ease both;
  }
  .hdr.open .nav a:not(.btn) { font-size: 18px; font-weight: 700; color: #fff; padding: 16px 4px; border-bottom: 1px solid var(--line-d); }
  .hdr.open .nav a:not(.btn)::after { display: none; }
  .hdr.open .nav a.on { color: var(--orange-2); }
  .hdr.open .nav-cta { display: grid; gap: 10px; margin-top: 24px; }
  .hdr.open .nav-cta .btn { justify-content: center; height: 50px; font-size: 15px; }
  .burger { display: grid; }

  /* iOS 輸入框小於 16px 會自動放大畫面 */
  .field input, .field select, .field textarea { font-size: 16px; }

  .hero { padding: calc(108px + env(safe-area-inset-top)) 0 64px; }
  .page-hero { padding: calc(120px + env(safe-area-inset-top)) 0 56px; }
  .page-hero p { font-size: 15px; }
  .lead { font-size: 15px; }
  .about .wrap, .recruit .wrap { gap: 36px; }
  .cta-band { padding: 80px 0; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)); }
  .sec { padding: 68px 0; }
  .h2 { font-size: clamp(26px, 7.4vw, 34px); }
  .sec-head { margin-bottom: 30px; gap: 18px; }

  /* 首頁主視覺 */
  .hero h1 .zh { font-size: clamp(56px, 17vw, 76px); }
  .hero h1 .en-sub { letter-spacing: .3em; margin-top: 12px; }
  .hero h2 { font-size: 20px; }
  .hero p { font-size: 15px; margin-bottom: 26px; }
  .hero .ctas { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero .ctas .btn { justify-content: center; height: 50px; }
  .onair { font-size: 12px; }
  /* 直播牆改成可左右滑動的一排 */
  .livewall { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 6px -16px 0; padding: 4px 16px 10px; scrollbar-width: none; }
  .livewall::-webkit-scrollbar { display: none; }
  .livewall .tile { flex: 0 0 42%; scroll-snap-align: start; }

  .ticker { padding: 12px 0; }
  .ticker .track { font-size: 14px; }

  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 20px 16px; }
  .stat b { font-size: 28px; }
  .founder { padding: 14px 16px; }

  .roster-grid { gap: 10px; }
  .card-s .body { padding: 12px 12px 14px; }
  .card-s h3 { font-size: 14px; }
  .card-s .meta { font-size: 12px; flex-wrap: wrap; gap: 0 6px; }
  .card-join { padding: 20px; grid-column: 1 / -1; }
  .card-join h3 { font-size: 20px; }

  .adv { padding: 22px 20px; }
  .adv h3 { margin-top: 28px; }
  .step { grid-template-columns: 44px 1fr; padding: 14px 16px; }
  .step::before { font-size: 22px; }

  .logos { grid-template-columns: 1fr 1fr; gap: 8px; }
  .plogo { padding: 10px; gap: 8px; }
  .plogo .lg { width: 32px !important; height: 32px !important; font-size: 12px; }
  .plogo b { font-size: 12.5px; }
  .plogo small { font-size: 11px; }
  .how > div { padding: 20px; }

  .cta-band h2 { font-size: clamp(30px, 9vw, 40px); }
  .cta-band .row { display: grid; grid-template-columns: 1fr; }
  .cta-band .row .btn { justify-content: center; height: 50px; }
  .cta-band .mail { margin: 8px 0 0; font-size: 15px; justify-self: start; word-break: break-all; }

  .ftr { padding-top: 54px; }
  .ftr .grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ftr .grid > div:first-child { grid-column: 1 / -1; }
  .ftr .bottom { flex-direction: column; gap: 6px; padding-bottom: 64px; }

  /* 浮動按鈕：保留文字，縮小 */
  .fab .call { padding: 10px 14px 10px 12px; font-size: 13px; }
  .fab .call span { display: inline; }
  .fab .top { width: 40px; height: 40px; }

  /* 表單 */
  .form-card { padding: 22px 18px; border-radius: 20px; }
  .form-card [type=submit] { width: 100%; justify-content: center; height: 50px; }
  .side-list > div { padding: 16px 18px; }

  /* 內容頁 */
  .subnav { gap: 6px; }
  .subnav a { padding: 7px 13px; font-size: 13px; }
  .svc-block { padding: 48px 0; }
  .svc-media { border-radius: 18px; }
  .svc-copy .btn { width: 100%; justify-content: center; }
  .article { font-size: 16px; line-height: 1.9; }
  .article h2 { font-size: 21px; margin-top: 34px; }
  .creator-hero .ph { max-width: 260px; }
  .contact-card { padding: 22px 20px; }
  .contact-card .btn { justify-content: center; }
  .news-card { padding: 22px 20px; }

  /* 後台 */
  .dash { padding-top: calc(96px + env(safe-area-inset-top)); }
  .panel { padding: 18px 16px; border-radius: 16px; }
  .kpi b { font-size: 26px; }
  .bars { gap: 3px; height: 130px; }
  .bars .d:nth-child(odd) small { visibility: hidden; }
  .tbl th, .tbl td { padding: 10px 12px; }
  .form-grid[style] { grid-template-columns: 1fr !important; }
}

@media (max-width: 360px) {
  .hero h1 .zh { font-size: 52px; }
  .stats { grid-template-columns: 1fr; }
  .logos { grid-template-columns: 1fr; }
  .livewall .tile { flex-basis: 52%; }
  .logo { font-size: 18px; }
}

/* 手機橫放：畫面很矮 */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding: calc(96px + env(safe-area-inset-top)) 0 56px; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; }
  .livewall { display: grid; overflow: visible; margin: 0; padding: 0; }
  .scroll-cue { display: none; }
  .hdr.open .nav { padding-top: 0; }
  .hdr.open .nav a:not(.btn) { padding: 11px 4px; font-size: 16px; }
}
@media (max-width: 860px) {
  .svc-media { aspect-ratio: 16 / 8; }
  .svc-media .big { font-size: clamp(48px, 12vw, 96px); }
}
@media (max-width: 560px) { .svc-media { aspect-ratio: 16 / 10; } }
.bars .d { min-width: 0; }
@media (max-width: 560px) {
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 14px; border-radius: 14px; }
  .kpi b { font-size: 22px; }
  .kpi span, .kpi small { font-size: 11px; }
  /* 表格維持可讀寬度，改成左右滑動 */
  .tbl-wrap { -webkit-overflow-scrolling: touch; }
  .tbl-wrap .tbl { min-width: 600px; }
  .panel h2 { flex-wrap: wrap; }
}
/* grid 子元素預設 min-width:auto，會被內部寬表格撐開 → 一律允許縮小 */
.two-col > *, .form-grid > *, .hero .wrap > *, .about .wrap > *, .recruit .wrap > *, .creator-hero > *, .svc-block > * { min-width: 0; }

/* =========================================================
   動態效果
   原則：可點的東西（按鈕、卡片、連結）不位移、不縮放，只用光、色、透明度；
   會動的位移只用在裝飾元素（直播牆、浮水印、背景光暈）。
   系統開啟「減少動態效果」時，上方的全域規則會把這些全部關掉。
   ========================================================= */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); }

/* ---- 首頁主視覺進場：依序淡入 + 去模糊 ---- */
.hero .wrap > div:first-child > * { animation: hero-in .9s var(--ease-out) both; }
.hero .wrap > div:first-child > :nth-child(1) { animation-delay: .05s; }
.hero .wrap > div:first-child > :nth-child(2) { animation-delay: .15s; }
.hero .wrap > div:first-child > :nth-child(3) { animation-delay: .3s; }
.hero .wrap > div:first-child > :nth-child(4) { animation-delay: .42s; }
.hero .wrap > div:first-child > :nth-child(5) { animation-delay: .54s; }
@keyframes hero-in { from { opacity: 0; filter: blur(10px); } to { opacity: 1; filter: blur(0); } }

/* 「傳媒」漸層流動 */
.hero h1 .o { background-size: 220% 100%; animation: grad-flow 7s ease-in-out infinite alternate; }
@keyframes grad-flow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.hero h1 .en-sub::before { background-size: 200% 100%; animation: grad-flow 4s ease-in-out infinite alternate; }

/* 直播牆：依序出現後緩慢漂浮（用 translate 屬性，不影響原本的錯位 transform） */
.livewall .tile { animation: tile-in .9s var(--ease-out) both, floaty 6s ease-in-out infinite; }
.livewall .tile:nth-child(1) { animation-delay: .25s, 1.2s; }
.livewall .tile:nth-child(2) { animation-delay: .35s, 2.4s; }
.livewall .tile:nth-child(3) { animation-delay: .45s, .4s; }
.livewall .tile:nth-child(4) { animation-delay: .55s, 3.1s; }
.livewall .tile:nth-child(5) { animation-delay: .65s, 1.8s; }
.livewall .tile:nth-child(6) { animation-delay: .75s, 2.9s; }
@keyframes tile-in { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: blur(0); } }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.tile .bg svg { transition: scale 1.2s var(--ease-out); }
.tile:hover .bg svg { scale: 1.05; }
/* 手機橫滑時不要漂浮，避免跟手指滑動打架 */
@media (max-width: 560px) { .livewall .tile { animation: tile-in .9s var(--ease-out) both; } }

/* 背景光暈緩慢飄移 */
.hero::after {
  content: ""; position: absolute; inset: -20%; pointer-events: none; z-index: 0;
  background: radial-gradient(420px 320px at 30% 35%, rgba(255, 91, 20, .16), transparent 70%),
              radial-gradient(520px 380px at 75% 60%, rgba(109, 77, 255, .2), transparent 70%);
  animation: drift 22s ease-in-out infinite alternate;
}
.hero .wrap { z-index: 1; }
@keyframes drift { from { translate: -4% -3%; rotate: 0deg; } to { translate: 4% 3%; rotate: 8deg; } }

/* Logo 標誌漸層緩慢流動 */
.logo .mark { background-size: 200% 200%; animation: grad-flow 6s ease-in-out infinite alternate; }

/* ---- 捲動驅動（Chrome / Edge / Safari 新版；不支援就沒有這些效果，不影響使用） ---- */
.scroll-bar { display: none; }
@supports (animation-timeline: scroll()) {
  .hdr::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
    background: linear-gradient(90deg, var(--orange), var(--violet-2));
    transform-origin: 0 50%; animation: read-progress linear both; animation-timeline: scroll(root);
  }
  @keyframes read-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  /* 浮水印視差 */
  .watermark { animation: wm-parallax linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes wm-parallax { from { translate: 0 60px; } to { translate: 0 -60px; } }

  /* 離開首屏時，主視覺淡出（只改透明度） */
  .hero > .wrap { animation: hero-out linear both; animation-timeline: view(); animation-range: exit 10% exit 90%; }
  @keyframes hero-out { to { opacity: .15; } }
}

/* ---- 捲動淡入加一點去模糊 ---- */
.reveal { filter: blur(6px); transition: opacity .7s var(--ease-out), filter .7s var(--ease-out); }
.reveal.in { filter: blur(0); }

/* ---- 跑馬燈：滑過暫停 ---- */
.ticker:hover .track { animation-play-state: paused; }

/* ---- 按鈕：不位移，改成掃光 + 光暈 ---- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn:hover { transform: none; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .32) 50%, transparent 75%);
  translate: -120% 0; transition: translate .7s var(--ease-out);
}
.btn:hover::after { translate: 120% 0; }
.btn-o:hover { box-shadow: 0 10px 34px -6px rgba(255, 91, 20, .85); }
.btn-v:hover { box-shadow: 0 10px 34px -6px rgba(109, 77, 255, .85); }
.btn-ghost::after, .btn-line::after { background: linear-gradient(110deg, transparent 25%, rgba(255, 91, 20, .14) 50%, transparent 75%); }

/* ---- 卡片：不浮起，改成邊框亮起 + 內部圖片微放大 ---- */
.card-s:hover { transform: none; border-color: rgba(255, 91, 20, .45); }
.card-s .ph svg { transition: scale .9s var(--ease-out); }
.card-s:hover .ph svg { scale: 1.06; }
.promo:hover { transform: none; }
.news-card h3 { transition: color .25s; }
.news-card:hover h3 { color: var(--orange); }
.news-card .go, .promo .go, .svc-copy .no { transition: letter-spacing .3s var(--ease-out); }
.news-card:hover .go, .promo:hover .go { letter-spacing: .06em; }

/* ---- 游標光暈（桌機滑鼠才有） ---- */
.spot { position: relative; overflow: hidden; }
.spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--spot, rgba(255, 91, 20, .16)), transparent 70%);
}
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }
.svc.spot > .no { position: relative; }
.alliance .spot, .plogo.spot, .promo.spot { --spot: rgba(157, 134, 255, .2); }

/* ---- 表單：聚焦時標籤變色 ---- */
.field label { transition: color .2s; }
.field:focus-within label { color: var(--orange); }
.v-form .field:focus-within label { color: var(--violet); }

/* ---- 數字：等寬字避免跳動時寬度抖動 ---- */
.stat b, .kpi b, .kv b, .tile .vc { font-variant-numeric: tabular-nums; }

/* ---- 手機選單項目依序淡入 ---- */
@media (max-width: 860px) {
  .hdr.open .nav > * { animation: fadein .32s ease both; }
  .hdr.open .nav > :nth-child(2) { animation-delay: .03s; } .hdr.open .nav > :nth-child(3) { animation-delay: .06s; }
  .hdr.open .nav > :nth-child(4) { animation-delay: .09s; } .hdr.open .nav > :nth-child(5) { animation-delay: .12s; }
  .hdr.open .nav > :nth-child(6) { animation-delay: .15s; } .hdr.open .nav > :nth-child(7) { animation-delay: .2s; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { filter: none; }
  .hdr::after { display: none; }
}

/* ---- 捲軸 ---- */
/* Chrome / Edge / Safari：漸層滑塊、圓角、外圈留白 */
::-webkit-scrollbar { width: 12px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--orange), var(--violet)) padding-box;
  border: 3px solid transparent; border-radius: 999px; min-height: 48px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--orange-2), var(--violet-2)) padding-box; border-width: 2px; }
::-webkit-scrollbar-corner { background: transparent; }
/* 頁內的小捲動區（表格、文字框、選單、下拉清單、直播牆）：細一點、淺色軌道 */
.tbl-wrap::-webkit-scrollbar, textarea::-webkit-scrollbar, pre::-webkit-scrollbar { width: 8px; height: 8px; }
.tbl-wrap::-webkit-scrollbar-track, textarea::-webkit-scrollbar-track { background: var(--paper); border-radius: 999px; }
.tbl-wrap::-webkit-scrollbar-thumb, textarea::-webkit-scrollbar-thumb { background: linear-gradient(90deg, var(--orange), var(--violet)) padding-box; border-width: 2px; }
.hdr .nav::-webkit-scrollbar { width: 6px; }
.hdr .nav::-webkit-scrollbar-track, pre::-webkit-scrollbar-track { background: transparent; }
.field select::picker(select) { scrollbar-width: thin; scrollbar-color: var(--orange) transparent; }
/* Firefox 只支援顏色與粗細 */
@supports (-moz-appearance: none) {
  html { scrollbar-color: var(--orange) var(--ink); scrollbar-width: thin; }
  .tbl-wrap, textarea { scrollbar-color: var(--orange) var(--paper); scrollbar-width: thin; }
}

/* 上傳的主播照片 */
.ph img, .tile .bg img, .creator-hero .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: scale .9s var(--ease-out); }
.card-s:hover .ph img, .tile:hover .bg img { scale: 1.06; }
.article img { max-width: 100%; height: auto; border-radius: 16px; margin: 10px 0 20px; }
.article blockquote { margin: 0 0 18px; padding: 12px 18px; border-left: 3px solid var(--orange); background: #fff8f3; border-radius: 0 12px 12px 0; color: var(--text); }
.article code { background: var(--paper); padding: 2px 6px; border-radius: 6px; font-size: .92em; }
.article h3 { font-size: 19px; margin: 30px 0 8px; }

/* ---- 表單錯誤提示：顯示在欄位正下方 ---- */
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e5484d; background: #fff8f8; box-shadow: 0 0 0 4px rgba(229, 72, 77, .1); }
.field.invalid label { color: #d1203a; }
.field-err { display: flex; align-items: flex-start; gap: 6px; margin: 2px 0 0; font-size: 12.5px; line-height: 1.5; color: #d1203a; font-weight: 500; animation: fadein .24s ease both; }
.field-err::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 2px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='black'/%3E%3Cpath d='M12 7v6M12 16.5h.01' stroke='white' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='black'/%3E%3Cpath d='M12 7v6M12 16.5h.01' stroke='white' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
/* 必填星號與選填說明 */
.field label i { font-style: normal; color: var(--orange); margin-left: 2px; }
/* 下拉選單箭頭貼齊右側（原本縮排太深，半寬欄位看起來像在中間） */
.field select { padding-right: 40px; background-position: right 12px center; }
@supports (appearance: base-select) {
  .field select { padding-right: 12px; }
  .field select::picker-icon { margin-right: 0; }
}
