:root {
  --bg-sky-top: #b8e2e4;      /* 青蓝天 */
  --bg-sky-mid: #cfe9e8;      /* 青绿中 */
  --bg-sky-bottom: #eef3e4;   /* 米白绿底 */
  --panel: rgba(255, 255, 255, 0.94);
  --panel-soft: rgba(255, 255, 255, 0.78);
  --line: rgba(47, 94, 96, 0.14);
  --accent: #e8b84b;          /* 国风金 */
  --accent-deep: #d96c4a;     /* 珊瑚红 */
  --accent2: #3fa9e8;         /* 天蓝 */
  --mint: #4ecf8a;            /* 竹绿 */
  --danger: #ff6b6b;
  --text: #3f4a42;            /* 深青墨 */
  --text-dim: #7d8f84;
  --ink-deep: #2f5e60;        /* 深青 */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--bg-sky-top) 0%, var(--bg-sky-mid) 55%, var(--bg-sky-bottom) 100%);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text);
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#game-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

#game-canvas {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(180deg, var(--bg-sky-top) 0%, var(--bg-sky-mid) 55%, var(--bg-sky-bottom) 100%);
  touch-action: none;
  cursor: grab;
}

/* ---------- Overlay ---------- */
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(184, 226, 228, 0.42);
  z-index: 20;
}

/* 强化卡三选一弹窗：背景穿透点击，游戏不暂停仍可操作，只有卡片区可点 */
#overlay-choice { pointer-events: none; }
#overlay-choice .panel { pointer-events: auto; }

/* 通用隐藏：所有带 hidden 类的元素一律不显示（覆盖按钮/弹窗/面板等） */
.hidden { display: none !important; }
.overlay.hidden { display: none; }

.panel {
  width: min(88%, 440px);
  background: var(--panel);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 26px;
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 14px 40px rgba(217, 108, 74, 0.28);
}

.title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.subtitle {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 18px;
}

.rules {
  list-style: none;
  text-align: left;
  margin: 0 auto 24px;
  padding-left: 4px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 2;
}

.rules li::before {
  content: "🍬";
  color: var(--accent);
  margin-right: 8px;
}

.btn-primary {
  width: 100%;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  border: none;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(217, 108, 74, 0.4);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-primary:active { transform: scale(0.97); filter: brightness(0.95); }

.btn-secondary {
  width: 100%;
  margin-top: 10px;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: var(--panel-soft);
  border: 2px solid var(--accent);
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-secondary:active { transform: scale(0.97); background: rgba(255, 255, 255, 0.9); }

.end-title { font-size: 28px; }

.end-panel {
  background: url('/assets/bg/settlement_panel.png') center / 100% 100% no-repeat;
  border: none;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  padding: 16px 26px 20px;
}

.end-title-img {
  width: 236px;
  max-width: 92%;
  display: block;
  margin: 0 auto 2px;
}

.stats {
  display: flex;
  justify-content: space-around;
  margin: 14px 0;
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-label { font-size: 12px; color: var(--text-dim); }

.stat-value { font-size: 22px; font-weight: 800; color: var(--accent-deep); }

.hint {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 22px;
}

/* ---------- 三选一强化卡 ---------- */
.choice-cards {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}

.choice-card {
  flex: 1 1 0;
  max-width: 150px;
  min-height: 208px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 10px 8px 14px;
  border: none;
  border-radius: 14px;
  background: url('/assets/bg/card_choice_base.png') center / 100% 100% no-repeat;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.choice-card:active { transform: scale(0.97); filter: brightness(0.96); }

.choice-card .card-icon {
  font-size: 34px;
  flex: 0 0 auto;
  line-height: 1;
  margin-bottom: 6px;
}

.card-icon-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.choice-card .card-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-deep);
}

.choice-card .card-desc {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 3px;
  line-height: 1.35;
}

/* ---------- Toast ---------- */
.toast {
  position: absolute;
  top: 16%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-deep);
  z-index: 30;
  text-align: center;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(217, 108, 74, 0.35);
  animation: toastIn 0.25s ease;
  white-space: nowrap;
}

.toast.hidden { display: none; }

@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, -12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ============================================================
 * 房间界面（参考：竖屏射击对局界面）
 * ============================================================ */

/* v67 移除房间顶部横幅栏 / 滚动公告 / 地图名称栏 */

/* 房间顶部悬浮按钮：退出/返回（左） */
.room-fab {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 15;
  width: 80px;
  height: 80px;
  min-width: 80px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#btn-back-lobby {
  background: transparent;
  box-shadow: none;
  border: none;
}

.room-fab-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 底部固定操作栏 */
.room-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 14;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(20, 22, 46, 0.9), rgba(43, 43, 77, 0.96));
  border-top: 2px solid rgba(255, 255, 255, 0.16);
}

/* v50 房间内账号经验条（操作栏顶部，击杀怪获得经验升级解锁地图） */
.room-exp {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 2px;
}

.room-exp-track {
  flex: 1 1 auto;
  height: 8px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  overflow: hidden;
}

.room-exp-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffd166, #ff9f43);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.room-exp-label {
  font-size: 10px;
  font-weight: 800;
  color: #ffd166;
  white-space: nowrap;
}

.room-btn {
  flex: 0 0 auto;
  height: 38px;
  min-width: 44px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #5ec8f8, #3fa9e8);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(63, 169, 232, 0.4);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.room-btn:active { transform: scale(0.94); filter: brightness(0.92); }

.room-back {
  font-size: 17px;
  background: linear-gradient(135deg, #8a7fb8, #6f5bb0);
  box-shadow: 0 4px 12px rgba(111, 91, 176, 0.4);
}

/* 文字按钮（自动/瞄准）：橙黄渐变 + 棕橙描边 + 白粗字，参考 v5 领取按钮 */
.room-text-btn {
  font-size: 15px;
  font-weight: 900;
  min-width: 60px;
  height: 38px;
  padding: 0 16px;
  color: #ffffff;
  text-shadow: 0 2px 0 #c26a00, 0 0 6px rgba(194, 106, 0, 0.35);
  background: linear-gradient(180deg, #ffd94d 0%, #ffb920 45%, #f59a00 100%);
  border: 2px solid #b86400;
  border-radius: 14px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.55), inset 0 -3px 0 rgba(176, 90, 0, 0.35), 0 4px 10px rgba(0, 0, 0, 0.35);
}

.room-text-btn:active {
  transform: scale(0.94);
  filter: brightness(0.95);
}

.room-text-btn.on {
  background: linear-gradient(180deg, #7ee89a 0%, #4ecf8a 45%, #2fb56e 100%);
  border-color: #1d8a52;
  text-shadow: 0 2px 0 #17794a, 0 0 6px rgba(23, 121, 74, 0.35);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), inset 0 -3px 0 rgba(29, 138, 82, 0.35), 0 4px 10px rgba(0, 0, 0, 0.35);
}

/* 左：头像 + 弹药/能量点 */
.room-left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.room-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  display: flex;
  align-items: center;
  justify-content: center;
}

.room-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-cur {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.room-cur-line {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
}

.room-cur-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.room-cur-line b {
  font-size: 13px;
  color: #ffd166;
  font-variant-numeric: tabular-nums;
  max-width: 76px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: bottom;
}

/* 中：武器 C 值 + 左右切换（绝对居中于操作栏正中） */
.room-weapon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wpn-step {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(135deg, rgba(94, 200, 248, 0.85), rgba(63, 169, 232, 0.85));
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(63, 169, 232, 0.4);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.wpn-step:active { transform: scale(0.9); filter: brightness(0.9); }

.wpn-step-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.wpn-hex {
  position: relative;
  width: 66px;
  height: 42px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: linear-gradient(160deg, #2b3a63, #1b2440);
  border: 2px solid rgba(94, 200, 248, 0.5);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), inset 0 0 14px rgba(94, 200, 248, 0.25);
}

.wpn-hex-bg {
  display: none; /* v47 废弃六边形底图，C 值框改长方形 */
}

.wpn-c {
  position: relative;
  z-index: 1;
  font-size: 21px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 12px rgba(94, 200, 248, 0.6);
}

/* 右：自动 + 瞄准 */
.room-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 强化卡道具栏（操作栏上方左侧：8 槽竖排，从下到上） */
.card-bar {
  position: absolute;
  left: 10px;
  bottom: 78px;
  z-index: 14;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 5px;
  pointer-events: auto;
}

.card-slot {
  position: relative;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 10px;
  border: none;
  background: url('/assets/bg/card_slot.png') center / 100% 100% no-repeat;
  color: #ffffff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.card-slot .card-slot-icon { line-height: 1; }

.card-slot-icon-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.card-slot-count {
  position: absolute;
  right: -5px;
  bottom: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6b6b, #e0485e);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  font-variant-numeric: tabular-nums;
}

.card-slot.usable {
  cursor: pointer;
  filter: drop-shadow(0 0 8px rgba(255, 209, 102, 0.9));
}

.card-slot.usable:active { transform: scale(0.92); }

.card-slot.active {
  filter: drop-shadow(0 0 10px rgba(78, 207, 138, 0.95));
}

.card-slot-timer {
  position: absolute;
  left: -4px;
  top: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 999px;
  background: rgba(20, 22, 46, 0.9);
  border: 1px solid rgba(78, 207, 138, 0.7);
  color: #bff7d5;
  font-size: 10px;
  font-weight: 800;
  line-height: 15px;
  text-align: center;
}

/* 充能进度条 + 宝箱（v68：界面顶部居中，新美术一体图，横向填充+百分比文字） */
.charge-panel {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 14;
  width: min(54vw, 400px); /* v69 给左上角 2x 返回钮让位 */
  aspect-ratio: 2091 / 425;
  pointer-events: auto;
}

.charge-bar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
}

/* 凹槽区域（按素材实测像素比例：x378-1634 / y145-278，画布2091×425） */
.charge-groove {
  position: absolute;
  left: 18.1%;
  top: 34.1%;
  width: 60.1%;
  height: 31.3%;
  border-radius: 999px;
  overflow: hidden;
}

.charge-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffe98a, #ffc531 55%, #ff9f43);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.55), inset 0 -2px 3px rgba(160, 70, 0, 0.45);
  transition: width 0.3s ease;
}

.charge-pct {
  position: absolute;
  left: 18.1%;
  top: 34.1%;
  width: 60.1%;
  height: 31.3%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(11px, 3.4vw, 16px);
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 0 6px rgba(0, 0, 0, 0.5);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

/* 宝箱点击热区（覆盖一体图右端宝箱） */
.chest-btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 23%;
  height: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.chest-btn:active { transform: scale(0.92); filter: brightness(0.92); }

.chest-count {
  position: absolute;
  right: 2%;
  bottom: 4%;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6b6b, #e0485e);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  font-variant-numeric: tabular-nums;
}

/* 主动技能栏（v69：冰霜/狂化裸图标无底框，右侧自动瞄准上方横排） */
.skill-bar {
  position: absolute;
  right: 14px;
  bottom: 64px;
  z-index: 14;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.skill-bar .card-slot {
  width: 64px;
  height: 64px;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.skill-bar .card-slot-icon-img {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

.skill-bar .card-slot.usable {
  filter: drop-shadow(0 0 10px rgba(255, 209, 102, 0.95));
}

.skill-bar .card-slot.active {
  filter: drop-shadow(0 0 12px rgba(78, 207, 138, 0.95));
}

.skill-bar .card-slot-count {
  min-width: 24px;
  height: 24px;
  font-size: 14px;
  line-height: 24px;
  right: -8px;
  bottom: -8px;
}

.skill-bar .card-slot-timer {
  min-width: 22px;
  height: 22px;
  font-size: 13px;
  line-height: 21px;
}

/* ============================================================
 * 正式版 · 游戏大厅（参考：竖屏放置手游主界面）
 * 布局：顶部玩家+弹药/能量货币 → 滚动公告 → 左侧活动栏+中部三正方形地图入口 → 底部固定导航
 * ============================================================ */
.lobby-overlay {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.10) 100%),
    url("/assets/bg/lobby_bg.png") center top / cover no-repeat,
    linear-gradient(180deg, #cfe9ea 0%, #a9d2d1 55%, #e9f0e2 100%);
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 12px 10px calc(12px + env(safe-area-inset-bottom));
  overflow-y: auto;
}

/* 顶部：玩家信息 + 弹药/能量货币（云朵装饰条） */
.lobby-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: -12px -10px 0;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  border-radius: 0;
  padding: 10px 12px;
  box-shadow: none;
}

.player-chip { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; }

.player-avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.player-meta { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; }
.player-name { font-size: 13px; font-weight: 800; color: #ffffff; }

.player-level-wrap { display: flex; align-items: center; gap: 4px; }
.lv-badge-img { width: 24px; height: 22px; object-fit: contain; }
.player-level { font-size: 11px; color: #ffd166; font-weight: 800; }
/* v50 大厅账号经验条（玩家信息列下方） */
.lobby-exp {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 0;
  width: 100%;
}
.lobby-exp-track {
  flex: 1 1 auto;
  width: auto;
  max-width: 240px;
  height: 15px;
  background: url("/assets/bg/exp_bar_track.png") center / 100% 100% no-repeat;
  border-radius: 999px;
  overflow: hidden;
  padding: 4px;
  box-sizing: border-box;
}
.lobby-exp-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffd166, #ff9f43);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.lobby-exp-label {
  display: none;
}

.currency-row { display: flex; gap: 6px; }

.currency {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  color: #f5a31b;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
  background: url("/assets/bg/currency_capsule.png") center / 100% 100% no-repeat;
}

.currency .currency-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-left: 2px;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  color: #ffffff;
  background: #46c24f;
  border: 2px solid #1d7a2a;
  border-radius: 7px;
  cursor: pointer;
  transition: transform 0.1s ease;
}
.currency .currency-plus:hover { filter: brightness(1.15); }
.currency .currency-plus:active { transform: scale(0.88); }

.currency-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}

/* 弹药（子弹·钢蓝）/ 能量点（闪电·金） */


/* 滚动系统公告条（奶白软糖胶囊底） */
.lobby-notice {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  height: 30px;
  padding: 0 10px;
  background: url("/assets/bg/notice_bar.png") center / 100% 100% no-repeat;
  border: none;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(47, 94, 96, 0.12);
}

.notice-horn { flex: 0 0 auto; font-size: 14px; }

.notice-track {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.notice-text {
  display: inline-block;
  font-size: 11px;
  color: var(--text);
  animation: noticeScroll 16s linear infinite;
}

@keyframes noticeScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* 中部：左右活动栏 + 地图入口（地图入口整体居中；左右栏分居两侧） */
.lobby-main {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  align-items: stretch;
}

/* 左侧活动栏（月卡 / 战令，由上到下） */
.lobby-side {
  flex: 0 0 86px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 4px;
}
.lobby-side-left { margin-left: -10px; }
.lobby-side-right { margin-right: -10px; }

.side-big {
  position: relative;
  width: 84px;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 24px;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  color: #ffffff;
  box-shadow: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.side-big:active { transform: scale(0.94); border-color: var(--accent); }

.side-big span { font-size: 12px; font-weight: 800; color: rgba(255, 255, 255, 0.94); }

.action-icon {
  width: 51px;
  height: 51px;
  object-fit: contain;
}

/* 中间地图入口：填满中部区域并水平居中，图1/图3放大且上下分散 */
.map-list {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  width: min(230px, 78%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
}

/* 地图入口卡：无任何框体，三卡均分中部高度 */
.map-card {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  max-height: 300px;
  width: 100%;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  overflow: visible;
  box-shadow: none;
  transition: transform 0.15s ease;
  padding: 0;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}



.map-card:active { transform: scale(0.97); }

/* 入口图片：按卡高度等比缩放，三张等高视觉统一 */
.map-thumb-img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

/* ===== v60 地图入口分层动效（拆解后重做：卡片入场 → 容器浮动 → 图层错相动效 → 氛围光） ===== */
/* 卡片入场：三张依次浮现（backwards：延迟期间保持透明，播完不锁定 transform，不影响 hover/active） */
@keyframes map-entry-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.map-card {
  animation: map-entry-in 0.5s ease-out backwards;
}
.map-card:nth-child(2) { animation-delay: 0.08s; }
.map-card:nth-child(3) { animation-delay: 0.16s; }

/* 动画容器：整卡缓慢上下浮动（各图节奏错开），内部图层动效互不影响 */
.map-anim {
  position: relative;
  display: block;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 960 / 800;
  animation: map-float-y 5.6s ease-in-out 0.6s infinite alternate;
}
.map-card:nth-child(2) .map-anim { animation-duration: 6.8s; }
.map-card:nth-child(3) .map-anim { animation-duration: 6.2s; }
@keyframes map-float-y {
  from { transform: translateY(-1.1%); }
  to   { transform: translateY(1.1%); }
}

.ma-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
}

/* 氛围光：各图不同色相的柔光呼吸（伪元素在图层下方） */
.map-anim::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 22px;
  background: radial-gradient(ellipse at 50% 28%, rgba(255, 230, 150, 0.18), transparent 62%);
  pointer-events: none;
  animation: map-ambient 4.2s ease-in-out infinite alternate;
}
.map-card:nth-child(2) .map-anim::before {
  background: radial-gradient(ellipse at 50% 28%, rgba(255, 165, 90, 0.17), transparent 62%);
}
.map-card:nth-child(3) .map-anim::before {
  background: radial-gradient(ellipse at 50% 28%, rgba(125, 145, 255, 0.18), transparent 62%);
}
@keyframes map-ambient {
  from { opacity: 0.5; }
  to   { opacity: 1; }
}

/* hover：非锁定卡轻微上浮 + 提亮 */
.map-card:not(.locked):hover { transform: translateY(-5px); }
.map-card:not(.locked):hover .map-anim { filter: brightness(1.07) saturate(1.06); }

/* 图1 绿野：云层错相漂移（远慢近快） + 蝙蝠扑腾 */
.ma-c1 { animation: m1-cloud-a 5.5s ease-in-out infinite alternate; }
.ma-c2 { animation: m1-cloud-b 3.6s ease-in-out infinite alternate; }
@keyframes m1-cloud-a {
  from { transform: translate(-1.6%, -0.6%); }
  to   { transform: translate(1.6%, 0.6%); }
}
@keyframes m1-cloud-b {
  from { transform: translateX(-2.2%); }
  to   { transform: translateX(2.2%); }
}
/* 怪物动效：双帧互斥切换（A/B 交替显示，绝不叠影），不再对整图做位移/拉伸 */
@keyframes m-swap-a {
  0%   { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes m-swap-b {
  0%   { opacity: 0; }
  50%  { opacity: 1; }
  100% { opacity: 0; }
}
.ma-bat   { animation: m-swap-a 1.2s steps(1, end) infinite; }
.ma-bat-b { animation: m-swap-b 1.2s steps(1, end) infinite; }
/* 图2 焦糖沙漠：三朵云错相漂移 + 哥布林弹跳回弹 */
.ma-d1 { animation: m2-cloud-a 3.4s ease-in-out infinite alternate; }
.ma-d2 { animation: m2-cloud-b 4.4s ease-in-out infinite alternate; }
.ma-d3 { animation: m2-cloud-c 3.8s ease-in-out infinite alternate; }
@keyframes m2-cloud-a {
  from { transform: translateX(-1.6%); }
  to   { transform: translateX(1.6%); }
}
@keyframes m2-cloud-b {
  from { transform: translateX(-2.1%); }
  to   { transform: translateX(2.1%); }
}
@keyframes m2-cloud-c {
  from { transform: translateX(1.9%); }
  to   { transform: translateX(-1.9%); }
}
.ma-gob   { animation: m-swap-a 2.2s steps(1, end) infinite; }
.ma-gob-b { animation: m-swap-b 2.2s steps(1, end) infinite; }

/* 图3 星夜：三颗星错相星芒呼吸 + 萨满施法漂浮 + 月亮光晕呼吸 */
.ma-s1 {
  transform-origin: 37.5% 22.6%;
  animation: m3-star 2.2s ease-in-out infinite;
}
.ma-s2 {
  transform-origin: 72.8% 16.1%;
  animation: m3-star 2.9s ease-in-out 0.7s infinite;
}
.ma-s3 {
  transform-origin: 18.1% 40.5%;
  animation: m3-star 2.5s ease-in-out 1.3s infinite;
}
@keyframes m3-star {
  0%, 100% { opacity: 0.35; transform: scale(0.85) rotate(-3deg); }
  50%      { opacity: 1;    transform: scale(1.16) rotate(3deg); }
}
.ma-sha   { animation: m-swap-a 2.6s steps(1, end) infinite; }
.ma-sha-b { animation: m-swap-b 2.6s steps(1, end) infinite; }
.ma-glow {
  position: absolute;
  left: 21%;
  top: 14%;
  width: 30%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 246, 200, 0.55) 0%, rgba(255, 246, 200, 0.18) 45%, rgba(255, 246, 200, 0) 70%);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: m3-glowpulse 2.6s ease-in-out infinite alternate;
}
@keyframes m3-glowpulse {
  from { opacity: 0.32; transform: translate(-50%, -50%) scale(0.96); }
  to   { opacity: 0.8;  transform: translate(-50%, -50%) scale(1.05); }
}

/* 锁定态：冻结动效（卡片暂停浮动、图层动画停帧），配合 .map-card.locked filter 呈现"沉寂" */
.map-card.locked .map-anim { animation: none; }
.map-card.locked .ma-layer,
.map-card.locked .ma-glow,
.map-card.locked .map-anim::before { animation-play-state: paused; }

/* 竖挂地名旗（右下角，蓝/红/紫底黄字） */
.map-flag {
  display: none;
  position: absolute;
  right: 0;
  bottom: 24px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 8px 5px 14px;
  border-radius: 6px 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  color: #ffd166;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.map-flag b {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
}

.flag-1 { background: linear-gradient(180deg, #3f6fa8, #2f5e8c); }
.flag-2 { background: linear-gradient(180deg, #c2453a, #9c332b); }
.flag-3 { background: linear-gradient(180deg, #4a3a86, #372a68); }

/* 锁定态 */
.map-card.locked {
  background: transparent;
  cursor: not-allowed;
  filter: saturate(0.35) brightness(0.92);
}

.map-card.locked:active { transform: none; }

.map-card.locked::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url("/assets/map/lock_mask.png") center / 100% 100% no-repeat;
  border-radius: 19px;
}
.map-card.locked::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 26%;
  aspect-ratio: 1;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url("/assets/map/lock_icon.png") center / contain no-repeat;
  pointer-events: none;
}

/* 底部固定导航：商城 / 背包 / 任务 / 兑换（紫粉果冻条） */
.lobby-nav {
  flex: 0 0 auto;
  margin: 12px -10px calc(-12px - env(safe-area-inset-bottom));
  display: flex;
  gap: 6px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.3);
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.nav-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 7px 2px;
  font-size: 18px;
  background: transparent;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  color: #ffffff;
  transition: background 0.15s ease, transform 0.15s ease;
}

.nav-item:active { background: rgba(255, 255, 255, 0.14); transform: scale(0.95); }

.nav-item span { font-size: 10px; font-weight: 700; color: rgba(255, 255, 255, 0.88); }

.nav-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.notice-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

/* ============================================================
 * 大厅弹窗
 * ============================================================ */
.modal {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 94, 96, 0.4);
  padding: 20px;
}

.modal.hidden { display: none; }

.modal-panel {
  width: min(92%, 420px);
  background: url("/assets/bg/modal_panel.png") center / 100% 100% no-repeat;
  border: none;
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(47, 94, 96, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 78%;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  background: url("/assets/bg/modal_title_bar.png") center / 100% 100% no-repeat;
  min-height: 48px;
}

.modal-title { font-size: 17px; font-weight: 800; color: var(--text); }

.modal-title-icon { width: 22px; height: 22px; vertical-align: -5px; margin-right: 4px; }

.modal-close {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.btn-close-img { width: 100%; height: 100%; display: block; }

.modal-body { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; }

/* 背包/商店通用条目 */
.bag-section { display: flex; flex-direction: column; gap: 6px; }

.bag-label { font-size: 13px; font-weight: 800; color: var(--accent-deep); }

.bag-empty {
  font-size: 12px;
  color: var(--text-dim);
  padding: 12px;
  border: 2px dashed rgba(125, 143, 132, 0.35);
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.bag-empty-img { width: 72px; height: 72px; display: block; }

/* v36 背包页签与条目 */
.bag-tabs { display: flex; gap: 8px; margin-bottom: 6px; }
.bag-tab {
  flex: 1; padding: 8px 4px; font-size: 12px; font-weight: 700; color: var(--text);
  background: rgba(255, 255, 255, 0.7); border: 2px solid rgba(125, 143, 132, 0.3);
  border-radius: 999px; cursor: pointer;
}
.bag-tab:active { transform: scale(0.96); }
.bag-tab.act-tab-on { color: #fff; background: linear-gradient(180deg, rgba(47, 94, 96, 0.94), rgba(35, 80, 84, 0.96)); border-color: rgba(232, 184, 75, 0.6); }
.bag-panel { display: flex; flex-direction: column; gap: 8px; }
.bag-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 2px solid rgba(125, 143, 132, 0.25); border-radius: 12px; background: rgba(255, 255, 255, 0.8);
}
.bag-row-icon { font-size: 22px; flex: 0 0 34px; text-align: center; }
.bag-row-img { width: 30px; height: 30px; display: block; margin: 0 auto; }
.bag-row-info { flex: 1; min-width: 0; }
.bag-row-name { font-size: 13px; font-weight: 800; color: var(--text); }
.bag-row-desc { font-size: 11px; color: var(--text-dim); line-height: 1.45; margin-top: 2px; }
.bag-row-count { font-size: 13px; font-weight: 800; color: var(--accent-deep); flex: 0 0 auto; }

/* v36 邮件 */
.act-mail-head-bar { font-size: 12px; font-weight: 700; color: var(--accent-deep); margin-bottom: 2px; }
.act-mail-item {
  padding: 10px 12px; border: 2px solid rgba(125, 143, 132, 0.25); border-radius: 12px;
  background: rgba(255, 255, 255, 0.82); cursor: pointer; display: flex; flex-direction: column; gap: 6px;
}
.act-mail-item.act-mail-unread { border-color: rgba(232, 184, 75, 0.65); background: rgba(255, 250, 235, 0.92); }
.act-mail-item.act-mail-imp { border-color: rgba(232, 120, 60, 0.55); }
.act-mail-item:active { transform: scale(0.985); }
.act-mail-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.act-mail-title { font-size: 13px; font-weight: 800; color: var(--text); flex: 1; min-width: 0; }
.act-mail-unread .act-mail-title::before { content: "● "; color: #e14e2a; }
.act-mail-time { font-size: 10px; color: var(--text-dim); flex: 0 0 auto; }
.act-mail-body { font-size: 12px; color: var(--text); line-height: 1.55; white-space: pre-wrap; }
.act-mail-empty { text-align: center; padding: 22px 0; font-size: 13px; color: var(--text-dim); }

/* v36 邮件未读角标（大厅右侧按钮） */
.mail-dot {
  position: absolute; top: 0; right: 10px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: #e14e2a; color: #fff; font-size: 10px; font-weight: 800;
  align-items: center; justify-content: center; border: 2px solid #fff;
}

.shop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 2px solid rgba(232, 184, 75, 0.3);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
}

.shop-icon { font-size: 26px; flex: 0 0 40px; text-align: center; }

.shop-icon-img { width: 40px; height: 40px; display: block; margin: 0 auto; }

.shop-info { flex: 1; min-width: 0; }

.shop-name { font-size: 14px; font-weight: 800; color: var(--text); }

.shop-desc { font-size: 11px; color: var(--text-dim); margin-top: 2px; }

.shop-buy {
  flex: 0 0 auto;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  border: none;
  border-radius: 999px;
  cursor: pointer;
}

.shop-buy:active { transform: scale(0.95); }

.pass-card {
  padding: 0;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pass-banner-img { width: 100%; border-radius: 14px; display: block; }

.pass-name { font-size: 15px; font-weight: 800; color: var(--accent2); }

.pass-desc { font-size: 12px; color: var(--text-dim); line-height: 1.6; }

/* 任务条目 */
.task-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 2px solid rgba(63, 169, 232, 0.3);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
}

.task-item .task-name { font-size: 14px; font-weight: 800; color: var(--text); }

.task-item .task-desc { font-size: 11px; color: var(--text-dim); margin-top: 2px; }

.task-reward {
  flex: 1;
  text-align: right;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-deep);
  white-space: nowrap;
}

.task-reward-icon { width: 16px; height: 16px; vertical-align: -3px; margin-right: 2px; }

/* 能量抽奖弹窗 */
.lottery-pop {
  position: absolute;
  inset: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 94, 96, 0.4);
  pointer-events: none;
}

.lottery-pop.hidden { display: none; }

.lottery-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 36px;
  background: #fff6ea;
  border: 3px solid #c9932f;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .45), inset 0 2px 0 rgba(255, 255, 255, .7);
  animation: lotteryIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lottery-icon { font-size: 46px; animation: lotteryFloat 0.6s ease-in-out infinite alternate; }

.lottery-icon-img { width: 72px; height: 72px; display: block; animation: lotteryFloat 0.6s ease-in-out infinite alternate; filter: drop-shadow(0 4px 10px rgba(245, 179, 1, .5)); }

.lottery-text { font-size: 16px; font-weight: 900; color: #8a5a2a; letter-spacing: 1px; }
.lottery-text b { color: #f5a301; }

@keyframes lotteryIn {
  from { opacity: 0; transform: scale(0.6) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes lotteryFloat {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-8px) scale(1.15); }
}

/* ==================== 账号中心（登录/注册/云存档） ==================== */
.account-state {
  margin-top: 2px;
  font-size: 11px;
  color: #fff7e0;
  opacity: 0.85;
  text-shadow: 0 1px 2px rgba(120, 60, 10, 0.35);
  cursor: pointer;
}
.account-state:hover { opacity: 1; text-decoration: underline; }

.auth-forms, .auth-logged { display: flex; flex-direction: column; gap: 12px; padding: 6px 2px; }

.auth-tabs { display: flex; gap: 8px; margin-bottom: 4px; }
.auth-tab {
  flex: 1; padding: 8px 0; border: none; border-radius: 999px;
  background: #eef2f7; color: #6b7a90; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: all 0.2s;
}
.auth-tab.active {
  background: linear-gradient(135deg, #5ec8f8, #4aa8e8); color: #fff;
  box-shadow: 0 4px 12px rgba(74, 168, 232, 0.35);
}

.auth-form { display: flex; flex-direction: column; gap: 10px; }
.auth-input {
  padding: 11px 14px; border: 2px solid #dde6ef; border-radius: 14px;
  font-size: 14px; background: #f8fbfe; color: #33415c; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-input:focus { border-color: #5ec8f8; box-shadow: 0 0 0 3px rgba(94, 200, 248, 0.18); }
.auth-input::placeholder { color: #a9b6c8; }

.auth-msg { min-height: 18px; font-size: 12px; color: #e0665a; text-align: center; }
.auth-msg.ok { color: #3aa876; }

.auth-hint { margin: 2px 0 0; font-size: 11px; color: #8fa1b5; text-align: center; line-height: 1.5; }

.auth-logged { align-items: center; text-align: center; padding: 10px 0; }
.auth-avatar {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 30px; background: linear-gradient(135deg, #ffe3b3, #ffc98a);
  box-shadow: 0 6px 16px rgba(255, 180, 100, 0.4), inset 0 -3px 0 rgba(200, 120, 30, 0.25);
}
.auth-email { font-size: 14px; font-weight: 700; color: #33415c; word-break: break-all; }
.auth-save-tip { font-size: 12px; color: #3aa876; background: #e8f7ef; padding: 4px 12px; border-radius: 999px; }
.auth-logged .shop-buy { width: 100%; }

.auth-submit {
  padding: 11px 0; border: none; border-radius: 999px; cursor: pointer;
  font-size: 15px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #ffb36b, #ff8f5e);
  box-shadow: 0 6px 16px rgba(255, 140, 90, 0.4), inset 0 -3px 0 rgba(200, 90, 30, 0.3);
  transition: transform 0.12s, box-shadow 0.12s;
}
.auth-submit:active { transform: translateY(2px); box-shadow: 0 3px 8px rgba(255, 140, 90, 0.35); }
.auth-logged .auth-submit { width: 100%; }

/* ============ v31 活动系统 ============ */
.modal-body-scroll { overflow-y: auto; height: 62vh; }
.act-summary { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 2px solid rgba(232, 184, 75, 0.35); border-radius: 12px; background: rgba(255, 250, 235, 0.85); font-size: 12px; color: var(--text); }
.act-summary b { color: var(--accent-deep); }
.act-vip-on { color: #d98e2b; }
.act-tip { font-size: 11px; color: var(--text-dim); line-height: 1.5; padding: 6px 2px; }
.act-divider { height: 2px; background: linear-gradient(90deg, transparent, rgba(125, 143, 132, 0.4), transparent); margin: 4px 0; }
.act-group-title { font-size: 13px; font-weight: 800; color: var(--accent-deep); margin: 8px 0 2px; }
.act-ico { font-size: 18px; }
.act-badge { display: inline-block; padding: 1px 6px; font-size: 10px; font-weight: 800; color: #fff; background: linear-gradient(90deg, #7fb069, #4f8a5b); border-radius: 999px; vertical-align: 1px; }
.act-badge-hot { background: linear-gradient(90deg, #ff8a5c, #e14e2a); }
.act-progress { height: 6px; border-radius: 999px; background: rgba(125, 143, 132, 0.25); overflow: hidden; margin: 6px 0 8px; }
.act-progress-bar { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7fb069, #4f8a5b); }
.act-task { display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 2px solid rgba(63, 169, 232, 0.3); border-radius: 14px; background: rgba(255, 255, 255, 0.85); }
.act-task-name { font-size: 14px; font-weight: 800; color: var(--text); }
.act-task-desc { font-size: 11px; color: var(--text-dim); margin-top: 2px; line-height: 1.5; }
.act-task-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.shop-buy:disabled { opacity: 0.55; cursor: not-allowed; }
.shop-buy.act-ready { background: linear-gradient(90deg, #f2a93b, #e87e2a); }
.shop-buy.act-done { background: linear-gradient(90deg, #9aa79e, #74837a); }
.shop-buy.act-makeup { background: linear-gradient(90deg, #8aa7c9, #5f7fb0); }
.act-vip-row { display: flex; gap: 10px; padding: 10px 12px; border: 2px solid rgba(232, 184, 75, 0.25); border-radius: 12px; background: rgba(255, 255, 255, 0.8); }
.act-vip-row.act-vip-cur { border-color: #e8b84b; background: rgba(255, 244, 214, 0.9); box-shadow: 0 0 0 2px rgba(232, 184, 75, 0.25); }
.act-vip-lv { flex: 0 0 62px; font-size: 14px; font-weight: 800; color: var(--accent-deep); display: flex; align-items: center; }
.act-vip-info { flex: 1; min-width: 0; }
.act-vip-name { font-size: 13px; font-weight: 800; color: var(--text); }
.act-vip-perk { font-size: 11px; color: var(--text-dim); margin-top: 2px; line-height: 1.5; }
.act-checkin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 6px auto; max-width: 320px; }
.act-checkin-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; overflow: hidden; padding: 10px 4px; border: 2px solid rgba(125, 143, 132, 0.3); border-radius: 10px; background: rgba(255, 255, 255, 0.7); }
.act-checkin-big { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 12px; padding: 14px 10px; border-color: rgba(232, 184, 75, 0.65); background: rgba(255, 250, 235, 0.92); }
.act-checkin-day { font-size: 11px; font-weight: 800; color: var(--text-dim); }
.act-checkin-big .act-checkin-day { font-size: 14px; color: #b8860b; }
.act-checkin-reward { font-size: 10px; text-align: center; color: var(--text); line-height: 1.4; white-space: nowrap; }
.act-checkin-big .act-checkin-reward { font-size: 12px; }
.act-checkin-done { border-color: #7fb069; background: rgba(127, 176, 105, 0.15); }
.act-checkin-today { border-color: #e8b84b; box-shadow: 0 0 0 2px rgba(232, 184, 75, 0.3); }
.act-tabs { display: flex; gap: 8px; margin-bottom: 6px; }
.act-tab { flex: 1; padding: 8px 4px; font-size: 12px; font-weight: 700; color: var(--text); background: rgba(255, 255, 255, 0.7); border: 2px solid rgba(125, 143, 132, 0.3); border-radius: 999px; cursor: pointer; }
.act-tab:active { transform: scale(0.96); }
.act-notice-body { display: flex; flex-direction: column; gap: 8px; }
.act-notice-item { padding: 10px 12px; border: 2px solid rgba(63, 169, 232, 0.25); border-radius: 12px; background: rgba(255, 255, 255, 0.85); font-size: 12px; line-height: 1.7; color: var(--text); }
.act-pass-name { font-size: 15px; font-weight: 800; color: var(--accent2); }
.act-first-banner { padding: 18px 12px; text-align: center; font-size: 16px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #f2a93b, #e14e2a); border-radius: 14px; line-height: 1.7; }
.act-first-banner span { font-size: 12px; font-weight: 700; opacity: 0.95; }
.act-first-done { background: linear-gradient(135deg, #7fb069, #4f8a5b); }
.avatar-frame-gold { box-shadow: 0 0 0 3px #f2c94c, 0 0 18px rgba(242, 201, 76, 0.8); border-radius: 14px; }

/* ===== v37 活动卡片网格（参考图 436/438/442） ===== */
.act-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 8px; }
.act-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 6px 8px; border: 2px solid rgba(125, 143, 132, 0.35); border-radius: 12px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 235, 0.88)); box-shadow: 0 2px 6px rgba(50, 40, 20, 0.08); }
.act-card-hot { border-color: rgba(232, 184, 75, 0.9); background: linear-gradient(180deg, #fff8e1, #ffe9b8); box-shadow: 0 0 0 1px rgba(232, 184, 75, 0.5), 0 3px 8px rgba(232, 160, 40, 0.25); }
.act-card-tag { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); padding: 1px 10px; font-size: 10px; font-weight: 800; color: #fff; background: linear-gradient(90deg, #f2a93b, #e14e2a); border-radius: 999px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); }
.act-card-ico { font-size: 22px; line-height: 1.2; }
.act-card-name { font-size: 13px; font-weight: 800; color: var(--accent-deep); }
.act-card-desc { font-size: 10px; color: var(--text-dim); text-align: center; line-height: 1.5; min-height: 24px; }
.act-card-btn { width: 100%; margin-top: auto; padding: 6px 4px; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(90deg, #f2a93b, #e14e2a); border: none; border-radius: 8px; cursor: pointer; box-shadow: 0 2px 4px rgba(200, 90, 20, 0.3); }
.act-card-btn:active { transform: scale(0.96); }
/* VIP 卡片 */
.act-vip-card { min-height: 96px; }
.act-vip-cur { border-color: rgba(232, 184, 75, 0.9); background: linear-gradient(180deg, #fff8e1, #ffe9b8); box-shadow: 0 0 0 1px rgba(232, 184, 75, 0.5); }
.act-vip-progress { margin: 4px 0 2px; }
.act-vip-progress-text { font-size: 11px; color: var(--accent-deep); font-weight: 700; margin-bottom: 4px; }
.act-progress-bar-vip { background: linear-gradient(90deg, #f2c94c, #e14e2a); }
/* ===== v37 居中横幅卡片（参考图 443/444） ===== */
.act-banner { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 4px 0 8px; padding: 20px 14px 16px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #2f5e60, #1f4346); border: 2px solid rgba(232, 184, 75, 0.6); box-shadow: 0 4px 14px rgba(30, 60, 60, 0.35); text-align: center; }
.act-banner-first { background: linear-gradient(135deg, #f2a93b, #e14e2a); border-color: rgba(255, 240, 200, 0.7); }
.act-banner-boost { background: linear-gradient(135deg, #8a63d2, #5b3fa8); border-color: rgba(232, 205, 255, 0.7); } /* v45 直升武器主题 */
.act-banner-done { background: linear-gradient(135deg, #7fb069, #4f8a5b); border-color: rgba(240, 255, 220, 0.6); }
.act-banner-title { font-size: 18px; font-weight: 900; letter-spacing: 2px; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25); }
.act-banner-desc { display: flex; flex-direction: column; gap: 3px; font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, 0.95); }
.act-banner-line b { color: #ffe9a8; font-weight: 800; }
.act-banner-btn { padding: 9px 28px; font-size: 14px; font-weight: 900; color: #7a3d00; background: linear-gradient(90deg, #ffe9a8, #f2c94c); border: 2px solid rgba(255, 255, 255, 0.6); border-radius: 999px; cursor: pointer; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25); }
.act-banner-btn:active { transform: scale(0.96); }
.act-banner-btn-ghost { color: #fff; background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.6); }
.act-badge-hot { background: linear-gradient(90deg, #e14e2a, #f2a93b); color: #fff; }

/* ===== v39 登录首屏 ===== */
.login-overlay { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 30%, #2f5e60 0%, #12252a 70%); z-index: 60; }
.login-panel { display: flex; flex-direction: column; align-items: center; gap: 14px; width: min(320px, 86vw); padding: 28px 22px 22px; border-radius: 20px; background: linear-gradient(180deg, rgba(38, 78, 82, 0.95), rgba(22, 48, 52, 0.97)); border: 2px solid rgba(232, 184, 75, 0.5); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45); }
.login-logo { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 6px; }
.login-logo-img { width: 68px; height: 68px; border-radius: 18px; overflow: hidden; border: 2px solid rgba(232, 184, 75, 0.7); box-shadow: 0 0 22px rgba(232, 184, 75, 0.35); }
.login-logo-img img { width: 100%; height: 100%; object-fit: cover; }
.login-title { font-size: 24px; font-weight: 900; letter-spacing: 6px; color: #ffe9a8; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); }
.login-sub { font-size: 11px; color: rgba(255, 255, 255, 0.6); letter-spacing: 3px; }
.login-tabs { display: flex; gap: 8px; width: 100%; }
.login-tab { flex: 1; padding: 8px 4px; font-size: 13px; font-weight: 800; color: rgba(255, 255, 255, 0.65); background: rgba(255, 255, 255, 0.06); border: 2px solid rgba(255, 255, 255, 0.14); border-radius: 999px; cursor: pointer; }
.login-tab.active { color: #7a3d00; background: linear-gradient(90deg, #ffe9a8, #f2c94c); border-color: #ffe9a8; }
.login-tab:active { transform: scale(0.96); }
.login-form { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.login-input { width: 100%; box-sizing: border-box; padding: 10px 12px; font-size: 14px; color: #fff; background: rgba(255, 255, 255, 0.08); border: 2px solid rgba(255, 255, 255, 0.16); border-radius: 10px; outline: none; }
.login-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.login-input:focus { border-color: rgba(232, 184, 75, 0.8); }
.login-submit { width: 100%; padding: 11px 12px; font-size: 15px; font-weight: 900; letter-spacing: 4px; color: #7a3d00; background: linear-gradient(90deg, #ffe9a8, #f2c94c); border: none; border-radius: 10px; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
.login-submit:active { transform: translateY(1px); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }
.login-msg { min-height: 18px; font-size: 12px; color: #ffb3a0; text-align: center; }
.login-msg.ok { color: #9edb7a; }
.login-hint { font-size: 11px; color: rgba(255, 255, 255, 0.45); text-align: center; }

/* ===== v39 个人信息面板 ===== */
.profile-panel { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 2px; }
.profile-avatar { width: 76px; height: 76px; border-radius: 20px; overflow: hidden; border: 2px solid rgba(125, 143, 132, 0.4); }
.avatar-img-lg { width: 100%; height: 100%; object-fit: cover; }
.profile-id { font-size: 11px; color: var(--text-dim); }
.profile-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 8px 10px; border: 1px solid rgba(125, 143, 132, 0.25); border-radius: 10px; background: rgba(255, 255, 255, 0.7); font-size: 13px; }
.profile-label { color: var(--text-dim); font-weight: 700; }
.profile-nick { color: var(--text); font-weight: 800; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-edit { padding: 4px 12px; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(90deg, #3fa9e8, #2f7fd0); border: none; border-radius: 999px; cursor: pointer; }
.profile-edit:active { transform: scale(0.95); }
.profile-editbox { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.profile-save-tip { font-size: 11px; color: var(--accent-deep); }
.toggle-btn { min-width: 52px; padding: 5px 12px; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(90deg, #7fb069, #4f8a5b); border: none; border-radius: 999px; cursor: pointer; }
.toggle-btn.toggle-off { background: linear-gradient(90deg, #9a9a9a, #6f6f6f); }
.toggle-btn:active { transform: scale(0.95); }

/* ===== v51 比武大会 · 排行榜 ===== */
.act-rank-login-hint { text-align: center; padding: 34px 12px; font-size: 14px; line-height: 1.9; color: var(--text); }
.act-rank-head { font-size: 16px; font-weight: 900; color: #7a3d00; margin-bottom: 4px; }
.act-rank-sub { font-size: 11px; color: var(--text-dim); margin-bottom: 10px; line-height: 1.6; }
.act-rank-tabs { display: flex; gap: 8px; margin-bottom: 10px; }
.act-rank-tab { flex: 1; padding: 7px 4px; font-size: 13px; font-weight: 800; color: rgba(255, 255, 255, 0.65); background: rgba(255, 255, 255, 0.08); border: 2px solid rgba(255, 255, 255, 0.16); border-radius: 999px; cursor: pointer; }
.act-rank-tab.act-tab-on { color: #7a3d00; background: linear-gradient(90deg, #ffe9a8, #f2c94c); border-color: #ffe9a8; }
.act-rank-table { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; max-height: 300px; overflow-y: auto; }
.act-rank-th, .act-rank-row { display: grid; grid-template-columns: 44px 1fr 92px; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; font-size: 12px; }
.act-rank-th { font-weight: 800; color: var(--text-dim); background: rgba(0, 0, 0, 0.06); }
.act-rank-row { background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(125, 143, 132, 0.2); }
.act-rank-row.act-rank-me { border-color: rgba(232, 120, 60, 0.7); background: rgba(255, 244, 224, 0.95); }
.act-rank-no { font-weight: 900; color: #7a3d00; }
.act-rank-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-weight: 700; }
.act-rank-spent { text-align: right; color: var(--text); font-weight: 800; }
.act-rank-st { text-align: right; font-size: 11px; color: var(--text-dim); }
.act-rank-st-pending { color: #e8841c; font-weight: 800; }
.act-rank-empty { text-align: center; padding: 22px 8px; font-size: 12px; color: var(--text-dim); }
.act-rank-my { padding: 8px 10px; font-size: 13px; font-weight: 800; color: #7a3d00; background: linear-gradient(90deg, rgba(255, 233, 168, 0.9), rgba(242, 201, 76, 0.55)); border: 1px solid rgba(232, 184, 75, 0.55); border-radius: 10px; margin-bottom: 10px; line-height: 1.7; }
.btn-rank-claim { margin-left: 6px; padding: 4px 10px; font-size: 12px; font-weight: 900; color: #fff; background: linear-gradient(90deg, #e8841c, #c95f0b); border: none; border-radius: 999px; cursor: pointer; }
.btn-rank-claim:active { transform: scale(0.95); }
.act-rank-rewards { padding: 8px 10px; background: rgba(0, 0, 0, 0.05); border-radius: 10px; }
.act-rank-rewards-title { font-size: 12px; font-weight: 900; color: #7a3d00; margin-bottom: 6px; }
.act-rank-reward-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--text); padding: 3px 0; border-bottom: 1px dashed rgba(125, 143, 132, 0.2); }
.act-rank-reward-row:last-child { border-bottom: none; }

/* ============ v70 周卡/月卡双卡皮肤（v71 压缩一屏展示） ============ */
.pass-skin {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible;
  max-height: 94%;
}
.pass-skin .modal-body { padding: 0; }
.pass-skin .modal-body-scroll { padding: 0 8px; max-height: 88vh; height: auto; }
.pass-close {
  position: absolute; top: -14px; right: -8px; z-index: 5;
  width: 34px; height: 34px;
}
.pass-wrap { display: flex; flex-direction: column; gap: 10px; padding: 16px 2px 4px; }
.pass-card {
  position: relative;
  border-radius: 16px;
  padding: 40px 12px 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f6efff 100%);
  border: 3px solid #8b5cf6;
  box-shadow: 0 6px 18px rgba(20, 10, 40, .45);
}
.pass-card-month {
  background: linear-gradient(180deg, #fffdf4 0%, #fff3d6 100%);
  border-color: #f59e0b;
}
.pass-crown {
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  width: 128px; height: 68px; pointer-events: none;
}
.pass-crown-img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0,0,0,.3)); }
.pass-crown-t {
  position: absolute; left: 0; right: 0; top: 61%; transform: translateY(-50%);
  text-align: center;
  font-size: 17px; font-weight: 900; letter-spacing: 2px;
  color: #6d28d9;
  text-shadow: 0 1px 0 #fff, 0 2px 3px rgba(76,29,149,.35);
}
.pass-card-month .pass-crown-t {
  top: 67%;
  color: #fff;
  -webkit-text-stroke: 1.2px #92400e;
  text-shadow: 0 2px 0 #92400e, 0 3px 4px rgba(0,0,0,.35);
}
.pass-priv {
  margin: 0 auto 7px;
  padding: 4px 10px;
  border-radius: 999px;
  text-align: center;
  font-size: 11.5px; font-weight: 700; color: #fff;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
}
.pass-card-month .pass-priv { background: linear-gradient(90deg, #d97706, #f59e0b); }
.pass-sec {
  background: rgba(124, 58, 237, .07);
  border-radius: 10px;
  padding: 5px 8px 8px;
  margin-bottom: 6px;
}
.pass-card-month .pass-sec { background: rgba(245, 158, 11, .10); }
.pass-sec-t {
  text-align: center; font-size: 12px; font-weight: 800; color: #6d28d9;
  margin-bottom: 5px;
}
.pass-card-month .pass-sec-t { color: #b45309; }
.pass-rws { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.pass-rw { position: relative; }
.pass-rw-ico {
  display: block;
  width: 44px; height: 44px; object-fit: contain;
  border-radius: 10px;
  background: linear-gradient(180deg, #fdf4ff, #f3e8ff);
  border: 2px solid #c4b5fd;
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
}
.pass-card-month .pass-rw-ico { background: linear-gradient(180deg, #fffbeb, #fef3c7); border-color: #fcd34d; }
.pass-rw-n {
  position: absolute; right: -8px; bottom: -6px;
  padding: 0 5px;
  border-radius: 8px;
  font-size: 10.5px; font-weight: 800; line-height: 15px;
  color: #fff; background: #312e81;
  border: 1.5px solid rgba(255,255,255,.85);
  box-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.pass-card-month .pass-rw-n { background: #92400e; }
.pass-expire { text-align: center; font-size: 11px; color: #8a7fa8; margin: 0 0 5px; }
.pass-btn {
  display: block; width: 66%; margin: 2px auto 0;
  padding: 8px 0;
  border: none; border-radius: 999px;
  font-size: 16px; font-weight: 900; letter-spacing: 2px;
  color: #7c2d12;
  background: linear-gradient(180deg, #fde047 0%, #f59e0b 100%);
  box-shadow: 0 4px 0 #b45309, 0 6px 10px rgba(0,0,0,.25);
  cursor: pointer;
}
.act-ico-img { width: 20px; height: 20px; vertical-align: -4px; object-fit: contain; }
.pass-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #b45309; }
.pass-btn-claim {
  color: #14532d;
  background: linear-gradient(180deg, #86efac 0%, #22c55e 100%);
  box-shadow: 0 4px 0 #15803d, 0 6px 10px rgba(0,0,0,.25);
}
.pass-btn-claim:active { box-shadow: 0 2px 0 #15803d; }
.pass-btn-wait {
  color: #9aa0a6;
  background: linear-gradient(180deg, #e5e7eb 0%, #c9ced6 100%);
  box-shadow: 0 4px 0 #9aa0a6;
  cursor: not-allowed;
}

/* ============ v73 六弹窗自定义皮肤（公告/VIP/比武/首充/签到/邮件） ============ */
/* 通用皮肤面板：去掉默认木面板背景 */
.modal-panel.pass-skin, .modal-panel.nt-skin, .modal-panel.vip-skin, .modal-panel.rk-skin,
.modal-panel.fc-skin, .modal-panel.ck-skin, .modal-panel.ml-skin,
.modal-panel.sp-skin, .modal-panel.tk-skin, .modal-panel.ex-skin { position: relative; }
.modal-panel.nt-skin, .modal-panel.vip-skin, .modal-panel.rk-skin,
.modal-panel.fc-skin, .modal-panel.ck-skin, .modal-panel.ml-skin,
.modal-panel.sp-skin, .modal-panel.tk-skin, .modal-panel.ex-skin {
  background: none;
  box-shadow: none;
  overflow: visible;
  max-height: none;
  width: min(92vw, 340px);
}
.modal-panel.nt-skin .modal-body, .modal-panel.vip-skin .modal-body,
.modal-panel.rk-skin .modal-body, .modal-panel.fc-skin .modal-body,
.modal-panel.ck-skin .modal-body, .modal-panel.ml-skin .modal-body,
.modal-panel.sp-skin .modal-body, .modal-panel.tk-skin .modal-body,
.modal-panel.ex-skin .modal-body { padding: 0; gap: 0; }
.modal-panel.nt-skin .modal-body-scroll, .modal-panel.vip-skin .modal-body-scroll,
.modal-panel.rk-skin .modal-body-scroll, .modal-panel.fc-skin .modal-body-scroll,
.modal-panel.ck-skin .modal-body-scroll, .modal-panel.ml-skin .modal-body-scroll,
.modal-panel.sp-skin .modal-body-scroll, .modal-panel.tk-skin .modal-body-scroll,
.modal-panel.ex-skin .modal-body-scroll {
  overflow: visible; max-height: none; height: auto;
}

/* ---------- 公告（木板 + 丝带牌匾） ---------- */
.nt-skin { background: none !important; }
.nt-wrap { position: relative; width: 100%; }
.nt-board-img { width: 100%; display: block; filter: drop-shadow(0 10px 24px rgba(0,0,0,.5)); }
.nt-ribbon { position: absolute; top: -46px; left: 50%; transform: translateX(-50%); width: 220px; pointer-events: none; }
.nt-ribbon img { width: 100%; display: block; filter: drop-shadow(0 3px 5px rgba(0,0,0,.35)); }
.nt-ribbon-t { position: absolute; left: 0; right: 0; top: 46%; transform: translateY(-50%);
  text-align: center; font-size: 22px; font-weight: 900; letter-spacing: 6px;
  color: #5a3a1a; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.nt-body { position: absolute; left: 7%; right: 6%; top: 7%; bottom: 6.5%; display: flex; gap: 8px; }
.nt-tabs { width: 32%; flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; padding: 2px 2px 2px 0; }
.nt-tab { border: 2px solid #3a2410; border-radius: 10px; padding: 9px 6px;
  background: linear-gradient(180deg,#b07a45 0%, #8a5528 100%);
  color: #fff4e0; font-size: 12.5px; font-weight: 800; line-height: 1.3;
  text-align: center; cursor: pointer; text-shadow: 0 1px 2px rgba(0,0,0,.4);
  box-shadow: 0 3px 0 #4a2c12, 0 4px 6px rgba(0,0,0,.25); word-break: break-all; }
.nt-tab:active { transform: translateY(2px); box-shadow: 0 1px 0 #4a2c12; }
.nt-tab-on { background: linear-gradient(180deg,#ffd964 0%, #eda92e 100%);
  color: #5a3000; text-shadow: 0 1px 0 rgba(255,255,255,.5); border-color: #7a4a00;
  box-shadow: 0 3px 0 #8a5a00, 0 4px 8px rgba(0,0,0,.3); }
.nt-content { flex: 1; min-width: 0; background: rgba(255,252,240,.55);
  border: 1.5px solid rgba(122,74,0,.25); border-radius: 8px; padding: 8px 9px;
  overflow-y: auto; font-size: 12px; color: #4a3310; }
.nt-content h3 { font-size: 14px; color: #7a4a00; margin-bottom: 6px;
  border-bottom: 1.5px dashed rgba(122,74,0,.4); padding-bottom: 5px; }
.nt-content p { margin-bottom: 7px; line-height: 1.55; color: #4a3310; }
.nt-content b { color: #8a4a00; }
.nt-tabs::-webkit-scrollbar, .nt-content::-webkit-scrollbar { width: 4px; }
.nt-tabs::-webkit-scrollbar-thumb, .nt-content::-webkit-scrollbar-thumb { background: rgba(122,74,0,.35); border-radius: 2px; }

/* ---------- VIP（深棕金奢华） ---------- */
.modal-panel.vip-skin {
  background: linear-gradient(165deg, #3a2415 0%, #241408 45%, #1a0e05 100%);
  border: 2px solid #c9932f; border-radius: 16px;
  box-shadow: 0 0 0 1px #5a3a10, 0 8px 30px rgba(0,0,0,.6), inset 0 0 40px rgba(201,147,47,.08);
  padding: 14px 12px 12px;
}
.vip-emblem { position: relative; width: 200px; margin: 0 auto; }
.vip-emblem img { width: 100%; display: block; }
.vip-emblem-lv { position: absolute; left: 50%; top: 44%; transform: translate(-50%,-50%);
  font-size: 26px; font-weight: 900; color: #7c3aed; text-shadow: 0 1px 0 #fff, 0 2px 2px rgba(0,0,0,.2); }
.vip-emblem-tag { text-align: center; font-size: 14px; font-weight: 800; margin-top: 2px; letter-spacing: 2px;
  background: linear-gradient(180deg,#ffe98a,#f5b301); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vip-progress-tip { text-align: center; font-size: 12px; color: #f5d58a; margin: 8px 0 5px; }
.vip-progress-tip b { color: #ffe98a; }
.vip-progress { height: 14px; border-radius: 8px; background: #120a04; border: 1.5px solid #c9932f; overflow: hidden; margin: 0 6px; }
.vip-progress-i { height: 100%; border-radius: 8px; background: linear-gradient(90deg,#ff9d5c,#f5b301,#ffe98a); }
.vip-main { display: flex; gap: 8px; margin-top: 12px; height: 352px; }
.vip-lvs { width: 64px; flex-shrink: 0; display: flex; flex-direction: column; gap: 4px;
  height: 100%; overflow-y: auto; scrollbar-width: none; }
.vip-lvs::-webkit-scrollbar { display: none; }
.vip-lv { position: relative; padding: 5px 0; text-align: center; border-radius: 8px; cursor: pointer; flex-shrink: 0;
  font-size: 11px; font-weight: 800; color: #c9a86a; background: #170d05; border: 1.5px solid #5a3a10; }
.vip-lv.on { background: linear-gradient(180deg,#ffe98a,#f5b301); color: #5a3000; border-color: #ffe9a8;
  box-shadow: 0 2px 6px rgba(245,179,1,.4); }
.vip-lv .dot { position: absolute; top: -3px; right: -3px; width: 9px; height: 9px; border-radius: 50%;
  background: #ff5252; border: 1.5px solid #fff; display: none; }
.vip-lv.cur .dot { display: block; }
.vip-right { flex: 1; display: flex; flex-direction: column; gap: 7px; min-width: 0; height: 100%; overflow-y: auto; scrollbar-width: none; }
.vip-right::-webkit-scrollbar { display: none; }
.vip-sec { border-radius: 10px; background: rgba(255,233,168,.06); border: 1px solid rgba(201,147,47,.45); padding: 7px 9px 8px; }
.vip-sec-t { font-size: 12px; font-weight: 900; color: #ffe98a; margin-bottom: 5px; letter-spacing: 1px; }
.vip-priv { font-size: 11px; color: #f0ddb0; line-height: 1.8; }
.vip-priv b { color: #ffe98a; }
.vip-rws { display: flex; gap: 10px; }
.vip-rw { position: relative; width: 46px; }
.vip-rw-ico { width: 46px; height: 46px; object-fit: contain; display: block;
  background: rgba(255,255,255,.08); border-radius: 9px; border: 1px solid rgba(201,147,47,.5); padding: 3px; }
.vip-rw-n { position: absolute; right: -3px; bottom: -3px; font-size: 9px; font-weight: 800; color: #fff;
  background: #3a2410; border: 1px solid #c9932f; border-radius: 7px; padding: 0 4px; }
.vip-claim { margin-top: 2px; padding: 9px 0; border: none; border-radius: 11px; width: 100%; cursor: pointer;
  font-size: 15px; font-weight: 900; color: #5a3000; letter-spacing: 3px;
  background: linear-gradient(180deg,#ffe98a,#f5b301); border-bottom: 3px solid #b57a00;
  box-shadow: 0 3px 8px rgba(245,179,1,.35); }
.vip-claim:disabled { opacity: .45; filter: grayscale(.4); cursor: default; }

/* ---------- 比武大会（红色舞台） ---------- */
.modal-panel.rk-skin {
  background: linear-gradient(180deg,#c2243f 0%, #9c142f 55%, #7c0e24 100%);
  border: 2px solid #6b1028; border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,.6), inset 0 0 60px rgba(255,120,120,.12);
  padding: 0 12px 12px; overflow: visible;
}
.rk-info { position: absolute; top: 8px; left: 8px; width: 30px; height: 30px; border-radius: 50%; z-index: 6;
  border: 2.5px solid #fff; background: linear-gradient(180deg,#4aa3ff,#2b6fd4); color: #fff;
  font-size: 17px; font-weight: 900; line-height: 1; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,.35); }
.rk-trophies { width: 210px; margin: 6px auto 0; display: block; }
.rk-count { width: fit-content; margin: -8px auto 0; font-size: 11px; font-weight: 800; color: #fff;
  background: #2b1118; border-radius: 11px; padding: 3px 12px; border: 1.5px solid rgba(255,255,255,.25); }
.rk-title { text-align: center; font-size: 22px; font-weight: 900; color: #fff; letter-spacing: 5px;
  text-shadow: 0 2px 0 rgba(0,0,0,.35); margin: 5px 0 8px; }
.rk-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 8px; }
.rk-tab { padding: 4px 16px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.35); background: rgba(0,0,0,.25);
  color: #ffd9de; font-size: 12px; font-weight: 800; cursor: pointer; }
.rk-tab.on { background: linear-gradient(180deg,#ffe98a,#f5b301); color: #5a3000; border-color: #ffe9a8; }
.rk-list { height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 7px; padding-right: 2px; }
.rk-list::-webkit-scrollbar { width: 0; }
.rk-row { display: flex; align-items: center; gap: 8px; border-radius: 12px; padding: 6px 9px;
  background: linear-gradient(180deg,#fff6e8,#ffe9cf); border: 2px solid #e8b98a;
  box-shadow: 0 2px 0 rgba(0,0,0,.15); }
.rk-row.top3 { border-color: #f5b301; }
.rk-row-me { border-color: #4aa3ff; }
.rk-medal { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.4); border: 2px solid rgba(255,255,255,.7);
  background: #9aa5b1; }
.rk-medal.m1 { background: linear-gradient(180deg,#ffd94a,#e8a400); }
.rk-medal.m2 { background: linear-gradient(180deg,#e8eef4,#9fb2c4); }
.rk-medal.m3 { background: linear-gradient(180deg,#f0a35c,#c06a28); }
.rk-medal.plain { background: none; border: none; color: #8a5a2a; text-shadow: none; font-size: 15px; width: 30px; }
.rk-ava { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; flex-shrink: 0;
  border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); background: #dce8f5; }
.rk-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 800; color: #4a2a12;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-score { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 900; color: #7a3bd4; }
.rk-score::before { content: ""; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe98a, #f5b301 60%, #c07e00); border: 1.5px solid #7a5200; }
.rk-gift { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }
.rk-my { display: flex; align-items: center; gap: 8px; border-radius: 12px; padding: 7px 9px; margin-top: 9px;
  background: linear-gradient(180deg,#3f9dff,#2470d8); border: 2px solid #9fd0ff;
  box-shadow: 0 3px 0 rgba(0,0,0,.25); color: #fff; }
.rk-my .rk-medal { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.8); }
.rk-my .rk-name { color: #fff; }
.rk-my .rk-score { color: #ffe98a; }
.rk-claim { margin-left: auto; flex-shrink: 0; padding: 5px 12px; border: none; border-radius: 9px; cursor: pointer;
  background: linear-gradient(180deg,#ffe98a,#f5b301); color: #5a3000; font-size: 12px; font-weight: 900;
  border-bottom: 2.5px solid #b57a00; }
.rk-claimed { margin-left: auto; font-size: 11px; font-weight: 800; color: #d8ecff; }
.rk-empty { text-align: center; color: #ffd9de; font-size: 12px; padding: 24px 0; }
.rk-login-hint { text-align: center; color: #ffe9cf; font-size: 13px; line-height: 1.8; padding: 16px 8px 12px; min-height: 220px; }
.rk-login-hint b { color: #ffe98a; }
.rk-rules { position: absolute; inset: 0; border-radius: 18px; background: rgba(20,8,10,.92); z-index: 8;
  display: none; flex-direction: column; padding: 20px 16px 14px; }
.rk-rules.show { display: flex; }
.rk-rules-t { text-align: center; font-size: 17px; font-weight: 900; color: #ffe98a; letter-spacing: 3px; margin-bottom: 10px; }
.rk-rules-b { flex: 1; overflow-y: auto; font-size: 12px; color: #ffe9cf; line-height: 1.9; }
.rk-rules-b b { color: #ffe98a; }
.rk-rules-close { margin: 10px auto 0; padding: 6px 26px; border: none; border-radius: 10px; cursor: pointer;
  background: linear-gradient(180deg,#ffe98a,#f5b301); color: #5a3000; font-size: 13px; font-weight: 900;
  border-bottom: 2.5px solid #b57a00; }

/* ---------- 首充（紫涂鸦） ---------- */
.modal-panel.fc-skin {
  background: radial-gradient(circle at 50% 28%, #b388ff 0%, #8a5cf6 45%, #6c3bd4 100%);
  border: 3px solid #1c1030; border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,.6);
  padding: 16px 12px 14px; overflow: visible; width: min(92vw, 330px);
}
.modal-panel.fc-skin::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 15px;
  background-image: radial-gradient(rgba(255,255,255,.28) 1.2px, transparent 1.2px);
  background-size: 12px 12px; mask-image: radial-gradient(circle at 50% 30%, transparent 30%, #000 90%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, transparent 30%, #000 90%); }
.fc-title { position: relative; text-align: center; font-size: 34px; font-weight: 900; font-style: italic;
  letter-spacing: 4px; transform: rotate(-3deg); margin: 2px 0 0;
  background: linear-gradient(180deg,#d8ff4a 15%,#7de04a 55%,#3ec46b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 2px #1c1030;
  filter: drop-shadow(0 3px 0 #1c1030) drop-shadow(0 5px 6px rgba(0,0,0,.4)); }
.fc-title-sub { text-align: center; font-size: 12px; font-weight: 900; color: #ffe98a; letter-spacing: 6px;
  text-shadow: 0 2px 0 #1c1030; margin-top: 2px; }
.fc-chest { position: relative; width: 250px; margin: 0 auto; display: block;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,.35)); }
.fc-box { position: relative; border-radius: 14px; margin-top: 4px; padding: 10px 10px 12px;
  background: linear-gradient(180deg,#9a6cf7,#7c4ae0); border: 2.5px solid #1c1030;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.35); }
.fc-desc { text-align: center; font-size: 12px; font-weight: 800; color: #fff; line-height: 1.6;
  text-shadow: 0 1px 0 rgba(0,0,0,.35); margin-bottom: 9px; }
.fc-desc b { color: #ffe98a; }
.fc-rws { display: flex; gap: 8px; justify-content: center; }
.fc-rw { position: relative; width: 60px; }
.fc-rw-ico { width: 60px; height: 60px; object-fit: contain; display: block; padding: 5px;
  background: linear-gradient(160deg,#c9a8ff,#9a6cf7); border-radius: 10px; border: 2px solid #1c1030; }
.fc-rw-n { position: absolute; right: -2px; bottom: -2px; font-size: 10px; font-weight: 900; color: #fff;
  background: #1c1030; border-radius: 7px; padding: 1px 5px; border: 1.5px solid #c9a8ff; }
.fc-buy { position: relative; display: block; margin: 12px auto 0; width: 75%; padding: 11px 0; cursor: pointer;
  border: none; border-radius: 12px; font-size: 18px; font-weight: 900; color: #5a3000; letter-spacing: 2px;
  background: linear-gradient(180deg,#ffe98a,#f5b301); border: 2.5px solid #1c1030; border-bottom-width: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,.35); }
.fc-buy .dot { position: absolute; top: -5px; right: -5px; width: 14px; height: 14px; border-radius: 50%;
  background: #ff5252; border: 2px solid #fff; }
.fc-buy-ghost { background: linear-gradient(180deg,#c9a8ff,#9a6cf7); color: #fff; font-size: 15px; }
.fc-tip { text-align: center; font-size: 10px; color: #e6d8ff; margin-top: 8px; opacity: .85; }

/* ---------- 签到（奶黄七日） ---------- */
.modal-panel.ck-skin {
  background: linear-gradient(180deg,#fff8e8,#ffedc8);
  border: 3px solid #e8b98a; border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,.55);
  padding: 14px 12px 12px; width: min(92vw, 330px);
}
.ck-head { position: relative; display: flex; align-items: center; justify-content: center; gap: 2px; margin-bottom: 10px; }
.ck-deco { width: 52px; }
.ck-deco.flip { transform: scaleX(-1); }
.ck-7 { font-size: 44px; font-weight: 900; font-style: italic; line-height: 1;
  background: linear-gradient(180deg,#ffd94a,#ff8a3c); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 2px #7a3b00; filter: drop-shadow(0 2px 0 #7a3b00); }
.ck-head-t { font-size: 24px; font-weight: 900; letter-spacing: 2px; color: #fff;
  -webkit-text-stroke: 1.5px #7a3b00; text-shadow: 0 2px 0 #7a3b00, 0 3px 4px rgba(0,0,0,.25); }
.ck-streak { text-align: center; font-size: 12px; font-weight: 800; color: #a06428; margin-bottom: 8px; }
.ck-streak b { color: #e0611f; }
.ck-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.ck-cell { position: relative; border-radius: 11px; padding: 6px 4px 7px; text-align: center;
  background: #fff; border: 2px solid #eed9ae; box-shadow: 0 2px 0 rgba(0,0,0,.08); }
.ck-day { font-size: 11px; font-weight: 900; color: #c98a2e; margin-bottom: 3px; }
.ck-cell img { width: 40px; height: 40px; object-fit: contain; }
.ck-amt { font-size: 11px; font-weight: 900; color: #5a3a10; margin-top: 1px; }
.ck-done { opacity: .55; }
.ck-done::after { content: "✓"; position: absolute; top: 4px; right: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: #4caf50; color: #fff; font-size: 12px; font-weight: 900; line-height: 18px; border: 1.5px solid #fff; }
.ck-today { border-color: #f5b301; box-shadow: 0 0 0 2px #ffe98a, 0 3px 8px rgba(245,179,1,.45); }
.ck-today .ck-day { color: #e0611f; }
.ck-big { position: relative; margin-top: 7px; border-radius: 11px; padding: 8px 10px; display: flex; align-items: center; gap: 10px;
  background: linear-gradient(120deg,#ffe98a,#ffd054); border: 2px solid #f0a500; overflow: hidden;
  box-shadow: 0 2px 6px rgba(240,165,0,.35); }
.ck-big::before { content: ""; position: absolute; left: -40px; top: -60px; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.75), transparent 70%); }
.ck-big-day { font-size: 13px; font-weight: 900; color: #a05200; flex-shrink: 0; }
.ck-big img { width: 44px; height: 44px; object-fit: contain; position: relative; }
.ck-big-amt { font-size: 16px; font-weight: 900; color: #7a3b00; position: relative; }
.ck-big-tag { margin-left: auto; font-size: 10px; font-weight: 900; color: #fff; background: #ff8a3c;
  border-radius: 8px; padding: 2px 8px; position: relative; }
.ck-btn { display: block; width: 70%; margin: 12px auto 0; padding: 11px 0; border: none; border-radius: 12px; cursor: pointer;
  font-size: 17px; font-weight: 900; color: #5a3000; letter-spacing: 4px;
  background: linear-gradient(180deg,#ffe98a,#f5b301); border-bottom: 4px solid #b57a00;
  box-shadow: 0 4px 10px rgba(245,179,1,.4); }
.ck-btn:disabled { opacity: .5; filter: grayscale(.4); cursor: default; }
.ck-makeup { display: block; margin: 8px auto 0; border: none; background: none; font-size: 11px; cursor: pointer;
  color: #a06428; text-decoration: underline; }

/* ---------- 邮件（航空信封） ---------- */
.modal-panel.ml-skin {
  background: #fff6ea; border: 3px solid #e8cdb0; border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,.55);
  padding: 18px 12px 12px; width: min(92vw, 330px);
  display: flex; flex-direction: column;
}
.modal-panel.ml-skin::before, .modal-panel.ml-skin::after { content: ""; position: absolute; left: 0; right: 0; height: 9px;
  background: repeating-linear-gradient(-45deg,#e05a5a 0 14px,#fff6ea 14px 24px,#5a8fe0 24px 38px,#fff6ea 38px 48px);
  background-size: auto 100%; opacity: .9; }
.modal-panel.ml-skin::before { top: 0; border-radius: 11px 11px 0 0; }
.modal-panel.ml-skin::after { bottom: 0; border-radius: 0 0 11px 11px; }
.ml-title { text-align: center; font-size: 19px; font-weight: 900; color: #8a5a2a; letter-spacing: 6px; margin: 2px 0 2px; }
.ml-sub { text-align: center; font-size: 11px; color: #b89a78; margin-bottom: 8px; }
.ml-list { overflow-y: auto; display: flex; flex-direction: column; gap: 8px; height: min(52vh, 360px); padding: 2px; }
.ml-list::-webkit-scrollbar { width: 0; }
.ml-card { position: relative; border-radius: 11px; background: #fff; border: 2px solid #ecdcc4; flex-shrink: 0;
  box-shadow: 0 2px 0 rgba(0,0,0,.08); padding: 8px 10px 8px 14px; cursor: pointer; overflow: hidden; }
.ml-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: repeating-linear-gradient(-45deg,#e05a5a 0 10px,#fff 10px 17px,#5a8fe0 17px 27px,#fff 27px 34px); }
.ml-card.read { opacity: .62; }
.ml-head { display: flex; align-items: center; gap: 7px; }
.ml-env { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.ml-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4040; flex-shrink: 0; }
.ml-card.read .ml-dot { visibility: hidden; }
.ml-t { flex: 1; min-width: 0; font-size: 13px; font-weight: 900; color: #4a2a12;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-imp { flex-shrink: 0; font-size: 9px; font-weight: 900; color: #fff; background: #ff8a3c; border-radius: 6px; padding: 1px 5px; }
.ml-time { flex-shrink: 0; font-size: 10px; color: #b89a78; }
.ml-body { margin-top: 5px; font-size: 11px; color: #8a6a4a; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ml-card.open .ml-body { display: block; -webkit-line-clamp: unset; overflow: visible; }
.ml-card.open { border-color: #f0b64a; box-shadow: 0 2px 10px rgba(240,182,74,.35); }
.ml-empty { text-align: center; color: #b89a78; font-size: 13px; padding: 40px 0; }
.ml-ops { display: flex; gap: 10px; margin-top: 10px; padding: 0 4px 4px; }
.ml-op { flex: 1; padding: 9px 0; border: none; border-radius: 11px; font-size: 14px; font-weight: 900;
  letter-spacing: 2px; cursor: pointer; }
.ml-op-del { background: linear-gradient(180deg,#8fc0f5,#5a8fe0); color: #fff; border-bottom: 3px solid #3a68b0; }
.ml-op-read { background: linear-gradient(180deg,#ffe98a,#f5b301); color: #5a3000; border-bottom: 3px solid #b57a00; }

/* ============ v74 商店/任务中心/兑换商店皮肤（木色标题栏 + 红白雨棚） ============ */
/* 共享：标题栏 + 雨棚 */
.sp-wrap, .tk-wrap, .ex-wrap {
  background: linear-gradient(180deg, #fdf3dd 0%, #f7e6c4 100%);
  border: 3px solid #b9834f; border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.4);
  overflow: hidden; padding-bottom: 12px;
}
.sp-head, .tk-head, .ex-head {
  display: flex; align-items: center;
  background: linear-gradient(180deg, #a06a35, #7c4c1f);
  border-bottom: 2.5px solid #5e3712;
  padding: 8px 10px;
}
.sp-bal {
  display: flex; align-items: center; gap: 4px; flex: 1;
  background: rgba(0,0,0,.28); border-radius: 999px;
  padding: 2px 10px 2px 3px; max-width: 150px;
}
.sp-bal img { width: 18px; height: 18px; }
.sp-bal b { color: #ffd94d; font-size: 12.5px; text-shadow: 0 1px 0 #7a5200; }
.sp-title, .tk-title {
  flex: 1; text-align: center;
  font-size: 16px; font-weight: 900; color: #ffe9b8;
  text-shadow: 0 2px 0 rgba(0,0,0,.4); letter-spacing: 2px;
}
.tk-spacer { width: 30px; flex: none; }
.sp-awning, .tk-awning {
  height: 16px;
  background:
    radial-gradient(circle at 12px -4px, #e84f4f 11px, transparent 12px) 0 0/24px 16px repeat-x,
    radial-gradient(circle at 24px -4px, #fff6ea 11px, transparent 12px) 0 0/24px 16px repeat-x;
  border-bottom: 2px solid rgba(140,60,40,.35);
}

/* ---------- 商店（sp） ---------- */
.sp-sec {
  margin: 10px 10px 6px; padding: 3px 12px;
  border-radius: 8px; text-align: left;
  font-size: 13px; font-weight: 900; letter-spacing: 2px;
  border: 1.5px dashed rgba(255,255,255,.55);
}
.sp-sec-pack { background: linear-gradient(90deg, #8b5cf6, #6d3fd4); color: #f3eaff; }
.sp-sec-coin { background: linear-gradient(90deg, #9c6b30, #7c4c1f); color: #ffe9b8; }
.sp-pack {
  position: relative; display: flex; align-items: center; gap: 8px;
  margin: 0 10px 8px; padding: 8px;
  background: linear-gradient(180deg, #fffdf6, #ffefc9);
  border: 2.5px solid #b9834f; border-radius: 14px;
  box-shadow: 0 3px 0 #8a5a2a, 0 6px 12px rgba(0,0,0,.2);
}
.sp-pack-tag {
  position: absolute; top: -8px; right: 8px;
  background: #e84f4f; color: #fff;
  font-size: 10px; font-weight: 800; line-height: 16px;
  padding: 0 8px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.85);
  box-shadow: 0 2px 4px rgba(0,0,0,.3);
}
.sp-pack-img { width: 86px; flex: none; filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); }
.sp-pack-info { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.sp-pack-name { font-size: 14px; font-weight: 900; color: #7a4a12; }
.sp-pack-rws { display: flex; gap: 8px; }
.sp-pack-rw { position: relative; flex: none; }
.sp-pack-rw img {
  display: block; width: 40px; height: 40px; object-fit: contain;
  border-radius: 9px; background: linear-gradient(180deg, #fffdf5, #faeece);
  border: 2px solid #e0c078; box-shadow: 0 2px 4px rgba(0,0,0,.15);
}
.sp-pack-rw i {
  position: absolute; right: -7px; bottom: -5px; font-style: normal;
  padding: 0 5px; border-radius: 8px;
  font-size: 10px; font-weight: 800; line-height: 14px;
  color: #fff; background: #7c3a08;
  border: 1.5px solid rgba(255,255,255,.85);
  box-shadow: 0 1px 3px rgba(0,0,0,.35); white-space: nowrap;
}
.sp-pack-buy {
  margin-top: 2px; border: none; border-radius: 999px;
  padding: 5px 26px; font-size: 14px; font-weight: 900; color: #fff;
  background: linear-gradient(180deg, #8ede5f, #54b02e);
  box-shadow: 0 3px 0 #3d8a1e, 0 4px 8px rgba(0,0,0,.25);
  cursor: pointer;
}
.sp-pack-buy:active { transform: translateY(2px); box-shadow: 0 1px 0 #3d8a1e; }
.sp-buy-done, .sp-buy-done:active {
  background: linear-gradient(180deg, #c8c0b2, #a89f8e);
  box-shadow: 0 3px 0 #8a8172; cursor: default; transform: none;
}
.sp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin: 0 10px;
}
.sp-coin {
  display: flex; flex-direction: column; align-items: center;
  padding: 6px 4px 8px;
  background: linear-gradient(180deg, #fffdf6, #ffefc9);
  border: 2.5px solid #b9834f; border-radius: 12px;
  box-shadow: 0 3px 0 #8a5a2a, 0 5px 10px rgba(0,0,0,.18);
}
.sp-coin-img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0,0,0,.2)); }
.sp-coin-amt { font-size: 12px; font-weight: 900; color: #c47a10; margin: 2px 0 5px; }
.sp-coin-buy {
  border: none; border-radius: 999px; padding: 3px 14px;
  font-size: 12px; font-weight: 900; color: #fff;
  background: linear-gradient(180deg, #8ede5f, #54b02e);
  box-shadow: 0 2px 0 #3d8a1e; cursor: pointer;
}
.sp-coin-buy:active { transform: translateY(1px); box-shadow: 0 1px 0 #3d8a1e; }
.sp-tip { margin: 8px 12px 0; font-size: 10.5px; color: rgba(122,74,18,.75); text-align: center; }

/* ---------- 任务中心（tk） ---------- */
.tk-tabs { display: flex; gap: 8px; margin: 10px 12px 4px; }
.tk-tab {
  position: relative; flex: 1; border: none; border-radius: 10px;
  padding: 7px 0; font-size: 13.5px; font-weight: 900;
  color: #8a5a18; background: #e9d9b8;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.12); cursor: pointer;
}
.tk-tab-on {
  color: #7a4a12; background: linear-gradient(180deg, #ffd94d, #f5b52e);
  box-shadow: 0 2px 0 #c98f16, 0 3px 6px rgba(0,0,0,.2);
}
.tk-dot {
  position: absolute; top: -4px; right: -4px; width: 10px; height: 10px;
  border-radius: 50%; background: #e84f4f; border: 1.5px solid #fff;
}
.tk-sub { margin: 2px 14px 6px; font-size: 10.5px; color: rgba(122,74,18,.75); text-align: center; }
.tk-list {
  margin: 0 10px; height: 348px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 8px; padding-right: 2px;
}
.tk-list::-webkit-scrollbar { width: 5px; }
.tk-list::-webkit-scrollbar-thumb { background: #c9a06a; border-radius: 3px; }
.tk-row {
  flex: none; height: 84px; box-sizing: border-box;
  display: flex; align-items: center; gap: 8px; padding: 8px;
  background: linear-gradient(180deg, #fffdf6, #ffefc9);
  border: 2.5px solid #b9834f; border-radius: 13px;
  box-shadow: 0 3px 0 #8a5a2a, 0 5px 10px rgba(0,0,0,.16);
}
.tk-ico { position: relative; flex: none; }
.tk-ico img {
  display: block; width: 42px; height: 42px; object-fit: contain;
  border-radius: 9px; background: linear-gradient(180deg, #fffdf5, #faeece);
  border: 2px solid #e0c078; box-shadow: 0 2px 4px rgba(0,0,0,.15);
}
.tk-ico i {
  position: absolute; right: -8px; bottom: -5px; font-style: normal;
  padding: 0 4px; border-radius: 8px;
  font-size: 9.5px; font-weight: 800; line-height: 13px;
  color: #fff; background: #7c3a08;
  border: 1.5px solid rgba(255,255,255,.85);
  box-shadow: 0 1px 3px rgba(0,0,0,.35); white-space: nowrap;
}
.tk-mid { flex: 1; min-width: 0; }
.tk-name { font-size: 12.5px; font-weight: 900; color: #7a4a12; margin-bottom: 5px; }
.tk-bar {
  position: relative; height: 15px; border-radius: 999px;
  background: #e4d3ae; box-shadow: inset 0 2px 3px rgba(0,0,0,.15);
  overflow: hidden;
}
.tk-bar-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(180deg, #ffd94d, #f0a51e);
}
.tk-bar-t {
  position: absolute; inset: 0; text-align: center;
  font-size: 9.5px; font-weight: 800; line-height: 15px; color: #7a4a12;
}
.tk-btn {
  flex: none; border: none; border-radius: 999px; padding: 6px 14px;
  font-size: 12px; font-weight: 900; color: #fff;
  background: linear-gradient(180deg, #7db4f5, #4a86d8);
  box-shadow: 0 2px 0 #3563a8; cursor: pointer;
}
.tk-btn:disabled { opacity: .85; cursor: default; }
.tk-btn-ready {
  background: linear-gradient(180deg, #8ede5f, #54b02e);
  box-shadow: 0 2px 0 #3d8a1e;
}
.tk-btn-ready:active { transform: translateY(1px); box-shadow: 0 1px 0 #3d8a1e; }
.tk-btn-done {
  background: linear-gradient(180deg, #c8c0b2, #a89f8e);
  box-shadow: 0 2px 0 #8a8172;
}

/* ---------- 兑换商店（ex） ---------- */
.ex-own { display: flex; gap: 8px; justify-content: center; margin: 8px 10px 2px; }
.ex-pill {
  display: flex; align-items: center; gap: 4px;
  background: rgba(0,0,0,.12); border-radius: 999px; padding: 3px 12px 3px 4px;
  font-size: 12px; font-weight: 800; color: #7a4a12;
  border: 1.5px solid rgba(185,131,79,.5);
}
.ex-pill img { width: 18px; height: 18px; }
.ex-tip { margin: 4px 12px 8px; font-size: 10.5px; color: rgba(122,74,18,.8); text-align: center; }
.ex-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin: 0 10px;
}
.ex-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 4px 8px;
  background: linear-gradient(180deg, #fffdf6, #ffefc9);
  border: 2.5px solid #b9834f; border-radius: 12px;
  box-shadow: 0 3px 0 #8a5a2a, 0 5px 10px rgba(0,0,0,.18);
}
.ex-name { font-size: 11px; font-weight: 900; color: #7a4a12; margin-bottom: 4px; }
.ex-ico { position: relative; }
.ex-ico img {
  display: block; width: 44px; height: 44px; object-fit: contain;
  border-radius: 9px; background: linear-gradient(180deg, #fffdf5, #faeece);
  border: 2px solid #e0c078; box-shadow: 0 2px 4px rgba(0,0,0,.15);
}
.ex-ico i {
  position: absolute; right: -8px; bottom: -5px; font-style: normal;
  padding: 0 4px; border-radius: 8px;
  font-size: 9.5px; font-weight: 800; line-height: 13px;
  color: #fff; background: #7c3a08;
  border: 1.5px solid rgba(255,255,255,.85);
  box-shadow: 0 1px 3px rgba(0,0,0,.35); white-space: nowrap;
}
.ex-limit { font-size: 9px; color: rgba(122,74,18,.7); margin: 5px 0 4px; }
.ex-buy {
  display: flex; align-items: center; gap: 3px;
  border: none; border-radius: 999px; padding: 3px 10px;
  font-size: 11.5px; font-weight: 900; color: #fff;
  background: linear-gradient(180deg, #8ede5f, #54b02e);
  box-shadow: 0 2px 0 #3d8a1e; cursor: pointer;
}
.ex-buy img { width: 14px; height: 14px; }
.ex-buy:active { transform: translateY(1px); box-shadow: 0 1px 0 #3d8a1e; }
.ex-buy:disabled {
  background: linear-gradient(180deg, #c8c0b2, #a89f8e);
  box-shadow: 0 2px 0 #8a8172; cursor: default;
}

/* ---------- 个人信息（pf）v55 ---------- */
.modal-panel.pf-skin { position: relative; }
.pf-head {
  display: flex; align-items: center;
  background: linear-gradient(180deg, #a06a35, #7c4c1f);
  border-bottom: 2.5px solid #5e3712;
  padding: 8px 10px;
}
.pf-spacer { width: 30px; flex: none; }
.pf-title {
  flex: 1; text-align: center;
  font-size: 16px; font-weight: 900; color: #ffe9b8;
  text-shadow: 0 2px 0 rgba(0,0,0,.4); letter-spacing: 2px;
}
.pf-awning {
  height: 16px;
  background:
    radial-gradient(circle at 12px -4px, #e84f4f 11px, transparent 12px) 0 0/24px 16px repeat-x,
    radial-gradient(circle at 24px -4px, #fff6ea 11px, transparent 12px) 0 0/24px 16px repeat-x;
  border-bottom: 2px solid rgba(140,60,40,.35);
}
.pf-body { padding: 10px 10px 14px; gap: 8px; }
.pf-hero {
  display: flex; align-items: center; gap: 10px;
  padding: 10px;
  background: linear-gradient(180deg, #fffdf6, #ffefc9);
  border: 2.5px solid #b9834f; border-radius: 14px;
  box-shadow: 0 3px 0 #8a5a2a, 0 6px 12px rgba(0,0,0,.2);
}
.pf-avatar { width: 68px; height: 68px; flex: none; border-radius: 14px; overflow: hidden; border: 2.5px solid #7c4c1f; background: #ffe9b8; }
.pf-hero-r { flex: 1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pf-nickrow { display: flex; align-items: center; gap: 6px; }
.pf-nick { font-size: 17px; font-weight: 900; color: #5e3712; }
.pf-edit {
  border: none; background: transparent; cursor: pointer;
  font-size: 13px; padding: 2px; line-height: 1;
}
.pf-lvrow { display: flex; align-items: center; justify-content: space-between; }
.pf-lv-badge {
  background: #3a2410; color: #ffd94d;
  font-size: 11.5px; font-weight: 800;
  padding: 2px 9px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.35);
}
.pf-exp-num { font-size: 11.5px; font-weight: 800; color: #8a5a2a; }
.pf-expbar {
  height: 12px; border-radius: 999px;
  background: rgba(0,0,0,.22);
  border: 1.5px solid rgba(94,55,18,.5);
  overflow: hidden;
}
.pf-expfill {
  height: 100%; width: 0%;
  background: linear-gradient(180deg, #ffe066, #ffb520);
  border-radius: 999px;
  transition: width .3s ease;
}
.pf-card {
  padding: 8px 12px;
  background: linear-gradient(180deg, #fffdf6, #ffefc9);
  border: 2.5px solid #b9834f; border-radius: 14px;
  box-shadow: 0 3px 0 #8a5a2a, 0 6px 12px rgba(0,0,0,.2);
  display: flex; flex-direction: column;
}
.pf-sec {
  font-size: 13px; font-weight: 900; color: #7a4a12; letter-spacing: 2px;
  padding-bottom: 4px;
}
.pf-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1.5px dashed rgba(140,90,42,.35);
}
.pf-row:last-child { border-bottom: none; }
.pf-k { font-size: 13px; font-weight: 800; color: #8a5a2a; }
.pf-v { display: flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 900; color: #5e3712; }
.pf-v img { width: 18px; height: 18px; }
.pf-id span { font-size: 12px; font-weight: 800; color: #5e3712; }
.pf-copy {
  border: 1.5px solid #7c4c1f; border-radius: 8px;
  background: #fff6ea; color: #7c4c1f;
  font-size: 11px; font-weight: 800; padding: 2px 8px;
  cursor: pointer;
}
.pf-copy:active { transform: scale(.94); }
.pf-redeem { display: flex; gap: 8px; padding: 4px 0 2px; }
.pf-redeem input {
  flex: 1; min-width: 0;
  border: 2px solid #caa46a; border-radius: 10px;
  background: #fffdf6; padding: 7px 10px;
  font-size: 13px; color: #5e3712; outline: none;
}
.pf-redeem input:focus { border-color: #a06a35; }
.pf-redeem-btn {
  border: 2px solid #7c4c1f; border-radius: 10px;
  background: linear-gradient(180deg, #fff6ea, #ffe9b8);
  color: #7c4c1f; font-size: 13.5px; font-weight: 900;
  padding: 0 18px; cursor: pointer;
  box-shadow: 0 2px 0 #8a5a2a;
}
.pf-redeem-btn:active { transform: translateY(2px); box-shadow: none; }
.pf-links { display: flex; gap: 8px; }
.pf-link {
  flex: 1;
  border: 2px solid #7c4c1f; border-radius: 999px;
  background: linear-gradient(180deg, #fff6ea, #ffe9b8);
  color: #7c4c1f; font-size: 13px; font-weight: 900;
  padding: 6px 0; cursor: pointer;
  box-shadow: 0 2px 0 #8a5a2a;
}
.pf-link:active { transform: translateY(2px); box-shadow: none; }
.pf-logout { width: 100%; margin-top: 2px; }
/* 关闭按钮放大一圈（新按钮视觉更重） */
.modal-close { width: 32px; height: 32px; }

/* v95 活动焕新：VIP 已解锁标记 / 救济金条 / 充值加赠角标 / 签到VIP倍数 */
.vip-own { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 7px; font-size: 9px; line-height: 14px; background: #2f7d3a; color: #eaffea; vertical-align: 1px; }
.ck-vip-mult { color: #c05a10; }
.sp-coin-bonus { display: inline-block; margin-left: 3px; padding: 0 4px; border-radius: 6px; font-size: 9px; font-style: normal; background: #e84f4f; color: #fff; vertical-align: 1px; }
.sp-relief { display: flex; align-items: center; gap: 8px; margin: 8px 10px 0; padding: 8px 10px; border-radius: 12px; background: linear-gradient(180deg, #fff1d6, #ffe3c0); border: 2px solid #e8a34f; }
.sp-relief-l { flex: 1; min-width: 0; }
.sp-relief-t { font-size: 12px; font-weight: 800; color: #b3541e; }
.sp-relief-d { margin-top: 2px; font-size: 10.5px; color: #7a4a12; }
.sp-relief-d b { color: #c05a10; }
.sp-relief-btn { flex-shrink: 0; padding: 7px 12px; border: none; border-radius: 10px; cursor: pointer; font-size: 12px; font-weight: 800; color: #5b3a10; background: linear-gradient(180deg, #ffe27a, #ffb63d); box-shadow: 0 3px 0 #c07a1f; }
.sp-relief-btn:active { transform: translateY(2px); box-shadow: none; }
.sp-relief-btn:disabled { opacity: .45; filter: grayscale(.4); cursor: default; }

/* v96 修复：邮件未读红点锚定到底部导航邮件按钮（原 .nav-item 无定位，红点跑到大厅右上角） */
.nav-item { position: relative; }
.nav-item .mail-dot { top: 2px; right: calc(50% - 22px); }
/* v97 侧栏活动按钮红点（签到/任务等） */
.lobby-action { position: relative; }
.side-big .mail-dot { top: 4px; right: 4px; }

/* v97 房间内救济金弹窗 */
.relief-pop { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  background: rgba(20, 10, 0, 0.55); backdrop-filter: blur(2px); }
.relief-pop.hidden { display: none; }
.relief-inner { width: 250px; padding: 22px 18px 16px; text-align: center;
  background: #fff6ea; border: 3px solid #c9932f; border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.45), inset 0 1px 0 #fff; }
.relief-icon img { width: 64px; height: 64px; filter: drop-shadow(0 3px 6px rgba(201,147,47,.5)); }
.relief-title { margin-top: 6px; font-size: 19px; font-weight: 900; color: #b5321f; letter-spacing: 2px; }
.relief-desc { margin-top: 8px; font-size: 13px; color: #8a5a2a; line-height: 1.6; }
.relief-desc b { color: #f5a301; font-size: 15px; }
.relief-left { font-size: 11px; color: #b08a55; }
.relief-btns { margin-top: 14px; display: flex; gap: 10px; }
.relief-btn { flex: 1; padding: 9px 0; border-radius: 12px; border: none; font-size: 14px; font-weight: 800; cursor: pointer; }
.relief-claim-btn { background: linear-gradient(180deg,#ffd964,#f5a301); color: #5a3000;
  box-shadow: 0 3px 0 #b57600, 0 4px 8px rgba(0,0,0,.2); }
.relief-claim-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #b57600; }
.relief-giveup-btn { background: #e8dcc8; color: #8a7458; box-shadow: 0 3px 0 #c4b49a; }
.relief-giveup-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #c4b49a; }
/* v96 VIP 特权礼包限购标记 */
.vip-pack-tag { display: inline-block; margin-left: 6px; padding: 0 5px; border-radius: 6px; font-size: 9px; font-weight: 700; background: #e84f4f; color: #fff; vertical-align: 1px; }

/* v97 个人信息弹窗换新底框（与商店/任务/兑换同款：奶皮+木牌头+雨棚），内容全展示不滚动 */
.modal-panel.pf-skin { background: none; box-shadow: none; overflow: visible; max-height: none; width: min(92vw, 340px); }
.modal-panel.pf-skin .modal-body { padding: 0; gap: 0; }
.modal-panel.pf-skin .modal-body-scroll { overflow: visible; max-height: none; height: auto; }
.pf-wrap {
  background: linear-gradient(180deg, #fdf3dd 0%, #f7e6c4 100%);
  border: 3px solid #b9834f; border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.4);
  overflow: hidden; padding-bottom: 12px;
}
.pf-wrap .pf-body { padding: 10px 10px 4px; }

/* ===== v96 VIP 罗盘皮肤 ===== */
.vip-skin-row { display:flex; align-items:center; gap:10px; margin-top:8px; }
.vip-skin-thumb { width:64px; height:64px; border-radius:12px; background:radial-gradient(circle at 50% 40%, #3a2c1c, #241a10); border:2px solid #c99b4a; box-shadow:0 2px 8px rgba(0,0,0,.35); object-fit:contain; padding:4px; }
.vip-skin-thumb.small { width:48px; height:48px; border-radius:10px; }
.vip-skin-thumb.locked { filter:grayscale(1) brightness(.55); border-color:#6b5a3e; }
.vip-skin-ctl { display:flex; flex-direction:column; gap:6px; margin-left:auto; }
.vip-skin-lock { font-size:12px; color:#9b8563; }
.vip-skin-using { font-size:13px; color:#ffd94d; font-weight:700; text-shadow:0 1px 3px rgba(0,0,0,.5); }
.vip-skin-wear { border:none; border-radius:999px; padding:6px 16px; font-size:13px; font-weight:700; color:#5a3a10; background:linear-gradient(180deg,#ffe9a8,#f5c445); box-shadow:0 2px 0 #b8860b, 0 3px 8px rgba(0,0,0,.3); cursor:pointer; }
.vip-skin-wear:active { transform:translateY(1px); box-shadow:0 1px 0 #b8860b; }
.vip-skin-wear.off { background:linear-gradient(180deg,#e8dcc4,#cbb891); color:#6b5a3e; box-shadow:0 2px 0 #9b8563; }

/* ===== v103 金币飞达 +N 飘字 ===== */
.coin-gain-float {
  position: fixed; z-index: 4000; transform: translateX(-50%);
  font-size: 18px; font-weight: 900; color: #ffd94d;
  text-shadow: 0 2px 4px rgba(0,0,0,.6), 0 0 8px rgba(255,180,0,.5);
  pointer-events: none;
  animation: coinGainFloat 1.1s ease-out forwards;
}
@keyframes coinGainFloat {
  0% { opacity: 0; transform: translate(-50%, 6px) scale(.6); }
  15% { opacity: 1; transform: translate(-50%, 0) scale(1.15); }
  30% { transform: translate(-50%, -4px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -46px) scale(1); }
}

/* ===== v103 VIP 面板矮屏裁切修复 ===== */
.modal-panel.vip-skin { max-height: none; }
@media (max-height: 740px) {
  .modal-panel.vip-skin .vip-emblem { width: 150px; }
  .modal-panel.vip-skin .vip-main { height: 300px; }
}
@media (max-height: 620px) {
  .modal-panel.vip-skin .vip-emblem { width: 110px; }
  .modal-panel.vip-skin .vip-emblem-tag { font-size: 12px; }
  .modal-panel.vip-skin .vip-main { height: 250px; margin-top: 8px; }
}

/* ===== v103 房间图标按钮（自动/瞄准） ===== */
.room-icon-btn {
  width: 46px; height: 46px; min-width: 46px; padding: 7px;
  border-radius: 14px; cursor: pointer;
  background: linear-gradient(180deg, #ffd94d 0%, #ffb920 45%, #f59a00 100%);
  border: 2px solid #b86400;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.55), inset 0 -3px 0 rgba(176,90,0,.35), 0 4px 10px rgba(0,0,0,.35);
  transition: transform .15s ease, filter .15s ease;
}
.room-icon-btn img { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; }
.room-icon-btn:active { transform: scale(.94); filter: brightness(.95); }
.room-icon-btn.on {
  background: linear-gradient(180deg, #7ee89a 0%, #4ecf8a 45%, #2fb56e 100%);
  border-color: #1d8a52;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.5), inset 0 -3px 0 rgba(29,138,82,.35), 0 4px 10px rgba(0,0,0,.35);
}

/* ===== v103 结算页返回大厅图标按钮 ===== */
.btn-lobby-home { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn-lobby-home img { width: 20px; height: 20px; object-fit: contain; display: block; }

/* ===== v103 登录协议勾选 ===== */
.login-agree { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; font-size: 11px; line-height: 1.5; color: #9b8563; }
.login-agree input[type="checkbox"] { width: 14px; height: 14px; margin-top: 1px; flex-shrink: 0; accent-color: #f5a623; cursor: pointer; }
.login-agree a { color: #3f9dff; text-decoration: underline; cursor: pointer; }

/* ===== v103 协议弹窗 ===== */
.agree-panel { width: min(92vw, 420px); max-height: 80vh; display: flex; flex-direction: column; gap: 10px; }
.agree-body { flex: 1; overflow-y: auto; font-size: 12px; line-height: 1.7; color: #5a4a32; text-align: left; background: rgba(255,255,255,.55); border-radius: 10px; padding: 10px 12px; min-height: 200px; }
.agree-body h3 { font-size: 14px; margin: 6px 0; color: #7a4a12; }
.agree-body p { margin: 6px 0; }

/* ===== v103 直升武器通用皮肤（奶皮木框家族） ===== */
.modal-panel.bp-skin {
  background: linear-gradient(180deg,#fff8e8,#ffedc8);
  border: 3px solid #e8b98a; border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,.55);
  padding: 14px 12px 12px; width: min(92vw, 340px);
}
