/* ================= 暗夜狼人杀 主题样式 ================= */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --bg: #0d1018;
  --bg2: #151a28;
  --panel: #1c2236;
  --panel2: #232b44;
  --line: #333d5e;
  --gold: #e8c47a;
  --gold2: #f4ddb0;
  --red: #e2604f;
  --red2: #ff8a78;
  --purple: #b48cf2;
  --green: #6fcf97;
  --blue: #7aa7ff;
  --text: #e9ecf5;
  --muted: #9aa3bd;
  --shadow: 0 10px 30px rgba(0,0,0,.45);
}

html, body { height: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background:
    linear-gradient(180deg, rgba(11,14,22,.86) 0%, rgba(13,16,24,.94) 100%),
    radial-gradient(1200px 600px at 80% -10%, rgba(32,40,74,.5) 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(42,30,58,.45) 0%, transparent 55%),
    url('../img/bg.jpg') center / 112% 112% fixed no-repeat,
    var(--bg);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100%;
}

/* ---------- 角色立绘通用 ---------- */
.role-art {
  display: block; width: 122%; height: 122%; max-width: none;
  object-fit: cover; object-position: center center;
}
.role-emoji {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}

#app { max-width: 860px; margin: 0 auto; padding-bottom: 60px; }

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: rgba(13,16,24,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo-btn {
  background: none; border: none; color: var(--gold); font-size: 17px;
  font-weight: 700; cursor: pointer; letter-spacing: 1px;
}
.topnav { display: flex; gap: 4px; }
.topnav button {
  background: none; border: none; color: var(--muted);
  padding: 6px 12px; border-radius: 8px; cursor: pointer; font-size: 14px;
}
.topnav button:hover { color: var(--gold); background: var(--panel); }

/* ---------- 通用 ---------- */
#view { padding: 20px 16px; }
.card {
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg2) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
h1 { font-size: 26px; letter-spacing: 2px; }
h2 { font-size: 19px; margin-bottom: 12px; color: var(--gold2); }
h3 { font-size: 16px; margin-bottom: 8px; }
.muted { color: var(--muted); font-size: 13.5px; }
.center { text-align: center; }
.gold { color: var(--gold); }
.red { color: var(--red2); }
.purple { color: var(--purple); }
.spacer { height: 10px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row > * { flex: 1; min-width: 0; }

.btn {
  display: inline-block;
  background: linear-gradient(180deg, #f0d496, #d9b265);
  color: #2a2110; border: none; border-radius: 12px;
  padding: 12px 20px; font-size: 15px; font-weight: 700;
  cursor: pointer; box-shadow: 0 4px 14px rgba(217,178,101,.25);
  transition: transform .08s, filter .15s;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-ghost {
  background: var(--panel2); color: var(--text);
  border: 1px solid var(--line); box-shadow: none;
}
.btn-danger { background: linear-gradient(180deg, #ef7d6c, #d24f3e); color: #fff; }
/* 二次确认武装态：醒目警示色，提示再点一次才生效 */
.btn-warn { background: linear-gradient(180deg, #ffb454, #e08a1e) !important; color: #2a1a00 !important; animation: btnWarnPulse .6s ease-in-out infinite alternate; }
@keyframes btnWarnPulse { from { box-shadow: 0 0 0 0 rgba(255,180,84,.55); } to { box-shadow: 0 0 0 7px rgba(255,180,84,0); } }
.btn-blue { background: linear-gradient(180deg, #8fb4ff, #5f85dd); color: #101733; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; display: block; }

.chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; padding: 2px 9px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
}
.chip.good { color: var(--gold); border-color: #6b5a34; background: rgba(232,196,122,.08); }

/* 首屏骨架屏 */
#bootSkeleton { max-width: 960px; margin: 0 auto; padding: 20px 16px; }
.sk-shimmer {
  background: linear-gradient(90deg, var(--panel) 25%, var(--panel2) 50%, var(--panel) 75%);
  background-size: 200% 100%;
  animation: skShimmer 1.4s ease-in-out infinite;
  border-radius: 12px;
}
@keyframes skShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.sk-hero { height: 120px; margin: 18px 0; }
.sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sk-card { height: 110px; }
.sk-block { height: 18px; margin-top: 16px; }
@media (max-width: 640px) { .sk-row { grid-template-columns: 1fr; } .sk-card { height: 72px; } }

/* 首页页脚 */
.site-footer { text-align: center; padding: 26px 0 18px; font-size: 13px; }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.chip.wolf { color: var(--red2); border-color: #6e332c; background: rgba(226,96,79,.1); }
.chip.third { color: var(--purple); border-color: #564080; background: rgba(180,140,242,.1); }

/* ---------- 首页 ---------- */
.hero {
  text-align: center; padding: 48px 12px 30px;
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.hero .moon { font-size: 64px; text-align: center; filter: drop-shadow(0 0 24px rgba(232,196,122,.5)); animation: float 4s ease-in-out infinite; }
.hero .moon .moon-svg { margin: 0 auto; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.hero h1 {
  margin: 14px 0 8px;
  background: linear-gradient(90deg, #f6e3b4, #d9a85a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--muted); }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.mode-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--panel), var(--bg2));
  border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 18px; cursor: pointer; text-align: center;
  transition: transform .12s, border-color .15s;
}
.mode-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.mode-card .big { font-size: 42px; }
.mode-card h3 { margin: 10px 0 4px; color: var(--gold2); font-size: 18px; }
.mode-card p { font-size: 13px; color: var(--muted); }
.feature-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 10px; }
.feature {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 8px; text-align: center; cursor: pointer;
}
.feature .fi { font-size: 24px; }
.feature span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

/* ---------- 角色图鉴 ---------- */
.lib-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.lib-filter button {
  background: var(--panel); border: 1px solid var(--line); color: var(--muted);
  border-radius: 999px; padding: 6px 16px; cursor: pointer; font-size: 13.5px;
}
.lib-filter button.active { background: var(--gold); color: #2a2110; border-color: var(--gold); font-weight: 700; }
.role-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.role-card {
  background: linear-gradient(180deg, var(--panel), var(--bg2));
  border: 1px solid var(--line); border-radius: 14px;
  padding: 0; cursor: pointer; text-align: center;
  overflow: hidden;
  transition: transform .12s, border-color .15s, box-shadow .15s;
}
.role-card:hover {
  transform: translateY(-3px); border-color: var(--gold);
  box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 0 1px rgba(232,196,122,.25);
}
.role-card .ricon {
  position: relative; height: 118px; overflow: hidden;
  background: linear-gradient(160deg, #232b44, #10141f);
}
.role-card .ricon::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,13,22,.12) 0%, transparent 35%, rgba(10,13,22,.18) 75%, rgba(21,26,40,.92) 100%);
}
.role-card .ricon .role-art { transition: transform .25s ease; }
.role-card:hover .ricon .role-art { transform: scale(1.06); }
.role-card .ricon .role-emoji { font-size: 44px; }
.role-card .rname { font-weight: 700; padding: 9px 10px 0; font-size: 15px; position: relative; }
.role-card .rtag { font-size: 12px; color: var(--muted); padding: 3px 10px 13px; }
.role-card.good { border-top: 3px solid var(--gold); }
.role-card.wolf { border-top: 3px solid var(--red); }
.role-card.third { border-top: 3px solid var(--purple); }

/* 角色详情弹层 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(5,7,12,.72);
  z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal {
  width: 100%; max-width: 440px; max-height: 86vh; overflow-y: auto;
  background: linear-gradient(180deg, var(--panel2), var(--bg2));
  border: 1px solid var(--line); border-radius: 18px; padding: 24px;
}
.modal .m-icon {
  position: relative;
  width: 184px; height: 184px; margin: 0 auto 6px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid #8a7142;
  background: linear-gradient(160deg, #232b44, #10141f);
  box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 0 5px rgba(232,196,122,.07);
}
.modal .m-icon::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 40px rgba(0,0,0,.45);
  border-radius: 16px; pointer-events: none;
}
.modal .m-icon .role-emoji { font-size: 64px; }
.modal h2 { text-align: center; margin: 8px 0 2px; }
.modal .m-chips { text-align: center; margin-bottom: 14px; }
.modal .m-sec { margin-top: 12px; }
.modal .m-sec .lab { color: var(--gold); font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.modal .m-sec p { font-size: 14px; color: #cdd4e8; }

/* ---------- 房间设置 ---------- */
.setup-head { display:flex; justify-content:space-between; align-items:center; margin-bottom: 14px; }
.preset-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.preset-item {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px;
  background: var(--panel); cursor: pointer;
}
.preset-item.active { border-color: var(--gold); background: rgba(232,196,122,.08); }
.preset-item .pn { font-weight: 700; font-size: 14.5px; }
.preset-item .pd { font-size: 12px; color: var(--muted); }
.preset-item .pc { font-size: 12px; color: var(--gold); margin-top: 4px; }

.input, select {
  width: 100%; background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; color: var(--text); font-size: 15px;
  outline: none;
}
.input:focus, select:focus { border-color: var(--gold); }
label.flab { display:block; font-size:13px; color: var(--muted); margin: 12px 0 5px; }

.comp-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.comp-token {
  font-size: 12.5px; padding: 4px 8px; border-radius: 8px;
  background: var(--panel2); border: 1px solid var(--line);
  display: inline-flex; align-items: center; gap: 4px;
}
.comp-token .x { color: var(--red2); cursor: pointer; font-weight: 700; }
.stepper { display:flex; align-items:center; gap:12px; }
.stepper button { width: 36px; height: 36px; border-radius: 10px; font-size: 18px; }
.stepper .val { font-size: 22px; font-weight: 700; min-width: 48px; text-align:center; }

.role-picker {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px; max-height: 340px; overflow-y: auto; padding: 4px;
}
.rp-item {
  border: 1px solid var(--line); border-radius: 10px; padding: 0 0 8px;
  text-align: center; cursor: pointer; background: var(--panel); position: relative;
  font-size: 12.5px; overflow: hidden;
}
.rp-item .ri {
  position: relative; height: 58px; overflow: hidden; margin-bottom: 5px;
  background: linear-gradient(160deg, #232b44, #10141f);
}
.rp-item .ri::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,13,22,.15), rgba(20,25,40,.55));
}
.rp-item .ri .role-emoji { font-size: 26px; }
.rp-item.selected { border-color: var(--gold); background: rgba(232,196,122,.12); }
.rp-item .cnt {
  position: absolute; top: -6px; right: -4px; background: var(--gold);
  color: #2a2110; border-radius: 999px; font-size: 11px; font-weight: 700;
  min-width: 18px; height: 18px; line-height: 18px;
}

/* ---------- 游戏界面 ---------- */
.game-wrap { max-width: 720px; margin: 0 auto; }
.story-card {
  background: linear-gradient(180deg, var(--panel), var(--bg2));
  border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 18px 20px; margin-bottom: 14px;
  animation: cardIn .3s ease;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.scene-title { text-align: center; font-size: 20px; font-weight: 700; letter-spacing: 2px; margin-bottom: 4px; }
.scene-sub { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.night-theme { border-color: #4a4480; background: linear-gradient(180deg,#232252,#141428); }
.day-theme { border-color: #6b5a34; background: linear-gradient(180deg,#3a2f1e,#1d1810); }

/* 玩家网格 */
.player-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.p-slot {
  border: 1.5px solid var(--line); border-radius: 12px;
  padding: 10px 8px; text-align: center; cursor: default;
  background: rgba(255,255,255,.03); position: relative;
  transition: border-color .12s, transform .1s, background .12s;
}
.p-slot.selectable { cursor: pointer; }
.p-slot.selectable:hover { border-color: var(--gold); transform: translateY(-2px); }
.p-slot.selected { border-color: var(--gold); background: rgba(232,196,122,.14); }
.p-slot.dead { opacity: .42; filter: grayscale(.8); }
.p-slot .seat-no { position: absolute; top: 5px; left: 8px; font-size: 11px; color: var(--muted); }
.p-slot .avatar { font-size: 30px; }
.p-slot .avatar.avatar-num {
  width: 46px; height: 46px; margin: 2px auto 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; font-weight: 800; color: var(--gold);
  border-radius: 50%; border: 1.5px solid #6b5a34;
  background: rgba(232,196,122,.08);
}
.p-slot .avatar.avatar-img {
  width: 48px; height: 48px; margin: 2px auto 0;
  border-radius: 50%; overflow: hidden;
  border: 1.5px solid #b89a5e;
  background: linear-gradient(160deg, #232b44, #10141f);
  box-shadow: 0 0 10px rgba(0,0,0,.4);
}
.p-slot .pname { font-size: 13.5px; font-weight: 700; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-slot .prole { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.p-slot .badges { margin-top: 4px; display: flex; gap: 3px; justify-content: center; flex-wrap: wrap; }
.p-slot .bd { font-size: 11px; }
.p-slot.dead .death-x {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 34px; color: rgba(226,96,79,.55);
}
.p-slot.disabled-look { opacity: .32; pointer-events: none; }
.p-slot .ch { font-size: 10px; }

/* 身份条 */
.me-bar {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(90deg, rgba(232,196,122,.12), transparent);
  border: 1px solid #6b5a34; border-radius: 14px; padding: 10px 14px; margin-bottom: 14px;
}
.me-bar .mi {
  width: 48px; height: 48px; flex: none;
  border-radius: 50%; overflow: hidden;
  border: 1.5px solid #b89a5e;
  background: linear-gradient(160deg, #232b44, #10141f);
  box-shadow: 0 0 14px rgba(232,196,122,.18);
}
.me-bar .mi .role-emoji { font-size: 26px; }
.me-bar .mn { font-weight: 700; }
.me-bar .ms { font-size: 12.5px; color: var(--muted); }

/* 日志/发言 */
.log-list { display: flex; flex-direction: column; gap: 8px; }
.log-line { font-size: 14px; color: var(--muted); padding-left: 14px; position: relative; }
.log-line::before { content: "•"; position: absolute; left: 2px; color: var(--gold); }
.speech {
  background: var(--panel2); border-radius: 12px; padding: 9px 13px;
  font-size: 14px; max-width: 92%;
}
.speech .who { font-size: 12px; color: var(--gold); font-weight: 700; margin-bottom: 2px; }
.speech .who.wolf-sp { color: var(--red2); }
.speech.align-r { align-self: flex-end; background: #2e3a63; }
.speech.align-r .who { color: #a9c2ff; }
/* 对局内发言气泡的聊天框外观（装备后生效） */
.speech-bubble { margin-top: 4px; padding: 8px 10px; border-radius: 10px; }
.speech-bubble.cf-mist, .speech-bubble.cf-star,
.speech-bubble.cf-blood, .speech-bubble.cf-aurora, .speech-bubble.cf-legend {
  border: 1.5px solid transparent; background-clip: padding-box;
}
.speech-bubble.cf-mist { border-image: linear-gradient(135deg, #9db2c9, #5a6b82) 1; }
.speech-bubble.cf-star { border-image: linear-gradient(135deg, #e8c47a, #a9823f) 1; }
.speech-bubble.cf-blood {
  border: 2px solid transparent;
  background: linear-gradient(var(--panel2), var(--panel2)) padding-box,
              linear-gradient(135deg, #e05252, #7a1f2e) border-box;
}
.speech-bubble.cf-aurora {
  border: 2px solid transparent;
  background: linear-gradient(var(--panel2), var(--panel2)) padding-box,
              linear-gradient(135deg, #4fc3a1, #4a7fe0, #9a5ae0) border-box;
}
.speech-bubble.cf-legend {
  border: 2px solid transparent;
  background: linear-gradient(var(--panel2), var(--panel2)) padding-box,
              linear-gradient(135deg, #f7d774, #e0529a, #7a5ae0, #4fc3a1) border-box;
  box-shadow: 0 0 10px rgba(247, 215, 116, .35);
}

/* 行动提示 */
.action-hint {
  background: rgba(232,196,122,.09); border: 1px dashed #8a7142;
  border-radius: 12px; padding: 11px 14px; font-size: 14px; margin-bottom: 12px;
}
.action-hint b { color: var(--gold); }

.waiting {
  text-align: center; padding: 30px 10px; color: var(--muted);
}
.waiting .spin { font-size: 34px; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:.4} 50%{opacity:1} }

/* 传递设备遮罩 */
.pass-mask {
  position: fixed; inset: 0; z-index: 200;
  background:
    linear-gradient(160deg, rgba(20,25,46,.94), rgba(8,10,18,.97)),
    url('../img/bg.jpg') center / 112% 112% no-repeat;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
}
.pass-mask .pm-icon { font-size: 60px; animation: float 4s ease-in-out infinite; }
.pass-mask .pm-art {
  position: relative;
  width: 196px; height: 196px; border-radius: 22px; overflow: hidden;
  border: 2px solid #b89a5e; margin-bottom: 6px;
  background: linear-gradient(160deg, #232b44, #10141f);
  box-shadow: 0 0 60px rgba(232,196,122,.22), 0 20px 50px rgba(0,0,0,.6);
  animation: float 4s ease-in-out infinite;
}
.pass-mask .pm-art::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 50px rgba(0,0,0,.4);
  border-radius: 22px;
}
.pass-mask .pm-art .role-emoji { font-size: 72px; }
.pass-mask h2 { color: var(--gold2); margin: 14px 0 6px; font-size: 28px; }
.pass-mask p { color: var(--muted); margin-bottom: 26px; max-width: 320px; font-size: 16px; }
.pass-mask .pm-hold {
  background: linear-gradient(135deg, #2a3460, #1a2040); color: var(--gold2);
  border: 2px solid #b89a5e; border-radius: 14px; padding: 14px 32px;
  font-size: 17px; cursor: pointer; user-select: none; touch-action: none;
  transition: transform .2s;
}
.pass-mask .pm-hold.held { background: #2a5a3a; border-color: #4daf54; color: #fff; }
.pass-mask .pm-hold:active { transform: scale(.96); }
.pass-mask .pm-lock-bar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-left: 12px; border-radius: 50%;
  background: rgba(40,30,15,.8); border: 2px solid #b89a5e; cursor: pointer;
  font-size: 22px; transition: transform .2s;
}
.pass-mask .pm-lock-bar:hover { transform: scale(1.1); }

/* 法官播报卡片 */
.judge-card {
  border: 2px solid #c99b4e; border-radius: 12px; padding: 16px 20px;
  margin: 10px auto; max-width: 520px; text-align: center;
  background: linear-gradient(160deg, rgba(40,35,15,.85), rgba(20,18,10,.9));
  box-shadow: 0 0 20px rgba(201,155,78,.15); animation: fadeUp .4s ease;
}
.judge-card .judge-icon { font-size: 32px; margin-bottom: 6px; }
.judge-card .judge-title { font-size: 18px; color: var(--gold2); font-weight: bold; }
.judge-card .judge-sub { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* 发言顺序提示条 */
.speech-order-bar {
  background: rgba(30,35,60,.6); border: 1px solid var(--line);
  border-radius: 8px; padding: 6px 14px; margin: 6px auto;
  font-size: 13px; color: var(--muted); text-align: center;
  animation: fadeUp .3s ease;
}

/* 传屏模式：当前操作人横幅 */
.mp-operator-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 180;
  background: linear-gradient(90deg, rgba(40,30,15,.95), rgba(20,25,46,.95));
  color: var(--gold2); text-align: center; padding: 8px 16px;
  font-size: 16px; border-bottom: 1px solid rgba(184,154,94,.4);
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.mp-operator-bar b { color: #fff; }

/* 结果浮层 */
.result-mask {
  position: fixed; inset: 0; z-index: 150; background: rgba(5,7,12,.82);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.result-box {
  width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto;
  background: linear-gradient(180deg, var(--panel2), var(--bg2));
  border: 1px solid var(--line); border-radius: 20px; padding: 26px; text-align: center;
}
.result-box .trophy { font-size: 60px; }
.result-box h1 { margin: 8px 0 4px; }
.full-roles { margin-top: 16px; text-align: left; display: grid; gap: 6px; }
.fr-item {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.04); border-radius: 10px; padding: 7px 12px; font-size: 14px;
}
.fr-item .fi {
  width: 40px; height: 40px; flex: none;
  border-radius: 50%; overflow: hidden;
  border: 1px solid #6b5a34;
  background: linear-gradient(160deg, #232b44, #10141f);
}
.fr-item .fi .role-emoji { font-size: 20px; }
.fr-item .fn { flex: 1; }
.fr-item .fc { font-size: 12.5px; color: var(--muted); }
.fr-layers { flex: 1; display: grid; gap: 3px; }
.fr-layer { font-size: 13px; padding: 3px 8px; border-radius: 8px; background: rgba(255,255,255,.04); }
.fr-layer.fr-dead { opacity: .45; text-decoration: line-through; }

/* 一人多身份：状态栏身份层标记 */
.layer-pips { margin-left: 6px; white-space: nowrap; }
.layer-pips .lp {
  display: inline-block; min-width: 17px; text-align: center; margin: 0 1px;
  font-size: 11px; border-radius: 999px; padding: 1px 5px;
  border: 1px solid var(--line); color: var(--muted);
}
.layer-pips .lp-cur { background: rgba(217,178,101,.22); border-color: #c9a15b; color: #f0d496; }
.layer-pips .lp-dead { opacity: .4; text-decoration: line-through; }

/* 死亡公告 */
.death-announce { text-align: center; padding: 8px 0; }

/* ============================================================
   账号 / 段位 / 商店 / 试炼
   ============================================================ */

/* 顶栏用户 */
.top-user {
  display: flex; align-items: center; gap: 6px; margin-left: 8px;
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  border-radius: 999px; padding: 4px 10px 4px 6px; cursor: pointer;
}
.top-user:hover { border-color: var(--gold); }
.tu-ava {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; overflow: visible;
  background: radial-gradient(circle at 35% 30%, #2c3450, #10141f); font-size: 15px;
}
.tu-ava img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.tu-meta { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.tu-meta b { font-size: 12px; }
.tu-meta i { font-size: 10px; color: var(--muted); font-style: normal; white-space: nowrap; }

/* 头像与头像框（三层结构：外层定位上下文 → 头像层 → 装饰框层）
 * 头像框为 SVG，中心透明，装饰仅在环带，不遮挡头像 */
.ava { position: relative; display: inline-grid; place-items: center; border-radius: 50%; flex: none; overflow: visible; }
.ava .ava-in {
  position: absolute; inset: 15%; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #2c3450, #0d1018);
}
.ava .ava-in img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ava-fr { position: absolute; inset: -9%; z-index: 2; pointer-events: none; }
.ava-fr-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ava-sm { width: 44px; height: 44px; } .ava-sm .ava-in { font-size: 22px; }
.ava-xs { width: 30px; height: 30px; } .ava-xs .ava-in { font-size: 15px; }
.ava-md { width: 58px; height: 58px; } .ava-md .ava-in { font-size: 28px; }
.ava-lg { width: 88px; height: 88px; } .ava-lg .ava-in { font-size: 42px; }
.ava-xl { width: 112px; height: 112px; } .ava-xl .ava-in { font-size: 52px; }
.ava .ava-fr:empty { display: none; }
@keyframes legendGlow { 0%,100% { filter: drop-shadow(0 0 2px rgba(255,216,107,.5)); } 50% { filter: drop-shadow(0 0 7px rgba(255,216,107,.95)); } }
.ava .ava-fr-svg[class*="legend"], .fr-legend-glow { animation: legendGlow 2.6s ease-in-out infinite; }

/* 月相段位视觉 */
.rank-moon { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 0 6px rgba(232,196,122,.25)); }
.moon-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.rank-moon-lg { width: 56px; height: 56px; }

/* 个人主页 */
.prof-head { display: flex; align-items: center; gap: 18px; }
.prof-info { flex: 1; min-width: 0; }
.rank-bar { height: 8px; border-radius: 999px; background: var(--bg); margin: 8px 0 4px; overflow: hidden; }
.rank-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg,#f6e3b4,#d9a85a); }
.prof-stats { display: grid; grid-template-columns: repeat(6,1fr); gap: 8px; text-align: center; }
.prof-stats b { display: block; font-size: 17px; color: var(--gold2); }
.prof-stats span { font-size: 11px; color: var(--muted); }
.spec-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.spec-row b { margin-left: auto; color: var(--gold); }
.hist-row { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(51,61,94,.4); font-size: 14px; }
.hist-row .win { color: var(--green); font-weight: 700; }
.hist-row .lose { color: var(--red2); font-weight: 700; }
.pos { color: var(--green); } .neg { color: var(--red2); }

/* 商店 */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px,1fr)); gap: 10px; }
.shop-item {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; text-align: center;
  background: var(--bg2); display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.shop-item.on { border-color: var(--gold); background: rgba(232,196,122,.1); }
.shop-item.lock { opacity: .85; }
.shop-item .si-name { font-size: 13px; font-weight: 600; }
.shop-item .si-state { font-size: 11px; color: var(--muted); }
.vi-ic { font-size: 30px; height: 44px; display: grid; place-items: center; }

/* 试炼 */
.trial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px,1fr)); gap: 8px; }
.trial-cell {
  aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--bg2); cursor: pointer; font-size: 18px; transition: transform .1s, border-color .15s;
}
.trial-cell span { font-size: 12px; color: var(--muted); }
.trial-cell:hover { transform: translateY(-2px); border-color: var(--gold); }
.trial-cell.cleared { border-color: #3f7a55; background: rgba(111,207,151,.08); }
.trial-cell.locked { opacity: .4; cursor: not-allowed; }

/* 结算分页面板 */
.score-panel {
  margin: 14px 0; border: 1px solid #6b5a34; border-radius: 14px;
  background: linear-gradient(180deg, rgba(232,196,122,.08), rgba(21,26,40,.6));
  padding: 14px; text-align: left;
}
.sp-title { font-weight: 700; color: var(--gold2); margin-bottom: 8px; }
.sp-line { font-size: 13.5px; padding: 2px 0; }
.sp-line.win { color: var(--green); font-weight: 700; }
.sp-line.lose { color: var(--red2); font-weight: 700; }
.sp-line.muted { color: var(--muted); font-size: 12px; }
.sp-perf { margin: 4px 0; }
.spi { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); padding: 1px 0; }
/* 行为维度得分条 */
.sp-dims { display: flex; flex-direction: column; gap: 3px; margin: 8px 0; padding: 8px; background: rgba(0,0,0,.2); border-radius: 8px; }
.sp-dim { display: grid; grid-template-columns: 36px 1fr 42px; align-items: center; gap: 8px; font-size: 12px; }
.sp-dim .sd-name { color: var(--muted); }
.sp-dim .sd-bar { height: 8px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; }
.sp-dim .sd-fill { height: 100%; border-radius: 4px; transition: width .3s; }
.sp-dim .sd-fill.pos { background: linear-gradient(90deg, #4caf50, #8bc34a); }
.sp-dim .sd-fill.neg { background: linear-gradient(90deg, #f44336, #ff9800); }
.sp-dim .sd-pts { text-align: right; font-weight: bold; }
.sp-dim .sd-pts.pos { color: #8bc34a; }
.sp-dim .sd-pts.neg { color: #ff9800; }
.sp-rank { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 10px 0 4px; font-size: 16px; }
.sp-rank b { color: var(--gold); font-size: 19px; }

/* 轻提示 */
.wn-toast {
  position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%) translateY(20px);
  background: var(--panel2); border: 1px solid var(--gold); color: var(--text);
  padding: 10px 18px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s; z-index: 200; box-shadow: var(--shadow);
}
.wn-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 560px) {
  .prof-stats { grid-template-columns: repeat(3,1fr); }
  .tu-meta i { display: none; }
  .topnav button { padding: 6px 8px; font-size: 13px; }
}
.death-announce .skull { font-size: 40px; }
.death-name { font-weight: 700; font-size: 17px; color: var(--red2); }

/* 投票条 */
.vote-bar { height: 10px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.vote-fill { height: 100%; background: linear-gradient(90deg, #d9b265, #f0d496); border-radius: 999px; transition: width .5s; }
.vote-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.vote-row .vn { width: 90px; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vote-row .vb { flex: 1; }
.vote-row .vc { width: 44px; text-align: right; font-size: 13px; color: var(--gold); }

/* 快速发言 */
.quick-phrases { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.quick-phrases button {
  font-size: 12.5px; padding: 5px 10px; border-radius: 999px;
  background: var(--panel2); border: 1px solid var(--line); color: var(--text); cursor: pointer;
}
.quick-phrases button:hover { border-color: var(--gold); }

.day-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }

.back-home { margin-bottom: 14px; }

@media (max-width: 560px) {
  .mode-grid, .preset-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .topnav { overflow-x: auto; scrollbar-width: none; }
  .topnav::-webkit-scrollbar { display: none; }
  .topnav button { padding: 6px 8px; font-size: 13px; white-space: nowrap; }
  .logo-btn { font-size: 15px; white-space: nowrap; }
  #view { padding: 14px 10px; }
}

/* ============================================================
   联盟 / 聊天（本地模拟社交）
   ============================================================ */

/* 联盟列表与详情 */
.guild-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.guild-row { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--bg2); }
.gr-badge, .gh-badge {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  display: grid; place-items: center; font-weight: 800; color: #1a1408;
  background: linear-gradient(135deg, #f6e3b4, #c99b4e); font-size: 14px;
  overflow: hidden; border: 1px solid rgba(232,196,122,.35);
}
.gr-badge img, .gh-badge img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.gr-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gr-info span { font-size: 12px; }
.guild-head { display: flex; align-items: center; gap: 14px; }
.gh-info { flex: 1; min-width: 0; }
.gh-badge { width: 56px; height: 56px; font-size: 17px; border-radius: 14px; }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 8px; }
.member { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg2); text-align: center; }
.member.me { border-color: var(--gold); background: rgba(232,196,122,.08); }
.member .m-ava {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 22px;
  overflow: hidden; background: radial-gradient(circle at 35% 30%, #2c3450, #0d1018);
}
.member .m-ava img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.member b { font-size: 12.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member i { font-size: 11px; color: var(--muted); font-style: normal; }

/* 联盟赛积分榜 */
.board { margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.board-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid rgba(51,61,94,.4); font-size: 14px; }
.board-row:last-child { border-bottom: none; }
.board-row.mine { background: rgba(232,196,122,.1); }
.br-rank { width: 30px; text-align: center; font-weight: 700; }
.br-name { flex: 1; }
.br-name i { color: var(--muted); font-style: normal; font-size: 11px; margin-left: 6px; }
.season-claim { border-color: #6b5a34; background: linear-gradient(180deg, rgba(232,196,122,.12), rgba(21,26,40,.6)); }
.reward-line { margin: 8px 0 12px; font-size: 16px; }

/* 聊天 FAB + 面板 */
.wn-chat .chat-fab {
  position: fixed; right: 18px; bottom: 20px; z-index: 160;
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--gold);
  background: linear-gradient(180deg, #f6e3b4, #c99b4e); font-size: 24px; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
}
.wn-chat .chat-fab[hidden] { display: none !important; }
.wn-chat .chat-panel[hidden] { display: none !important; }
.chat-panel {
  position: fixed; right: 18px; bottom: 20px; z-index: 170;
  width: min(360px, calc(100vw - 24px)); height: min(540px, calc(100vh - 120px));
  display: flex; flex-direction: column;
  background: var(--panel2); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.6); overflow: hidden;
}
.cp-head { display: flex; align-items: center; padding: 8px 8px 0; gap: 4px; cursor: grab; }
.cp-head:active { cursor: grabbing; }
.cp-tabs { flex: 1; display: flex; gap: 4px; }
.cp-tabs button {
  flex: 1; background: none; border: none; color: var(--muted);
  padding: 8px 0; border-radius: 8px; cursor: pointer; font-size: 14px;
}
.cp-tabs button.on { color: var(--gold2); background: rgba(232,196,122,.12); font-weight: 700; }
.cp-close { background: none; border: none; color: var(--muted); font-size: 16px; cursor: pointer; padding: 4px 8px; }
.cp-body { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.cp-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.cp-input .input { flex: 1; font-size: 14px; padding: 8px 10px; }

/* 消息气泡 */
.cm { display: flex; gap: 8px; align-items: flex-end; }
.cm-ava {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 17px; overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #2c3450, #0d1018);
}
.cm-ava img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
/* 可点击头像（加好友 / 私信） */
.cm-ava-btn { cursor: pointer; transition: box-shadow .15s, transform .15s; }
.cm-ava-btn:hover { box-shadow: 0 0 0 2px rgba(212,175,55,.75); transform: scale(1.06); }
.cm-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cm-name { font-size: 11px; color: var(--muted); padding-left: 4px; }
.cm-bubble {
  position: relative; max-width: 240px; padding: 8px 12px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line); font-size: 14px; line-height: 1.5;
  word-break: break-word;
}
.cm-bubble time { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; text-align: right; }
.cm.me { flex-direction: row-reverse; }
.cm.me .cm-bubble { background: linear-gradient(180deg, rgba(232,196,122,.2), rgba(201,155,78,.14)); border-color: #6b5a34; }
.cm-system { text-align: center; font-size: 12px; color: var(--muted); padding: 2px 0; }

/* 聊天框外观：渐变边框（普通单色 / 稀有双色 / 史诗三色+微光） */
.cm-bubble.cf-mist,
.cm-bubble.cf-star,
.cm-bubble.cf-blood,
.cm-bubble.cf-aurora,
.cm-bubble.cf-legend {
  border: 1.5px solid transparent; background-clip: padding-box;
}
/* 普通：单色渐变 */
.cm-bubble.cf-mist { border-image: linear-gradient(135deg, #9db2c9, #5a6b82) 1; border-radius: 12px; }
.cm-bubble.cf-star { border-image: linear-gradient(135deg, #e8c47a, #a9823f) 1; border-radius: 12px; }
/* 稀有：双色渐变 */
.cm-bubble.cf-blood {
  border: 2px solid transparent; border-radius: 12px;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
              linear-gradient(135deg, #e05252, #7a1f2e) border-box;
}
.cm-bubble.cf-aurora {
  border: 2px solid transparent; border-radius: 12px;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
              linear-gradient(135deg, #4fc3a1, #4a7fe0, #9a5ae0) border-box;
}
/* 史诗：三色渐变 + 微光 */
.cm-bubble.cf-legend {
  border: 2px solid transparent; border-radius: 12px;
  background: linear-gradient(var(--bg), var(--bg)) padding-box,
              linear-gradient(135deg, #f7d774, #e0529a, #7a5ae0, #4fc3a1) border-box;
  box-shadow: 0 0 10px rgba(247, 215, 116, .35), 0 0 4px rgba(224, 82, 154, .25);
}
/* 自己的消息叠加聊天框时保留底色渐变，仅强化边框 */
.cm.me .cm-bubble.cf-mist,
.cm.me .cm-bubble.cf-star { border-image-source: inherit; }
.cm.me .cm-bubble.cf-blood,
.cm.me .cm-bubble.cf-aurora,
.cm.me .cm-bubble.cf-legend {
  background: linear-gradient(180deg, rgba(232,196,122,.2), rgba(201,155,78,.14)) padding-box,
              linear-gradient(135deg, var(--cfb1, #e05252), var(--cfb2, #7a1f2e)) border-box;
}
.cm.me .cm-bubble.cf-blood { --cfb1: #e05252; --cfb2: #7a1f2e; }
.cm.me .cm-bubble.cf-aurora { --cfb1: #4fc3a1; --cfb2: #4a7fe0; }
.cm.me .cm-bubble.cf-legend { --cfb1: #f7d774; --cfb2: #7a5ae0; }

/* 消息举报入口 */
.cm-rp {
  flex: none; align-self: center; width: 22px; height: 22px; border-radius: 6px;
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  font-size: 11px; cursor: pointer; opacity: 0; transition: opacity .15s;
}
.cm:hover .cm-rp { opacity: .85; }
.cm-rp:hover { color: #e88; border-color: #a55; }
.rp-menu {
  position: fixed; z-index: 9999; width: 172px; padding: 6px;
  background: var(--panel, #161a26); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 4px;
}
.rp-title { font-size: 12px; color: var(--muted); padding: 2px 6px 4px; border-bottom: 1px solid var(--line); }
.rp-menu button {
  text-align: left; padding: 7px 8px; border: 0; border-radius: 8px; cursor: pointer;
  background: transparent; color: var(--fg, #e8e4da); font-size: 13px;
}
.rp-menu button:hover { background: rgba(232,196,122,.12); }

/* 私信列表 */
.dm-list { display: flex; flex-direction: column; }
.dm-row { display: flex; align-items: center; gap: 10px; padding: 10px 6px; border-radius: 10px; }
.dm-row:hover { background: rgba(232,196,122,.08); }
.dm-row b { font-size: 14px; }
/* 好友/申请分区 */
.dl-section { font-size: 12px; color: var(--gold, #e8c47a); opacity: .85; padding: 14px 6px 4px; letter-spacing: 1px; }
.dl-grow { flex: 1; min-width: 0; }
.dl-grow .muted { font-size: 12px; margin-top: 2px; }
.dm-row .btn-sm { flex: none; }
.dm-head { display: flex; align-items: center; gap: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.dm-back { cursor: pointer; font-size: 22px; color: var(--gold); line-height: 1; padding: 0 4px; }
.dm-title { font-weight: 700; }
.dm-title .muted { font-weight: 400; font-size: 12px; }

/* 连接状态 */
.cp-conn { font-size: 11px; padding: 4px 12px 0; }
.cp-conn.ok { color: var(--green); }
.cp-conn.off { color: var(--muted); }
/* 未读角标 */
.chat-fab { position: relative; }
.chat-fab.has-unread::after {
  content: attr(data-badge); position: absolute; top: -4px; right: -4px;
  background: #e8463c; color: #fff; font-size: 11px; font-weight: 700;
  min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center;
  padding: 0 4px; border: 2px solid var(--bg);
}

/* ============================================================
 * 身份解锁进度 / 未拥有身份置灰
 * ============================================================ */
.unlock-bar { height: 8px; border-radius: 4px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; margin: 6px 0 10px; }
.unlock-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #c99b4e, var(--gold2)); transition: width .3s; }
.rp-item.locked { opacity: .42; filter: grayscale(.85); cursor: not-allowed; }
.rp-item .lock-tag {
  position: absolute; left: 0; right: 0; bottom: 22px; margin: auto;
  font-size: 10.5px; color: var(--muted); text-align: center; pointer-events: none;
}

/* ============================================================
 * 任务中心
 * ============================================================ */
.task-row { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 10px; }
.task-row.done { opacity: .62; border-color: #4d5a3a; }
.tr-main { flex: 1.2; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tr-main b { font-size: 14px; }
.tr-mid { flex: 1; min-width: 90px; display: flex; align-items: center; gap: 8px; }
.tr-bar { flex: 1; height: 7px; border-radius: 4px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.tr-fill { height: 100%; background: linear-gradient(90deg, #c99b4e, var(--gold2)); border-radius: 4px; }
.tr-prog { font-size: 12px; color: var(--muted); white-space: nowrap; }
.tr-r { flex: 0 0 auto; font-size: 12.5px; color: var(--gold); text-align: right; max-width: 130px; }
.task-row.done .tr-r { color: var(--green); }

/* 活跃度 */
.act-bar { position: relative; margin: 26px 6px 8px; }
.act-track { height: 10px; border-radius: 5px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.act-fill { height: 100%; background: linear-gradient(90deg, #8a6a35, var(--gold), #f4ddb0); border-radius: 5px; transition: width .4s; }
.act-node {
  position: absolute; top: -16px; transform: translateX(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--line);
  background: var(--panel2); color: var(--muted); font-size: 11px; font-weight: 700;
  display: grid; place-items: center; cursor: pointer; line-height: 1.1; text-align: center;
}
.act-node small { display: block; font-size: 9px; font-weight: 400; }
.act-node.can { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 12px rgba(232,196,122,.5); animation: actPulse 1.4s infinite; }
.act-node.claimed { border-color: var(--green); color: var(--green); background: rgba(94,170,94,.12); }
@keyframes actPulse { 0%,100% { transform: translateX(-50%) scale(1);} 50% { transform: translateX(-50%) scale(1.1);} }

/* ============================================================
 * 联盟赛时间线
 * ============================================================ */
.season-line { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.sl-item {
  flex: 1; min-width: 110px; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px; background: var(--bg2); text-align: center; opacity: .55;
}
.sl-item b { display: block; font-size: 13.5px; color: var(--gold2); }

/* ============================================================
 * 角色神祇阶级（图鉴 / 添加角色 / 详情）
 * ============================================================ */
.role-card.unowned { filter: grayscale(1); opacity: .62; }
.role-card .rtier {
  font-size: 12px; font-weight: 700; padding: 0 10px 12px; letter-spacing: .5px;
}
.rtier.t0 { color: #9aa2b6; } .rtier.t1 { color: #6fcf97; }
.rtier.t2 { color: #6ea8fe; } .rtier.t3 { color: #b48cf2; }
.rtier.t4 { color: var(--gold2); } .rtier.unknown { color: var(--muted); }
.chip.tier-chip.t0 { color: #9aa2b6; } .chip.tier-chip.t1 { color: #6fcf97; }
.chip.tier-chip.t2 { color: #6ea8fe; } .chip.tier-chip.t3 { color: #b48cf2; }
.chip.tier-chip.t4 { color: var(--gold2); border-color: var(--gold); }

/* ---------------- 角色试玩模态 ---------------- */
.trial-modal { max-width: 520px; }
.try-tier-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 8px; }
.chip.try-tier { cursor: pointer; padding: 5px 10px; font-size: 12.5px; transition: all .15s; }
.chip.try-tier.sel { background: rgba(232,196,122,.18); border-color: var(--gold); color: var(--gold2); font-weight: 700; }
.try-ability {
  font-size: 12.5px; line-height: 1.6; color: var(--gold2);
  background: rgba(212,175,55,.08); border: 1px solid rgba(212,175,55,.25);
  border-radius: 8px; padding: 8px 10px;
}
.try-board-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 215px; overflow-y: auto; }
.try-board {
  display: flex; flex-direction: column; gap: 3px; text-align: left;
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px;
  background: rgba(255,255,255,.02); cursor: pointer; transition: all .15s;
}
.try-board:hover { border-color: rgba(212,175,55,.5); }
.try-board.sel { border-color: var(--gold); background: rgba(232,196,122,.1); }
.try-board .tb-n { font-size: 13px; font-weight: 700; }
.try-board .tb-d { font-size: 11px; color: var(--muted); line-height: 1.4; }
.rp-tier {
  position: absolute; right: 4px; bottom: 3px; font-size: 10px; font-weight: 700;
  background: rgba(0,0,0,.45); border-radius: 8px; padding: 1px 6px;
}
.rp-tier.t0 { color: #aab1c2; } .rp-tier.t1 { color: #6fcf97; }
.rp-tier.t2 { color: #6ea8fe; } .rp-tier.t3 { color: #b48cf2; }
.rp-tier.t4 { color: var(--gold2); }

/* 进阶之路 */
.asc-prog {
  height: 8px; border-radius: 6px; background: var(--bg2); overflow: hidden; margin-top: 8px;
}
.asc-prog-fill { height: 100%; border-radius: 6px; transition: width .3s; background: #9aa2b6; }
.asc-prog-fill.t1 { background: #6fcf97; } .asc-prog-fill.t2 { background: #6ea8fe; }
.asc-prog-fill.t3 { background: #b48cf2; } .asc-prog-fill.t4 { background: var(--gold); }
.asc-track { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.asc-row {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--bg2);
}
.asc-row .asc-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.asc-name {
  font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 8px;
  background: rgba(255,255,255,.06); color: var(--muted);
}
.asc-title { font-size: 14px; color: var(--txt); }
.asc-need { margin-left: auto; font-size: 11px; color: var(--muted); }
.asc-txt { margin: 6px 0 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.asc-row.passed { opacity: .55; }
.asc-row.passed .asc-name, .asc-row.current .asc-name { color: #6fcf97; }
.asc-row.current { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(212,175,55,.25); }

/* ================= 联机对局 netgame ================= */
#netgame { display: flex; flex-direction: column; gap: 10px; min-height: 70vh; }
.net-top {
  display: flex; align-items: center; gap: 10px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 14px;
}
.net-stage { font-size: 16px; font-weight: 700; flex: 1; }
.net-topbtns { display: flex; gap: 8px; }

.net-me { display: flex; }
.net-me-card {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  width: 100%; background: var(--panel); border: 1px solid var(--line);
  border-left: 4px solid var(--green); border-radius: 10px; padding: 8px 14px;
}
.net-me-card.camp-wolf { border-left-color: var(--red); }
.net-me-role { font-weight: 700; font-size: 15px; }
.net-me-camp { font-size: 12px; color: var(--muted); }
.net-wolfmates { font-size: 13px; color: var(--red2); }

.net-body { display: grid; grid-template-columns: 230px 1fr; gap: 10px; flex: 1; }
.net-side { padding: 12px; }
.net-p {
  display: flex; align-items: center; gap: 6px; font-size: 13px;
  padding: 5px 8px; border-radius: 8px; margin-bottom: 3px;
  background: rgba(255,255,255,.03);
}
.net-p-seat { font-weight: 700; color: var(--gold); min-width: 28px; }
.net-p-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.net-p.dead { opacity: .5; }
.net-p.off .net-p-name { font-style: italic; }
.net-p-tag { font-size: 12px; }
.net-p-off { color: var(--muted); font-size: 11px; }
.net-p-afk { color: #f5a623; font-size: 11px; }

/* 滑块验证码 */
.cap-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 500; display: flex; align-items: center; justify-content: center; }
.cap-modal { width: 320px; margin-bottom: 0; }
.cap-track { position: relative; }
.cap-track input[type=range] { width: 100%; accent-color: var(--gold); }
.cap-mark { position: absolute; top: -6px; width: 4px; height: 28px; background: var(--gold); border-radius: 2px; transform: translateX(-2px); pointer-events: none; box-shadow: 0 0 6px var(--gold); }

/* 联盟富文本 */
.cm-red { color: var(--red2); font-weight: 700; }
.cm-at { color: var(--gold); font-weight: 700; }

/* ---------- 联盟科技 / 讨论区 ---------- */
.donate-row { display: flex; gap: 8px; margin: 10px 0 14px; }
.donate-row .input { flex: 1; }
.donate-row .btn { flex: 0 0 auto; }
.tech-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-top: 1px solid var(--line);
}
.tr-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.post-item { padding: 10px 0; border-top: 1px solid var(--line); }
.post-item:first-of-type { border-top: none; }
.pi-head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; flex-wrap: wrap; }
.pi-body { margin-top: 6px; font-size: 13.5px; color: var(--text); white-space: pre-wrap; }
.post-form { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 12px; }
.gp-modal { max-width: 520px; width: 92%; max-height: 80vh; overflow-y: auto; }
.gp-replay {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px; font-size: 12px; max-height: 300px; overflow-y: auto;
  white-space: pre-wrap; word-break: break-all; color: var(--muted);
}
.net-p-votes { font-size: 11px; color: #fff; background: var(--red); border-radius: 8px; padding: 1px 7px; }

.net-main {
  display: flex; flex-direction: column; gap: 8px; padding: 12px; min-height: 0;
}
.net-tells { display: flex; flex-direction: column; gap: 6px; }
.net-tell {
  border: 1px solid rgba(180,140,242,.4); background: rgba(180,140,242,.08);
  border-radius: 8px; padding: 8px 12px; font-size: 13px; line-height: 1.6;
}
.net-events {
  max-height: 180px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px;
  border-bottom: 1px dashed var(--line); padding-bottom: 8px;
}
.net-event { font-size: 13px; line-height: 1.6; color: var(--txt); }
.ev-peace { color: var(--green); }
.ev-deaths { color: var(--red2); }

.net-act-card {
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px;
}
.net-act-card h4 { margin-bottom: 8px; font-size: 14px; }
.net-targets { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.net-target {
  font-size: 13px; padding: 6px 12px; border-radius: 8px; cursor: pointer;
  background: var(--panel2); color: var(--txt); border: 1px solid var(--line);
}
.net-target:hover { border-color: var(--gold); }
.net-wait { color: var(--muted); font-size: 13px; padding: 8px 4px; }

.net-chatwrap { margin-top: auto; }
.net-chat {
  max-height: 200px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px;
  padding: 6px 2px;
}
.net-msg { display: flex; gap: 8px; font-size: 13px; line-height: 1.5; }
.net-msg.mine { flex-direction: row-reverse; }
.net-msg-name { color: var(--gold); white-space: nowrap; font-size: 12px; }
.net-msg-text { color: var(--txt); }
.net-typing { font-size: 12px; color: var(--muted); min-height: 16px; }
.net-input { resize: vertical; font-family: inherit; }

.net-over { max-width: 720px; margin: 0 auto; width: 100%; }
.net-over h1 { text-align: center; margin: 18px 0; }
.net-over-list { display: flex; flex-direction: column; }
.net-over-p {
  display: grid; grid-template-columns: 50px 1fr 1fr 60px; gap: 8px;
  padding: 7px 4px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 14px;
}
.net-over-p.dead { opacity: .55; }

@media (max-width: 820px) {
  .net-body { grid-template-columns: 1fr; }
  .net-side { order: 2; }
}
.asc-row.current .asc-title, .asc-row.current .asc-txt { color: var(--txt); }
.asc-row.locked:not(.current) { filter: grayscale(.8); opacity: .7; }
.sl-item i { font-style: normal; font-size: 11px; color: var(--muted); }
.sl-item.on { opacity: 1; border-color: var(--gold); background: linear-gradient(180deg, rgba(232,196,122,.14), var(--bg2)); box-shadow: 0 0 14px rgba(232,196,122,.25); }

/* ============================================================
 * 登神之阶
 * ============================================================ */
.ascent-hero {
  border-color: #6b4f8c !important;
  background: radial-gradient(circle at 50% -20%, rgba(180,140,242,.22), var(--panel2) 60%) !important;
}
.phase-list { display: flex; gap: 8px; flex-wrap: wrap; }
.phase-item {
  flex: 1; min-width: 120px; display: flex; flex-direction: column; gap: 4px;
  border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: var(--bg2); opacity: .6;
}
.phase-item b { color: var(--purple); font-size: 16px; }
.phase-item span { font-size: 12.5px; color: var(--muted); }
.phase-item.on { opacity: 1; border-color: var(--purple); background: rgba(180,140,242,.1); box-shadow: 0 0 14px rgba(180,140,242,.3); }
.phase-item.done { opacity: .75; border-color: var(--green); }
.phase-item.done b { color: var(--green); }
.phase-item.lock { opacity: .4; }
.phase-item.lock b { color: var(--muted); }

/* ============================================================
 * 组队模式
 * ============================================================ */
.team-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.team-slot {
  border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 8px;
  background: var(--bg2); display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center;
}
.team-slot .ts-ava {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-size: 22px; background: radial-gradient(circle at 35% 30%, #2c3450, #0d1018);
}
.team-slot b { font-size: 13.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-slot i { font-style: normal; font-size: 11px; color: var(--muted); }
.team-slot.ready { border-color: var(--green); background: rgba(94,170,94,.1); }
.team-slot.ready i { color: var(--green); }
.team-slot.host { border-color: var(--gold); }
.team-slot.empty { border-style: dashed; opacity: .55; }
.team-slot.empty .ts-ava { font-size: 20px; color: var(--muted); }

.team-chat {
  height: 180px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); padding: 10px; display: flex; flex-direction: column; gap: 6px;
}
.tc-line { font-size: 13.5px; line-height: 1.5; word-break: break-word; }
.tc-line b { color: var(--gold2); }
.tc-line.self b { color: var(--gold); }
#teamAudio { display: none; }

@media (max-width: 560px) {
  .tr-r { max-width: 96px; }
  .sl-item { min-width: 46%; }
}

/* 登神之阶：排行榜 / 冠军雕像 */
.ascent-statue { display: flex; gap: 14px; align-items: center; border-color: #d4af37; background: linear-gradient(135deg, rgba(212,175,55,.12), rgba(90,60,140,.18)); }
.ascent-statue .st-icon { font-size: 44px; filter: drop-shadow(0 0 10px rgba(212,175,55,.6)); }
.asc-list { max-height: 320px; overflow-y: auto; }
/* 注意：alb-* 为登神之阶排行榜专用类名，勿与角色图鉴弹窗的 .asc-row/.asc-name 重名（曾导致图鉴"三级神祇"被截断成"三级…"） */
.alb-row { display: flex; align-items: center; gap: 8px; padding: 5px 4px; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 13px; }
.alb-row .alb-rank { min-width: 30px; text-align: center; color: var(--gold); font-weight: 700; }
.alb-row .alb-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alb-row .alb-score { color: var(--gold2); font-weight: 700; }

/* ===== B3 残局解密分屏 ===== */
.puzzle-split { display: flex; gap: 12px; align-items: stretch; margin: 12px 0; }
.puzzle-log { flex: 1; min-width: 0; overflow-y: auto; max-height: 62vh; background: rgba(10,14,26,.6); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.puzzle-action { flex: 0 0 300px; background: rgba(20,25,46,.7); border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.puzzle-question { font-size: 16px; color: var(--gold2); font-weight: bold; }
.puzzle-option { display: block; width: 100%; padding: 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); cursor: pointer; text-align: left; font-size: 14px; }
.puzzle-option:hover { border-color: var(--gold); }
.puzzle-option.correct { border-color: #4daf54; background: rgba(40,90,58,.4); }
.puzzle-option.wrong { border-color: #d05555; background: rgba(90,40,40,.4); }
.puzzle-explain { font-size: 13px; color: var(--muted); line-height: 1.6; border-top: 1px dashed var(--line); padding-top: 10px; }
/* 答题反馈：答对（绿）/ 答错（红）/ 小提示 / 解析标题 */
.puzzle-correct { color: #7fd08a; font-weight: 700; }
.puzzle-wrong { color: #e88a8a; font-weight: 700; }
.puzzle-hint { font-size: 12.5px; line-height: 1.55; color: var(--gold2); background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.3); border-radius: 8px; padding: 7px 10px; }
.puzzle-explain-title { font-size: 12px; color: var(--gold); font-weight: 700; margin-top: 4px; }
/* 发言记录可点击高亮（对照推理用） */
.puzzle-bubble { cursor: pointer; transition: border-color .15s, background .15s; }
.puzzle-bubble.hl { border-color: var(--gold); background: rgba(212,175,55,.14); box-shadow: 0 0 0 1px rgba(212,175,55,.3); }
.pb-note { margin: 4px 0; padding: 6px 10px; border-radius: 8px; font-size: 12px; color: var(--gold2); background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.3); }
@media (max-width: 720px) { .puzzle-split { flex-direction: column; } .puzzle-action { flex: none; } .puzzle-log { max-height: 40vh; } }

/* ========== 个人主页 3D 形象（CSS 3D 双面卡片） ========== */
.a3d-row { display: flex; gap: 14px; overflow-x: auto; padding: 10px 2px 4px; scrollbar-width: thin; }
.a3d-row .a3d-scene { flex: none; margin: 0; }
.a3d-cap { text-align: center; font-size: 12px; margin-top: 6px; }
.ascent-rew { margin-top: 8px; }
.ascent-rew summary { cursor: pointer; color: var(--gold); font-size: 13px; }
.gw-me { background: rgba(212,175,55,.12); border-radius: 8px; }
.gw-me .alb-name { color: var(--gold); font-weight: 700; }
.bet-cand.active { border-color: var(--gold); background: rgba(212,175,55,.18); }
.a3d-scene { perspective: 900px; width: 190px; height: 190px; margin: 8px auto 0; touch-action: pan-y; }
.a3d-model { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; cursor: grab; }
.a3d-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 16px; backface-visibility: hidden; border: 1px solid var(--line); background: rgba(255,255,255,.03); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.a3d-back { transform: rotateY(180deg); gap: 4px; }
img.a3d-art { width: 158px; height: 158px; object-fit: cover; border-radius: 12px; }
.a3d-bname { font-size: 17px; font-weight: 700; }
.a3d-btier { color: var(--gold2); font-size: 13px; }
.a3d-bcamp { color: var(--muted); font-size: 12px; }

/* 查验提示卡目标选择 */
.check-targets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; justify-content: center; }
/* 试炼关卡格小星级 */
.tc-star { position: absolute; bottom: 2px; right: 4px; font-style: normal; font-size: 9px; color: var(--gold2); line-height: 1; text-shadow: 0 0 4px rgba(0,0,0,.9); }
.puzzle-star-line { margin: 8px 0 2px; font-size: 14px; }

/* ===== B5 快捷发言轮盘（圆形） ===== */
.speech-wheel { position: relative; width: 300px; height: 300px; margin: 14px auto; }
.wheel-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; z-index: 2;
  border: 2px solid var(--gold); background: radial-gradient(circle, #3a3050, #1a1630);
  color: var(--gold2); cursor: pointer; display: flex; flex-direction: column;
  align-items: center; justify-content: center; font-size: 12px; gap: 2px;
}
.wheel-center .wc-icon { font-size: 24px; }
.wheel-sector {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px;
  margin: -36px 0 0 -36px; border-radius: 50%;
  transform: rotate(var(--angle)) translate(118px) rotate(var(--neg)) scale(0);
  opacity: 0; pointer-events: none;
  border: 1px solid var(--line); background: rgba(20,25,46,.92);
  color: var(--fg); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .25s;
}
.speech-wheel.open .wheel-sector {
  transform: rotate(var(--angle)) translate(118px) rotate(var(--neg)) scale(1);
  opacity: 1; pointer-events: auto;
}
.wheel-sector:hover { border-color: var(--gold); }
.wheel-sector .ws-icon { font-size: 20px; }
.wheel-sector .ws-label { font-size: 11px; color: var(--muted); }
@media (max-width: 480px) {
  .speech-wheel { width: 260px; height: 260px; }
  .wheel-sector { width: 62px; height: 62px; margin: -31px 0 0 -31px;
    transform: rotate(var(--angle)) translate(100px) rotate(var(--neg)) scale(0); }
  .speech-wheel.open .wheel-sector { transform: rotate(var(--angle)) translate(100px) rotate(var(--neg)) scale(1); }
}

/* ===== B4 主神★ ===== */
.tier-5-star { border: 2px solid #ffd700 !important; box-shadow: 0 0 18px rgba(255,215,0,.45), inset 0 0 12px rgba(255,215,0,.2); animation: starGlow 2.2s ease-in-out infinite; }
@keyframes starGlow { 0%,100% { box-shadow: 0 0 14px rgba(255,215,0,.35); } 50% { box-shadow: 0 0 26px rgba(255,215,0,.65); } }

/* ===== B6 PC 三栏布局已停用（会破坏原有布局），仅保留快捷键提示条与复盘面板 ===== */

/* ===== B6 全景复盘 ===== */
.replay-mask { position: fixed; inset: 0; z-index: 300; background: rgba(5,8,16,.92); display: flex; align-items: center; justify-content: center; }
.replay-box { width: min(96vw, 1100px); max-height: 92vh; background: #12172a; border: 1px solid var(--gold); border-radius: 14px; display: flex; flex-direction: column; overflow: hidden; }
.replay-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); color: var(--gold2); font-size: 16px; font-weight: bold; }
.replay-body { flex: 1; display: flex; gap: 12px; padding: 14px; overflow: hidden; min-height: 320px; }
.replay-stage { flex: 1.2; display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; align-content: start; overflow-y: auto; }
.rp-slot { position: relative; border: 1px solid var(--line); border-radius: 8px; padding: 8px 4px; text-align: center; background: rgba(20,25,46,.7); }
.rp-slot.rp-dead { opacity: .45; filter: grayscale(1); }
.rp-slot.rp-cur { border-color: var(--gold); box-shadow: 0 0 10px rgba(201,155,78,.5); }
.rp-seat { font-size: 12px; color: var(--muted); }
.rp-name { font-size: 13px; color: var(--fg); }
.rp-badge { position: absolute; top: -6px; right: -4px; font-size: 12px; }
.rp-x { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.replay-detail { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 14px; overflow-y: auto; font-size: 14px; line-height: 1.7; background: rgba(10,14,26,.6); }
.rp-tag { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 12px; margin-bottom: 8px; background: rgba(60,70,110,.5); }
.rp-tag.speech { background: rgba(58,80,60,.5); }
.rp-tag.death { background: rgba(90,40,40,.5); }
.rp-tag.vote { background: rgba(90,70,30,.5); }
.rp-vote-row { font-size: 13px; padding: 2px 0; border-bottom: 1px dashed rgba(255,255,255,.08); }
.replay-bar { padding: 10px 16px; border-top: 1px solid var(--line); }
.replay-bar input[type=range] { width: 100%; accent-color: var(--gold); }
.replay-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 4px; }
@media (max-width: 720px) { .replay-body { flex-direction: column; } .replay-stage { flex: none; max-height: 30vh; } }

/* ===== B6 快捷键提示条 ===== */
.kbd-hint { position: fixed; bottom: 0; left: 0; right: 0; z-index: 150; display: flex; justify-content: space-between; align-items: center; padding: 6px 14px; background: rgba(15,18,32,.92); border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.kbd-hint .kh-fold { cursor: pointer; color: var(--gold); padding-left: 12px; }

/* 传屏长按揭示的身份内容 */
.pm-reveal { text-align: center; max-width: 420px; }
.pm-reveal .pm-role { width: 180px; height: 180px; border-radius: 18px; border: 2px solid #b89a5e; margin-bottom: 10px; object-fit: cover; }
.pm-reveal h2 { color: var(--gold2); margin: 10px 0 6px; font-size: 22px; }
.pm-reveal p { color: var(--fg); margin: 4px 0; font-size: 15px; line-height: 1.5; }
.pm-reveal .pm-skill { color: var(--muted); font-size: 13px; margin-top: 10px; padding: 8px 12px; border-top: 1px dashed var(--line); }
.pm-lock { margin-top: 18px; padding: 12px 28px; font-size: 16px; }

/* 残局题号进度 */
.puzzle-progress { font-size: 13px; color: var(--gold2); background: rgba(40,35,15,.5); border: 1px solid var(--gold); border-radius: 8px; padding: 4px 10px; margin-bottom: 8px; text-align: center; }

/* ---- 图鉴萌新检索器（难度/技能类型筛选 + 一句话速览） ---- */
.lib-filter2 { margin-top: 6px; }
.lib-lab { font-size: 12px; color: var(--mut, #8b93a8); align-self: center; margin-right: 2px; }
.lib-count { font-size: 12px; margin: 8px 2px 0; }
.rmeta { display: flex; gap: 6px; justify-content: center; margin-top: 4px; }
.rmeta i { font-style: normal; font-size: 11px; border: 1px solid currentColor; border-radius: 8px; padding: 0 6px; opacity: .9; }
.rtagline { font-size: 11px; color: var(--mut, #8b93a8); margin-top: 4px; line-height: 1.4; min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- 传屏防偷看确认 + 夜间操作倒计时 ---- */
.pm-warn { cursor: pointer; }
.pm-warn-big { font-size: 72px; text-align: center; animation: pmWarnPulse 1.2s ease-in-out infinite; }
.pm-warn-t { font-size: 26px; text-align: center; color: #f0a868; letter-spacing: 2px; }
.pm-warn-s { text-align: center; line-height: 1.8; opacity: .85; }
.pm-warn-s b { color: #ffd86b; }
@keyframes pmWarnPulse { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.12); opacity: 1; } }
.cd-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.cd-txt { font-size: 13px; font-weight: 700; color: #a7c0e8; min-width: 52px; }
.cd-txt.cd-low { color: #e2604f; animation: cdBlink .5s step-end infinite; }
.cd-track { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.cd-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, #7aa7ff, #a7c0e8); transition: width .2s linear; }
.cd-fill.cd-low { background: linear-gradient(90deg, #e2604f, #f0a868); }
@keyframes cdBlink { 50% { opacity: .4; } }

/* ---- 百关试炼 · 迷雾森林探索地图 ---- */
.trial-forest { position: relative; margin-top: 14px; padding: 18px 10px; border-radius: 16px; overflow: hidden;
  background:
    radial-gradient(ellipse 90% 40% at 50% -5%, rgba(167,192,232,.10), transparent 60%),
    radial-gradient(ellipse 60% 30% at 15% 105%, rgba(63,122,85,.18), transparent 65%),
    radial-gradient(ellipse 60% 30% at 85% 105%, rgba(63,122,85,.14), transparent 65%),
    linear-gradient(180deg, #0c1120 0%, #0d1526 45%, #0a1a14 100%);
  border: 1px solid rgba(167,192,232,.12); }
.tf-deco { position: absolute; font-size: 34px; opacity: .28; filter: blur(.4px); pointer-events: none; }
.tf-moon { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); font-size: 26px; opacity: .5;
  filter: drop-shadow(0 0 14px rgba(244,221,176,.5)); pointer-events: none; }
.tf-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px 6px; position: relative; z-index: 1; }
.tf-node { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 50%; border: 2px solid rgba(167,192,232,.18); background: rgba(20,28,48,.75); cursor: pointer;
  position: relative; transition: transform .15s, box-shadow .15s; }
.tf-node .tf-ico { font-style: normal; font-size: 15px; line-height: 1; }
.tf-node span { font-size: 10px; color: var(--muted); margin-top: 2px; }
.tf-node:hover { transform: scale(1.12); box-shadow: 0 0 14px rgba(232,196,122,.35); border-color: var(--gold); }
.tf-node.cleared { border-color: rgba(232,196,122,.55); background: radial-gradient(circle at 50% 35%, rgba(232,196,122,.16), rgba(20,28,48,.85) 75%); }
.tf-node.cleared span { color: var(--gold2); }
.tf-node.tf-next { border-color: var(--gold); animation: tfNextGlow 1.6s ease-in-out infinite; }
@keyframes tfNextGlow { 0%, 100% { box-shadow: 0 0 6px rgba(232,196,122,.35); } 50% { box-shadow: 0 0 20px rgba(232,196,122,.75); } }
.tf-node.fog { border-color: transparent; background: rgba(28,34,52,.55); cursor: not-allowed; }
.tf-node.fog .tf-ico { font-size: 17px; opacity: .8; filter: blur(1px); }
.tf-node.fog span { opacity: .35; }
.tf-node.fog::after { content: ''; position: absolute; inset: -3px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,147,168,.22) 30%, transparent 70%); pointer-events: none; }
.tf-node.fog:hover { transform: none; box-shadow: none; }
.tf-prog { margin-top: 10px; }
.tf-prog-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.07); overflow: hidden; margin-bottom: 6px; }
.tf-prog-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #3f7a55, #e8c47a); transition: width .4s; }
@media (max-width: 640px) { .tf-grid { gap: 7px 4px; } .tf-node .tf-ico { font-size: 12px; } .tf-node span { font-size: 8px; } }

/* ---- 复盘增强：全知身份 + 夜轨 + AI 决策 ---- */
.rp-role { font-size: 10px; opacity: .85; margin-top: 2px; line-height: 1.2; }
.rp-camp-wolf .rp-role { color: #e2604f; }
.rp-camp-good .rp-role { color: #a7c0e8; }
.rp-camp-third .rp-role { color: #b48cf2; }
.rp-tag.night { background: rgba(122,167,255,.15); color: #7aa7ff; }
.rp-tag.ai { background: rgba(180,140,242,.15); color: #b48cf2; }
.rp-night-line { margin: 4px 0; font-size: 13px; line-height: 1.5; }

/* ================= B4 月相视觉：全站色调按段位切换 ================= */
/* 首页大月亮内嵌段位 SVG */
.hero .moon .moon-svg { width: 84px; height: 84px; }

/* 每段位覆写背景径向光晕（保留 bg.jpg 底图，只换色调） */
body[data-moon="0"] { background:
  linear-gradient(180deg, rgba(11,14,22,.86) 0%, rgba(13,16,24,.94) 100%),
  radial-gradient(1200px 600px at 80% -10%, rgba(139,147,168,.30) 0%, transparent 60%),
  radial-gradient(900px 500px at -10% 110%, rgba(90,96,112,.34) 0%, transparent 55%),
  url('../img/bg.jpg') center / 112% 112% fixed no-repeat, var(--bg); }
body[data-moon="1"] { background:
  linear-gradient(180deg, rgba(11,14,22,.86) 0%, rgba(13,16,24,.94) 100%),
  radial-gradient(1000px 560px at 50% 115%, rgba(232,196,122,.22) 0%, transparent 58%),
  radial-gradient(900px 500px at -10% 110%, rgba(42,30,58,.45) 0%, transparent 55%),
  url('../img/bg.jpg') center / 112% 112% fixed no-repeat, var(--bg); }
body[data-moon="2"] { background:
  linear-gradient(180deg, rgba(11,14,22,.86) 0%, rgba(13,16,24,.94) 100%),
  radial-gradient(1200px 600px at 80% -10%, rgba(205,217,238,.22) 0%, transparent 60%),
  radial-gradient(900px 500px at -10% 110%, rgba(48,54,80,.45) 0%, transparent 55%),
  url('../img/bg.jpg') center / 112% 112% fixed no-repeat, var(--bg); }
body[data-moon="3"] { background:
  linear-gradient(180deg, rgba(11,14,22,.86) 0%, rgba(13,16,24,.94) 100%),
  radial-gradient(1200px 600px at 80% -10%, rgba(167,192,232,.28) 0%, transparent 60%),
  radial-gradient(900px 500px at -10% 110%, rgba(40,48,84,.48) 0%, transparent 55%),
  url('../img/bg.jpg') center / 112% 112% fixed no-repeat, var(--bg); }
body[data-moon="4"] { background:
  linear-gradient(180deg, rgba(11,14,22,.84) 0%, rgba(13,16,24,.93) 100%),
  radial-gradient(1100px 620px at 50% -12%, rgba(244,221,176,.26) 0%, transparent 60%),
  radial-gradient(900px 500px at -10% 110%, rgba(58,48,32,.45) 0%, transparent 55%),
  url('../img/bg.jpg') center / 112% 112% fixed no-repeat, var(--bg); }
body[data-moon="5"] { background:
  linear-gradient(180deg, rgba(14,10,12,.87) 0%, rgba(16,12,16,.94) 100%),
  radial-gradient(1150px 600px at 50% -12%, rgba(226,96,79,.30) 0%, transparent 60%),
  radial-gradient(900px 500px at -10% 110%, rgba(74,24,20,.48) 0%, transparent 55%),
  url('../img/bg.jpg') center / 112% 112% fixed no-repeat, var(--bg); }
body[data-moon="6"] { background:
  linear-gradient(180deg, rgba(12,11,20,.87) 0%, rgba(13,14,24,.94) 100%),
  radial-gradient(1150px 600px at 50% -12%, rgba(180,140,242,.28) 0%, transparent 60%),
  radial-gradient(900px 500px at -10% 110%, rgba(48,30,74,.50) 0%, transparent 55%),
  url('../img/bg.jpg') center / 112% 112% fixed no-repeat, var(--bg); }
body[data-moon="7"] { background:
  linear-gradient(180deg, rgba(10,12,22,.86) 0%, rgba(12,15,26,.94) 100%),
  radial-gradient(1200px 600px at 80% -10%, rgba(122,167,255,.30) 0%, transparent 60%),
  radial-gradient(900px 500px at -10% 110%, rgba(28,42,84,.50) 0%, transparent 55%),
  url('../img/bg.jpg') center / 112% 112% fixed no-repeat, var(--bg); }
body[data-moon="8"] { background:
  linear-gradient(180deg, rgba(4,5,9,.92) 0%, rgba(6,7,12,.96) 100%),
  radial-gradient(1100px 560px at 50% -14%, rgba(91,98,117,.26) 0%, transparent 62%),
  radial-gradient(900px 500px at -10% 110%, rgba(14,16,24,.55) 0%, transparent 55%),
  url('../img/bg.jpg') center / 112% 112% fixed no-repeat, var(--bg); }
body[data-moon="9"] { background:
  linear-gradient(180deg, rgba(14,12,10,.85) 0%, rgba(15,13,14,.93) 100%),
  radial-gradient(1200px 620px at 50% 112%, rgba(240,168,104,.32) 0%, transparent 60%),
  radial-gradient(1000px 520px at 80% -10%, rgba(122,90,60,.30) 0%, transparent 58%),
  url('../img/bg.jpg') center / 112% 112% fixed no-repeat, var(--bg); }
body[data-moon="10"] { background:
  linear-gradient(180deg, rgba(14,12,8,.86) 0%, rgba(15,13,12,.94) 100%),
  radial-gradient(1150px 620px at 50% -12%, rgba(255,216,107,.30) 0%, transparent 60%),
  radial-gradient(950px 520px at -10% 110%, rgba(84,64,20,.48) 0%, transparent 55%),
  url('../img/bg.jpg') center / 112% 112% fixed no-repeat, var(--bg); }

/* 段位色晕染标题 */
body[data-moon="0"] .hero h1 { text-shadow: 0 0 26px rgba(139,147,168,.45); }
body[data-moon="1"] .hero h1 { text-shadow: 0 0 26px rgba(232,196,122,.45); }
body[data-moon="2"] .hero h1 { text-shadow: 0 0 26px rgba(205,217,238,.45); }
body[data-moon="3"] .hero h1 { text-shadow: 0 0 26px rgba(167,192,232,.5); }
body[data-moon="4"] .hero h1 { text-shadow: 0 0 26px rgba(244,221,176,.5); }
body[data-moon="5"] .hero h1 { text-shadow: 0 0 26px rgba(226,96,79,.55); }
body[data-moon="6"] .hero h1 { text-shadow: 0 0 26px rgba(180,140,242,.5); }
body[data-moon="7"] .hero h1 { text-shadow: 0 0 26px rgba(122,167,255,.5); }
body[data-moon="8"] .hero h1 { text-shadow: 0 0 26px rgba(139,147,168,.4); }
body[data-moon="9"] .hero h1 { text-shadow: 0 0 26px rgba(240,168,104,.55); }
body[data-moon="10"] .hero h1 { text-shadow: 0 0 30px rgba(255,216,107,.6); }

/* ================= 升段仪式动效 ================= */
.mc-mask {
  position: fixed; inset: 0; z-index: 4000; cursor: pointer; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(5,7,12,.93); animation: mcFadeIn .5s ease both;
}
.mc-mask.mc-out { opacity: 0; transition: opacity .45s ease; }
.mc-rays {
  position: absolute; width: 920px; height: 920px; border-radius: 50%;
  background: repeating-conic-gradient(var(--mc-col, #e8c47a) 0deg 5deg, transparent 5deg 17deg);
  opacity: .13;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 66%);
  mask-image: radial-gradient(circle, #000 0%, transparent 66%);
  animation: mcSpin 16s linear infinite;
}
.mc-moon { width: 176px; height: 176px; position: relative; z-index: 1;
  filter: drop-shadow(0 0 34px var(--mc-col, #e8c47a));
  animation: mcPop .9s cubic-bezier(.2,1.6,.4,1) both .15s; }
.mc-title { position: relative; z-index: 1; margin-top: 26px; font-size: 14px; letter-spacing: 8px;
  color: var(--muted); animation: mcUp .6s ease both .55s; }
.mc-name { position: relative; z-index: 1; margin-top: 8px; font-size: 38px; font-weight: 800;
  letter-spacing: 3px; text-shadow: 0 0 24px currentColor; animation: mcUp .6s ease both .75s; }
.mc-from { position: relative; z-index: 1; margin-top: 6px; font-size: 13.5px; color: var(--muted);
  animation: mcUp .6s ease both .9s; }
.mc-desc { position: relative; z-index: 1; margin-top: 14px; font-size: 14.5px; color: var(--text);
  opacity: .85; animation: mcUp .6s ease both 1.05s; }
.mc-hint { position: absolute; bottom: 34px; left: 0; right: 0; text-align: center; z-index: 1;
  font-size: 12.5px; color: var(--muted); animation: mcBlink 1.6s ease-in-out infinite 1.4s; }
@keyframes mcFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes mcSpin { to { transform: rotate(360deg); } }
@keyframes mcPop { 0% { transform: scale(0) rotate(-30deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; } }
@keyframes mcUp { from { transform: translateY(18px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes mcBlink { 0%, 100% { opacity: .35; } 50% { opacity: .9; } }

/* ================= B5 聚会邀请二维码 ================= */
.qr-modal { text-align: center; max-width: 340px; }
.qr-modal .muted { font-size: 13px; line-height: 1.6; }
.qr-box {
  width: 236px; margin: 14px auto 0; padding: 8px; border-radius: 14px;
  background: #f4eefc; box-shadow: 0 4px 18px rgba(0,0,0,.45);
  animation: qrPop .35s cubic-bezier(.2,1.4,.4,1) both;
}
.qr-box svg { display: block; width: 100%; height: auto; }
.qr-box-sm { width: 166px; }
.qr-config {
  margin-top: 12px; padding: 8px 10px; border: 1px dashed var(--line); border-radius: 10px;
  font-size: 13px; color: var(--gold2); line-height: 1.6;
}
.qr-url { margin-top: 10px; font-size: 12px; text-align: center; color: var(--muted); }
@keyframes qrPop { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ================= C7 残局工坊 ================= */
.eg-seats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 8px; }
.eg-seat {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 8px 9px;
  background: rgba(255,255,255,.03); text-align: center; transition: border-color .15s, background .15s;
}
.eg-seat.eg-dead { opacity: .6; filter: grayscale(.7); }
.eg-seat.eg-you { border-color: var(--gold); background: rgba(232,196,122,.1); box-shadow: 0 0 10px rgba(232,196,122,.2); }
.eg-no { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.eg-you-tag {
  display: inline-block; padding: 0 6px; border-radius: 8px; font-size: 10.5px;
  background: var(--gold); color: #241c08; font-weight: 800;
}
.eg-role { font-size: 14.5px; font-weight: 700; cursor: pointer; padding: 4px 2px; border-radius: 8px; }
.eg-role:hover { background: rgba(232,196,122,.12); }
.eg-ops { display: flex; gap: 4px; justify-content: center; margin-top: 5px; flex-wrap: wrap; }
.eg-ops .btn { padding: 3px 8px; font-size: 11.5px; }
.eg-cause { width: 100%; margin-top: 4px; padding: 3px 6px; font-size: 11.5px; }
.eg-err {
  margin-top: 12px; padding: 10px 12px; border: 1px solid rgba(226,96,79,.5); border-radius: 10px;
  color: #e8a77a; font-size: 13.5px; line-height: 1.7; background: rgba(226,96,79,.08);
}
.eg-share {
  margin-top: 14px; padding: 14px; border: 1px solid rgba(232,196,122,.4); border-radius: 12px;
  background: rgba(232,196,122,.06); text-align: center;
}
.eg-share .qr-box { margin-top: 10px; }
.eg-mine-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 7px;
  background: rgba(255,255,255,.02);
}
.eg-mine-info { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eg-mine-item .btn { flex-shrink: 0; }

/* ================= C8 变现包装：商店音效格 / 段位锁 ================= */
.si-lock {
  font-size: 11.5px; color: #e8a77a; margin: 3px 0 4px; line-height: 1.4;
}
.si-desc { font-size: 11.5px; color: var(--muted); margin: 3px 0 6px; line-height: 1.45; }
.sv-icon { font-size: 34px; margin-bottom: 4px; }

/* ================= C8 角色入场动画 ================= */
/* 聚会传屏：身份揭示翻转入场 */
.pm-reveal { animation: pmFlip .55s cubic-bezier(.2,1.3,.4,1) both; }
@keyframes pmFlip {
  from { transform: perspective(700px) rotateY(72deg) scale(.85); opacity: 0; }
  to   { transform: perspective(700px) rotateY(0deg) scale(1); opacity: 1; }
}
/* 结算页整体入场 */
.result-box { animation: rsUp .5s cubic-bezier(.2,1.2,.4,1) both; }
@keyframes rsUp {
  from { transform: translateY(34px) scale(.94); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
/* 奖杯弹出 */
.result-box .trophy { display: inline-block; animation: trophyPop .7s cubic-bezier(.2,1.7,.4,1) both .18s; }
@keyframes trophyPop {
  0% { transform: scale(0) rotate(-24deg); opacity: 0; }
  70% { transform: scale(1.18) rotate(4deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
/* 全员身份逐条浮现 */
.full-roles .fr-item { animation: frUp .4s ease both; }
.full-roles .fr-item:nth-child(1) { animation-delay: .30s; }
.full-roles .fr-item:nth-child(2) { animation-delay: .37s; }
.full-roles .fr-item:nth-child(3) { animation-delay: .44s; }
.full-roles .fr-item:nth-child(4) { animation-delay: .51s; }
.full-roles .fr-item:nth-child(5) { animation-delay: .58s; }
.full-roles .fr-item:nth-child(6) { animation-delay: .65s; }
.full-roles .fr-item:nth-child(7) { animation-delay: .72s; }
.full-roles .fr-item:nth-child(8) { animation-delay: .79s; }
.full-roles .fr-item:nth-child(9) { animation-delay: .86s; }
.full-roles .fr-item:nth-child(10) { animation-delay: .93s; }
.full-roles .fr-item:nth-child(11) { animation-delay: 1.00s; }
.full-roles .fr-item:nth-child(12) { animation-delay: 1.07s; }
@keyframes frUp { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
/* 结算页结算面板随后浮现 */
.result-box .score-panel { animation: frUp .45s ease both .24s; }
/* 尊重系统级减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .pm-reveal, .result-box, .result-box .trophy, .full-roles .fr-item, .result-box .score-panel, .qr-box { animation: none !important; }
}
