/* 卡面替换图鉴：照《杀戮尖塔 2》自己的界面做——奖励界面的飘带和石板面板、事件按钮、职业图标，
   素材都在 assets/（site/dev/make-assets.py 从游戏解包素材生成）。字体在 fonts/（导出脚本生成的子集），
   没有时退回系统字体。不引任何外部资源。 */
@font-face { font-family: "Site Title ZH"; src: url(fonts/title-zh.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Site Body ZH"; src: url(fonts/body-zh.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Site Title EN"; src: url(fonts/title-en.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Site Body EN"; src: url(fonts/body-en.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  --bg: #0d1519;
  --ink: #090d0f;
  --text: #efe7d4;
  --cream: #fff4dc;
  --muted: #a8b3b1;
  --dim: #75878a;
  --teal: #2f8584;
  --accent: #e6c27a;
  --serif-cjk: "Songti SC", "STSong", "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC";
  --sans-cjk: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --f-title: "Site Title EN", "Site Title ZH", var(--serif-cjk), var(--sans-cjk);
  --f-body: "Site Body EN", "Site Body ZH", var(--serif-cjk), var(--sans-cjk);
  /* 游戏里文字的深色描边 */
  --stroke: 0 2px 0 #1b1410, 1px 1px 0 #1b1410, -1px 1px 0 #1b1410, 1px -1px 0 #1b1410, -1px -1px 0 #1b1410, 0 3px 6px rgba(0, 0, 0, 0.5);
  --pad: 14px;
  --maxw: 1240px;
  color-scheme: dark;
}
@media (min-width: 720px) { :root { --pad: 28px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 66px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
/* 游戏面板的斑驳石板纹理，压暗铺满（用固定的伪元素，iOS 上 background-attachment: fixed 不灵） */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: url(assets/bg.webp) center / cover no-repeat, var(--bg);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
}
body.lb-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

/* ---------- 通用：飘带标题、石板面板、按钮 ---------- */
.banner {
  position: relative; margin: 0 auto; width: min(100%, 560px); aspect-ratio: 960 / 173;
  background: url(assets/banner.webp) center / 100% 100% no-repeat;
  display: flex; align-items: center; justify-content: center;
  container-type: inline-size;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
}
/* 文字压在飘带中间那条上（比整张图的中线略高）；cqw 按飘带自身宽度算 */
.banner > * {
  margin: 0 0 4.6cqw; max-width: 70cqw; font-size: var(--bs, 7.4cqw); font-family: var(--f-title); font-weight: 700; line-height: 1.1; white-space: nowrap;
  color: var(--cream); text-shadow: var(--stroke); letter-spacing: 0.06em;
}
@supports not (container-type: inline-size) { .banner > * { font-size: 24px; margin-bottom: 4%; } }

.panel {
  position: relative;
  border: 1px solid transparent;
  border-image: url(assets/panel.webp) 96 fill / 34px stretch;
  padding: 26px 22px 24px;
}

.btn {
  position: relative; z-index: 0; display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 6px 26px 8px; font-family: var(--f-title); font-weight: 700; font-size: 16px;
  color: var(--cream); text-shadow: var(--stroke); letter-spacing: 0.04em; white-space: nowrap;
  transition: transform 0.15s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border: 1px solid transparent; border-image: url(assets/button.webp) 30 44 fill / 15px 22px stretch;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.5));
  transition: filter 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { filter: brightness(1.18) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5)); }
.btn:active { transform: translateY(1px); }
.btn-alt::before { border-image: url(assets/tab.webp) 40 fill / 13px stretch; }
.btn-bili::before { filter: hue-rotate(148deg) saturate(1.5) brightness(1.1) drop-shadow(0 3px 4px rgba(0, 0, 0, 0.5)); }
.btn-afd::before { filter: hue-rotate(85deg) saturate(1.2) drop-shadow(0 3px 4px rgba(0, 0, 0, 0.5)); }

/* ---------- 顶栏（一直贴在顶上）：左站名，宽屏中间职业，右边主要作者 + B站 + 支持作者 + 语言 ---------- */
:root { --bar: 48px; }
@media (min-width: 720px) { :root { --bar: 54px; } }
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; gap: 8px; height: calc(var(--bar) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left));
  background: rgba(18, 27, 31, 0.96); border-bottom: 2px solid #2c3a3f; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.topbar-home {
  min-width: 0; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis;
  font-family: var(--f-title); font-weight: 700; font-size: 16px; color: var(--cream); text-shadow: var(--stroke); white-space: nowrap;
}
.topbar-links { display: none; margin-left: auto; gap: 4px; }
.topbar-links a {
  display: flex; align-items: center; gap: 4px; padding: 4px 8px 4px 4px; font-size: 14px; color: var(--muted);
  border-bottom: 2px solid transparent; transition: color 0.2s;
}
.topbar-links a:hover { color: var(--text); }
.topbar-links a.on { color: var(--cream); border-bottom-color: var(--accent); }
.topbar-icon { width: 28px; height: 28px; }
@media (min-width: 1100px) { .topbar-links { display: flex; } }

.topbar-author { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.tb-author { display: flex; align-items: center; gap: 8px; margin-right: 4px; transition: filter 0.15s; }
a.tb-author:hover { filter: brightness(1.12); }
.tb-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--cream); border: 2px solid #c9a35e;
  box-shadow: 0 0 0 1px #1b1410, 0 2px 5px rgba(0, 0, 0, 0.55);
}
.tb-name { font-family: var(--f-title); font-weight: 700; font-size: 15px; color: var(--cream); text-shadow: var(--stroke); white-space: nowrap; }
.btn.btn-sm { min-height: 34px; padding: 2px 15px 4px; font-size: 14px; letter-spacing: 0.02em; }
.btn.btn-sm::before { border-image-width: 11px 16px; }
.btn-sm:hover { transform: translateY(-1px); }

/* 语言切换：文字按钮，当前语言亮、另一个暗 */
.lang { display: flex; align-items: center; flex: none; margin-left: 2px; padding-left: 8px; border-left: 1px solid #34454a; }
.lang-btn {
  min-width: 26px; height: 30px; padding: 0 4px; font-family: var(--f-title); font-weight: 700; font-size: 14px;
  color: var(--dim); border-bottom: 2px solid transparent; transition: color 0.15s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.on { color: var(--cream); text-shadow: var(--stroke); border-bottom-color: var(--accent); cursor: default; }

@media (max-width: 599px) {
  .tb-name { display: none; }
  .tb-author { margin-right: 0; }
  .tb-avatar { width: 30px; height: 30px; }
  .topbar-home { font-size: 14px; }
  .topbar-author { gap: 6px; }
  .btn.btn-sm { min-height: 32px; padding: 2px 10px 4px; font-size: 13px; }
  .lang { padding-left: 4px; }
  .lang-btn { min-width: 22px; padding: 0 3px; font-size: 13px; }
}

/* ---------- 首屏 ---------- */
.hero { padding: calc(var(--bar) + 32px + env(safe-area-inset-top)) var(--pad) 34px; text-align: center; }
.hero-kicker { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.24em; color: var(--muted); }
.hero-banner { width: min(100%, 620px); margin-bottom: clamp(12px, 2vw, 22px); }
.hero-banner { --bs: 8.2cqw; }
.hero-classes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 760px; margin: 0 auto; }
.hero-class {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 6px 12px; border: 1px solid transparent; border-image: url(assets/tab.webp) 40 fill / 12px stretch;
  transition: transform 0.15s, filter 0.15s;
}
.hero-class:hover { transform: translateY(-3px); filter: brightness(1.15); }
.hero-class-icon { width: 52px; height: 52px; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.6)); }
.hero-class-body { display: flex; flex-direction: column; align-items: center; }
.hero-class-name { font-family: var(--f-title); font-weight: 700; font-size: 17px; color: var(--cream); text-shadow: var(--stroke); }
.hero-class-count { font-size: 12.5px; color: var(--muted); }
.hero-class-count b { color: var(--accent); font-weight: 700; }
@media (min-width: 720px) {
  .hero { padding-top: calc(var(--bar) + 44px + env(safe-area-inset-top)); padding-bottom: 48px; }
  .hero-classes { gap: 16px; }
  .hero-class { flex-direction: row; justify-content: center; gap: 12px; padding: 16px 14px; }
  .hero-class-body { align-items: flex-start; }
  .hero-class-icon { width: 60px; height: 60px; }
  .hero-class-name { font-size: 20px; }
  .hero-class-count { font-size: 13.5px; }
}

/* ---------- 每个职业 ---------- */
.loading, .error { text-align: center; color: var(--muted); padding: 60px var(--pad); }
.mod { padding: 26px 0 30px; }
.mod-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.mod-head { max-width: 820px; margin: 0 auto 26px; }
.mod-banner { width: min(86%, 430px); margin-bottom: -26px; z-index: 1; }
.mod-banner { --bs: 7.6cqw; }
.mod-panel { padding-top: 40px; }
.mod-top { display: flex; align-items: center; gap: 14px; }
.mod-cover { flex: none; width: 84px; height: 84px; object-fit: cover; border: 2px solid #11181b; outline: 2px solid #56676b; }
.mod-titles { min-width: 0; }
.mod-title { margin: 0; font-family: var(--f-title); font-weight: 700; font-size: 18px; line-height: 1.35; color: var(--cream); text-shadow: var(--stroke); }
.mod-ver { margin: 2px 0 0; font-family: "Site Body EN", var(--f-body); font-size: 14px; color: var(--muted); }
.mod-progress { margin: 16px 0 0; }
.mod-progress-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 5px; }
.mod-progress-row b { color: var(--cream); font-size: 17px; }
/* 照战斗里血条的样子：黑底、细描边、上亮下暗 */
.mod-bar { height: 14px; background: #070a0b; border: 2px solid #050607; outline: 1px solid #56676b; overflow: hidden; }
.mod-bar i {
  display: block; height: 100%;
  background: linear-gradient(#fff3 0 35%, #0000 35% 70%, #0003 70%), var(--accent);
}
/* 多人卡：同一种血条，细一号、颜色淡一点 */
.mod-progress-mp { margin-top: 12px; }
.mod-progress-mp .mod-progress-row { font-size: 13px; }
.mod-progress-mp .mod-progress-row b { font-size: 14.5px; }
.mod-bar-mp { height: 8px; border-width: 1px; }
.mod-bar-mp i { opacity: 0.6; }
.mod-exempt { margin: 8px 0 0; font-size: 12.5px; color: var(--dim); }
.mod-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.mod-btns .btn { flex: 1 1 140px; }
@media (min-width: 720px) {
  .mod { padding: 40px 0 46px; }
  .mod-panel { padding: 44px 36px 30px; }
  .mod-cover { width: 104px; height: 104px; }
  .mod-title { font-size: 21px; }
  .mod-btns .btn { flex: 0 1 auto; }
}

/* ---------- 卡图网格：游戏画的缎带＋内框（外框、费用球去掉），电脑上一行 4 张 ---------- */
.grid { --cols: 2; --gx: 8px; display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 10px var(--gx); align-items: start; }
@media (min-width: 600px) { .grid { --cols: 3; --gx: 12px; row-gap: 14px; } }
@media (min-width: 900px) { .grid { --cols: 4; --gx: 16px; row-gap: 18px; } }
/* 先古卡、多人卡只有几张：同样的列宽，居中排 */
.grid.few { display: flex; flex-wrap: wrap; justify-content: center; }
.grid.few > .tile { width: calc((100% - (var(--cols) - 1) * var(--gx)) / var(--cols)); }
.tile { position: relative; display: block; width: 100%; text-align: center; transition: transform 0.18s ease; }
.tile-art { position: relative; width: 100%; aspect-ratio: 659 / 530; }
.tile-art img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity 0.35s; -webkit-user-drag: none;
}
.tile-art img.ok { opacity: 1; }
.tile-art.framed img {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45));
}
.tile-art:not(.framed) img { object-fit: cover; border: 2px solid #11181b; outline: 2px solid #56676b; }
/* 还没替换的卡压暗去色，一眼看得出；卡名和卡框仍看得清。停上去或点开大图恢复。 */
.tile.dim .tile-art img.main { filter: saturate(0.3) brightness(0.5); transition: opacity 0.35s, filter 0.25s; }
.tile.dim .tile-art.framed img.main { filter: saturate(0.3) brightness(0.5) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45)); }
.tile .peek { transition: opacity 0.3s; }
.tile .peek.ok { opacity: 0; }
.tile-tags { position: absolute; left: 0; right: 0; bottom: 13%; display: flex; justify-content: center; gap: 4px; pointer-events: none; }
.tag {
  padding: 1px 8px 2px; font-size: 12px; line-height: 1.5; white-space: nowrap; color: var(--text);
  background: #151e22; border: 2px solid #4f5f63; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.tag-alt { color: var(--cream); background: #23524f; border-color: #3f8c86; }
.peek-label { position: absolute; top: 18%; right: 6%; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
@media (hover: hover) {
  .tile:hover { transform: translateY(-6px) scale(1.035); z-index: 2; }
  .tile:hover .tile-art img.main, .tile.dim:hover .tile-art.framed img.main { filter: brightness(1.08); }
  .tile:hover .peek.ok, .tile:hover .peek-label { opacity: 1; }
}
.tile:active { transform: scale(0.98); }
.grid-sub {
  display: flex; align-items: center; gap: 14px; margin: 34px 0 16px;
  font-family: var(--f-title); font-weight: 700; font-size: 19px; color: var(--cream); text-shadow: var(--stroke);
}
.grid-sub::before, .grid-sub::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, transparent, #56676b); }
.grid-sub::after { transform: scaleX(-1); }

/* ---------- 页底 ---------- */
.footer { padding: 30px var(--pad) calc(36px + env(safe-area-inset-bottom)); }
.footer-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.footer-banner { width: min(100%, 470px); margin-bottom: 18px; }
.footer-banner { --bs: 5.2cqw; }
.footer-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.footer-btns .btn { flex: 1 1 140px; max-width: 220px; }
.credits { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; font-size: 14px; }
.credits span { color: var(--dim); margin-right: 8px; }
.credits a { color: var(--cream); border-bottom: 1px solid #56676b; }
.credits a:hover { border-color: var(--cream); }
.credits li.has-avatar { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 104px; }
.credits li.has-avatar span { margin-right: 0; font-size: 12.5px; letter-spacing: 0.12em; }
.credits a.credit-face { display: block; border: 0; margin-bottom: 6px; border-radius: 50%; transition: transform 0.15s, filter 0.15s; }
.credits a.credit-face:hover { transform: translateY(-2px); filter: brightness(1.08); }
.credit-avatar {
  display: block; width: 64px; height: 64px; border-radius: 50%; background: var(--cream);
  border: 2px solid #c9a35e;
  box-shadow: 0 0 0 2px #1b1410, 0 0 0 3px #5b4a32, 0 4px 10px rgba(0, 0, 0, 0.55);
}
li.has-avatar > .credit-avatar { margin-bottom: 6px; }
.fine { margin: 22px 0 0; font-size: 12px; color: var(--dim); line-height: 1.8; }

/* ---------- 大图对比 ---------- */
.lb { position: fixed; inset: 0; z-index: 50; }
.lb[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: #070b0d; }
.lb-panel {
  position: relative; height: 100%; display: flex; flex-direction: column;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
  pointer-events: none; animation: pop 0.22s ease;
}
.lb-panel > * { pointer-events: auto; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0.98); } }
.lb-head { display: flex; align-items: center; gap: 12px; padding: 10px var(--pad) 4px; }
.lb-titles { min-width: 0; flex: 1; text-align: right; }
.lb-class { display: block; font-size: 12.5px; letter-spacing: 0.14em; color: var(--accent); }
.lb-name {
  margin: 0; font-family: var(--f-title); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--cream);
  text-shadow: var(--stroke); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* 游戏的返回按钮（红色旗形） */
.lb-close {
  flex: none; width: 96px; height: 49px; padding: 0 0 2px 22px; text-align: center;
  background: url(assets/back.webp) center / 100% 100% no-repeat;
  font-family: var(--f-title); font-weight: 700; font-size: 16px; color: var(--cream); text-shadow: var(--stroke);
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.5)); transition: filter 0.15s, transform 0.15s;
}
.lb-close:hover { filter: brightness(1.2) drop-shadow(0 3px 4px rgba(0, 0, 0, 0.5)); transform: translateX(-2px); }
.lb-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 6px var(--pad); pointer-events: none; }
.lb-stage > .lb-nav { pointer-events: auto; }
.lb-center { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lb-center > * { pointer-events: auto; }
.lb-under { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 100%; }
.lb-nav, .lb-arrow {
  flex: none; width: 52px; height: 52px; background: center / 100% 100% no-repeat;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.6)); transition: transform 0.15s, filter 0.15s;
}
.lb-prev, .lb-arrow.prev { background-image: url(assets/arrow-l.webp); }
.lb-next, .lb-arrow.next { background-image: url(assets/arrow-r.webp); }
.lb-nav { display: none; }
.lb-nav:hover:not(:disabled), .lb-arrow:hover:not(:disabled) { filter: brightness(1.15) drop-shadow(0 3px 4px rgba(0, 0, 0, 0.6)); transform: scale(1.08); }
.lb-nav:disabled, .lb-arrow:disabled { filter: grayscale(1) brightness(0.45); cursor: default; }
.lb-prev { margin-right: 24px; }
.lb-next { margin-left: 24px; }

.cmp {
  position: relative; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  max-width: 100%; max-height: 100%; overflow: hidden; cursor: ew-resize;
}
.cmp:not(.framed) { background: #111; border: 2px solid #11181b; outline: 2px solid #56676b; }
.cmp.single { cursor: default; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.cmp .fem { clip-path: inset(0 0 0 var(--x, 50%)); }
.cmp-line {
  position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 3px; margin-left: -1.5px;
  background: var(--cream); box-shadow: 0 0 0 1px #1b1410, 0 0 10px rgba(0, 0, 0, 0.7); pointer-events: none;
}
.cmp.framed .cmp-line { bottom: 14%; }
/* 拖动把手：游戏里常见的菱形宝石 */
.cmp-knob {
  position: absolute; top: 55%; left: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; transform: rotate(45deg);
  background: linear-gradient(135deg, #fff4dc, #c9a865); border: 3px solid #1b1410; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}
.cmp-tag {
  position: absolute; bottom: 9%; z-index: 2; padding: 2px 12px 3px; font-size: 13px; color: var(--text);
  background: #151e22; border: 2px solid #4f5f63; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6); cursor: pointer;
}
.cmp-tag.left { left: 4%; }
.cmp-tag.right { right: 4%; color: var(--cream); background: #23524f; border-color: #3f8c86; }
.cmp:not(.framed) .cmp-tag { bottom: auto; top: 10px; }
.cmp.single .cmp-tag { cursor: default; }

.lb-foot { padding: 6px var(--pad) 14px; display: flex; justify-content: center; }
.lb-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lb-tabs:empty { display: none; }
.lb-tab {
  position: relative; z-index: 0; min-height: 38px; padding: 4px 16px 5px; font-size: 14px; color: var(--muted);
  border: 1px solid transparent; border-image: url(assets/tab.webp) 40 fill / 11px stretch; transition: color 0.2s, filter 0.2s;
}
.lb-tab:hover { color: var(--text); filter: brightness(1.15); }
.lb-tab.on { color: var(--cream); text-shadow: var(--stroke); border-image: url(assets/button.webp) 30 44 fill / 12px 16px stretch; }
.lb-hint { margin: 0; font-size: 13px; color: var(--dim); text-align: center; text-wrap: balance; }
.lb-hint:empty { display: none; }
.lb-pager { display: flex; align-items: center; justify-content: center; gap: 18px; }
.lb-count {
  min-width: 76px; text-align: center; font-family: "Site Body EN", var(--f-body); font-size: 15px; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 900px) {
  .lb-nav { display: block; width: 60px; height: 60px; }
  .lb-pager .lb-arrow { display: none; }
  .lb-head { padding: 18px 28px 8px; }
  .lb-name { font-size: 26px; }
  .lb-foot { padding-bottom: 22px; }
}

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

/* ---------- Ko-fi 打赏面板 ---------- */
.kofi { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 12px; animation: fade 0.18s ease; }
.kofi-backdrop { position: absolute; inset: 0; background: rgba(7, 11, 13, 0.82); }
.kofi-panel {
  position: relative; width: min(440px, 100%); max-height: calc(100dvh - 24px); overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 16px; animation: pop 0.22s ease;
}
.kofi-head { display: flex; align-items: center; gap: 12px; }
.kofi-title { margin: 0; flex: 1; text-align: right; font-family: var(--f-title); font-weight: 700; font-size: 20px; color: var(--cream); text-shadow: var(--stroke); }
.kofi-frame { display: block; width: 100%; height: 712px; max-height: calc(100dvh - 150px); min-height: 420px; border: 0; border-radius: 6px; background: #f9f9f9; }
.kofi-fallback { align-self: center; font-size: 13px; color: var(--muted); border-bottom: 1px solid #56676b; }
.kofi-fallback:hover { color: var(--cream); border-color: var(--cream); }
.kofi-body { display: flex; flex-direction: column; gap: 10px; }
.kofi-body:empty { display: none; }
.support-text { margin: 4px 4px 0; font-size: 14px; color: var(--muted); text-align: center; text-wrap: pretty; }
.support-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 4px; }
.support-btns .btn { flex: 1 1 150px; }

/* ---------- 英文模式：西文排版（字体本来就是 Kreon 在前，这里只收掉为中文加的字距） ---------- */
html[lang="en"] .hero-kicker { letter-spacing: 0.1em; }
html[lang="en"] .hero-banner { --bs: 7cqw; }
html[lang="en"] .banner > * { letter-spacing: 0.03em; }
html[lang="en"] .lb-class { letter-spacing: 0.06em; }
html[lang="en"] .credits li.has-avatar span { letter-spacing: 0.04em; }
html[lang="en"] .btn { letter-spacing: 0.01em; }

/* ---------- mod 施工状态 ---------- */
.mod-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; }
.mod-meta .mod-ver { margin: 0; }
.mod-state {
  padding: 1px 9px 2px; font-size: 12.5px; line-height: 1.5; white-space: nowrap;
  border: 2px solid; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.mod-state-wip { color: #ffd9a0; background: #4a2c12; border-color: #a8662a; }
.mod-state-part { color: #ffe9b8; background: #3d3a16; border-color: #9a8a36; }
.mod-state-done { color: var(--cream); background: #23524f; border-color: #3f8c86; }

/* ---------- 首屏：作者的两个作品（卡面替换、更直观的手牌），两条同样式横幅叠在职业面板上面 ---------- */
.hero-works { display: grid; gap: 8px; max-width: 760px; margin: 0 auto 8px; }
.hero-work {
  position: relative; display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 10px 12px 10px 8px; border: 1px solid transparent; border-image: url(assets/tab.webp) 40 fill / 12px stretch;
  transition: transform 0.15s, filter 0.15s;
}
.hero-work:hover { transform: translateY(-3px); filter: brightness(1.15); }
/* 卡堆：竖卡（手牌）按高度排，横卡（卡面替换的卡头）矮一点；两条的卡堆占同样宽，文字左边对齐 */
.hero-work-fan { --ch: 70px; --fw: 112px; position: relative; flex: none; width: var(--fw); height: 80px; }
.hero-art .hero-work-fan { --ch: 44px; }
.hero-work-card {
  --ar: 0.712; position: absolute; top: 50%; left: 50%; height: var(--ch); width: calc(var(--ch) * var(--ar));
  margin: calc(var(--ch) * -0.5) 0 0 calc(var(--ch) * var(--ar) * -0.5);
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.6)); transition: transform 0.25s ease; transform-origin: 50% 100%;
}
.hero-work-card.c0 { transform: translateX(-34%) rotate(-11deg); }
.hero-work-card.c1 { transform: translateX(34%) rotate(11deg); }
.hero-work-card.c2 { z-index: 1; }
.hero-work:hover .hero-work-card.c0 { transform: translateX(-44%) rotate(-15deg); }
.hero-work:hover .hero-work-card.c1 { transform: translateX(44%) rotate(15deg); }
.hero-art .hero-work-card.c0 { transform: translate(-42%, -10%) rotate(-10deg); }
.hero-art .hero-work-card.c1 { transform: translate(42%, -10%) rotate(10deg); }
.hero-art .hero-work-card.c2 { transform: translateY(16%); }
.hero-art:hover .hero-work-card.c0 { transform: translate(-50%, -12%) rotate(-13deg); }
.hero-art:hover .hero-work-card.c1 { transform: translate(50%, -12%) rotate(13deg); }
.hero-work-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.hero-work-kicker { font-size: 12px; letter-spacing: 0.14em; color: var(--muted); }
html[lang="en"] .hero-work-kicker { letter-spacing: 0.04em; }
.hero-work-name { font-family: var(--f-title); font-weight: 700; font-size: 18px; color: var(--cream); text-shadow: var(--stroke); }
.hero-work-line { margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--accent); text-wrap: pretty; }
.hero-work-go { flex: none; width: 30px; height: 30px; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.6)); }
@media (min-width: 720px) {
  .hero-works { gap: 14px; margin-bottom: 16px; }
  .hero-work { justify-content: center; gap: 24px; padding: 12px 22px 12px 18px; }
  .hero-work-body { flex: 0 1 460px; }
  .hero-work-line { text-wrap: balance; }
  .hero-work-line > span { display: block; } /* 英文两句各占一行 */
  .hero-work-fan { --ch: 84px; --fw: 150px; height: 96px; }
  .hero-art .hero-work-fan { --ch: 62px; }
  .hero-work-name { font-size: 21px; }
  .hero-work-line { font-size: 14.5px; }
  .hero-work-go { width: 40px; height: 40px; margin-right: 4px; }
}
/* 当前页那条（展示页上的「更直观的手牌」）：不可点，金边描一圈，箭头换成「当前页」小牌 */
.hero-work.here { cursor: default; box-shadow: 0 0 0 2px rgba(230, 194, 122, 0.85), 0 0 16px rgba(230, 194, 122, 0.25); }
.hero-work.here:hover { transform: none; filter: none; }
.hero-work.here.hero-tm:hover .hero-work-card.c0 { transform: translateX(-34%) rotate(-11deg); }
.hero-work.here.hero-tm:hover .hero-work-card.c1 { transform: translateX(34%) rotate(11deg); }
.hero-work-here {
  flex: none; padding: 2px 9px 3px; font-size: 12px; line-height: 1.4; white-space: nowrap;
  color: var(--ink); background: var(--accent); border: 2px solid #8a6a2a; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
/* 展示页：两条在标题面板下面，宽屏并排（只占一排高，不把卡面往下挤太多），窄屏上下叠 */
.tm-works { max-width: none; margin: -6px 0 22px; }
@media (min-width: 960px) {
  .tm-works { grid-template-columns: 1fr 1fr; }
  .tm-works .hero-work { gap: 16px; padding: 10px 16px 10px 12px; }
  .tm-works .hero-work-body { flex: 1 1 0; }
  .tm-works .hero-work-line { font-size: 13.5px; text-wrap: pretty; }
}
.topbar-links a.topbar-tm { margin-left: 6px; padding-left: 8px; }
.topbar-card { width: auto; height: 30px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)); }

/* ---------- 「更直观的手牌」展示页 ---------- */
.tm { padding: calc(var(--bar) + 30px + env(safe-area-inset-top)) 0 20px; }
.tm-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.tm-head { margin-bottom: 22px; }
.tm-banner { width: min(92%, 470px); }
html[lang="en"] .tm-banner { --bs: 6.4cqw; }
.tm-panel { text-align: center; }
.tm-kicker { margin: 0; font-size: 13px; letter-spacing: 0.18em; color: var(--muted); }
.tm-desc { margin: 6px auto 0; max-width: 34em; font-size: 16px; color: var(--text); text-wrap: balance; }
.tm-btns { justify-content: center; }
html[lang="en"] .tm-kicker { letter-spacing: 0.06em; }

/* 控制条：贴在顶栏下面，滚到哪都能切 */
.tm-bar {
  position: sticky; top: calc(var(--bar) + env(safe-area-inset-top)); z-index: 20;
  background: rgba(18, 27, 31, 0.95); border-bottom: 2px solid #2c3a3f; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.tm-bar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 8px var(--pad);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 22px;
}
.tm-modes { display: flex; gap: 6px; }
.tm-mode { min-width: 96px; font-family: var(--f-title); font-weight: 700; font-size: 15px; }
.tm-filter { display: flex; gap: 6px; }
.tm-chip {
  padding: 2px 11px 3px; font-size: 13px; line-height: 1.5; white-space: nowrap; color: var(--muted);
  background: #151e22; border: 2px solid #3a484c; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); transition: color 0.15s, border-color 0.15s;
}
.tm-chip b { font-family: "Site Body EN", var(--f-body); font-weight: 700; }
.tm-chip:hover { color: var(--text); border-color: #56676b; }
.tm-chip.on { color: var(--cream); background: #23524f; border-color: #3f8c86; cursor: default; }
.tm-keys { display: none; font-size: 12.5px; color: var(--dim); }
@media (hover: hover) and (min-width: 1100px) { .tm-keys { display: block; } }
@media (max-width: 599px) {
  .tm-bar-inner { gap: 6px 10px; padding-top: 6px; padding-bottom: 7px; }
  .tm-modes { flex: 1 1 100%; }
  .tm-mode { flex: 1; min-width: 0; padding-left: 6px; padding-right: 6px; }
}

.tm-groups { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 20px; }
.tm-group { display: inline-flex; align-items: center; gap: 6px; }
.tm-group-icon { width: 26px; height: 26px; margin: -4px 0 -4px -6px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.6)); }
.tm-group-n { font-family: "Site Body EN", var(--f-body); font-size: 12.5px; color: var(--dim); }
.tm-group.on .tm-group-n { color: var(--accent); }
@media (max-width: 599px) { .tm-group { min-height: 34px; padding: 3px 11px 4px; font-size: 13px; } }

.tm-grid { --cols: 2; display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 12px 8px; align-items: start; }
@media (min-width: 600px) { .tm-grid { --cols: 3; gap: 16px 14px; } }
@media (min-width: 900px) { .tm-grid { --cols: 4; gap: 20px 18px; } }
@media (min-width: 1100px) { .tm-grid { --cols: 5; } }
.tm-grid.empty { display: block; }
.tm-empty { margin: 0; padding: 40px 0; text-align: center; color: var(--muted); }
.tm-card { position: relative; display: block; width: 100%; transition: transform 0.18s ease; }
.tm-card-art { position: relative; display: block; width: 100%; aspect-ratio: 300 / 422; }
/* 没载出来前的占位（载出来后图片盖住，卡角透明处不留底色） */
.tm-card-art::before { content: ""; position: absolute; inset: 2%; border-radius: 8px; background: rgba(5, 9, 11, 0.45); transition: opacity 0.3s; }
.tm-card-art:has(img.ok)::before { opacity: 0; }
.tm-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45)); -webkit-user-drag: none;
}
.tm-img.ok { animation: fade 0.35s ease; }
.tm-grid[data-m="0"] .tm-img.m0.ok, .tm-grid[data-m="1"] .tm-img.m1.ok,
.tm-grid[data-m="2"] .tm-img.m2.ok, .tm-grid[data-m="3"] .tm-img.m3.ok { opacity: 1; }
.tm-card .tile-tags { bottom: 3%; }
@media (hover: hover) { .tm-card:hover { transform: translateY(-6px) scale(1.035); z-index: 2; } }
.tm-card:active { transform: scale(0.98); }

/* 展示页的大图：几种模式并排，下面标模式名，当前全页用的那种亮起来 */
.tm-trio { display: flex; justify-content: center; align-items: flex-start; gap: 18px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.tm-fig { display: flex; flex-direction: column; align-items: center; gap: 10px; width: var(--fw, 240px); transition: filter 0.15s; }
.tm-fig-img { width: var(--fw, 240px); height: var(--fh, 338px); object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6)); -webkit-user-drag: none; }
.tm-cap {
  padding: 2px 14px 3px; font-family: var(--f-title); font-weight: 700; font-size: 15px; color: var(--muted);
  background: #151e22; border: 2px solid #4f5f63; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}
.tm-fig.on .tm-cap { color: var(--cream); text-shadow: var(--stroke); background: #23524f; border-color: #3f8c86; }
@media (hover: hover) { .tm-fig:hover { filter: brightness(1.08); } .tm-fig:hover .tm-cap { color: var(--text); } .tm-fig.on:hover .tm-cap { color: var(--cream); } }
@media (min-width: 720px) { .tm-lb .tm-lb-tabs { display: none; } }
@media (max-width: 719px) {
  .tm-fig:not(.on) { display: none; }
  .tm-cap { display: none; }
  .tm-fig { cursor: default; }
}

/* ---------- 展示页顶部的手牌演示（app.js hdBuild） ----------
   world 里是游戏参考像素，JS 整块缩放；球的各层都是导出的同一张游戏贴图，配上 SVG 调色/光晕滤镜 */
.hd { margin: 22px 0 6px; }
.hd-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.hd-hint { margin: 0 auto 10px; max-width: 46em; text-align: center; font-size: 14px; line-height: 1.5; color: var(--muted); text-wrap: balance; }
.hd-wrap { position: relative; }
.hd-stage {
  position: relative; overflow: hidden; height: 440px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(4, 9, 11, 0.15) 0%, rgba(4, 9, 11, 0.55) 100%), url(assets/bg.webp) center / cover, #0b1316;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.7);
  touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
/* 石板面板的边框压在最上面，牌从边框底下穿出去 */
.hd-box { position: relative; }
.hd-frame {
  position: absolute; inset: -12px; z-index: 3; pointer-events: none;
  border: 1px solid transparent; border-image: url(assets/panel.webp) 96 / 34px stretch;
}
.hd-world { position: absolute; left: 0; top: 0; width: 1400px; height: 480px; transform-origin: 0 0; }
.hd-card {
  position: absolute; left: 0; top: 0; width: 300px; height: 422px; transform-origin: 50% 50%;
  will-change: transform; cursor: pointer; border-radius: 18px;
}
.hd-card:focus-visible { outline: 4px solid var(--cream); outline-offset: 2px; }
.hd-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; pointer-events: none;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.55)); -webkit-user-drag: none; transition: opacity 0.2s;
}
.hd[data-m="0"] .hd-img.m0.ok, .hd[data-m="1"] .hd-img.m1.ok,
.hd[data-m="2"] .hd-img.m2.ok, .hd[data-m="3"] .hd-img.m3.ok { opacity: 1; }

/* 左下计数：能量贴图上写 3/3，星星贴图上写星数（游戏里能量球的位置） */
.hd-counter { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 1; }
.hd-count { position: absolute; display: flex; align-items: center; justify-content: center; }
.hd-count img { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.6)); }
.hd-count-e { left: -65px; top: -65px; width: 130px; height: 130px; }
.hd-count-s { left: -95px; top: 0; width: 84px; height: 84px; }
.hd-num {
  position: relative; font-family: "Site Title EN", var(--f-title); font-weight: 700; font-size: 40px; line-height: 1;
  color: var(--cream); text-shadow: 0 3px 0 #2a1306, 2px 2px 0 #2a1306, -2px 2px 0 #2a1306, 2px -2px 0 #2a1306, -2px -2px 0 #2a1306;
}
.hd-count-s .hd-num { font-size: 30px; text-shadow: 0 3px 0 #0c2238, 2px 2px 0 #0c2238, -2px 2px 0 #0c2238, 2px -2px 0 #0c2238, -2px -2px 0 #0c2238; }

/* 回合开始按钮：宽屏在舞台右侧（游戏「结束回合」的位置），窄屏放到舞台下面 */
.hd-turn { position: absolute; z-index: 4; right: 3.2%; top: 42%; transform: translateY(-50%); min-width: 136px; }
.hd-turn:hover { transform: translateY(calc(-50% - 2px)); }
.hd-turn:active { transform: translateY(calc(-50% + 1px)); }
.hd.narrow .hd-turn { position: relative; right: auto; top: auto; transform: none; display: flex; margin: 12px auto 0; }
.hd.narrow .hd-turn:hover { transform: translateY(-2px); }

/* 两排球 */
.hd-rows { position: absolute; left: 0; top: 0; z-index: 80; pointer-events: none; will-change: transform; }
.hd-row { position: absolute; left: 0; top: 0; transition: opacity 0.25s linear; }
.hd-row-star.dim { opacity: 0.65; }
.hd-orb { position: absolute; left: -23px; top: -23px; width: 46px; height: 46px; transition: transform 0.24s cubic-bezier(0.2, 0.7, 0.3, 1); }
.hd-bob, .hd-life, .hd-st { position: absolute; inset: 0; }
.hd-bob { animation: hd-bob 1.428s ease-in-out infinite alternate; }
.hd-st { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s linear; }
.hd-l, .hd-shine { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.2s linear; -webkit-user-drag: none; }
.hd-shine { mix-blend-mode: plus-lighter; }
.hd-rows-halo, .hd-halos, .hd-icons { position: absolute; left: 0; top: 0; }
/* 光晕：同一贴图的剪影染色后模糊，约 1.9 倍图标大 */
.hd-h { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.2s linear, transform 0.2s ease-out; }
.hd-plus {
  position: absolute; left: 50%; top: 50%; margin: -25px 0 0 -4px; width: 30px; height: 30px; opacity: 0;
  font: 900 34px/30px Arial, sans-serif; text-align: center; color: rgb(128, 255, 102);
  text-shadow: 2px 0 0 rgba(8, 33, 10, 0.95), -2px 0 0 rgba(8, 33, 10, 0.95), 0 2px 0 rgba(8, 33, 10, 0.95), 0 -2px 0 rgba(8, 33, 10, 0.95);
}
/* 实球；指着的牌要花的：抬起放大、提亮、白光、光晕 */
.k-real .hd-l-full { opacity: 1; }
.k-real.lit .hd-st { transform: translateY(-8px) scale(1.14); transition-duration: 0.143s; transition-timing-function: linear; }
.k-real.lit .hd-l-spend { opacity: 1; transition-duration: 0.143s; }
.k-real.lit .hd-shine { opacity: 0.7; transition-duration: 0.143s; }
.k-real.lit .hd-h-spend { opacity: 1; transform: scale(1.6); transition-duration: 0.143s; }
/* 实际用掉的能量：原位缩成灰空壳 */
.k-shell .hd-st { transform: translateY(3px) scale(0.66); opacity: 0.55; }
.k-shell .hd-l-spent { opacity: 1; }
/* 不够：红色虚位，一明一暗 */
.k-miss .hd-l-miss { animation: hd-pulse 0.628s ease-in-out infinite alternate; }
.k-miss .hd-h-miss { opacity: 0.35; }
/* 获得：绿色虚影带加号，呼吸 */
.k-gain .hd-l-gain { animation: hd-breath 0.924s ease-in-out infinite alternate; }
.k-gain .hd-h-gain { animation: hd-gain-halo 0.924s ease-in-out infinite alternate; }
.k-gain .hd-plus { animation: hd-plus 0.924s ease-in-out infinite alternate; }
/* 出现、补回的闪光、退场 */
.hd-orb.pop .hd-life { animation: hd-pop 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.hd-orb.soft .hd-life { animation: hd-soft 0.2s linear both; }
.hd-orb.flash .hd-shine { animation: hd-flash 0.38s linear; }
.hd-orb.leave .hd-life { animation: hd-leave 0.32s linear forwards; }
.hd-orb.leave.leave-soft .hd-life { animation-delay: -0.128s; }
@keyframes hd-bob { from { transform: translateY(-3px); } to { transform: translateY(3px); } }
@keyframes hd-pulse { from { opacity: 0.45; } to { opacity: 0.75; } }
@keyframes hd-breath { from { opacity: 0.3; } to { opacity: 0.42; } }
@keyframes hd-gain-halo { from { opacity: 0.3; transform: scale(1.05); } to { opacity: 0.5; transform: scale(1.2); } }
@keyframes hd-plus { from { opacity: 0.8; transform: scale(0.94); } to { opacity: 1; transform: scale(1.1); } }
@keyframes hd-pop { from { transform: scale(0); opacity: 0; } 50% { opacity: 1; } to { transform: scale(1); opacity: 1; } }
@keyframes hd-soft { from { transform: scale(0.6); opacity: 0; } 50% { opacity: 1; } to { transform: scale(1); opacity: 1; } }
@keyframes hd-flash { from { opacity: 0.9; } to { opacity: 0; } }
@keyframes hd-leave {
  0% { transform: scale(1); } 20% { transform: scale(1.12); } 40% { transform: scale(1.05); }
  60% { transform: scale(0.84); } 80% { transform: scale(0.49); } 100% { transform: scale(0); }
}
@media (max-width: 599px) { .hd { margin-top: 16px; } .hd-hint { font-size: 13px; } .hd-stage { border-radius: 14px; } .hd-frame { inset: -8px; border-image-width: 22px; } }
@media (prefers-reduced-motion: reduce) { .hd-bob, .k-miss .hd-l-miss, .k-gain .hd-l-gain, .k-gain .hd-h-gain, .k-gain .hd-plus { animation: none; } .k-miss .hd-l-miss { opacity: 0.6; } .k-gain .hd-l-gain, .k-gain .hd-plus, .k-gain .hd-h-gain { opacity: 0.4; } }
