/* 竖版赛季游戏 · 竖屏（微信小程序风格）样式：单列、大圆角卡片、底部标签栏 */
:root {
  --bg: #0b0e13;
  --bg2: #121722;
  --card: #171d29;
  --card2: #1e2534;
  --line: #2a3344;
  --txt: #e8eef7;
  --dim: #93a1b5;
  --accent: #35d07f;
  --accent2: #2f80ed;
  --warn: #f0a03c;
  --danger: #ef4d5a;
  --gold: #e6b422;
  --t1: #8d99ae; --t2: #3fa34d; --t3: #e0653a; --t4: #b06ae0; --t5: #ff4d6d; --t6: #e6b422;
  --nav-h: 58px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
/* 滚动条：轨道透明（去掉灰底），只留很细的半透明滑块 */
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.32); }
html, body { margin: 0; padding: 0; }
body {
  background: radial-gradient(120% 60% at 50% 0%, #16203100 0%, #0b0e13 60%), var(--bg);
  color: var(--txt);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  min-height: 100vh;
}
#vapp { max-width: 460px; margin: 0 auto; padding: 0 10px calc(var(--nav-h) + 18px); min-height: 100vh; }

/* 顶栏 */
.vhead {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px;
  padding: 10px 4px 8px; margin: 0 -10px 6px; padding-left: 14px; padding-right: 14px;
  background: linear-gradient(180deg, rgba(11,14,19,.98) 70%, rgba(11,14,19,0));
  backdrop-filter: blur(6px);
  font-size: 13px;
}
.vhead.hidden { display: none; }
.vhead-club { font-weight: 700; font-size: 15px; max-width: 34%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vhead-mid { color: var(--dim); flex: 1; text-align: center; }
.vhead-right { color: var(--dim); }
.vhead-right b { color: var(--accent); font-size: 14px; }

/* 底部标签栏 */
.vnav {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; z-index: 30;
  width: min(460px, 100%); display: flex; background: rgba(18,23,34,.96);
  border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0);
  backdrop-filter: blur(8px);
}
.vnav.hidden { display: none; }
.vnav-btn {
  flex: 1; background: none; border: 0; color: var(--dim); font: inherit; font-size: 11px;
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; cursor: pointer;
}
.vnav-btn i { font-style: normal; font-size: 19px; line-height: 1; }
.vnav-btn.on { color: var(--accent); }

/* 通用面板 */
.vpanel { padding: 4px 0 10px; }
.vpanel h1 { font-size: 21px; margin: 6px 0 6px; }
.vpanel h3 { font-size: 15px; margin: 18px 0 8px; color: #cfe0f5; display: flex; align-items: center; justify-content: space-between; }
.vdim { color: var(--dim); }
.small { font-size: 12.5px; }
.vnote { color: var(--dim); font-size: 12.5px; margin: 10px 2px 0; }
.vboom { background: #3a1418; color: #ffd7d7; padding: 12px; font-size: 13px; }

/* 按钮 */
.vbtn {
  appearance: none; border: 1px solid var(--line); background: var(--card2); color: var(--txt);
  font: inherit; font-weight: 600; padding: 11px 14px; border-radius: 12px; cursor: pointer;
}
.vbtn.primary { background: linear-gradient(180deg, #3ce089, #22b268); border-color: #1f9a58; color: #06210f; }
.vbtn.ghost { background: transparent; }
.vbtn.danger { background: #3a1519; border-color: #7a2b33; color: #ffb3ba; }
.vbtn.big { padding: 15px 18px; font-size: 16.5px; }
.vbtn.block { width: 100%; }
.vbtn.small { padding: 7px 10px; font-size: 12.5px; border-radius: 10px; }
.vbtn:disabled { opacity: .42; }
.vrow-btns { display: flex; gap: 8px; margin-top: 14px; }
.vrow-btns .vbtn { flex: 1; }
.vmini-btn { background: none; border: 1px solid var(--line); color: var(--accent); font: inherit; font-size: 12px; padding: 3px 9px; border-radius: 999px; cursor: pointer; }

/* 行 / 列表 */
.vlist { display: flex; flex-direction: column; gap: 8px; }
.vrow {
  display: flex; align-items: center; gap: 12px; text-align: left; width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 13px;
  color: var(--txt); font: inherit; cursor: pointer;
}
.vrow.sel { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(53,208,127,.35) inset, 0 4px 16px rgba(53,208,127,.12); }
.vrow:disabled { opacity: .45; }
.vrow-main { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vrow-main b { font-size: 15px; }
.vrow-side { text-align: right; color: var(--dim); font-size: 12px; flex-shrink: 0; }
.vstyle-val { color: var(--gold); font-size: 17px; }
.vrow.coach2 { align-items: center; }
.vrow.league { align-items: center; }
.vchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.vchip { background: var(--card2); border: 1px solid var(--line); color: var(--txt); font: inherit; font-size: 13px; padding: 6px 11px; border-radius: 999px; cursor: pointer; }
.vinput {
  width: 100%; margin-top: 10px; background: var(--card2); border: 1px solid var(--line); color: var(--txt);
  font: inherit; font-size: 17px; padding: 13px 14px; border-radius: 13px;
}
.vsteps { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
.vsteps span { font-size: 11.5px; color: var(--dim); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }
.vsteps span.on { color: #06210f; background: var(--accent); border-color: var(--accent); font-weight: 700; }
.vsteps span.done { color: var(--accent); border-color: rgba(53,208,127,.4); }

/* 卡面 */
.vcard { width: var(--w); flex: 0 0 auto; cursor: pointer; }
.vc-inner {
  position: relative; width: var(--w); height: calc(var(--w) * 1.391); border-radius: calc(var(--w) * 0.075);
  overflow: hidden; background: #0b0c10; border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 5px 16px rgba(0,0,0,.55);
}
.vc-inner.tier-2 { border-color: var(--t2); }
.vc-inner.tier-3 { border-color: var(--t3); box-shadow: 0 5px 16px rgba(224,101,58,.22); }
.vc-inner.tier-4 { border-color: var(--t4); box-shadow: 0 5px 18px rgba(176,106,224,.28); }
.vc-inner.tier-5 { border-color: var(--t5); box-shadow: 0 5px 20px rgba(255,77,109,.3); }
.vc-inner.tier-6 { border-color: var(--t6); box-shadow: 0 6px 22px rgba(230,180,34,.34); }
.vc-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vc-pl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.vc-hd { position: absolute; left: 50%; top: 53%; width: 47%; height: auto; transform: translate(-50%,-50%);
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.6)); }
.vc-hd.sil { opacity: .45; }
.vc-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 55%, rgba(0,0,0,.76) 100%); }
.vc-tiertag {
  position: absolute; left: 5%; top: 4%; font-size: calc(var(--w) * 0.072); font-weight: 800; letter-spacing: .5px;
  background: rgba(6,9,13,.7); border-radius: 999px; padding: 1px 7px; color: #fff;
}
.tier-1 .vc-tiertag { border: 1px solid var(--t1); color: #cfd8e6; }
.tier-2 .vc-tiertag { border: 1px solid var(--t2); color: #b8f5c8; }
.tier-3 .vc-tiertag { border: 1px solid var(--t3); color: #ffd0b8; }
.tier-4 .vc-tiertag { border: 1px solid var(--t4); color: #e9d0ff; }
.tier-5 .vc-tiertag { border: 1px solid var(--t5); color: #ffd3da; }
.tier-6 .vc-tiertag { border: 1px solid var(--t6); color: #ffeaa0; }
.vc-ovr { position: absolute; left: 5%; bottom: calc(var(--w) * 0.335); display: flex; flex-direction: column; line-height: 1.02; }
.vc-ovr b { font-size: calc(var(--w) * 0.20); text-shadow: 0 2px 6px #000; }
.vc-ovr span { font-size: calc(var(--w) * 0.062); color: #cfe0f5; letter-spacing: 1px; }
.vc-pos { position: absolute; right: 6%; bottom: calc(var(--w) * 0.335); font-weight: 800; font-size: calc(var(--w) * 0.105); text-shadow: 0 2px 6px #000; }
.vc-inj { position: absolute; right: 6%; top: 4%; font-size: calc(var(--w) * 0.066); background: rgba(58,20,24,.9); border: 1px solid var(--danger); color: #ffc9cf; border-radius: 999px; padding: 1px 6px; }
.vc-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 5% 6% 6%; background: linear-gradient(180deg, rgba(6,9,13,0) 0%, rgba(6,9,13,.84) 42%, rgba(6,9,13,.96) 100%); }
.vc-name { font-weight: 700; font-size: calc(var(--w) * 0.104); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 3px #000; }
.vc-lvrow { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.vc-lv { flex: 1 1 auto; height: 4px; background: rgba(255,255,255,.18); border-radius: 2px; overflow: hidden; min-width: 0; }
.vc-lv i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--accent2), var(--accent)); }
.vc-lvtx { flex: 0 0 auto; font-size: calc(var(--w) * 0.066); color: #cfe0f5; font-weight: 600; letter-spacing: .2px; }
.vc-spark { height: 2px; background: rgba(230,180,34,.22); border-radius: 2px; margin-top: 4px; position: relative; }
.vc-spark i { display: block; height: 100%; background: var(--gold); border-radius: 2px; }
.vc-rate { position: absolute; right: 6%; top: 30%; background: rgba(6,9,13,.78); border: 1px solid var(--accent); border-radius: 8px; padding: 1px 7px; font-weight: 800; font-size: calc(var(--w) * 0.10); }
.vc-tag { position: absolute; left: 5%; top: 26%; background: rgba(6,9,13,.72); border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; font-size: calc(var(--w) * 0.07); }

.vscroll { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; -webkit-overflow-scrolling: touch; }
.vsquadgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.vsquadgrid .vcard, .vsquadgrid .vcard .vc-inner { width: 100%; }
.vsquadgrid .vcard { --w: 100%; }
.vsquadgrid .vc-inner { height: auto; aspect-ratio: 1 / 1.391; }
.vsquadgrid .vc-ovr b, .vscroll .vcard.size-mini .vc-ovr b { font-size: calc(var(--w) * 0.19); }
.acepick { border-radius: 14px; padding: 3px; border: 2px solid transparent; }
.acepick.sel { border-color: var(--accent); background: rgba(53,208,127,.08); }

/* 主场（背景 = 玩家自己选的球场贴图） */
.vhero {
  position: relative; display: flex; justify-content: space-between; gap: 8px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 16px; padding: 12px 13px 26px; min-height: 132px; overflow: hidden;
  background-image: linear-gradient(180deg, rgba(5,9,14,.14) 26%, rgba(5,9,14,.9) 78%, rgba(5,9,14,.96)), var(--stadium, none);
  background-size: cover; background-position: center 34%;
}
.vhero-l { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-shadow: 0 1px 8px rgba(0,0,0,.85); }
.vhero-l .vclub { font-size: 18px; }
.vhero-l span { font-size: 12px; color: #dfe9f5; }
.vhero-r { text-align: right; display: flex; flex-direction: column; gap: 3px; text-shadow: 0 1px 8px rgba(0,0,0,.85); }
.vhero-stad { position: absolute; left: 13px; bottom: 8px; font-size: 11.5px; color: #d5e4f2; background: rgba(6,10,15,.55); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 2px 9px; }

/* 球场背景选择器（首页配置，开球/直播沿用同一张） */
.vstad { margin-top: 10px; }
.vstad-head { display: flex; flex-direction: column; gap: 1px; margin-bottom: 7px; }
.vstad-head b { font-size: 14px; }
.vstad-head .vdim { font-size: 11.5px; }
.vstad-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; }
.vstad-thumb {
  position: relative; flex: 0 0 auto; width: 92px; height: 58px; border-radius: 12px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); padding: 0; font: inherit; color: #fff; background: #0d1219;
}
.vstad-thumb i { position: absolute; inset: 0; background-image: linear-gradient(180deg, rgba(4,7,11,.05), rgba(4,7,11,.78)), var(--img, none); background-size: cover; background-position: center 32%; transition: transform .25s; }
.vstad-thumb span { position: absolute; left: 0; right: 0; bottom: 3px; font-size: 11px; text-align: center; text-shadow: 0 1px 6px #000; }
.vstad-thumb.on { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(53,208,127,.5) inset; }
.vstad-thumb.on::after { content: '✓ 主场'; position: absolute; right: 3px; top: 3px; font-size: 9.5px; background: rgba(53,208,127,.9); color: #06210f; border-radius: 999px; padding: 1px 6px; font-weight: 800; }
.vstad-thumb:hover i { transform: scale(1.08); }
.vgp { color: var(--accent); font-weight: 700; font-size: 14px; }
.vnext { margin-top: 12px; background: linear-gradient(180deg, #1a2333, #151b28); border: 1px solid var(--line); border-radius: 16px; padding: 12px 13px; }
.vnext-top { display: flex; justify-content: space-between; font-size: 12px; }
.vnext-mid { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 10px 0 6px; }
.vnext-score { text-align: center; }
.vnext-score b { font-size: 19px; }
.vnext-score span { display: block; font-size: 11px; color: var(--dim); }
.vs { color: var(--dim); font-weight: 800; font-size: 13px; }
.vnext-opp { text-align: center; display: flex; flex-direction: column; gap: 2px; }
.vnext-opp b { font-size: 15px; }
.vnext-opp span { font-size: 12px; }
.vemblem { border-radius: 9px; object-fit: contain; background: rgba(255,255,255,.04); }
.vemblem.fake { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #cfe0f5; background: rgba(255,255,255,.07); }
.vemblem.sm { width: 20px; height: 20px; border-radius: 5px; margin-right: 5px; vertical-align: -4px; }
.vcoach { border-radius: 12px; object-fit: cover; background: rgba(255,255,255,.05); }
.vcoach.fake { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.varrange-mini { margin-top: 10px; font-size: 12.5px; color: var(--dim); }
.vwarn { margin-top: 10px; background: rgba(58,20,24,.55); border: 1px solid #6d2b33; border-radius: 12px; padding: 9px 11px; font-size: 13px; color: #ffc9cf; }
.vgood { margin-top: 8px; background: rgba(20,52,32,.5); border: 1px solid #2b6d45; border-radius: 12px; padding: 9px 11px; font-size: 13px; color: #b8f5c8; }
.vbanner { margin-top: 10px; background: rgba(230,180,34,.12); border: 1px solid rgba(230,180,34,.5); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; color: #ffeaa0; }
.vnews { display: flex; flex-direction: column; gap: 6px; }
.vnews-row { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; font-size: 13px; }
.vnews-row .vdim { margin-right: 6px; font-size: 11.5px; }
.vnews-row.good { border-color: rgba(53,208,127,.45); }
.vnews-row.bad { border-color: rgba(239,77,90,.45); }

/* 表格 */
.vtable { display: flex; flex-direction: column; gap: 4px; }
.vtrow { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 11px; padding: 8px 10px; font-size: 13.5px; }
.vtrow.dis { opacity: .4; }
.vtrow .vtname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vtrow.head { background: transparent; border: 0; color: var(--dim); font-size: 11.5px; padding: 2px 10px; }
.vtrow.head span { flex: none; }
.vtable.rank .vtrow { display: grid; grid-template-columns: 22px 1fr 26px 52px 34px 30px; gap: 4px; text-align: center; }
.vtable.rank .vtname { text-align: left; display: flex; align-items: center; }
.vtable.rank .vtrow.me { border-color: var(--accent); background: rgba(53,208,127,.09); }
.vtable.rank .vtrow.top { }
.vtable.rank .vtrow.top .vtname { color: #ffeaa0; }
.vtable.rank .vtrow.bot .vtname { color: #ffb3ba; }
.vbar-cell { flex: 1.2; display: flex; align-items: center; gap: 6px; }
.vbar { flex: 1; height: 6px; background: rgba(255,255,255,.12); border-radius: 4px; overflow: hidden; }
.vbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent2), var(--accent)); border-radius: 4px; }
.vbar.danger i { background: var(--danger); }
.vbar.warn i { background: var(--warn); }
.vbar.spark i { background: linear-gradient(90deg, #b4741b, var(--gold)); }
.vbar.match i { background: linear-gradient(90deg, var(--accent), var(--gold)); }
.vform { font-size: 11.5px; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line); }
.vform.up { color: #b8f5c8; border-color: rgba(53,208,127,.5); }
.vform.down { color: #ffb3ba; border-color: rgba(239,77,90,.5); }
.vform.mid { color: var(--dim); }
.vrate { font-weight: 800; color: var(--gold); }
.vrate.good { color: var(--accent); }
.vrate.bad { color: var(--danger); }

/* 安排 */
.vslot { background: var(--card); border: 1px dashed var(--line); border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; }
.vslot.done { border-style: solid; border-color: rgba(53,208,127,.45); }
.vslot-h { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--dim); }
.vslot-b { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.vslot-b b { font-size: 14.5px; }
.vslot-b div span { display: block; font-size: 12px; }
.vpickhead { display: flex; gap: 12px; align-items: center; margin: 6px 0 12px; }
.vpickhead .vdim { font-size: 12.5px; }

/* 直播 */
/* 直播：把原来的空画面换成球场（草皮 + 中圈 + 两侧球网 + 左右卡牌推演） */
.vpanel.live { padding-top: 0; display: flex; flex-direction: column; min-height: calc(100dvh - 210px); }
.vpanel.live .vfeed { flex: 1 1 auto; max-height: none; }
.vpanel.live .vfeed > .vfeed-row:first-child { margin-top: auto; } /* 解说从底部往上冒，像直播弹幕 */
.vfeed-empty { color: var(--dim); font-size: 12.5px; text-align: center; padding: 18px 0 6px; }
.vscore { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 10px; }
.vscore-side { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: 12.5px; }
.vscore-side b { font-size: 13px; }
.vscore-mid { text-align: center; }
.vscore-mid b { font-size: 27px; letter-spacing: 1px; }
.vscore-mid span { display: block; color: var(--accent); font-size: 13px; }
.vprogress { margin: 10px 2px 6px; height: 5px; background: rgba(255,255,255,.12); border-radius: 4px; overflow: hidden; }
.vprogress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); }
.vlive-btns { display: flex; gap: 8px; }
.vlive-btns .vbtn { flex: 1; }
.vfeed { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; max-height: 52vh; overflow-y: auto; padding-right: 2px; }
.vfeed-row { background: var(--card); border: 1px solid var(--line); border-radius: 11px; padding: 8px 10px; font-size: 13px; animation: vin .18s ease-out; }
.vfeed-row .vmin { color: var(--dim); font-size: 11.5px; margin-right: 7px; }
.vfeed-row.goal { border-color: rgba(53,208,127,.55); background: rgba(20,52,32,.45); }
.vfeed-row.conceded { border-color: rgba(239,77,90,.5); background: rgba(58,20,24,.42); }
.vfeed-row.info { border-color: rgba(47,128,237,.4); }

/* 直播页沿用玩家选的球场（压在内容之下，很淡） */
.vpanel.live {
  background-image: linear-gradient(rgba(9,12,17,.9), rgba(9,12,17,.95)), var(--stadium, none);
  background-size: cover; background-position: center 24%; border-radius: 16px;
}

/* 球场 */
.vpitch {
  position: relative; margin: 8px 0 10px; padding: 8px 15px; border-radius: 16px; overflow: hidden;
  display: grid; grid-template-columns: 88px 1fr 88px; gap: 6px; min-height: 344px;
  border: 1px solid rgba(120,255,190,.16);
  background:
    radial-gradient(85% 65% at 50% 42%, rgba(255,255,255,.055), transparent 72%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.038) 0 13px, rgba(0,0,0,.045) 13px 26px),
    linear-gradient(180deg, #123a23, #0e2d1c 52%, #0b2417);
}
.vpitch::before { /* 中线 */
  content: ''; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 1px;
  background: rgba(220,255,235,.22); z-index: 1; pointer-events: none;
}
.vpitch::after { /* 中圈 */
  content: ''; position: absolute; left: 50%; top: 50%; width: 104px; height: 104px; margin: -52px 0 0 -52px;
  border: 1px solid rgba(220,255,235,.16); border-radius: 50%; z-index: 1; pointer-events: none;
}
.vgoal-net { /* 两侧球网 */
  position: absolute; top: 50%; width: 10px; height: 104px; margin-top: -52px; z-index: 3; border-radius: 4px;
  border: 1px solid rgba(232,255,245,.55); opacity: .42;
  background-image: linear-gradient(rgba(232,255,245,.42) 1px, transparent 1px), linear-gradient(90deg, rgba(232,255,245,.42) 1px, transparent 1px);
  background-size: 4px 4px;
}
.vgoal-net.l { left: 3px; }
.vgoal-net.r { right: 3px; }
.vgoal-net.hit { animation: vNetIn .85s .6s ease-out both; }

/* 两侧卡牌推演（左=主队，右=客队；每侧 11 张，按位置从后场到前场排两列） */
.vpitch-rail { z-index: 2; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vrail-head { font-size: 10px; text-align: center; color: #cfe8d8; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vrail-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(6, auto); grid-auto-flow: column; gap: 4px; }
.vpitch-rail.away .vrail-grid { direction: rtl; } /* 客队镜像：门将在最外侧 */
.vpc {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 3px 1px 4px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, rgba(13,19,27,.86), rgba(9,13,19,.8));
  transition: transform .18s ease-out, box-shadow .18s ease-out, border-color .18s ease-out;
}
.vpc img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: #0d1219; border: 1px solid rgba(255,255,255,.16); }
.vpc img.body { object-position: 50% 3%; } /* 全身像：往上挪一点，尽量露头 */
.vpc b { font-size: 10px; line-height: 1.15; color: #e4f4ea; }
.vpc span { font-size: 8.5px; line-height: 1; color: #83a893; }
.vpc.tier-2 { border-color: rgba(63,163,77,.55); }
.vpc.tier-3 { border-color: rgba(224,101,58,.55); }
.vpc.tier-4 { border-color: rgba(176,106,224,.6); }
.vpc.tier-5 { border-color: rgba(255,77,109,.6); }
.vpc.tier-6 { border-color: rgba(230,180,34,.62); }
.vpc.on { /* 当前解说里正在带球/射门的球员 */
  z-index: 3; transform: translateY(-2px) scale(1.1); border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(53,208,127,.6), 0 8px 18px rgba(0,0,0,.55), 0 0 16px rgba(53,208,127,.35);
}
.vpc.on::after { content: '⚽'; position: absolute; top: -7px; right: -5px; font-size: 11px; filter: drop-shadow(0 1px 2px #000); }
.vpc.goal { /* 进球者：白+金双层描边，和传奇卡本身的金边区分开 */
  animation: vChipGoal .8s ease-out; border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,.92), 0 0 0 4px var(--gold), 0 0 22px rgba(230,180,34,.6);
}

/* 场中央：当前球员卡面放大 + 实时时钟 + 文字标签 + 球 */
.vpitch-center { z-index: 2; display: flex; align-items: center; justify-content: center; min-width: 0; }
.vact { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 16px 0 4px; }
.vact-clock {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  font-size: 12px; font-weight: 800; letter-spacing: .5px; color: #d8ffe9;
  background: rgba(8,14,11,.62); border: 1px solid rgba(150,255,200,.28); border-radius: 999px; padding: 1px 9px;
}
.vact-card { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 216px; }
.vact-card.in { animation: vActIn .3s ease-out; }
.vact-empty { color: #9fc9b1; font-size: 12.5px; opacity: .85; }
.vact-label { font-size: 11.5px; font-weight: 700; text-align: center; color: #eaf6ef; text-shadow: 0 2px 8px #000; min-height: 17px; line-height: 1.35; }
.vact.mine .vact-label { color: #7dfab2; }
.vact.opp .vact-label { color: #ff9aa5; }
.vact.goal .vact-card { animation: vShake .55s ease-out .08s; filter: drop-shadow(0 0 22px rgba(255,255,255,.35)); }
.vact.goal .vact-label { animation: vLabelPop .7s ease-out; }
.vball {
  position: absolute; left: 50%; bottom: 13%; width: 22px; height: 22px; margin-left: -11px;
  font-size: 22px; line-height: 22px; text-align: center; opacity: 0; pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.65));
}
.vball::before { content: '⚽'; }
.vact.goal .vball { animation: vShoot .6s cubic-bezier(.22,.68,.3,1) .16s both; }

/* 密集列表里的小头像卡（只取头像，外面套按档位着色的卡框） */
.vav {
  position: relative; flex: 0 0 auto; display: inline-block; width: var(--px, 38px); height: var(--px, 38px);
  border-radius: 11px; overflow: hidden; border: 1px solid rgba(255,255,255,.16);
  background: radial-gradient(120% 120% at 50% 14%, #22303f, #0c1117 72%);
  box-shadow: 0 2px 7px rgba(0,0,0,.45);
}
.vav img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; display: block; }
.vav img.body { object-position: 50% 3%; }
.vav i { position: absolute; right: 0; bottom: 0; font-style: normal; font-size: 10px; line-height: 1; background: rgba(9,12,17,.88); border-top-left-radius: 6px; padding: 1px 2px; }
.vav .ptx, .vpc .ptx {
  font-style: normal; font-weight: 700; color: #cfe0f5; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 120% at 50% 15%, #24313f, #0d1219 75%);
}
.vav .ptx { position: absolute; inset: 0; font-size: calc(var(--px, 38px) * 0.42); }
.vpc .ptx { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); font-size: 13px; }
.vav.tier-2 { border-color: var(--t2); }
.vav.tier-3 { border-color: var(--t3); }
.vav.tier-4 { border-color: var(--t4); box-shadow: 0 2px 9px rgba(176,106,224,.3); }
.vav.tier-5 { border-color: var(--t5); box-shadow: 0 2px 10px rgba(255,77,109,.32); }
.vav.tier-6 { border-color: var(--t6); box-shadow: 0 2px 11px rgba(230,180,34,.36); }
.vtrow > .vav { margin-right: 1px; }

@keyframes vActIn { from { opacity: 0; transform: translateY(12px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes vShake {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  12% { transform: translateX(-8px) rotate(-2.6deg); }
  26% { transform: translateX(7px) rotate(2.2deg); }
  40% { transform: translateX(-5px) rotate(-1.6deg); }
  55% { transform: translateX(4px) rotate(1.2deg); }
  72% { transform: translateX(-2px) rotate(-.6deg); }
  86% { transform: translateX(1px); }
}
@keyframes vShoot {
  0% { opacity: 0; transform: translate(0, 0) scale(.55); }
  18% { opacity: 1; transform: translate(calc(var(--dx, 120px) * .16), -6px) scale(1); }
  100% { opacity: 1; transform: translate(var(--dx, 120px), -70px) scale(.72); }
}
@keyframes vNetIn {
  0% { opacity: .42; box-shadow: none; background-color: transparent; }
  18% { opacity: 1; background-color: rgba(255,255,255,.85); box-shadow: 0 0 26px rgba(255,255,255,.75); }
  60% { opacity: .8; background-color: rgba(255,255,255,.25); }
  100% { opacity: .42; box-shadow: none; background-color: transparent; }
}
@keyframes vChipGoal {
  0% { transform: scale(1); }
  35% { transform: scale(1.22); }
  70% { transform: scale(.98); }
  100% { transform: scale(1); }
}
@keyframes vLabelPop { 0% { transform: scale(.7); opacity: 0; } 35% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }

/* 结算 */
.vresult { background: linear-gradient(180deg, #1a2333, #141a26); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-align: center; }
.vresult b { display: block; font-size: 30px; letter-spacing: 1px; }
.vresult span { color: var(--dim); font-size: 13px; }
.vresult.win { border-color: rgba(53,208,127,.55); }
.vresult.win b { color: var(--accent); }
.vresult.loss { border-color: rgba(239,77,90,.5); }
.vresult.loss b { color: #ff9aa5; }
.vmvp { margin-top: 10px; background: rgba(230,180,34,.1); border: 1px solid rgba(230,180,34,.45); border-radius: 12px; padding: 9px 12px; font-size: 13.5px; color: #ffeaa0; }
.vgrowth { margin-top: 10px; background: rgba(53,208,127,.08); border: 1px solid rgba(53,208,127,.32); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: #c9f3dd; }
.vgrowth b { color: #eafff4; }
.vgrowth.up b { color: var(--accent); }
.vovr-delta { font-size: 12px; font-weight: 800; color: var(--dim); white-space: nowrap; }
.vovr-delta.up { color: var(--accent); }
.vbanner.gold { background: rgba(230,180,34,.14); }
.vnotes { font-size: 13px; color: #d5dfec; display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.vnotes.bad { color: #ffc9cf; }

/* 球员详情 */
.vplayerhead { display: flex; gap: 14px; align-items: flex-start; }
.vplayerinfo { display: flex; flex-direction: column; gap: 3px; font-size: 13px; min-width: 0; }
.vplayerinfo b { font-size: 18px; }
.vab { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.vabrow { display: flex; justify-content: space-between; background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 6px 9px; font-size: 12.5px; }
.vabrow.key { border-color: rgba(230,180,34,.5); }
.vabrow.key b { color: var(--gold); }
.vabrow.mid b { color: #cfe0f5; }
.vsummary { display: grid; grid-template-columns: repeat(auto-fit, minmax(74px, 1fr)); gap: 8px; margin-top: 10px; }
.vsummary > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; display: flex; flex-direction: column; gap: 2px; }
.vsummary b { font-size: 16px; }
.vsched { display: flex; flex-direction: column; gap: 10px; }
.vround { background: var(--card); border: 1px solid var(--line); border-radius: 13px; padding: 9px 11px; font-size: 12.5px; }
.vround > b { display: block; margin-bottom: 5px; color: #cfe0f5; }
.vfixture { display: grid; grid-template-columns: 1fr 46px 1fr; gap: 6px; align-items: center; padding: 3px 0; color: var(--dim); }
.vfixture span:last-child { text-align: right; }
.vfixture b { text-align: center; color: var(--txt); }
.vfixture.me { color: var(--txt); }
.vfixture.me b { color: var(--accent); }

/* 弹层 / toast */
.vmodal { position: fixed; inset: 0; background: rgba(5,7,10,.72); display: none; align-items: center; justify-content: center; padding: 18px; z-index: 60; backdrop-filter: blur(3px); }
.vmodal.show { display: flex; }
.vmodal-card { width: min(430px, 100%); background: #171e2b; border: 1px solid var(--line); border-radius: 18px; padding: 16px; max-height: 84vh; overflow-y: auto; animation: vup .2s ease-out; }
.vmodal-card h3 { margin: 0 0 8px; font-size: 17px; }
.vmodal-card p { margin: 0 0 10px; font-size: 14.5px; }
.vchip-cat { display: inline-block; font-size: 11.5px; color: var(--gold); border: 1px solid rgba(230,180,34,.5); border-radius: 999px; padding: 2px 9px; margin-bottom: 8px; }
.vevtext { background: rgba(0,0,0,.25); border-left: 3px solid var(--accent2); border-radius: 8px; padding: 10px 12px; }
.vtoast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 20px); transform: translateX(-50%) translateY(12px); background: #222b3b; border: 1px solid var(--line); color: var(--txt); padding: 10px 16px; border-radius: 12px; font-size: 13.5px; opacity: 0; transition: all .2s; z-index: 70; max-width: 90vw; text-align: center; }
.vtoast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.vtoast.good { border-color: rgba(53,208,127,.6); }
.vtoast.bad { border-color: rgba(239,77,90,.6); }
#vboot { text-align: center; color: var(--dim); padding: 18px 0; font-size: 13px; }
@keyframes vin { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes vup { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- 过场动画 */

/* 全屏过场（训练 / 开球入场）：不要灰底，整屏自绘 */
.vmodal.clear { background: #070b10; padding: 0; backdrop-filter: none; overflow: hidden; }
.vfade { animation: vFadeIn .25s ease-out both; }
@keyframes vFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* —— 训练过场 —— */
.vtrain {
  position: relative; width: 100%; height: 100%; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  background: radial-gradient(130% 70% at 50% 0%, #123a23 0%, #0a1a12 62%, #070b10 100%);
  animation: vFadeIn .22s ease-out both;
}
.vtrain-scene {
  position: relative; width: min(330px, 84vw); height: 186px; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(120,255,190,.18);
  background:
    radial-gradient(85% 60% at 50% 36%, rgba(255,255,255,.05), transparent 72%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 15px, rgba(0,0,0,.06) 15px 30px),
    linear-gradient(180deg, #14512f, #0e3520 60%, #0b2a19);
}
.vtrain-title { font-size: 20px; font-weight: 800; letter-spacing: .5px; animation: vup .3s ease-out both; }
.vtrain-sub { color: var(--dim); font-size: 13px; margin-top: -4px; }
.vtrain-gain { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; min-height: 26px; }
.vtrain-gain span {
  background: rgba(53,208,127,.12); border: 1px solid rgba(53,208,127,.45); color: #a9f5cd;
  border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 700;
  animation: vChipGain .34s ease-out both;
}
.vtrain-gain span:nth-child(2) { animation-delay: .35s; }
.vtrain-gain span:nth-child(3) { animation-delay: .7s; }
@keyframes vChipGain { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }
.vtrain-skip { position: absolute; bottom: 30px; color: var(--dim); font-size: 12px; opacity: .75; animation: vBlink 1.6s ease-in-out infinite; }
@keyframes vBlink { 0%, 100% { opacity: .45; } 50% { opacity: .95; } }

/* 场景里的通用零件 */
.vfx-actor { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); z-index: 3; filter: drop-shadow(0 6px 12px rgba(0,0,0,.5)); }
.vfx-ball { position: absolute; z-index: 4; font-size: 20px; line-height: 1; filter: drop-shadow(0 3px 6px rgba(0,0,0,.55)); }

/* 盘带绕桩：三个锥桶 + 蛇形绕桩 */
.vfx-cones i { position: absolute; bottom: 26px; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 16px solid #ff9f43; opacity: .95; }
.vfx-cones i:nth-child(1) { left: 26%; }
.vfx-cones i:nth-child(2) { left: 48%; bottom: 44px; }
.vfx-cones i:nth-child(3) { left: 70%; }
.kind-dribble .vfx-actor { animation: vActorZig 3.2s ease-in-out both; }
@keyframes vActorZig {
  0% { left: 16%; top: 58%; } 25% { left: 34%; top: 40%; } 50% { left: 52%; top: 62%; }
  75% { left: 70%; top: 40%; } 100% { left: 86%; top: 56%; }
}
.kind-dribble .vfx-ball.zig { animation: vBallZig 3.2s ease-in-out .18s both; }
@keyframes vBallZig {
  0% { left: 20%; bottom: 22%; } 25% { left: 37%; bottom: 46%; } 50% { left: 55%; bottom: 20%; }
  75% { left: 73%; bottom: 46%; } 100% { left: 88%; bottom: 24%; }
}

/* 射门训练：门前连射死角 */
.vfx-goal { position: absolute; right: 12px; top: 30px; width: 96px; height: 96px; border: 3px solid rgba(232,255,245,.85); border-bottom-width: 5px; border-radius: 4px 4px 2px 2px; opacity: .9; background-image: linear-gradient(rgba(232,255,245,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(232,255,245,.4) 1px, transparent 1px); background-size: 8px 8px; }
.kind-shoot .vfx-goal { animation: vGoalShake .5s ease-out 1.5s; }
@keyframes vGoalShake { 0%, 100% { transform: none; } 30% { transform: translateX(4px) rotate(.6deg); } 60% { transform: translateX(-3px); } }
.kind-shoot .vfx-actor { animation: vKick 3.2s ease-in-out both; }
@keyframes vKick { 0% { transform: translate(-50%, -50%); } 38% { transform: translate(-158%, -46%) rotate(-14deg); } 46% { transform: translate(-146%, -58%) rotate(9deg); } 100% { transform: translate(-150%, -50%); } }
.kind-shoot .vfx-ball.kick { animation: vShootBall 3.2s cubic-bezier(.3,.9,.4,1) .35s both; }
@keyframes vShootBall { 0% { left: 44%; bottom: 20%; transform: scale(1); } 40% { left: 62%; bottom: 58%; transform: scale(.86); } 48% { left: 74%; bottom: 62%; transform: scale(.7); } 100% { left: 76%; bottom: 58%; transform: scale(.66); } }

/* 力量抢圈：围圈抢球 + 中央对抗 */
.vfx-circle i { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #4b6580, #1b2634); border: 1px solid rgba(255,255,255,.22); }
.vfx-circle i:nth-child(1) { transform: rotate(0deg) translateX(66px); }
.vfx-circle i:nth-child(2) { transform: rotate(90deg) translateX(66px); }
.vfx-circle i:nth-child(3) { transform: rotate(180deg) translateX(66px); }
.vfx-circle i:nth-child(4) { transform: rotate(270deg) translateX(66px); }
.vfx-circle { animation: vCircleSpin 3.4s linear both; }
@keyframes vCircleSpin { from { transform: rotate(0deg); } to { transform: rotate(180deg); } }
.kind-rondo .vfx-actor.ctr { animation: vTussle 3.4s ease-in-out both; }
@keyframes vTussle { 0%, 100% { transform: translate(-50%, -50%) rotate(0deg); } 25% { transform: translate(-64%, -52%) rotate(-7deg); } 50% { transform: translate(-36%, -46%) rotate(7deg); } 75% { transform: translate(-52%, -58%) rotate(-4deg); } }
.kind-rondo .vfx-ball.pass { animation: vPass 1.15s linear infinite; }
@keyframes vPass { from { left: 50%; top: 50%; transform: rotate(0deg) translateX(66px) rotate(0deg) scale(.9); } to { left: 50%; top: 50%; transform: rotate(360deg) translateX(66px) rotate(-360deg) scale(.9); } }

/* 体能训练：折返跑 + 速度线 */
.vfx-lines i { position: absolute; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5)); }
.vfx-lines i:nth-child(1) { left: 16%; right: 40%; top: 30%; }
.vfx-lines i:nth-child(2) { left: 30%; right: 22%; top: 44%; }
.vfx-lines i:nth-child(3) { left: 12%; right: 48%; top: 60%; }
.vfx-lines i:nth-child(4) { left: 36%; right: 16%; top: 74%; }
.kind-fitness .vfx-lines i { animation: vLineRun 1.1s linear infinite; }
@keyframes vLineRun { from { transform: translateX(26px); opacity: 0; } 40% { opacity: .9; } to { transform: translateX(-40px); opacity: 0; } }
.kind-fitness .vfx-actor.run { animation: vRun 1.1s ease-in-out infinite; }
@keyframes vRun { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, -62%); } }

/* 针对性训练：位置网格，逐个亮起 */
.vfx-grid i { position: absolute; width: 30px; height: 30px; border-radius: 9px; border: 1px solid rgba(120,255,190,.4); background: rgba(53,208,127,.08); animation: vGridPop 1.1s ease-in-out infinite; }
.vfx-grid i:nth-child(1) { left: 14%; top: 20%; animation-delay: 0s; }
.vfx-grid i:nth-child(2) { left: 42%; top: 14%; animation-delay: .18s; }
.vfx-grid i:nth-child(3) { left: 70%; top: 20%; animation-delay: .36s; }
.vfx-grid i:nth-child(4) { left: 14%; top: 58%; animation-delay: .54s; }
.vfx-grid i:nth-child(5) { left: 42%; top: 64%; animation-delay: .72s; }
.vfx-grid i:nth-child(6) { left: 70%; top: 58%; animation-delay: .9s; }
@keyframes vGridPop { 0%, 100% { opacity: .25; transform: scale(.86); } 45% { opacity: 1; transform: scale(1.08); } }
.kind-target .vfx-ball.kick { animation: vShootBall 3.2s cubic-bezier(.3,.9,.4,1) .5s both; }

/* 技术特训：环绕星点 + 转体 */
.vfx-star i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: #ffe9a0; box-shadow: 0 0 8px rgba(255,233,160,.9); }
.vfx-star i:nth-child(1) { transform: rotate(0deg) translateX(74px); }
.vfx-star i:nth-child(2) { transform: rotate(72deg) translateX(74px); }
.vfx-star i:nth-child(3) { transform: rotate(144deg) translateX(74px); }
.vfx-star i:nth-child(4) { transform: rotate(216deg) translateX(74px); }
.vfx-star i:nth-child(5) { transform: rotate(288deg) translateX(74px); }
.vfx-star { animation: vStarSpin 2.2s linear infinite; }
@keyframes vStarSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.kind-skill .vfx-actor.spin { animation: vSpin 1.6s ease-in-out infinite; }
@keyframes vSpin { 0%, 100% { transform: translate(-50%, -50%) rotate(-10deg); } 50% { transform: translate(-50%, -50%) rotate(14deg); } }
.kind-skill .vfx-ball.zig { animation: vBallOrbit 1.9s ease-in-out infinite; }
@keyframes vBallOrbit { 0%, 100% { left: 26%; bottom: 26%; } 50% { left: 66%; bottom: 40%; } }

/* 休息：呼噜 Z 字 */
.vfx-zzz i { position: absolute; font-size: 18px; font-weight: 900; color: #cfe0f5; opacity: 0; }
.vfx-zzz i::before { content: 'Z'; }
.vfx-zzz i:nth-child(1) { left: 58%; top: 40%; animation: vZzz 2.4s ease-out infinite; }
.vfx-zzz i:nth-child(2) { left: 64%; top: 36%; animation: vZzz 2.4s ease-out .5s infinite; }
.vfx-zzz i:nth-child(3) { left: 70%; top: 31%; animation: vZzz 2.4s ease-out 1s infinite; }
.vfx-zzz i:nth-child(4) { left: 62%; top: 30%; animation: vZzz 2.4s ease-out 1.5s infinite; }
@keyframes vZzz { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 25% { opacity: .95; } 100% { opacity: 0; transform: translate(16px, -34px) scale(1.15); } }
.kind-rest .vfx-actor.rest { animation: vBreathe 2s ease-in-out infinite; }
@keyframes vBreathe { 0%, 100% { transform: translate(-50%, -48%); opacity: .82; } 50% { transform: translate(-50%, -53%); opacity: 1; } }

/* 康复治疗：十字脉冲 */
.vfx-cross { position: absolute; left: 24%; top: 34%; color: #7dfab2; font-size: 30px; font-weight: 900; text-shadow: 0 0 16px rgba(125,250,178,.7); animation: vCrossPulse 1.5s ease-in-out infinite; }
.vfx-cross.c2 { left: auto; right: 22%; top: 54%; font-size: 22px; animation-delay: .7s; }
@keyframes vCrossPulse { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }

/* —— 开球入场动画 —— */
.vintro {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  background-image: linear-gradient(180deg, rgba(4,8,12,.16) 20%, rgba(4,8,12,.86) 82%), var(--stadium, none);
  background-size: cover; background-position: center 30%; transform-origin: center;
  animation: vIntroZoom 4s ease-out both, vIntroOut .45s 3.15s ease-in both;
}
.vintro-dark { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 85% at 50% 42%, transparent 34%, rgba(2,5,8,.72) 100%); }
@keyframes vIntroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes vIntroOut { from { opacity: 1; } to { opacity: 0; } }
.vintro-tag { position: relative; z-index: 2; margin-bottom: -8px; font-size: 12.5px; color: #dfe9f5; background: rgba(6,10,15,.6); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 3px 12px; text-shadow: 0 1px 6px #000; animation: vIntroTag .6s .25s ease-out both; }
@keyframes vIntroTag { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.vintro-main { position: relative; z-index: 2; display: flex; align-items: center; gap: clamp(10px, 5vw, 34px); }
.vintro-side { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 96px; text-shadow: 0 2px 10px rgba(0,0,0,.9); }
.vintro-side b { font-size: clamp(14px, 4.2vw, 18px); text-align: center; }
.vintro-side span { font-size: 11.5px; color: #cfdceb; }
.vintro-side.l { animation: vSlideL .7s cubic-bezier(.2,.75,.3,1) .35s both; }
.vintro-side.r { animation: vSlideR .7s cubic-bezier(.2,.75,.3,1) .35s both; }
@keyframes vSlideL { from { opacity: 0; transform: translateX(-46px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes vSlideR { from { opacity: 0; transform: translateX(46px) scale(.9); } to { opacity: 1; transform: none; } }
.vintro-vs { font-size: clamp(24px, 8vw, 34px); font-weight: 900; color: #fff; text-shadow: 0 0 22px rgba(255,255,255,.55), 0 2px 10px #000; animation: vIntroVs .8s .95s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes vIntroVs { 0% { opacity: 0; transform: scale(.4) rotate(-14deg); } 60% { opacity: 1; transform: scale(1.18) rotate(4deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }
.vintro-kick { position: relative; z-index: 2; font-size: clamp(28px, 10vw, 42px); font-weight: 900; letter-spacing: 6px; color: #fff; text-shadow: 0 0 30px rgba(53,208,127,.85), 0 3px 14px #000; animation: vIntroKick .75s 1.7s cubic-bezier(.2,1.3,.4,1) both; }
@keyframes vIntroKick { 0% { opacity: 0; transform: scale(.5); } 55% { opacity: 1; transform: scale(1.14); } 70% { transform: scale(.98) rotate(-1.2deg); } 100% { opacity: 1; transform: scale(1); } }
.vintro-skip { position: absolute; right: 14px; bottom: 16px; z-index: 3; color: var(--dim); font-size: 11.5px; opacity: .75; animation: vBlink 1.6s ease-in-out infinite; }

/* 桌面宽屏时给个手机外框观感 */
@media (min-width: 700px) {
  body { background: #070a0e; }
  #vapp { border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: var(--bg); min-height: 100vh; }
  .vnav { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
}
