/* FLOW CITY 官方網站｜霓虹街頭風格（稜角硬邊、細線白核心光暈） */
@font-face { font-family: "FC Black"; src: url("assets/fonts/fc-black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "FC Teko"; src: url("assets/fonts/fc-teko.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #07061a;
  --bg2: #0d0a29;
  --panel: #120f33;
  --panel2: #18144a;
  --text: #eef1ff;
  --muted: #a7aedb;
  --dim: #6f76a8;
  --cyan: #29e0ff;
  --magenta: #ff2fa6;
  --violet: #9b5cff;
  --yellow: #ffd84a;
  --line: rgba(160, 170, 255, .16);
  --cut: 14px;
  --wrap: 1240px;
  --nav-h: 68px;
  --display: "FC Black", "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", sans-serif;
  --latin: "FC Teko", "FC Black", "Arial Narrow", sans-serif;
  --body: "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", "Heiti TC", sans-serif;
  --neon-c: 0 0 1px #fff, 0 0 4px rgba(41, 224, 255, .9), 0 0 12px rgba(41, 224, 255, .45);
  --neon-m: 0 0 1px #fff, 0 0 4px rgba(255, 47, 166, .9), 0 0 12px rgba(255, 47, 166, .45);
}
*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-gutter: stable; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #fff; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.3; margin: 0; letter-spacing: .02em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); color: #000; padding: 6px 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: -3px; }
.btn:focus-visible { outline: none; }
.btn:focus-visible::after { box-shadow: inset 0 0 0 2px var(--yellow); }

/* 待填與草稿標記（TING 之後填寫） */
.fill { background: rgba(255, 63, 174, .16); color: #ff6cc0; padding: 0 4px; box-shadow: inset 0 -1px 0 rgba(255, 63, 174, .6); }
.draft { border: 1px dashed #ff3fae; color: #ff6cc0; padding: 8px 14px; margin: 24px 0 0; font-size: .9rem; background: rgba(255, 47, 166, .06); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.note { color: var(--muted); font-size: .92rem; }

/* ===== 按鈕：斜切硬邊 ===== */
.btn {
  --bc: var(--cyan);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px; font-family: var(--display); font-size: 1.05rem; color: #fff;
  clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
  transition: transform .2s, filter .2s;
  isolation: isolate;
}
.btn span { position: relative; z-index: 2; text-shadow: 0 1px 2px rgba(7, 6, 26, .6); display: flex; flex-direction: column; align-items: center; line-height: 1.2; text-align: center; }
.btn small { font-family: var(--body); font-size: .72rem; font-weight: 700; opacity: .85; margin-top: 3px; letter-spacing: .05em; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, var(--magenta), var(--violet) 55%, var(--cyan)); }
.btn::after { content: ""; position: absolute; inset: 2px; z-index: 1; clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0 100%); background: linear-gradient(100deg, #e0208f, #6a2fe6 58%, #1f6fc9); }
.btn:hover { transform: translateY(-2px) scale(1.03); filter: brightness(1.12) drop-shadow(0 0 10px rgba(255, 47, 166, .5)); color: #fff; }
.btn-main { min-height: 62px; padding: 0 42px; font-size: 1.2rem; }
.btn-ghost::before { background: linear-gradient(100deg, var(--cyan), #fff 50%, var(--cyan)); }
.btn-ghost::after { background: rgba(8, 10, 34, .82); }
.btn-ghost:hover { filter: drop-shadow(0 0 10px rgba(41, 224, 255, .55)); }
.btn-mini { min-height: 38px; padding: 0 20px; font-size: .92rem; }
.btn-wide { padding: 0 34px; }
.btn[aria-disabled="true"] { cursor: default; }

/* ===== 導覽列 ===== */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); transition: background .3s, box-shadow .3s; }
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7) 20%, rgba(255, 255, 255, .7) 80%, transparent); box-shadow: 0 0 6px rgba(41, 224, 255, .8); opacity: 0; transition: opacity .3s; }
.nav::before { content: ""; position: absolute; inset: 0; background: rgba(7, 6, 26, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s; }
.nav.solid::before, body:not(.home) .nav::before, .nav-open .nav::before { opacity: 1; }
.nav-in { position: relative; }
.nav.solid::after, body:not(.home) .nav::after { opacity: 1; }
.nav-in { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 20px; }
.nav-logo img { width: 138px; filter: drop-shadow(0 0 6px rgba(255, 47, 166, .35)); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { position: relative; color: var(--text); font-family: var(--display); font-size: .95rem; padding: 8px 12px; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--cyan); box-shadow: var(--neon-c); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-links a:hover::after, .nav-links a.on::after { transform: scaleX(1); }
.nav-links a:hover { color: #fff; }
.nav-sub { display: flex; margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--line); }
.nav-sub a { font-family: var(--body); font-weight: 700; font-size: .84rem; color: var(--muted); padding: 8px 8px; }
.nav-sub a::after { left: 8px; right: 8px; }
.nav-cta { flex: none; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.nav-toggle i { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; box-shadow: var(--neon-c); transition: transform .25s, opacity .25s; }
.nav-toggle i:nth-child(1) { top: 14px; } .nav-toggle i:nth-child(2) { top: 21px; } .nav-toggle i:nth-child(3) { top: 28px; }
.nav-open .nav-toggle i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle i:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== 主視覺 ===== */
.hero { position: relative; min-height: max(680px, 100vh); min-height: max(680px, 100svh); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 50% 40%; animation: heroZoom 24s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero-shade { position: absolute; inset: 0; background:
  radial-gradient(ellipse 55% 50% at 50% 42%, rgba(7, 6, 26, .62), transparent 70%),
  linear-gradient(180deg, rgba(7, 6, 26, .7) 0%, rgba(7, 6, 26, .05) 22%, rgba(7, 6, 26, .1) 60%, var(--bg) 100%); }
.hero-beams { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; }
.hero-beams i { position: absolute; top: -20%; width: 2px; height: 140%; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .9) 50%, transparent); box-shadow: 0 0 8px rgba(41, 224, 255, .9), 0 0 22px rgba(41, 224, 255, .4); opacity: .0; transform: rotate(18deg); animation: beam 9s linear infinite; }
.hero-beams i:nth-child(2) { left: 30%; animation-delay: 2.2s; box-shadow: 0 0 8px rgba(255, 47, 166, .9), 0 0 22px rgba(255, 47, 166, .4); }
.hero-beams i:nth-child(3) { left: 62%; animation-delay: 4.6s; transform: rotate(-16deg); }
.hero-beams i:nth-child(4) { left: 84%; animation-delay: 6.8s; transform: rotate(-16deg); box-shadow: 0 0 8px rgba(155, 92, 255, .9), 0 0 22px rgba(155, 92, 255, .4); }
.hero-beams i:nth-child(1) { left: 12%; }
@keyframes beam { 0% { opacity: 0; translate: -120px 0; } 10% { opacity: .55; } 30% { opacity: 0; translate: 120px 0; } 100% { opacity: 0; } }

.hero-cast { position: absolute; inset: auto 0 0; height: min(78vh, 760px); pointer-events: none; }
.hero-cast .c { position: absolute; bottom: -2%; height: 100%; width: auto; filter: drop-shadow(0 0 18px rgba(7, 6, 26, .9)); animation: bob 5s ease-in-out infinite; }
.hero-cast .c1 { left: max(-4%, calc(50% - 980px)); height: 84%; animation-delay: -1.5s; }
.hero-cast .c2 { left: max(5%, calc(50% - 840px)); height: 92%; z-index: 2; animation-delay: -.4s; }
.hero-cast .c3 { left: max(14%, calc(50% - 690px)); height: 80%; animation-delay: -2.6s; }
.hero-cast .c4 { right: max(14%, calc(50% - 690px)); height: 82%; animation-delay: -3.1s; }
.hero-cast .c5 { right: max(5%, calc(50% - 840px)); height: 92%; z-index: 2; animation-delay: -.9s; }
.hero-cast .c6 { right: max(-4%, calc(50% - 980px)); height: 84%; animation-delay: -2s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-copy { position: relative; z-index: 5; text-align: center; padding: calc(var(--nav-h) + 20px) 24px 120px; max-width: 760px; }
.hero-copy::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 52%; width: 130%; height: 78%; transform: translate(-50%, -50%); background: radial-gradient(ellipse at center, rgba(7, 6, 26, .78), rgba(7, 6, 26, .45) 45%, transparent 72%); pointer-events: none; }
.hero-kicker { font-family: var(--latin); font-size: 1.15rem; letter-spacing: .32em; color: var(--cyan); text-shadow: var(--neon-c); margin: 0 0 4px; }
.hero-kicker span { padding-left: .32em; }
.hero-logo img { width: min(640px, 86vw); margin: 0 auto; filter: drop-shadow(0 0 14px rgba(255, 47, 166, .45)) drop-shadow(0 6px 0 rgba(7, 6, 26, .6)); animation: logoIn 1.1s cubic-bezier(.2, .9, .2, 1.2) both; }
@keyframes logoIn { from { opacity: 0; transform: scale(.82) rotate(-3deg); } to { opacity: 1; transform: none; } }
.hero-tag { font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.25; margin: 8px 0 6px; text-shadow: 0 3px 0 rgba(7, 6, 26, .8), 0 0 18px rgba(7, 6, 26, .9); }
.hero-tag em { font-style: normal; color: var(--yellow); background: url("assets/img/deco-brush.webp") 50% 100% / 100% 14px no-repeat; padding-bottom: 6px; }
.hero-sub { color: #d9defa; font-weight: 700; font-size: clamp(.95rem, 1.6vw, 1.1rem); text-shadow: 0 2px 8px rgba(7, 6, 26, .95); margin-bottom: 26px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-meta { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hero-meta li { font-size: .82rem; font-weight: 700; color: #dfe4ff; padding: 3px 12px; background: rgba(7, 6, 26, .7); border: 1px solid rgba(41, 224, 255, .45); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.hero-scroll { position: absolute; z-index: 6; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-family: var(--latin); letter-spacing: .3em; font-size: .9rem; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero-scroll::after { content: ""; width: 1px; height: 38px; background: linear-gradient(#fff, transparent); box-shadow: 0 0 6px var(--cyan); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ===== 共用區段 ===== */
.sec { position: relative; padding: 96px 0; }
.sec-head { position: relative; text-align: center; margin-bottom: 48px; }
.sec-head[data-bg]::before { content: attr(data-bg); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -58%); z-index: -1; font-family: var(--latin); font-size: clamp(5rem, 13vw, 12rem); line-height: 1; letter-spacing: .04em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(160, 170, 255, .07); pointer-events: none; }
main { position: relative; isolation: isolate; }
body.home main { overflow: hidden; }
main::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background:
  linear-gradient(rgba(160, 170, 255, .035) 1px, transparent 1px) 0 0 / 64px 64px,
  linear-gradient(90deg, rgba(160, 170, 255, .035) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); }
.sec::before { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 560px; height: 560px; border-radius: 50%; filter: blur(80px); opacity: .22; }
.news::before { left: -220px; top: 10%; background: var(--violet); }
.features::before { right: -240px; top: 20%; background: var(--magenta); }
.avatars::before { left: -200px; top: 25%; background: var(--cyan); opacity: .14; }
.world::before { right: -220px; top: 10%; background: var(--violet); }
.gallery::before { left: -240px; bottom: 0; background: var(--magenta); opacity: .16; }
.contact::before { right: -200px; top: 0; background: var(--cyan); opacity: .12; }
.sec .wrap { position: relative; }
.eyebrow { font-family: var(--latin); color: var(--cyan); letter-spacing: .3em; font-size: 1.1rem; margin: 0 0 2px; text-shadow: var(--neon-c); }
.sec-head h2, .world-text h2 { font-size: clamp(2rem, 4vw, 3rem); display: inline-block; position: relative; padding: 0 10px 12px; isolation: isolate; }
.sec-head h2::after, .world-text h2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: url("assets/img/deco-brush.webp") center / 100% 100% no-repeat; opacity: .9; z-index: -1; }
.sec-head h2 { text-shadow: 0 0 1px rgba(255, 255, 255, .6); }
.sec-head h2::before { content: ""; position: absolute; right: -28px; top: -18px; width: 42px; height: 37px; background: url("assets/img/deco-crown.webp") center / contain no-repeat; transform: rotate(14deg); }
.sec-lead { max-width: 720px; margin: 18px auto 0; color: #cfd5f5; }

/* 斜角面板：外層漸層＝邊線，內層＝底色 */
.panel { position: relative; padding: 28px 32px; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); background: linear-gradient(135deg, rgba(41, 224, 255, .85), rgba(155, 92, 255, .5) 40%, rgba(255, 47, 166, .85)); }
.panel::before { content: ""; position: absolute; inset: 1px; clip-path: polygon(calc(var(--cut) - .5px) 0, 100% 0, 100% calc(100% - var(--cut) + .5px), calc(100% - var(--cut) + .5px) 100%, 0 100%, 0 calc(var(--cut) - .5px)); background: linear-gradient(160deg, rgba(22, 18, 64, .97), rgba(11, 9, 36, .97)); }
.panel > * { position: relative; }

/* 進場動畫 */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ===== 關於 ===== */
.about { margin-top: 26px; }
.about-panel { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: center; padding: 40px 44px; }
.about h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 0 0 16px; }
.about-text > p:not(.eyebrow) { color: #dde2ff; }
.about-meta { font-size: .95rem; color: var(--muted) !important; border-left: 3px solid var(--magenta); padding-left: 12px; }
.about-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-stats li { padding: 18px 12px; text-align: center; background: rgba(41, 224, 255, .06); border: 1px solid rgba(41, 224, 255, .22); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.about-stats b { display: block; font-family: var(--latin); font-size: 2.4rem; line-height: 1; color: #fff; text-shadow: var(--neon-m); }
.about-stats span { font-size: .88rem; font-weight: 700; color: var(--muted); }

/* ===== 最新消息 ===== */
.news { background: linear-gradient(180deg, transparent, rgba(155, 92, 255, .06) 50%, transparent); }
.news-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.slider { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); background: var(--panel); }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity .8s; }
.slide.on { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease-out; }
.slide.on img { transform: scale(1.05); }
.slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 60px 44px 24px; background: linear-gradient(transparent, rgba(7, 6, 26, .92)); color: #fff; font-family: var(--display); font-size: clamp(1.15rem, 2.2vw, 1.6rem); display: flex; align-items: center; gap: 12px; }
.slide-cap em { font-style: normal; font-size: .8rem; padding: 2px 12px; color: #0a0820; background: #ff6cc0; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); flex: none; }
.sl-arrow { position: absolute; z-index: 3; top: 50%; width: 44px; height: 44px; margin-top: -22px; background: rgba(7, 6, 26, .65); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); transition: background .2s; }
.sl-arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; border: solid #fff; border-width: 2px 2px 0 0; transform: translate(-65%, -50%) rotate(45deg); filter: drop-shadow(0 0 3px var(--cyan)); }
.sl-arrow.prev { left: 10px; } .sl-arrow.next { right: 10px; }
.sl-arrow.prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.sl-arrow:hover { background: rgba(255, 47, 166, .8); }
.sl-dots { position: absolute; z-index: 3; left: 24px; bottom: 16px; display: flex; gap: 8px; }
.sl-dots button { width: 26px; height: 24px; background: linear-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, .35)) center / 100% 4px no-repeat; transform: skewX(-30deg); }
.sl-dots button.on { background-image: linear-gradient(#fff, #fff); width: 40px; filter: drop-shadow(0 0 3px var(--cyan)); }
.sl-dots { bottom: 6px; align-items: center; }
.sl-pause { position: absolute; z-index: 3; right: 12px; bottom: 10px; width: 34px; height: 34px; background: rgba(7, 6, 26, .7); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.sl-pause::before, .sl-pause::after { content: ""; position: absolute; top: 11px; width: 3px; height: 12px; background: #fff; }
.sl-pause::before { left: 13px; } .sl-pause::after { left: 19px; }
.sl-pause.paused::before { left: 13px; width: 0; height: 0; top: 10px; background: none; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; }
.sl-pause.paused::after { display: none; }
.sl-pause:hover { background: rgba(255, 47, 166, .85); }
.gal-main .sl-pause { bottom: auto; top: 10px; }
.news-list { display: flex; flex-direction: column; }
.tabs { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.tab { font-family: var(--display); font-size: .95rem; padding: 6px 18px; color: var(--muted); background: rgba(255, 255, 255, .04); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: color .2s, background .2s; }
.tab:hover { color: #fff; }
.tab.on { color: #0a0820; background: var(--cyan); }
.news-items { list-style: none; margin: 0; padding: 0; flex: 1; }
.news-items li { border-bottom: 1px solid var(--line); }
.news-items li[hidden] { display: none; }
.news-items a { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 15px 6px; color: var(--text); transition: background .2s, padding .2s; }
.news-items a:hover { background: linear-gradient(90deg, rgba(41, 224, 255, .1), transparent); padding-left: 12px; }
.news-items .nt { font-weight: 700; min-width: 0; }
.news-items time { font-family: var(--latin); font-size: 1.1rem; color: #8fd8ff; letter-spacing: .05em; }
.tag { font-family: var(--display); font-size: .78rem; padding: 1px 10px; color: #0a0820; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.t-notice { background: var(--yellow); } .t-shop { background: #ff6cc0; } .t-system { background: var(--cyan); }

/* ===== 遊戲特色：左右交錯大圖 ===== */
.feat-rows { display: grid; gap: 72px; }
.feat-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.feat-row:nth-child(even) .feat-media { order: 2; }
.feat-media { position: relative; }
.feat-media::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid rgba(255, 255, 255, .55); box-shadow: 0 0 6px rgba(41, 224, 255, .7), inset 0 0 6px rgba(41, 224, 255, .4); clip-path: polygon(26px 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%, 0 26px); pointer-events: none; }
.feat-row:nth-child(even) .feat-media::before { inset: 14px 14px -14px -14px; box-shadow: 0 0 6px rgba(255, 47, 166, .7), inset 0 0 6px rgba(255, 47, 166, .4); }
.feat-media img { position: relative; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; clip-path: polygon(26px 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%, 0 26px); transition: transform .6s; }
.feat-art img { background: radial-gradient(circle at 50% 55%, #4a2690, #120c38 72%); object-fit: contain; }
.feat-beat img { padding-top: 12px; filter: drop-shadow(0 0 22px rgba(41, 224, 255, .4)); }
.feat-row:hover .feat-media img { transform: scale(1.02); }
.feat-copy { position: relative; }
.feat-no { display: block; font-family: var(--latin); font-size: clamp(5rem, 8vw, 7.5rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .9); text-shadow: 0 0 12px rgba(255, 47, 166, .55); margin-bottom: 8px; }
.feat-en { font-family: var(--latin); color: var(--cyan); letter-spacing: .25em; font-size: 1.1rem; margin: 0 0 2px; text-shadow: var(--neon-c); }
.feat-copy h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.feat-copy h3::before { content: ""; display: inline-block; width: 12px; height: .9em; margin-right: 12px; vertical-align: -.08em; background: var(--magenta); transform: skewX(-18deg); box-shadow: var(--neon-m); }
.feat-copy > p:last-child { color: #d6dcf8; font-size: 1.08rem; margin: 0; max-width: 30em; }

/* 街頭跑馬條分隔帶 */
.ticker { position: relative; z-index: 2; overflow: hidden; margin: 10px 0; padding: 12px 0; background: var(--yellow); transform: rotate(-2deg) scale(1.04); box-shadow: 0 0 0 1px #fff, 0 0 18px rgba(255, 216, 74, .35); }
.ticker-alt { background: var(--magenta); transform: rotate(1.6deg) scale(1.04); box-shadow: 0 0 0 1px #fff, 0 0 18px rgba(255, 47, 166, .4); }
.tk-row { --g: 28px; display: flex; align-items: center; gap: 28px; width: max-content; animation: mq 40s linear infinite; }
.ticker-alt .tk-row { animation-direction: reverse; }
.tk-row span { font-family: var(--latin); font-size: 2.4rem; line-height: 1; color: #0a0820; letter-spacing: .06em; white-space: nowrap; padding-top: 4px; }
.ticker-alt .tk-row span { color: #fff; font-family: var(--display); font-size: 1.7rem; }
.tk-row i { flex: none; width: 18px; height: 18px; background: #0a0820; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.ticker-alt .tk-row i { background: #fff; }

/* ===== 職業 ===== */
.jobs { overflow: hidden; }
.jobs-bg { position: absolute; inset: 0; background: url("assets/img/bg-stage.webp") center / cover no-repeat; opacity: .22; }
.jobs-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.jobs .wrap { position: relative; }
.job-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.job-tab { --c: var(--cyan); font-family: var(--display); font-size: 1.1rem; padding: 10px 26px; min-width: 128px; color: #fff; background: rgba(255, 255, 255, .05); border-bottom: 3px solid transparent; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); transition: background .25s, color .25s; }
.job-tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.job-tab img { width: 30px; height: 30px; }
.job-tab:hover { background: rgba(255, 255, 255, .12); }
.job-tab.on { background: var(--c); color: #0a0820; }
.job-panes { position: relative; }
.job { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.job[hidden] { display: none; }
.job.on { animation: jobIn .55s cubic-bezier(.2, .8, .2, 1); }
@keyframes jobIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.job-art { position: relative; }
.job-art::before { content: ""; position: absolute; inset: 8% 6%; background: radial-gradient(circle, var(--c), transparent 65%); opacity: .35; filter: blur(30px); }
.job-art img { position: relative; width: 100%; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .5)); }
.job-title { width: min(330px, 80%); margin: 0 0 6px -8px; }
.job-role { display: inline-block; font-family: var(--display); font-size: .95rem; color: #0a0820; background: var(--c); padding: 2px 14px; margin-bottom: 14px; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.job-info > p:not(.job-role) { color: #dfe3fb; font-size: 1.04rem; }
.skills { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.skills li { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 10px 14px; background: rgba(10, 8, 34, .78); border-left: 3px solid var(--c); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); transition: background .2s, transform .2s; }
.skills li:hover { background: rgba(30, 24, 80, .9); transform: translateX(4px); }
.skills img { grid-row: 1 / 3; width: 52px; height: 52px; }
.skills b { font-family: var(--latin); font-size: 1.3rem; line-height: 1.1; letter-spacing: .04em; color: #fff; }
.skills span { font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* ===== 角色造型 ===== */
.av { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.av-stage { position: relative; height: 620px; display: flex; justify-content: center; align-items: flex-end; }
.av-ring { position: absolute; left: 50%; bottom: 30px; width: 420px; height: 420px; margin-left: -210px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); box-shadow: 0 0 4px #fff, 0 0 18px rgba(41, 224, 255, .55), inset 0 0 40px rgba(155, 92, 255, .3); background: radial-gradient(circle, rgba(155, 92, 255, .25), transparent 65%); }
.av-ring::after { content: ""; position: absolute; inset: 24px; border-radius: 50%; border: 1px dashed rgba(255, 47, 166, .55); animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.av-big { position: relative; height: 600px; width: auto; filter: drop-shadow(0 0 22px rgba(7, 6, 26, .9)); transition: opacity .3s, transform .3s; }
.av-big.swap { opacity: 0; transform: translateX(-24px); }
.av-name { position: absolute; left: 0; top: 40px; display: flex; flex-direction: column; }
.av-name b { font-family: var(--display); font-size: 3.4rem; line-height: 1; writing-mode: vertical-rl; color: #fff; text-shadow: 0 0 1px #fff, 0 0 10px var(--magenta); letter-spacing: .15em; }
.av-name span { font-family: var(--latin); letter-spacing: .3em; color: var(--cyan); margin-top: 8px; }
.av-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.av-list button { --c: var(--cyan); position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: linear-gradient(170deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .01)); clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); transition: transform .25s, background .25s; }
.av-list button::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .14); }
.av-list img { position: absolute; left: 50%; top: 6%; height: 130%; width: auto; max-width: none; transform: translateX(-50%); transition: transform .35s; }
.av-list span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 8px; background: linear-gradient(transparent, rgba(7, 6, 26, .95)); font-family: var(--display); font-size: 1.1rem; text-align: center; }
.av-list button:hover { transform: translateY(-4px) scale(1.03); }
.av-list button:hover img { transform: translateX(-50%) scale(1.05); }
.av-list button.on { background: linear-gradient(170deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .02)); background: linear-gradient(170deg, color-mix(in srgb, var(--c) 55%, transparent), rgba(255, 255, 255, .02)); }
.av-list button.on::after { border: 2px solid var(--c); box-shadow: inset 0 0 14px var(--c); }

/* ===== BEAT 跑馬燈 ===== */
.beats { overflow: hidden; padding-bottom: 90px; }
.marquee { display: grid; gap: 18px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-row { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; width: max-content; animation: mq 60s linear infinite; }
.mq-row.rev { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .mq-row { animation-play-state: paused; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--g, 18px) / 2)); } }
.marquee.paused .mq-row, .marquee:focus-within .mq-row { animation-play-state: paused; }
.mq-ctrl { display: flex; justify-content: flex-end; margin: -24px auto 12px; }
.mq-pause { font-size: .85rem; font-weight: 700; color: var(--muted); padding: 4px 14px; border: 1px solid var(--line); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.mq-pause:hover { color: #fff; border-color: var(--cyan); }
.mq-row li { flex: none; width: 190px; padding: 12px 12px 10px; text-align: center; background: linear-gradient(170deg, rgba(41, 224, 255, .08), rgba(255, 47, 166, .06)); clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); transition: background .25s; }
.mq-row li:hover { background: linear-gradient(170deg, rgba(41, 224, 255, .2), rgba(255, 47, 166, .18)); }
.mq-row img { width: 150px; height: 150px; margin: 0 auto; transition: transform .3s; }
.mq-row li:hover img { transform: scale(1.1) rotate(-3deg); }
.mq-row span { font-family: var(--display); font-size: 1rem; }

/* ===== 世界 ===== */
.world { background: radial-gradient(ellipse at 30% 50%, rgba(41, 224, 255, .08), transparent 60%); }
.world-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.map-btn { position: relative; display: block; width: 100%; padding: 8px; background: linear-gradient(135deg, var(--cyan), var(--violet), var(--magenta)); clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px); transform: rotate(-1.5deg); transition: transform .35s; }
.map-btn:hover { transform: rotate(0) scale(1.02); }
.map-btn img { width: 100%; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.map-zoom { position: absolute; right: 22px; bottom: 22px; font-family: var(--display); font-size: .85rem; padding: 4px 14px; background: rgba(7, 6, 26, .85); color: #fff; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.world-text h2 { padding-left: 0; margin-bottom: 14px; }
.world-quote { font-family: var(--display); font-size: 1.3rem; color: var(--yellow); }
.world-text > p:not(.eyebrow):not(.world-quote) { color: #d5dbf7; }
.areas { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.areas li { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding: 10px 14px; background: rgba(255, 255, 255, .035); border-left: 3px solid var(--cyan); }
.areas li:nth-child(2) { border-color: var(--yellow); } .areas li:nth-child(3) { border-color: var(--magenta); } .areas li:nth-child(4) { border-color: var(--violet); } .areas li:nth-child(5) { border-color: #ff4a4a; }
.areas b { font-family: var(--display); font-size: 1.08rem; }
.areas span { color: var(--muted); font-size: .92rem; }

/* ===== 實機畫面 ===== */
.gal-main { position: relative; clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px); background: #000; }
.gal-view { display: block; width: 100%; aspect-ratio: 16 / 9; cursor: zoom-in; }
.gal-view img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.gal-view img.swap { opacity: 0; }
.gal-cap { position: absolute; left: 0; bottom: 0; margin: 0; padding: 8px 22px 8px 18px; font-family: var(--display); background: rgba(7, 6, 26, .85); border-top: 1px solid rgba(41, 224, 255, .5); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%); pointer-events: none; }
.gal-thumbs { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.gal-thumbs button { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; opacity: .55; outline-offset: -2px; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: opacity .2s; position: relative; }
.gal-thumbs button::after { content: ""; position: absolute; inset: 0; border: 2px solid transparent; }
.gal-thumbs button.on, .gal-thumbs button:hover { opacity: 1; }
.gal-thumbs button.on::after { border-color: var(--cyan); box-shadow: inset 0 0 10px rgba(41, 224, 255, .7); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gal-note { margin-top: 12px; font-size: .9rem; color: var(--muted); text-align: right; }

/* ===== 商城 ===== */
.shop { overflow: hidden; }
.shop-bg { position: absolute; inset: 0; background: url("assets/img/bg-shop.webp") center / cover no-repeat; opacity: .2; }
.shop-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--bg), rgba(7, 6, 26, .6) 25%, rgba(7, 6, 26, .6) 75%, var(--bg)); }
.shop .wrap { position: relative; }
.shop .sec-lead strong { color: var(--yellow); }
.packs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.pack { position: relative; text-align: center; padding: 16px 10px 18px; background: linear-gradient(180deg, rgba(41, 224, 255, .14), rgba(18, 15, 51, .95) 45%); clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); transition: transform .3s, background .3s; }
.pack::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(41, 224, 255, .3); pointer-events: none; }
.pack:hover { transform: translateY(-6px); background: linear-gradient(180deg, rgba(255, 47, 166, .22), rgba(18, 15, 51, .95) 50%); }
.pack img { width: 116px; height: 116px; margin: 0 auto 6px; filter: drop-shadow(0 0 12px rgba(41, 224, 255, .45)); transition: transform .3s; }
.pack:hover img { transform: scale(1.08) rotate(-4deg); }
.pack h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pack p { margin: 0; }
.pk-get .num { display: block; font-family: var(--display); color: var(--yellow); font-size: 1rem; line-height: 1.4; min-height: 2.8em; display: flex; align-items: center; justify-content: center; }
.pk-price { margin-top: 10px !important; font-family: var(--latin); font-size: 1.7rem; line-height: 1.1; color: #fff; padding: 6px 4px 4px; background: rgba(255, 255, 255, .06); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.pack .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pack-top { background: linear-gradient(180deg, rgba(255, 216, 74, .2), rgba(18, 15, 51, .95) 45%); }
.pack-top::after { border-color: rgba(255, 216, 74, .55); }
.shop-note { text-align: center; margin: 16px 0 34px; }
.monthly { display: grid; grid-template-columns: 170px 1fr; gap: 26px; align-items: center; padding: 22px 30px; background: linear-gradient(100deg, rgba(155, 92, 255, .3), rgba(255, 47, 166, .18) 60%, rgba(41, 224, 255, .12)); clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); position: relative; }
.monthly::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .25); pointer-events: none; }
.monthly img { width: 160px; filter: drop-shadow(0 0 16px rgba(255, 47, 166, .5)); }
.monthly h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-bottom: 8px; }
.monthly p { margin: 0; color: #e6e9ff; }
.pay { margin-top: 26px; text-align: center; }
.pay-chips { list-style: none; padding: 0; margin: 0 0 14px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pay-chips li { font-weight: 700; font-size: .9rem; padding: 6px 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(41, 224, 255, .4); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.pay .note { max-width: 820px; margin: 0 auto 10px; }
.pay-links { display: flex; justify-content: center; gap: 22px; font-weight: 700; }
.pay-links a::after { content: " ›"; }

/* ===== 客服 ===== */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.contact-card p { margin: 0; line-height: 2.1; }
.policy-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.policy-links a { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 14px 22px; color: #fff; background: rgba(255, 255, 255, .05); border-left: 3px solid var(--magenta); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); transition: background .2s, padding .2s; }
.policy-links a:hover { background: rgba(255, 47, 166, .16); padding-left: 28px; }
.policy-links b { font-family: var(--display); font-size: 1.15rem; }
.policy-links span { font-family: var(--latin); color: var(--dim); letter-spacing: .15em; font-size: .95rem; line-height: 1.2; }

/* ===== 頁尾 ===== */
.foot { position: relative; margin-top: 40px; padding: 50px 0 40px; background: #040313; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, #fff 30%, #fff 70%, transparent); box-shadow: 0 0 8px var(--magenta), 0 0 16px rgba(255, 47, 166, .4); }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.foot-logo img { width: 170px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: flex-end; }
.foot-links a { color: var(--text); font-weight: 700; font-size: .95rem; }
.foot-links a:hover { color: var(--cyan); }
.rating { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rating-badge { flex: none; width: 56px; height: 56px; display: grid; place-items: center; font-family: var(--display); font-size: .95rem; color: #fff; border: 2px solid var(--yellow); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.rating p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.8; }
.copy { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .88rem; }
.copy a { color: var(--muted); }

/* ===== 燈箱 ===== */
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(4, 3, 19, .94); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1600px, 100%); max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); width: auto; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 30px rgba(41, 224, 255, .35); }
.lb-close { position: absolute; top: 12px; right: 16px; width: 48px; height: 48px; font-size: 2rem; line-height: 1; color: #fff; }
.lb-close:hover { color: var(--magenta); }

/* ===== 條款頁 ===== */
.page-hero { position: relative; padding: calc(var(--nav-h) + 60px) 0 60px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url("assets/img/hero-bg-1440.webp") center 40% / cover no-repeat; opacity: .55; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 6, 26, .5), rgba(7, 6, 26, .35) 40%, var(--bg)); }
.page-hero .wrap { position: relative; z-index: 1; }
.crumbs { font-size: .88rem; color: var(--muted); margin: 0 0 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 8px; color: var(--dim); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); text-shadow: 0 3px 0 rgba(7, 6, 26, .7); display: inline-block; position: relative; padding-bottom: 10px; isolation: isolate; }
.page-hero h1::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: 0; height: 14px; background: url("assets/img/deco-brush.webp") center / 100% 100% no-repeat; z-index: -1; }
.page-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.page-tabs a { font-family: var(--display); font-size: .95rem; padding: 7px 18px; color: #fff; background: rgba(7, 6, 26, .65); border: 1px solid rgba(255, 255, 255, .18); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.page-tabs a:hover { background: rgba(41, 224, 255, .2); }
.page-tabs a.on { background: var(--cyan); color: #0a0820; border-color: var(--cyan); }
.page .wrap { max-width: 1280px; }
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 60px; }
.doc.no-toc { grid-template-columns: minmax(0, 1fr); max-width: 900px; margin: 0 auto; }
.toc { position: sticky; top: calc(var(--nav-h) + 20px); padding: 18px 0; border-left: 1px solid var(--line); }
.toc p { font-family: var(--latin); letter-spacing: .25em; color: var(--cyan); margin: 0 0 6px 18px; }
.toc a { display: block; padding: 6px 14px 6px 18px; color: #c3c9ee; font-size: .95rem; line-height: 1.5; border-left: 2px solid transparent; margin-left: -1px; }
.toc a:hover, .toc a.on { color: #fff; border-color: var(--magenta); background: linear-gradient(90deg, rgba(255, 47, 166, .12), transparent); }
.doc .draft { margin: 0 0 20px; }
.article { padding: 40px 48px; }
.article h3 { font-size: 1.22rem; margin: 34px 0 10px; padding: 0 0 8px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.article h3::before { content: ""; flex: none; width: 8px; height: 20px; background: var(--cyan); transform: skewX(-18deg); box-shadow: var(--neon-c); }
.article > :first-child, .article > .note:first-child + h3 { margin-top: 0; }
.article p { color: #e2e6fc; font-size: 1.06rem; line-height: 1.95; }
.article .note { color: var(--muted); }
.article table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: .97rem; }
.article th, .article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font-family: var(--display); font-weight: 900; color: #0a0820; background: var(--cyan); }
.article tr:nth-child(even) td { background: rgba(255, 255, 255, .025); }
.article a { text-decoration: underline; text-underline-offset: 3px; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; background: rgba(7, 6, 26, .85); border: 1px solid rgba(41, 224, 255, .6); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.to-top::before { content: ""; position: absolute; left: 50%; top: 55%; width: 12px; height: 12px; border: solid #fff; border-width: 2px 0 0 2px; transform: translate(-50%, -50%) rotate(45deg); }
.to-top.show { opacity: 1; pointer-events: auto; }

/* ===== 響應式 ===== */
@media (min-width: 1600px) {
  :root { --wrap: 1440px; }
  body { font-size: 17px; }
  .news-items .nt { font-size: 1.05rem; }
}
@media (max-width: 1500px) {
  .hero-cast { height: min(70vh, 640px); }
  .hero-cast .c3, .hero-cast .c4 { display: none; }
  .hero-cast .c1 { left: -7%; } .hero-cast .c2 { left: 2%; }
  .hero-cast .c5 { right: 2%; } .hero-cast .c6 { right: -7%; }
  .hero-logo img { width: min(560px, 86vw); }
}
@media (max-width: 1180px) {
  .nav-sub { display: none; }
  .packs { grid-template-columns: repeat(3, 1fr); }
  .gal-thumbs { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 980px) {
  :root { --nav-h: 60px; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links { position: fixed; inset: var(--nav-h) 0 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 18px 24px 40px; background: rgba(7, 6, 26, .97); overflow-y: auto; transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); visibility: hidden; }
  .nav-open .nav-links { transform: none; visibility: visible; }
  .nav-links a { font-size: 1.2rem; padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-sub { display: flex; flex-direction: column; margin: 12px 0 0; padding: 0; border: 0; }
  .nav-sub a { font-size: 1rem; padding: 10px 6px; }
  .about-panel, .news-grid, .job, .av, .world-grid, .contact-grid, .feat-row { grid-template-columns: 1fr; }
  .feat-row { gap: 30px; }
  .feat-row:nth-child(even) .feat-media { order: 0; }
  .feat-rows { gap: 60px; }
  .about-stats { grid-template-columns: repeat(4, 1fr); }
  .job-art { max-width: 560px; margin: 0 auto; }
  .av-stage { height: 480px; }
  .av-big { height: 470px; }
  .doc { grid-template-columns: 1fr; }
  .toc { display: none; }
  .hero-cast { height: min(60vh, 560px); opacity: .9; }
  .hero-cast .c3, .hero-cast .c4 { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .nav-in { padding: 0 16px; }
  .nav-logo img { width: 116px; }
  .sec { padding: 72px 0; }
  .sec-head { margin-bottom: 32px; }
  .sec-head h2::before { right: -20px; top: -12px; width: 30px; height: 27px; }
  .hero { min-height: max(640px, 100svh); align-items: flex-start; }
  .hero-copy { padding: calc(var(--nav-h) + 26px) 16px 0; }
  .hero-kicker { font-size: .95rem; letter-spacing: .2em; }
  .hero-cta { flex-wrap: nowrap; gap: 8px; }
  .hero-cta .btn { flex: 1 1 0; min-width: 0; padding: 0 14px; font-size: 1rem; min-height: 56px; }
  .hero-cta .btn small { font-size: .75rem; }
  .hero-cast { height: 300px; }
  .sec-head[data-bg]::before { display: none; }
  .feat-media::before { inset: 10px -6px -10px 10px; }
  .feat-row:nth-child(even) .feat-media::before { inset: 10px 10px -10px -6px; }
  .feat-no { font-size: 4.6rem; }
  .tk-row span { font-size: 1.8rem; }
  .ticker-alt .tk-row span { font-size: 1.3rem; }
  .pay-chips { display: grid; grid-template-columns: 1fr 1fr; }
  .pay-chips li:last-child { grid-column: 1 / -1; justify-self: center; }
  .hero-cast .c1, .hero-cast .c6 { display: none; }
  .hero-cast .c2 { left: -14%; height: 100%; }
  .hero-cast .c5 { right: -14%; height: 100%; }
  .hero-cast .c3, .hero-cast .c4 { display: block; height: 88%; }
  .hero-cast .c3 { left: 18%; }
  .hero-cast .c4 { right: 18%; }
  .hero-scroll { display: none; }
  .hero-meta { margin-top: 16px; }
  .panel { padding: 22px 18px; }
  .about-panel { padding: 26px 20px; gap: 22px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-stats b { font-size: 2rem; }
  .btn-wide { padding: 0 20px; width: 100%; }
  .btn-wide span { font-size: 1rem; }
  .news-items a { grid-template-columns: auto 1fr; gap: 4px 10px; padding: 13px 4px; }
  .news-items time { grid-column: 2; font-size: .95rem; line-height: 1; }
  .slide-cap { padding: 40px 16px 34px; }
  .job-tabs { gap: 6px; }
  .job-tab { min-width: 0; flex: 1 1 40%; padding: 9px 10px; font-size: 1rem; }
  .job { gap: 18px; }
  .av-stage { height: 400px; }
  .av-big { height: 390px; }
  .av-ring { width: 300px; height: 300px; margin-left: -150px; bottom: 20px; }
  .av-name { top: 10px; }
  .av-name b { font-size: 2.4rem; }
  .av-list { gap: 8px; }
  .av-list span { font-size: .95rem; padding-bottom: 6px; }
  .mq-row li { width: 140px; }
  .mq-row img { width: 110px; height: 110px; }
  .world-grid { gap: 30px; }
  .gal-thumbs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .gal-cap { font-size: .85rem; padding: 5px 18px 5px 12px; }
  .gal-main .sl-arrow { width: 44px; height: 44px; margin-top: -22px; }
  .packs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pack img { width: 92px; height: 92px; }
  .pk-price { font-size: 1.5rem; }
  .monthly { grid-template-columns: 1fr; text-align: center; padding: 22px 18px; gap: 10px; }
  .monthly img { width: 120px; margin: 0 auto; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .page-hero { padding: calc(var(--nav-h) + 36px) 0 36px; }
  .article { padding: 26px 18px; }
  .article p { font-size: .98rem; }
  .article th, .article td { padding: 9px 8px; font-size: .9rem; }
}
.anim-off, .anim-off *, .anim-off::before, .anim-off::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .mq-row { width: auto; flex-wrap: wrap; justify-content: center; padding: 0 16px; }
  .tk-row { width: auto; justify-content: center; flex-wrap: wrap; }
}
