/*
 * class-sprite-row：最小高度 300px＝技能演示畫布 220＋說明列＋間距＋padding 28＋框線 2；基礎職業（演示）與融合職業（待機圖）同高，切換不得造成整頁跳動。
 * .jp：日文名稱與標題一律掛 lang="ja" 走 Noto Serif JP（字形依日文），跟在中文之後時以細線分隔；只有日文的 kicker 掛 .kicker-jp、不畫分隔線（:first-child 不看文字節點，不能拿來判斷）。
 * site-foot：上框線與 foot-rule 間留白約 34px，下方約 30px，避免貼合像毛邊。
 * .sys-shot：「怎麼玩」背景截圖統一顯示高度 760px（寬依原比例），各分頁截圖原尺寸不同，不統一＝切換分頁時圖的上下緣跳動。
 * .sys-head（單欄 ≤ 700px）：標題保留兩行高，部分分頁標題在手機折成兩行，不保留＝切換分頁時整個區塊高度跳動。
 *
 * 官網樣式單一入口。token 取自遊戲沉浸模式（src/app.css / ambientBackdrop.css 的暖暗材質＋金墨），
 * 紙面（paper-well）沿用遊戲 window-bg 貼圖與 well-frame 邊框，網站不自創第二套材質。
 * 疊層規約：背景圖／霧／罩以 isolation 與負 z-index 留在內容後方；hero 依舞台 0、罩 1、
 * 文案 2、標記 3 排列，不可把所有裝飾層一律改成負值。
 * .glow 用 closest-side radial 收到 alpha 0 才碰盒邊 —— 立繪底光不得出現方形切線。
 * .plx 視差：位移 −960px ＝ 貼圖寬 960px ＝ 各層 width: calc(100% + 960px) 的補寬，三者同改。
 * .stage-paused 由 battle-stage.js 控制：接敵時暫停行軍捲動，戰鬥與背景才不會各講各的。
 * .strip 精靈圖：--cell 一顆變數餵動畫距離（×4）與盒尺寸，格數固定 4 —— 位移錯寫成兩倍寬
 * 的症狀是半數幀落在空白。
 * .pet-strip 寵物精靈圖：--fw／--fh＝單格顯示寬高（非正方，由 app.js 設），位移＝--fw×4、一輪＝--dur；
 *   pet-stage 高 120px＝最大格高 80（原尺寸）＋留白，換寵物或動作不得造成整頁跳動。
 * 寵物立繪是透明底完整畫布（主體約佔中段六成）：主圖不加卡框；選單縮圖由 .pt 圓框裁切、img 放大 1.5 倍讓主體填滿。
 *
 * 實機截圖水印（示意，非展示）：**原尺寸不縮放** —— 縮放會讓 UI 細節糊成雜訊。
 * 定位錨在**版心中線右偏**而非百分比：立繪欄是 max-width 420 置中於右半欄，
 * 它離版心中線的距離隨視窗寬度變，用 left:% 會在寬螢幕上與立繪脫開。--shot-x 是唯一旋鈕。
 * 四邊以 mask 羽化：不羽化的話圖的邊界就是一條硬直線，讀起來像貼歪的貼紙而不是襯底。
 * 兩道線性遮罩 intersect＝水平與垂直各自淡出，四角自然收乾；單一 radial 會把上下端咬掉太多。
 * 窄螢幕：文字與立繪疊成上下排，水印會直接壓在文字後面 —— 壓到幾乎只剩紋理
 * 十五融合徽記（#classes 背景水印，菱形排列）：列型見 app.js FUSION_DIAMOND。
 * 位在背景圖／霧氣之上、壓暗漸層之下（z-index -2）—— 與背景吃同一層紗，不浮在區塊表面。
 * 橢圓 mask 讓四周淡出：菱形的四個尖端若是硬邊，會看起來像貼上去的貼紙。
 * --mark-size 控制徽記尺度；負的 --mark-vgap 不是有效 gap 值，不會形成負間距，不能靠它重疊各列。
 * hero：手機保留底部戰鬥區，文案不壓在人物上；class-stagebox 定高以維持切換時位置。
 */

:root {
  --bg-0: #0b0a09;
  --bg-1: #100f0d;
  --bg-2: #161412;
  --bg-3: #1e1b17;
  --ink-hi: #f2ebda;
  --ink-body: #c6bda8;
  --ink-dim: #8f8873;
  --ink-faint: #6f6960;
  --gold: #c9a75c;
  --gold-deep: #a98a4a;
  --gold-line: rgb(183 150 96 / .26);
  --gold-line-strong: rgb(183 150 96 / .4);
  --paper: #e9d5b4;
  --paper-ink: #3c3024;
  --paper-ink-hi: #2f2418;
  --paper-dim: #6a5946;
  --paper-line: rgb(140 118 84 / .32);
  --alert: #c9705f;
  --void: #a98ad6;
  --font-body: "Noto Serif TC", "Songti TC", serif;
  --sec-y: clamp(48px, 6.5vw, 92px);
  --pad-x: clamp(16px, 4vw, 48px);
  --wrap: 1240px;
}

@font-face {
  font-family: "Cinzel";
  src: url("public/fonts/cinzel-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 82px; }
body {
  background: var(--bg-0);
  color: var(--ink-body);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; }
a { color: #d9c89a; text-decoration: none; border-bottom: 1px solid rgb(217 200 154 / .35); }
a:hover { color: #f3e4bb; border-bottom-color: rgb(243 228 187 / .7); }
input, button { font-family: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad-x); }
.sec { padding-block: var(--sec-y); background: var(--bg-1); }
.sec-raised { background: var(--bg-2); }
.kicker {
  margin: 0 0 12px;
  color: var(--gold-deep);
  font-size: 11.5px;
  letter-spacing: .42em;
  text-indent: .42em;
}
.jp { font-family: "Noto Serif JP", "Noto Serif TC", serif; font-weight: 500; }
.kicker .jp { margin-left: .9em; padding-left: .9em; border-left: 1px solid rgb(201 167 92 / .45); letter-spacing: .24em; opacity: .85; }
.kicker-jp .jp { margin-left: 0; padding-left: 0; border-left: 0; opacity: 1; }
.sec-title {
  margin: 0 0 14px;
  font-size: clamp(24px, 3.1vw, 34px);
  font-weight: 700;
  color: var(--ink-hi);
  letter-spacing: .1em;
  line-height: 1.5;
}
.sec-lede { margin: 0 0 26px; max-width: 720px; color: var(--ink-body); line-height: 1.95; text-wrap: pretty; }
.dim { color: var(--ink-dim); }
.small { font-size: 13.5px; }

.goldlist { display: grid; border-top: 1px solid var(--gold-line); }
.goldlist > * { padding: 12px 2px; border-bottom: 1px solid var(--gold-line); margin: 0; }
.spec-row {
  display: grid;
  grid-template-columns: 6.4em 1fr;
  gap: 4px 20px;
  align-items: baseline;
}
.spec-row .k { color: var(--ink-dim); font-size: 12px; letter-spacing: .2em; white-space: nowrap; }
.spec-row .v { color: #e5ddc8; font-size: 15px; line-height: 1.8; text-wrap: pretty; }

.btn {
  display: inline-block;
  border: 0;
  border-radius: 2px;
  white-space: nowrap;
  text-align: center;
  letter-spacing: .26em;
  text-indent: .26em;
  transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.btn-primary {
  padding: 15px 32px;
  background-color: #2f2418;
  background-image: linear-gradient(rgb(255 240 210 / .1), transparent 46%, rgb(0 0 0 / .18));
  box-shadow: inset 0 0 0 1px rgb(47 36 24 / .72), inset 0 0 0 2px rgb(198 176 128 / .45), inset 0 0 0 3px rgb(47 36 24 / .3);
  color: #f0e5cc;
  font-size: 16px;
  font-weight: 700;
}
.btn-primary:hover { background-color: #413320; color: #fff6e2; border-bottom: 0; }
a.btn-primary { border-bottom: 0; }
.btn-ghost {
  padding: 15px 24px;
  background: none;
  color: #d9c89a;
  font-size: 15px;
  border-bottom: 0;
}
.btn-ghost:hover { color: #fff6e2; }
.btn-outline {
  padding: 12px 22px;
  background: none;
  box-shadow: inset 0 0 0 1px var(--gold-line-strong);
  color: #d9c89a;
  font-size: 14px;
  border-bottom: 0;
}
.btn-outline:hover { box-shadow: inset 0 0 0 1px rgb(231 211 148 / .9); color: #fff6e2; }
.btn:active { transform: translateY(1px); }

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(#0b0a09fa, #0b0a09e8);
  border-bottom: 1px solid rgb(183 150 96 / .32);
}
.site-head .bar {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 9px clamp(14px, 3vw, 40px);
}
.brand { flex: 0 0 auto; border: 0; background: none; padding: 0; }
.brand img { height: 34px; width: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-link {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 0;
  background: none;
  color: #b5aa92;
  font-size: 14px;
  letter-spacing: .18em;
  text-indent: .18em;
  white-space: nowrap;
  transition: color .16s ease;
}
.nav-link:hover { color: #f3e4bb; }
.nav-link.on { color: #f3e4bb; }
.nav-cta { margin-left: 6px; padding: 10px 19px; font-size: 14px; letter-spacing: .22em; text-indent: .22em; }

.notice-band {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 14px;
  padding: 10px var(--pad-x);
  background: #1d1512;
  border-bottom: 1px solid rgb(151 70 58 / .45);
  font-size: 13.5px;
  text-align: center;
}
.notice-band strong { color: var(--alert); font-weight: 600; letter-spacing: .24em; text-indent: .24em; }
.notice-band .link-btn { padding: 0; border: 0; background: none; color: #c8b88f; font-size: 13.5px; text-decoration: underline; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(520px, 78vh, 640px);
  background: var(--bg-0);
}
.hero-stagebox { position: absolute; inset: auto 0 0; z-index: 0; height: 480px; overflow: hidden; }
.plx {
  position: absolute;
  left: 0;
  width: calc(100% + 960px);
  background-repeat: repeat-x;
  image-rendering: pixelated;
  will-change: transform;
  animation: plx-scroll linear infinite;
}
.plx-far { top: 0; bottom: 0; background-size: 960px 480px; animation-duration: 24s; }
.plx-mid2 { bottom: 144px; height: 384px; background-size: 960px 384px; animation-duration: 14s; }
.plx-mid { bottom: 72px; height: 384px; background-size: 960px 384px; animation-duration: 10s; }
.plx-ground { bottom: 0; height: 144px; background-size: 960px 144px; animation-duration: 5s; }
@keyframes plx-scroll { to { transform: translate3d(-960px, 0, 0); } }
.stage-paused .plx { animation-play-state: paused; }
.hero-stage { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, #090807f2 0%, #090807e0 26%, #09080799 48%, #0908072e 68%, transparent 82%),
    radial-gradient(ellipse 70% 60% at 88% 8%, #0b0a09b3, transparent 70%),
    linear-gradient(#0b0a09 25%, rgb(11 10 9 / 0) 54%, rgb(11 10 9 / 0) 74%, #0b0a09f7);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 17px;
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 56px);
}
.hero-kicker { margin: 0; color: #c8b88f; font-size: 12px; letter-spacing: .42em; text-indent: .42em; }
.hero-title { margin: 0; font-size: 0; line-height: 0; }
.hero-logo { width: min(92%, 500px); height: auto; filter: drop-shadow(0 8px 28px rgb(0 0 0 / .9)); }
.hero-line {
  margin: 0;
  max-width: 540px;
  color: var(--ink-hi);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  line-height: 1.8;
  text-wrap: pretty;
  text-shadow: 0 2px 8px #000e;
}
.hero-sub { margin: 0; max-width: 510px; color: #d6cbb5; font-size: 15px; letter-spacing: .06em; text-shadow: 0 1px 5px #000c; }
.hero-invite { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 20px; margin-top: 4px; padding-left: 16px; border-left: 2px solid var(--gold-deep); }
.hero-invite > span { color: #d9c89a; font-size: 12px; letter-spacing: .16em; }
.hero-invite p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 0; }
.hero-invite time { color: var(--ink-hi); font-family: "Cinzel", serif; font-size: 25px; line-height: 1.5; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.hero-invite p span { color: var(--ink-body); font-size: 12px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-ctas .btn-primary { padding: 16px 34px; font-size: 17px; }
.hero-ctas .btn-ghost { padding-inline: 14px; }
.hero-availability { margin: -5px 0 0; color: #dfd1b5; font-size: 13px; letter-spacing: .05em; }
.hero-availability > span { padding-inline: 5px; color: var(--gold-deep); }
.hero-note { margin: -5px 0 0; max-width: 540px; color: #b8ae98; font-size: 12.5px; letter-spacing: .04em; }
.hero-note a { display: inline-block; margin-left: 5px; }
.live-badge {
  position: absolute;
  right: clamp(14px, 4vw, 40px);
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 13px;
  background: rgb(11 10 9 / .72);
  box-shadow: inset 0 0 0 1px rgb(183 150 96 / .32);
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--alert); box-shadow: 0 0 7px 1px rgb(201 112 95 / .8); animation: glow-pulse 1.6s ease-in-out infinite alternate; }
.live-badge span:last-child { color: #cfc6b2; font-size: 11.5px; letter-spacing: .24em; }
.origin-badge {
  position: absolute;
  top: 14px;
  right: clamp(14px, 4vw, 40px);
  z-index: 3;
  max-width: min(58%, 430px);
  margin: 0;
  padding: 7px 13px;
  background: rgb(11 10 9 / .72);
  box-shadow: inset 0 0 0 1px rgb(183 150 96 / .32);
  color: #cfc6b2;
  font-size: 11.5px;
  letter-spacing: .12em;
  line-height: 1.75;
}

.drop-ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 11px var(--pad-x);
  background: #14120f;
  border-bottom: 1px solid rgb(183 150 96 / .22);
}
.drop-ticker .label { flex: 0 0 auto; color: var(--gold-deep); font-size: 11px; letter-spacing: .3em; }
.drop-item { display: flex; align-items: center; gap: 10px; }
.drop-item.swap { animation: soft-fade .4s ease-out both; }
.drop-item img { width: 26px; height: 26px; object-fit: contain; }
.drop-item .name { color: #e9e2cf; font-size: 14px; letter-spacing: .06em; }
.drop-item .qty { color: var(--gold-deep); font-size: 12.5px; letter-spacing: .12em; }

.tab-row { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 22px; scrollbar-width: none; }
.tab {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 0;
  border-bottom: 2px solid rgb(183 150 96 / .2);
  background: transparent;
  color: #9a927f;
  font-size: 14.5px;
  letter-spacing: .16em;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.tab img { width: 26px; height: 26px; object-fit: contain; opacity: .55; transition: opacity .18s ease; }
.tab:hover { color: #f3e4bb; }
.tab.on { color: #f3e4bb; background: rgb(201 167 92 / .12); border-bottom-color: rgb(201 167 92 / .65); }
.tab.on img { opacity: 1; }

.sys-panel {
  display: grid;
  gap: clamp(20px, 3vw, 44px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: center;
}
.sys-en { margin: 0 0 10px; color: var(--gold-deep); font-size: 11px; letter-spacing: .4em; text-indent: .4em; }
.sys-en .jp, .boss-en .jp, .pet-title .en .jp { margin-right: 1.1em; font-size: 1.2em; letter-spacing: .22em; }
.sys-head { margin: 0 0 16px; font-size: clamp(21px, 2.7vw, 30px); font-weight: 700; color: #efe7d3; letter-spacing: .06em; line-height: 1.5; }
.sys-body { margin: 0 0 20px; max-width: 540px; line-height: 1.95; text-wrap: pretty; }
.sys-facts p { color: #b0a793; font-size: 14.5px; letter-spacing: .04em; }
.sys-art { position: relative; justify-self: center; display: grid; place-items: center; width: 100%; max-width: 420px; height: min(440px, 88vw); }
.sys-art img { position: relative; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(-12px 14px 16px rgb(0 0 0 / .6)); }
.sys-body { min-height: calc(1.95em * 4); }


.sys-shot {
  --shot-x: clamp(240px, 26vw, 420px);
  position: absolute; z-index: -2; pointer-events: none;
  top: 50%; left: 50%;
  transform: translate(calc(-50% + var(--shot-x)), -50%);
  height: 760px; width: auto;
  opacity: .16; transition: opacity .38s ease;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 24%, #000 76%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 24%, #000 76%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
  mask-composite: intersect;
}
.sys-shot.swapping { opacity: 0; }
.sys-shot-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgb(16 15 13 / .42), rgb(16 15 13 / .12) 42%, rgb(16 15 13 / .5));
}
@media (max-width: 900px) {

  .sys-shot { --shot-x: 0px; opacity: .07; }
}
@media (max-width: 700px) { .sys-head { min-height: 3em; } }
@media (prefers-reduced-motion: reduce) { .sys-shot { transition: none; } }

.glow {
  position: absolute;
  inset: -6% 0;
  background: radial-gradient(closest-side, rgb(201 167 92 / .16), transparent 100%);
  animation: glow-pulse 6s ease-in-out infinite alternate;
  pointer-events: none;
}
.swap-slide { animation: art-slide .5s ease-out both; }
.swap-fade { animation: soft-fade .45s ease-out both; }

.class-grid {
  display: grid;
  gap: clamp(16px, 3vw, 40px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}
.class-intro { margin: 0; color: var(--ink-body); font-size: 14px; }
.class-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-block: 1px solid var(--gold-line); }
.class-pick {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  padding: 14px 10px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-left: 2px solid rgb(183 150 96 / .22);
  background: none;
  text-align: left;
  transition: border-color .18s ease;
}
.class-pick img { width: 36px; height: 36px; object-fit: contain; opacity: .5; filter: drop-shadow(1px 2px 2px rgb(0 0 0 / .6)); transition: opacity .18s ease; }
.class-pick .nm { color: #b8ae98; font-size: 17px; letter-spacing: .1em; transition: color .18s ease; }
.class-pick .en { display: none; }
.class-pick:hover .nm { color: #d9c89a; }
.class-pick.on { border-bottom-color: var(--gold); background: rgb(201 167 92 / .09); }
.class-pick.on img { opacity: 1; }
.class-pick.on .nm { color: #f3e4bb; }
.fusion-explorer { padding-block: 22px 28px; }
.fusion-options { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.fusion-pick { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--gold-line); background: rgb(11 10 9 / .45); color: var(--ink-body); text-align: left; transition: border-color .16s ease, background-color .16s ease; }
.fusion-pick img { width: 28px; height: 28px; object-fit: contain; opacity: .65; }
.fusion-parent, .fusion-name { display: block; }
.fusion-parent { font-size: 11px; color: #b4a68c; }
.fusion-name { font-size: 15px; color: #e5ddc8; letter-spacing: .05em; }
.fusion-pick:hover, .fusion-pick.on { border-color: var(--gold); background: rgb(201 167 92 / .12); }
.fusion-pick.on .fusion-name { color: #fff0cd; }
.fusion-pick.on img { opacity: 1; }
.class-hint { margin: 0; color: #b8ae98; font-size: 13px; line-height: 1.85; }
.class-join-note { display: inline-block; margin: 8px 0 0 16px; color: var(--ink-body); font-size: 12px; }
.class-stagebox { position: relative; display: grid; grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); place-items: end center; height: clamp(400px, 42vw, 560px); }
.class-art { position: relative; min-height: 0; max-width: min(100%, 380px); width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(-14px 16px 18px rgb(0 0 0 / .65)); }
.class-detail { display: grid; gap: 14px; align-content: center; }
.class-title { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.class-title h3 { margin: 0; font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; color: var(--ink-hi); letter-spacing: .16em; }
.class-title .role { color: var(--gold-deep); font-size: 12px; letter-spacing: .3em; }
.class-title .jp { color: #d9c89a; font-size: 15px; letter-spacing: .2em; }
.skill-row .nm .jp { margin-left: .8em; color: var(--ink-dim); font-size: 12px; letter-spacing: .14em; }
.skill-demo { display: block; flex: 1 1 100%; width: 100%; height: 220px; }
.skill-demo[hidden], .class-sprite-row .strip[hidden] { display: none; }
.skill-row img[hidden] { display: block; visibility: hidden; }
.class-line { margin: 0; color: #e2d4b4; font-size: 17px; line-height: 1.8; letter-spacing: .04em; }
.class-body { margin: 0; color: #b0a793; font-size: 15px; line-height: 1.95; text-wrap: pretty; min-height: calc(1.95em * 3); }
.class-trait { margin: 0; color: #b0a793; font-size: 14px; line-height: 1.85; text-wrap: pretty; }
.class-trait .trait-name { display: block; color: var(--gold-deep); font-size: 12px; letter-spacing: .24em; margin-bottom: 2px; }
.class-sprite-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; padding: 14px 0; border-block: 1px solid var(--gold-line); min-height: 300px; }
.class-sprite-row .cap { margin: 0 0 6px; color: var(--ink-dim); font-size: 12.5px; line-height: 1.8; }
.mini-label { margin: 0 0 9px; color: var(--gold-deep); font-size: 11px; letter-spacing: .32em; }
.skill-row { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: center; }
.skill-row img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(1px 2px 2px rgb(0 0 0 / .6)); }
.skill-row .nm { margin: 0 0 2px; color: #e9e2cf; font-size: 15px; letter-spacing: .1em; }
.skill-row .note { margin: 0; color: var(--ink-dim); font-size: 12px; letter-spacing: .06em; }

.strip { overflow: hidden; width: var(--cell); height: var(--cell); flex: 0 0 auto; }
.strip.flip { transform: scaleX(-1); }
.strip img {
  width: calc(var(--cell) * 4);
  height: var(--cell);
  image-rendering: pixelated;
  animation: strip-run .667s steps(4) infinite;
}
@keyframes strip-run { to { transform: translateX(calc(var(--cell) * -4)); } }

.region-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(320px, 44vh, 440px);
  display: grid;
  align-content: end;
  gap: 12px;
  padding: clamp(36px, 5vw, 64px) var(--pad-x) clamp(26px, 3.6vw, 44px);
  background: var(--bg-2);
}
.region-hero .bgimg { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; opacity: 0; transition: opacity .55s ease; }
.region-hero .bgimg.show { opacity: .6; }
.rh-copy { position: relative; display: grid; gap: 12px; }
.rh-copy h3 .jp { display: block; margin-top: 6px; color: #d9c89a; font-size: .42em; font-weight: 500; letter-spacing: .3em; }
.zc-name { margin: 0 0 16px; font-size: clamp(21px, 2.6vw, 27px); font-weight: 700; color: var(--ink-hi); letter-spacing: .1em; }
.zone-card { min-height: 340px; }
.region-hero .mist { position: absolute; inset: 26% -20% -20%; z-index: -2; background: radial-gradient(ellipse at 34% 58%, #c7c4be33, transparent 38%), radial-gradient(ellipse at 72% 72%, #d3cec545, transparent 40%); animation: mist-drift 24s ease-in-out infinite alternate; }
.region-hero .veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(#100f0de8, #16141233 32%, #100f0dfc); }
.region-hero .rh-meta { margin: 0; color: var(--gold-deep); font-size: 11.5px; letter-spacing: .42em; text-indent: .42em; }
.region-hero h3 { margin: 0; font-size: clamp(26px, 4vw, 44px); font-weight: 700; color: var(--ink-hi); letter-spacing: .16em; text-shadow: 0 3px 12px #000d; }
.region-hero .rh-hook { margin: 0; max-width: 620px; color: #dcd4c0; font-size: clamp(15px, 1.8vw, 18px); line-height: 1.85; text-wrap: pretty; text-shadow: 0 1px 5px #000c; }

.zone-tabs {
  display: flex;
  overflow-x: auto;
  background-color: var(--paper);
  background-image: url("public/art/ui/window-bg.png");
  background-size: 512px 512px;
  border-block: 1px solid rgb(74 56 36 / .45);
  box-shadow: inset 0 -6px 12px rgb(96 70 38 / .2);
  scrollbar-width: none;
}
.zone-tab {
  flex: 0 0 auto;
  display: grid;
  gap: 3px;
  padding: 11px 20px 13px;
  border: 0;
  border-top: 3px solid transparent;
  border-right: 1px solid rgb(140 118 84 / .35);
  background: transparent;
  color: var(--paper-dim);
  text-align: left;
  transition: background-color .16s ease, color .16s ease, border-top-color .16s ease;
}
.zone-tab:hover { background: rgb(47 36 24 / .09); color: var(--paper-ink-hi); }
.zone-tab.on { background: rgb(47 36 24 / .12); color: var(--paper-ink-hi); border-top-color: #8a6a32; }
.zone-tab .nm { font-size: 15px; letter-spacing: .12em; white-space: nowrap; }
.zone-tab .tag { font-size: 11px; letter-spacing: .18em; opacity: .7; white-space: nowrap; }
.zone-card {
  display: grid;
  gap: clamp(22px, 3vw, 46px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  align-items: start;
}

.nation-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.nation-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 290px;
  padding: 22px;
  transition: transform .2s ease;
}
.nation-card:hover { transform: translateY(-3px); }
.nation-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.nation-card .veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(#0c0b0a2e, #0c0b0a9e 52%, #0c0b0af7); }
.nation-card .city { margin: 0 0 6px; color: var(--gold-deep); font-size: 11px; letter-spacing: .32em; }
.nation-card h4 { margin: 0 0 9px; font-size: 21px; font-weight: 600; color: var(--ink-hi); letter-spacing: .16em; }
.nation-card p { margin: 0; font-size: 14px; line-height: 1.85; text-wrap: pretty; }
.map-frame {
  position: relative;
  padding: 12px;
  background-color: var(--paper);
  background-image: url("public/art/ui/frame/paper-grain.png");
  border: 14px solid transparent;
  border-image: url("public/art/ui/frame/well-frame-poc.png") 72 / 14px round;
  box-shadow: 0 12px 34px rgb(0 0 0 / .6);
}
.map-frame > img { width: 100%; height: auto; }
.map-pin { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; box-shadow: 0 0 0 3px rgb(233 213 180 / .9); }
.map-pin.center { width: 14px; height: 14px; margin: -7px 0 0 -7px; box-shadow: 0 0 0 3px rgb(233 213 180 / .85), 0 0 16px 5px rgb(138 95 201 / .5); animation: glow-pulse 4.5s ease-in-out infinite alternate; }
.legend-row { display: flex; align-items: baseline; gap: 11px; }
.legend-row .dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 2px rgb(233 213 180 / .55); }
.legend-row span:last-child { font-size: 14px; line-height: 1.75; }

.boss-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.boss-nav { display: flex; gap: 8px; }
.boss-panel {
  display: grid;
  gap: clamp(18px, 3vw, 44px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  align-items: center;
  min-height: 420px;
}
.boss-art { position: relative; justify-self: center; display: grid; place-items: center; width: 100%; max-width: 440px; height: clamp(280px, 38vw, 420px); }
.boss-art img { position: relative; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 18px 22px rgb(0 0 0 / .7)); }
.boss-en { margin: 0 0 10px; font-size: 11px; letter-spacing: .4em; text-indent: .4em; }
.boss-name { margin: 0 0 12px; font-size: clamp(28px, 3.8vw, 44px); font-weight: 700; color: var(--ink-hi); letter-spacing: .14em; }
.boss-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 18px; }
.boss-meta .tier { color: var(--gold-deep); font-size: 13px; letter-spacing: .18em; }
.boss-meta .zone { color: var(--ink-dim); font-size: 13px; letter-spacing: .12em; }
.boss-line { margin: 0; max-width: 500px; color: #d3cbb6; font-size: clamp(15px, 1.8vw, 18px); line-height: 1.95; text-wrap: pretty; min-height: calc(1.95em * 3); }
.boss-dots { display: flex; justify-content: center; gap: 7px; margin-top: 18px; }
.boss-dot { width: 10px; height: 5px; padding: 0; border: 0; border-radius: 3px; background: rgb(201 167 92 / .28); transition: width .22s ease, background-color .22s ease; }
.boss-dot.on { width: 26px; background: var(--gold); }

.pet-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 56px); align-items: center; margin-top: 8px; }
.pet-art { display: grid; place-items: center; }
.pet-art img { display: block; width: 100%; max-width: 420px; aspect-ratio: 3 / 4; object-fit: contain; filter: drop-shadow(-10px 14px 14px rgb(0 0 0 / .6)); }
.pet-detail { display: grid; gap: 14px; align-content: center; min-width: 0; }
.pet-title { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pet-title h3 { margin: 0; font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; color: var(--ink-hi); letter-spacing: .16em; }
.pet-title .en { color: var(--gold-deep); font-size: 12px; letter-spacing: .3em; }
.pet-line { margin: 0; color: #d3cbb6; font-size: 16px; line-height: 1.95; text-wrap: pretty; min-height: calc(1.95em * 3); }
.pet-stage { display: flex; align-items: flex-end; justify-content: center; height: 120px; border-block: 1px solid var(--gold-line); background: radial-gradient(ellipse at 50% 90%, rgb(201 167 92 / .12), transparent 60%); }
.pet-strip { overflow: hidden; width: var(--fw); height: var(--fh); margin-bottom: 12px; }
.pet-strip img { display: block; width: calc(var(--fw) * 4); max-width: none; height: var(--fh); image-rendering: pixelated; animation: pet-run var(--dur) steps(4) infinite; }
@keyframes pet-run { to { transform: translateX(calc(var(--fw) * -4)); } }
.pet-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.pet-act { padding: 6px 18px; border: 1px solid var(--gold-line); border-radius: 999px; background: none; color: #b8ae98; font: inherit; font-size: 13px; letter-spacing: .12em; cursor: pointer; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.pet-act:hover { color: #f3e4bb; }
.pet-act.on { color: #f3e4bb; background: rgb(201 167 92 / .14); border-color: rgb(201 167 92 / .65); }
.pet-promo { margin: 0; padding: 12px 16px; border-left: 2px solid var(--gold); background: rgb(201 167 92 / .08); color: #d9c89a; font-size: 14px; line-height: 1.85; text-wrap: pretty; }
.pet-list { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; margin-top: 26px; }
.pet-pick { display: grid; justify-items: center; gap: 6px; min-width: 0; padding: 8px 4px; border: 1px solid transparent; border-radius: 6px; background: none; color: #b8ae98; font: inherit; cursor: pointer; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.pet-pick .pt { display: block; width: 100%; max-width: 72px; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: rgb(201 167 92 / .1); box-shadow: inset 0 0 0 1px rgb(201 167 92 / .25); }
.pet-pick img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transform: scale(1.5); opacity: .6; transition: opacity .18s ease; }
.pet-pick .nm { max-width: 100%; overflow: hidden; font-size: 12.5px; letter-spacing: .04em; white-space: nowrap; text-overflow: ellipsis; }
.pet-pick:hover { color: #d9c89a; }
.pet-pick:hover img, .pet-pick.on img { opacity: 1; }
.pet-pick.on { border-color: rgb(201 167 92 / .5); background: rgb(201 167 92 / .08); color: #f3e4bb; }
@media (max-width: 900px) {
  .pet-grid { grid-template-columns: minmax(0, 1fr); }
  .pet-art img { max-width: 300px; }
  .pet-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .pet-strip img { animation: none; } }

.join-sec {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px);
  background: var(--bg-2);
}
.join-sec .bgimg { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; opacity: .46; }
.join-sec .veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(#100f0df5, #16141240 42%, #100f0dfa); }
.join-grid { display: grid; gap: clamp(20px, 4vw, 48px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: center; }
.join-art { justify-self: center; width: 100%; max-width: 360px; }
.join-art img { width: 100%; height: auto; filter: drop-shadow(-14px 14px 14px rgb(0 0 0 / .55)); animation: bob 7s ease-in-out infinite; }

.paper-well {
  padding: 22px clamp(18px, 3vw, 28px);
  background-color: var(--paper);
  background-image: url("public/art/ui/window-bg.png");
  background-size: 512px 512px;
  color: #2a2119;
  border: 14px solid transparent;
  border-image: url("public/art/ui/frame/well-frame-poc.png") 72 / 14px round;
  box-shadow: 0 10px 28px rgb(0 0 0 / .55);
}
.paper-well h2, .paper-well h3 { color: var(--paper-ink-hi); }
.paper-well a:not(.btn) { color: #6a5233; border-bottom-color: rgb(106 82 51 / .45); }
.paper-well a:not(.btn):hover { color: #4a3a22; border-bottom-color: rgb(74 58 34 / .7); }
.paper-label { margin: 0 0 12px; color: #65503c; font-size: 11.5px; font-weight: 700; letter-spacing: .28em; }
.paper-list { display: grid; border-top: 1px solid rgb(106 89 70 / .3); }
.paper-list > * { padding: 13px 2px; border-bottom: 1px solid rgb(106 89 70 / .3); margin: 0; color: var(--paper-ink); font-size: 14.5px; line-height: 1.85; }
.paper-hint { color: var(--paper-dim); font-size: 13px; line-height: 1.85; }

.rule {
  height: 10px;
  margin: 12px 0 18px;
  background: url("public/art/ui/frame/rule-gold.png") left / min(100%, 560px) auto no-repeat;
  filter: drop-shadow(1px 2.5px 1.5px rgb(0 0 0 / .7));
}

.page-main { padding: clamp(36px, 5vw, 72px) var(--pad-x) clamp(52px, 7vw, 92px); background: var(--bg-1); }
.page-narrow { max-width: 900px; margin: 0 auto; }
.page-title { margin: 0; font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; color: var(--ink-hi); letter-spacing: .14em; }
.bg-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg-2);
}
.bg-page .bgimg { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; opacity: .44; }
.bg-page .veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(#100f0df5, #16141240 34%, #100f0dfc); }

.notice-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.notice-pill { min-width: 64px; padding: 7px 16px; border: 1px solid rgb(199 180 139 / .32); border-radius: 999px; background: none; color: #b0a793; font: inherit; font-size: 13px; letter-spacing: .24em; text-indent: .24em; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.notice-pill:hover { color: #efe7d3; border-color: rgb(217 180 95 / .55); }
.notice-pill[aria-pressed="true"] { background: rgb(217 180 95 / .16); border-color: rgb(217 180 95 / .65); color: #efe7d3; }
.notice-item[hidden] { display: none; }
.notice-item { display: grid; gap: 8px; padding: 22px 4px; transition: background-color .18s ease; }
.notice-item:hover { background: rgb(199 180 139 / .05); }
.notice-item .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.notice-item .tag { font-size: 11.5px; letter-spacing: .3em; text-indent: .3em; }
.notice-item .date { color: var(--ink-dim); font-size: 12.5px; font-variant-numeric: tabular-nums; letter-spacing: .12em; }
.notice-item h3 { margin: 0; font-size: 19px; font-weight: 600; color: #efe7d3; letter-spacing: .06em; }
.notice-item p { margin: 0; color: #b0a793; font-size: 15px; line-height: 1.9; text-wrap: pretty; }

.tier-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; padding: 20px 4px; transition: background-color .18s ease; }
.tier-row:hover { background: rgb(199 180 139 / .05); }
.tier-row .price { flex: 0 0 auto; min-width: 150px; color: var(--ink-hi); font-size: 27px; font-weight: 600; letter-spacing: .04em; }
.tier-row .items { flex: 1 1 240px; color: #e2d4b4; font-size: 15px; }
.tier-row .gain { flex: 1 1 200px; color: var(--gold-deep); font-size: 14px; text-align: right; }
.reward-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.reward-table th { padding: 10px 6px; text-align: left; color: #65503c; font-size: 11.5px; font-weight: 700; letter-spacing: .24em; border-bottom: 1px solid rgb(112 91 66 / .45); }
.reward-table th:last-child, .reward-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.reward-table td { padding: 10px 6px; color: var(--paper-ink); border-bottom: 1px solid rgb(112 91 66 / .2); }
.consent-row { display: flex; gap: 12px; align-items: flex-start; color: var(--paper-ink); font-size: 15px; line-height: 1.8; cursor: pointer; }
.consent-row input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 3px; accent-color: #6a5233; }
.consent-row a { color: #6a5233; border-bottom-color: rgb(106 82 51 / .45); }
.btn-primary[disabled] { background-color: rgb(47 36 24 / .3); background-image: none; color: #8a7a63; cursor: not-allowed; }
.btn-primary[disabled]:active { transform: none; }

.step-list { display: grid; border-top: 1px solid var(--gold-line); }
.step-list p { margin: 0; padding: 14px 4px; border-bottom: 1px solid var(--gold-line); color: #b0a793; font-size: 15px; }
.step-list .n { color: var(--gold-deep); margin-right: 14px; }

.site-foot { padding: clamp(22px, 3vw, 34px) 0 36px; background: var(--bg-0); border-top: 1px solid rgb(183 150 96 / .22); }
.foot-rule {
  height: 10px;
  margin: 0 0 30px;
  background: url("public/art/ui/frame/rule-gold.png") center / min(92%, 900px) auto no-repeat;
  filter: drop-shadow(0 -.5px .3px rgb(235 219 178 / .28)) drop-shadow(1px 2.5px 1.5px rgb(0 0 0 / .75));
}
.foot-grid { display: grid; gap: 28px; max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.foot-grid p { font-size: 13px; }
.foot-label { margin: 0 0 12px; color: var(--gold-deep); font-size: 11px; letter-spacing: .34em; text-indent: .34em; }
.foot-links { display: grid; gap: 8px; font-size: 14px; }
.foot-fine { max-width: 1320px; margin: 28px auto 0; padding: 0 clamp(16px, 3vw, 40px); color: var(--ink-faint); font-size: 12.5px; line-height: 1.95; }

@keyframes glow-pulse { from { opacity: .52; } to { opacity: .8; } }
@keyframes mist-drift { from { transform: translate3d(-6%, 1%, 0); opacity: .4; } to { transform: translate3d(6%, -2%, 0); opacity: .85; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes art-slide { from { transform: translateX(16px); opacity: .3; } to { transform: translateX(0); opacity: 1; } }
@keyframes soft-fade { from { opacity: .35; } to { opacity: 1; } }

main[data-view] { animation: soft-fade .3s ease-out both; }
main[data-view][hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
}

@media (max-width: 720px) {
  .hero { height: auto; min-height: 0; padding-bottom: 244px; }
  .hero-copy { height: auto; padding-block: 30px 20px; gap: 16px; }
  .hero-logo { width: min(100%, 360px); }
  .hero-line { font-size: 17px; max-width: 32em; }
  .hero-sub { font-size: 14px; }
  .hero-invite { gap: 4px 14px; }
  .hero-invite time { font-size: 23px; }
  .hero-ctas { gap: 6px; }
  .hero-ctas .btn-primary { padding: 14px 20px; font-size: 16px; }
  .hero-ctas .btn-ghost { padding: 14px 10px; font-size: 14px; letter-spacing: .12em; text-indent: .12em; }
  .hero-availability { font-size: 12px; letter-spacing: 0; }
  .hero-note { font-size: 12px; }
  .hero-stagebox { height: 280px; }
  .hero-veil { top: auto; height: 280px; background: linear-gradient(#0b0a09 0%, #0b0a0933 28%, transparent 64%, #0b0a09e8 100%); }
  .origin-badge { position: relative; top: auto; right: auto; max-width: none; margin: 0 var(--pad-x); padding: 0; background: none; box-shadow: none; color: #b8ae98; font-size: 10.5px; letter-spacing: .02em; }
  .live-badge { padding: 5px 8px; }
  .class-list, .fusion-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .class-pick { padding: 10px 6px; gap: 6px; grid-template-columns: 28px 1fr; }
  .class-pick img { width: 28px; height: 28px; }
  .class-pick .nm { font-size: 14px; letter-spacing: 0; }
  .fusion-options { gap: 6px; }
  .fusion-pick { gap: 5px; padding: 8px 5px; }
  .fusion-pick img { width: 22px; height: 22px; }
  .fusion-name { font-size: 13px; letter-spacing: 0; }
  .fusion-parent { font-size: 10px; }
  .class-grid { grid-template-columns: minmax(0, 1fr); }
  .class-stagebox { height: 380px; min-height: 0; }
  .class-body { min-height: 0; }
  .boss-panel { min-height: 0; }
  .tier-row .gain { text-align: left; }
}



.fusion-mark {
  --mark-size: clamp(84px, 10.5vw, 140px);
  --mark-hgap: clamp(8px, 1.4vw, 22px);
  --mark-vgap: clamp(-14px, -1vw, -4px);
  position: absolute; z-index: -2; pointer-events: none;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center;
  gap: var(--mark-vgap);
  opacity: .13;
  -webkit-mask-image: radial-gradient(ellipse 68% 68% at 50% 50%, #000 52%, transparent 100%);
  mask-image: radial-gradient(ellipse 68% 68% at 50% 50%, #000 52%, transparent 100%);
}
.fusion-mark .row { display: flex; gap: var(--mark-hgap); }
.fusion-mark img { width: var(--mark-size); height: var(--mark-size); flex: none; }
@media (max-width: 900px) { .fusion-mark { opacity: .09; --mark-size: clamp(52px, 15vw, 84px); } }
