/* 官网首页与身价榜页（2026-11-14 重新设计「行情大厅配黄昏河港」）：黄昏底色、黄铜细线、直角双线框，首屏右半是 Steam 实时身价榜。
   由小样 website/review/redesign-20261114/d/ 移来，类名统一加 x- 前缀，免得和 site.css、night.css 里的旧类撞名。
   只在首页和身价榜页加载；顶栏、页脚仍是全站共用的（night.css）。不用任何生成图：底图是建模渲染的河港，其余是字、线和代码画的框。 */
.site-home, .site-standings {
  --bg: #1b1a34; --panel: #25244a; --green-night: #1b1a34; --green-deep: #25244a;
  --txt: #ddd5c0; --txt-2: #b5ad97; --txt-3: #8d8878;
  --line: rgba(223, 196, 140, .52); --line-2: rgba(223, 196, 140, .17); --line-3: rgba(223, 196, 140, .1);
  --gilt: #dfc48c; --gilt-hi: #f2dca8; --brass-dim: #a3864c; --paper: #efe8d6; --live: #74d08a;
  --serif: "Cap Text", "Songti SC", "Noto Serif CJK SC", "Source Han Serif", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "PingFang SC", "Hiragino Kaku Gothic ProN", "Malgun Gothic", sans-serif;
  --num: "Cap Text", Georgia, serif;
  --x-wrap: 1600px; --x-gut: clamp(16px, 4vw, 56px);
  background: var(--bg); color: var(--txt);
}
.site-home main, .site-standings main { font: 400 16px/1.8 var(--sans); overflow-x: clip; }
:where(.site-home, .site-standings) main :where(h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
:where(.site-home, .site-standings) main :where(ul, ol) { padding: 0; list-style: none; }
.x-num { font-family: var(--num); font-variant-numeric: tabular-nums lining-nums; }
.x-wrap { max-width: var(--x-wrap); margin: 0 auto; padding: 0 var(--x-gut); }

/* ── 按钮：直角，主按钮鎏金实底带一道内线，次按钮金线框 ── */
.x-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px; border: 1px solid var(--gilt);
  font: 600 16px/1 var(--sans); letter-spacing: .06em; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.x-btn-gilt { background: var(--gilt); color: var(--green-night); box-shadow: inset 0 0 0 3px var(--gilt), inset 0 0 0 4px rgba(27, 26, 52, .32); }
.x-btn-gilt:hover { background: var(--gilt-hi); border-color: var(--gilt-hi); box-shadow: inset 0 0 0 3px var(--gilt-hi), inset 0 0 0 4px rgba(27, 26, 52, .32); }
.x-btn-line { background: transparent; color: var(--gilt); }
.x-btn-line:hover { background: rgba(223, 196, 140, .09); color: var(--gilt-hi); border-color: var(--gilt-hi); }
.x-btn-sm { height: 36px; padding: 0 16px; font-size: 14px; box-shadow: none; }
.x-btn-sm:hover { box-shadow: none; }
.x-btn:focus-visible, .x-sw-item:focus-visible { outline: 2px solid var(--gilt-hi); outline-offset: 3px; }
.x-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── 双线框：外 1px 黄铜，内缩 4px 一道暗线 ── */
.x-panel, .x-frame { position: relative; border: 1px solid var(--line); }
.x-panel { background: var(--panel); }
.x-panel::before, .x-frame::before {
  content: ""; position: absolute; inset: 4px; border: 1px solid var(--line-2); pointer-events: none; z-index: 2;
}

/* ── 首屏 ── */
.x-hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center; padding: 40px 0 48px;
}
.x-hero-bg { position: absolute; inset: 0; z-index: 0; }
.x-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: .35; }
.x-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 95% at 70% 30%, rgba(27, 26, 52, .2) 0%, rgba(27, 26, 52, .78) 55%, var(--green-night) 88%),
    linear-gradient(180deg, rgba(27, 26, 52, .1) 0%, rgba(27, 26, 52, 0) 40%, var(--green-night) 100%);
}
.x-hero-grid {
  position: relative; z-index: 1; width: 100%;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 96px); align-items: center;
}

.x-tagline { font: 600 17px/1.4 var(--serif); color: var(--gilt); letter-spacing: .24em; }
.x-tagline::before { content: ""; display: block; width: 44px; height: 1px; background: var(--gilt); margin-bottom: 18px; }
.x-heading {
  margin-top: 18px; font: 800 clamp(40px, 4.2vw, 76px)/1.15 var(--serif); color: var(--paper);
  letter-spacing: .02em; white-space: nowrap;
}
.x-short { margin-top: 24px; max-width: 30em; color: var(--txt-2); font-size: 16px; line-height: 1.9; }
.x-hero-left .x-ctas { margin-top: 36px; }
.x-meta { margin-top: 16px; color: var(--txt-3); font-size: 13px; letter-spacing: .08em; }

.x-stats {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-2);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.x-stat { padding: 0 14px; border-left: 1px solid var(--line-3); min-width: 0; }
.x-stat:first-child { padding-left: 0; border-left: 0; }
.x-stat dt { color: var(--txt-3); font-size: 12px; letter-spacing: .08em; line-height: 1.5; }
.x-stat dd { margin-top: 6px; color: var(--gilt-hi); font-size: clamp(20px, 1.6vw, 30px); line-height: 1.1; white-space: nowrap; }

/* ── 行情牌 ── */
.x-board { padding: 0 24px; }
.x-board-head {
  height: 64px; display: flex; align-items: center; gap: 14px;
  border-bottom: 3px double var(--line);
}
.x-board-title { font: 700 26px/1 var(--serif); color: var(--paper); letter-spacing: .12em; }
.x-board-sub { color: var(--txt-3); font-size: 13px; letter-spacing: .06em; }
.x-live { margin-left: auto; display: inline-flex; align-items: center; gap: 9px; color: var(--txt-3); font-size: 14px; white-space: nowrap; }
.x-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(116, 208, 138, .5); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { opacity: .55; box-shadow: 0 0 0 0 rgba(116, 208, 138, .45); }
  50% { opacity: 1; box-shadow: 0 0 0 5px rgba(116, 208, 138, 0); }
}

.x-board-cols, .x-row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 220px) 108px; align-items: center; column-gap: 12px;
}
.x-board-cols { height: 36px; border-bottom: 1px solid var(--line-2); color: var(--txt-3); font-size: 12px; letter-spacing: .12em; }
.x-board-cols .x-c-worth, .x-board-cols .x-c-week { text-align: right; }

.x-board-list { position: relative; }
.x-row { height: 52px; border-bottom: 1px solid var(--line-3); will-change: transform; }
.x-board-list .x-row:last-child { border-bottom: 0; }
.x-r-rank { font-size: 28px; line-height: 1; color: var(--brass-dim); }
.x-row.x-top3 .x-r-rank { color: var(--gilt); }
.x-r-name { color: var(--txt); font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-r-worth { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.x-r-fig { display: inline-flex; align-items: center; gap: 8px; }
.x-r-fig b { font-weight: 500; font-size: 24px; line-height: 1; color: var(--paper); transition: color .5s; }
.x-tri {
  width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 7px solid var(--gilt-hi);
  opacity: 0; transform: translateY(3px); transition: opacity .5s, transform .5s;
}
.x-row.x-up .x-r-fig b { color: var(--gilt-hi); transition-duration: .15s; }
.x-row.x-up .x-tri { opacity: 1; transform: none; transition-duration: .2s; }
.x-bar { display: block; width: 140px; height: 2px; background: var(--line-3); }
.x-bar i { display: block; height: 100%; margin-left: auto; background: var(--brass-dim); opacity: .75; transition: width .9s cubic-bezier(.2, .7, .2, 1); }
.x-r-week { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; color: var(--txt-3); font-size: 13px; line-height: 1; white-space: nowrap; }
.x-pips { display: inline-flex; gap: 5px; }
.x-pips i { width: 5px; height: 5px; transform: rotate(45deg); border: 1px solid var(--brass-dim); }
.x-pips i.on { background: var(--brass-dim); }

/* 第 5 名之下的奖励线 */
.x-cut { position: relative; height: 30px; display: flex; align-items: center; justify-content: space-between; }
.x-cut::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed rgba(223, 196, 140, .6); }
.x-cut > span { position: relative; background: var(--panel); font-size: 12px; line-height: 1; white-space: nowrap; }
.x-cut-tag { margin-left: 64px; padding: 5px 10px; border: 1px solid var(--line); color: var(--gilt); letter-spacing: .04em; }
.x-cut-gate { padding: 0 0 0 10px; color: var(--txt-3); }
.x-cut-gate b { margin-left: 8px; font-weight: 500; font-size: 15px; color: var(--gilt); }

.x-board-foot { border-top: 1px solid var(--line-2); padding: 14px 0 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.x-line200 { color: var(--txt-2); font-size: 13px; line-height: 1.6; }
.x-line200::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 10px; vertical-align: .2em; transform: rotate(45deg); background: var(--gilt); }
.x-sample { color: var(--txt-3); font-size: 12px; line-height: 1.6; }

/* ── 七件事 ── */
.x-game { padding: 64px 0 72px; border-top: 1px solid var(--line-3); }
.x-epigraph {
  max-width: 34em; margin: 0 auto 44px; text-align: center;
  font: 500 clamp(19px, 1.7vw, 26px)/1.7 var(--serif); color: var(--paper); letter-spacing: .04em;
}
.x-epigraph::before, .x-epigraph::after { content: ""; display: block; width: 48px; height: 1px; margin: 0 auto; background: var(--gilt); }
.x-epigraph::before { margin-bottom: 20px; }
.x-epigraph::after { margin-top: 20px; }

.x-switcher { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 3.6vw, 56px); align-items: start; }
.x-sw-list { position: relative; border-top: 1px solid var(--line-2); }
.x-sw-item {
  position: relative; display: flex; align-items: baseline; gap: 16px; width: 100%;
  padding: 15px 8px 15px 24px; border: 0; border-bottom: 1px solid var(--line-2); background: none;
  color: var(--txt-3); text-align: left; cursor: pointer; transition: color .25s, background-color .25s;
}
.x-sw-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line-3); }
.x-sw-item .x-prog { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gilt); transform: scaleY(0); transform-origin: top; }
.x-sw-item.x-on .x-prog { transform: none; }
.x-switcher.x-auto .x-sw-item.x-on.x-run .x-prog { animation: fill 9s linear both; }
@keyframes fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.x-sw-item:hover { color: var(--txt); }
.x-sw-item.x-on { color: var(--gilt); background: linear-gradient(90deg, rgba(223, 196, 140, .07), rgba(223, 196, 140, 0) 80%); }
.x-sw-no { flex: none; width: 1.4em; font: 600 16px/1.4 var(--serif); }
.x-sw-t { font: 600 17px/1.5 var(--serif); letter-spacing: .03em; }

.x-sw-main { min-width: 0; }
.x-sw-stage {
  padding: 8px; background: #131228;
  width: clamp(min(100%, 520px), calc((100svh - 400px) * 1.7778), 100%);
}
.x-sw-media-box { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--green-deep); }
.x-sw-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.x-sw-media.x-on { opacity: 1; }
.x-sw-text { margin-top: 24px; min-height: 168px; max-width: 48em; }
.x-sw-text.x-in { animation: rise .5s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.x-sw-title { font: 700 24px/1.4 var(--serif); color: var(--paper); letter-spacing: .03em; }
.x-sw-body { margin-top: 10px; color: var(--txt-2); line-height: 1.9; }

/* ── 栏目小标 ── */
.x-kicker { display: flex; align-items: center; gap: 14px; font: 600 15px/1 var(--serif); color: var(--gilt); letter-spacing: .3em; }
.x-kicker::before { content: ""; width: 28px; height: 1px; background: var(--gilt); }

/* ── 实机画面条 ── */
.x-shots { padding: 8px 0 88px; }
/* 宣传短片：与七节画面同一种框，高度不超过一屏 */
.x-reel { margin-top: 24px; padding: 8px; border: 1px solid var(--line); background: #131228; width: clamp(min(100%, 520px), calc((100svh - 240px) * 1.7778), 100%); }
.x-reel video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--green-deep); }
.x-shot-row { margin-top: 24px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.x-shot { min-width: 0; }
.x-shot-frame { border: 1px solid var(--line); padding: 4px; background: #131228; }
.x-shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.x-shot figcaption { margin-top: 10px; color: var(--txt-3); font-size: 13px; letter-spacing: .06em; line-height: 1.5; }

/* ── 公告与要项 ── */
.x-desk { padding: 0 0 96px; }
.x-desk-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.x-desk .x-panel { padding: 36px 40px 40px; }
.x-panel-title { display: flex; align-items: center; gap: 14px; font: 700 22px/1.2 var(--serif); color: var(--paper); letter-spacing: .14em; padding-bottom: 18px; border-bottom: 3px double var(--line); }

.x-news-lead { padding-top: 24px; }
.x-news-meta { display: flex; align-items: center; gap: 14px; }
.x-ver { display: inline-block; padding: 3px 8px; border: 1px solid var(--line); color: var(--gilt); font-size: 14px; line-height: 1; }
.x-news-meta time { color: var(--txt-3); font-size: 15px; }
.x-news-title { margin-top: 14px; font: 700 22px/1.45 var(--serif); color: var(--paper); }
.x-news-lede { margin-top: 10px; color: var(--txt-2); }
.x-news-points { margin-top: 18px; display: grid; gap: 12px; }
.x-news-points li { position: relative; padding-left: 20px; color: var(--txt-2); font-size: 15px; line-height: 1.85; }
.x-news-points li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 5px; height: 5px; transform: rotate(45deg); background: var(--brass-dim); }
.x-news-points strong { color: var(--txt); font-weight: 600; }
.x-news-list { margin-top: 28px; border-top: 1px solid var(--line-2); }
.x-news-list li { display: flex; gap: 20px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line-3); }
.x-news-list time { flex: none; width: 6.4em; color: var(--txt-3); font-size: 14px; }
.x-news-list span { color: var(--txt-2); font-size: 15px; line-height: 1.6; }

.x-facts-list { padding-top: 6px; }
.x-facts-list > div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-3); }
.x-facts-list > div:last-child { border-bottom: 0; }
.x-facts-list dt { color: var(--txt-3); font-size: 14px; letter-spacing: .1em; line-height: 1.8; }
.x-facts-list dd { color: var(--txt); font-size: 15px; line-height: 1.8; }

/* ── 1920 及以上：数字再大一档 ── */
@media (min-width: 1680px) {
  .x-row { height: 56px; }
  .x-r-fig b { font-size: 26px; }
  .x-short { font-size: 17px; }
}

/* ── 平板：首屏仍两栏但收紧 ── */
@media (max-width: 1180px) and (min-width: 761px) {
  .x-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .x-heading { white-space: normal; }
  .x-board-cols, .x-row { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 200px) 100px; }
  .x-switcher { grid-template-columns: 240px minmax(0, 1fr); }
  .x-shot-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .x-desk-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ── 手机 ── */
@media (max-width: 760px) {
  .x-hero { min-height: 0; padding: 36px 0 48px; }
  .x-hero-grid { display: flex; flex-direction: column; gap: 0; }
  .x-hero-left { display: contents; }
  .x-tagline { order: 1; }
  .x-heading { order: 2; font-size: clamp(32px, 10vw, 44px); margin-top: 14px; }
  .x-hero-left .x-ctas { order: 3; margin-top: 28px; }
  .x-meta { order: 4; }
  .x-stats { order: 5; margin-top: 28px; padding-top: 16px; }
  .x-board { order: 6; margin-top: 28px; }
  .x-short { order: 7; margin-top: 28px; font-size: 15.5px; }

  .x-ctas { display: grid; grid-template-columns: minmax(0, 1fr); }
  .x-btn { height: 54px; }
  .x-btn-sm { height: 34px; padding: 0 12px; font-size: 13px; }

  .x-stat { padding: 0 10px; }
  .x-stat dt { font-size: 11px; letter-spacing: .02em; }
  .x-stat dd { font-size: 16px; }

  .x-board { padding: 0 14px; }
  .x-board-head { height: 56px; gap: 10px; }
  .x-board-title { font-size: 21px; }
  .x-board-sub { display: none; }
  .x-live { font-size: 12px; }
  .x-board-cols, .x-row { grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: 10px; }
  .x-c-week, .x-r-week, .x-bar { display: none; }
  .x-row { height: 44px; }
  .x-r-rank { font-size: 21px; }
  .x-r-name { font-size: 15px; }
  .x-r-fig b { font-size: 18px; }
  .x-r-fig { gap: 6px; }
  .x-cut { height: auto; flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 0 10px; border-top: 1px dashed rgba(223, 196, 140, .6); margin-top: 0; }
  .x-cut::before { display: none; }
  .x-cut-tag { margin: -1px 0 0 0; }   /* 贴在虚线下面挂着：行里有两行字（信托名加 Steam 昵称）时骑在线上会压住第二行 */
  .x-cut-gate { padding: 0; background: none; }
  .x-board-foot { flex-direction: column; }

  .x-game { padding: 48px 0 56px; }
  .x-epigraph { margin-bottom: 28px; font-size: 18px; }
  .x-switcher { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .x-sw-list {
    display: flex; overflow-x: auto; scrollbar-width: none; border-top: 0; border-bottom: 1px solid var(--line-2);
    margin: 0 calc(-1 * var(--x-gut)); padding: 0 var(--x-gut); scroll-snap-type: x proximity;
  }
  .x-sw-list::-webkit-scrollbar { display: none; }
  .x-sw-item { width: auto; flex: none; padding: 10px 14px 12px; gap: 8px; border-bottom: 0; white-space: nowrap; scroll-snap-align: center; }
  .x-sw-item::before { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 2px; background: none; }
  .x-sw-item .x-prog { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 2px; transform: scaleX(0); transform-origin: left; }
  .x-sw-item.x-on .x-prog { transform: none; }
  .x-switcher.x-auto .x-sw-item.x-on.x-run .x-prog { animation-name: fillx; }
  .x-sw-item.x-on { background: none; }
  .x-sw-no { width: auto; font-size: 14px; }
  .x-sw-t { font-size: 15px; }
  .x-sw-stage { width: 100%; padding: 6px; }
  .x-sw-text { margin-top: 18px; min-height: 0; }
  .x-sw-title { font-size: 20px; }
  .x-sw-body { font-size: 15.5px; }

  .x-shots { padding-bottom: 56px; }
  .x-shot-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
  .x-reel { width: 100%; padding: 6px; margin-top: 18px; }
  .x-shot:nth-child(5) { grid-column: 1 / -1; }
  .x-shot figcaption { font-size: 12px; margin-top: 6px; }

  .x-desk { padding-bottom: 56px; }
  .x-desk-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .x-desk .x-panel { padding: 26px 20px 28px; }
  .x-panel-title { font-size: 20px; }
  .x-news-title { font-size: 19px; }
  .x-news-list li { flex-direction: column; gap: 2px; }
  .x-facts-list > div { grid-template-columns: 4.5em minmax(0, 1fr); gap: 12px; }
}
@keyframes fillx { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .x-dot { animation: none; opacity: 1; }
  .x-sw-media, .x-bar i, .x-tri, .x-r-fig b, .x-btn, .x-sw-item { transition: none; }
  .x-sw-text.x-in { animation: none; }
  .x-switcher.x-auto .x-sw-item.x-on.x-run .x-prog { animation: none; }
}

/* ══ 推荐版：方向丙的骨架，颜色换成黄昏（和商店图、标题页一个调子），首屏下沿接一条建模河港的天际线 ══ */
.x-hero { flex-direction: column; align-items: stretch; min-height: 0; padding: 26px 0 0; }
.x-hero-bg { display: none; }
.x-row { height: 46px; }
/* 天际线：原图塔尖在 18.6% 高、河堤在 65% 高；条带露出原图 12%～80% 这一段，顶上渐隐进底色，左右缓慢漂移 */
.x-skyline { position: relative; z-index: 0; margin-top: -84px; height: clamp(280px, 30vw, 560px); overflow: hidden; pointer-events: none; }
.x-skyline img {
  position: absolute; left: 50%; top: -17.6%; height: 147%; width: auto; max-width: none; min-width: 100%;
  object-fit: cover; object-position: 50% 0; transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(180deg, transparent 4%, #000 24%); mask-image: linear-gradient(180deg, transparent 4%, #000 24%);
  animation: sky-drift 100s ease-in-out infinite;
}
.x-skyline::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(0deg, var(--green-night), rgba(27, 26, 52, 0)); }
@keyframes sky-drift { 0%, 100% { transform: translateX(-50%); } 25% { transform: translateX(-53%); } 75% { transform: translateX(-47%); } }
@media (max-width: 760px) { .x-skyline { height: 46vw; margin-top: 8px; } .x-row { height: 44px; } }
@media (prefers-reduced-motion: reduce) { .x-skyline img { animation: none; } }

/* ══ 正式站补的：顶栏接色、榜单的读取与空态、头像、公告入口、页尾按钮带 ══ */
.site-home .nav, .site-standings .nav { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line-2); }
.site-home .nav .wrap, .site-standings .nav .wrap { max-width: var(--x-wrap); height: 76px; padding-inline: var(--x-gut); }
.site-home .brand-logo, .site-standings .brand-logo { width: 150px; }
.site-home section[id], .site-standings section[id] { scroll-margin-top: 92px; }
.x-ctas .cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; min-height: 0; padding: 0 28px; border: 1px solid var(--gilt); border-radius: 0; background: var(--gilt); color: var(--bg); box-shadow: inset 0 0 0 3px var(--gilt), inset 0 0 0 4px rgba(27, 26, 52, .32); font: 600 16px/1 var(--sans); letter-spacing: .06em; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.x-ctas .cta:hover { background: var(--gilt-hi); border-color: var(--gilt-hi); box-shadow: inset 0 0 0 3px var(--gilt-hi), inset 0 0 0 4px rgba(27, 26, 52, .32); }
.x-ctas .cta.cta-ghost { background: transparent; color: var(--gilt); box-shadow: none; }
.x-ctas .cta.cta-ghost:hover { background: rgba(223, 196, 140, .09); color: var(--gilt-hi); border-color: var(--gilt-hi); }
.x-ctas .cta .icon { width: 20px; height: 20px; }
.x-ctas .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
html[data-script="latin"] .x-heading { white-space: normal; font-size: clamp(34px, 3.4vw, 60px); letter-spacing: 0; }
html[data-script="latin"] .x-tagline { letter-spacing: .1em; }
html[data-script="latin"] :is(.x-board-title, .x-panel-title, .x-kicker) { letter-spacing: .04em; }
html[data-script="latin"] .x-stat dt, html[data-script="latin"] .x-board-cols { letter-spacing: .02em; }
.x-r-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.x-r-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-ava { flex: none; width: 24px; height: 24px; background: #34335c; border: 1px solid var(--line-3); object-fit: cover; }
.x-board-note { padding: 28px 0; color: var(--txt-3); font-size: 15px; text-align: center; }
.x-board[data-state="ready"] .x-board-note { display: none; }
.x-board:not([data-state="ready"]) :is(.x-board-cols, .x-board-list, .x-board-fold) { display: none; }
.x-board.x-stale .x-dot { background: var(--brass-dim); animation: none; box-shadow: none; }
.x-more { color: var(--gilt); font-size: 13px; text-decoration: none; letter-spacing: .04em; }
.x-more:hover { color: var(--gilt-hi); text-decoration: underline; }
.x-sw-panel[hidden] { display: none; }
.x-shot button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.x-news-more { display: inline-block; margin-top: 22px; color: var(--gilt); font-size: 14px; text-decoration: none; }
.x-news-more:hover { color: var(--gilt-hi); text-decoration: underline; }
.x-close { background: var(--panel); border-top: 1px solid var(--line); }
.x-close-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 36px; padding-bottom: 36px; }
.x-close p { font: 600 20px/1.4 var(--serif); color: var(--gilt); letter-spacing: .2em; }
html[data-script="latin"] .x-close p { letter-spacing: .06em; }
@media (max-width: 760px) {
  .site-home .nav .wrap, .site-standings .nav .wrap { height: 64px; }
  .site-home .brand-logo, .site-standings .brand-logo { width: 124px; }
  .x-ctas .cta-row { display: grid; grid-template-columns: minmax(0, 1fr); }
  .x-ctas .cta { height: 54px; }
  .x-close-in { flex-direction: column; align-items: stretch; gap: 20px; padding-top: 28px; padding-bottom: 28px; }
  .x-ava { width: 20px; height: 20px; }
}

/* ══ 独立的身价榜页 /<语言>/standings/：整页、?embed=1 只剩榜单、再加 &clear=1 透明底（直播挂件） ══ */
.x-st { padding: 48px 0 72px; }
.x-st-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; padding-bottom: 28px; }
.x-st-head h1 { font: 800 clamp(40px, 6vw, 68px)/1.1 var(--serif); color: var(--paper); letter-spacing: .06em; }
html[data-script="latin"] .x-st-head h1 { letter-spacing: 0; }
.x-st-live { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--txt-2); font-size: 14px; }
.x-st-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 0 32px; }
.x-st-stats .x-stat { padding: 0 0 0 18px; border-left: 1px solid var(--line-2); }
.x-st-stats .x-stat:first-child { padding-left: 18px; border-left: 1px solid var(--line-2); }
.x-st-stats .x-stat dd { font-size: 26px; }
.x-st-tools { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.x-st-tools input { flex: 0 1 320px; height: 42px; padding: 0 14px; background: transparent; border: 1px solid var(--line); border-radius: 0; color: var(--txt); font: 15px var(--sans); outline: none; }
.x-st-tools input:focus { border-color: var(--gilt); }
.x-st-tools input::placeholder { color: var(--txt-3); }
.x-st .x-board { padding: 6px 26px 18px; }
.x-st .x-board-cols, .x-st .x-row { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 240px) 120px; }
.x-st .x-row { height: 56px; }
.x-st .x-ava { width: 32px; height: 32px; }
.x-st .x-row.x-hit { background: rgba(223, 196, 140, .1); }
.x-embed .nav, .x-embed footer, .x-embed .skip, .x-embed .x-st-head h1, .x-embed .x-st-tools { display: none; }
.x-embed .x-st { padding: 0; }
.x-embed .x-wrap { max-width: none; padding: 0; }
.x-embed .x-st-head { grid-template-columns: minmax(0, 1fr); padding: 14px 18px; }
.x-embed .x-st-live { margin-top: 0; }
.x-embed .x-st-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 16px; }
.x-embed .x-st .x-board { border: 0; padding: 0 14px 12px; }
.x-embed .x-st .x-board::before { display: none; }
html.x-clear, html.x-clear body { background: transparent; }
.x-clear .x-st .x-board { background: rgba(27, 26, 52, .84); }
@media (max-width: 820px) {
  .x-st { padding: 28px 0 48px; }
  .x-st-head { grid-template-columns: minmax(0, 1fr); }
  .x-st-stats { grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .x-st-stats .x-stat dd { font-size: 20px; }
  .x-st .x-board { padding: 2px 12px 14px; }
  .x-st .x-board-cols, .x-st .x-row { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .x-st .x-row { height: 50px; }
  .x-st .x-ava { width: 24px; height: 24px; }
  .x-st-tools input { flex: 1; }
}
.x-news a { color: inherit; text-decoration: none; }
.x-news a:hover { color: var(--gilt-hi); text-decoration: underline; text-underline-offset: 4px; }
.x-desk-grid.x-solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
ul.x-sw-body { padding-left: 1.2em; list-style: disc; }
/* night.css 给全站 h1～h3 定了颜色与负字距（.site-night h1 比单个类名优先），这里把本页的标题一个个扳回来 */
.site-night .x-heading { color: var(--paper); letter-spacing: .02em; }
.site-night :is(.x-board-title, .x-st-head h1) { color: var(--paper); letter-spacing: .12em; }
.site-night .x-st-head h1 { letter-spacing: .06em; }
.site-night .x-sw-title, .site-night .x-news-title { color: var(--paper); letter-spacing: .03em; }
.site-night .x-panel-title { color: var(--paper); letter-spacing: .14em; }
.site-night .x-kicker { color: var(--gilt); letter-spacing: .3em; }
html[data-script="latin"] .site-night :is(.x-heading, .x-st-head h1, .x-sw-title, .x-news-title) { letter-spacing: 0; }
html[data-script="latin"] .site-night :is(.x-board-title, .x-panel-title, .x-kicker) { letter-spacing: .04em; }
/* 榜单页整页时页面大标题已经写了榜名，面板里那行榜名收起；嵌入时没有大标题，照出 */
.x-st .x-board-head { display: none; }
.x-embed .x-st .x-board-head { display: flex; }
.x-clear .x-st-head { background: rgba(27, 26, 52, .84); }
/* 名号（0.2.1 起）：左边信托徽记，信托名做主、玩家姓名小字跟在后面，下面一行小字是 Steam 昵称。旧成绩没有名号，只有头像与昵称一行 */
.x-emb { flex: none; width: 30px; height: 30px; }
.x-emb[hidden] { display: none; }
.x-r-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.x-r-main { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-r-main small { margin-left: 8px; color: var(--txt-3); font-size: 12px; }
.x-r-main small:empty { display: none; }
.x-r-steam { color: var(--txt-3); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-r-steam:empty { display: none; }
.x-st .x-emb { width: 38px; height: 38px; }
@media (max-width: 760px) { .x-emb { width: 26px; height: 26px; } .x-r-main small { display: none; } }

/* 灰置成绩默认合起来，展开后沿用榜单行的布局。 */
.x-board-fold { border-bottom: 1px solid var(--line-3); }
.x-board-fold summary { display: flex; align-items: center; gap: 10px; padding: 8px 4px; color: var(--txt-2); font-size: 13px; cursor: pointer; }
.x-board-fold summary::before { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(-45deg); }
.x-board-fold[open] summary::before { transform: rotate(45deg); }
.x-board-fold summary:hover, .x-board-fold summary:focus-visible { color: var(--gilt); }
.x-flag { opacity: .42; filter: grayscale(1); }
.x-flag .x-r-rank { letter-spacing: 0; }
