/* 网球主页：由原型 V16（prototypes/tennis-profile-layers-20261026-v16.html）的样式整理而来；
   所有选择器限定在 #tennisProfile 内，避免与站点样式互相影响。 */
#tennisProfile {
--night: #050f0c; --forest: #0b2d23; --forest-2: #071e18; --forest-3: #123f31;
--lime: #d7ff3f; --lime-deep: #4d6400; --clay: #ee7b47; --clay-deep: #b54f27;
--paper: #f1ece0; --paper-2: #f9f6ee; --ink: #111611; --muted: #5a6159; --faint: #8b9084; --line: #d8d0bf;
--text: #f2f6ea; --text-2: rgba(242,246,234,.62); --text-3: rgba(242,246,234,.4); --hair: rgba(255,255,255,.13);
--display: "Big Shoulders Display", "Avenir Next Condensed", "DIN Condensed", "Barlow Condensed", "PingFang SC", sans-serif;
--sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
--serif: "Noto Serif SC", "Songti SC", "STSong", serif;
--mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
--r-s: 6px; --r-m: 14px; --r-l: 22px; --max: 1240px; --ease: cubic-bezier(.2,.8,.2,1);
--z1: #3d6e56; --z2: #8fbf5a; --z3: #d7ff3f; --z4: #f0b24a; --z5: #ee7b47;
}
#tennisProfile * { box-sizing: border-box; }
#tennisProfile { margin: 0; background: var(--night); color: var(--text); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-wrap: pretty; overflow-x: clip; }
#tennisProfile button { font: inherit; color: inherit; cursor: pointer; }
#tennisProfile a { color: inherit; text-decoration: none; }
#tennisProfile img, #tennisProfile svg, #tennisProfile canvas { display: block; max-width: 100%; }
#tennisProfile h1, #tennisProfile h2, #tennisProfile h3, #tennisProfile p, #tennisProfile dl, #tennisProfile dd { margin: 0; }
#tennisProfile :focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
#tennisProfile ::selection { background: var(--lime); color: var(--forest-2); }
#tennisProfile .pf-num { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
#tennisProfile .rv { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
#tennisProfile .rv:not(.in) { opacity: 0; transform: translateY(22px); }
#tennisProfile .slot { display: grid; gap: 3px; align-content: center; padding: 10px 14px; border: 1px dashed rgba(255,255,255,.24); border-radius: var(--r-s); color: var(--text-3); }
#tennisProfile .slot b { color: var(--text-2); font-size: 13px; font-weight: 700; }
#tennisProfile .slot small { font-size: 11px; line-height: 1.45; }
#tennisProfile .btn { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 99px; font-size: 15px; font-weight: 700; transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s; white-space: nowrap; }
#tennisProfile .btn:active { transform: translateY(1px) scale(.99); }
#tennisProfile .btn-lime { background: var(--lime); color: var(--forest-2); }
#tennisProfile .btn-lime:hover { background: #e6ff7a; transform: translateY(-2px); }
#tennisProfile .btn svg { width: 16px; height: 16px; }
#tennisProfile .hero { position: relative; min-height: min(calc(100svh - 150px), 640px); display: flex; flex-direction: column; overflow: hidden; background: radial-gradient(110% 100% at 78% 10%, #11402f 0%, var(--forest) 45%, var(--night) 100%); isolation: isolate; }
#tennisProfile .hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
#tennisProfile .hero-glow { position: absolute; inset: 0; background: radial-gradient(52% 70% at 80% 40%, rgba(215,255,63,.07), transparent 72%); }
#tennisProfile .grain { position: absolute; inset: 0; opacity: .1; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
#tennisProfile .hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); gap: 56px; align-items: center; padding: 88px 0 40px; }
@keyframes tp-pulse { 50% { box-shadow: 0 0 0 9px rgba(215,255,63,0); } }
#tennisProfile .hero h1 { margin-top: 18px; font: 900 clamp(32px, 3.9vw, 54px)/1.12 var(--sans); letter-spacing: -.05em; }
#tennisProfile .hero h1 .pf-num { color: var(--lime); font-size: 1.16em; line-height: .8; letter-spacing: -.02em; padding: 0 .04em; }
#tennisProfile .hero h1 .line { display: block; overflow: hidden; }
#tennisProfile .hero h1 .line > span { display: block; }
#tennisProfile .hero h1 .line > span { transform: translateY(105%); animation: tp-rise .9s var(--ease) forwards; animation-delay: var(--d); }
@keyframes tp-rise { to { transform: none; } }
#tennisProfile .res { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 99px; font-size: 11px; font-weight: 800; vertical-align: 1px; }
#tennisProfile .res.w { background: var(--lime); color: var(--forest-2); }
#tennisProfile .res.l { background: var(--clay); color: var(--forest-2); }
#tennisProfile .card-stage { perspective: 1200px; display: grid; justify-items: center; gap: 14px; }
#tennisProfile .player-card { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 30%; position: relative; width: min(100%, 440px); aspect-ratio: 7 / 4; transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .5s var(--ease); cursor: pointer; }
#tennisProfile .player-card.live { transition: transform .08s linear; }
#tennisProfile .pc-flip { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--ease); }
#tennisProfile .player-card.flipped .pc-flip { transform: rotateY(180deg); }
#tennisProfile .pc-face { position: absolute; inset: 0; overflow: hidden; display: flex; flex-direction: column; padding: 18px 22px 15px; border: 1px solid rgba(215,255,63,.32); border-radius: var(--r-m); background: linear-gradient(160deg, #12483a 0%, #0a2a21 55%, #071c15 100%); box-shadow: 0 40px 80px -30px rgba(0,0,0,.65), 0 0 0 1px rgba(0,0,0,.35); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
#tennisProfile .pc-top { position: relative; display: flex; align-items: center; justify-content: space-between; font: 500 10px/1 var(--mono); letter-spacing: .08em; color: var(--text-3); }
#tennisProfile .pc-brand { display: flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 800; font-size: 14px; letter-spacing: .14em; color: var(--text); }
#tennisProfile .pc-brand img { width: 18px; height: 18px; border-radius: 5px; }
#tennisProfile .ic-main { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; padding-top: 4px; }
#tennisProfile .ic-name { font: 900 36px/1 var(--sans); letter-spacing: -.04em; }
#tennisProfile .ic-meta { margin-top: 10px; color: var(--text-2); font-size: 11.5px; line-height: 1.7; }
#tennisProfile .ic-rate { text-align: right; margin-top: -22px; }
#tennisProfile .ic-rate b { display: block; color: var(--lime); font: 900 88px/.8 var(--display); letter-spacing: -.02em; text-shadow: 0 0 36px rgba(215,255,63,.3); }
#tennisProfile .ic-rate span { display: block; margin: 2px 0 2px; color: var(--text-2); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
#tennisProfile .ic-rate em { display: block; margin-top: 2px; color: var(--lime); font: 700 11px var(--mono); font-style: normal; }
#tennisProfile .ic-facts { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 10px; border-top: 1px solid var(--hair); }
#tennisProfile .ic-facts > div + div { padding-left: 14px; border-left: 1px solid var(--hair); }
#tennisProfile .ic-facts dt { color: var(--text-3); font-size: 10px; }
#tennisProfile .ic-facts dd { margin-top: 3px; font: 800 20px/1 var(--display); }
#tennisProfile .ic-meta { display: grid; gap: 4px; margin-top: 12px; }
#tennisProfile .ic-home { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
#tennisProfile .ic-home small { color: var(--text-3); font-size: 10.5px; }
#tennisProfile .ic-home b { color: var(--text); font-size: 13px; font-weight: 800; line-height: 1.3; }
#tennisProfile .ic-rate em { margin-top: 8px; color: var(--text-2); font: 700 12px var(--sans); }
#tennisProfile .ic-rate em[hidden] { display: none; }
#tennisProfile .ic-rate b.sm { font-size: 76px; }
#tennisProfile .ic-facts dd.dim { color: var(--text-3); }
#tennisProfile .id-card { cursor: default; }
#tennisProfile .ic-facts dd small { margin-left: 4px; color: var(--text-3); font: 500 10px var(--sans); }
#tennisProfile .pc-court { position: absolute; right: -14%; top: -30%; width: 86%; color: rgba(255,255,255,.06); transform: rotate(-8deg); pointer-events: none; }
#tennisProfile .pc-sheen { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.5), transparent 42%); opacity: .7; }
#tennisProfile .pc-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
#tennisProfile .pc-actions [hidden] { display: none; }
#tennisProfile .pc-flipbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border: 1px solid var(--hair); border-radius: 99px; background: rgba(255,255,255,.04); color: var(--text-2); font-size: 12px; font-weight: 700; transition: color .2s, border-color .2s; }
#tennisProfile .pc-flipbtn:hover { color: var(--text); border-color: rgba(215,255,63,.5); }
#tennisProfile .pc-note { color: var(--text-3); font-size: 11px; text-align: center; }
#tennisProfile .player-card { animation: tp-card-in 1.1s .35s var(--ease) both; }
@keyframes tp-card-in { from { opacity: 0; transform: translateY(40px) rotate(4deg) scale(.96); } }
#tennisProfile .section { padding: clamp(56px, 9vh, 84px) 0; }
#tennisProfile .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 30px; }
#tennisProfile .sec-head h2 { font: 900 clamp(30px, 3.8vw, 48px)/1.08 var(--sans); letter-spacing: -.05em; }
#tennisProfile .sec-head h2 em { font-style: normal; color: var(--lime); }
#tennisProfile .sec-head p { max-width: 400px; color: var(--text-2); font-size: 14px; }
#tennisProfile .tl-card:not(.in) .ses .bar { transform: scaleY(0); }
#tennisProfile .tl-card.in .ses .bar { transition: transform .8s calc(var(--k, 0) * 12ms) var(--ease), filter .2s; }
#tennisProfile .tip { position: fixed; z-index: 70; pointer-events: none; padding: 8px 11px; border-radius: 9px; background: rgba(5,15,12,.94); border: 1px solid var(--hair); color: var(--text); font-size: 12px; line-height: 1.5; opacity: 0; transform: translate(-50%, calc(-100% - 12px)); transition: opacity .15s; white-space: nowrap; }
#tennisProfile .tip.show { opacity: 1; }
#tennisProfile .tip small { display: block; color: var(--text-3); font: 500 11px var(--mono); }
#tennisProfile .sorts { display: flex; gap: 4px; padding: 12px 12px 10px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--hair); }
#tennisProfile .sorts::-webkit-scrollbar { display: none; }
#tennisProfile .sorts button { flex: none; min-height: 32px; padding: 0 12px; border: 1px solid transparent; border-radius: 99px; background: transparent; color: var(--text-2); font-size: 12.5px; font-weight: 700; }
#tennisProfile .sorts button:hover { color: var(--text); }
#tennisProfile .sorts button[aria-pressed="true"] { border-color: rgba(215,255,63,.5); background: rgba(215,255,63,.1); color: var(--lime); }
#tennisProfile .cal-wrap { overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
#tennisProfile .cal { --cs: 15px; display: grid; grid-template-columns: 22px 1fr; column-gap: 6px; min-width: 700px; }
#tennisProfile .cal-m { grid-column: 2; position: relative; height: 18px; color: var(--faint); font: 500 10px var(--mono); }
#tennisProfile .cal-m span { position: absolute; top: 0; }
#tennisProfile .cal-d { display: grid; grid-template-rows: repeat(7, var(--cs)); gap: 3px; color: var(--faint); font-size: 9.5px; line-height: var(--cs); }
#tennisProfile .cal-g { display: grid; grid-template-rows: repeat(7, var(--cs)); grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; }
#tennisProfile .cd { height: var(--cs); padding: 0; border: 0; border-radius: 3px; background: rgba(17,22,17,.07); }
#tennisProfile .cd.fut { background: transparent; }
#tennisProfile .cd.l1 { background: rgba(11,45,35,.26); } #tennisProfile .cd.l2 { background: rgba(11,45,35,.5); } #tennisProfile .cd.l3 { background: rgba(11,45,35,.76); } #tennisProfile .cd.l4 { background: var(--forest); }
#tennisProfile button.cd:hover { outline: 2px solid var(--clay-deep); outline-offset: 1px; }
#tennisProfile .cal-leg { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 12px; color: var(--faint); font-size: 11px; }
#tennisProfile .cal-leg .cd { width: 13px; height: 13px; }
#tennisProfile .mx { display: grid; grid-template-columns: 34px repeat(4, 1fr); gap: 6px 4px; align-items: center; }
#tennisProfile .heart { background: radial-gradient(60% 60% at 90% 0%, #123f31 0%, transparent 70%), var(--night); }
#tennisProfile .out { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
#tennisProfile .toast { position: fixed; z-index: 90; left: 50%; bottom: 76px; padding: 12px 18px; border-radius: 10px; background: var(--lime); color: var(--forest-2); font-size: 13px; font-weight: 700; box-shadow: 0 16px 40px rgba(0,0,0,.35); opacity: 0; pointer-events: none; transform: translate(-50%, 24px); transition: opacity .25s, transform .25s var(--ease); max-width: calc(100% - 32px); }
#tennisProfile .toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 1060px) {
#tennisProfile .hero-grid { grid-template-columns: 1fr; gap: 44px; padding-top: 96px; }
}
@media (max-width: 700px) {
#tennisProfile .section { padding: 60px 0; }
#tennisProfile .hero { min-height: 0; }
#tennisProfile .hero-grid { padding: 76px 0 28px; gap: 26px; }
#tennisProfile .hero h1 { font-size: clamp(34px, 10.4vw, 46px); }
#tennisProfile .ic-name { font-size: 30px; }
#tennisProfile .ic-rate b { font-size: 64px; }
#tennisProfile .ic-meta { font-size: 11px; }
#tennisProfile .ic-facts dd { font-size: 18px; }
#tennisProfile .ic-facts > div + div { padding-left: 10px; }
#tennisProfile .pc-face { padding: 14px 16px 12px; }
#tennisProfile .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
#tennisProfile .out .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
#tennisProfile *, #tennisProfile *::before, #tennisProfile *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}
#tennisProfile.has-w .only-no-w, #tennisProfile.has-b .only-no-b { display: none !important; }
#tennisProfile .tl-card:not(.in) .ses.ghost .bar { transform: none; }
#tennisProfile .tl-card:not(.in) .mstack .ball { opacity: 0; transform: translateY(-30px); }
#tennisProfile .tl-card.in .mstack .ball { transition: opacity .3s calc(var(--c) * 50ms + var(--k) * 20ms), transform .6s calc(var(--c) * 50ms + var(--k) * 20ms) cubic-bezier(.3,1.5,.5,1); }
#tennisProfile .people { background: var(--night); border-top: 1px solid var(--hair); }
#tennisProfile .pp-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; }
#tennisProfile .pp-card { padding: 26px 28px; border: 1px solid var(--hair); border-radius: var(--r-l); background: rgba(255,255,255,.035); }
#tennisProfile .pp-card h3 { font: 900 17px var(--sans); letter-spacing: -.02em; }
#tennisProfile .pp-card .sub { margin: 2px 0 12px; color: var(--text-3); font-size: 12.5px; }
#tennisProfile .pr { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--hair); }
#tennisProfile .pr .av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--forest-3); font: 900 15px var(--sans); }
#tennisProfile .pr b { font-size: 15px; }
#tennisProfile .pr small { display: block; color: var(--text-3); font-size: 12px; line-height: 1.5; }
#tennisProfile .rating { background: radial-gradient(60% 60% at 12% 0%, #123f31 0%, transparent 70%), var(--night); border-top: 1px solid var(--hair); }
#tennisProfile .rt-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 20px; }
#tennisProfile .rt-card { padding: 28px; border: 1px solid var(--hair); border-radius: var(--r-l); background: rgba(255,255,255,.035); }
#tennisProfile .rt-card h3 { font: 900 17px var(--sans); letter-spacing: -.02em; }
#tennisProfile .rt-card .sub { margin: 2px 0 14px; color: var(--text-3); font-size: 12.5px; }
#tennisProfile .rt-kv { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--hair); }
#tennisProfile .rt-kv > div { padding: 0 18px; border-left: 1px solid var(--hair); }
#tennisProfile .rt-kv > div:first-child { padding-left: 0; border-left: 0; }
#tennisProfile .rt-kv dt { color: var(--text-3); font-size: 11px; }
#tennisProfile .rt-kv dd { margin-top: 3px; font: 800 24px/1 var(--display); }
#tennisProfile .rt-kv dd small { margin-left: 3px; color: var(--text-3); font: 500 11px var(--sans); }
#tennisProfile .rt-chart svg { width: 100%; height: auto; overflow: visible; }
#tennisProfile .rt-chart .rt-node { cursor: default; }
#tennisProfile .rt-chart .rt-node:focus { outline: none; stroke: var(--clay); stroke-width: 2.4; }
#tennisProfile .rt-axis-note { margin: 2px 0 0; color: var(--faint); font-size: 11px; line-height: 1.55; }
#tennisProfile .film { background: var(--forest-2); border-top: 1px solid var(--hair); }
#tennisProfile .film .sorts { padding: 0 0 14px; border-bottom: 0; }
#tennisProfile .vc { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--hair); border-radius: var(--r-m); background: rgba(255,255,255,.03); text-align: left; overflow: hidden; transition: border-color .2s, transform .25s var(--ease); }
#tennisProfile .vc:hover { border-color: rgba(215,255,63,.5); transform: translateY(-3px); }
#tennisProfile .vc .dur { position: absolute; right: 10px; bottom: 8px; z-index: 1; padding: 2px 7px; border-radius: 4px; background: rgba(5,15,12,.8); font: 500 11px var(--mono); }
#tennisProfile .vc .bd { padding: 13px 15px 15px; }
#tennisProfile .vc .bd b { display: block; font-size: 14px; }
#tennisProfile .vc .bd small { display: block; margin-top: 3px; color: var(--text-3); font-size: 12px; }
#tennisProfile .vc .pf-hl { margin-top: 8px; color: var(--lime); font: 700 12px var(--mono); }
#tennisProfile .fn { display: grid; gap: 14px; }
#tennisProfile [hidden] { display: none !important; }
#tennisProfile .empty-mod { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 36px; align-items: center; padding: 32px 36px; border: 1px dashed rgba(255,255,255,.28); border-radius: var(--r-l); background: rgba(255,255,255,.025); }
#tennisProfile .em-ghost { position: relative; min-height: 150px; opacity: .55; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
#tennisProfile .em-ghost svg { width: 100%; height: auto; display: block; }
#tennisProfile .sk { display: block; height: 9px; border-radius: 5px; background: rgba(255,255,255,.14); }
#tennisProfile .gh-row { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: center; margin-bottom: 18px; }
#tennisProfile .gh-row .av { width: 36px; height: 36px; border-radius: 50%; }
#tennisProfile .gh-row .sk + .sk { height: 4px; margin-top: 9px; }
#tennisProfile .gh-films { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
#tennisProfile .gh-films i { aspect-ratio: 16 / 9; height: auto; border-radius: 8px; position: relative; }
#tennisProfile .gh-films i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: rgba(215,255,63,.4); }
#tennisProfile .gh-zones { display: flex; gap: 3px; height: 18px; margin-bottom: 18px; }
#tennisProfile .gh-zones i { height: 100%; border-radius: 4px; background: var(--zc); opacity: .55; }
#tennisProfile .em-tag { display: inline-flex; align-items: center; padding: 4px 11px; border: 1px dashed rgba(255,255,255,.34); border-radius: 99px; color: var(--text-3); font: 500 11px/1 var(--mono); letter-spacing: .04em; }
#tennisProfile .em-body b { display: block; margin: 14px 0 8px; font: 900 clamp(22px, 2.4vw, 28px)/1.25 var(--sans); letter-spacing: -.03em; }
#tennisProfile .em-body p { max-width: 440px; color: var(--text-2); font-size: 14px; line-height: 1.7; }
#tennisProfile .em-unlock { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 20px; }
#tennisProfile .em-unlock span { padding: 4px 11px; border-radius: 99px; background: rgba(215,255,63,.1); color: var(--lime); font-size: 12px; font-weight: 700; }
#tennisProfile .em-unlock span::before { content: "+ "; opacity: .7; }
@media (max-width: 860px) { #tennisProfile .empty-mod { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 20px; } #tennisProfile .em-ghost { min-height: 110px; max-height: 150px; overflow: hidden; } }
@media (max-width: 1060px) {
#tennisProfile .pp-grid, #tennisProfile .rt-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
#tennisProfile .pp-card, #tennisProfile .rt-card { padding: 20px 18px; }
#tennisProfile .rt-kv > div { padding: 0 12px; }
#tennisProfile .toast { bottom: 130px; }
}
#tennisProfile .cal-block { margin-top: 26px; max-width: 760px; }
#tennisProfile .cal-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
#tennisProfile .cal-title { color: var(--text-2); font-size: 13px; font-weight: 700; }
#tennisProfile .cal-title small { margin-left: 8px; color: var(--text-3); font-weight: 500; font-size: 12px; }
#tennisProfile .hero .cal-wrap { overflow-x: auto; }
#tennisProfile .hero .cal { min-width: 0; }
#tennisProfile .hero .cal-m, #tennisProfile .hero .cal-d { color: var(--text-3); }
#tennisProfile .hero .cd { background: rgba(255,255,255,.07); cursor: default; transition: outline-color .15s; outline: 1.5px solid transparent; }
#tennisProfile .hero .cd.l1 { background: rgba(215,255,63,.26); } #tennisProfile .hero .cd.l2 { background: rgba(215,255,63,.5); }
#tennisProfile .hero .cd.l3 { background: rgba(215,255,63,.76); } #tennisProfile .hero .cd.l4 { background: var(--lime); } #tennisProfile .hero .cd.loss { background: var(--clay); }
#tennisProfile .hero .cd.fut { background: transparent; }
#tennisProfile .hero .cd:not(.fut):hover { outline-color: rgba(255,255,255,.85); }
#tennisProfile .cal-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: 10px; }
#tennisProfile .cal-habit { color: var(--text-2); font-size: 13px; }
#tennisProfile .cal-habit b { color: var(--text); font-weight: 800; }
#tennisProfile .hero .cal-leg { margin-top: 0; color: var(--text-3); }
#tennisProfile .hero .cal-leg .cd { outline: 0; }
#tennisProfile .hero .cal-leg .cd.loss { margin-left: 6px; }
#tennisProfile .hero .cal-leg .cd + span { margin-right: 4px; }
#tennisProfile .hero-grid { grid-template-columns: minmax(0, 1fr) 410px; gap: 48px; }
#tennisProfile .cmp { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; max-width: 400px; }
#tennisProfile .cmp-k { width: 100%; margin-bottom: 2px; color: var(--text-3); font-size: 11px; text-align: center; }
#tennisProfile .pc-flipbtn[aria-pressed="true"] { border-color: rgba(215,255,63,.55); color: var(--lime); }
#tennisProfile .data-note { margin-bottom: 18px; color: var(--text-3); font-size: 12.5px; }
#tennisProfile .data-note summary { cursor: pointer; width: fit-content; color: var(--text-2); font-weight: 700; }
#tennisProfile .data-note summary:hover { color: var(--lime); }
#tennisProfile .data-note div { max-width: 760px; margin-top: 10px; display: grid; gap: 6px; }
#tennisProfile .rt-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
#tennisProfile .rt-lvs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#tennisProfile .rt-lv { display: block; width: 100%; padding: 16px 16px 14px; border: 1px solid var(--hair); border-radius: var(--r-m); background: rgba(255,255,255,.03); color: inherit; font: inherit; text-align: left; transition: border-color .2s, background-color .2s; }
#tennisProfile button.rt-lv { cursor: pointer; }
#tennisProfile button.rt-lv:hover { border-color: rgba(215,255,63,.4); }
#tennisProfile .rt-lv.on { border-color: rgba(215,255,63,.55); background: rgba(215,255,63,.07); }
#tennisProfile .rt-lv small { display: block; color: var(--text-3); font-size: 12px; }
#tennisProfile .rt-lv .rt-band { display: block; margin-top: 8px; color: var(--lime); font: 900 clamp(48px, 5vw, 66px)/.9 var(--display); letter-spacing: -.01em; }
#tennisProfile .rt-lv .rt-dec { display: block; margin-top: 10px; font: 800 18px/1 var(--mono); }
#tennisProfile .rt-lv .rt-d { display: block; margin-top: 4px; color: var(--lime); font: 500 11px var(--mono); }
#tennisProfile .rt-lv .rt-d.dn { color: var(--clay); }
#tennisProfile .rt-lv em { display: block; margin-top: 10px; color: var(--text-3); font-size: 11.5px; font-style: normal; }
#tennisProfile .rt-lv.none { border-style: dashed; border-color: rgba(255,255,255,.22); background: transparent; }
#tennisProfile .rt-lv.none .rt-band { color: var(--text-3); }
#tennisProfile .rt-lv.none .rt-dec { color: var(--text-3); font-size: 13px; font-weight: 500; }
#tennisProfile .rt-kv { grid-template-columns: repeat(3, auto); }
#tennisProfile .rt-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; color: var(--text-3); font-size: 12px; }
#tennisProfile .rt-form span.k { margin-right: 4px; }
#tennisProfile .rt-form .ring { width: 13px; height: 13px; border: 2.4px solid var(--clay); border-radius: 50%; }
#tennisProfile .rt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
#tennisProfile .rt-head .sorts { padding: 0; border: 0; }
#tennisProfile .film .vt-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-bottom: 14px; }
#tennisProfile .film .vt-bar .sorts { padding: 0; }
#tennisProfile .vt-note { color: var(--text-3); font-size: 12px; }
@media (max-width: 960px) { #tennisProfile .rt-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1060px) {
#tennisProfile .card-stage { order: -1; }
#tennisProfile .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 760px) {
#tennisProfile .rt-lvs { grid-template-columns: 1fr 1fr; }
#tennisProfile .rt-kv > div { padding: 0 10px; }
#tennisProfile .cal-title small { display: none; }
}
#tennisProfile .rt-form .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--lime); }
#tennisProfile .rt-form .ring { width: 12px; height: 12px; }
#tennisProfile .cmp { display: grid; justify-content: stretch; gap: 10px; width: 100%; max-width: 400px; }
#tennisProfile .cf { --cw: clamp(240px, 46vw, 600px); position: relative; }
#tennisProfile .cf-stage { position: relative; height: calc(var(--cw) * .5625 + 90px); perspective: 1600px; perspective-origin: 50% 35%; overflow: hidden; outline: 0; touch-action: pan-y; cursor: grab; }
#tennisProfile .cf-stage:focus-visible { box-shadow: inset 0 0 0 2px rgba(215,255,63,.4); border-radius: var(--r-m); }
#tennisProfile .cf-item { position: absolute; left: 50%; top: 14px; width: var(--cw); aspect-ratio: 16 / 9; margin-left: calc(var(--cw) / -2); padding: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; overflow: hidden; background-color: #0a1f18; background-size: cover; background-position: var(--bp, center); color: #fff; text-align: left; cursor: pointer; -webkit-box-reflect: below 6px linear-gradient(transparent 72%, rgba(255,255,255,.14)); transition: transform .65s var(--ease), opacity .45s, filter .45s; will-change: transform; }
#tennisProfile .cf-item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,15,12,.4) 0%, rgba(5,15,12,0) 36%, rgba(5,15,12,.74) 100%); }
#tennisProfile .cf-item.on { border-color: rgba(215,255,63,.55); box-shadow: 0 0 60px rgba(215,255,63,.12); }
#tennisProfile .cf-item > * { position: absolute; z-index: 1; }
#tennisProfile .cf-fallback { inset: 0; display: grid; align-content: center; justify-items: start; gap: 7px; padding: 8%; pointer-events: none; text-align: left; color: rgba(215,255,63,.88); background: radial-gradient(circle at 72% 25%, rgba(215,255,63,.2), transparent 26%), linear-gradient(135deg, #16493b, #071d16 72%); opacity: 1; transition: opacity .18s ease; }
#tennisProfile .cf-item.cover-ready .cf-fallback { opacity: 0; }
#tennisProfile .cf-fallback::before, #tennisProfile .cf-fallback::after { content: ""; position: absolute; border: 1px solid rgba(215,255,63,.16); border-radius: 50%; }
#tennisProfile .cf-fallback::before { width: 72%; aspect-ratio: 1; left: -24%; bottom: -58%; }
#tennisProfile .cf-fallback::after { width: 38%; aspect-ratio: 1; right: -12%; top: -28%; }
#tennisProfile .cf-fallback i { font: 900 clamp(20px, 3vw, 34px)/.88 var(--display); letter-spacing: .08em; font-style: normal; }
#tennisProfile .cf-fallback strong { max-width: 82%; color: #fff; font: 800 clamp(15px, 2.5vw, 28px)/1.12 var(--display); letter-spacing: -.015em; }
#tennisProfile .cf-fallback small { color: rgba(255,255,255,.68); font: 600 11px var(--mono); letter-spacing: .04em; }
#tennisProfile .cf-rk { left: 5%; top: 3%; font: 900 clamp(30px, 6vw, 62px)/1 var(--display); text-shadow: 0 2px 14px rgba(0,0,0,.5); }
#tennisProfile .cf-item.on .cf-rk { color: var(--lime); }
#tennisProfile .cf-res { right: 4%; top: 5%; padding: 1px 8px; border-radius: 99px; font-size: clamp(10px, 1.2vw, 12px); font-weight: 800; }
#tennisProfile .cf-res.w { background: var(--lime); color: var(--forest-2); } #tennisProfile .cf-res.l { background: var(--clay); color: var(--forest-2); }
#tennisProfile .cf-sc { left: 5%; bottom: 6%; font: 900 clamp(18px, 3.2vw, 36px)/1 var(--display); letter-spacing: -.005em; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
#tennisProfile .cf-play { left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; opacity: 0; transition: opacity .3s; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11a1 1 0 0 0 1.5.86l8.5-5.5a1 1 0 0 0 0-1.72l-8.5-5.5A1 1 0 0 0 9 6.5z' fill='%23071e18'/%3E%3C/svg%3E") 54% 50% / 26px no-repeat; }
#tennisProfile .cf-item.on:hover .cf-play { opacity: 1; }
#tennisProfile .cf-item.ghost { border: 1.5px dashed rgba(255,255,255,.26); background: rgba(255,255,255,.03); }
#tennisProfile .cf-item.ghost::before { display: none; }
#tennisProfile .cf-item.ghost .cf-rk { color: rgba(255,255,255,.3); }
#tennisProfile .cf-gh { left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; color: var(--text-3); font-size: 13px; font-weight: 700; }
#tennisProfile .cf-nav { position: absolute; top: calc(var(--cw) * .28 + 14px); z-index: 200; width: 44px; height: 44px; margin-top: -22px; border: 1px solid var(--hair); border-radius: 50%; background: rgba(5,15,12,.6); color: #fff; font-size: 26px; line-height: 1; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .2s, color .2s, opacity .2s; }
#tennisProfile .cf-nav.prev { left: 0; } #tennisProfile .cf-nav.next { right: 0; }
#tennisProfile .cf-nav:hover:not(:disabled) { border-color: var(--lime); color: var(--lime); }
#tennisProfile .cf-nav:disabled { opacity: .3; cursor: default; }
#tennisProfile .cf-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px; margin-top: 6px; text-align: left; }
#tennisProfile .cf-rank { color: var(--text-3); font: 700 13px var(--mono); }
#tennisProfile .cf-rank b { margin-left: 4px; color: var(--lime); font: 900 44px/1 var(--display); vertical-align: -6px; }
#tennisProfile .cf-meta b { display: block; font-size: 17px; }
#tennisProfile .cf-meta small { display: block; margin-top: 3px; color: var(--text-3); font-size: 12.5px; }
#tennisProfile .cf-meta .res { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 99px; font-size: 11px; font-weight: 800; vertical-align: 2px; }
#tennisProfile .cf-meta .res.w { background: var(--lime); color: var(--forest-2); } #tennisProfile .cf-meta .res.l { background: var(--clay); color: var(--forest-2); }
#tennisProfile .cf-stats { display: flex; gap: 8px; }
#tennisProfile .cf-stats span { padding: 5px 12px; border: 1px solid var(--hair); border-radius: 99px; color: var(--text-2); font: 500 12px var(--mono); }
#tennisProfile .cf-stats span.hot { border-color: rgba(215,255,63,.5); background: rgba(215,255,63,.1); color: var(--lime); }
#tennisProfile .cf-stats .btn { min-height: 38px; padding: 0 18px; font-size: 13px; }
#tennisProfile .cf-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
#tennisProfile .cf-dots button { width: 22px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: rgba(255,255,255,.16); transition: background-color .2s, width .3s var(--ease); }
#tennisProfile .cf-dots button.empty { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
#tennisProfile .cf-dots button.on { width: 38px; background: var(--lime); }
@media (max-width: 760px) {
#tennisProfile .cf { --cw: 70vw; }
#tennisProfile .cf-nav { display: none; }
#tennisProfile .cf-info { gap: 8px 16px; }
}
#tennisProfile .ic-rate b.dim { color: var(--text-3); text-shadow: none; opacity: .6; font-weight: 300; font-size: 64px; line-height: 1; margin: 8px 0 12px; }
#tennisProfile .hl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 22px; max-width: 760px; }
#tennisProfile .pf-hl { min-width: 0; padding: 16px 0 14px; border-top: 1px solid var(--hair); }
#tennisProfile .hl-t { font: 800 clamp(22px, 2.2vw, 30px)/1.2 var(--sans); letter-spacing: -.03em; white-space: normal; overflow-wrap: anywhere; }
#tennisProfile .hl-t b { margin: 0 .08em; color: var(--lime); }
#tennisProfile .hl-t b.pf-num { font: 800 1.3em/1 var(--display); letter-spacing: 0; }
#tennisProfile .hl-s { margin-top: 7px; color: var(--text-2); font-size: 12.5px; }
#tennisProfile .pf-hl.slot .hl-t { color: var(--text-3); }
#tennisProfile .pf-hl.slot .hl-t b { color: var(--text-3); font-weight: 300; opacity: .7; }
#tennisProfile .pf-hl.slot .hl-s { color: var(--lime); opacity: .85; }
#tennisProfile .pf-hl.wide { grid-column: 1 / -1; }
#tennisProfile .cal-block { margin-top: 18px; }
#tennisProfile .rk { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 0 10px; padding: 16px 0; border-top: 1px solid var(--hair); }
#tennisProfile .rk-no { color: var(--text-3); font: 500 12px var(--mono); }
#tennisProfile .rk-m { min-width: 0; overflow-wrap: anywhere; }
#tennisProfile .rk-m b { display: block; font-size: 16px; }
#tennisProfile .rk-m small { display: block; margin-top: 3px; color: var(--text-3); font-size: 12px; }
#tennisProfile .rk-wl { display: flex; gap: 24px; }
#tennisProfile .rk-wl > div, #tennisProfile .rk-n { text-align: center; min-width: 30px; }
#tennisProfile .rk-wl strong, #tennisProfile .rk-n strong { display: block; font: 800 30px/1 var(--display); }
#tennisProfile .rk-wl .w strong { color: var(--lime); }
#tennisProfile .rk-wl span, #tennisProfile .rk-n span { display: block; margin-top: 5px; color: var(--text-3); font-size: 11px; }
#tennisProfile .sample-wrap { position: relative; }
#tennisProfile .sample-wrap.is-sample { min-height: 400px; }
#tennisProfile .sample-wrap.is-sample > :not(.em-over) { opacity: .3; filter: saturate(.7) blur(1.2px); pointer-events: none; user-select: none; }
#tennisProfile .sample-wrap.is-sample::after { content: "示例"; position: absolute; right: 14px; top: 12px; z-index: 3; padding: 3px 10px; border: 1px dashed rgba(255,255,255,.35); border-radius: 99px; color: var(--text-3); font: 500 11px var(--mono); letter-spacing: .06em; }
#tennisProfile .empty-mod.em-over { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 20px; border: 0; border-radius: var(--r-l); background: radial-gradient(60% 70% at 50% 50%, rgba(5,15,12,.5), rgba(5,15,12,.1)); }
#tennisProfile .em-over .em-body { width: min(100%, 540px); padding: 26px 30px 24px; border: 1px solid rgba(215,255,63,.32); border-radius: var(--r-l); background: rgba(7,28,21,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 24px 70px rgba(0,0,0,.45); }
#tennisProfile .em-over .em-body b { margin: 12px 0 6px; font-size: clamp(20px, 2.2vw, 26px); }
#tennisProfile .em-over .em-body p { font-size: 13.5px; line-height: 1.6; }
#tennisProfile .em-gain { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; }
#tennisProfile .em-gain li::before { content: "+ "; color: var(--lime); }
#tennisProfile .em-note { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hair); color: var(--lime); font-size: 12.5px; font-weight: 700; }
@media (max-width: 760px) { #tennisProfile .sample-wrap.is-sample { min-height: 440px; } #tennisProfile .em-over .em-body { padding: 20px 18px; } }
#tennisProfile .vmap { position: relative; height: 270px; margin: 6px 0 4px; overflow: hidden; border: 1px solid var(--hair); border-radius: var(--r-m); background: #08241c; }
#tennisProfile .vmap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#tennisProfile .vm-chip { position: absolute; left: 10px; top: 10px; z-index: 3; padding: 3px 10px; border-radius: 99px; background: rgba(5,15,12,.72); color: var(--text-2); font: 500 11px var(--mono); }
#tennisProfile .vm-lab { position: absolute; transform: translate(-50%, -50%); color: rgba(255,255,255,.3); font-size: 11px; letter-spacing: .24em; pointer-events: none; }
#tennisProfile .vm { position: absolute; z-index: 2; display: grid; place-items: center; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); padding: 0; border: 2px solid var(--lime); border-radius: 50%; background: rgba(11,45,35,.94); color: var(--lime); font: 800 12px var(--mono); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s; }
#tennisProfile .vm.top { background: var(--lime); color: var(--forest-2); }
#tennisProfile .vm.on, #tennisProfile .vm:hover, #tennisProfile .vm:focus-visible { z-index: 6; transform: scale(1.12); box-shadow: 0 0 0 7px rgba(215,255,63,.18); outline: 0; }
#tennisProfile .vm-pop { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); min-width: 150px; padding: 9px 12px; border: 1px solid rgba(215,255,63,.38); border-radius: 10px; background: rgba(7,28,21,.97); color: #fff; font: 500 11.5px/1.6 var(--sans); text-align: left; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
#tennisProfile .vm-pop b { display: block; font-size: 13px; }
#tennisProfile .vm-pop small { display: block; color: var(--text-3); font-size: 11px; }
#tennisProfile .vm.on .vm-pop, #tennisProfile .vm:hover .vm-pop, #tennisProfile .vm:focus-visible .vm-pop { opacity: 1; }
#tennisProfile .vm.dn .vm-pop { bottom: auto; top: calc(100% + 10px); }
#tennisProfile .vm.l .vm-pop { left: -4px; transform: none; }
#tennisProfile .vm.r .vm-pop { left: auto; right: -4px; transform: none; }
#tennisProfile .rk[data-v] { cursor: pointer; }
#tennisProfile .rk.on .rk-m b, #tennisProfile .rk.on .rk-no { color: var(--lime); }
@media (max-width: 760px) { #tennisProfile .vmap { height: 220px; } }
#tennisProfile {
--paper: #f6f6f2; --surface: #fff; --ink: #121412; --ink-2: #2c302d; --muted: #5e655f; --faint: #8d938e; --line: #e2e3dd; --line-strong: #cfd1ca;
--limeb: #cde83c; --lime-ink: #5d7500; --lime-tint: rgba(205,232,60,.16); --night: #101210; --night-2: #171a17; --night-muted: #9aa29b;
--sans: "Instrument Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; --display: var(--sans);
--mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace; --max: 1200px;
--text: #121412; --text-2: #5e655f; --text-3: #8d938e; --hair: #e2e3dd; --lime: #5d7500; --forest-2: #121412; --clay: #d9622f;
}
#tennisProfile .player-card, #tennisProfile .stage-dark, #tennisProfile .vmap, #tennisProfile .toast, #tennisProfile .tip { --text: #f2f6ea; --text-2: rgba(242,246,234,.62); --text-3: rgba(242,246,234,.42); --hair: rgba(255,255,255,.13); --lime: #cde83c; --forest-2: #101210; --clay: #ee7b47; }
#tennisProfile { background: var(--paper); color: var(--ink); line-height: 1.7; }
#tennisProfile h1, #tennisProfile h2, #tennisProfile h3 { font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
#tennisProfile ::selection { background: var(--limeb); color: var(--ink); }
#tennisProfile .pf-num { font-weight: 600; letter-spacing: -.02em; }
#tennisProfile .eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lime-ink); }
#tennisProfile .btn { min-height: 44px; padding: 0 20px; font-size: 14px; font-weight: 600; }
#tennisProfile .btn-dark { background: var(--ink); color: #fff; } #tennisProfile .btn-dark:hover { background: #2a2f2b; transform: none; }
#tennisProfile .btn-line { border-color: var(--line-strong); background: transparent; color: var(--ink); } #tennisProfile .btn-line:hover { border-color: var(--ink); color: var(--ink); transform: none; }
#tennisProfile .btn-sm { min-height: 36px; padding: 0 16px; font-size: 13px; }
#tennisProfile .hero { display: block; min-height: 0; background: none; overflow: visible; }
#tennisProfile .hero-bg { display: none; }
#tennisProfile .page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; padding: 56px 0 8px; }
#tennisProfile .page-head .ph-title { margin-top: 0; font: 600 clamp(34px, 4.6vw, 60px)/1.06 var(--sans); letter-spacing: -.035em; }
#tennisProfile .ph-sub { display: flex; align-items: center; gap: 9px; margin-top: 14px; color: var(--muted); font-size: 14px; }
#tennisProfile .ph-sub i { width: 7px; height: 7px; border-radius: 50%; background: var(--limeb); box-shadow: 0 0 0 3px var(--lime-tint); }
#tennisProfile .ph-sub em { font-style: normal; }
#tennisProfile .ph-tools { display: grid; justify-items: end; gap: 8px; }
#tennisProfile .ph-note { color: var(--faint); font-size: 12.5px; }
#tennisProfile .hero-grid { align-items: start; grid-template-columns: minmax(0, 1fr) 410px; gap: 64px; padding: 32px 0 88px; }
@media (max-width: 1060px) { #tennisProfile .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 24px; } #tennisProfile .page-head { padding-top: 36px; } }
@media (max-width: 700px) { #tennisProfile .page-head { flex-direction: column; align-items: flex-start; } #tennisProfile .hero-grid { padding-bottom: 56px; } }
#tennisProfile .hl-grid { max-width: none; margin-top: 8px; gap: 0 48px; }
#tennisProfile .pf-hl { padding: 20px 0 18px; border-top: 1px solid var(--line); }
#tennisProfile .hl-t { font: 600 clamp(22px, 2.1vw, 30px)/1.25 var(--sans); letter-spacing: -.025em; }
#tennisProfile .hl-t b { display: inline-block; max-width: calc(100% - .2em); margin: 0 .1em; color: var(--ink); background: linear-gradient(transparent 62%, var(--limeb) 62%, var(--limeb) 92%, transparent 92%); }
#tennisProfile .hl-t b.pf-num { font: 600 1.18em/1 var(--sans); letter-spacing: -.03em; }
#tennisProfile .hl-t b.nm { font-weight: 600; }
#tennisProfile .hl-s { overflow-wrap: anywhere; margin-top: 6px; color: var(--muted); font-size: 13px; }
#tennisProfile .pf-hl.slot { display: block; padding: 20px 0 18px; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
#tennisProfile .pf-hl.slot .hl-t { color: var(--faint); }
#tennisProfile .pf-hl.slot .hl-t b { background: none; color: var(--faint); font-weight: 400; opacity: 1; }
#tennisProfile .pf-hl.slot .hl-s { color: var(--lime-ink); opacity: 1; }
@media (max-width: 560px) { #tennisProfile .hl-grid { gap: 0 20px; } #tennisProfile .hl-t { font-size: 19px; } #tennisProfile .hl-s { font-size: 11.5px; } }
#tennisProfile .cal-block { margin-top: 28px; max-width: none; }
#tennisProfile .cal-title { color: var(--ink); font-weight: 600; }
#tennisProfile .hero .cal-m, #tennisProfile .hero .cal-d { color: var(--faint); }
#tennisProfile .hero .cd { background: #ebece5; outline-color: transparent; }
#tennisProfile .hero .cd.l1 { background: #e1eca6; } #tennisProfile .hero .cd.l2 { background: var(--limeb); } #tennisProfile .hero .cd.l3 { background: #98b712; } #tennisProfile .hero .cd.l4 { background: var(--lime-ink); } #tennisProfile .hero .cd.loss { background: var(--clay); }
#tennisProfile .hero .cd.fut { background: transparent; }
#tennisProfile .hero .cd:not(.fut):hover { outline-color: var(--ink); }
#tennisProfile .cal-habit { color: var(--muted); } #tennisProfile .cal-habit b { color: var(--ink); }
#tennisProfile .hero .cal-leg { color: var(--faint); }
#tennisProfile .card-stage { gap: 18px; }
#tennisProfile .pc-face { border-color: rgba(205,232,60,.34); background: linear-gradient(160deg, #262c24 0%, #171a17 55%, #101210 100%); box-shadow: 0 34px 60px -30px rgba(16,18,16,.55), 0 0 0 1px rgba(0,0,0,.3); }
#tennisProfile .pc-brand { font: 700 13px var(--sans); letter-spacing: .12em; }
#tennisProfile .ic-name { font-weight: 700; letter-spacing: -.035em; }
#tennisProfile .ic-rate b { color: var(--limeb); font: 700 64px/.82 var(--sans); letter-spacing: -.045em; text-shadow: 0 0 36px rgba(205,232,60,.28); }
#tennisProfile .ic-rate b.sm { font-size: 52px; }
#tennisProfile .ic-rate b.dim { color: var(--text-3); font-size: 48px; font-weight: 400; text-shadow: none; }
#tennisProfile .player-card { color: var(--text); }
#tennisProfile .ic-facts dd { font: 600 19px/1 var(--sans); letter-spacing: -.02em; }
#tennisProfile .ic-facts dd.dim { color: var(--text-3); }
#tennisProfile .pc-note { color: var(--faint); }
#tennisProfile .section { padding: 96px 0; background: none; border-top: 1px solid var(--line); }
#tennisProfile .rating, #tennisProfile .film, #tennisProfile .people { background: none; border-top: 1px solid var(--line); }
#tennisProfile .sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: end; gap: 64px; margin-bottom: 48px; }
#tennisProfile .sec-head h2 { margin-top: 14px; font: 600 clamp(30px, 3.4vw, 44px)/1.12 var(--sans); letter-spacing: -.03em; }
#tennisProfile .sec-head p { justify-self: end; max-width: 520px; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { #tennisProfile .sec-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; } #tennisProfile .sec-head p { justify-self: start; } #tennisProfile .section { padding: 64px 0; } }
#tennisProfile .rt-card, #tennisProfile .pp-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
#tennisProfile .rt-card h3, #tennisProfile .pp-card h3 { font: 600 17px var(--sans); letter-spacing: -.02em; }
#tennisProfile .rt-card .sub, #tennisProfile .pp-card .sub { color: var(--faint); }
#tennisProfile .rt-lv { border-color: var(--line); background: var(--paper); }
#tennisProfile button.rt-lv:hover { border-color: var(--ink); }
#tennisProfile .rt-lv.on { border-color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
#tennisProfile .rt-lv .rt-band { color: var(--ink); font: 600 clamp(48px, 5vw, 66px)/.9 var(--sans); letter-spacing: -.045em; }
#tennisProfile .rt-lv .rt-dec { color: var(--ink); font: 500 17px/1 var(--mono); }
#tennisProfile .rt-lv .rt-d { color: var(--lime-ink); } #tennisProfile .rt-lv .rt-d.dn { color: var(--clay); }
#tennisProfile .rt-lv em { color: var(--faint); }
#tennisProfile .rt-lv.none { border-color: var(--line-strong); background: transparent; }
#tennisProfile .rt-lv.none .rt-band, #tennisProfile .rt-lv.none .rt-dec { color: var(--faint); }
#tennisProfile .rt-kv dd { font: 600 24px/1 var(--sans); letter-spacing: -.02em; }
#tennisProfile .rt-form .dot { background: var(--limeb); box-shadow: 0 0 0 1.5px var(--ink) inset; }
#tennisProfile .rt-form .ring { border-color: var(--clay); }
#tennisProfile .rating .sorts button { color: var(--muted); }
#tennisProfile .rating .sorts button:hover { color: var(--ink); }
#tennisProfile .rating .sorts button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
#tennisProfile .rk { border-top-color: var(--line); }
#tennisProfile .rk-m b { font-weight: 600; }
#tennisProfile .rk-wl strong, #tennisProfile .rk-n strong { font: 600 28px/1 var(--sans); letter-spacing: -.02em; }
#tennisProfile .rk-wl .w strong { color: var(--lime-ink); }
#tennisProfile .rk.on .rk-m b, #tennisProfile .rk.on .rk-no { color: var(--lime-ink); }
#tennisProfile .vmap { border: 0; background: #131713; }
#tennisProfile .vmap svg > rect:first-child { fill: #131713; }
#tennisProfile .vm-chip { background: rgba(16,18,16,.78); }
#tennisProfile .vm.top { background: var(--limeb); color: #101210; }
#tennisProfile .vm { background: rgba(23,26,23,.95); }
#tennisProfile .vm-pop { background: rgba(23,26,23,.98); border-color: rgba(205,232,60,.4); }
#tennisProfile .stage-dark { position: relative; padding: 64px 32px 36px; border-radius: 28px; background: var(--night); color: var(--text); overflow: hidden; isolation: isolate; }
#tennisProfile .stage-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 55% at 50% 0%, rgba(205,232,60,.1), transparent 70%); }
#tennisProfile .stage-label { position: absolute; left: 32px; top: 26px; color: var(--night-muted); font: 500 11px/1.5 var(--mono); letter-spacing: .06em; }
#tennisProfile .stage-label b { margin-right: 10px; color: var(--limeb); font-weight: 500; }
#tennisProfile .stage-dark .sorts button[aria-pressed="true"] { border-color: var(--limeb); background: var(--limeb); color: #101210; }
#tennisProfile .cf-rank b, #tennisProfile .cf-item.on .cf-rk { color: var(--limeb); }
@media (max-width: 700px) { #tennisProfile .stage-dark { padding: 56px 14px 24px; border-radius: 20px; } #tennisProfile .stage-label { left: 16px; top: 22px; } }
#tennisProfile .sample-wrap.is-sample::after { border-color: var(--line-strong); color: var(--faint); }
#tennisProfile .empty-mod.em-over { background: radial-gradient(60% 70% at 50% 50%, rgba(246,246,242,.6), rgba(246,246,242,.05)); }
#tennisProfile .em-over .em-body { border: 1px solid var(--line-strong); background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 24px 60px -20px rgba(18,20,18,.18); }
#tennisProfile .em-body b { font-weight: 600; }
#tennisProfile .em-tag { border-color: var(--line-strong); color: var(--faint); }
#tennisProfile .em-over .em-note { border-top-color: var(--line); color: var(--lime-ink); }
#tennisProfile .stage-dark .sample-wrap.is-sample::after { border-color: rgba(255,255,255,.3); color: var(--text-3); }
#tennisProfile .stage-dark .empty-mod.em-over { background: radial-gradient(60% 70% at 50% 50%, rgba(16,18,16,.5), rgba(16,18,16,.1)); }
#tennisProfile .stage-dark .em-over .em-body { border-color: rgba(205,232,60,.32); background: rgba(23,26,23,.94); color: var(--text); box-shadow: 0 24px 70px rgba(0,0,0,.45); }
#tennisProfile .stage-dark .em-tag { border-color: rgba(255,255,255,.3); color: var(--text-3); }
#tennisProfile .stage-dark .em-over .em-note { border-top-color: var(--hair); color: var(--limeb); }
#tennisProfile .stage-dark .em-gain li::before { color: var(--limeb); }
#tennisProfile .data-note { color: var(--muted); } #tennisProfile .data-note summary { color: var(--ink); } #tennisProfile .data-note summary:hover { color: var(--lime-ink); }
#tennisProfile .pf-main { position: relative; }
#tennisProfile.v-guest .cmp, #tennisProfile.v-guest .pc-note, #tennisProfile.v-guest .pf-hl.slot { display: none; }
#tennisProfile.v-out .pf-main > :not(.gate) { filter: blur(7px) saturate(.85); opacity: .75; pointer-events: none; user-select: none; }
#tennisProfile .gate { position: absolute; inset: 0; z-index: 8; pointer-events: none; }
#tennisProfile .gate-card { position: sticky; top: 26vh; display: grid; justify-items: start; gap: 12px; width: min(440px, calc(100% - 32px)); margin: 18vh auto 0; padding: 32px 32px 26px; border: 1px solid var(--line-strong); border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 30px 80px -24px rgba(18,20,18,.28); pointer-events: auto; }
#tennisProfile .gate-card h2 { font-size: 26px; line-height: 1.2; }
#tennisProfile .gate-card p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
#tennisProfile .gate-card small { color: var(--faint); font-size: 12.5px; }
#tennisProfile .gate-card .btn { margin-top: 6px; }
#tennisProfile .toast { background: var(--limeb); color: #101210; }
#tennisProfile .card-stage { gap: 12px; justify-items: stretch; }
#tennisProfile .card-stage .player-card { margin: 0 auto; }
#tennisProfile .cmp { display: block; min-width: 0; width: min(100%, 440px); max-width: 100%; margin-inline: auto; padding-inline: 4px; }
#tennisProfile .cmp-k { width: auto; margin: 0; text-align: left; color: var(--muted); font-size: 12.5px; line-height: 32px; white-space: nowrap; }
#tennisProfile .cmp-k b { margin-left: 2px; color: var(--ink); font: 600 12.5px var(--sans); }
#tennisProfile .cmp-chip { display: inline-flex; align-items: center; flex-shrink: 0; min-width: max-content; gap: 4px; min-height: 32px; height: auto; padding: 5px 6px; border: 1px solid transparent; border-radius: 99px; font: 600 12px/1.4 var(--sans); white-space: nowrap; }
#tennisProfile .cmp-chip i { display: grid; place-items: center; align-self: center; min-width: 12px; height: 12px; font: 700 9px/1 var(--sans); font-style: normal; }
#tennisProfile .cmp-chip.done { padding-inline: 0; color: var(--ink); cursor: default; }
#tennisProfile .cmp-chip.done i { border-radius: 50%; background: var(--lime-ink); color: #fff; }
#tennisProfile button.cmp-chip.todo { border: 1px dashed #9aa093; background: transparent; color: var(--ink); cursor: pointer; transition: border-color .15s, background-color .15s; }
#tennisProfile button.cmp-chip.todo i { color: var(--lime-ink); font-size: 14px; }
#tennisProfile button.cmp-chip.todo:hover { border-color: var(--ink); border-style: solid; background: #fff; }
#tennisProfile button.cmp-chip.pv { border: 1px solid #b8d22d; background: var(--lime-tint); color: var(--ink); cursor: pointer; }
#tennisProfile button.cmp-chip.pv i { padding: 0; border-radius: 50%; background: var(--lime-ink); color: #fff; font-size: 11px; }
#tennisProfile .cmp-links { display: inline-flex; gap: 10px; margin-left: 2px; }
#tennisProfile .cmp-links button { padding: 0; border: 0; background: none; color: var(--faint); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#tennisProfile .cmp-links button:hover { color: var(--ink); }
#tennisProfile .cmp-cap { margin: 6px 0 0; color: var(--faint); font-size: 12px; line-height: 1.5; }
#tennisProfile .pc-note { margin-top: -2px; text-align: left; }
#tennisProfile .player-card, #tennisProfile .stage-dark, #tennisProfile .vmap, #tennisProfile .toast, #tennisProfile .tip, #tennisProfile .vp { --text: #f2f6ea; --text-2: rgba(242,246,234,.62); --text-3: rgba(242,246,234,.42); --hair: rgba(255,255,255,.13); --lime: #cde83c; --forest-2: #101210; --clay: #ee7b47; }
#tennisProfile .ph-tools { position: relative; display: flex; align-items: center; justify-content: flex-end; flex: none; }
#tennisProfile .vis { position: relative; }
#tennisProfile .vis-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 13px 0 12px; border: 1px solid var(--line-strong); border-radius: 99px; background: rgba(255,255,255,.72); color: var(--ink); font: 600 13px/1 var(--sans); cursor: pointer; transition: border-color .15s, background-color .15s; }
#tennisProfile .vis-btn:hover, #tennisProfile .vis-btn[aria-expanded="true"] { border-color: var(--ink); background: #fff; }
#tennisProfile .vis-btn .vis-ic { color: var(--muted); }
#tennisProfile .vis-btn .vis-ic.globe, #tennisProfile .vis-btn[data-pub="1"] .vis-ic.lock { display: none; }
#tennisProfile .vis-btn[data-pub="1"] .vis-ic.globe { display: block; color: var(--lime-ink); }
#tennisProfile .vis-btn .vis-chev { color: var(--faint); transition: transform .2s var(--ease); }
#tennisProfile .vis-btn[aria-expanded="true"] .vis-chev { transform: rotate(180deg); }
#tennisProfile .vis-pop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 40; display: grid; gap: 14px; width: 310px; padding: 16px 16px 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 24px 60px -20px rgba(18,20,18,.3); }
#tennisProfile .vis-pop[hidden] { display: none; }
#tennisProfile .vis-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
#tennisProfile .vis-t b { display: block; font: 600 14px/1.3 var(--sans); }
#tennisProfile .vis-t small { display: block; margin-top: 4px; color: var(--faint); font-size: 12px; line-height: 1.5; }
#tennisProfile .vis-pop .btn { width: 100%; justify-content: center; }
#tennisProfile .vis-sw { position: relative; flex: none; width: 44px; height: 26px; padding: 0; border: 0; border-radius: 99px; background: #cfd1ca; cursor: pointer; transition: background-color .2s; }
#tennisProfile .vis-sw i { position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.22); transition: transform .2s var(--ease); }
#tennisProfile .vis-sw[aria-checked="true"] { background: var(--lime-ink); }
#tennisProfile .vis-sw[aria-checked="true"] i { transform: translateX(18px); }
@media (max-width: 700px) { #tennisProfile .ph-tools { justify-content: flex-start; } #tennisProfile .vis-pop { right: auto; left: 0; width: min(310px, calc(100vw - 40px)); } }
#tennisProfile.v-private .hero, #tennisProfile.v-private .section, #tennisProfile.v-private .data-note { display: none; }
#tennisProfile .priv { display: grid; place-items: center; min-height: 58vh; padding: 64px 0; }
#tennisProfile .priv-card { display: grid; justify-items: center; gap: 10px; width: min(440px, calc(100% - 32px)); padding: 40px 32px; border: 1px solid var(--line); border-radius: 22px; background: #fff; text-align: center; }
#tennisProfile .priv-card h2 { font-size: 28px; line-height: 1.2; }
#tennisProfile .priv-card p { color: var(--muted); font-size: 14.5px; }
#tennisProfile .gate-card .btn svg { flex: none; }
#tennisProfile .vp { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; background: rgba(10,12,10,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text); }
#tennisProfile .vp-card { position: relative; width: min(960px, 100%); }
#tennisProfile .vp-x { position: absolute; right: 0; top: -44px; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
#tennisProfile .vp-x:hover { border-color: var(--limeb); color: var(--limeb); }
#tennisProfile .vp-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #0a0c0a center / cover no-repeat; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
#tennisProfile .vp-screen::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,10,0) 62%, rgba(10,12,10,.82)); }
#tennisProfile .vp-top { display: flex; align-items: center; gap: 10px; margin-top: 16px; font: 600 18px var(--sans); }
#tennisProfile .vp-top span { padding: 1px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 700; }
#tennisProfile .vp-top span.w { background: var(--limeb); color: #101210; } #tennisProfile .vp-top span.l { background: var(--clay); color: #101210; }
#tennisProfile .vp-big { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border: 0; border-radius: 50%; background: var(--limeb) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11a1 1 0 0 0 1.5.86l8.5-5.5a1 1 0 0 0 0-1.72l-8.5-5.5A1 1 0 0 0 9 6.5z' fill='%23101210'/%3E%3C/svg%3E") 54% 50% / 34px no-repeat; cursor: pointer; transition: opacity .25s, transform .2s var(--ease); }
#tennisProfile .vp-big:hover { transform: scale(1.06); }
#tennisProfile .vp.playing .vp-big { opacity: 0; pointer-events: none; }
#tennisProfile .vp-bar { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 14px; font: 500 12px var(--mono); }
#tennisProfile #vpPlay { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11a1 1 0 0 0 1.5.86l8.5-5.5a1 1 0 0 0 0-1.72l-8.5-5.5A1 1 0 0 0 9 6.5z' fill='%23fff'/%3E%3C/svg%3E") 54% 50% / 16px no-repeat; cursor: pointer; }
#tennisProfile .vp.playing #vpPlay { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 6h3v12H8zM13 6h3v12h-3z' fill='%23fff'/%3E%3C/svg%3E"); }
#tennisProfile .vp-track { position: relative; flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.22); cursor: pointer; }
#tennisProfile .vp-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: var(--limeb); }
#tennisProfile .vp-track::before { content: ""; position: absolute; inset: -10px 0; }
#tennisProfile .vp-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; color: var(--text-2); font-size: 13.5px; }
#tennisProfile .vp-meta span { color: var(--text-3); font: 500 12px var(--mono); }
#tennisProfile .vp-note { margin-top: 6px; color: var(--text-3); font-size: 12px; }
@media (max-width: 700px) { #tennisProfile .vp { padding: 12px; } #tennisProfile .vp-big { width: 60px; height: 60px; margin: -30px 0 0 -30px; background-size: 28px; } #tennisProfile .vp-top { font-size: 15px; } #tennisProfile .vp-x { top: -46px; } }
#tennisProfile .rk:not([data-v]) { cursor: default; }

/* ───────── 接入 swingdiary.com：与站点样式并存时的补丁 ───────── */
#tennisProfile { min-height: 70vh; line-height: 1.7; }
#tennisProfile .hero { padding: 0; }
#tennisProfile .pf-main { min-height: 60vh; }
#tennisProfile .pf-loading { position: absolute; left: 0; right: 0; top: 0; z-index: 9; display: grid; place-items: center; min-height: 60vh; margin: 0; color: var(--muted); font: 500 13px var(--mono); letter-spacing: .04em; }
#tennisProfile .pf-loading[hidden] { display: none; }
#tennisProfile .pf-loading-shell { padding-bottom: 0; color: var(--ink); }
#tennisProfile .pf-loading-shell .page-head h1 { font: 600 clamp(34px, 4.6vw, 60px)/1.06 var(--sans); letter-spacing: -.035em; overflow-wrap: anywhere; }
#tennisProfile .pf-skel-range { flex: none; color: var(--muted); font-size: 12px; }
#tennisProfile .pf-wait { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#tennisProfile .pf-wait-mark { display: grid; place-items: center; flex: none; width: 48px; height: 40px; padding: 9px 7px; border-radius: 8px; color: var(--lime-ink); background: var(--lime-tint); }
#tennisProfile .pf-wait-mark svg { width: 100%; stroke-width: 10; }
#tennisProfile .pf-wait-copy { flex: 1; min-width: 0; }
#tennisProfile .pf-wait-copy b { display: block; font-size: 14px; font-weight: 600; }
#tennisProfile .pf-wait-copy p { margin-top: 3px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
#tennisProfile.pf-load-error .pf-wait-mark { background: rgba(238,123,71,.12); color: var(--clay-deep); }
#tennisProfile .pf-skel-hero { padding-top: 28px; padding-bottom: 64px; }
#tennisProfile .pf-skel-hero .hl-grid { margin-top: 0; }
#tennisProfile .pf-skel-stat > span { color: var(--muted); font-size: 13px; }
#tennisProfile .pf-skel-value { display: block; color: #c5c9bf; font: 500 34px/1.25 var(--sans); }
#tennisProfile .pf-placeholder { display: block; width: 65%; max-width: 150px; height: 7px; margin-top: 10px; border-radius: 3px; background: #e5e7de; }
#tennisProfile .pf-skel-stat:nth-child(even) .pf-placeholder { width: 45%; }
#tennisProfile .pf-skel-calendar { display: grid; grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; width: 100%; margin-top: 16px; }
#tennisProfile .pf-skel-calendar i { display: block; aspect-ratio: 1; border-radius: 2px; background: #e5e7de; }
#tennisProfile .pf-skel-card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; width: min(100%, 440px); aspect-ratio: 7 / 4; padding: 22px; overflow: hidden; border: 1px solid #333b2e; border-radius: var(--r-m); background: #1c211b; color: #f1f3e9; }
#tennisProfile .pf-skel-card > svg { position: absolute; z-index: -1; width: 120%; max-width: none; right: -32%; bottom: -28%; opacity: .12; color: var(--limeb); stroke-width: 1.5; transform: rotate(-24deg); }
#tennisProfile .pf-skel-brand { color: #bac1ac; font: 600 11px/1 var(--sans); letter-spacing: .15em; }
#tennisProfile .pf-skel-name { display: block; margin: 18px 0 16px; font: 600 25px/1.2 var(--sans); overflow-wrap: anywhere; }
#tennisProfile .pf-skel-name .pf-placeholder { width: 42%; height: 18px; background: #353d30; }
#tennisProfile .pf-skel-card-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.13); }
#tennisProfile .pf-skel-card-facts small { color: #a1aa99; font-size: 10px; }
#tennisProfile .pf-skel-card .pf-skel-value { color: #5f6b50; font-size: 23px; }
#tennisProfile .pf-skel-caption { color: var(--faint); font-size: 12px; }
#tennisProfile .pf-skel-ratings { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
#tennisProfile .pf-skel-ratings span { font-size: 13px; color: var(--muted); }
#tennisProfile .pf-skel-ratings .pf-skel-value { margin-top: 12px; font-size: 44px; }
#tennisProfile .pf-skel-chart { height: 160px; margin: 30px 0 16px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0 39px, #e9ebe4 39px 40px); }
#tennisProfile .rt-loading { display: grid; place-items: center; grid-template-columns: repeat(3, 7px); gap: 5px; min-height: 160px; color: var(--faint); font-size: 12px; text-align: center; } #tennisProfile .rt-loading i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime-ink); animation: pf-pulse .85s ease-in-out infinite alternate; } #tennisProfile .rt-loading i:nth-child(2) { animation-delay: .16s; } #tennisProfile .rt-loading i:nth-child(3) { animation-delay: .32s; } #tennisProfile .rt-loading span { grid-column: 1 / -1; margin-top: 6px; }
@keyframes pf-pulse { from { opacity: .25; transform: translateY(2px); } to { opacity: 1; transform: translateY(-2px); } }
@media (max-width: 700px) {
#tennisProfile .pf-loading-shell .page-head { gap: 10px; }
#tennisProfile .pf-wait { flex-wrap: wrap; gap: 10px 12px; margin-top: 20px; }
#tennisProfile .pf-wait-copy { flex-basis: calc(100% - 60px); }
#tennisProfile .pf-wait > button { margin-left: 60px; }
#tennisProfile .pf-skel-hero { padding-bottom: 44px; }
#tennisProfile .pf-skel-calendar { gap: 2px; }
#tennisProfile .pf-skel-card { padding: 18px; }
}
#tennisProfile .pf-note-wrap { padding: 0 0 40px; }
#tennisProfile .pf-main > .pf-note-wrap .data-note { margin: 0; }
#tennisProfile .sample-wrap.is-sample::after { content: var(--pf-sample, "示例"); }
#tennisProfile .toast { bottom: 28px; }
#tennisProfile .pf-none { color: var(--faint); font-size: 13px; }
#tennisProfile .pf-film-status { display: grid; place-content: center; justify-items: center; gap: 16px; min-height: 250px; color: var(--text-2); font-size: 13px; }
#tennisProfile .pf-film-status .btn { color: var(--text); border-color: var(--hair); }
#tennisProfile .pf-film-status.is-inline { min-height: 0; padding-bottom: 20px; }
#tennisProfile .rt-empty { display: grid; place-items: center; min-height: 160px; color: var(--faint); font-size: 13px; text-align: center; }
#tennisProfile .cf-item .cf-ttl { right: 5%; font: 700 clamp(13px, 1.7vw, 19px)/1.3 var(--sans); letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#tennisProfile .cf-item.on .cf-play { cursor: pointer; }
#tennisProfile.v-guest .pf-main .ph-sub { display: none; }
#tennisProfile .cmp-chip:disabled { cursor: default; }
/* 站内播放器：真实 <video>，不再用原型的模拟进度条 */
#tennisProfile .vp-screen::before { display: none; }
#tennisProfile .vp-screen { background-color: #0a0c0a; }
#tennisProfile .vp-screen video { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: contain; background: #000; }
#tennisProfile .vp-screen iframe { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; background: #000; }
#tennisProfile .vp-wait { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; margin: 0; padding: 0 24px; background: rgba(10,12,10,.55); color: var(--text-2); font-size: 14px; text-align: center; }
#tennisProfile .vp-wait[hidden] { display: none; }
@media (max-width: 700px) { #tennisProfile .toast { bottom: 20px; } }
/* 账号菜单（站点顶栏右上角，已登录时点击账号入口出现） */
.pf-acct-menu { position: fixed; z-index: 60; min-width: 132px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 18px 44px -18px rgba(18,20,18,.35); }
.pf-acct-menu button { appearance: none; display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 9px; background: none; color: var(--ink); font: 600 13px/1 var(--sans); text-align: left; cursor: pointer; }
.pf-acct-menu button:hover { background: var(--paper); }

@media (min-width: 761px) {
  #tennisProfile .card-stage .cmp { flex-wrap: nowrap; gap: 4px; }
  #tennisProfile .card-stage .cmp-chip { font-size: 12px; }
}
/* 视频名次：Top n */
#tennisProfile .cf-rk em { margin-right: .22em; font-size: .38em; font-style: normal; font-weight: 800; letter-spacing: .01em; vertical-align: .55em; opacity: .9; }
#tennisProfile .cf-rank { font: 700 13px var(--sans); letter-spacing: .02em; }

/* Natural-year season header, with the existing collapsed visibility control. */
#tennisProfile .page-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px 24px;padding:32px 0 20px;border-bottom:1px solid var(--line)}
#tennisProfile .page-head .ph-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#tennisProfile .page-head .ph-tools{grid-column:2;grid-row:1}
#tennisProfile .pf-season-heading{grid-column:1;grid-row:1;display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px}
#tennisProfile .pf-season-heading h2{display:flex;align-items:center;gap:8px;font:600 24px/1.3 var(--sans);letter-spacing:-.02em}
#tennisProfile .pf-year{position:relative;display:inline-flex;align-items:center}
#tennisProfile .pf-year select{appearance:none;-webkit-appearance:none;width:calc(4ch + 28px);min-height:44px;padding:4px 24px 4px 0;border:0;border-radius:5px;background:transparent;color:var(--ink);font:inherit;font-variant-numeric:tabular-nums;cursor:pointer}
#tennisProfile .pf-year select:hover{background:rgba(205,232,60,.12)}
#tennisProfile .pf-year select:focus-visible{outline:2px solid var(--lime-ink);outline-offset:3px}
#tennisProfile .pf-year option{background:#fff;color:var(--ink);font-size:16px}
#tennisProfile .pf-year svg{position:absolute;right:4px;width:16px;height:16px;pointer-events:none}
#tennisProfile .pf-season-heading p{color:var(--muted);font-size:12px;line-height:1.5}
#tennisProfile .season-compact{display:none}
#tennisProfile #seasonError{flex-basis:100%;color:var(--muted)}
#tennisProfile #seasonError[hidden]{display:none}
#tennisProfile #seasonRetry{padding:5px 8px;border:0;background:none;color:var(--lime-ink);text-decoration:underline;cursor:pointer}
#tennisProfile .cal-g .cd.future{background:transparent;box-shadow:inset 0 0 0 1px var(--line);opacity:1}
#tennisProfile .cal-g .cd.unknown{background:transparent;box-shadow:inset 0 0 0 1px var(--lime-ink)}
#tennisProfile .pc-facts dd{overflow-wrap:anywhere}
@media(max-width:700px){
 #tennisProfile .page-head{padding-top:24px;padding-bottom:16px;gap:8px 12px}
 #tennisProfile .pf-season-heading h2{font-size:22px;gap:7px}
 #tennisProfile .season-wide{display:none}#tennisProfile .season-compact{display:inline}
 #tennisProfile .vis-btn{height:44px;padding:0 10px;gap:6px;font-size:12px}
 #tennisProfile .vis-pop{left:auto;right:0;width:min(310px,calc(100vw - 40px))}
}

/* Compact card facts keep precise minutes in the playing summary below. */
#tennisProfile .ic-duration-full { display: none; }
#tennisProfile .ic-duration-hours { display: inline; white-space: nowrap; }
@media (max-width: 700px) {
  #tennisProfile .id-card { aspect-ratio: auto; }
  #tennisProfile .id-card .pc-flip, #tennisProfile .id-card .pc-face { position: relative; }
  #tennisProfile .id-card .pc-top { flex-shrink: 0; }
  #tennisProfile .id-card .ic-main { padding-top: 12px; padding-bottom: 12px; }
  #tennisProfile .id-card .ic-main > div { min-width: 0; }
  #tennisProfile .id-card .ic-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}

#tennisProfile .cmp-label-compact { display: none; }
@media (max-width: 700px) {
  #tennisProfile .cmp-label-full { display: none; }
  #tennisProfile .cmp-label-compact { display: inline; }
}
@media (max-width: 360px) {
  #tennisProfile .cmp-prefix { display: none; }
}

#tennisProfile .card-preview { padding: 3px 7px; border: 1px solid rgba(205,232,60,.45); border-radius: 5px; color: var(--limeb); font: 600 10px/1.2 var(--sans); letter-spacing: 0; }
#tennisProfile .card-preview[hidden] { display: none; }
#tennisProfile .id-card.is-preview .pc-face { border-color: var(--lime-ink); }
#tennisProfile .cmp-chip:focus-visible { outline: 2px solid var(--lime-ink); outline-offset: 3px; }
@media (max-width: 360px) {
  #tennisProfile .cmp-watch-prefix { display: none; }
}

#tennisProfile .id-card .pc-top { justify-content: flex-start; gap: 8px; }
#tennisProfile .id-card .ic-rate { margin-top: 0; }

#tennisProfile .cmp-row { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 4px; min-width: 0; }

html[data-lang="en"] #tennisProfile .cmp-prefix { display: none; }

/* A single header rule anchors the overview; metrics rely on spacing. */
#tennisProfile .pf-hl, #tennisProfile .pf-hl.slot { border-top: 0; padding-top: 8px; padding-bottom: 8px; }
#tennisProfile .hl-grid { margin-top: 0; row-gap: 20px; }
#tennisProfile .page-head .ph-note { display: none; }
#tennisProfile .sec-head { display: block; margin-bottom: 24px; }
#tennisProfile .sec-head h2 { margin-top: 0; }
#tennisProfile .sample-wrap.is-sample { min-height: 0; }
#tennisProfile .sample-wrap.is-sample > :not(.em-over) { opacity: .55; filter: saturate(.6) blur(1.4px); }
#tennisProfile .sample-wrap.is-sample::after { border: 0; padding: 0; right: 10px; top: 10px; color: var(--muted); }
#tennisProfile .empty-mod.em-over { display: flex; align-items: center; justify-content: center; padding: 8px; border-radius: 0; background: rgba(246,246,242,.16); }
#tennisProfile .em-over .em-hint { max-width: 100%; margin: 0; padding: 8px; color: var(--muted); background: rgba(246,246,242,.92); font: 500 12.5px/1.6 var(--sans); text-align: center; }
#tennisProfile .stage-dark .empty-mod.em-over { background: rgba(16,18,16,.12); }
#tennisProfile .stage-dark .em-over .em-hint { color: var(--text-2); background: rgba(16,18,16,.92); }
#tennisProfile .stage-dark .sample-wrap.is-sample::after { color: var(--text-2); }
#tennisProfile #rtWrap.is-sample .rt-grid, #tennisProfile #ppWrap.is-sample .pp-grid { opacity: .65; }

#tennisProfile .stage-dark { padding-top: 32px; }
@media (max-width: 700px) { #tennisProfile .stage-dark { padding-top: 24px; } }

#tennisProfile #rtChart.trend-sample { position: relative; }
#tennisProfile #rtChart.trend-sample > svg { opacity: .5; filter: blur(1.4px); pointer-events: none; }
#tennisProfile #rtChart.trend-sample .rt-axis-note { display: none; }
#tennisProfile #rtChart.trend-sample::before { content: var(--pf-sample, "示例"); position: absolute; right: 4px; top: 4px; color: var(--muted); font-size: 11px; }
#tennisProfile .trend-sample-mask { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
#tennisProfile .trend-sample-mask .em-hint { padding: 8px; background: rgba(246,246,242,.92); color: var(--muted); font-size: 12.5px; }
