/* ============================================================
   团队专页 · 增量样式
   全部复用站点既有设计语言：主红 #ae0407、金 #c3932f / #dd9f1d
   字体、间距、边框、卡片结构与 style.css / subpage.css 保持一致
   仅在需要承载“资料 / 战绩 / 视频”这类新内容时补充必要结构
   ============================================================ */

.gp-wrap { --gp-red:#ae0407; --gp-red-dark:#8d0305; --gp-gold:#c3932f; --gp-gold-l:#dd9f1d;
  --gp-ink:#222; --gp-txt:#555; --gp-sub:#888; --gp-line:#eee; --gp-soft:#fcfaf5; }

/* ---------- 通用小节头 ---------- */
.gp-h { display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-bottom:26px; }
.gp-h h2 { font-size:26px; color:var(--gp-ink); letter-spacing:1px; line-height:1.3; }
.gp-h h2:after { content:""; display:block; width:36px; height:3px; background:var(--gp-red); margin-top:14px; }
.gp-h .en { font-size:12px; color:#bbb; letter-spacing:2px; text-transform:uppercase; }
.gp-h .more { font-size:13px; color:var(--gp-red); }

/* ---------- 团队资料：左图右文 ---------- */
.gp-profile { display:flex; flex-wrap:wrap; gap:34px; align-items:flex-start;
  background:#fff; border:1px solid var(--gp-line); padding:34px; box-sizing:border-box; }
.gp-profile-l { flex:0 0 300px; max-width:300px; }
.gp-photo { width:100%; aspect-ratio:3/4; background:#f6f3ee; border:1px solid #efe8dd; overflow:hidden; position:relative; }
.gp-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.gp-photo .ph { width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center;
  color:#c9b58c; font-size:13px; letter-spacing:2px; line-height:2; text-align:center; }
.gp-photo .ph b { font-size:44px; color:#d8c49c; font-weight:normal; }
.gp-photo .badge { position:absolute; left:0; top:0; background:var(--gp-red); color:#fff;
  font-size:12px; letter-spacing:1px; padding:5px 12px; }
.gp-profile-r { flex:1 1 320px; min-width:0; }
.gp-name { font-size:28px; color:var(--gp-ink); letter-spacing:1px; line-height:1.3; }
.gp-name .tag { display:inline-block; font-size:12px; color:var(--gp-gold); border:1px solid #e7d6b4;
  padding:3px 10px; margin-left:12px; vertical-align:6px; letter-spacing:1px; }
.gp-name-en { font-size:12px; color:#bbb; letter-spacing:2px; text-transform:uppercase; margin-top:8px; }
.gp-chips { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 20px; }
.gp-chips span { font-size:12px; color:#7a5a5a; background:#fdf6f6; border:1px solid #f2e2e2; padding:4px 10px; line-height:1.6; }
.gp-profile-r p { font-size:15px; color:var(--gp-txt); line-height:2.05; margin-bottom:14px; }
.gp-facts { display:flex; flex-wrap:wrap; margin:22px 0 0; border-top:1px solid var(--gp-line); }
.gp-facts .f { flex:1 1 0; min-width:110px; padding:18px 10px 4px; box-sizing:border-box; }
.gp-facts .f b { display:block; font-size:24px; color:var(--gp-red); font-weight:normal; line-height:1.2; }
.gp-facts .f b small { font-size:13px; margin-left:2px; }
.gp-facts .f span { display:block; font-size:12.5px; color:var(--gp-sub); margin-top:6px; }

/* ---------- 团队成员 ---------- */
.gp-members { display:flex; flex-wrap:wrap; gap:20px; }
.gp-member { flex:1 1 calc(33.333% - 14px); min-width:240px; box-sizing:border-box;
  background:#fff; border:1px solid var(--gp-line); padding:26px 24px 24px; transition:.3s; }
.gp-member:hover { border-color:#e3c9c9; box-shadow:0 10px 26px rgba(0,0,0,.06); transform:translateY(-2px); }
.gp-member .av { width:76px; height:76px; border-radius:50%; overflow:hidden; background:#f4efe7;
  border:2px solid #f0e4d0; margin-bottom:16px; }
.gp-member .av img { width:100%; height:100%; object-fit:cover; display:block; }
.gp-member .av .ini { width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  color:#c3932f; font-size:24px; }
.gp-member h4 { font-size:17px; color:var(--gp-ink); margin-bottom:6px; }
.gp-member .role { font-size:12.5px; color:var(--gp-gold); letter-spacing:1px; margin-bottom:12px; }
.gp-member p { font-size:13.5px; color:var(--gp-sub); line-height:1.9; }

/* ---------- 数据条 ---------- */
.gp-stats { display:flex; flex-wrap:wrap; border:1px solid var(--gp-line); border-bottom:none; margin-top:22px; }
.gp-stats .s { flex:1 1 0; min-width:120px; box-sizing:border-box; padding:22px 18px 20px;
  border-bottom:1px solid var(--gp-line); text-align:center; transition:.3s; }
.gp-stats .s:hover { background:#fcfafa; }
.gp-stats .s b { display:block; font-size:30px; color:var(--gp-red); line-height:1.1; font-weight:normal; }
.gp-stats .s b small { font-size:14px; margin-left:2px; }
.gp-stats .s span { display:block; font-size:13px; color:var(--gp-sub); margin-top:8px; }

/* ---------- 视频卡 ---------- */
.gp-videos { display:flex; flex-wrap:wrap; gap:20px; }
.gp-video { flex:1 1 calc(50% - 10px); min-width:260px; box-sizing:border-box; background:#fff;
  border:1px solid var(--gp-line); transition:.3s; position:relative; }
.gp-video:hover { box-shadow:0 10px 26px rgba(0,0,0,.08); transform:translateY(-2px); border-color:#e3c9c9; }
.gp-video .frame { position:relative; width:100%; padding-top:56.25%; background:#111; overflow:hidden; cursor:pointer; }
.gp-video .frame video,.gp-video .frame img,.gp-video .frame iframe {
  position:absolute; left:0; top:0; width:100%; height:100%; border:0; object-fit:cover; display:block; }
.gp-video .play { position:absolute; left:50%; top:50%; width:62px; height:62px; margin:-31px 0 0 -31px;
  border-radius:50%; background:rgba(174,4,7,.9); z-index:2; transition:.3s; }
.gp-video .play:before { content:""; position:absolute; left:24px; top:18px;
  border-style:solid; border-width:13px 0 13px 20px; border-color:transparent transparent transparent #fff; }
.gp-video:hover .play { background:#8d0305; transform:scale(1.06); }
.gp-video .no { position:absolute; right:0; top:0; background:rgba(0,0,0,.55); color:#fff; font-size:12px;
  padding:4px 10px; letter-spacing:1px; z-index:3; }
.gp-video .frame .ph { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center;
  justify-content:center; background:linear-gradient(135deg,#2a2a2a,#4a4a4a); color:#cfa96a;
  font-size:13px; letter-spacing:2px; z-index:1; text-align:center; line-height:2; }
.gp-video .meta { padding:16px 18px 18px; }
.gp-video .meta h4 { font-size:16px; color:var(--gp-ink); margin-bottom:8px; line-height:1.5; }
.gp-video .meta p { font-size:13px; color:var(--gp-sub); line-height:1.9; }

/* ---------- 视频分类切换 ---------- */
.gp-tabs { display:flex; flex-wrap:wrap; gap:0; border:1px solid var(--gp-line); margin-bottom:26px; }
.gp-tabs a { flex:1 1 0; min-width:110px; text-align:center; font-size:14px; color:#666; padding:14px 8px;
  border-right:1px solid var(--gp-line); transition:.3s; box-sizing:border-box; }
.gp-tabs a:last-child { border-right:none; }
.gp-tabs a:hover,.gp-tabs a.on { background:var(--gp-red); color:#fff; }

/* ---------- 灯箱 ---------- */
.gp-lb { position:fixed; inset:0; z-index:9999; background:rgba(18,10,10,.9); display:none;
  align-items:center; justify-content:center; padding:40px 20px; box-sizing:border-box; }
.gp-lb.on { display:flex; }
.gp-lb img { max-width:100%; max-height:100%; display:block; box-shadow:0 20px 60px rgba(0,0,0,.5); }
.gp-lb .close { position:absolute; right:22px; top:18px; width:40px; height:40px; line-height:38px;
  text-align:center; color:#fff; font-size:26px; cursor:pointer; border:1px solid rgba(255,255,255,.4);
  border-radius:50%; background:rgba(0,0,0,.3); transition:.3s; }
.gp-lb .close:hover { background:var(--gp-red); border-color:var(--gp-red); }

/* ---------- 时间轴 ---------- */
.gp-timeline { position:relative; padding-left:26px; margin-top:8px; }
.gp-timeline:before { content:""; position:absolute; left:6px; top:6px; bottom:6px; width:1px; background:#e8e2d8; }
.gp-timeline .item { position:relative; padding:0 0 26px 0; }
.gp-timeline .item:last-child { padding-bottom:0; }
.gp-timeline .item:before { content:""; position:absolute; left:-24px; top:7px; width:9px; height:9px;
  border-radius:50%; background:#fff; border:2px solid var(--gp-red); }
.gp-timeline .yr { font-size:13px; color:var(--gp-gold); letter-spacing:1px; margin-bottom:5px; }
.gp-timeline h4 { font-size:16px; color:var(--gp-ink); margin-bottom:6px; line-height:1.5; }
.gp-timeline p { font-size:13.5px; color:var(--gp-sub); line-height:1.9; }

/* ---------- 响应式 ---------- */
@media screen and (max-width:960px){
  .gp-profile { padding:22px; gap:22px; }
  .gp-profile-l { flex:0 0 100%; max-width:100%; display:flex; gap:18px; align-items:center; }
  .gp-photo { width:150px; flex:0 0 150px; }
  .gp-name { font-size:22px; }
  .gp-name .tag { display:inline-block; margin:8px 0 0; vertical-align:0; }
  .gp-h h2 { font-size:21px; }
  .gp-member { flex:1 1 100%; }
  .gp-video { flex:1 1 100%; }
  .gp-stats .s { flex:1 1 50%; min-width:0; }
}
@media screen and (max-width:640px){
  .gp-facts .f { flex:1 1 50%; }
  .gp-lb { padding:16px 10px; }
}

/* 数据条中数字较长时保持单行 */
.gp-stats .s b{white-space:nowrap;}
.gp-stats .s b .yr{font-size:22px;}
/* ---------- 战绩月榜：四格并排 + 月份角标 ---------- */
.gp-months { display:flex; flex-wrap:wrap; gap:20px; }
.gp-month { flex:1 1 calc(25% - 15px); min-width:200px; box-sizing:border-box;
  background:#fff; border:1px solid var(--gp-line); padding:10px; cursor:zoom-in;
  transition:.3s; position:relative; }
.gp-month:hover { box-shadow:0 12px 30px rgba(0,0,0,.10); transform:translateY(-3px); border-color:#e3c9c9; }
.gp-month .pic { position:relative; overflow:hidden; background:#faf8f4; aspect-ratio:1086 / 1599; }
.gp-month .pic img { width:100%; display:block; }
.gp-month .pic .mask { position:absolute; inset:auto 0 0 0; height:40%; pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.97) 62%,#fff 100%); }
.gp-month .mtag { position:absolute; left:50%; bottom:22px; transform:translateX(-50%); z-index:3;
  background:var(--gp-red); color:#fff; font-size:13px; letter-spacing:2px; padding:6px 16px;
  white-space:nowrap; box-shadow:0 4px 12px rgba(174,4,7,.28); transition:.3s; }
.gp-month:hover .mtag { background:var(--gp-red-dark); }
.gp-month .cap { padding:12px 6px 4px; font-size:13px; color:#666; text-align:center; }
.gp-month .cap b { color:var(--gp-red); font-weight:normal; }

/* 空位提示卡 */
.gp-month.empty { cursor:default; border-style:dashed; border-color:#e6dcc8; background:#fdfbf7; }
.gp-month.empty .pic { display:flex; align-items:center; justify-content:center; }
.gp-month.empty .pic .tip { text-align:center; color:#c0a878; font-size:13px; letter-spacing:1px; line-height:2; }
.gp-month.empty .pic .tip b { display:block; font-size:28px; color:#ddc9a0; font-weight:normal; }

@media screen and (max-width:1100px){ .gp-month { flex:1 1 calc(50% - 10px); } }
@media screen and (max-width:640px){ .gp-month { flex:1 1 100%; } }
