:root{
  --bg:#021510;
  --panel:#052a22;
  --panel2:#08352b;
  --line:rgba(112,241,155,.18);
  --lime:#c5f02d;
  --green:#12a37c;
  --deep:#01523c;
  --white:#f7faf8;
  --muted:#a7bbb4;
  --live:#ff3a4f;
  --radius:24px;
}
*{box-sizing:border-box}
html{background:#01130f;color:var(--white);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{margin:0;min-height:100vh;background:
  radial-gradient(circle at 50% 0%,rgba(18,163,124,.18),transparent 35%),
  linear-gradient(180deg,#031c16 0,#01100c 100%)}
button{font:inherit}
.page-shell{width:min(1540px,calc(100% - 28px));margin:14px auto 34px;border:1px solid rgba(67,226,139,.38);border-radius:28px;overflow:hidden;background:#031d17;box-shadow:0 30px 100px rgba(0,0,0,.42)}

.hero{position:relative;min-height:505px;overflow:hidden;background:
  radial-gradient(ellipse at 50% 52%,rgba(24,163,104,.32),transparent 34%),
  radial-gradient(circle at 18% 16%,rgba(197,240,45,.07),transparent 21%),
  radial-gradient(circle at 82% 18%,rgba(197,240,45,.07),transparent 22%),
  linear-gradient(180deg,rgba(1,55,42,.96),rgba(1,30,24,.97) 62%,#031f19 100%)}
.hero:after{content:"";position:absolute;z-index:1;left:0;right:0;bottom:0;height:52%;background:
  linear-gradient(180deg,transparent,rgba(0,30,24,.42)),
  repeating-linear-gradient(90deg,transparent 0 110px,rgba(130,255,190,.025) 111px 112px);pointer-events:none}
.stadium-glow{position:absolute;z-index:0;top:-150px;width:470px;height:330px;border-radius:50%;filter:blur(42px);opacity:.3}.glow-left{left:5%;background:#28c98e}.glow-right{right:5%;background:#79ea45}
.court-lines{position:absolute;z-index:1;left:22%;right:22%;bottom:-70px;height:250px;opacity:.28;transform:perspective(480px) rotateX(64deg);border:2px solid rgba(197,240,45,.40);border-top-width:4px;background:
  linear-gradient(90deg,transparent 49.7%,rgba(197,240,45,.36) 49.7% 50.3%,transparent 50.3%),
  linear-gradient(180deg,transparent 49.7%,rgba(197,240,45,.30) 49.7% 50.3%,transparent 50.3%)}
.lime-stroke{position:absolute;z-index:2;height:22px;border-radius:20px;background:linear-gradient(90deg,var(--lime),#6edd49);box-shadow:0 0 24px rgba(197,240,45,.10);opacity:.95;transform:rotate(46deg)}
.stroke-a{width:150px;left:-36px;top:74px}.stroke-b{width:112px;right:-18px;top:89px}.stroke-c{width:105px;right:55px;top:132px}
.tennis-ball{position:absolute;z-index:8;width:118px;height:118px;border-radius:50%;background:
  radial-gradient(circle at 34% 28%,#eafd58 0 7%,#b8ec2e 8% 40%,#87c91f 72%,#5ca613 100%);filter:blur(2.2px);opacity:.84;box-shadow:0 18px 42px rgba(0,0,0,.35)}
.tennis-ball:after{content:"";position:absolute;inset:18%;border:5px solid rgba(255,255,255,.72);border-left-color:transparent;border-right-color:transparent;border-radius:50%;transform:rotate(34deg)}
.ball-left{left:-42px;bottom:34px;transform:rotate(-12deg)}.ball-right{right:-36px;bottom:48px;transform:rotate(18deg)}

.hero-title{position:absolute;z-index:12;top:30px;left:50%;transform:translateX(-50%);text-align:center;width:min(860px,76%)}
.hero-title h1{margin:0;font-family:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif;font-size:clamp(38px,4vw,62px);font-weight:900;line-height:.96;letter-spacing:.01em;text-transform:uppercase;white-space:nowrap;text-shadow:0 4px 20px rgba(0,0,0,.35)}
.hero-title h1 span{color:var(--lime);padding:0 .12em}.eyebrow{margin-top:8px;font-size:13px;letter-spacing:.29em;text-transform:uppercase;color:#d4e2dd}

.captain{position:absolute;z-index:4;bottom:-8px;width:36%;height:446px;overflow:visible;filter:saturate(.99) contrast(1.02);pointer-events:none}
.captain img{width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(0 16px 28px rgba(0,0,0,.28))}
.captain-left{left:-1.2%}
.captain-right{right:-1.2%}

.score-stage{position:absolute;z-index:13;left:50%;top:128px;transform:translateX(-50%);width:470px;text-align:center;padding:0 18px 20px}
.logos-row{height:92px;display:grid;grid-template-columns:1fr 1px 1fr;align-items:center;gap:22px;margin:0 auto 1px;width:390px}.logo-divider{height:58px;background:linear-gradient(180deg,transparent,rgba(197,240,45,.65),transparent)}
.team-logo{height:76px;display:flex;align-items:center;justify-content:center}.team-logo img{max-width:100%;max-height:72px;object-fit:contain}.team-v img{max-width:185px}.team-p img{max-height:82px}
.score{font-family:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif;font-size:96px;line-height:.89;font-weight:900;letter-spacing:.04em;text-shadow:0 7px 32px rgba(0,0,0,.5)}.score span{color:var(--lime);font-family:inherit}.progress{margin-top:20px;font-size:20px;font-weight:850}.split-score{margin-top:6px;color:#d0ded9;font-size:14px}

.matches-wrap{position:relative;z-index:20;margin:0 42px 26px;margin-top:-18px;padding:20px 20px 24px;background:linear-gradient(180deg,rgba(2,39,31,.98),rgba(2,27,22,.99));border:1px solid rgba(126,241,163,.18);border-radius:22px;box-shadow:0 18px 42px rgba(0,0,0,.20)}
.matches-head{display:flex;gap:30px;align-items:flex-end;justify-content:space-between;margin-bottom:16px}.matches-head h2{font-family:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif;font-size:29px;line-height:1;margin:0 0 7px;text-transform:uppercase;letter-spacing:.01em}.matches-head p{margin:0;color:var(--muted);font-size:14px}
.filters{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.filter{border:1px solid rgba(255,255,255,.10);background:#0a3128;color:#d8e5e1;padding:9px 15px;border-radius:999px;cursor:pointer;transition:.18s}.filter:hover{border-color:rgba(197,240,45,.45)}.filter.is-active{background:var(--lime);color:#062018;border-color:var(--lime);font-weight:900}
.matches{display:grid;gap:7px}.match{display:grid;grid-template-columns:116px minmax(240px,1fr) 120px minmax(240px,1fr);align-items:center;min-height:64px;padding:6px 14px;border-radius:14px;background:linear-gradient(180deg,rgba(9,53,43,.88),rgba(6,41,33,.90));border:1px solid rgba(155,245,167,.10)}
.kind{font-size:11px;font-weight:750;color:#e7f0ed;background:rgba(255,255,255,.07);padding:7px 10px;border-radius:999px;width:max-content}.person{display:flex;align-items:center;gap:11px;min-width:0}.person.right{justify-content:flex-end;text-align:right}.avatar{width:47px;height:47px;flex:0 0 47px;border-radius:50%;object-fit:cover;object-position:50% 30%;border:2px solid rgba(61,221,158,.55);background:#0a251f}.avatar.vitaliy{object-position:72% 40%}.person-info{min-width:0}.person-name{font-weight:850;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.team-name{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px;margin-top:3px}.person.right .team-name{justify-content:flex-end}.dot{width:7px;height:7px;background:#74f050;border-radius:50%;box-shadow:0 0 12px rgba(116,240,80,.5)}
.match-center{text-align:center}.status{display:inline-block;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:850;background:#385048;color:#dce7e3}.status.live{background:var(--live);color:white}.status.finished{background:#13a87e;color:white}.match-score{font-size:25px;font-weight:900;line-height:1.05;margin-top:2px;letter-spacing:.04em}.spacer{display:none}
.pair-icon{width:47px;height:47px;border-radius:50%;display:grid;place-items:center;border:2px solid rgba(61,221,158,.45);background:#0e3930;font-weight:900;color:#dce9e4;font-size:16px}.pair-avatars{position:relative;width:51px;height:40px;flex:0 0 51px}.pair-avatars .avatar{position:absolute;top:0;width:39px;height:39px}.pair-avatars .avatar:first-child{left:0;z-index:2}.pair-avatars .avatar:last-child{right:0;z-index:1}.person.right .pair-avatars{order:2}.empty{padding:28px;text-align:center;color:var(--muted)}
.score.pulse{animation:scorePulse .7s ease}@keyframes scorePulse{0%{transform:scale(1)}35%{transform:scale(1.08);filter:drop-shadow(0 0 18px rgba(197,240,45,.65))}100%{transform:scale(1)}}

@media(max-width:1000px){
  .page-shell{width:100%;margin:0;border:0;border-radius:0}.hero{min-height:560px}.hero-title{top:24px;width:94%}.hero-title h1{white-space:normal;font-size:34px;line-height:1}.eyebrow{font-size:10px;margin-top:7px}.captain{height:300px;width:60%;top:96px;bottom:auto}.captain-left{left:-18%}.captain-right{right:-18%}.captain img{object-fit:contain}.tennis-ball{width:85px;height:85px;bottom:150px;opacity:.68}.ball-left{left:-36px}.ball-right{right:-32px}.score-stage{top:335px;width:100%;padding:0 16px}.logos-row{width:330px;height:66px;gap:15px}.team-logo{height:58px}.team-v img{max-width:150px}.team-p img{max-height:64px}.logo-divider{height:46px}.score{font-size:70px}.progress{font-size:16px;margin-top:16px}.split-score{font-size:12px}.court-lines{left:8%;right:8%;height:150px;bottom:-45px}.matches-wrap{margin:0;padding:20px 12px 28px;border-radius:0;border-left:0;border-right:0}.matches-head{display:block}.matches-head h2{font-size:23px}.matches-head p{font-size:13px}.filters{justify-content:flex-start;margin-top:15px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.filter{white-space:nowrap;padding:8px 12px;font-size:12px}.match{grid-template-columns:1fr 78px 1fr;gap:7px;padding:9px 8px;min-height:88px}.kind{display:none}.person{gap:7px}.person.right{flex-direction:row-reverse}.avatar,.pair-icon{width:41px;height:41px;flex-basis:41px}.person-name{font-size:12px;white-space:normal;line-height:1.1}.team-name{font-size:9px}.match-score{font-size:20px}.status{font-size:9px;padding:4px 7px}.pair-avatars{width:48px;height:38px;flex-basis:48px}.pair-avatars .avatar{width:37px;height:37px}}
@media(max-width:420px){.hero{min-height:545px}.hero-title h1{font-size:31px}.captain{width:64%}.captain-left{left:-22%}.captain-right{right:-22%}.score-stage{top:325px}.logos-row{width:305px}.team-v img{max-width:140px}.score{font-size:64px}.matches-head h2{font-size:21px}}

/* V6: clean generated transparent captain portraits + balanced mobile hero */
.captain{width:34.5%;height:438px;bottom:-4px}
.captain-left{left:.5%}
.captain-right{right:.5%}
.captain img{object-fit:contain;object-position:center bottom;max-width:100%;max-height:100%;filter:drop-shadow(0 18px 30px rgba(0,0,0,.30))}

@media(max-width:1000px){
  .page-shell{width:100%;margin:0;border:0;border-radius:0}
  .hero{min-height:520px}
  .hero-title{top:20px;width:96%}
  .hero-title h1{white-space:nowrap;font-size:clamp(28px,7.5vw,34px);line-height:.98;letter-spacing:0}
  .eyebrow{font-size:9px;margin-top:8px;letter-spacing:.27em}

  .captain{top:86px;bottom:auto;height:258px;width:58%;overflow:visible}
  .captain-left{left:-12.5%}
  .captain-right{right:-12.5%}
  .captain img{width:100%;height:100%;object-fit:contain;object-position:center bottom;transform:none}

  .tennis-ball{width:66px;height:66px;bottom:132px;opacity:.48;filter:blur(1.7px)}
  .ball-left{left:-30px}.ball-right{right:-28px}
  .lime-stroke{height:14px;opacity:.86}
  .stroke-a{width:92px;left:-28px;top:84px}
  .stroke-b{width:78px;right:-22px;top:87px}
  .stroke-c{width:66px;right:18px;top:118px}

  .score-stage{top:306px;width:100%;padding:0 14px 12px}
  .logos-row{width:292px;height:52px;gap:13px;margin-bottom:3px}
  .logo-divider{height:36px}
  .team-logo{height:48px}
  .team-logo img{max-height:48px}
  .team-v img{max-width:134px}
  .team-p img{max-height:55px}
  .score{font-size:64px;line-height:.9}
  .progress{font-size:15px;margin-top:12px}
  .split-score{font-size:11px;margin-top:5px}
  .court-lines{left:10%;right:10%;height:120px;bottom:-38px;opacity:.20}

  .matches-wrap{margin:0;padding:19px 12px 28px;border-radius:0;border-left:0;border-right:0}
  .matches-head{display:block;margin-bottom:15px}
  .matches-head h2{font-size:23px;margin-bottom:6px}
  .matches-head p{font-size:13px;line-height:1.35}
  .filters{justify-content:flex-start;margin-top:14px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px;gap:7px}
  .filter{white-space:nowrap;padding:8px 12px;font-size:12px}
  .match{grid-template-columns:1fr 72px 1fr;gap:6px;padding:9px 8px;min-height:86px}
  .kind{display:none}
  .person{gap:7px}
  .person.right{flex-direction:row-reverse}
  .avatar,.pair-icon{width:41px;height:41px;flex-basis:41px}
  .person-name{font-size:12px;white-space:normal;line-height:1.1}
  .team-name{font-size:9px}
  .match-score{font-size:20px}
  .status{font-size:9px;padding:4px 7px}
  .pair-avatars{width:48px;height:38px;flex-basis:48px}
  .pair-avatars .avatar{width:37px;height:37px}
}

@media(max-width:430px){
  .hero{min-height:510px}
  .hero-title{top:18px}
  .hero-title h1{font-size:29px}
  .eyebrow{font-size:8.5px;letter-spacing:.24em}

  .captain{top:90px;height:248px;width:60%}
  .captain-left{left:-14%}
  .captain-right{right:-14%}

  .score-stage{top:298px}
  .logos-row{width:274px;height:48px;gap:12px}
  .team-v img{max-width:126px}
  .team-p img{max-height:51px}
  .logo-divider{height:34px}
  .score{font-size:60px}
  .progress{font-size:14px;margin-top:11px}
  .split-score{font-size:10.5px}

  .tennis-ball{width:58px;height:58px;bottom:124px;opacity:.42}
  .stroke-a{width:82px;left:-25px;top:82px}
  .stroke-b{width:72px;right:-24px;top:84px}
  .stroke-c{width:58px;right:14px;top:114px}

  .matches-wrap{padding:18px 10px 25px}
  .matches-head h2{font-size:21px}
  .filter{padding:8px 11px}
  .match{grid-template-columns:1fr 62px 1fr;gap:5px;padding:8px 6px;min-height:82px}
  .avatar,.pair-icon{width:38px;height:38px;flex-basis:38px}
  .person-name{font-size:11.5px}
  .match-score{font-size:19px}
}
