/* 打手中心页 + 首页「陪玩接单」区块 */

.bp-hero { text-align: center; padding: 46px 20px 30px; }
.bp-hero-ic {
  width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 22px;
  display: grid; place-items: center; font-size: 34px;
  background: linear-gradient(160deg, rgba(62, 224, 255, .18), rgba(139, 92, 246, .1));
  border: 1px solid rgba(62, 224, 255, .35);
  box-shadow: 0 0 34px rgba(62, 224, 255, .2);
}
.bp-hero h1 { font-size: 34px; font-weight: 900; letter-spacing: .02em; margin: 0 0 12px; }
.bp-hero p { color: #93a3b4; font-size: 15px; line-height: 1.85; margin: 0 auto; max-width: 520px; }
.bp-hero p b { color: #3ee0ff; font-weight: 800; }

.bp-card {
  background: rgba(14, 22, 38, .82); border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 20px; padding: 26px 26px 30px; margin-bottom: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}

.bp-tabs { display: flex; gap: 10px; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 14px; }
.bp-tab {
  flex: 1; padding: 11px 0; border-radius: 11px; cursor: pointer;
  background: rgba(255, 255, 255, .04); border: 1px solid transparent;
  color: #8fa0b2; font-size: 15px; font-weight: 800; transition: .2s;
}
.bp-tab.active { background: linear-gradient(135deg, rgba(62,224,255,.18), rgba(139,92,246,.14)); border-color: rgba(62,224,255,.42); color: #dff6ff; }

.bp-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bp-field { margin-bottom: 15px; }
.bp-field label { display: block; font-size: 13px; color: #8fa0b2; margin-bottom: 7px; font-weight: 700; }
.bp-field input, .bp-field textarea, .bp-field select {
  width: 100%; padding: 11px 13px; border-radius: 10px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  color: #eaf2f8; font-size: 14.5px; font-family: inherit; outline: none; transition: .2s;
}
.bp-field textarea { resize: vertical; line-height: 1.6; }
.bp-field input:focus, .bp-field textarea:focus { border-color: rgba(62, 224, 255, .55); background: rgba(62, 224, 255, .07); }
.bp-field input:disabled { opacity: .55; }

.bp-err {
  min-height: 0; margin-bottom: 0; font-size: 13.5px; color: #ff9b8f;
  background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .3);
  border-radius: 9px; padding: 0; transition: .2s;
}
.bp-err:not(:empty) { padding: 10px 13px; margin-bottom: 14px; }

.bp-btn {
  width: 100%; padding: 13px 0; border-radius: 11px; border: none; cursor: pointer;
  font-size: 15.5px; font-weight: 800; letter-spacing: .04em; transition: .2s; font-family: inherit;
}
.bp-btn.primary { background: linear-gradient(135deg, #2ea8ff, #7b5cff); color: #fff; box-shadow: 0 8px 22px rgba(62, 130, 255, .3); }
.bp-btn.primary:hover:not(:disabled) { filter: brightness(1.12); transform: translateY(-1px); }
.bp-btn.ghost { background: rgba(255, 255, 255, .06); color: #b8c6d4; border: 1px solid rgba(255, 255, 255, .12); width: auto; padding: 13px 26px; }
.bp-btn:disabled { opacity: .55; cursor: not-allowed; }

.bp-hint { font-size: 12.5px; color: #7a8b9c; line-height: 1.75; margin: 12px 0 0; }
.bp-hint b { color: #3ee0ff; }

.bp-ava-row { display: flex; gap: 18px; align-items: flex-start; }
.bp-ava-prev {
  flex: none; width: 84px; height: 84px; border-radius: 16px; overflow: hidden;
  background: rgba(255, 255, 255, .05); border: 1px dashed rgba(255, 255, 255, .18);
  display: grid; place-items: center; color: #6d7d8d; font-size: 12px;
}
.bp-ava-prev.lg { width: 108px; height: 108px; border-radius: 20px; }
.bp-ava-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-ava-side { flex: 1; min-width: 0; }
.bp-ava-side input[type=file] { font-size: 13px; color: #8fa0b2; width: 100%; }

.bp-status {
  display: flex; align-items: flex-start; gap: 11px; padding: 14px 17px; border-radius: 12px;
  font-size: 14px; line-height: 1.7; font-weight: 600;
}
.bp-status .bp-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; margin-top: 7px; background: #6b7a8a; }
.bp-status .bp-dot.ok { background: #3ddc84; box-shadow: 0 0 10px #3ddc84; }
.bp-status .bp-dot.pending { background: #fbbf24; box-shadow: 0 0 10px #fbbf24; }
.bp-status .bp-dot.err { background: #f87171; box-shadow: 0 0 10px #f87171; }
.bp-status .bp-dot.off { background: #6b7a8a; }
.bp-status.ok { background: rgba(61, 220, 132, .1); border: 1px solid rgba(61, 220, 132, .32); color: #b8f0d0; }
.bp-status.pending { background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .32); color: #ffe6ac; }
.bp-status.err { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .32); color: #ffc4c0; }
.bp-status.off { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #9dadbb; }

.bp-switch-row { display: flex; gap: 22px; flex-wrap: wrap; margin: 6px 0 20px; }
.bp-switch { display: flex; align-items: center; gap: 9px; font-size: 14px; color: #b8c6d4; cursor: pointer; }
.bp-switch input { width: 17px; height: 17px; accent-color: #3ee0ff; cursor: pointer; }
.bp-actions { display: flex; gap: 12px; align-items: center; }
.bp-actions .bp-btn.primary { flex: 1; }
.bp-foot { text-align: center; font-size: 13px; color: #6d7d8d; margin-top: 26px; }
.bp-foot a { color: #3ee0ff; text-decoration: none; }

/* ============ 首页「陪玩接单」区块 ============ */
.coach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.coach-card {
  background: linear-gradient(180deg, rgba(18, 27, 45, .9), rgba(11, 17, 29, .94));
  border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px; padding: 22px 20px 18px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.coach-card:hover { transform: translateY(-3px); border-color: rgba(62, 224, 255, .4); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.coach-card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, rgba(62,224,255,.85), rgba(139,92,246,.3) 55%, transparent);
}
.coach-top { display: flex; gap: 14px; align-items: center; }
.coach-ava {
  flex: none; width: 58px; height: 58px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, rgba(62,224,255,.2), rgba(139,92,246,.14));
  border: 1px solid rgba(62, 224, 255, .3); display: grid; place-items: center;
  font-size: 24px; font-weight: 900; color: #9fe4ff;
}
.coach-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.coach-name { font-size: 19px; font-weight: 900; letter-spacing: .01em; }
.coach-title { font-size: 13px; color: #8ea0ae; margin-top: 3px; }
.coach-online { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #3ddc84; margin-top: 4px; }
.coach-online i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 8px #3ddc84; display: block; }
.coach-online.off { color: #7a8b9c; }
.coach-online.off i { background: #5b6b7b; box-shadow: none; }
.coach-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 10px; }
.coach-tag { font-size: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(62, 224, 255, .1); border: 1px solid rgba(62, 224, 255, .26); color: #9fe4ff; }
.coach-intro { font-size: 13.5px; color: #8ea0ae; line-height: 1.7; flex: 1; min-height: 40px; }
.coach-foot { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .07); }
.coach-price { font-size: 22px; font-weight: 900; color: #ffd45e; font-family: "Segoe UI", sans-serif; }
.coach-price small { font-size: 12px; color: #9c8b5c; font-weight: 700; }
.coach-gid {
  font-size: 12.5px; color: #8ea0ae; cursor: pointer; padding: 4px 10px; border-radius: 8px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  font-family: "Consolas", monospace;
}
.coach-gid:hover { color: #3ee0ff; border-color: rgba(62, 224, 255, .35); }
.coach-btn {
  margin-left: auto; padding: 9px 18px; border-radius: 10px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #2ea8ff, #7b5cff); color: #fff; font-size: 14px; font-weight: 800;
  transition: .2s;
}
.coach-btn:hover { filter: brightness(1.12); }

@media (max-width: 640px) {
  .bp-row2 { grid-template-columns: 1fr; }
  .bp-hero h1 { font-size: 28px; }
  .bp-ava-row { flex-direction: column; }
  .coach-foot { flex-wrap: wrap; }
}
/* ============ 后台：打手待审核卡片 ============ */
.pend-card {
  background: rgba(251, 191, 36, .06); border: 1px solid rgba(251, 191, 36, .3);
  border-radius: 14px; padding: 18px 20px; margin-bottom: 12px;
  display: flex; gap: 18px; align-items: flex-start;
}
.pend-ava {
  flex: none; width: 62px; height: 62px; border-radius: 14px; overflow: hidden;
  background: rgba(251, 191, 36, .14); border: 1px solid rgba(251, 191, 36, .34);
  display: grid; place-items: center; font-size: 22px; font-weight: 900; color: #ffd97a;
}
.pend-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pend-main { flex: 1; min-width: 0; }
.pend-name { font-size: 17px; font-weight: 900; color: #f1f5f9; }
.pend-name span { font-size: 12px; font-weight: 600; color: #8a93a8; margin-left: 10px; }
.pend-meta { font-size: 13px; color: #9aa5b8; line-height: 1.85; margin-top: 7px; }
.pend-meta b { color: #e2e8f0; font-weight: 700; }
.pend-meta .gid { font-family: Consolas, monospace; color: #7dd3fc; }
.pend-intro { font-size: 13px; color: #8a93a8; line-height: 1.7; margin-top: 6px; }
.pend-acts { flex: none; display: flex; flex-direction: column; gap: 8px; width: 92px; }
.pend-acts button { padding: 8px 0; border-radius: 9px; border: none; cursor: pointer;
  font-size: 13px; font-weight: 800; font-family: inherit; transition: .2s; }
.pend-pass { background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; }
.pend-reject { background: rgba(239, 68, 68, .14); color: #fca5a5; border: 1px solid rgba(239, 68, 68, .34) !important; }
.pend-acts button:hover { filter: brightness(1.1); }
@media (max-width: 640px) {
  .pend-card { flex-wrap: wrap; }
  .pend-acts { flex-direction: row; width: 100%; }
  .pend-acts button { flex: 1; }
}

/* 卡片底部：价格/ID/按钮不换行，缺项时按钮仍靠右 */
.coach-price, .coach-gid, .coach-btn, .coach-online, .coach-title { white-space: nowrap; }
.coach-price { display: inline-flex; align-items: baseline; gap: 1px; }
.coach-intro:empty { min-height: 0; margin: 0; }
.coach-card { min-height: 100%; }

/* 底部三件套：价格与按钮不可压缩，游戏 ID 过长时省略号 */
.coach-price { flex: none; }
.coach-btn { flex: none; }
.coach-gid { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; max-width: 132px; }

/* 游戏 ID 移到昵称下方后放开宽度限制 */
.coach-top .coach-gid {
  display: inline-block; margin-top: 5px; max-width: 100%;
  font-size: 12px; color: #7dd3fc; cursor: pointer; padding: 3px 9px;
  border-radius: 7px; background: rgba(125, 211, 252, .08); border: 1px solid rgba(125, 211, 252, .22);
}
.coach-top .coach-gid:hover { background: rgba(125, 211, 252, .16); }
.coach-price.none { color: #7a8b9c; font-size: 15px; font-weight: 700; }
