/* 浏览器模拟钓鱼 */
.sim-body { background: #f0f5f2; min-height: 100vh; margin: 0; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }
.sim-header { display: flex; align-items: center; gap: 16px; background: #1fa87a; color: #fff; padding: calc(12px + env(safe-area-inset-top, 0px)) 22px 12px; }
.sim-header .logo { font-size: 20px; font-weight: bold; display: flex; align-items: center; gap: 8px; }
.sim-header .brand-logo { width: 30px; height: 30px; border-radius: 8px; }
.sim-header .admin-entry { color: #d7f2e8; text-decoration: none; margin-left: auto; }
.sim-user { color: #eafaf3; font-size: 14px; }
.sim-main { max-width: 1280px; margin: 0 auto; padding: 24px 18px 60px; }
.sim-stage { background: #fff; border-radius: 16px; padding: 26px; margin-bottom: 22px; box-shadow: 0 2px 12px rgba(31, 168, 122, .08); }
.sim-stage h2 { margin: 0 0 10px; font-size: 21px; color: #134e3a; }
.sim-stage h3 { font-size: 16px; color: #146c52; margin: 0 0 12px; }
.muted { color: #8aa596; font-size: 13px; }
.center { text-align: center; }
.hidden { display: none !important; }
.login-row { display: flex; gap: 12px; margin-top: 14px; }
.login-row input { flex: 1; padding: 12px 14px; border: 1px solid #cfe3da; border-radius: 10px; font-size: 16px; }

.ground-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 14px; }
.ground-item { border: 2px solid #e3efe9; border-radius: 12px; padding: 16px; cursor: pointer; transition: border-color .15s; }
.ground-item:hover { border-color: #1fa87a; }
.ground-item b { color: #134e3a; }
.ground-item .fee { color: #e67e22; font-weight: bold; }

.gear-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 12px; }
@media (max-width: 760px) { .gear-cols { grid-template-columns: 1fr; } }
.gear-col { background: #f8fbfa; border-radius: 12px; padding: 16px; }
.shop-item, .bag-item { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e3efe9; border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.shop-item .name, .bag-item .name { flex: 1; }
.shop-item .name small, .bag-item .name small { display: block; color: #8aa596; font-size: 12px; }
.price { color: #e67e22; font-weight: bold; }
.bag-item { cursor: pointer; }
.bag-item.on { border-color: #1fa87a; background: #e8f6ef; }
.bag-slot { font-size: 12px; color: #567; width: 44px; text-align: center; flex-shrink: 0; }
button { cursor: pointer; border: none; border-radius: 10px; padding: 10px 18px; font-size: 15px; }
.btn-primary { background: #1fa87a; color: #fff; }
.btn-warn { background: #e74c3c; color: #fff; font-weight: bold; animation: pulse 1s infinite; }
.btn-plain { background: #eef4f1; color: #146c52; }
.wide { width: 100%; margin-top: 14px; padding: 14px; font-size: 17px; }
@keyframes pulse { 50% { transform: scale(1.07); } }

.pond-wrap { position: relative; border-radius: 14px; overflow: hidden; margin-top: 12px; box-shadow: 0 6px 20px rgba(20,70,100,.25); }
.pond-wrap canvas { display: block; width: 100%; height: auto; }
.pond-msg { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #eaf6ff; font-size: 15px; text-shadow: 0 1px 3px rgba(0,0,0,.5); z-index: 5; pointer-events: none; }
.hydro { margin-top: 10px; color: #567; font-size: 13px; }
.hydro { margin-top: 10px; color: #567; font-size: 13px; }
.fish-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.catch-box { margin-top: 18px; background: #f8fbfa; border-radius: 12px; padding: 14px 16px; }
.catch-row { display: flex; gap: 14px; padding: 8px 0; border-bottom: 1px dashed #e3efe9; align-items: center; }
.catch-row .w { color: #e67e22; font-weight: bold; }

.co-card { border: 1px solid #e3efe9; border-radius: 12px; padding: 16px; margin-bottom: 14px; }
.co-line { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; }
.co-total { color: #e67e22; font-weight: bold; font-size: 16px; }
.co-addr { width: 100%; padding: 10px; border: 1px solid #cfe3da; border-radius: 8px; margin: 8px 0; box-sizing: border-box; }
.voucher-box { border: 2px dashed #1fa87a; border-radius: 14px; padding: 20px; text-align: center; background: #f2fbf7; }
.voucher-box .code { font-size: 30px; letter-spacing: 6px; color: #134e3a; font-weight: bold; margin: 8px 0; }
/* 战术调参 + 测算 */
.tactics { margin-top: 18px; background: #f4faf7; border: 1px solid #dceee5; border-radius: 12px; padding: 16px; }
.tac-row { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.tac-row label { font-size: 13px; color: #146c52; display: flex; flex-direction: column; gap: 6px; }
.tac-row select { padding: 9px 10px; border: 1px solid #cfe3da; border-radius: 8px; font-size: 14px; background: #fff; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip { background: #fff; border: 1px solid #cfe3da; border-radius: 20px; padding: 5px 14px; font-size: 13px; color: #146c52; }
.chip b { color: #e67e22; }
#preview-box { margin-top: 14px; background: #fff; border-radius: 10px; padding: 14px 16px; }
.pv-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; }
.pv-row .nm { width: 90px; color: #134e3a; }
.pv-bar { flex: 1; height: 14px; background: #eef4f1; border-radius: 7px; overflow: hidden; }
.pv-bar i { display: block; height: 100%; background: linear-gradient(90deg, #1fa87a, #66cdaa); border-radius: 7px; }
.pv-pct { width: 120px; text-align: right; color: #8aa596; font-size: 12px; }
.pv-sum { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #dceee5; color: #567; font-size: 13px; }

/* ===== v7.5 鱼竿旁调参面板 / 蓄力条 / 溜鱼区 ===== */
.pond-wrap { position: relative; }
.rod-panel {
  position: absolute; top: 12px; right: 12px; width: 230px;
  background: rgba(255, 255, 255, .92); border: 1px solid #cfe3da; border-radius: 12px;
  padding: 12px 14px; box-shadow: 0 4px 14px rgba(0, 40, 30, .18); backdrop-filter: blur(3px);
}
.rp-row { display: flex; align-items: center; gap: 8px; margin: 8px 0; font-size: 13px; }
.rp-info { color: #146c52; font-weight: bold; justify-content: center; background: #eef7f2; border-radius: 8px; padding: 6px; }
.rp-label { color: #567; white-space: nowrap; }
.rp-val { color: #134e3a; font-weight: bold; min-width: 42px; text-align: right; }
.rp-row input[type=range] { flex: 1; accent-color: #1fa87a; }
.rp-btn { padding: 2px 10px; font-size: 14px; line-height: 1.4; }

#gauge-wrap {
  display: flex; align-items: center; gap: 10px; margin: 12px 0;
  background: #fff8ee; border: 1px solid #f2ddb8; border-radius: 12px; padding: 10px 14px;
}
#gauge-label { font-size: 14px; color: #a05a10; font-weight: bold; white-space: nowrap; }
.gauge { position: relative; flex: 1; height: 18px; background: #f4ead8; border-radius: 9px; overflow: hidden; }
.gauge-zone { position: absolute; left: 55%; width: 30%; top: 0; bottom: 0; background: rgba(31, 168, 122, .25); border-left: 1px dashed #1fa87a; border-right: 1px dashed #1fa87a; }
.gauge-fill { height: 100%; width: 0; background: linear-gradient(90deg, #f5b445, #e67e22); border-radius: 9px; transition: none; }
#gauge-val { width: 44px; text-align: right; color: #a05a10; font-weight: bold; font-size: 14px; }

/* v7.33 溜鱼区悬浮于水塘动画中央：边看重力条边在动画上画圈收线 */
#fight-wrap {
  position: absolute; inset: 0; z-index: 8;
  margin: 0; padding: 12px 16px;
  background: rgba(6, 28, 38, .60);
  display: flex; flex-direction: column; justify-content: center;
  overflow: auto;
}
#fight-wrap .fight-title { color: #eaf6ff; text-align: center; }
#fight-wrap .fight-bar { color: #cfe3ee; }
#fight-wrap .bar { background: rgba(255, 255, 255, .18); }
#fight-wrap .bar-zone { background: rgba(80, 220, 160, .35); }
#fight-wrap .tension-kg { color: #ffd97a; }
#fight-wrap .stamina-lb { color: #9fe8ff; }
#fight-wrap .dial-hint { color: #cfe3ee; }
.fight-title { font-size: 14px; color: #1a5276; font-weight: bold; margin-bottom: 10px; }
.fight-bar { display: flex; align-items: center; gap: 10px; margin: 8px 0; font-size: 13px; color: #567; }
.fight-bar > span { width: 34px; }
.bar { position: relative; flex: 1; height: 16px; background: #e6eef7; border-radius: 8px; overflow: hidden; }
.bar-zone { position: absolute; left: 35%; width: 40%; top: 0; bottom: 0; background: rgba(31, 168, 122, .25); border-left: 1px dashed #1fa87a; border-right: 1px dashed #1fa87a; }
.bar-fill { height: 100%; width: 0; border-radius: 8px; }
.bar-fill.tension { background: linear-gradient(90deg, #5dade2, #e74c3c); }
.bar-fill.progress { background: linear-gradient(90deg, #1fa87a, #66cdaa); }
.fight-actions { display: flex; gap: 10px; margin-top: 10px; }
.fish-actions small { display: block; font-size: 11px; font-weight: normal; opacity: .8; }

/* ===== v7.7 我的兑换凭证 / 客诉 ===== */
.ex-title { margin: 22px 0 10px; color: #134e3a; }
.ex-row-u { background: #fff; border: 1px solid #e3ede8; border-radius: 10px; padding: 10px 14px; margin: 8px 0; font-size: 14px; color: #134e3a; }
.ex-act-u { margin-top: 6px; display: flex; gap: 8px; align-items: center; }
.dp-reason { padding: 6px 8px; border: 1px solid #cfe3da; border-radius: 8px; font-size: 13px; }
.dp-st { padding: 2px 8px; border-radius: 10px; font-size: 12px; }
.dp-open { background: #fff3e0; color: #e67e22; }
.dp-resolved_refund { background: #ffebee; color: #c62828; }
.dp-resolved_reject { background: #f5f5f5; color: #757575; }

/* ===== v7.9 装备页布局：五槽卡片 + 商城网格 + 钓点开局条 ===== */
.gear-bag { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 10px 0 18px; }
.slot-card { background: #f8fbfa; border: 1px solid #e3efe9; border-radius: 12px; padding: 10px 12px; }
.slot-card.empty { border-style: dashed; }
.slot-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.slot-name { font-size: 13px; font-weight: bold; color: #134e3a; background: #e8f6ef; border-radius: 8px; padding: 3px 10px; }
.slot-items { display: flex; flex-direction: column; gap: 6px; }
.slot-item { background: #fff; border: 1px solid #e3efe9; border-radius: 8px; padding: 6px 10px; font-size: 13px; color: #146c52; cursor: pointer; display: flex; justify-content: space-between; gap: 6px; align-items: center; }
.slot-item small { color: #8aa596; }
.slot-item.on { border-color: #1fa87a; background: #e8f6ef; font-weight: bold; }

.shop-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.shop-bar h3 { margin: 0; }
.shop-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.sf-chip { background: #eef4f1; color: #146c52; border-radius: 16px; padding: 5px 14px; font-size: 13px; }
.sf-chip.on { background: #1fa87a; color: #fff; }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-top: 12px; }
.shop-card { background: #fff; border: 1px solid #e3efe9; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.sc-top { display: flex; justify-content: space-between; align-items: center; }
.sc-cat { font-size: 11px; color: #1fa87a; background: #e8f6ef; border-radius: 8px; padding: 2px 8px; }
.sc-name { font-size: 14px; font-weight: bold; color: #134e3a; }
.sc-attrs { font-size: 12px; color: #8aa596; min-height: 16px; word-break: break-all; }
.sc-buy { padding: 7px 0; font-size: 13px; }

.start-bar { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-top: 18px; background: #f4faf7; border: 1px solid #dceee5; border-radius: 12px; padding: 14px 16px; }
.sb-spot { font-size: 13px; color: #146c52; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 220px; }
.sb-spot select { padding: 10px; border: 1px solid #cfe3da; border-radius: 8px; font-size: 14px; background: #fff; }
.start-bar .btn-primary { padding: 12px 26px; font-size: 16px; }

.rp-wide { width: 100%; padding: 7px 0; font-size: 13px; }
#stage-fish .chips { margin-top: 10px; }
#stage-fish #preview-box { margin-top: 10px; background: #f8fbfa; border: 1px solid #dceee5; border-radius: 10px; padding: 12px 16px; }

/* ===== v7.9.1 装备下拉选择 + 垂钓面板装备显示 ===== */
.gear-sel { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 16px; margin: 12px 0 18px; }
.gs-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #146c52; }
.gs-name { width: 42px; text-align: right; font-weight: bold; color: #134e3a; flex-shrink: 0; }
.gs-sel { flex: 1; padding: 10px 12px; border: 1px solid #cfe3da; border-radius: 10px; font-size: 14px; background: #fff; color: #134e3a; }
.gs-sel:disabled { color: #a7bcb1; background: #f4f7f5; }
.gs-sel:not(:disabled) { cursor: pointer; border-color: #b9d8ca; }

.rod-panel { z-index: 6; width: 260px; }
.rp-gear { font-size: 11px; color: #567; line-height: 1.6; background: #f6faf8; border-radius: 8px; padding: 6px 8px; margin: 4px 0 6px; word-break: break-all; }

/* ===== v7.9.2 三栏垂钓布局 + 吸顶菜单 + 我的渔获 ===== */
.sim-header { position: sticky; top: 0; z-index: 50; }

.fish-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.fish-head h2 { margin: 0; }

/* ===== v7.31 竖屏（APP/手机竖持）适配：防竖排挤压 ===== */
@media (max-width: 640px) {
  .fish-head { flex-wrap: wrap; gap: 8px; }
  .fish-head h2 { width: 100%; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fish-head .countdown { font-size: 14px; padding: 4px 12px; }
  .fish-head button {
    white-space: nowrap; font-size: 13px; padding: 6px 12px;
    flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis;
  }
  /* 竖屏下三栏已叠为单栏（见下），侧栏内容横向排布更紧凑 */
  .side-panel { padding: 10px 12px; }
  .fish-actions { flex-wrap: wrap; }
  .fish-actions button { flex: 1 1 40%; white-space: nowrap; }
}

.fish-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr) 270px; gap: 14px; align-items: start; }
@media (max-width: 1080px) { .fish-layout { grid-template-columns: 1fr; } }

.side-panel { background: #f8fbfa; border: 1px solid #e3efe9; border-radius: 12px; padding: 12px 14px; }
.sp-block { margin-bottom: 14px; }
.sp-block:last-child { margin-bottom: 0; }
/* v7.39 点标题折叠（HUD 与堆叠模式通用） */
.sp-block.collapsed > *:not(.sp-title) { display: none; }
.sp-title { font-size: 13px; font-weight: bold; color: #134e3a; margin-bottom: 8px; border-left: 3px solid #1fa87a; padding-left: 8px; }

.env-row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed #e3efe9; font-size: 13px; }
.env-row:last-child { border-bottom: none; }
.env-k { color: #8aa596; }
.env-v { color: #134e3a; font-weight: bold; text-align: right; max-width: 160px; }

.sp-chips .chip { font-size: 12px; padding: 4px 10px; }

#mini-map { display: block; width: 100%; height: auto; background: #eaf4ee; border-radius: 8px; border: 1px solid #dceee5; }
.mm-legend { font-size: 11px; margin-top: 4px; }

.rp-gear { font-size: 12px; }

/* 我的渔获 */
.profile-box { background: #f8fbfa; border: 1px solid #e3efe9; border-radius: 12px; padding: 12px 16px; margin: 12px 0 16px; }
.pb-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: #134e3a; }
.pb-refresh { padding: 4px 12px; font-size: 12px; }
.pb-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
.pb-table th { text-align: left; color: #8aa596; font-weight: normal; padding: 4px 8px; border-bottom: 1px solid #dceee5; }
.pb-table td { padding: 5px 8px; border-bottom: 1px dashed #eef4f1; color: #146c52; }

/* ===== v7.9.3 商城购买行（数量选择） ===== */
.sc-buyrow { display: flex; gap: 8px; margin-top: 2px; }
.sc-qty { flex: 0 0 72px; padding: 7px 6px; border: 1px solid #cfe3da; border-radius: 8px; font-size: 13px; background: #fff; color: #146c52; }
.sc-buy { flex: 1; padding: 7px 0; font-size: 13px; }
.price small { font-weight: normal; font-size: 11px; }

/* ===== v7.9.4 按小时计费+倒计时+换钓点+体感 ===== */
.sb-fee { font-size: 14px; font-weight: 700; color: #c0392b; padding-bottom: 10px; }
.countdown { font-size: 16px; font-weight: 700; color: #146c52; background: #eaf6f0; border: 1px solid #bfe3d2; padding: 6px 14px; border-radius: 999px; }
.countdown.warn { color: #b26a00; background: #fdf3e0; border-color: #f0d9a8; }
.countdown.danger { color: #c0392b; background: #fdeaea; border-color: #f2b8b8; animation: cd-blink 1s infinite; }
@keyframes cd-blink { 50% { opacity: 0.55; } }
.rp-select { flex: 1; padding: 6px 4px; border: 1px solid #cfe3da; border-radius: 8px; font-size: 13px; background: #fff; color: #146c52; }
#btn-motion.on { color: #146c52; border-color: #6fbf9a; background: #eaf6f0; }

/* ===== v7.9.6 溜鱼实时拉力 ===== */
.tension-kg { margin-left: 10px; font-size: 14px; color: #c0392b; min-width: 90px; }

/* v7.10 开钓须知弹窗 + 入护上限 */
.modal-mask { position: fixed; inset: 0; background: rgba(15,30,25,.45); display: flex; align-items: center; justify-content: center; z-index: 200; }
.modal { background: #fff; border-radius: 12px; padding: 20px 24px; max-width: 560px; width: 92%; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.modal h3 { margin: 0 0 12px; font-size: 17px; }
.terms-body { max-height: 320px; overflow-y: auto; font-size: 13.5px; line-height: 1.75; color: #333; border: 1px solid #e3e8e4; border-radius: 8px; padding: 10px 14px; background: #f7faf8; }
.terms-body b { color: #1a7a4a; }
.terms-agree { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 4px; font-size: 13.5px; cursor: pointer; }
.terms-agree input { margin-top: 3px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.keep-cap { font-size: 12.5px; color: #7a6a3a; margin: 2px 0 6px; }
.keep-cap.over { color: #c0392b; font-weight: 700; }

/* ============ v7.18 横屏游戏模拟器 + 转圈收线盘 ============ */
#stage-fish.fish-full {
  position: fixed; inset: 0; z-index: 300;
  background: #0d2b33; border-radius: 0; margin: 0;
  overflow-y: auto; padding: 12px 16px;
}
#stage-fish.fish-full .fish-head h2 { color: #eaf6f0; }
#stage-fish.fish-full .fish-head .muted { color: #9ab8ac; }
#stage-fish.fish-full .fish-layout { grid-template-columns: 230px minmax(0, 1fr) 250px; height: calc(100vh - 130px); align-items: stretch; }
#stage-fish.fish-full .side-panel { overflow-y: auto; background: rgba(248, 251, 250, .96); }
#stage-fish.fish-full .pond-center { display: flex; flex-direction: column; }
#stage-fish.fish-full .pond-wrap { flex: 1; min-height: 0; margin-top: 0; }
#stage-fish.fish-full .pond-wrap canvas { width: 100%; height: 100%; object-fit: contain; background: #08222b; }
#stage-fish.fish-full .catch-box { background: rgba(255,255,255,.95); }
#stage-fish.fish-full .sp-env, #stage-fish.fish-full .rp-gear, #stage-fish.fish-full .rp-row { color: #33544a; }

.rotate-tip {
  position: sticky; top: 0; z-index: 10;
  background: linear-gradient(135deg, #ffb020, #ff8f3d); color: #4a2c00;
  border-radius: 12px; padding: 10px 16px; margin-bottom: 10px;
  font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 12px; justify-content: center;
}
.rotate-tip.hidden { display: none; }

/* 收线盘 */
.dial-row { display: flex; align-items: center; gap: 18px; margin: 12px 0 4px; }
.reel-dial {
  position: relative; width: 168px; height: 168px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2b5a6b, #12333f 70%);
  box-shadow: 0 8px 24px rgba(0,0,0,.45), inset 0 2px 8px rgba(255,255,255,.15);
  touch-action: none; user-select: none; cursor: grab; flex-shrink: 0;
}
.reel-dial:active { cursor: grabbing; }
.dial-face {
  position: absolute; inset: 14px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255,255,255,.12) 0deg 10deg, transparent 10deg 30deg);
  border: 2px dashed rgba(255,255,255,.25);
}
.dial-knob {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd97a, #c98a1b);
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  box-shadow: 0 4px 10px rgba(0,0,0,.4), inset 0 2px 4px rgba(255,255,255,.5);
  pointer-events: none;
}
.dial-hint {
  position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%);
  width: 200px; text-align: center; font-size: 11px; color: #7fa8b8; line-height: 1.5; white-space: nowrap;
}
.dial-side { display: flex; flex-direction: column; gap: 10px; }
.dial-side .btn-primary small, .dial-side .btn-plain small { font-weight: 400; }

.bar-fill.stamina { background: linear-gradient(90deg, #f39c12, #f7c56b); }
.stamina-lb { font-size: 12px; color: #a06a10; min-width: 92px; text-align: right; }
.fight-title { font-size: 13px; color: #33544a; font-weight: 600; margin-bottom: 4px; }
.fight-title b { color: #18a058; }

/* ============ v7.39 游戏 HUD（≥641px）：动画铺满全屏，按键/信息全部悬浮其上 ============ */
@media (min-width: 641px) {
  #stage-fish.fish-full { overflow: hidden; padding: 0; }
  /* 顶栏：一条渐变透明带，一排小圆键，不再换行挤占 */
  #stage-fish.fish-full .fish-head {
    position: absolute; top: 0; left: 0; right: 0; z-index: 40;
    display: flex; flex-wrap: nowrap; align-items: center; gap: 8px;
    background: linear-gradient(180deg, rgba(6,24,31,.9) 0%, rgba(6,24,31,.5) 65%, transparent 100%);
    padding: 8px 12px; margin: 0;
  }
  #stage-fish.fish-full .fish-head h2 {
    flex: 0 1 auto; min-width: 0; margin: 0; font-size: 16px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff;
  }
  #stage-fish.fish-full .fish-head .muted { color: #9ab8ac; }
  #stage-fish.fish-full .fish-head button {
    flex: none; white-space: nowrap; font-size: 12px; padding: 6px 11px;
    background: rgba(255,255,255,.14); color: #eaf6f0;
    border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
  }
  #stage-fish.fish-full .fish-head .countdown { flex: none; font-size: 13px; padding: 5px 12px; }
  /* 动画区绝对铺满整个屏幕 */
  #stage-fish.fish-full .fish-layout { display: block; position: relative; width: 100%; height: 100%; }
  #stage-fish.fish-full .pond-center { position: absolute; inset: 0; display: block; }
  #stage-fish.fish-full .pond-wrap { position: absolute; inset: 0; height: auto; margin: 0; }
  #stage-fish.fish-full .pond-wrap canvas { width: 100%; height: 100%; object-fit: cover; }
  /* 左上：塘口环境悬浮卡 */
  #stage-fish.fish-full .fish-layout > aside:first-of-type {
    position: absolute; left: 10px; top: 56px; z-index: 30;
    width: 214px; max-height: calc(100% - 190px); overflow-y: auto;
    background: rgba(8,30,38,.74); border: 1px solid rgba(255,255,255,.2); border-radius: 14px;
    padding: 10px 12px; backdrop-filter: blur(3px);
  }
  /* 右上：装备/战术悬浮卡 */
  #stage-fish.fish-full .fish-layout > aside:last-of-type {
    position: absolute; right: 10px; top: 56px; z-index: 30;
    width: 238px; max-height: calc(100% - 190px); overflow-y: auto;
    background: rgba(8,30,38,.74); border: 1px solid rgba(255,255,255,.2); border-radius: 14px;
    padding: 10px 12px; backdrop-filter: blur(3px);
  }
  /* 悬浮卡文字配色（v7.40 起整卡滑出收起，标题不再单独折叠） */
  #stage-fish.fish-full .sp-title { color: #ffd97a; border-left-color: #ffd97a; user-select: none; margin-bottom: 6px; }
  #stage-fish.fish-full .sp-title::after { content: none; }
  #stage-fish.fish-full .env-row { border-bottom-color: rgba(255,255,255,.1); font-size: 12px; padding: 3px 0; }
  #stage-fish.fish-full .env-k { color: #9ab8ac; }
  #stage-fish.fish-full .env-v { color: #fff; max-width: none; }
  #stage-fish.fish-full .sp-env { display: block; }
  #stage-fish.fish-full .rp-gear, #stage-fish.fish-full .rp-row { color: #d9ece4; font-size: 12px; }
  /* v7.43 修复泛白：默认浅色底盒/下拉框换成深色半透明，文字保持浅色高对比 */
  #stage-fish.fish-full .rp-gear, #stage-fish.fish-full .rp-info {
    background: rgba(255,255,255,.08); color: #eaf6f0 !important;
    border: 1px solid rgba(255,255,255,.14); border-radius: 8px;
  }
  #stage-fish.fish-full .rp-select {
    background: rgba(10,36,46,.92); color: #eaf6f0;
    border-color: rgba(255,255,255,.3);
  }
  #stage-fish.fish-full .rp-select option { background: #0b2530; color: #eaf6f0; }
  #stage-fish.fish-full .rp-val { color: #fff; }
  #stage-fish.fish-full .rp-btn {
    background: rgba(255,255,255,.12); color: #eaf6f0;
    border: 1px solid rgba(255,255,255,.25); border-radius: 8px;
  }
  #stage-fish.fish-full input[type="range"] { accent-color: #2bc48e; width: 100%; }
  #stage-fish.fish-full .rp-wide { background: rgba(43,196,142,.18); color: #7fe7bd; border: 1px solid rgba(43,196,142,.4); border-radius: 8px; }
  #stage-fish.fish-full #preview-box { background: rgba(8,30,38,.85); border-color: rgba(255,255,255,.18); color: #d9ece4; }
  /* 左侧信息行微调：标签不再贴边、数值醒目 */
  #stage-fish.fish-full .env-row { gap: 6px; }
  #stage-fish.fish-full .env-k { flex-shrink: 0; }
  #stage-fish.fish-full .env-v { font-weight: 600; }
  #stage-fish.fish-full .fish-layout > aside:first-of-type { left: 12px; }
  #stage-fish.fish-full .rp-label { color: #9ab8ac; }
  #stage-fish.fish-full #mini-map { width: 100%; border-color: rgba(255,255,255,.2); }
  #stage-fish.fish-full .mm-legend { color: #9ab8ac; font-size: 10px; }
  #stage-fish.fish-full .sp-chips .chip { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #eaf6f0; }
  /* v7.40 滑出式收起：整卡滑向屏边，留 30px 把手条，点把手展开 */
  #stage-fish.fish-full .hud-panel { transition: transform .3s cubic-bezier(.4,0,.2,1); }
  #stage-fish.fish-full .hud-left.tucked { transform: translateX(calc(-100% + 30px)); }
  #stage-fish.fish-full .hud-right.tucked { transform: translateX(calc(100% - 30px)); }
  .hud-tuck {
    position: absolute; top: 8px; right: 6px; z-index: 6;
    width: 24px; height: 24px; border-radius: 50%; padding: 0; cursor: pointer;
    background: rgba(255,255,255,.18); color: #eaf6f0; border: 1px solid rgba(255,255,255,.4);
    font-size: 12px; line-height: 1;
  }
  #stage-fish.fish-full .hud-right .hud-tuck { left: 6px; right: auto; }
  .hud-tuck.mini { position: static; width: 20px; height: 20px; font-size: 10px; }
  /* 鱼护：底部中央小悬浮条（v7.40 可折叠成一行摘要） */
  #stage-fish.fish-full .catch-box {
    position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 30;
    width: auto; max-width: 330px; max-height: 38vh; overflow-y: auto; padding: 7px 14px;
    font-size: 11.5px; text-align: center;
    background: rgba(8,30,38,.74); color: #eaf6f0;
    border: 1px solid rgba(255,255,255,.2); border-radius: 12px; backdrop-filter: blur(3px);
    transition: max-height .25s ease, padding .25s ease;
  }
  #stage-fish.fish-full .catch-box.tucked { max-height: 30px; padding: 4px 12px; overflow: hidden; }
  #stage-fish.fish-full .catch-box.tucked #catch-list { display: none; }
  #stage-fish.fish-full .catch-box.tucked .keep-cap { margin: 0; white-space: nowrap; font-size: 11px; }
  #stage-fish.fish-full .cb-head { display: flex; align-items: center; justify-content: center; gap: 8px; }
  #stage-fish.fish-full .cb-head b { color: #ffd97a; }
  #stage-fish.fish-full .keep-cap { color: #cfe3da; margin: 1px 0 3px; }
  /* 操作键：底部悬浮大圆键（吃鸡手游风）——左抛竿、右收竿 */
  #stage-fish.fish-full .fish-actions {
    position: absolute; left: 0; right: 0; bottom: 12px; z-index: 35;
    display: flex; align-items: flex-end; gap: 12px; padding: 0 18px; margin: 0;
    background: none; border: none; flex-wrap: nowrap;
  }
  /* ============ v7.52 溜鱼面板紧凑悬浮：不再铺满屏幕 ============ */
  #stage-fish.fish-full #fight-wrap {
    inset: auto; left: 50%; bottom: 126px; transform: translateX(-50%);
    width: min(430px, 72vw); padding: 10px 14px 12px; overflow: visible;
    display: block; z-index: 34;
    background: rgba(8,30,38,.82); border: 1px solid rgba(255,255,255,.2);
    border-radius: 14px; backdrop-filter: blur(4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.45);
  }
  #stage-fish.fish-full #fight-wrap .fight-title { font-size: 12px; margin-bottom: 6px; color: #d9ece4; }
  #stage-fish.fish-full #fight-wrap .fight-title b { color: #7fe7bd; }
  #stage-fish.fish-full #fight-wrap .fight-bar { margin: 5px 0; font-size: 11px; gap: 6px; }
  #stage-fish.fish-full #fight-wrap .fight-bar > span { width: 30px; }
  #stage-fish.fish-full #fight-wrap .bar { height: 9px; }
  #stage-fish.fish-full #fight-wrap .tension-kg, #stage-fish.fish-full #fight-wrap .stamina-lb { font-size: 11px; min-width: 74px; }
  #stage-fish.fish-full #fight-wrap .dial-row { margin: 9px 0 0; gap: 14px; justify-content: center; }
  #stage-fish.fish-full .reel-dial { width: 118px; height: 118px; }
  #stage-fish.fish-full .dial-face { inset: 10px; }
  #stage-fish.fish-full .dial-knob { width: 46px; height: 46px; margin: -23px 0 0 -23px; font-size: 20px; }
  #stage-fish.fish-full .dial-hint { display: none; } /* 操作提示已写在标题里，避免重复占屏 */
  #stage-fish.fish-full #fight-wrap .dial-side { gap: 8px; }
  #stage-fish.fish-full #fight-wrap .dial-side button { font-size: 12px; padding: 6px 10px; }
  #stage-fish.fish-full .fish-actions button {
    flex: none; width: 72px; height: 72px; border-radius: 50%;
    background: rgba(14,44,54,.82); color: #eaf6f0;
    border: 2px solid rgba(255,255,255,.4); box-shadow: 0 6px 18px rgba(0,0,0,.45);
    font-size: 13px; line-height: 1.2; padding: 4px; backdrop-filter: blur(3px);
  }
  #stage-fish.fish-full .fish-actions button small { display: block; font-size: 10px; opacity: .75; }
  #stage-fish.fish-full .fish-actions #btn-cast {
    width: 106px; height: 106px; font-size: 17px; font-weight: 800;
    background: radial-gradient(circle at 35% 30%, rgba(46,204,150,.95), rgba(13,100,72,.95));
    border-color: rgba(255,255,255,.6);
  }
  #stage-fish.fish-full .fish-actions #btn-strike {
    width: 106px; height: 106px; font-size: 17px; font-weight: 800; color: #fff;
    background: radial-gradient(circle at 35% 30%, rgba(255,176,60,.98), rgba(196,96,8,.98));
    border-color: rgba(255,255,255,.6);
  }
  #stage-fish.fish-full .fish-actions #btn-close { margin-left: auto; }
  /* 蓄力条：底部中央、按键上方悬浮 */
  #stage-fish.fish-full #gauge-wrap {
    position: absolute; left: 50%; transform: translateX(-50%); bottom: 128px; z-index: 34;
    width: min(42%, 360px); margin: 0; padding: 7px 12px;
    background: rgba(8,30,38,.72); border: 1px solid rgba(255,255,255,.2); border-radius: 12px;
    color: #fff; backdrop-filter: blur(3px);
  }
  #stage-fish.fish-full #gauge-wrap .gauge { background: rgba(255,255,255,.18); }
  /* 提示文字移到画面中下部，避开按键 */
  #stage-fish.fish-full .pond-msg { bottom: 44%; font-size: 14px; }
}
/* 窄屏（≤640px）保持 v7.38 堆叠布局：动画 → 环境 → 战术 */
@media (max-width: 640px) {
  #stage-fish.fish-full .fish-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "center" "left" "right";
  }
  #stage-fish.fish-full .fish-layout > aside:first-of-type { grid-area: left; }
  #stage-fish.fish-full .pond-center { grid-area: center; }
  #stage-fish.fish-full .fish-layout > aside:last-of-type { grid-area: right; }
  #stage-fish.fish-full .fish-head { position: sticky; top: 0; z-index: 20; background: #0d2b33; padding: 6px 0; margin-bottom: 6px; }
  #stage-fish.fish-full .pond-wrap { flex: none; height: 38vh; min-height: 200px; }
  #stage-fish.fish-full .side-panel { padding: 8px 10px; }
  #stage-fish.fish-full .sp-env { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
  #stage-fish.fish-full .env-row { padding: 3px 0; font-size: 12px; }
  #stage-fish.fish-full #mini-map { width: 60%; margin: 0 auto; }
  #stage-fish.fish-full .catch-box { padding: 8px 10px; }
}

/* ============ v7.19 中鱼展示 ============ */
.catch-show {
  position: absolute; inset: 0; z-index: 50;
  background: radial-gradient(ellipse at center, rgba(6,30,42,.55), rgba(4,20,30,.82));
  display: flex; align-items: center; justify-content: center;
}
.catch-show.hidden { display: none; }
.cs-card {
  background: linear-gradient(165deg, #ffffff, #eaf6ef);
  border: 3px solid #ffd97a; border-radius: 22px;
  padding: 26px 44px 24px; text-align: center; max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 40px rgba(255,217,122,.35);
  animation: csPop .45s cubic-bezier(.2, 1.4, .4, 1);
}
@keyframes csPop {
  0% { transform: scale(.4) rotate(-6deg); opacity: 0; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.cs-badge {
  display: inline-block; background: linear-gradient(135deg, #ffb020, #ff8f3d);
  color: #fff; font-weight: 800; font-size: 15px;
  padding: 4px 18px; border-radius: 20px; margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(255,143,61,.45);
}
.cs-img { width: 240px; height: 130px; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0,0,0,.3)); }
.cs-name { font-size: 26px; font-weight: 800; color: #134e3a; margin-top: 8px; }
.cs-weight { font-size: 20px; font-weight: 700; color: #d08000; margin: 4px 0 8px; }
.cs-attr { font-size: 12.5px; color: #6f9587; line-height: 1.8; }
.cs-actions { display: flex; gap: 14px; justify-content: center; margin-top: 16px; }

/* ===== v7.20 装备页改版：背包一览 / 开局条上移 / 支付弹窗 ===== */
.gear-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.bag-summary { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 62%; }
.bs-item { background: #f4faf7; border: 1px solid #dceee5; border-radius: 999px; padding: 4px 10px; font-size: 12px; color: #146c52; white-space: nowrap; }
.bs-item b { color: #0d4d3a; }
.bs-item.bs-low { background: #fff5f2; border-color: #f2c4b8; color: #c0392b; }
.bs-item.bs-low b { color: #c0392b; }
.bs-item.bs-empty { opacity: .55; border-style: dashed; }
.bs-points { background: #fff8e1; border: 1px solid #ecd9a0; border-radius: 999px; padding: 4px 10px; font-size: 12px; color: #8a6d1a; white-space: nowrap; }
/* 付费开局条上移至装备选择正下方，并轻微吸顶 */
.start-bar-top { position: sticky; top: 8px; z-index: 5; box-shadow: 0 2px 10px rgba(20, 108, 82, .12); margin-top: 4px; }
/* 支付方式弹窗 */
.pay-modal { max-width: 340px; text-align: center; }
.pay-amount { font-size: 18px; font-weight: 700; color: #c0392b; margin: 6px 0 14px; }
.pay-opts { display: flex; flex-direction: column; gap: 10px; }
.pay-opt { display: flex; align-items: center; gap: 10px; justify-content: flex-start; padding: 12px 16px; border: 1px solid #dceee5; border-radius: 12px; background: #fbfefd; font-size: 15px; cursor: pointer; color: #134; }
.pay-opt:hover { border-color: #1e9e6a; background: #f2fbf6; }
.pay-opt .po-icon { font-size: 20px; }
.pay-opt small { margin-left: auto; color: #9ab; }
@media (max-width: 640px) {
  .bag-summary { max-width: 100%; justify-content: flex-start; }
  .start-bar-top { position: static; }
}
.pay-opt small { margin-left: auto; color: #9ab; flex-shrink: 0; padding-left: 8px; }
.pay-opt { text-align: left; line-height: 1.3; }

/* ============ v7.51 HUD 细节美化：细滚动条 / 鱼护可点击 / 收起把手 ============ */
@media (min-width: 641px) {
  /* —— 细滚动条：半透明圆角，悬停加亮（WebKit） —— */
  #stage-fish.fish-full .hud-panel::-webkit-scrollbar,
  #stage-fish.fish-full .catch-box::-webkit-scrollbar { width: 5px; }
  #stage-fish.fish-full .hud-panel::-webkit-scrollbar-track,
  #stage-fish.fish-full .catch-box::-webkit-scrollbar-track { background: transparent; }
  #stage-fish.fish-full .hud-panel::-webkit-scrollbar-thumb,
  #stage-fish.fish-full .catch-box::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.26); border-radius: 4px;
  }
  #stage-fish.fish-full .hud-panel::-webkit-scrollbar-thumb:hover,
  #stage-fish.fish-full .catch-box::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.5); }
  /* Firefox 细滚动条 */
  #stage-fish.fish-full .hud-panel,
  #stage-fish.fish-full .catch-box {
    scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.32) transparent;
  }
  /* —— 收起把手：内容淡出只留把手条，不再漏字 —— */
  #stage-fish.fish-full .hud-panel > * { transition: opacity .18s ease; }
  #stage-fish.fish-full .hud-panel.tucked > *:not(.hud-tuck) { opacity: 0; pointer-events: none; }
  #stage-fish.fish-full .hud-panel.tucked { overflow: hidden; }
  /* 把手条本体做成圆角竖把手 */
  #stage-fish.fish-full .hud-left.tucked {
    border-radius: 0 14px 14px 0; border-left: none;
    background: linear-gradient(180deg, rgba(8,30,38,.9), rgba(8,30,38,.62) 50%, rgba(8,30,38,.9));
    box-shadow: 4px 0 14px rgba(0,0,0,.35);
  }
  #stage-fish.fish-full .hud-right.tucked {
    border-radius: 14px 0 0 14px; border-right: none;
    background: linear-gradient(180deg, rgba(8,30,38,.9), rgba(8,30,38,.62) 50%, rgba(8,30,38,.9));
    box-shadow: -4px 0 14px rgba(0,0,0,.35);
  }
  /* 左把手圆钮贴把手条右缘（可见侧），右把手贴左缘 */
  #stage-fish.fish-full .hud-left .hud-tuck { top: 50%; right: 2px; transform: translateY(-50%); margin: 0; background: rgba(43,196,142,.32); border-color: rgba(127,231,189,.6); }
  #stage-fish.fish-full .hud-right .hud-tuck { top: 50%; left: 2px; transform: translateY(-50%); margin: 0; background: rgba(43,196,142,.32); border-color: rgba(127,231,189,.6); }
  #stage-fish.fish-full .hud-tuck:hover { background: rgba(43,196,142,.6); }
  /* —— 鱼护：浮到操作键条之上，修复点击被整条拦截无法展开 —— */
  #stage-fish.fish-full .catch-box { z-index: 36; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
  /* 收起态整条都是点击区，箭头更明显 */
  #stage-fish.fish-full .catch-box.tucked .cb-head { padding: 1px 4px; }
  #stage-fish.fish-full .catch-box.tucked .hud-tuck.mini {
    width: 22px; height: 22px; font-size: 11px;
    background: rgba(255,217,122,.25); border-color: rgba(255,217,122,.55); color: #ffd97a;
  }
  /* 展开态鱼获行：深色悬浮卡内的行样式 */
  #stage-fish.fish-full .catch-row { border-bottom-color: rgba(255,255,255,.1); padding: 5px 0; font-size: 11.5px; }
  #stage-fish.fish-full .catch-row .w { color: #ffb020; }
  #stage-fish.fish-full #catch-list .muted { color: #9ab8ac; }
}

/* ============ v7.54 装备页游戏化：深色装备台界面 ============ */
#stage-gear {
  background: linear-gradient(160deg, #10333f, #0a232c 55%, #0d2b33);
  border: 1px solid rgba(255,255,255,.08); border-radius: 16px;
  padding: 20px 22px 24px; color: #d9ece4;
  box-shadow: 0 10px 30px rgba(6,30,42,.35);
}
#stage-gear h2, #stage-gear h3 { color: #eaf6f0; }
#stage-gear .muted { color: #8fb3a7; }

/* 背包一览：深色胶囊 */
#stage-gear .bag-summary { max-width: 100%; justify-content: flex-start; margin: 6px 0 4px; }
#stage-gear .bs-item {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  color: #d9ece4; border-radius: 999px; padding: 4px 12px; font-size: 12.5px;
}
#stage-gear .bs-item b { color: #7fe7bd; }
#stage-gear .bs-item.bs-low { border-color: rgba(255,120,90,.6); }
#stage-gear .bs-item.bs-low b { color: #ff8a66; }
#stage-gear .bs-points { background: rgba(255,217,122,.14); border: 1px solid rgba(255,217,122,.4); color: #ffd97a; border-radius: 999px; padding: 4px 12px; font-size: 12.5px; }

/* 五件套装备槽：深色槽位卡 + 顶部类别色条 + 图标 */
#stage-gear .gear-sel { gap: 12px; margin: 14px 0 16px; }
#stage-gear .gs-row {
  position: relative; display: flex; flex-direction: column; gap: 7px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px; padding: 13px 14px; overflow: hidden; margin: 0;
  transition: border-color .2s, box-shadow .2s;
}
#stage-gear .gs-row:hover { border-color: rgba(127,231,189,.45); box-shadow: 0 0 0 1px rgba(127,231,189,.15), 0 6px 16px rgba(0,0,0,.25); }
#stage-gear .gs-row::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #2bc48e; }
#stage-gear .gs-row:has(.gs-sel[data-cat="rod"])::before { background: linear-gradient(90deg, #e67e22, #f5b445); }
#stage-gear .gs-row:has(.gs-sel[data-cat="float"])::before { background: linear-gradient(90deg, #3fa7d6, #9fe8ff); }
#stage-gear .gs-row:has(.gs-sel[data-cat="bait"])::before { background: linear-gradient(90deg, #8e5bd0, #c9a2f5); }
#stage-gear .gs-row:has(.gs-sel[data-cat="hook"])::before { background: linear-gradient(90deg, #b8c4cc, #eef4f8); }
#stage-gear .gs-row:has(.gs-sel[data-cat="line"])::before { background: linear-gradient(90deg, #1fa87a, #7fe7bd); }
#stage-gear .gs-name { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: #ffd97a; }
#stage-gear .gs-row:has(.gs-sel[data-cat="rod"]) .gs-name::after { content: ' 🎣'; }
#stage-gear .gs-row:has(.gs-sel[data-cat="float"]) .gs-name::after { content: ' 🎈'; }
#stage-gear .gs-row:has(.gs-sel[data-cat="bait"]) .gs-name::after { content: ' 🪱'; }
#stage-gear .gs-row:has(.gs-sel[data-cat="hook"]) .gs-name::after { content: ' 🪝'; }
#stage-gear .gs-row:has(.gs-sel[data-cat="line"]) .gs-name::after { content: ' 🧵'; }
#stage-gear .gs-sel {
  width: 100%; padding: 8px 10px; font-size: 13px; border-radius: 8px;
  background: rgba(10,36,46,.92); color: #eaf6f0; border: 1px solid rgba(255,255,255,.28);
}
#stage-gear .gs-sel option { background: #0b2530; color: #eaf6f0; }
#stage-gear .gs-sel:disabled { opacity: .55; }

/* 付费开局条：深色横幅 + 金色费用 + 大 CTA */
#stage-gear .start-bar {
  background: rgba(43,196,142,.10); border: 1px solid rgba(43,196,142,.38);
  border-radius: 14px; padding: 14px 18px;
}
#stage-gear .start-bar .sb-spot { color: #9ab8ac; font-size: 12.5px; }
#stage-gear .start-bar select {
  background: rgba(10,36,46,.92); color: #eaf6f0;
  border: 1px solid rgba(255,255,255,.28); border-radius: 8px; padding: 8px 10px;
}
#stage-gear .start-bar .sb-fee { color: #ffd97a; font-size: 19px; font-weight: 800; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
#stage-gear .start-bar .btn-primary {
  padding: 13px 30px; font-size: 16px; font-weight: 800; letter-spacing: 1px;
  background: linear-gradient(135deg, #2ecc8f, #14935f);
  border: 1px solid rgba(255,255,255,.45); border-radius: 999px;
  box-shadow: 0 6px 18px rgba(20,147,95,.45);
}
#stage-gear .start-bar .btn-primary:disabled { opacity: .5; box-shadow: none; }

/* 装备商城：深色商品卡 */
#stage-gear .shop-bar h3 { border-left: 3px solid #2bc48e; padding-left: 10px; }
#stage-gear .sf-chip {
  background: rgba(255,255,255,.07); color: #cfe3da;
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 5px 14px; font-size: 12.5px;
}
#stage-gear .sf-chip.on { background: rgba(43,196,142,.22); color: #7fe7bd; border-color: rgba(43,196,142,.55); }
#stage-gear .shop-grid { gap: 12px; }
#stage-gear .shop-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 13px 14px; color: #d9ece4;
  transition: border-color .2s, transform .15s;
}
#stage-gear .shop-card:hover { border-color: rgba(255,217,122,.5); transform: translateY(-2px); }
#stage-gear .sc-cat {
  font-size: 11px; padding: 2px 9px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #cfe3da;
}
#stage-gear .sc-top .price { color: #ffd97a; font-size: 16px; font-weight: 800; }
#stage-gear .sc-top .price .muted { color: #8fb3a7; font-weight: 400; }
#stage-gear .sc-name { color: #fff; font-weight: 700; font-size: 14.5px; }
#stage-gear .sc-attrs { color: #8fb3a7; font-size: 12px; line-height: 1.5; min-height: 36px; }
#stage-gear .sc-qty {
  background: rgba(10,36,46,.92); color: #eaf6f0; flex: 1;
  border: 1px solid rgba(255,255,255,.28); border-radius: 8px; padding: 7px 8px; font-size: 13px;
}
#stage-gear .sc-buy {
  background: rgba(43,196,142,.2); color: #7fe7bd; flex: 1;
  border: 1px solid rgba(43,196,142,.5); border-radius: 8px; padding: 7px 10px; font-weight: 700;
}
#stage-gear .sc-buy:hover { background: rgba(43,196,142,.38); color: #fff; }
#stage-gear #gear-tip { color: #8fb3a7; }
#stage-gear .gs-name { display: flex; align-items: center; justify-content: center; gap: 5px; }
#stage-gear .gs-name { width: auto; flex-shrink: 1; }

/* ============ v7.55 装备组装卡（渔夫在线风：图标格+属性+耐久条） ============ */
#stage-gear .gs-card {
  display: flex; align-items: stretch; gap: 10px;
  background: rgba(6,22,28,.55); border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px; padding: 9px 10px;
}
#stage-gear .gs-card.empty { opacity: .6; }
#stage-gear .gs-icon {
  width: 52px; height: 52px; flex: none; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #234b58, #0d2830 75%);
  border: 1px solid rgba(255,255,255,.28); border-radius: 8px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.5), 0 2px 6px rgba(0,0,0,.35);
}
#stage-gear .gs-icon svg { width: 34px; height: 34px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
#stage-gear .gs-icon.dim svg { opacity: .45; }
#stage-gear .gs-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
#stage-gear .gs-spec {
  font-size: 11px; color: #9ab8ac; line-height: 1.45;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#stage-gear .gs-dur { position: relative; height: 14px; border-radius: 7px; background: rgba(255,255,255,.12); overflow: hidden; }
#stage-gear .gs-dur i {
  position: absolute; left: 0; top: 0; bottom: 0; border-radius: 7px;
  background: linear-gradient(90deg, #2bc48e, #7fe7bd);
  transition: width .3s;
}
#stage-gear .gs-dur.low i { background: linear-gradient(90deg, #e74c3c, #ff9a7a); }
#stage-gear .gs-dur b {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-weight: 700; color: #04202a; letter-spacing: .5px;
}
/* 商城卡图标格 */
#stage-gear .sc-icon {
  width: 34px; height: 34px; flex: none; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #234b58, #0d2830 75%);
  border: 1px solid rgba(255,255,255,.24); border-radius: 7px;
}
#stage-gear .sc-icon svg { width: 23px; height: 23px; }
#stage-gear .sc-top { gap: 8px; justify-content: flex-start; }
#stage-gear .sc-top .price { margin-left: auto; }

/* ============ v7.57 游戏进场：Logo 加载动画 + 游戏模拟器外壳 ============ */
/* 加载屏 */
#boot-screen {
  position: fixed; inset: 0; z-index: 999;
  background: radial-gradient(ellipse at 50% 35%, #134a5c 0%, #0a232c 55%, #061820 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity .6s ease; overflow: hidden;
}
#boot-screen.done { opacity: 0; pointer-events: none; }
#boot-screen .boot-logo {
  width: 128px; height: 128px; border-radius: 28px;
  box-shadow: 0 0 60px rgba(43,196,142,.45), 0 0 0 1px rgba(255,255,255,.15);
  animation: bootPulse 1.6s ease-in-out infinite;
}
@keyframes bootPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(43,196,142,.35), 0 0 0 1px rgba(255,255,255,.15); }
  50% { transform: scale(1.06); box-shadow: 0 0 80px rgba(43,196,142,.6), 0 0 0 1px rgba(255,255,255,.25); }
}
.boot-rings { position: absolute; left: 50%; top: 40%; }
.boot-rings i {
  position: absolute; left: 0; top: 0; width: 260px; height: 260px; margin: -130px 0 0 -130px;
  border: 1px solid rgba(43,196,142,.25); border-radius: 50%;
  animation: bootRing 2.4s linear infinite;
}
.boot-rings i:nth-child(2) { animation-delay: .8s; }
.boot-rings i:nth-child(3) { animation-delay: 1.6s; }
@keyframes bootRing {
  0% { transform: scale(.4); opacity: 0; }
  25% { opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}
.boot-title { margin-top: 34px; font-size: 30px; font-weight: 800; letter-spacing: 6px; color: #eaf6f0; text-shadow: 0 2px 16px rgba(43,196,142,.5); }
.boot-sub { margin-top: 6px; font-size: 11px; letter-spacing: 8px; color: #5d8a7b; }
.boot-bar {
  margin-top: 42px; width: min(320px, 70%); height: 8px; border-radius: 4px;
  background: rgba(255,255,255,.12); overflow: hidden;
}
.boot-bar i {
  display: block; height: 100%; width: 0; border-radius: 4px;
  background: linear-gradient(90deg, #2bc48e, #7fe7bd);
  box-shadow: 0 0 12px rgba(43,196,142,.8);
  transition: width .25s ease;
}
.boot-tip { margin-top: 16px; font-size: 13px; color: #9ab8ac; min-height: 20px; }
.boot-ver { position: absolute; bottom: 20px; right: 24px; font-size: 11px; color: rgba(255,255,255,.25); }

/* 游戏外壳：顶栏深色游戏风 */
.sim-body { background: linear-gradient(180deg, #0e2f3a, #0a232c) fixed; }
#sim-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(8,30,38,.96), rgba(8,30,38,.88));
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
}
#sim-header .logo { color: #ffd97a; font-weight: 800; letter-spacing: 1px; }
#sim-header .admin-entry { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #d9ece4; border-radius: 999px; padding: 6px 16px; }
#sim-header .sim-user { color: #9ab8ac; }

/* ① 进场登录：居中的"进入游戏"门 */
#stage-login {
  max-width: 460px; margin: 8vh auto 0;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px; padding: 40px 36px; text-align: center; color: #d9ece4;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
#stage-login h2 { color: #ffd97a; letter-spacing: 3px; font-size: 24px; }
#stage-login .muted { color: #8fb3a7; }
#stage-login .login-row { display: flex; gap: 10px; margin-top: 22px; }
#stage-login input {
  flex: 1; padding: 13px 16px; font-size: 15px; border-radius: 12px;
  background: rgba(10,36,46,.92); color: #eaf6f0;
  border: 1px solid rgba(255,255,255,.28); outline: none;
}
#stage-login input:focus { border-color: rgba(43,196,142,.7); box-shadow: 0 0 0 3px rgba(43,196,142,.18); }
#stage-login .btn-primary {
  padding: 13px 28px; font-size: 15px; font-weight: 800; letter-spacing: 2px; border-radius: 12px;
  background: linear-gradient(135deg, #2ecc8f, #14935f);
  border: 1px solid rgba(255,255,255,.45); box-shadow: 0 6px 18px rgba(20,147,95,.45);
}

/* ② 选渔场：深色游戏面板 */
#stage-ground {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 22px 24px; color: #d9ece4;
}
#stage-ground h2 { color: #ffd97a; }
#stage-ground .muted { color: #8fb3a7; }
#stage-ground .ground-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 14px; }
#stage-ground .ground-item {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; padding: 16px 18px; cursor: pointer;
  transition: border-color .2s, transform .15s, box-shadow .2s; color: #d9ece4;
}
#stage-ground .ground-item:hover {
  border-color: rgba(255,217,122,.55); transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
#stage-ground .ground-item b { color: #fff; font-size: 16px; }
#stage-ground .ground-item .muted { color: #8fb3a7; font-size: 12.5px; }
#stage-ground .ground-item .fee { color: #ffd97a; font-weight: 700; font-size: 13.5px; margin-top: 6px; }

/* 装备区已有深色主题，衔接外壳 */
.sim-main { max-width: 1280px; margin: 0 auto; padding: 18px 20px 60px; }

/* ===== v7.59 渔获表防竖屏逐字换行：整表不换行，窄屏横向滚动 ===== */
.pb-table { display: block; overflow-x: auto; white-space: nowrap; }

/* ================= v7.60 游戏主界面布局（仿渔夫在线：左功能栏 | 中央场景 | 右地点卡） ================= */
.sim-main { max-width: 1380px; }

/* ---- ② 选渔场 ---- */
#stage-ground { min-height: calc(100vh - 130px); }
#stage-ground .gg-layout {
  display: flex; gap: 14px; height: calc(100vh - 150px); min-height: 420px;
}
/* 左：竖向功能栏 */
.gg-rail {
  flex: 0 0 76px; display: flex; flex-direction: column; gap: 12px; align-items: center;
  padding-top: 10px;
}
.gg-rail-btn {
  width: 64px; height: 64px; border-radius: 16px; border: 1px solid rgba(255,217,122,.35);
  background: linear-gradient(160deg, rgba(255,217,122,.14), rgba(255,217,122,.04));
  color: #ffd97a; font-size: 22px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.gg-rail-btn span { font-size: 12px; font-weight: 700; }
.gg-rail-btn:active { transform: scale(.94); }
/* 中：场景横幅 */
.gg-center { flex: 1; position: relative; min-width: 0; }
.gg-banner {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  text-align: center; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(10,40,51,.55), transparent 70%);
  padding: 40px 20px; border-radius: 24px;
}
.gg-banner-title {
  font-size: 34px; font-weight: 900; color: #ffe9a8; letter-spacing: 4px;
  text-shadow: 0 4px 18px rgba(0,0,0,.6);
}
.gg-banner-sub { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.75); letter-spacing: 1px; }
/* 渔获弹层：默认隐藏，点左栏「渔获」展开 */
#stage-ground .profile-box.gg-panel {
  position: absolute; left: 12px; top: 12px; bottom: 12px; width: min(430px, 92%);
  margin: 0; overflow-y: auto; z-index: 6;
  background: rgba(13,42,54,.96); border: 1px solid rgba(255,217,122,.3);
  border-radius: 16px; padding: 14px 16px;
  display: none;
}
#stage-ground .profile-box.gg-panel.open { display: block; }
#stage-ground .profile-box .pb-head b { color: #ffe9a8; }
#stage-ground .profile-box .chip {
  background: rgba(255,217,122,.12); border: 1px solid rgba(255,217,122,.3); color: #ffe9a8;
}
#stage-ground .profile-box .pb-table th { color: #7fa99b; border-color: rgba(255,255,255,.12); }
#stage-ground .profile-box .pb-table td { color: #cfe8dd; border-color: rgba(255,255,255,.08); }
#stage-ground .profile-box .muted { color: #8fb3a7; }
/* 右：钓鱼地点卡列 */
.gg-right { flex: 0 0 320px; display: flex; flex-direction: column; min-height: 0; }
.gg-right-title {
  flex-shrink: 0; font-size: 16px; font-weight: 800; color: #ffe9a8; letter-spacing: 2px;
  padding: 8px 4px 10px; text-align: center;
  background: linear-gradient(180deg, rgba(255,217,122,.16), transparent);
  border-radius: 12px 12px 0 0;
}
#stage-ground .ground-list {
  display: flex; flex-direction: column; gap: 12px; margin-top: 0;
  overflow-y: auto; padding: 4px 4px 20px; flex: 1; min-height: 0;
}
#stage-ground .ground-item {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 10px; border-radius: 16px; cursor: pointer; margin: 0;
  background: linear-gradient(160deg, rgba(20,64,82,.92), rgba(10,36,46,.92));
  border: 1px solid rgba(255,217,122,.28);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
#stage-ground .ground-item:hover {
  transform: translateY(-2px); border-color: #ffd97a;
  box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 0 1px rgba(255,217,122,.25);
}
.gi-thumb {
  flex: 0 0 86px; height: 64px; border-radius: 10px; overflow: hidden;
  background: linear-gradient(160deg, #2a7a5c, #0e3a4d);
  display: flex; align-items: center; justify-content: center;
}
.gi-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gi-thumb.noimg::after { content: '🏞'; font-size: 28px; opacity: .8; }
.gi-body { flex: 1; min-width: 0; }
.gi-body b { color: #fff; font-size: 15px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gi-meta { display: flex; gap: 8px; margin-top: 3px; font-size: 12px; color: #9fc3b5; white-space: nowrap; overflow: hidden; }
.gi-fee { color: #ffd97a; font-weight: 800; font-size: 15px; margin-top: 4px; }
.gi-fee small { font-weight: 400; font-size: 11px; color: #c9a959; }
.gi-go {
  flex-shrink: 0; border: none; cursor: pointer;
  background: linear-gradient(135deg, #f5a623, #e2543e); color: #fff;
  font-size: 14px; font-weight: 800; padding: 9px 14px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(226,84,62,.4);
}
.ground-item:hover .gi-go { filter: brightness(1.12); }

/* ---- ③ 装备/商城：左右分栏游戏布局 ---- */
#stage-gear {
  display: grid; height: calc(100vh - 150px); min-height: 430px;
  grid-template-columns: 372px 1fr;
  grid-template-rows: auto auto 1fr auto;
  grid-template-areas:
    "head  head"
    "sel   shop-h"
    "sel   shop"
    "start shop"
    "tip   shop";
  gap: 10px 16px;
}
#stage-gear .gear-head { grid-area: head; display: flex; flex-direction: column; gap: 8px; margin: 0; }
#stage-gear .gear-sel-title { grid-area: selt; display: none; } /* 标题并入装配区 */
#stage-gear .gear-sel { grid-area: sel; overflow-y: auto; min-height: 0; padding-right: 4px; }
#stage-gear .start-bar-top { grid-area: start; flex-direction: column; align-items: stretch; gap: 8px; }
#stage-gear .shop-bar { grid-area: shop-h; margin: 0; }
#stage-gear .shop-grid { grid-area: shop; overflow-y: auto; min-height: 0; align-content: start; }
#stage-gear #gear-tip { grid-area: tip; margin: 0; font-size: 12px; }

/* 步骤条 */
.step-tabs { display: flex; gap: 8px; }
.st-tab {
  flex: 1; text-align: center; padding: 8px 10px; border-radius: 10px;
  font-size: 14px; font-weight: 700; color: #7fa99b;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.st-tab.done { color: #9fc3b5; }
.st-tab.cur {
  color: #ffe9a8; border-color: rgba(255,217,122,.5);
  background: linear-gradient(180deg, rgba(255,217,122,.18), rgba(255,217,122,.05));
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
}

/* 背包一览条 */
#stage-gear .bag-summary { display: flex; flex-wrap: wrap; gap: 6px; }
#stage-gear .bag-summary .bs-item,
#stage-gear .bag-summary .bs-points {
  background: rgba(255,217,122,.1); border: 1px solid rgba(255,217,122,.28);
  color: #e8d9a8; border-radius: 999px; padding: 3px 12px; font-size: 12.5px;
}
#stage-gear .bag-summary .bs-item b { color: #ffd97a; }
#stage-gear .bag-summary .bs-low { border-color: rgba(255,120,90,.6); color: #ff9a76; }
#stage-gear .bag-summary .bs-low b { color: #ff8a66; }
#stage-gear .bag-summary .bs-empty { opacity: .55; border-style: dashed; }
#stage-gear .bag-summary .bs-points { background: rgba(255,217,122,.16); }
#stage-gear .bag-summary .bs-points b { color: #ffd97a; }

/* 金色大按钮：付钓费开局 */
.btn-start-gold {
  background: linear-gradient(135deg, #f5c542, #e8862e) !important;
  color: #4a2c00 !important; font-size: 19px; font-weight: 900; letter-spacing: 2px;
  padding: 14px 0 !important; border-radius: 14px !important; border: none !important;
  box-shadow: 0 8px 26px rgba(245,197,66,.4), inset 0 1px 0 rgba(255,255,255,.5);
  animation: goldPulse 1.6s ease-in-out infinite;
}
.btn-start-gold:disabled { filter: grayscale(.6); opacity: .6; animation: none; }
@keyframes goldPulse {
  0%,100% { box-shadow: 0 8px 26px rgba(245,197,66,.4), inset 0 1px 0 rgba(255,255,255,.5); }
  50%     { box-shadow: 0 8px 34px rgba(245,197,66,.65), inset 0 1px 0 rgba(255,255,255,.5); }
}
#stage-gear .sb-fee { text-align: center; font-size: 17px; font-weight: 800; color: #ffd97a; }
#stage-gear .sb-spot { font-size: 13px; }

/* 窄屏兜底（竖屏未锁定时） */
@media (max-width: 760px) {
  #stage-ground .gg-layout { flex-direction: column; height: auto; }
  .gg-right { flex: 1 1 auto; }
  #stage-gear { display: block; height: auto; }
  .gg-banner { position: static; transform: none; margin-bottom: 10px; }
}

/* ================= v7.61 游戏大厅：渔场/渔获/商城 合一屏 ================= */
#stage-ground .gear-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
#stage-ground .step-tabs { display: flex; gap: 8px; }
#stage-ground .step-tabs .st-tab {
  flex: 1; text-align: center; padding: 7px 10px; border-radius: 10px;
  font-size: 14px; font-weight: 700; color: #7fa99b;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  white-space: nowrap; overflow: hidden;
}
#stage-ground .step-tabs .st-tab.cur {
  color: #ffe9a8; border-color: rgba(255,217,122,.5);
  background: linear-gradient(180deg, rgba(255,217,122,.18), rgba(255,217,122,.05));
}

/* 大厅三栏：左菜单 | 中内容 | 右装配 */
#stage-ground .lobby {
  display: flex; gap: 12px;
  height: calc(100vh - 205px); min-height: 380px;
}
#stage-ground .gg-rail { flex: 0 0 68px; padding-top: 4px; }
#stage-ground .gg-rail-btn { width: 60px; height: 60px; font-size: 20px; }
#stage-ground .gg-rail-btn span { font-size: 11.5px; }
#stage-ground .gg-rail-btn.cur {
  border-color: #ffd97a; color: #ffe9a8;
  background: linear-gradient(160deg, rgba(255,217,122,.28), rgba(255,217,122,.08));
  box-shadow: 0 0 14px rgba(255,217,122,.3);
}
#stage-ground .lobby-center {
  flex: 1; min-width: 0; display: flex; flex-direction: column;
  background: rgba(8,30,40,.5); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 10px 12px;
}
#stage-ground .lpanel { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
#stage-ground .shop-bar { margin: 0 0 8px; }
#stage-ground .shop-bar h3 {
  margin: 0 0 6px; color: #ffe9a8; font-size: 16px;
  border-left: 3px solid #ffd97a; padding-left: 10px;
}
#stage-ground .shop-bar h3 small { color: #7fa99b; font-weight: 400; font-size: 12px; }
#stage-ground .shop-grid {
  flex: 1; min-height: 0; overflow-y: auto; margin-top: 0;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  align-content: start;
}
/* 渔获面板：平铺展示（覆盖 v7.60 弹层样式） */
#stage-ground .profile-box {
  position: static; display: block; width: auto; margin: 0; padding: 4px 2px;
  background: transparent; border: none; overflow-y: auto; flex: 1; min-height: 0;
}
#stage-ground .profile-box .pb-head b { color: #ffe9a8; }
#stage-ground .profile-box .chip {
  display: inline-block; margin: 3px 6px 3px 0; padding: 4px 12px; border-radius: 999px;
  background: rgba(255,217,122,.12); border: 1px solid rgba(255,217,122,.3); color: #ffe9a8; font-size: 13px;
}
#stage-ground .profile-box .pb-table th { color: #7fa99b; border-color: rgba(255,255,255,.12); }
#stage-ground .profile-box .pb-table td { color: #cfe8dd; border-color: rgba(255,255,255,.08); }
#stage-ground .profile-box .muted { color: #8fb3a7; }
#stage-ground .lpanel .gg-right-title { display: flex; justify-content: space-between; align-items: center; }
#stage-ground .lpanel .gg-right-title .btn-plain { font-size: 12px; padding: 3px 12px; }

/* 渔场卡选中态 */
#stage-ground .ground-item.selected {
  border-color: #ffd97a;
  box-shadow: 0 0 0 2px rgba(255,217,122,.45), 0 10px 26px rgba(0,0,0,.45);
}
#stage-ground .ground-item.selected::after {
  content: '✓ 已选'; position: absolute; top: 6px; right: 66px;
  font-size: 11px; font-weight: 800; color: #0d3423;
  background: #ffd97a; border-radius: 999px; padding: 2px 10px;
}

/* 右栏：装配 + 开局 */
#stage-ground .lobby-right {
  flex: 0 0 296px; display: flex; flex-direction: column;
  background: rgba(8,30,40,.5); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 10px;
}
#stage-ground .lr-empty {
  margin: auto; text-align: center; color: #7fa99b; font-size: 14px; line-height: 2;
}
#stage-ground .lr-gear { display: flex; flex-direction: column; flex: 1; min-height: 0; }
#stage-ground .lr-ground {
  flex-shrink: 0; font-size: 13.5px; font-weight: 800; color: #ffe9a8;
  background: linear-gradient(90deg, rgba(255,217,122,.16), transparent);
  border-radius: 10px; padding: 8px 12px; margin-bottom: 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#stage-ground .gear-sel {
  grid-template-columns: 1fr; gap: 8px; margin: 0; flex: 1; min-height: 0; overflow-y: auto;
}
/* 装备装配卡（深色，从 #stage-gear 作用域迁移） */
#stage-ground .gs-row {
  position: relative; display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: #cfe8dd;
  background: linear-gradient(160deg, rgba(20,64,82,.85), rgba(10,36,46,.85));
  border: 1px solid rgba(255,217,122,.22); border-radius: 14px;
  padding: 10px 12px; overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
#stage-ground .gs-row::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #2bc48e; }
#stage-ground .gs-row:has(.gs-sel[data-cat="rod"])::before { background: linear-gradient(90deg, #e67e22, #f5b445); }
#stage-ground .gs-row:has(.gs-sel[data-cat="float"])::before { background: linear-gradient(90deg, #3fa7d6, #9fe8ff); }
#stage-ground .gs-row:has(.gs-sel[data-cat="bait"])::before { background: linear-gradient(90deg, #8e6bc0, #d3b8f5); }
#stage-ground .gs-row:has(.gs-sel[data-cat="hook"])::before { background: linear-gradient(90deg, #c05a5a, #f5a0a0); }
#stage-ground .gs-row:has(.gs-sel[data-cat="line"])::before { background: linear-gradient(90deg, #5aa06b, #b0e8bf); }
#stage-ground .gs-name { flex: 0 0 40px; color: #9fc3b5; font-weight: 700; }
#stage-ground .gs-card { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
#stage-ground .gs-card.empty { opacity: .6; }
#stage-ground .gs-icon { font-size: 26px; flex-shrink: 0; }
#stage-ground .gs-icon.dim { filter: grayscale(1); opacity: .5; }
#stage-ground .gs-info { flex: 1; min-width: 0; }
#stage-ground .gs-sel {
  width: 100%; background: rgba(0,0,0,.35); color: #eafff5;
  border: 1px solid rgba(127,231,189,.35); border-radius: 8px;
  font-size: 13px; padding: 6px 8px; box-sizing: border-box;
}
#stage-ground .gs-spec { font-size: 11.5px; color: #7fa99b; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#stage-ground .gs-dur { position: relative; height: 16px; border-radius: 8px; background: rgba(0,0,0,.4); margin-top: 6px; overflow: hidden; }
#stage-ground .gs-dur i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #1fa87a, #2bc48e); border-radius: 8px; }
#stage-ground .gs-dur.low i { background: linear-gradient(90deg, #e2543e, #f39c12); }
#stage-ground .gs-dur b {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 10.5px; color: #d9ffef; font-weight: 700;
}

/* 开局条（深色，覆盖浅色基础样式） */
#stage-ground .start-bar {
  display: flex; flex-direction: column; align-items: stretch; gap: 8px;
  margin-top: 10px; padding: 12px;
  background: linear-gradient(160deg, rgba(20,64,82,.9), rgba(10,36,46,.9));
  border: 1px solid rgba(255,217,122,.35); border-radius: 14px;
  position: static; box-shadow: none;
}
#stage-ground .start-bar .sb-spot { color: #9ab8ac; font-size: 12.5px; }
#stage-ground .start-bar select {
  width: 100%; margin-top: 3px; padding: 8px 10px; border-radius: 8px;
  background: rgba(0,0,0,.35); color: #eafff5;
  border: 1px solid rgba(127,231,189,.35); font-size: 14px;
}
#stage-ground .start-bar .sb-fee { color: #ffd97a; font-size: 17px; font-weight: 800; text-align: center; }
#stage-ground .start-bar .btn-plain {
  background: rgba(255,255,255,.08); color: #cfe8dd; border: 1px solid rgba(255,255,255,.2);
}

/* 背包资源条 */
#stage-ground .bag-summary { display: flex; flex-wrap: wrap; gap: 6px; }
#stage-ground .bag-summary .bs-item,
#stage-ground .bag-summary .bs-points {
  background: rgba(255,217,122,.1); border: 1px solid rgba(255,217,122,.28);
  color: #e8d9a8; border-radius: 999px; padding: 3px 12px; font-size: 12.5px;
}
#stage-ground .bag-summary .bs-item b { color: #ffd97a; }
#stage-ground .bag-summary .bs-low { border-color: rgba(255,120,90,.6); color: #ff9a76; }
#stage-ground .bag-summary .bs-low b { color: #ff8a66; }
#stage-ground .bag-summary .bs-empty { opacity: .55; border-style: dashed; }
#stage-ground .bag-summary .bs-points b { color: #ffd97a; }

/* 商城筛选条与商品卡（深色） */
#stage-ground .shop-filter { display: flex; flex-wrap: wrap; gap: 6px; }
#stage-ground .shop-filter button {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15);
  color: #9fc3b5; border-radius: 999px; padding: 4px 14px; font-size: 12.5px; cursor: pointer;
}
#stage-ground .shop-filter button.on {
  background: rgba(255,217,122,.18); border-color: rgba(255,217,122,.5); color: #ffe9a8;
}
#stage-ground .shop-card {
  background: linear-gradient(160deg, rgba(20,64,82,.85), rgba(10,36,46,.85));
  border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 10px 12px;
}
#stage-ground .shop-card .sc-name { color: #fff; font-weight: 700; font-size: 14.5px; }
#stage-ground .shop-card .sc-attrs { color: #7fa99b; font-size: 12px; margin-top: 4px; }
#stage-ground .shop-card .price { color: #ffd97a; font-weight: 800; }
#stage-ground .shop-card .price small { color: #c9a959; font-weight: 400; }
#stage-ground .sc-qty {
  background: rgba(0,0,0,.35); color: #eafff5; border: 1px solid rgba(127,231,189,.35);
}
#stage-ground .shop-card .sc-buy { background: rgba(31,168,122,.25); color: #7fe7bd; border: 1px solid rgba(127,231,189,.4); }

/* 窄屏兜底 */
@media (max-width: 760px) {
  #stage-ground .lobby { flex-direction: column; height: auto; }
  #stage-ground .lobby-right { flex: 1 1 auto; }
}

/* v7.62 结算信息单 */
.co-settle {
  background: linear-gradient(135deg, #10331f 0%, #1d5c38 100%);
  border: 1px solid #2e7d4f; border-radius: 12px;
  padding: 14px 16px; margin-bottom: 14px; color: #eaf6ee;
}
.co-settle-title { font-size: 16px; font-weight: 800; margin-bottom: 10px; color: #ffd76a; }
.co-settle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; font-size: 13px; }
.co-settle-grid label { display: block; font-size: 11px; color: #9cc9ae; margin-bottom: 2px; }
.co-settle-grid b { color: #fff; font-weight: 700; }
.co-settle-wide { grid-column: 1 / -1; }
.co-settle .muted { color: #9cc9ae; font-size: 12px; }

/* ================= v7.68 手机横屏一屏模式：大厅全功能零滚动 ================= */
@media (max-height: 520px) {
  .sim-header { padding: calc(4px + env(safe-area-inset-top, 0px)) 12px 4px; gap: 8px; }
  .sim-header .logo { font-size: 14px; }
  .sim-header .brand-logo { width: 20px; height: 20px; border-radius: 5px; }
  .sim-user { font-size: 12px; }
  .admin-entry { font-size: 12px; }
  .sim-main { padding: 6px 8px; max-width: none; }
  .sim-stage { padding: 6px 8px; }

  /* 大厅整体定高，内部滚动而非页面滚动 */
  #stage-ground { display: flex; flex-direction: column; height: calc(100dvh - 72px); min-height: 0; margin: 0; }
  #stage-ground .gear-head { flex-direction: row; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: nowrap; }
  #stage-ground .step-tabs { flex: 0 0 auto; gap: 5px; }
  #stage-ground .step-tabs .st-tab { flex: 0 0 auto; padding: 4px 8px; font-size: 12px; border-radius: 8px; }
  #stage-ground .bag-summary { flex: 1; max-width: none; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 4px; scrollbar-width: none; }
  #stage-ground .bag-summary::-webkit-scrollbar { display: none; }
  #stage-ground .bag-summary .bs-item, #stage-ground .bag-summary .bs-points { font-size: 11px; padding: 2px 8px; flex-shrink: 0; }

  #stage-ground .lobby { flex: 1; min-height: 0; height: auto; gap: 8px; flex-direction: row !important; }
  #stage-ground .lobby-right { flex: 0 0 320px !important; }
  /* 左功能栏压缩 */
  #stage-ground .gg-rail { flex: 0 0 50px; gap: 6px; padding-top: 0; }
  #stage-ground .gg-rail-btn { width: 44px; height: 44px; font-size: 15px; border-radius: 10px; gap: 1px; }
  #stage-ground .gg-rail-btn span { font-size: 10px; }
  /* 中内容区压缩 */
  #stage-ground .lobby-center { padding: 6px 8px; border-radius: 12px; }
  #stage-ground .gg-right-title { font-size: 13px; padding: 2px 2px 6px; }
  #stage-ground .gg-right-title small { display: none; }
  #stage-ground .ground-item { padding: 6px 8px; gap: 8px; border-radius: 12px; }
  #stage-ground .gi-thumb { flex: 0 0 60px; height: 44px; border-radius: 8px; }
  #stage-ground .gi-body b { font-size: 13px; }
  #stage-ground .gi-meta { font-size: 11px; margin-top: 1px; }
  #stage-ground .gi-fee { font-size: 12.5px; margin-top: 1px; }
  #stage-ground .gi-go { padding: 6px 10px; font-size: 12px; }
  #stage-ground .ground-item.selected::after { top: 4px; right: 56px; font-size: 10px; padding: 1px 8px; }
  /* 商城面板压缩 */
  #stage-ground .shop-bar h3 { font-size: 13px; margin-bottom: 4px; }
  #stage-ground .shop-bar h3 small { display: none; }
  #stage-ground .shop-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
  /* 渔获面板压缩 */
  #stage-ground .profile-box .chip { font-size: 11px; padding: 2px 8px; margin: 2px 4px 2px 0; }

  /* 右栏装配+开局：全部塞在一列，开局条底部常驻 */
  #stage-ground .lobby-right { flex: 0 0 320px; padding: 6px; border-radius: 12px; }
  #stage-ground .lr-ground { font-size: 12px; padding: 4px 8px; margin-bottom: 5px; border-radius: 8px; }
  #stage-ground .gear-sel { gap: 4px; margin: 2px 0 4px; grid-template-columns: 1fr 1fr; }
  #stage-ground .gs-row { font-size: 12px; gap: 4px; }
  #stage-ground .gs-name { width: 34px; font-size: 12px; }
  #stage-ground .gs-sel { padding: 4px 6px; font-size: 12px; border-radius: 6px; }
  #stage-ground .start-bar { flex-direction: row; flex-wrap: nowrap; align-items: center; padding: 5px 8px; gap: 6px; margin-top: 2px; border-radius: 10px; }
  #stage-ground .sb-spot { min-width: 0; flex: 1; font-size: 11px; gap: 2px; }
  #stage-ground .sb-spot select { padding: 3px 5px; font-size: 12px; border-radius: 6px; }
  #stage-ground .sb-fee { font-size: 13px; white-space: nowrap; }
  #stage-ground .btn-start-gold { font-size: 13px !important; padding: 8px 10px !important; letter-spacing: 0; border-radius: 10px !important; white-space: nowrap; }
  #stage-ground #btn-resume { font-size: 11px; padding: 5px 8px; white-space: nowrap; }
  #stage-ground #gear-tip { display: none; }
  #stage-ground .lr-empty { font-size: 12px; line-height: 1.8; }
}

/* ================= v7.68.1 横屏一屏模式精修：防挤压/防逐字换行 ================= */
@media (max-height: 520px) {
  /* 右栏：装备区与开局条分配固定空间，谁也别抢谁 */
  #stage-ground .lr-gear { display: flex; flex-direction: column; }
  #stage-ground .gear-sel { flex: 1 1 auto; min-height: 0; overflow-y: auto; align-content: start; }
  #stage-ground .start-bar { flex: 0 0 auto; }
  /* 开局条：标签短文本+下拉一行放下 */
  #stage-ground .sb-spot { flex-direction: row; align-items: center; gap: 4px; white-space: nowrap; font-size: 11px; }
  #stage-ground .sb-spot select { flex: 1; min-width: 0; }
  /* 渔场卡：横屏藏缩略图，费用一行显示 */
  #stage-ground .gi-thumb { display: none; }
  #stage-ground .gi-body { flex: 1; }
  #stage-ground .gi-body b { font-size: 13px; }
  #stage-ground .gi-fee { white-space: nowrap; font-size: 12px; }
  #stage-ground .gi-fee small { font-size: 10px; }
  #stage-ground .gi-go { padding: 5px 9px; font-size: 12px; }
  #stage-ground .gi-meta { font-size: 10.5px; }
  /* 右栏略收窄，给渔场卡留宽度 */
  #stage-ground .lobby-right { flex: 0 0 300px !important; min-width: 0 !important; max-width: 300px; overflow: hidden; }
  #stage-ground .lr-ground, #stage-ground .sb-fee { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  #stage-ground .gs-sel { max-width: 100%; }
  #stage-ground .start-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 6px; align-items: center; }
  #stage-ground .start-bar .sb-spot { max-width: none; }
  #stage-ground .start-bar .sb-spot select { max-width: none; }
  #stage-ground .start-bar .sb-fee { grid-column: 1; font-size: 12px; text-align: left; }
  #stage-ground .start-bar #btn-start { grid-column: 2; width: 100%; }
  #stage-ground .start-bar #btn-resume { display: none; }
}
