/* 漫遊引力官網｜第一階段
   色彩與字級取自素材包 03_UI規格/tokens/ui-tokens.css；深色依訪客系統設定（prefers-color-scheme），不設切換鈕。 */

:root {
  --mg-gravity: #162032; --mg-gravity-tint: #D9D9D4;
  --mg-shu: #0070BA; --mg-shu-deep: #00487A; --mg-shu-light: #5FB0E6; --mg-shu-tint: #E2EEF8;
  --mg-town: #DD4B29; --mg-town-deep: #8F2A10; --mg-town-light: #F0983F; --mg-town-tint: #FBE6DE;
  --mg-ent: #C0282C; --mg-ent-deep: #7D1519; --mg-ent-light: #E8777A; --mg-ent-tint: #FAE3E3;
  --bg-page: #FAF7F2; --bg-surface: #FFFFFF; --bg-subtle: #EFEDE8; --bg-inverse: #162032;
  --text-primary: #162032; --text-secondary: #566066; --text-disabled: #858E8E; --text-inverse: #FFFFFF;
  --border-default: #D9D9D4; --border-strong: #162032;
  --link-default: #005A96; --link-hover: #00457A;
  --focus-ring: #005A96;
  --status-success: #016937; --status-error: #B01E4E;
  --btn-bg: #162032; --btn-fg: #FFFFFF;
  --footer-bg: #162032; --footer-fg: #FAF7F2; --footer-sub: #B4BCC8;
  --cta-float-bg: #D2411F; --cta-float-fg: #FFFFFF;
  --brand-accent-shu: var(--mg-shu); --brand-accent-town: var(--mg-town); --brand-accent-ent: var(--mg-ent);
  /* 小字用的品牌強調色：品牌色本身在淺灰底只有 3.5–4.5:1，小字改用同色相加深一階，確保 WCAG AA 4.5:1 */
  --accent-text-shu: #0066A8; --accent-text-town: #B53A1E; --accent-text-ent: #C0282C;
  --ease-out: cubic-bezier(.22,1,.36,1);
  --mg-gravity-gradient: linear-gradient(135deg, #162032 0%, #162032 55%, #0070BA 100%);
  --shadow-lift: 0 18px 40px -18px rgba(22,32,50,.35);
  --font-en-head: 'Cabinet Grotesk', 'Satoshi', 'Inter', system-ui, sans-serif;
  --font-tc: 'Satoshi', 'Glow Sans TC', 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --font-tc-head: 'Cabinet Grotesk', 'Glow Sans TC', 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --font-ja: 'Satoshi', 'Kaisei HarunoUmi', 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --font-en: 'Satoshi', 'Inter', system-ui, sans-serif;
  --radius-card: 20px; --radius-lg: 28px;
  --container: 1296px; --gutter: 72px;
  color-scheme: light dark;
  interpolate-size: allow-keywords;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg-page: #162032; --bg-surface: #1F2D45; --bg-subtle: #22304A; --bg-inverse: #FAF7F2;
    --text-primary: #FAF7F2; --text-secondary: #B4BCC8; --text-disabled: #6F7A8C; --text-inverse: #162032;
    --border-default: #3A4A66; --border-strong: #FAF7F2;
    --link-default: #7DBBEA; --link-hover: #A9D3F2; --focus-ring: #7DBBEA;
    --status-success: #3FA06B; --status-error: #F27F9C;
    --btn-bg: #FAF7F2; --btn-fg: #162032;
    --footer-bg: #0F1726; --footer-fg: #FAF7F2;
    --cta-float-bg: #FF7A3D; --cta-float-fg: #162032;
    --brand-accent-shu: var(--mg-shu-light); --brand-accent-town: var(--mg-town-light); --brand-accent-ent: var(--mg-ent-light);
    --accent-text-shu: var(--mg-shu-light); --accent-text-town: var(--mg-town-light); --accent-text-ent: var(--mg-ent-light);
    --shadow-lift: 0 18px 40px -18px rgba(0,0,0,.6);
    --mg-shu-tint: rgba(95,176,230,.18); --mg-town-tint: rgba(240,152,63,.18); --mg-ent-tint: rgba(232,119,122,.18); --mg-gravity-tint: rgba(250,247,242,.12);
  }
}
@media (max-width: 1023px) { :root { --gutter: 16px; --radius-card: 16px; --radius-lg: 20px; } }

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg-page); color: var(--text-primary); font-family: var(--font-tc); font-size: 16px; line-height: 1.8; letter-spacing: .04em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--mg-shu); color: #fff; }
html[lang="ja"] body { font-family: var(--font-ja); line-height: 1.9; letter-spacing: .05em; }
html[lang="en"] body { font-family: var(--font-en); line-height: 1.65; letter-spacing: .01em; }
/* hidden 屬性優先於元件的 display（原本 .btn 的 inline-flex 會讓 Cookie 橫幅收合時仍露出「儲存設定」） */
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 6px; }
/* 深色底上的元件改用淺色 focus ring，避免深藍框落在深藍底上看不見 */
.site-footer, .callout--dark, .cookie-banner .btn:not(.btn--outline) { --focus-ring: #7DBBEA; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 20px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; transform: translateY(-160%); transition: transform .2s var(--ease-out); }
.skip-link:focus { transform: none; color: var(--btn-fg); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-tc-head); font-weight: 700; line-height: 1.35; text-wrap: balance; }
/* 中日文避免標點落單、段落末行孤字 */
body { line-break: strict; }
p, li, dd { text-wrap: pretty; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
.icon { width: 20px; height: 20px; flex: none; }
.ja { font-family: var(--font-ja); letter-spacing: .05em; }
.en { font-family: var(--font-en); letter-spacing: .01em; }
.muted { color: var(--text-secondary); }
.nobr { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; }
@media (max-width: 1023px) { .section { padding: 48px 0; } }

/* ── Type ── */
.eyebrow { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-secondary); }
.label { font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.h1 { font-size: 56px; letter-spacing: .01em; line-height: 1.3; }
.h2 { font-size: 36px; letter-spacing: .02em; }
.h3 { font-size: 22px; font-weight: 500; letter-spacing: .04em; }
.display-en { font-family: var(--font-en-head); font-size: 72px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
@media (max-width: 1023px) { .h1 { font-size: 36px; } .h2 { font-size: 26px; } .h3 { font-size: 19px; } .display-en { font-size: 44px; } }

.section-head { position: relative; display: flex; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border-default); margin-bottom: 28px; }
/* 區塊標題下緣：進場時一條深色細線由左畫到右，替整站的捲動節奏打拍子 */
.section-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 2px; background: var(--text-primary); }
@media (prefers-reduced-motion: no-preference) { html.js .section-head.reveal::after { width: 0; transition: width 1.1s var(--ease-out) .2s; } html.js .section-head.reveal.is-in::after { width: 48px; } }
.section-head h2 { font-size: 22px; letter-spacing: .08em; }
.section-head .more { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-block: -14px; font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.section-head .more .icon { width: 16px; height: 16px; }

/* ── Buttons ── */
.btn { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; padding: 10px 32px; border-radius: 999px; border: 1.5px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; letter-spacing: .06em; line-height: 1.2; cursor: pointer; text-align: center; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s, color .2s; }
.btn:hover { color: var(--btn-fg); box-shadow: var(--shadow-lift); }
.btn:active { transform: scale(.97); }
.btn small { font-family: var(--font-ja); font-size: 11px; font-weight: 500; opacity: .85; }
.btn--outline { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn--outline:hover { color: var(--btn-fg); background: var(--btn-bg); }
.btn[aria-disabled="true"], .btn:disabled { background: var(--border-default); border-color: var(--border-default); color: var(--text-disabled); cursor: not-allowed; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 14px; }
.link-arrow .icon, .section-head .more .icon, .news-row > .icon { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.link-arrow:hover .icon, .section-head .more:hover .icon, .news-row:hover > .icon, .brand-card:hover .link-arrow .icon { transform: translateX(4px); }

/* ── Chips & tags ── */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 9px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap; background: var(--mg-gravity-tint); color: var(--text-primary); }
.chip .icon { width: 16px; height: 16px; }
.chip--shu { background: var(--mg-shu-tint); color: var(--mg-shu-deep); }
.chip--town { background: var(--mg-town-tint); color: var(--mg-town-deep); }
.chip--ent { background: var(--mg-ent-tint); color: var(--mg-ent-deep); }
@media (prefers-color-scheme: dark) { .chip--shu { color: var(--mg-shu-light); } .chip--town { color: var(--mg-town-light); } .chip--ent { color: var(--mg-ent-light); } }
.mg-glass .chip--shu, .mg-vellum .chip--shu, .glass .chip--shu, .gallery-item .chip--shu { background: #E2EEF8; color: #00487A; }
.mg-glass .chip--town, .mg-vellum .chip--town, .glass .chip--town, .gallery-item .chip--town { background: #FBE6DE; color: #8F2A10; }
.mg-glass .chip--ent, .mg-vellum .chip--ent, .glass .chip--ent, .gallery-item .chip--ent { background: #FAE3E3; color: #7D1519; }
.chip--sm { height: 24px; font-size: 12px; padding: 0 10px 0 7px; }
.status { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.status--open { background: var(--mg-shu); color: #fff; }
.status--closed { background: var(--border-default); color: var(--text-secondary); }
.status--preparing { background: transparent; color: inherit; padding: 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mg-shu); flex: none; }
.dot--ring { background: transparent; border: 2px solid currentColor; width: 12px; height: 12px; box-shadow: 0 0 0 3px rgba(255,255,255,.4); }
.dot--hollow { background: transparent; border: 2px solid var(--mg-shu); }
.dot--gray { background: #858E8E; }
.pill-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-filter a, .pill-filter button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--border-default); background: var(--bg-surface); font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: border-color .2s, background-color .2s, color .2s; }
.pill-filter a:hover, .pill-filter button:hover { border-color: var(--border-strong); color: inherit; }
.pill-filter .is-active { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); font-weight: 700; }
.pill-filter .count { font-size: 11px; opacity: .7; }
@media (max-width: 1023px) { .pill-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; } }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list span { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--border-default); border-radius: 999px; font-size: 14px; background: var(--bg-surface); }

/* ── Language switch（只出現在長文頁） ── */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--border-default); border-radius: 8px; background: var(--bg-surface); }
.lang-switch { align-self: flex-start; justify-self: start; }
.lang-switch a { min-width: 44px; height: 44px; padding: 0 8px; transition: background-color .2s; display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; font-family: var(--font-en); font-size: 12px; font-weight: 700; }
.lang-switch a[aria-current="true"] { background: var(--btn-bg); color: var(--btn-fg); }
.lang-switch a:not([aria-current]):hover { background: var(--bg-subtle); color: inherit; }

/* ── Header ── */
/* 毛玻璃底放在 ::before：backdrop-filter 若加在 header 本身，會讓手機選單（position: fixed）改以 header 為容器，選單只剩 56px 高 */
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--border-default); transition: box-shadow .3s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg-page) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(22,32,50,.45); }
.site-header .bar { display: flex; align-items: center; height: 86px; gap: 24px; }
.site-header .logo { display: inline-flex; align-items: center; min-height: 44px; }
.site-header .logo img { height: 34px; width: auto; }
.logo .logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .logo .logo-light { display: none; } .logo .logo-dark { display: block; } }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; }
.nav a { position: relative; padding: 11px 0; letter-spacing: .06em; }
/* 桌機：左右各加 8px 內距再用負外距抵銷，點擊區 ≥ 44px 但字距視覺不變 */
@media (min-width: 1024px) { .nav a:not(.btn) { display: inline-flex; justify-content: center; min-width: 46px; padding: 12px 8px; margin-inline: -8px; } .nav a:not(.btn)::after { left: 8px; right: 8px; } }
/* 底線由左向右長出：目前頁常駐，滑過時預覽 */
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--accent, var(--mg-shu)); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav a[aria-current="page"]::after, .nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav a:not(.btn):hover { color: inherit; }
.nav .btn { min-height: 44px; padding: 0 28px; font-family: var(--font-en); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.menu-toggle .icon { width: 24px; height: 24px; }
@media (max-width: 1023px) {
  .site-header .bar { height: 64px; }
  .site-header .logo img { height: 28px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: fixed; inset: 64px 0 0; background: var(--bg-page); flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter) 40px; overflow-y: auto; font-size: 20px; font-weight: 700; }
  .nav.is-open { display: flex; }
  .nav a { display: flex; align-items: center; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--border-default); }
  .nav a:not(.btn)::after { display: none; }
  /* 手機選單：目前頁用品牌色圓點標示，取代桌機底線 */
  .nav a[aria-current="page"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--mg-shu)); }
  @media (prefers-reduced-motion: no-preference) {
    .nav.is-open { animation: menu-in .35s var(--ease-out); }
    .nav.is-open a { animation: menu-item .5s var(--ease-out) both; }
    .nav.is-open a:nth-child(2) { animation-delay: .03s; } .nav.is-open a:nth-child(3) { animation-delay: .06s; } .nav.is-open a:nth-child(4) { animation-delay: .09s; } .nav.is-open a:nth-child(5) { animation-delay: .12s; } .nav.is-open a:nth-child(6) { animation-delay: .15s; } .nav.is-open a:nth-child(7) { animation-delay: .18s; } .nav.is-open a:nth-child(8) { animation-delay: .21s; } .nav.is-open a:nth-child(9) { animation-delay: .24s; } .nav.is-open a:nth-child(10) { animation-delay: .27s; }
  }
  .nav .btn { order: -1; margin-bottom: 12px; min-height: 52px; border-bottom: 0; }
  body.menu-open { overflow: hidden; }
}

.breadcrumb-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0 18px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--text-secondary); }
.breadcrumb span:not(:last-child)::after { content: "/"; margin-left: 10px; opacity: .6; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin-block: -14px; }
.breadcrumb a:hover { color: var(--text-primary); text-decoration: underline; text-underline-offset: 4px; }

/* ── Footer ── */
/* 原本 body 留 76px 給浮動按鈕，頁尾下方會露出一條淺色底；改由頁尾自己留白，深色延伸到底 */
.site-footer { background: var(--footer-bg); color: var(--footer-fg); padding: 64px 0 48px; margin-top: 56px; }
@media (max-width: 1023px) { .site-footer { padding-bottom: 96px; } }
.site-footer .top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.site-footer .logo { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .logo img { height: 34px; }
.site-footer .motto { margin-top: 28px; font-family: var(--font-en); font-style: italic; font-size: 13px; letter-spacing: .2em; color: var(--footer-sub); }
.footer-social { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-social h3 { font-size: 14px; letter-spacing: .08em; margin-bottom: 10px; }
.footer-social .links { display: flex; gap: 4px; margin-left: -10px; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background-color .2s; }
.footer-social a:not(.is-disabled):hover { background: rgba(255,255,255,.1); color: #fff; }
.footer-social a .icon { width: 24px; height: 24px; }
.footer-social .is-disabled { opacity: .32; pointer-events: none; }
.footer-lines { margin-top: 32px; display: grid; gap: 0; font-size: 13px; }
.footer-lines .row { display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: baseline; }
.footer-lines .tri { display: inline-flex; gap: 10px; align-items: baseline; padding: 12px 0; }
.footer-lines .sub a { display: inline-block; padding: 12px 0; }
.footer-lines .tri b { font-weight: 700; }
.footer-lines .tri .en, .footer-lines .tri .ja { font-size: 12px; color: var(--footer-sub); }
.footer-lines .sub { color: var(--footer-sub); }
.footer-lines a:hover, .footer-lines .linklike:hover b { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer .copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-family: var(--font-en); font-size: 12px; letter-spacing: .14em; color: var(--footer-sub); }
@media (max-width: 1023px) { .site-footer .top { grid-template-columns: 1fr; } .site-footer .footer-social .links { margin-left: 0; margin-right: -10px; } .footer-social { grid-template-columns: 1fr; gap: 14px; } .footer-social > div { display: flex; justify-content: space-between; align-items: center; } .footer-social h3 { margin: 0; } }

/* ── 常駐預約按鈕 ── */
.cta-float { position: fixed; right: 28px; bottom: 28px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px 0 18px; border-radius: 999px; background: var(--cta-float-bg); color: var(--cta-float-fg); font-family: var(--font-en); font-weight: 700; letter-spacing: .04em; box-shadow: 0 8px 24px rgba(210,65,31,.35); transition: transform .35s var(--ease-out), opacity .35s, box-shadow .25s; }
.cta-float:hover { color: var(--cta-float-fg); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(210,65,31,.45); }
/* 選單開啟時收起浮動按鈕，避免蓋住選單項目 */
body.menu-open .cta-float, body.cta-near .cta-float, body.cta-tucked .cta-float { opacity: 0; pointer-events: none; transform: translateY(16px); }
.cta-float .pulse { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; }
.cta-float .pulse::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
@media (max-width: 1023px) { .cta-float { right: 16px; bottom: 16px; height: 48px; } }
@media (prefers-reduced-motion: no-preference) { .cta-float .pulse { animation: pulse 2.4s ease-out infinite; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* ── Cookie 同意橫幅 ── */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; margin: 0 auto; display: flex; gap: 16px; align-items: center; padding: 20px 24px; border-radius: 20px; background: var(--bg-surface); border: 1px solid var(--border-default); box-shadow: 0 24px 60px -12px rgba(10,20,30,.35); font-size: 13px; line-height: 1.6; }
@media (prefers-reduced-motion: no-preference) { .cookie-banner:not([hidden]) { animation: rise .5s var(--ease-out); } }
.cookie-banner .cookie-title { flex-basis: 100%; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.cookie-banner .cookie-title .en { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-secondary); font-weight: 700; }
.cookie-banner[hidden] { display: none; }
.cookie-banner .text { flex: 1; }
.cookie-banner .text .en { display: block; color: var(--text-secondary); font-size: 12px; margin-top: 4px; }
.cookie-banner { flex-wrap: wrap; }
.cookie-banner .btn { min-height: 44px; padding: 4px 20px; flex: none; }
.cookie-prefs { flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 0 0; border-top: 1px solid var(--border-default); }
.cookie-prefs[hidden] { display: none; }
/* 偏好設定改成卡片＋開關：一眼看出哪項固定開啟、哪項可切換，整張卡都可點 */
.cookie-prefs label { position: relative; display: block; padding: 14px 70px 14px 16px; border-radius: 14px; border: 1px solid var(--border-default); background: var(--bg-page); cursor: pointer; min-height: 44px; }
.cookie-prefs label:has(input:disabled) { cursor: default; }
.cookie-prefs input { appearance: none; -webkit-appearance: none; position: absolute; right: 16px; top: 16px; width: 44px; height: 26px; margin: 0; border-radius: 999px; background: var(--border-default); cursor: inherit; transition: background-color .2s; }
.cookie-prefs input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s var(--ease-out); }
.cookie-prefs input:checked { background: var(--mg-shu); }
.cookie-prefs input:checked::after { transform: translateX(18px); }
.cookie-prefs input:disabled { opacity: .55; }
.cookie-prefs .en { display: block; margin-top: 2px; color: var(--text-secondary); font-size: 12px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.linklike { appearance: none; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
@media (max-width: 640px) { .cookie-banner { flex-direction: column; align-items: stretch; bottom: 76px; max-height: calc(100dvh - 160px); overflow-y: auto; } .cookie-prefs { grid-template-columns: 1fr; } .cookie-actions .btn { flex: 1 1 40%; } }

/* ── Glass materials（素材包 materials.css／css_glass/glass.css） ── */
.mg-glass { position: relative; border-radius: 24px; backdrop-filter: blur(9px) saturate(1.25); -webkit-backdrop-filter: blur(9px) saturate(1.25); background: linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,0) 60%), rgba(205,226,246,.28); box-shadow: inset 0 0 14px rgba(255,255,255,.85), 0 0 22px rgba(232,242,252,.55); color: #0F1A2B; }
.mg-vellum { position: relative; border-radius: 16px; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); background: url(/brand/materials/vellum_texture_tile_1024.png) 0 0/512px 512px, rgba(247,245,240,.22); border: 1px solid rgba(255,255,255,.75); color: #fff; }
.glass { --g-fg: #0F1A2B; --g-sub: #2B3A4E; --g-acc: #0070BA; --g-wash: rgba(238,246,244,.34); position: relative; border-radius: 8px; overflow: hidden; isolation: isolate; color: var(--g-fg); box-shadow: 0 4px 10px rgba(10,20,30,.20), inset 0 0 0 1px rgba(235,250,246,.78), inset 0 0 9px rgba(176,222,210,.38), inset 1px 0 0 rgba(255,96,96,.14), inset -1px 0 0 rgba(96,140,255,.16); }
.glass::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glass--slide { background: var(--g-wash); backdrop-filter: blur(.8px) contrast(.55) saturate(.9); -webkit-backdrop-filter: blur(.8px) contrast(.55) saturate(.9); }
.glass--frost { --g-fg: #0F1A2B; --g-sub: #2B3A4E; border-radius: 24px; overflow: visible; backdrop-filter: blur(9px) saturate(1.25); -webkit-backdrop-filter: blur(9px) saturate(1.25); background: linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,0) 60%), rgba(205,226,246,.28); box-shadow: inset 0 0 14px rgba(255,255,255,.85), 0 0 16px 4px rgba(255,238,208,.92), 0 0 52px 14px rgba(255,238,208,.68); }
.glass--reeded { background: var(--g-wash); backdrop-filter: blur(1.8px) contrast(.55) saturate(.8); -webkit-backdrop-filter: blur(1.8px) contrast(.55) saturate(.8); }
.glass--reeded::before { background: repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 1px, rgba(0,0,0,0) 3px, rgba(255,255,255,.08) 8px, rgba(255,255,255,.02) 13px, rgba(0,0,0,.06) 16px, rgba(0,0,0,.08) 17px); }
.fx-refract .glass--reeded { backdrop-filter: url(#fx-reeded) blur(1px) contrast(.7); -webkit-backdrop-filter: url(#fx-reeded) blur(1px) contrast(.7); }
@media (prefers-color-scheme: dark) {
  .glass--slide, .glass--reeded { --g-fg: #F4F8FC; --g-sub: #C9D7E5; --g-acc: #5FB0E6; --g-wash: rgba(20,34,52,.26); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .mg-glass { background: rgba(240,244,244,.82); }
  .mg-vellum { background: rgba(60,50,40,.7); }
}
@media (prefers-reduced-transparency: reduce) { .glass, .mg-glass, .mg-vellum { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(240,244,244,.9); } }

/* ── 預約階段面板 ── */
.stage-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #d8d2c4 center/cover no-repeat; min-height: 420px; display: flex; align-items: flex-end; padding: 22px; }
.stage-tile > picture, .stage-tile > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-panel { position: relative; width: 100%; padding: 18px 24px 20px; }
.stage-panel .hd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.stage-panel .t { font-size: 18px; font-weight: 700; letter-spacing: .05em; }
.stage-panel .t2 { font-size: 26px; font-weight: 700; letter-spacing: .05em; }
.stage-panel .jp { font-family: var(--font-ja); font-size: 14px; color: var(--g-sub, #2B3A4E); }
.stage-panel .status-line { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; font-size: 15px; }
.stage-panel .notes { margin-top: 10px; display: grid; gap: 4px; font-size: 14px; color: var(--g-sub, #2B3A4E); }
.stage-panel .tl { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
.stage-panel .tl i { position: absolute; top: 8px; left: 16.66%; right: 16.66%; height: 3px; background: #C9CBD0; border-radius: 2px; }
.stage-panel .tl i::after { content: ""; position: absolute; left: 0; width: 50%; top: 0; bottom: 0; background: var(--g-acc); border-radius: 2px; }
.stage-panel .tn { position: relative; text-align: center; font-size: 13px; }
.stage-panel .tn u { display: block; width: 18px; height: 18px; border-radius: 50%; margin: 0 auto 8px; }
.stage-panel .tn .on { background: var(--g-acc); }
.stage-panel .tn .cur { background: #FAF7F2; border: 3.5px solid var(--g-acc); }
.stage-panel .tn .off { background: #FAF7F2; border: 3px solid #B9BCC2; }
.stage-panel .tn b { display: block; font-size: 14px; }
.stage-panel .tn em { display: block; font-style: normal; color: var(--g-sub); }
.stage-panel .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.stage-panel .big { font-family: var(--font-en-head); font-size: 40px; font-weight: 700; letter-spacing: .02em; }
.stage-panel .r { text-align: right; } .stage-panel .r b { display: block; } .stage-panel .r em { display: block; font-style: normal; color: var(--g-sub); }
.stage-panel .note { margin-top: 4px; font-size: 14px; color: var(--g-sub); }
.stage-panel .l1 { margin-top: 12px; font-weight: 500; } .stage-panel .l2 { margin-top: 6px; color: var(--g-sub); font-size: 14px; } .stage-panel .l3 { margin-top: 4px; color: var(--g-sub); font-size: 13px; font-family: var(--font-ja); }
@media (max-width: 640px) { .stage-tile { min-height: 360px; padding: 14px; } .stage-panel { padding: 14px 16px 16px; } .stage-panel .big { font-size: 30px; } .stage-panel .t2 { font-size: 21px; } }

/* ── Home: Banner carousel ── */
.hero { padding: 28px 0 8px; }
.carousel { position: relative; }
.carousel .track { display: grid; }
.carousel .slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease-out), visibility .6s; }
.carousel .slide.is-active { opacity: 1; visibility: visible; }
/* 換張時文字由下浮入、主視覺微縮放，讓輪播有「翻頁」的節奏而不只是淡入 */
@media (prefers-reduced-motion: no-preference) {
  .carousel .slide .banner-shu > div:first-child > *, .carousel .slide .banner-brand .mg-vellum { transition: transform .9s var(--ease-out), opacity .9s var(--ease-out); }
  .carousel .slide:not(.is-active) .banner-shu > div:first-child > *, .carousel .slide:not(.is-active) .banner-brand .mg-vellum { transform: translateY(18px); opacity: 0; }
  .carousel .slide .banner-shu > div:first-child > :nth-child(2) { transition-delay: .05s; } .carousel .slide .banner-shu > div:first-child > :nth-child(3) { transition-delay: .1s; } .carousel .slide .banner-shu > div:first-child > :nth-child(4) { transition-delay: .15s; } .carousel .slide .banner-shu > div:first-child > :nth-child(n+5) { transition-delay: .2s; }
  .carousel .slide .stage-tile > picture img, .carousel .slide .banner-brand > picture img { transition: transform 7.5s linear; }
  .carousel .slide.is-active .stage-tile > picture img, .carousel .slide.is-active .banner-brand > picture img { transform: scale(1.05); }
}
.carousel .arrow { position: absolute; top: 45%; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-default); background: var(--bg-surface); display: grid; place-items: center; cursor: pointer; z-index: 3; transition: background-color .2s, color .2s, border-color .2s; }
.carousel .arrow:hover { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.carousel .arrow.prev { left: -62px; } .carousel .arrow.next { right: -62px; }
.carousel .meta { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 16px; }
.carousel .meta .counter { justify-self: end; }
/* 指示點：視覺 8px、點擊區 44px；目前這張拉長成進度條，自動輪播時填滿代表倒數 */
.carousel .dots { display: flex; gap: 0; }
.carousel .dots button { position: relative; width: 44px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; transition: width .4s var(--ease-out); }
.carousel .dots button::before { content: ""; position: absolute; left: 18px; right: 18px; top: 18px; height: 8px; border-radius: 999px; background: var(--border-default); overflow: hidden; }
.carousel .dots button[aria-current="true"] { width: 72px; }
.carousel .dots button[aria-current="true"]::before { background: linear-gradient(var(--text-primary), var(--text-primary)) left / var(--p, 100%) 100% no-repeat, var(--border-default); }
@media (prefers-reduced-motion: no-preference) { .carousel.is-playing .dots button[aria-current="true"]::before { animation: dot-fill 7s linear both; } }
@keyframes dot-fill { from { background-size: 0 100%, auto; } to { background-size: 100% 100%, auto; } }
.carousel .play { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 0; border: 0; background: none; cursor: pointer; font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--text-secondary); }
.carousel .play:hover { color: var(--text-primary); }
.carousel .play .icon { width: 18px; height: 18px; }
.carousel .play [data-when] { display: none; }
.carousel.is-playing .play [data-when="playing"], .carousel:not(.is-playing) .play [data-when="paused"] { display: inline; }
.carousel .counter { font-family: var(--font-en); font-size: 12px; letter-spacing: .14em; color: var(--text-secondary); }
@media (max-width: 1400px) { .carousel .arrow.prev { left: -8px; } .carousel .arrow.next { right: -8px; } }
@media (max-width: 1023px) { .carousel .arrow { display: none; } }
.banner-shu .brandmark img { height: 34px; width: auto; }

.banner-shu { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.banner-shu .brandmark img { height: 34px; width: auto; }
.banner-shu .kicker { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.banner-shu h1 { margin-top: 18px; font-size: 64px; letter-spacing: .02em; line-height: 1.15; }
.banner-shu .h1-ja { font-family: var(--font-ja); font-size: 26px; margin-top: 6px; color: var(--text-secondary); }
.banner-shu .info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border-default); }
.banner-shu .info .lbl { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--text-secondary); }
.banner-shu .info .main { margin-top: 8px; font-size: 18px; font-weight: 700; }
.banner-shu .info .sub { margin-top: 10px; font-size: 12px; color: var(--text-secondary); }
.banner-shu .actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 28px; }
.banner-shu .live { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.banner-shu .visual .stage-tile { min-height: 520px; }
.banner-brand { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 540px; display: flex; align-items: flex-end; padding: 32px; color: #fff; }
.banner-brand > picture, .banner-brand > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-brand .mg-vellum { width: min(640px, 100%); padding: 26px 30px; text-shadow: 0 1px 12px rgba(10,16,28,.35); }
.banner-brand::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(10,16,28,.45)); pointer-events: none; }
.banner-brand > .mg-vellum { z-index: 1; }
.banner-brand .lead { margin-top: 14px; font-size: 40px; font-weight: 700; line-height: 1.3; }
.banner-brand .tri { margin-top: 14px; display: grid; gap: 4px; font-size: 14px; }
.banner-brand .tri .ja, .banner-brand .tri .en { opacity: .9; font-size: 13px; }
.banner-brand .explore { margin-top: 14px; font-size: 13px; letter-spacing: .1em; opacity: .9; }
.banner-brand .status-line { position: absolute; top: 26px; right: 30px; display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; }
@media (max-width: 1023px) {
  .banner-shu { grid-template-columns: 1fr; gap: 24px; }
  .banner-shu h1 { font-size: 40px; }
  .banner-shu .h1-ja { font-size: 19px; }
  .banner-shu .info { grid-template-columns: 1fr 1fr; gap: 16px; }
  .banner-shu .info .main { font-size: 16px; }
  .banner-shu .info > div:nth-child(3) { display: none; }
  .banner-shu .visual .stage-tile { min-height: 420px; }
  .banner-brand { min-height: 520px; padding: 16px; }
  .banner-brand .lead { font-size: 28px; }
  .banner-brand .mg-vellum { padding: 20px; }
}

/* ── Event cards ── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1023px) { .card-grid { grid-template-columns: 1fr; } }
.event-card { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 400px; padding: 16px; border-radius: var(--radius-card); overflow: hidden; background: #2a2a2a center/cover no-repeat; color: #0F1A2B; border: 2px solid transparent; transition: transform .45s var(--ease-out), translate .45s var(--ease-out), box-shadow .45s var(--ease-out); }
/* 照片上的毛玻璃字卡：底部加一層暗化漸層，白字在任何照片上都維持 4.5:1 以上 */
.event-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(10,16,28,.55)); }
.event-card:hover { color: #0F1A2B; box-shadow: var(--shadow-lift); }
@media (prefers-reduced-motion: no-preference) { .event-card:hover { translate: 0 -4px; } }
.event-card .panel { transition: transform .45s var(--ease-out); }
.event-card .panel.mg-vellum { background: url(/brand/materials/vellum_texture_tile_1024.png) 0 0/512px 512px, rgba(22,32,50,.38); }
.event-card--shu { border-color: var(--mg-shu-light); }
.event-card .panel { width: 100%; padding: 18px 20px; }
.event-card .panel.mg-vellum { color: #fff; }
.event-card .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.event-card h3 { margin-top: 12px; font-size: 22px; letter-spacing: .04em; }
.event-card .sub { font-size: 12px; margin-top: 2px; opacity: .85; }
.event-card .meta { margin-top: 12px; font-family: var(--font-en); font-size: 12px; letter-spacing: .12em; opacity: .9; }
.event-card[hidden] { display: none; }

/* ── Home: About / brands / slogans / news / gallery ── */
.about-block { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 64px; border-radius: var(--radius-lg); background: var(--bg-subtle); overflow: hidden; }
/* 星球線稿緩慢漂浮：呼應「引力」，速度慢到不搶閱讀 */
@media (prefers-reduced-motion: no-preference) { .err-orbit img { animation: drift 9s ease-in-out infinite alternate; } }
@keyframes drift { from { transform: translateY(-6px) rotate(-2deg); } to { transform: translateY(8px) rotate(2deg); } }
.about-block .tag { font-size: 40px; margin-top: 22px; letter-spacing: .04em; line-height: 1.3; }
.about-block .tag-ja { font-family: var(--font-ja); font-size: 17px; margin-top: 6px; color: var(--text-secondary); }
.about-block .tag-en { font-size: 16px; margin-top: 4px; color: var(--text-secondary); }
.about-block .intro { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border-default); display: grid; gap: 4px; font-size: 13px; color: var(--text-secondary); }
.about-block .intro b { color: var(--text-primary); font-size: 15px; }
.outline .dark { display: none; }
@media (prefers-color-scheme: dark) { .outline .light { display: none; } .outline .dark { display: block; } }
@media (max-width: 1023px) { .about-block { grid-template-columns: 1fr; padding: 28px 20px; } .about-block .tag { font-size: 24px; } }

.brand-card { position: relative; display: flex; flex-direction: column; padding: 10px 10px 24px; border-radius: var(--radius-card); border: 1px solid var(--border-default); background: var(--bg-surface); transition: box-shadow .45s var(--ease-out), transform .45s var(--ease-out), border-color .3s; }
.brand-card:hover { box-shadow: var(--shadow-lift); border-color: transparent; }
.brand-card .photo { border-radius: 14px; overflow: hidden; aspect-ratio: 560 / 300; }
.brand-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
@media (prefers-reduced-motion: no-preference) { .brand-card:hover .photo img, .gallery-item:hover img, .event-about .photo:hover img { transform: scale(1.05); } }
/* 整張卡可點：用連結的偽元素撐滿卡片，點擊區從一行字擴大到整張卡 */
.brand-card .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.brand-card .body { padding: 18px 12px 0; display: flex; flex-direction: column; flex: 1; }
.brand-card .brand-logo { height: 28px; width: auto; align-self: flex-start; }
.brand-card .motto { margin-top: 18px; font-family: var(--font-en); font-style: italic; font-size: 12px; font-weight: 500; letter-spacing: .16em; }
.brand-card .tri { margin-top: 8px; display: grid; gap: 8px; font-size: 13px; }
.brand-card .tri .zh { font-size: 14px; }
.brand-card .tri .ja, .brand-card .tri .en { color: var(--text-secondary); font-size: 12px; }
.brand-card .link-arrow { margin-top: auto; padding-top: 22px; }
.accent-shu { color: var(--accent-text-shu); } .accent-town { color: var(--accent-text-town); } .accent-ent { color: var(--accent-text-ent); }

.slogans { background: var(--bg-subtle); padding: 80px 0 88px; position: relative; overflow: hidden; }
.slogans .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.slogans .col::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: 18px; background: var(--c); }
.slogans .col h3 { font-size: 26px; letter-spacing: .06em; }
.slogans .col p { margin-top: 6px; font-size: 13px; color: var(--text-secondary); }
.slogans .closing { position: relative; margin-top: 56px; text-align: center; }
.slogans .closing .outline img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 560px; opacity: .12; pointer-events: none; }
.slogans .closing p { position: relative; color: var(--text-secondary); }
.slogans .closing .zh { font-size: 18px; } .slogans .closing .ja { font-size: 14px; } .slogans .closing .en { font-size: 13px; }
.slogans .closing .name { position: relative; margin-top: 16px; font-family: var(--font-tc-head); font-weight: 700; font-size: 72px; line-height: 1.15; letter-spacing: .06em; color: var(--text-primary); }
.slogans .closing .name-en { position: relative; font-family: var(--font-en); font-size: 12px; letter-spacing: .3em; color: var(--text-secondary); }
@media (max-width: 1023px) { .slogans { padding: 56px 0 64px; } .slogans .cols { grid-template-columns: 1fr; gap: 28px; } .slogans .closing .name { font-size: 44px; } .slogans .closing .outline img { width: 300px; } }

.news-list { border-top: 0; }
.news-row { display: grid; grid-template-columns: 150px 150px 1fr 24px; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--border-default); transition: padding .35s var(--ease-out), background-color .3s; }
.news-row:hover { color: inherit; background: var(--bg-subtle); padding-inline: 16px; }
.news-row:hover .title .title-text { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.news-row .date { font-family: var(--font-en); font-size: 14px; color: var(--text-secondary); letter-spacing: .04em; }
.news-row > span:not(.title) { display: flex; align-items: center; }
.news-row .title { font-size: 16px; font-weight: 500; }
/* ufotable 展（11/16）：活動 News 標題前的展名膠囊、NEW YEAR SPECIAL 標籤與列表淡紅底 */
.news-pill { display: inline-block; margin-right: 12px; padding: 2px 12px; border: 1px solid color-mix(in srgb, var(--pill-c) 55%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--pill-c) 8%, transparent); color: var(--pill-c); font-size: 12px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; vertical-align: 2px; --pill-c: #95503A; }
@media (prefers-color-scheme: dark) { .news-pill { --pill-c: #F6BCAB; } }
.news-ny { display: inline-block; margin-right: 10px; padding: 3px 10px; border-radius: 999px; background: #DD4B29; color: #FFF7EE; font-family: var(--font-en); font-size: 10.5px; font-weight: 900; letter-spacing: .16em; white-space: nowrap; vertical-align: 2px; }
.news-row--sp { margin-inline: -14px; padding-inline: 14px; border-radius: 14px; border-bottom-color: transparent; background: linear-gradient(90deg, rgba(221,75,41,.16), rgba(221,75,41,0) 70%); }
.news-row--sp:hover { padding-inline: 14px; background: linear-gradient(90deg, rgba(221,75,41,.22), rgba(221,75,41,.04) 70%); }
@media (max-width: 1023px) { .news-row .news-pill, .news-row .news-ny { display: table; margin: 2px 0 6px; font-size: 11px; } .news-row--sp { margin-inline: -10px; padding-inline: 10px; } .news-row--sp:hover { padding-inline: 10px; } }
@media (max-width: 1023px) { .news-row { grid-template-columns: auto 1fr 20px; row-gap: 8px; } .news-row .title { grid-column: 1 / -1; grid-row: 2; } .news-row:hover { padding-inline: 0; background: none; } }

.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gallery-grid--page { grid-template-columns: repeat(4, 1fr); }
.gallery-item { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1.22; border-radius: 14px; overflow: hidden; border: 0; padding: 0; cursor: zoom-in; background: var(--bg-subtle); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gallery-item .chip { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,.92); transition: opacity .3s; }
/* Gallery 頁：滑過或鍵盤聚焦時浮出照片說明，不必點開燈箱就知道是哪一場 */
.gallery-item[data-caption]::after { content: attr(data-caption); position: absolute; inset: auto 0 0; padding: 48px 14px 14px; background: linear-gradient(transparent, rgba(10,16,28,.78)); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.5; text-align: left; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.gallery-item[data-caption]:hover::after, .gallery-item[data-caption]:focus-visible::after { opacity: 1; transform: none; }
.gallery-item[data-caption]:hover .chip, .gallery-item[data-caption]:focus-visible .chip { opacity: 0; }
@media (hover: none) { .gallery-item[data-caption]::after { opacity: 1; transform: none; padding-top: 36px; font-size: 12px; } .gallery-item[data-caption] .chip { bottom: auto; top: 8px; } }
/* 影片項目：中央播放圖示，點開燈箱才載入 YouTube */
.gallery-item[data-video] { cursor: pointer; }
.gallery-play { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(10,16,28,.72); color: #fff; display: grid; place-items: center; pointer-events: none; transition: background .3s, transform .3s var(--ease-out); }
.gallery-play svg { width: 26px; height: 26px; }
.gallery-item[data-video]:hover .gallery-play, .gallery-item[data-video]:focus-visible .gallery-play { background: rgba(10,16,28,.92); transform: scale(1.08); }
@media (max-width: 1023px) { .gallery-grid, .gallery-grid--page { grid-template-columns: repeat(2, 1fr); } .gallery-item { aspect-ratio: 1 / 1.1; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10,16,28,.88); }
.lightbox figure { margin: 0; }
.lightbox .lb-video { display: block; width: min(1100px, 94vw, calc(80vh * 16 / 9)); aspect-ratio: 16 / 9; margin: 0 auto; border: 0; border-radius: 12px; background: #000; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { margin-top: 10px; color: #fff; text-align: center; font-size: 14px; }
.lightbox[open] { animation: rise .4s var(--ease-out); }
.lightbox .lb-btn { position: fixed; top: 50%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #162032; cursor: pointer; display: grid; place-items: center; }
.lightbox .lb-prev { left: 16px; } .lightbox .lb-next { right: 16px; }
/* 手機上切換鈕移到影片下方，不蓋住 YouTube 的進度條與全螢幕鍵 */
@media (max-width: 1023px) { .lightbox:has(.lb-video) .lb-btn { top: auto; bottom: 24px; } }
.lightbox .lb-close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #162032; cursor: pointer; display: grid; place-items: center; }

/* ── Page hero (About / list pages) ── */
.page-title { padding: 24px 0 32px; }
.page-title .tri { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 14px; align-items: baseline; color: var(--text-secondary); }
.page-title .tri .en { font-size: 18px; font-weight: 500; } .page-title .tri .ja { font-size: 17px; }
.page-title .lead { margin-top: 18px; color: var(--text-secondary); max-width: 760px; }
.hero-photo { display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1296 / 520; background: var(--bg-subtle); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .hero-photo { aspect-ratio: 390 / 420; } }
.hero-photo--shu { border: 2px solid var(--mg-shu-light); }

/* ── Brand page ── */
.brand-hero { position: relative; }
.brand-hero .overlay { position: absolute; inset: auto 12px 12px 12px; padding: 22px 26px; }
.brand-hero .overlay h1 { margin-top: 12px; font-size: 40px; color: #fff; }
.brand-hero .overlay .name-en { margin-top: 6px; font-family: var(--font-en); font-size: 12px; letter-spacing: .2em; color: #fff; }
.brand-hero .overlay .status-line { position: absolute; top: 22px; right: 26px; display: inline-flex; gap: 8px; align-items: center; color: #fff; font-size: 13px; font-weight: 700; }
.brand-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; padding: 56px 0 24px; }
.brand-intro .brand-logo { height: 36px; width: auto; }
.brand-intro .motto { margin-top: 26px; font-family: var(--font-en); font-style: italic; font-size: 12px; letter-spacing: .16em; }
.brand-intro .big { margin-top: 14px; font-size: 40px; line-height: 1.35; }
.brand-intro .lead { font-size: 22px; font-weight: 700; }
.brand-intro .paras { margin-top: 18px; display: grid; gap: 12px; color: var(--text-primary); max-width: 40em; }
.brand-intro .explore { margin-top: 28px; }
.brand-intro .explore .eyebrow { display: block; margin-bottom: 12px; }
@media (max-width: 1023px) { .brand-intro { grid-template-columns: 1fr; gap: 20px; } .brand-intro .big { font-size: 26px; } .brand-hero .overlay h1 { font-size: 26px; } .brand-hero .overlay { padding: 16px; } }
.preparing-card { padding: 28px; border-radius: var(--radius-card); border: 1.5px dashed var(--border-default); background: repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--border-default) 25%, transparent) 14px 15px); }
@media (prefers-reduced-motion: no-preference) { .preparing-card .dot--ring { animation: pulse-ring 2.4s ease-out infinite; } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 40%, transparent); } 80%, 100% { box-shadow: 0 0 0 8px transparent; } }
.preparing-card .meta { margin-top: 14px; font-family: var(--font-en); font-size: 12px; letter-spacing: .14em; color: var(--text-secondary); }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 48px; border-radius: var(--radius-lg); background: var(--bg-subtle); }
.callout h2 { font-size: 26px; }
.callout p { margin-top: 10px; color: var(--text-secondary); font-size: 14px; }
/* 深色 CTA 用素材包的品牌漸層（gravity → 漫遊社藍），把行動區做成頁面收尾的視覺高點；深淺模式都固定深底白字 */
.callout--dark { position: relative; overflow: hidden; background: var(--mg-gravity-gradient); color: #FAF7F2; --text-inverse: #FAF7F2; --bg-inverse: #162032; }
.callout--dark::after { content: ""; position: absolute; right: 34%; bottom: -70px; width: 300px; aspect-ratio: 2 / 1; background: url(/brand/components/outline_gravity_dark.svg) center / contain no-repeat; opacity: .35; pointer-events: none; }
.callout--dark > * { position: relative; z-index: 1; }
.callout--dark p { color: color-mix(in srgb, var(--text-inverse) 70%, transparent); }
.callout--dark .btn { background: var(--text-inverse); color: var(--bg-inverse); border-color: var(--text-inverse); }
.callout--dark .btn--outline { background: transparent; color: var(--text-inverse); }
@media (max-width: 1023px) { .callout { flex-direction: column; align-items: stretch; padding: 24px 20px; } .callout .btn-row { flex-direction: column; align-items: stretch; } }
.social-row { display: flex; gap: 4px; align-items: center; }
.social-row a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background-color .2s; }
.social-row a:hover { background: var(--bg-subtle); color: inherit; }
.social-row a .icon { width: 26px; height: 26px; }
.slogan-band { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 48px 0 8px; border-top: 1px solid var(--border-default); }
.slogan-band h2 { font-size: 32px; letter-spacing: .04em; }
@media (max-width: 1023px) { .slogan-band { flex-direction: column; align-items: flex-start; } .slogan-band h2 { font-size: 24px; } }

/* ── Event page ── */
.event-head { display: grid; gap: 14px; padding-top: 22px; }
.event-head .tags { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.event-head .tags .kind { font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--text-secondary); }
.event-head .title-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; }
.event-head h1 { font-size: 56px; letter-spacing: .04em; }
.event-head .name-en { font-family: var(--font-en); font-weight: 700; font-size: 15px; letter-spacing: .2em; }
.event-head .name-sub { font-size: 17px; color: var(--text-secondary); }
.event-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding: 8px 0 24px; }
.event-actions .note { font-size: 13px; color: var(--text-secondary); }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 0; border-bottom: 1px solid var(--border-default); padding-bottom: 22px; }
.info-grid > div { padding: 0 20px; border-left: 1px solid var(--border-default); }
.info-grid > div:first-child { padding-left: 0; border-left: 0; }
.info-grid .eyebrow { font-size: 11px; }
.info-grid .eyebrow span { margin-left: 8px; letter-spacing: .06em; text-transform: none; }
.info-grid .v { margin-top: 10px; font-weight: 700; font-size: 15px; }
@media (max-width: 1023px) { .event-head h1 { font-size: 36px; } .info-grid { grid-template-columns: 1fr 1fr; gap: 18px 0; } .info-grid > div:nth-child(3) { padding-left: 0; border-left: 0; } }
.stage-section { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; }
.line-card { padding: 24px; border-radius: var(--radius-card); background: var(--bg-subtle); display: flex; flex-direction: column; gap: 14px; }
.line-card .eyebrow, .cafe-bonus .eyebrow, .panel-card > .eyebrow { color: var(--accent-text-shu); }
.line-card .qr { width: 160px; height: 160px; border-radius: 14px; background: #fff; padding: 10px; margin: 0 auto; }
.line-card .qr img { width: 100%; height: 100%; object-fit: contain; }
.line-card .scan { text-align: center; font-size: 12px; color: var(--text-secondary); }
.only-desktop { display: initial; } .only-mobile { display: none; }
@media (max-width: 1023px) { .stage-section { grid-template-columns: 1fr; } .only-desktop { display: none !important; } .only-mobile { display: initial; } }
.event-about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.event-about h3 { font-size: 28px; letter-spacing: .04em; }
.prose { display: grid; gap: 14px; margin-top: 18px; }
.prose a { color: var(--link-default); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose img { border-radius: 12px; }
.event-about .photo { border-radius: var(--radius-card); overflow: hidden; }
.event-about .photo img { transition: transform 1s var(--ease-out); }
@media (max-width: 1023px) { .event-about { grid-template-columns: 1fr; } }

.cafe-bonus { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px 32px; border-radius: var(--radius-lg); background: var(--bg-subtle); }
.cafe-bonus .imgs { display: flex; gap: 12px; flex-wrap: wrap; }
.cafe-bonus .imgs img { width: 84px; height: 84px; object-fit: contain; }
@media (max-width: 1023px) { .cafe-bonus { grid-template-columns: 1fr; padding: 22px 20px; } }
.allergen-legend { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; padding: 16px 22px; border: 1px solid var(--border-default); border-radius: 16px; margin-top: 16px; }
.allergen-legend .ttl { font-weight: 700; font-size: 13px; margin-right: 12px; }
.allergen { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.allergen .icon { width: 24px; height: 24px; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
@media (max-width: 1023px) { .menu-grid { grid-template-columns: 1fr; } }
.menu-card { display: flex; flex-direction: column; padding: 10px 10px 18px; border-radius: var(--radius-card); border: 1px solid var(--border-default); background: var(--bg-surface); transition: box-shadow .45s var(--ease-out); }
.menu-card:hover { box-shadow: var(--shadow-lift); }
.menu-card[hidden] { display: none; }
.menu-card .photo { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-subtle); }
.menu-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.menu-card .body { padding: 14px 10px 0; }
.menu-card .head { display: flex; justify-content: space-between; align-items: baseline; }
.menu-card .cat { font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--accent-text-shu); }
.menu-card .price { font-family: var(--font-en-head); font-weight: 700; font-size: 18px; }
.menu-card h4 { margin-top: 4px; font-size: 19px; }
.menu-card .names { font-size: 11px; color: var(--text-secondary); }
.menu-card .rows { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-default); display: grid; gap: 10px; font-size: 12px; }
.menu-card .rows > div { display: flex; gap: 12px; align-items: center; }
.menu-card .rows .k { min-width: 48px; flex: none; white-space: nowrap; font-weight: 700; color: var(--text-secondary); }
.menu-card--set { grid-column: 1 / -1; flex-direction: row; gap: 20px; border: 2px solid var(--mg-shu); }
.menu-card--set .photo { width: 240px; flex: none; aspect-ratio: 3 / 4; }
.menu-card--set .body { flex: 1; align-self: center; max-width: 560px; }
@media (max-width: 1023px) { .menu-card--set { flex-direction: column; } .menu-card--set .photo { width: 100%; aspect-ratio: 4 / 3; } }
.fine-print { margin-top: 18px; font-size: 12px; color: var(--text-secondary); line-height: 1.7; }

/* ── Reservation guide ── */
.guide-top { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.guide-top .heading { margin-top: 6px; font-size: 32px; }
.guide-top .lead { margin-top: 12px; color: var(--text-secondary); }
.guide-top .chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.guide-top .chips span { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--bg-subtle); font-size: 12px; font-weight: 700; }
.kv-table { width: 100%; max-width: 860px; border-collapse: collapse; }
.kv-table th, .kv-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--border-default); font-size: 15px; vertical-align: top; }
.kv-table th { width: 170px; font-weight: 500; color: var(--text-secondary); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 26px 24px; border-radius: var(--radius-card); border: 1px solid var(--border-default); background: var(--bg-surface); }
/* 步驟之間的連接線，讓四張卡讀成一條流程而不是四個獨立方塊 */
@media (min-width: 1024px) { .step:not(:last-child)::after { content: ""; position: absolute; top: 38px; right: -19px; width: 20px; height: 1.5px; background: var(--border-strong); opacity: .35; } }
.step .no { font-family: var(--font-en-head); font-weight: 700; color: var(--accent-text-shu); letter-spacing: .04em; }
.step h3 { margin-top: 12px; font-size: 17px; }
.step p { margin-top: 12px; font-size: 13px; color: var(--text-secondary); }
@media (max-width: 1023px) { .steps { grid-template-columns: 1fr; } .guide-top { grid-template-columns: 1fr; } .kv-table th { width: 100px; } }
.week { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: end; }
.week .lbl { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.week .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week .days span { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 52px; border-radius: 8px; background: var(--bg-subtle); font-size: 13px; font-weight: 700; }
.week .days span small { font-family: var(--font-en); font-size: 10px; font-weight: 400; opacity: .8; }
.week .days .on small { opacity: 1; }
.week .days .on { background: var(--mg-shu); color: #fff; }
.week .days.entry span { background: var(--mg-shu-tint); border: 1.5px solid var(--mg-shu); }
.week .arrow { padding-bottom: 14px; }
@media (max-width: 1023px) { .week { grid-template-columns: 1fr; } .week .arrow { transform: rotate(90deg); justify-self: center; padding: 0; } }
.day-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.day-flow > div { padding: 22px; border-radius: var(--radius-card); background: var(--bg-subtle); }
.day-flow h3 { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.day-flow h3 b { width: 26px; height: 26px; border-radius: 50%; background: var(--mg-shu); color: #fff; display: grid; place-items: center; font-size: 13px; font-family: var(--font-en); }
.day-flow p { margin-top: 12px; font-size: 13px; color: var(--text-secondary); }
@media (max-width: 1023px) { .day-flow { grid-template-columns: 1fr; } }
.notice-list { list-style: none; display: grid; gap: 14px; counter-reset: n; }
.notice-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; counter-increment: n; }
.notice-list li::before { content: counter(n); flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; border: 1.5px solid var(--mg-shu); color: var(--accent-text-shu); display: grid; place-items: center; font-size: 12px; font-family: var(--font-en); }

/* ── FAQ ── */
.faq-tools { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.faq-tools .group { display: grid; gap: 10px; }
.faq-list { display: grid; gap: 12px; }
/* 展開時邊框用 box-shadow 加粗，不改 border 寬度，避免內容跳動 1px */
.faq-item { border: 1px solid var(--border-default); border-radius: 18px; background: var(--bg-surface); transition: border-color .25s, box-shadow .25s; }
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] { border-color: var(--mg-shu); box-shadow: inset 0 0 0 1px var(--mg-shu); }
.faq-item[hidden] { display: none; }
.faq-item summary { list-style: none; display: flex; gap: 16px; align-items: center; padding: 18px 22px; cursor: pointer; font-size: 17px; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .q, .faq-item .a { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-en); font-weight: 700; }
.faq-item .q { border: 2px solid var(--mg-shu); color: var(--accent-text-shu); }
.faq-item[open] .q { background: var(--mg-shu); color: #fff; }
.faq-item .a { border: 1.5px solid var(--text-secondary); color: var(--text-secondary); }
.faq-item .cat { margin-left: auto; font-size: 11px; padding: 2px 10px; border: 1px solid var(--border-default); border-radius: 999px; font-weight: 500; white-space: nowrap; }
.faq-item summary > span:nth-child(2) { flex: 1; }
.faq-item .toggle { display: grid; place-items: center; width: 32px; height: 32px; flex: none; }
.faq-item .toggle .icon { width: 22px; height: 22px; }
@media (prefers-reduced-motion: no-preference) { .faq-item[open] .answer { animation: rise .4s var(--ease-out); } }
.faq-item .toggle .minus { display: none; }
.faq-item[open] .toggle .minus { display: block; } .faq-item[open] .toggle .plus { display: none; }
/* 支援的瀏覽器上，問答展開／收合改為高度過渡，不再瞬間跳開 */
@media (prefers-reduced-motion: no-preference) {
  .faq-item::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete; }
  .faq-item[open]::details-content { block-size: auto; }
}
.faq-item .q { transition: background-color .25s, color .25s; }
.faq-item .toggle .icon { transition: transform .3s var(--ease-out); }
.faq-item:hover .toggle .plus .icon { transform: rotate(90deg); }
.faq-item .answer { display: flex; gap: 16px; margin: 0 22px; padding: 16px 0 20px; border-top: 1px solid var(--border-default); font-size: 15px; }
.faq-item .fallback { margin-top: 8px; font-size: 12px; color: var(--text-secondary); }
@media (max-width: 1023px) { .faq-tools { flex-direction: column; align-items: stretch; } .faq-item .cat { display: none; } .faq-item summary { font-size: 15px; padding: 16px; } .faq-item .answer { margin: 0 16px; } }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
/* 聯絡頁兩張卡頂端加素材包的漫遊社漸層細線，讓表單區有品牌識別而不只是白卡 */
.panel-card { position: relative; overflow: hidden; padding: 34px 32px; border-radius: var(--radius-lg); border: 1px solid var(--border-default); background: var(--bg-surface); }
.panel-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(135deg, #00487A 0%, #0070BA 55%, #5FB0E6 100%); }
.panel-card h2 { margin-top: 8px; font-size: 26px; }
.panel-card .desc { margin-top: 10px; font-size: 14px; color: var(--text-secondary); }
.mail-box { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: var(--bg-subtle); }
.mail-box .addr { display: inline-flex; gap: 10px; align-items: center; font-family: var(--font-en); font-size: 20px; font-weight: 500; margin-right: auto; word-break: break-all; }
.mail-box .btn { min-height: 44px; padding: 0 22px; }
.field-label { display: block; margin-top: 18px; font-size: 13px; font-weight: 700; }
.subject-box { margin-top: 8px; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--border-default); font-size: 14px; }
.ordered { margin-top: 8px; list-style: none; display: grid; gap: 6px; counter-reset: o; font-size: 14px; }
.ordered li { counter-increment: o; display: flex; gap: 12px; }
.ordered li::before { content: counter(o); color: var(--accent-text-shu); font-family: var(--font-en); font-weight: 700; width: 12px; }
.form { display: grid; gap: 4px; margin-top: 18px; }
.form label { font-size: 13px; font-weight: 700; margin-top: 12px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border-default); background: var(--bg-surface); color: var(--text-primary); font: inherit; font-size: 15px; }
.form textarea { min-height: 140px; resize: vertical; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select { min-height: 48px; }
.form input, .form select, .form textarea { transition: border-color .2s, box-shadow .2s; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--text-secondary); }
/* 輸入框聚焦：外框改品牌藍＋柔和光暈，比預設 outline 更容易看出現在在哪一欄 */
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: none; border-color: var(--focus-ring); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus-ring) 25%, transparent); }
.form [aria-invalid="true"] { border-color: var(--status-error); }
.form .err { color: var(--status-error); font-size: 12px; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 13px; font-weight: 500; }
.form .consent { cursor: pointer; padding-block: 6px; }
.form .consent input { width: 24px; height: 24px; margin-top: 2px; flex: none; accent-color: var(--btn-bg); }
.form .consent a { color: var(--link-default); text-decoration: underline; }
.form .btn { margin-top: 18px; width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 20px; border-radius: 14px; background: color-mix(in srgb, var(--status-success) 14%, var(--bg-surface)); border: 1px solid var(--status-success); font-size: 14px; }
.alert--error { background: color-mix(in srgb, var(--status-error) 10%, var(--bg-surface)); border-color: var(--status-error); }
.windows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.windows > div { padding: 20px; border-radius: var(--radius-card); background: var(--bg-subtle); font-size: 14px; }
.windows b { display: block; margin-bottom: 6px; }
@media (max-width: 1023px) { .contact-grid, .windows { grid-template-columns: 1fr; } .panel-card { padding: 22px 18px; } .mail-box .addr { font-size: 17px; } }

/* ── Legal ── */
.legal-meta { margin-top: 16px; display: flex; gap: 14px; font-size: 12px; color: var(--text-secondary); font-family: var(--font-en); letter-spacing: .1em; }
.legal-intro { margin-top: 18px; max-width: 760px; display: grid; gap: 10px; }
.legal-intro .en, .legal-intro .ja { font-size: 13px; color: var(--text-secondary); }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; margin-top: 40px; }
.toc { position: sticky; top: 110px; align-self: start; font-size: 13px; }
.toc ol { list-style: none; margin-top: 12px; display: grid; gap: 8px; }
.toc ol { gap: 0 !important; }
.toc a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 12px; margin-left: -12px; border-radius: 10px; transition: background-color .2s; }
.toc a:hover, .toc a.is-current { background: var(--bg-subtle); color: inherit; }
.toc a b { font-family: var(--font-en); color: var(--accent-text-shu); }
.clause { padding: 28px 0; border-top: 1px solid var(--border-default); scroll-margin-top: 100px; }
.clause h2 { display: flex; gap: 16px; align-items: baseline; font-size: 24px; }
.clause h2 b { font-family: var(--font-en-head); font-size: 15px; font-weight: 800; color: var(--accent-text-shu); letter-spacing: .04em; min-width: 2ch; }
.clause .body { margin-top: 14px; display: grid; gap: 8px; font-size: 15px; max-width: 42em; }
.clause .alt { margin-top: 20px; padding-left: 16px; border-left: 2px solid var(--border-default); }
.clause .alt h3 { font-size: 14px; font-weight: 700; }
.clause .alt .body { font-size: 13px; color: var(--text-secondary); margin-top: 6px; gap: 6px; }
@media (max-width: 1023px) { .legal-layout { grid-template-columns: 1fr; gap: 16px; } .toc { position: static; } .clause h2 { font-size: 20px; } }

/* ── Misc ── */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--border-default); font-family: var(--font-en); font-size: 14px; }
.pagination .is-current { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.pagination .is-disabled { opacity: .4; }
.draft-note { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; background: var(--bg-subtle); font-size: 12px; color: var(--text-secondary); }
.empty { padding: 40px 0; text-align: center; color: var(--text-secondary); }
.article { max-width: 820px; }
.article .meta { display: flex; gap: 14px; align-items: center; color: var(--text-secondary); font-family: var(--font-en); font-size: 14px; padding-top: 24px; }
.article .prose { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border-default); max-width: 36em; }
.article { margin-inline: auto; }
.article h1 { margin-top: 14px; font-size: 40px; line-height: 1.35; }
.article .prose { font-size: 17px; line-height: 1.95; }
@media (max-width: 1023px) { .article h1 { font-size: 28px; } .article .prose { font-size: 16px; } }
.article .cover { margin-top: 24px; border-radius: var(--radius-card); overflow: hidden; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }

/* ── 動態（Round 1）：只在訪客沒有要求減少動態時啟用；JS 載入才加 .js，沒有 JS 時內容照常顯示 ── */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes menu-item { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  html.js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ── 錯誤頁 ── */
.err-page { min-height: 100vh; display: grid; place-items: center; padding: 48px var(--gutter); text-align: center; overflow: hidden; }
.err-page .inner { position: relative; display: grid; justify-items: center; gap: 18px; max-width: 640px; }
.err-page .code { position: relative; display: inline-block; margin: 8px 0 4px; font-family: var(--font-en-head); font-weight: 800; font-size: clamp(120px, 22vw, 240px); line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--text-primary); opacity: .9; }
.err-orbit { position: absolute; left: 50%; top: 50%; width: 92%; transform: translate(-50%, -50%); pointer-events: none; opacity: .85; }
.err-page .tri { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; color: var(--text-secondary); }
.err-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-top: 8px; font-size: 14px; font-weight: 700; }
.err-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--border-default); }
.err-links a:hover { text-decoration-color: currentColor; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: inline; }
#main:focus { outline: none; }
.err-logo { height: 34px; width: auto; }
.err-page .inner > a:first-child { display: inline-flex; align-items: center; min-height: 44px; }

/* ── 列表頁標題（News／Event／Gallery／FAQ）：大字英文標題配星球線稿，延續首頁的品牌母題 ── */
.page-title:has(> .display-en), .page-title:has(.title-row .display-en) { position: relative; padding: 48px 0 36px; margin-bottom: 8px; border-bottom: 1px solid var(--border-default); }
.page-title:has(> .display-en)::after, .page-title:has(.title-row .display-en)::after { content: ""; position: absolute; right: 0; top: 50%; width: 260px; aspect-ratio: 2 / 1; transform: translateY(-50%); background: url(/brand/components/outline_gravity_light.svg) center / contain no-repeat; opacity: .55; pointer-events: none; }
@media (prefers-color-scheme: dark) { .page-title:has(> .display-en)::after, .page-title:has(.title-row .display-en)::after { background-image: url(/brand/components/outline_gravity_dark.svg); } }
.display-en { font-size: 96px; }
@media (max-width: 1023px) { .display-en { font-size: 52px; } .page-title:has(> .display-en)::after, .page-title:has(.title-row .display-en)::after { width: 120px; top: 44px; transform: none; opacity: .4; } .page-title:has(> .display-en), .page-title:has(.title-row .display-en) { padding: 32px 0 24px; } }

/* ── 閱讀進度條（News 內頁、法務頁）：CSS 捲動時間軸，不支援的瀏覽器直接不顯示 ── */
.read-progress { display: none; }
@supports (animation-timeline: scroll()) {
  .read-progress { display: block; position: fixed; top: 0; left: 0; right: 0; z-index: 45; height: 3px; background: var(--mg-shu); transform-origin: left; transform: scaleX(0); animation: read-progress linear both; animation-timeline: scroll(root); }
  @keyframes read-progress { to { transform: scaleX(1); } }
}
@media (prefers-reduced-motion: reduce) { .read-progress { animation: none; display: none; } }

/* ── 品牌口號帶：品牌色短線＋品牌線稿，和首頁口號區同一套語彙 ── */
.slogan-band { position: relative; overflow: hidden; }
.slogan-band::before { content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 3px; background: var(--c, var(--text-primary)); }
.slogan-band .outline-deco { position: absolute; right: 140px; top: 24px; height: calc(100% - 32px); opacity: .45; pointer-events: none; }
.slogan-band .outline-deco img { height: 100%; width: auto; }
@media (max-width: 1023px) { .slogan-band .outline-deco { display: none; } }
.slogan-band > :not(.outline-deco) { position: relative; }
/* 複製信箱成功：按鈕短暫轉成綠色，給明確回饋 */
.btn.is-copied { background: var(--status-success); border-color: var(--status-success); color: #fff; }
.mail-box { transition: box-shadow .3s; }
.mail-box:hover { box-shadow: inset 0 0 0 1px var(--border-strong); }
/* 活動資訊四欄加上對應圖示（日期／時間／地點／入場），掃讀時不必先讀英文標籤 */
.info-grid .eyebrow { display: flex; align-items: center; gap: 6px; }
.info-grid .eyebrow .icon { width: 16px; height: 16px; color: var(--accent-text-shu); }
.info-grid .v { font-size: 16px; }

/* About：品牌精神左欄放大母品牌線稿，緩慢漂浮，補足左欄留白並延續「引力」母題 */
.about-orbit { display: block; margin-top: 36px; width: min(320px, 100%); }
@media (prefers-reduced-motion: no-preference) { .about-orbit img { animation: drift 9s ease-in-out infinite alternate; } }
@media (max-width: 1023px) { .about-orbit { display: none; } }
/* 法務條文：大號序號＋條文進場，長文也有節奏 */
.clause { transition: background-color .3s; }
/* News 內頁（桌機）：日期與品牌標籤移到左欄、放大成編輯感的刊頭，右欄專心閱讀 */
@media (min-width: 1024px) {
  .article { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 56px; max-width: 1080px; }
  .article > * { grid-column: 2; }
  .article > .meta { grid-column: 1; grid-row: 1 / span 4; align-self: start; position: sticky; top: 120px; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 30px; font-family: var(--font-en-head); font-size: 30px; font-weight: 700; letter-spacing: 0; color: var(--text-primary); border-top: 2px solid var(--text-primary); margin-top: 24px; }
  .article > h1 { margin-top: 24px; }
}

/* ══ v2 R1 ══ */
/* ── 引力場（首頁口號區）：SVG 疊在文字下方；--field 為捲動進度 0→1 ── */
.slogans.has-field > .container { position: relative; z-index: 1; }
.gravity-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.gravity-field .orbit--shu { color: var(--brand-accent-shu); } .gravity-field .orbit--town { color: var(--brand-accent-town); } .gravity-field .orbit--ent { color: var(--brand-accent-ent); }
.gravity-field .ring { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .38; }
.gravity-field .trail { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; opacity: .22; }
.gravity-field .tether { stroke: currentColor; stroke-width: 1; stroke-dasharray: 3 4; opacity: 0; }
.gravity-field .halo { fill: currentColor; opacity: .14; }
.gravity-field .body { fill: currentColor; stroke: var(--bg-subtle); stroke-width: 3; }
/* 星體出發後，口號上方的品牌色短線跟著淡出，像是被拉走 */
.slogans.has-field .col::before { opacity: calc(1 - var(--field, 0)); }
.slogans.has-field .closing .name { transform: scale(calc(.94 + var(--field, 1) * .06)); transform-origin: center; }
.slogans.has-field { cursor: crosshair; }
@media (pointer: coarse) { .slogans.has-field { cursor: auto; } }

/* ── 跨頁轉場（View Transitions）：新頁從點擊處以圓形展開，進子品牌頁時展開邊緣帶品牌色 ── */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-old .6s cubic-bezier(.7, 0, .2, 1) both; }
  ::view-transition-new(root) { animation: vt-new .8s cubic-bezier(.7, 0, .2, 1) both; }
  ::view-transition-image-pair(root) { background: var(--vt-c, var(--bg-page)); }
  ::view-transition-group(*) { animation-duration: .7s; animation-timing-function: cubic-bezier(.7, 0, .2, 1); }
  /* 品牌卡照片 → 品牌頁主視覺：比例不同，新舊圖都以 cover 填滿，減少形變時的重影 */
  ::view-transition-old(*), ::view-transition-new(*) { height: 100%; object-fit: cover; }
}
@keyframes vt-new { from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 35%)); } to { clip-path: circle(150vmax at var(--vt-x, 50%) var(--vt-y, 35%)); } }
@keyframes vt-old { to { transform: scale(.97); opacity: .62; } }
.site-header { view-transition-name: site-header; }
.cta-float { view-transition-name: cta-float; }

/* ── 頁尾網站地圖 ── */
.footer-sitemap { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 36px; padding: 6px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.footer-sitemap a { position: relative; display: inline-flex; align-items: center; min-height: 44px; min-width: 48px; padding-left: 14px; }
.footer-sitemap a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--c, var(--footer-sub)); }
.footer-sitemap a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 1023px) { .footer-sitemap { display: grid; grid-template-columns: 1fr 1fr; } }

/* ── 回到頁首 ── */
.to-top { position: fixed; left: 28px; bottom: 28px; z-index: 50; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-default); background: var(--bg-surface); color: var(--text-primary); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lift); transition: transform .35s var(--ease-out), opacity .35s; }
.to-top:hover { background: var(--btn-bg); color: var(--btn-fg); }
.to-top .icon { width: 22px; height: 22px; }
@media (max-width: 1023px) { .to-top { left: 16px; bottom: 16px; } }
body.menu-open .to-top { opacity: 0; pointer-events: none; }

/* ══ v2 R2 ══ */
/* ── 玻璃光澤：指標下的微傾斜＋表面高光（interactions.js 只在滑鼠且未要求減少動態時加 .fx-tilt） ── */
html.fx-tilt .event-card, html.fx-tilt .stage-tile, html.fx-tilt .brand-card { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out), translate .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s; }
html.fx-tilt .is-tilting { transition: transform .12s linear, translate .45s var(--ease-out), box-shadow .45s var(--ease-out); }
html.fx-tilt .event-card::after, html.fx-tilt .stage-tile::after, html.fx-tilt .brand-card::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; background: radial-gradient(480px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.42), rgba(255,255,255,0) 46%); mix-blend-mode: soft-light; opacity: 0; transition: opacity .4s; }
html.fx-tilt .is-tilting::after { opacity: 1; }
/* 磁吸按鈕：用獨立的 translate 屬性，和既有 hover／收起的 transform 疊加不衝突 */
.is-magnetic { translate: var(--mx, 0) var(--my, 0); transition: transform .35s var(--ease-out), opacity .35s, box-shadow .25s, background-color .2s, color .2s, translate .3s var(--ease-out); }

/* ── 品牌色轉場：進入子品牌頁時，Header 下緣換成該品牌的素材包漸層，區塊標題線、選取色跟著換 ── */
body[data-brand="shu"] { --page-accent: var(--brand-accent-shu); --page-gradient: linear-gradient(135deg, #00487A 0%, #0070BA 55%, #5FB0E6 100%); }
body[data-brand="town"] { --page-accent: var(--brand-accent-town); --page-gradient: linear-gradient(135deg, #8F2A10 0%, #DD4B29 55%, #F0983F 100%); }
body[data-brand="ent"] { --page-accent: var(--brand-accent-ent); --page-gradient: linear-gradient(135deg, #7D1519 0%, #C0282C 55%, #E8777A 100%); }
body[data-brand] .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--page-gradient); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) { body[data-brand] .site-header::after { animation: brand-bar 1.1s var(--ease-out) .2s both; } }
@keyframes brand-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
body[data-brand] .section-head::after { background: var(--page-accent); }
body[data-brand] ::selection { background: var(--page-accent); color: #fff; }
body[data-brand] .tag-list span { transition: border-color .2s, color .2s; }
body[data-brand] .tag-list span:hover { border-color: var(--page-accent); }
/* 首頁／About 的品牌卡：滑過時卡片暈染該品牌色 */
.brand-card--shu { --c: var(--brand-accent-shu); } .brand-card--town { --c: var(--brand-accent-town); } .brand-card--ent { --c: var(--brand-accent-ent); }
.brand-card:hover { background: color-mix(in srgb, var(--c, transparent) 7%, var(--bg-surface)); box-shadow: var(--shadow-lift), inset 0 -3px 0 var(--c, transparent); }

/* ── 活動內頁：本頁快速跳轉 ── */
.page-jump { position: sticky; top: 96px; z-index: 30; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding: 6px; width: fit-content; max-width: 100%; border: 1px solid var(--border-default); border-radius: 999px; background: color-mix(in srgb, var(--bg-surface) 88%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.page-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 700; transition: background-color .2s, color .2s; }
.page-jump a:hover, .page-jump a.is-current { background: var(--btn-bg); color: var(--btn-fg); }
@media (max-width: 1023px) { .page-jump { top: 72px; flex-wrap: nowrap; overflow-x: auto; width: auto; scrollbar-width: none; } .page-jump a { white-space: nowrap; padding: 0 14px; } }
section[id] { scroll-margin-top: 170px; }

/* ══ v2 R3 ══ */
/* ── 子品牌頁口號帶：迷你引力場（gravity.js 加 .has-field 後才加高） ── */
.slogan-band.has-field { min-height: 260px; }
.slogan-band > .gravity-field { position: absolute; inset: 0; }
.slogan-band.has-field > :not(.gravity-field):not(.outline-deco) { z-index: 1; }
.slogan-band .gravity-field .body { stroke: var(--bg-page); }
@media (max-width: 1023px) { .slogan-band.has-field { min-height: 220px; } }

/* ── 列表篩選換頁：清單區塊淡出淡入，標題與篩選列保持不動 ── */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(list) { animation: list-out .35s var(--ease-out) both; }
  ::view-transition-new(list) { animation: list-in .55s var(--ease-out) .1s both; }
}
@keyframes list-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes list-in { from { opacity: 0; transform: translateY(14px); } }

/* ── News 內頁：返回與複製連結並排 ── */
.article-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; }

/* ── 法務條文：標題旁的連結鈕，滑過或聚焦才出現；觸控裝置常駐 ── */
.clause-link { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; margin: -10px 0 -10px 4px; border: 0; border-radius: 50%; background: none; color: var(--accent-text-shu); font: 700 18px var(--font-en); cursor: pointer; opacity: 0; transition: opacity .2s, background-color .2s; }
.clause h2:hover .clause-link, .clause-link:focus-visible, .clause-link.is-copied { opacity: 1; }
.clause-link:hover { background: var(--bg-subtle); }
.clause-link.is-copied { width: auto; padding: 0 12px; border-radius: 999px; font-size: 12px; background: var(--status-success); color: #fff; }
@media (hover: none) { .clause-link { opacity: .6; } }

/* ── 聯絡表單：離開欄位後即時顯示有效／無效（:user-valid 不會在使用者還沒輸入時就標紅） ── */
.form input:user-valid:not([type=checkbox]), .form select:user-valid, .form textarea:user-valid { border-color: var(--status-success); background-image: linear-gradient(transparent, transparent); }
.form input:user-invalid:not([type=checkbox]), .form select:user-invalid, .form textarea:user-invalid { border-color: var(--status-error); }
.form input[type=email]:user-valid, .form input[type=text]:user-valid { background: var(--bg-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23016937' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 42px; }
.char-count { justify-self: end; font-family: var(--font-en); font-size: 12px; color: var(--text-secondary); }
.char-count.is-near { color: var(--status-error); font-weight: 700; }

/* ── 預約週曆：週四開放 → 下一週七天依序亮起；進場時播一次，滑過週四再播一次 ── */
@media (prefers-reduced-motion: no-preference) {
  html.js .week.reveal.is-in .days.entry span { animation: day-pop .6s var(--ease-out) both; }
  /* 滑過週四時改用另一個同內容的 keyframes 名稱，動畫才會重播 */
  html .week:has(.days .on:hover) .days.entry span, html.js .week.reveal.is-in:has(.days .on:hover) .days.entry span { animation: day-pop-again .6s var(--ease-out) both; }
  .week .days.entry span:nth-child(2) { animation-delay: .06s; } .week .days.entry span:nth-child(3) { animation-delay: .12s; } .week .days.entry span:nth-child(4) { animation-delay: .18s; } .week .days.entry span:nth-child(5) { animation-delay: .24s; } .week .days.entry span:nth-child(6) { animation-delay: .3s; } .week .days.entry span:nth-child(7) { animation-delay: .36s; }
  .week:has(.days .on:hover) .arrow .icon { animation: nudge .6s var(--ease-out); }
  .week .days .on { cursor: help; transition: transform .25s var(--ease-out); }
  .week .days .on:hover { transform: translateY(-3px); }
}
@keyframes day-pop { 0% { background: var(--mg-shu-tint); } 40% { background: var(--mg-shu); color: #fff; transform: translateY(-3px); } 100% { background: var(--mg-shu-tint); transform: none; } }
@keyframes day-pop-again { 0% { background: var(--mg-shu-tint); } 40% { background: var(--mg-shu); color: #fff; transform: translateY(-3px); } 100% { background: var(--mg-shu-tint); transform: none; } }
@keyframes nudge { 50% { transform: translateX(6px); } }
@media (max-width: 1023px) { @keyframes nudge { 50% { transform: translateY(6px); } } }

/* ══ 11/04 客戶視覺修正（PDF《漫遊引力官網_視覺修正點整理_1104》；素材在 /images/1104，深淺色各一套） ══ */
:root {
  --glow: 95,176,230; /* 品牌藍光暈（RGB，配 rgba 用） */
  --gl-color: #0070BA; /* 引力線：淺色用品牌藍 */
  --bg-top: #E3E9EF; /* 品牌頁頂部：淡藍灰 → 米白 */
  --img-stars-a: url(/images/1104/bg/stars_a_light.png); --img-stars-b: url(/images/1104/bg/stars_b_light.png);
  --img-orbit-brand: url(/images/1104/bg/orbit_brand_light_desktop.svg); --img-orbit-brand-m: url(/images/1104/bg/orbit_brand_light_mobile.svg);
  --img-orbit-func: url(/images/1104/bg/orbit_function_light_desktop.svg); --img-orbit-func-m: url(/images/1104/bg/orbit_function_light_mobile.svg);
  --img-planet: url(/images/1104/planet/planet_light.webp); --img-planet-m: url(/images/1104/planet/planet_light_mobile.webp);
}
@media (prefers-color-scheme: dark) {
  :root {
    --gl-color: #5AA9E0; --bg-top: #0C1524;
    --img-stars-a: url(/images/1104/bg/stars_a_dark.png); --img-stars-b: url(/images/1104/bg/stars_b_dark.png);
    --img-orbit-brand: url(/images/1104/bg/orbit_brand_dark_desktop.svg); --img-orbit-brand-m: url(/images/1104/bg/orbit_brand_dark_mobile.svg);
    --img-orbit-func: url(/images/1104/bg/orbit_function_dark_desktop.svg); --img-orbit-func-m: url(/images/1104/bg/orbit_function_dark_mobile.svg);
    --img-planet: url(/images/1104/planet/planet_dark.webp); --img-planet-m: url(/images/1104/planet/planet_dark_mobile.webp);
  }
}

/* ── 背景圖層（B1 品牌頁／C1 功能型頁）：放在 main 內、內容後方，不接收點擊 ── */
main:has(> .page-bg) { position: relative; isolation: isolate; }
.page-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.page-bg::before, .page-bg::after, .page-bg-orbit { content: ""; position: absolute; background-repeat: no-repeat; }
/* 星點磚以 2 倍密度製作：1600px 素材顯示成 800px */
[data-bg="brand"] .page-bg { background: linear-gradient(180deg, var(--bg-top) 0, var(--bg-page) 960px); }
[data-bg="brand"] .page-bg::before { inset: 0 0 auto; height: 1100px; background: var(--img-stars-a) top center / 800px auto repeat; -webkit-mask-image: linear-gradient(#000 0, #000 25%, transparent 100%); mask-image: linear-gradient(#000 0, #000 25%, transparent 100%); }
[data-bg="brand"] .page-bg-orbit { left: 50%; top: 40px; width: max(1440px, 100vw); aspect-ratio: 1440 / 600; transform: translateX(-50%); background: var(--img-orbit-brand) center / 100% 100%; }
[data-bg="function"] .page-bg::before, [data-bg="function"] .page-bg::after { top: 0; bottom: 0; width: 18vw; background: var(--img-stars-b) 0 0 / 800px auto repeat; }
[data-bg="function"] .page-bg::before { left: 0; -webkit-mask-image: linear-gradient(90deg, #000, transparent); mask-image: linear-gradient(90deg, #000, transparent); }
[data-bg="function"] .page-bg::after { right: 0; background-position: 100% 400px; -webkit-mask-image: linear-gradient(270deg, #000, transparent); mask-image: linear-gradient(270deg, #000, transparent); }
[data-bg="function"] .page-bg-orbit { left: 50%; top: 40px; width: max(1440px, 100vw); aspect-ratio: 1440 / 420; transform: translateX(-50%); background: var(--img-orbit-func) center / 100% 100%; }
@media (max-width: 1023px) {
  [data-bg="brand"] .page-bg-orbit { top: 24px; width: 100vw; aspect-ratio: 390 / 260; background-image: var(--img-orbit-brand-m); }
  [data-bg="function"] .page-bg::before, [data-bg="function"] .page-bg::after { width: 14vw; opacity: .7; }
  [data-bg="function"] .page-bg-orbit { top: 16px; width: 100vw; aspect-ratio: 390 / 260; background-image: var(--img-orbit-func-m); }
}
/* 功能型頁：內容放在實心卡片／實色區塊上，星點與軌道不落在文字後方 */
[data-bg="function"] .page-title, [data-bg="function"] .breadcrumb-row { position: relative; }
[data-bg="function"] .news-list, [data-bg="function"] .faq-list { background: var(--bg-page); }
/* 原本列表頁標題右側的線稿，改由背景軌道負責 */
[data-bg="function"] .page-title:not(.page-title--planet):has(> .display-en)::after, [data-bg="function"] .page-title:not(.page-title--planet):has(.title-row .display-en)::after { content: none; }

/* ── C2 右上星球（FAQ／News／Events）：顆粒感星球＋傾斜軌道＋三顆品牌色衛星，與預約頁頁尾同系列 ── */
.page-title--planet { position: relative; }
[data-bg="function"] .page-title.page-title--planet::after { content: ""; position: absolute; right: -24px; top: 50%; width: min(34vw, 380px); aspect-ratio: 977 / 604; transform: translateY(-50%); background: var(--img-planet) center / contain no-repeat; opacity: 1; pointer-events: none; }
@media (max-width: 1023px) { [data-bg="function"] .page-title.page-title--planet::after { right: -8px; top: 20px; width: 150px; transform: none; background-image: var(--img-planet-m); } }
.page-title--planet > *, .page-title--planet .title-row { position: relative; z-index: 1; }

/* ── 共用：發光圓點標籤（關於頁各段、漫遊社過往活動） ── */
.glow-dot, .gl-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--gl-color); box-shadow: 0 0 0 7px rgba(var(--glow), .16), 0 0 0 16px rgba(var(--glow), .08), 0 0 0 28px rgba(var(--glow), .04), 0 0 12px 3px rgba(var(--glow), .7); }
.glow-label, .gl-label { display: flex; align-items: center; gap: 14px; }
.glow-label .eyebrow, .gl-label .eyebrow { color: var(--accent-text-shu); }
.glow-label .muted, .gl-label .zh { font-size: 13px; color: var(--text-secondary); }

/* ── A1 預約頁：維持版面，只在必要處加微光 ── */
[data-page="reservation"] .guide-top .chips .dot { background: var(--mg-shu-light); box-shadow: 0 0 0 3px rgba(var(--glow), .18), 0 0 8px 1px rgba(var(--glow), .75); }
[data-page="reservation"] .line-card { box-shadow: 0 0 0 1px rgba(var(--glow), .35), 0 0 36px -4px rgba(var(--glow), .45); }
[data-page="reservation"] .line-card .qr { box-shadow: 0 0 0 2px rgba(var(--glow), .55), 0 0 18px rgba(var(--glow), .45); }
[data-page="reservation"] .section-head::after { background: var(--mg-shu-light); box-shadow: 0 0 8px 1px rgba(var(--glow), .8); }
@media (min-width: 1024px) { [data-page="reservation"] .step:not(:last-child)::after { background: var(--mg-shu-light); opacity: 1; box-shadow: 0 0 6px 1px rgba(var(--glow), .8); } }
[data-page="reservation"] .week .days .on { box-shadow: 0 0 0 3px rgba(var(--glow), .25), 0 0 18px 2px rgba(var(--glow), .6); }
[data-page="reservation"] .week .days.entry span { box-shadow: 0 0 10px rgba(var(--glow), .35); }
[data-page="reservation"] .day-flow h3 b, [data-page="reservation"] .notice-list li::before { box-shadow: 0 0 0 3px rgba(var(--glow), .14), 0 0 10px 1px rgba(var(--glow), .6); }

/* ── A2 預約頁頁尾「準備好了嗎？」：新星球圖（藍色漸層底、深淺共用），星球置中、文字靠左、按鈕靠右 ── */
.cta-planet { min-height: 150px; padding: 32px 48px; background: #0B3A6E; isolation: isolate; }
.cta-planet::after { content: none; }
.cta-planet .cta-planet-art { position: absolute; inset: 0; z-index: -1; }
.cta-planet .cta-planet-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.cta-planet > div:first-of-type { max-width: 32%; }
.cta-planet .btn-row { max-width: 32%; justify-content: flex-end; }
@media (max-width: 1023px) {
  /* 手機：文字在上、兩顆按鈕並排在下，中間留給星球 */
  .cta-planet { min-height: calc((100vw - 32px) * 940 / 1080 + 90px); justify-content: space-between; }
  .cta-planet > div:first-of-type, .cta-planet .btn-row { max-width: none; }
  .cta-planet .btn-row { flex-direction: row; }
  .cta-planet .btn-row .btn { flex: 1; padding-inline: 12px; white-space: nowrap; }
}

/* ── A3 品牌子頁頁尾軌道：完整顯示不裁切，兩端可延伸到頁面邊緣之外 ── */

/* ── A5 首頁／關於頁子品牌圖卡：高解析圖，網頁 1.86:1、手機 1:1，重點不被裁切 ── */
.brand-card .photo { aspect-ratio: 1920 / 1032; }
.brand-card .photo picture { display: block; width: 100%; height: 100%; }
@media (max-width: 1023px) { .brand-card .photo { aspect-ratio: 1 / 1; } }

/* ── B4 品牌頁主視覺：網頁 2.4:1、手機 1:1 重新構圖 ── */
.hero-photo--art { aspect-ratio: 2560 / 1067; }
.hero-photo picture { display: block; width: 100%; height: 100%; }
@media (max-width: 1023px) { .hero-photo--art { aspect-ratio: 1 / 1; } }

/* ── B2 漫遊社過往活動橫條：一次約四張、最右露出半張，圓形箭頭往右捲 ── */
.past-events { padding-bottom: 24px; }
.past-strip { position: relative; margin-top: 28px; }
.past-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 3.6); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; border-radius: 20px; }
.past-track::-webkit-scrollbar { display: none; }
.past-card { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; border: 1px solid var(--border-default); background: var(--bg-surface); box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.past-card .photo { display: block; aspect-ratio: 3 / 2; background: var(--bg-subtle); }
.past-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.past-card .body { display: grid; gap: 4px; padding: 16px 18px 18px; }
.past-card .date { font-family: var(--font-en); font-size: 12px; letter-spacing: .08em; color: var(--accent-text-shu); }
.past-card b { font-size: 15px; line-height: 1.5; }
.past-card .venue { font-size: 12px; color: var(--text-secondary); }
.past-card:hover { color: inherit; } .past-card:hover b { text-decoration: underline; text-underline-offset: 4px; }
.past-next { position: absolute; right: -10px; top: 28%; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #F3F3EF; color: #162032; box-shadow: 0 6px 18px rgba(0,0,0,.2); cursor: pointer; }
.past-next .icon { width: 20px; height: 20px; }
.past-more { display: flex; justify-content: flex-end; margin-top: 12px; }
.past-more .link-arrow { color: var(--accent-text-shu); }
@media (max-width: 1023px) { .past-track { grid-auto-columns: 72%; } .past-next { right: 4px; } }

/* ── A6 Gallery 依活動分組：左文字＋中大圖＋右 2×2，第四格「+剩餘張數」 ── */
.gallery-order { margin-left: auto; font-size: 13px; color: var(--text-secondary); }
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; }
.albums { display: grid; gap: 64px; margin-top: 40px; }
.album { display: grid; grid-template-columns: minmax(200px, 240px) minmax(0, 1fr); gap: 56px; align-items: center; }
.album-kicker { display: flex; flex-wrap: wrap; gap: 4px; font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--accent-text-shu); }
.album-info h2 { margin-top: 10px; font-size: 26px; line-height: 1.4; }
.album-meta { display: grid; gap: 2px; margin-top: 14px; font-size: 14px; color: var(--text-secondary); }
.album-info .link-arrow { margin-top: 14px; }
.album-media { display: grid; grid-template-columns: 1.16fr .5fr .5fr; grid-template-rows: 1fr 1fr; gap: 16px; aspect-ratio: 794 / 421; }
.album-media .gallery-item { aspect-ratio: auto; height: 100%; border-radius: 18px; box-shadow: 0 9px 24px rgba(0,0,0,.18); }
.album-media .album-lead { grid-row: 1 / 3; box-shadow: 0 18px 42px rgba(0,0,0,.24); }
.album-media--single { grid-template-columns: 1fr; aspect-ratio: 16 / 9; }
.album-more { position: relative; color: #fff; }
.album-more img { width: 100%; height: 100%; object-fit: cover; }
.album-more span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,22,46,.78); font-family: var(--font-en-head); font-size: 26px; font-weight: 700; text-shadow: 0 2px 7px rgba(0,0,0,.3); transition: background-color .3s; }
.album-more:hover { color: #fff; } .album-more:hover span { background: rgba(10,22,46,.66); }
.coming-soon { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 32px; border: 1px dashed color-mix(in srgb, var(--mg-shu) 55%, transparent); border-radius: 14px; font-size: 13px; color: var(--text-secondary); }
.coming-soon b { font-family: var(--font-en); font-size: 12px; letter-spacing: .16em; color: var(--text-primary); }
.album-title .album-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; }
@media (max-width: 1023px) {
  .album { grid-template-columns: 1fr; gap: 18px; }
  .albums { gap: 48px; }
  .album-media { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; gap: 10px; }
  .album-media .album-lead { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .album-media .gallery-item:not(.album-lead) { aspect-ratio: 1 / 1; }
  .gallery-order { margin-left: 0; flex-basis: 100%; }
  .coming-soon { flex-direction: column; align-items: flex-start; padding: 18px 20px; }
}

/* ── A4 關於頁整頁新版 ── */
.about-v2 { position: relative; isolation: isolate; overflow: hidden; padding-bottom: 24px; }
.about-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.about-sky .sky { position: absolute; left: 50%; width: max(1600px, 110vw); transform: translateX(-50%); opacity: .55; }
.about-sky .sky img { width: 100%; height: auto; }
.about-sky .sky--dust { top: 22%; opacity: .9; } .about-sky .sky--a { top: 14%; } .about-sky .sky--b { top: 42%; opacity: .4; } .about-sky .sky--c { top: 68%; }
@media (prefers-color-scheme: light) { .about-sky .sky { opacity: .35; } }
@media (max-width: 1023px) { .about-sky .sky--a, .about-sky .sky--b, .about-sky .sky--c { display: none; } .about-sky .sky--dust { width: 200vw; } }
.gravity-line { position: absolute; left: 0; top: 0; z-index: 0; color: var(--gl-color); pointer-events: none; overflow: visible; }
@media (max-width: 1023px) { .gravity-line { display: none; } }
/* 首屏：左右滿版全景插畫，底部融入頁面底色；標題疊在左上 */
.about-hero { position: relative; display: flex; flex-direction: column; }
/* 標題區在上、全景插畫往上疊進標題下半，文字只壓在插畫的夜空部分 */
.about-hero-art { display: block; order: 2; margin-top: clamp(-150px, -9vw, -48px); }
.about-hero-art img { width: 100%; height: auto; aspect-ratio: 4800 / 1500; object-fit: cover; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 70%, transparent); }
.about-hero-text { position: relative; z-index: 1; order: 1; }
.about-hero-text .breadcrumb-row { padding-top: 14px; }
.about-hero-text h1 { max-width: 9.5em; margin-top: 14px; font-size: clamp(40px, 4.2vw, 60px); font-weight: 800; line-height: 1.22; text-shadow: 0 3px 16px rgba(0,0,0,.38); }
.about-hero-text .ja { margin-top: 22px; font-size: 18px; color: var(--text-secondary); }
.about-hero-text .en { margin-top: 6px; font-size: 16px; color: var(--text-secondary); }
@media (prefers-color-scheme: dark) { .about-hero-text h1 { color: #F8FAFD; } .about-hero-text .ja, .about-hero-text .en { color: #AEB8C7; } }
@media (prefers-color-scheme: light) { .about-hero-text h1 { text-shadow: 0 2px 14px rgba(250,247,242,.8); } }
@media (max-width: 1023px) {
  .about-hero-art { margin-top: -40px; }
  .about-hero-art img { aspect-ratio: 1080 / 1350; }
  .about-hero-text h1 { font-size: 34px; }
  .about-hero-text .ja { margin-top: 14px; font-size: 15px; } .about-hero-text .en { font-size: 14px; }
}
/* Why／Belief／Answer：不再是卡片，左、中、右錯落排列 */
.about-flow { position: relative; z-index: 1; }
.about-step { padding: 72px 0; }
.about-step--left { max-width: 900px; }
.about-step--center { max-width: 640px; margin: 0 auto; text-align: center; }
.about-step--center .gl-label { justify-content: center; }
.about-step--right { max-width: 760px; margin-left: auto; text-align: right; }
.about-step--right .gl-label { justify-content: flex-end; }
.about-why { margin-top: 30px; font-size: clamp(26px, 2.7vw, 38px); font-weight: 800; line-height: 1.45; text-wrap: balance; }
.about-belief { margin-top: 26px; font-size: 22px; line-height: 1.85; color: var(--text-primary); }
.glow-statement { position: relative; margin-top: 44px; padding: 28px 0; }
.glow-statement-bg { position: absolute; right: -16%; top: 50%; width: 150%; transform: translateY(-50%); z-index: -1; pointer-events: none; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); opacity: .85; }
.glow-statement-bg img { width: 100%; height: auto; }
.glow-statement p { text-wrap: balance; font-family: var(--font-tc-head); font-size: clamp(28px, 3vw, 44px); font-weight: 800; line-height: 1.3; color: #0B4F86; text-shadow: 0 0 6px rgba(var(--glow), .45), 0 0 22px rgba(var(--glow), .35); }
@media (prefers-color-scheme: dark) { .glow-statement p { color: #E4F5FF; text-shadow: 0 0 6px rgba(231,248,255,.72), 0 0 18px rgba(70,183,255,.55), 0 0 38px rgba(58,151,255,.28); } }
/* How it works：行星＋雙軌道＋四節點圖解（彩色發光），內文關鍵字僅粗體 */
.about-how { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px 0; }
.about-how-art img { width: 100%; height: auto; filter: drop-shadow(0 0 18px rgba(var(--glow), .25)); }
.about-how-text { margin-top: 22px; max-width: 32em; font-size: 17px; line-height: 2; color: var(--text-secondary); }
.about-how-text b { color: var(--text-primary); font-weight: 700; }
/* 三個子品牌：網頁橫式、手機 1:1 */
.about-worlds { padding: 56px 0 24px; }
.gl-label--head { padding-bottom: 14px; margin-bottom: 28px; border-bottom: 1px solid var(--border-default); }
.gl-label--head h2 { font-size: 22px; letter-spacing: .08em; }
.about-worlds .brand-card { background: color-mix(in srgb, var(--bg-surface) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.about-worlds .brand-card .motto { margin-top: 4px; }
.about-worlds .brand-card .zh { margin-top: 8px; font-size: 14px; color: var(--text-secondary); }
/* 結尾：金句與「聯絡我們」和軌道圖層融為一體 */
.about-closing { position: relative; display: grid; justify-items: center; gap: 28px; padding: 120px 0 96px; text-align: center; }
.about-closing-rings { position: absolute; left: 50%; top: 50%; width: min(1400px, 130vw); transform: translate(-50%, -50%); z-index: -1; pointer-events: none; opacity: .8; }
.about-closing-rings img { width: 100%; height: auto; }
.about-closing h2 { max-width: 22em; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.5; }
@media (max-width: 1023px) {
  .about-step { padding: 44px 0; }
  .about-step--center, .about-step--right { text-align: left; margin: 0; }
  .about-step--center .gl-label, .about-step--right .gl-label { justify-content: flex-start; }
  .about-step--right .gl-label { flex-direction: row-reverse; }
  .about-belief { font-size: 18px; }
  .glow-statement-bg { right: -30%; width: 180%; }
  .about-how { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .about-how > div { order: -1; }
  .about-closing { padding: 72px 0 56px; }
}

/* ══ 11/05 客戶修正（報告書 11-05_a3a61f；預覽 F1～F6，素材在 /images/1105）══ */
/* F1 預約頁標籤圓點：.chips span 的膠囊樣式也套到了圓點，改回 8px 正圓，保留淡藍光暈 */
.guide-top .chips .dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; flex: none; }

/* F2 品牌頁口號區：動態軌道（gravity.js）＋品牌色；軌道在口號右側，整圈留在區塊內 */
.slogan-band--mini { overflow: visible; min-height: 260px; }
.slogan-band > .orbit-anchor { position: absolute; left: 58%; top: 56%; width: 2px; height: 2px; pointer-events: none; }
.slogan-band--mini .gravity-field .ring { opacity: .6; }
@media (max-width: 1023px) {
  .slogan-band--mini { min-height: 330px; }
  .slogan-band > .orbit-anchor { left: 64%; top: auto; bottom: 90px; }
}

/* F3 品牌頁上方：品牌色光暈往下漸變回頁面底色，背景細軌道換成品牌色 SVG（深淺 × 網頁手機） */
body[data-brand="shu"] { --bg-top: #DCE7EB; --img-orbit-brand: url(/images/1105/brand-orbit/orbit_shu_light_desktop.svg); --img-orbit-brand-m: url(/images/1105/brand-orbit/orbit_shu_light_mobile.svg); }
body[data-brand="town"] { --bg-top: #F7E2DA; --img-orbit-brand: url(/images/1105/brand-orbit/orbit_town_light_desktop.svg); --img-orbit-brand-m: url(/images/1105/brand-orbit/orbit_town_light_mobile.svg); }
body[data-brand="ent"] { --bg-top: #F3DEDA; --img-orbit-brand: url(/images/1105/brand-orbit/orbit_ent_light_desktop.svg); --img-orbit-brand-m: url(/images/1105/brand-orbit/orbit_ent_light_mobile.svg); }
@media (prefers-color-scheme: dark) {
  body[data-brand="shu"] { --bg-top: #192B42; --img-orbit-brand: url(/images/1105/brand-orbit/orbit_shu_dark_desktop.svg); --img-orbit-brand-m: url(/images/1105/brand-orbit/orbit_shu_dark_mobile.svg); }
  body[data-brand="town"] { --bg-top: #2A282E; --img-orbit-brand: url(/images/1105/brand-orbit/orbit_town_dark_desktop.svg); --img-orbit-brand-m: url(/images/1105/brand-orbit/orbit_town_dark_mobile.svg); }
  body[data-brand="ent"] { --bg-top: #292435; --img-orbit-brand: url(/images/1105/brand-orbit/orbit_ent_dark_desktop.svg); --img-orbit-brand-m: url(/images/1105/brand-orbit/orbit_ent_dark_mobile.svg); }
}
@media (max-width: 1023px) { body[data-brand][data-bg="brand"] .page-bg-orbit { aspect-ratio: 390 / 520; } }

/* F4 關於頁斷行（App\Support\LineBreaks）：每段不拆開，只在指定位置換行；網頁＝768px 以上，手機＝767px 以下 */
.lb { display: inline-block; }
.nw { white-space: nowrap; }
br.lb-m { display: none; }
@media (max-width: 767px) {
  br.lb-d { display: none; }
  br.lb-m { display: inline; }
  .about-why { font-size: min(26px, 6.6vw); }
  .glow-statement p { font-size: min(28px, 7.2vw); }
  .about-closing h2 { font-size: min(24px, 6vw); }
}

/* F5 首頁「關於漫遊引力」字卡：插畫鋪滿卡片（2600:986），文字疊左側；手機文字在上、插畫在下（1080:813）。色彩依說明 PDF */
.about-block--art {
  --card-bg: #EDEBE6; --card-ink: #162032; --card-sub: #5A6476; --card-line: #C8C6C0;
  position: relative; display: block; padding: clamp(32px, 4.6vw, 64px); background: var(--card-bg); color: var(--card-ink); isolation: isolate;
}
/* 卡片至少維持插畫比例（2600:986），文字比較多時往下長高；overflow:hidden 讓浮動撐高元素留在卡片內 */
.about-block--art::before { content: ""; float: left; padding-top: 37.9%; }
@media (prefers-color-scheme: dark) { .about-block--art { --card-bg: #22304A; --card-ink: #FAF7F2; --card-sub: #BEC8D8; --card-line: #46546E; } }
.about-block--art .about-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.about-block--art .about-art img { width: 100%; height: 100%; object-fit: contain; object-position: right center; }
.about-block--art .about-copy { max-width: 52%; }
.about-block--art .tag { color: var(--card-ink); font-size: clamp(26px, 2.7vw, 40px); white-space: nowrap; }
.about-block--art .label, .about-block--art .tag-ja, .about-block--art .tag-en, .about-block--art .intro { color: var(--card-sub); }
.about-block--art .intro { border-top-color: var(--card-line); }
.about-block--art .intro b, .about-block--art .link-arrow { color: var(--card-ink); }
@media (min-width: 768px) and (max-width: 1023px) { .about-block--art { padding: 32px; } .about-block--art .about-copy { max-width: 58%; } .about-block--art .tag { font-size: 26px; } }
@media (max-width: 767px) {
  .about-block--art { display: flex; flex-direction: column; padding: 28px 20px 0; }
  .about-block--art::before { content: none; }
  .about-block--art .about-art { position: static; order: 2; z-index: auto; margin: -24px -20px 0; }
  .about-block--art .about-art img { height: auto; aspect-ratio: 1080 / 813; }
  .about-block--art .about-copy { max-width: none; }
  .about-block--art .tag { font-size: min(20px, 5.2vw); white-space: nowrap; }
}

/* F6 首頁 Gallery「過往活動」：不等寬拼貼，左側大圖跨兩列（約一半寬）＋右側 2×2；手機大圖在上、下方 2×2 */
.gallery-mosaic { display: grid; grid-template-columns: 44fr 28fr 28fr; gap: 12px; }
.gallery-mosaic .gallery-item { aspect-ratio: 16 / 9; cursor: pointer; }
.gallery-mosaic .gallery-lead { grid-row: 1 / span 2; aspect-ratio: auto; height: 100%; }
.gallery-lead::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(10,16,28,.82)); pointer-events: none; }
.gallery-lead .lead-info { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: grid; justify-items: start; gap: 6px; color: #fff; }
.gallery-lead .lead-info .chip { position: static; }
.gallery-lead .lead-info .title { font-size: 20px; line-height: 1.4; letter-spacing: .02em; }
.gallery-lead .lead-info .meta { font-size: 13px; color: #D0D4DA; }
@media (max-width: 767px) {
  .gallery-mosaic { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-mosaic .gallery-lead { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 1.4; height: auto; }
  .gallery-mosaic .gallery-item:not(.gallery-lead) { aspect-ratio: 1 / 1; }
  .gallery-lead .lead-info { left: 14px; right: 14px; bottom: 12px; }
  .gallery-lead .lead-info .title { font-size: 16px; }
  .gallery-lead .lead-info .meta { font-size: 12px; }
}

/* F11（11/09）活動名稱標題（LineBreaks::title）：只在「／」後與空白處換行，詞不拆開；一個詞放不下時 site.js 縮小字級 */
.title-fit { overflow-wrap: normal; word-break: keep-all; }
.title-fit .lb { max-width: 100%; }

/* F7-1（11/09）已結束的活動：卡片不用毛玻璃、邊框不發光；上方方形圖完整顯示（不裁切、不疊色），下方實色資訊區 */
.ended-events { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border-default); }
.ended-events .section-head { display: flex; align-items: baseline; gap: 14px; }
.ended-events .section-head h2 { font-size: 22px; }
.event-card--ended { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 0; background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-default); box-shadow: none; }
.event-card--ended::before, html.fx-tilt .event-card--ended::after { content: none; }
html.fx-tilt .event-card--ended { transform: none; }
.event-card--ended:hover { color: var(--text-primary); box-shadow: none; }
.event-card--ended .photo { display: block; background: var(--bg-subtle); }
.event-card--ended .photo img { display: block; width: 100%; height: auto; }
.event-card--ended .panel { padding: 16px 18px 18px; background: var(--bg-surface); }
.event-card--ended h3 { color: var(--text-primary); }
.event-card--ended .meta { color: var(--text-secondary); opacity: 1; }
.event-card--ended .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--accent-text-shu); }
.event-card--ended .more .icon { width: 14px; height: 14px; }

/* F7-2（11/09）主圖依原比例完整顯示到四邊：不裁切、不疊色、不加邊框 */
.hero-photo--full { aspect-ratio: auto; border: 0; }
.hero-photo--full img, img.hero-photo--full { height: auto; object-fit: contain; }
@media (max-width: 1023px) { .hero-photo--full { aspect-ratio: auto; } }

/* b1（11/09）不公開預覽頁的提示列 */
.preview-bar { margin: 12px 0 0; padding: 10px 16px; border-radius: 10px; background: var(--bg-subtle); border: 1px dashed var(--border-default); font-size: 13px; font-weight: 700; color: var(--text-secondary); }
.title-row .title-fit, .title-fit { min-width: 0; max-width: 100%; }
/* 標題所在的 grid 子項目不讓一整段不換行的詞撐寬格子（否則縮字的 JS 量到的是被撐開的寬度） */
.event-head > *, .card-grid > *, .album > *, .album-info { min-width: 0; }

/* F13-2（11/09 第二批）FAQ 斷句（LineBreaks::faq）：答案一句一行，原本的分段之間多一點間距；子句（.lb）優先整段換行，詞（.nw）不拆 */
.faq-answer .para { margin: 0; }
.faq-answer .para + .para { margin-top: .9em; }
.faq-answer .sent { display: block; }
.faq-item .q-text { min-width: 0; }
