
:root{color-scheme:dark;--navy:#061322;--deep:#020b16;--panel:#071a2c;--line:#1a4867;--blue:#00aeff;--white:#f5faff;--muted:#abc0d0}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--deep);color:var(--white);font-family:Inter,Arial,sans-serif;overflow-x:hidden}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.skip-link{position:absolute;top:-100px;left:12px;z-index:100;background:#fff;color:#061322;padding:10px}.skip-link:focus{top:12px}:focus-visible{outline:2px solid #6fd4ff;outline-offset:3px}
.demo-header{height:78px;padding:0 max(24px,calc((100vw - 1260px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px;background:#04101d;border-bottom:1px solid #174363;position:relative;z-index:2}.demo-brand{display:flex;align-items:center;width:142px;height:68px}.demo-brand img{width:100%;height:100%;object-fit:contain}.demo-header nav{display:flex;align-items:center;gap:30px;font-size:13px;font-weight:700}.demo-header nav>a:hover,.demo-footer a:hover{color:#45caff}.header-action{padding:10px 15px;border:1px solid #2d90c1;border-radius:7px;background:linear-gradient(135deg,#092b48,#0a1c30)}
.demo-hero{position:relative;min-height:360px;isolation:isolate;background:linear-gradient(90deg,#03101ff2 0%,#041529d4 55%,#03101fb8 100%),url('/assets/stadium-night.webp') center 48%/cover no-repeat;border-bottom:1px solid #157cac}.demo-hero:after{content:"";position:absolute;inset:auto 0 0;height:36%;z-index:-1;background:linear-gradient(transparent,#03101e)}.hero-glow{position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 70% 20%,#098bd633,transparent 48%)}.hero-content{max-width:1260px;margin:auto;padding:45px 24px 30px}.eyebrow,.section-kicker{margin:0;color:#60ccff;font-size:11px;letter-spacing:.16em;font-weight:800}.eyebrow{display:flex;align-items:center;gap:9px}.live-dot{width:8px;height:8px;border-radius:100%;background:#29d3ff;box-shadow:0 0 11px #14adff}.demo-hero h1{font:900 clamp(33px,4.6vw,66px)/.91 'Barlow Condensed',Impact,sans-serif;letter-spacing:.025em;margin:20px 0 12px;text-shadow:0 2px 15px #0008}.demo-hero h1 span{display:block;color:#56c5ff}.hero-subtitle{margin:0;color:#e0eef9;font-size:clamp(14px,1.4vw,18px);line-height:1.5}.hero-cup{display:flex;align-items:center;gap:15px;margin-top:27px}.cup-emblem{width:63px;height:68px;clip-path:polygon(50% 0,94% 13%,90% 74%,50% 100%,10% 74%,6% 13%);border:2px solid #59c8ff;background:linear-gradient(140deg,#0e5997,#00132d 55%,#389cce);display:grid;place-content:center;font:900 24px 'Barlow Condensed',sans-serif;line-height:1;text-align:center;text-shadow:0 1px 5px #000}.cup-emblem span{display:block;color:#d9e6ee;font-size:9px;letter-spacing:4px}.hero-cup>div:last-child{display:grid;gap:3px}.hero-cup small{color:#69d6ff;font-size:10px;font-weight:800;letter-spacing:.13em}.hero-cup strong{font:800 28px 'Barlow Condensed',sans-serif;letter-spacing:.03em}.hero-cup>div:last-child>span{color:#bed0dc;font-size:12px}.team-strip{margin-top:25px;display:flex;gap:10px;max-width:740px}.strip-team{width:58px;height:58px;display:grid;place-items:center;background:#071b30c9;border:1px solid #2a6688;border-radius:11px}.strip-team img{max-width:47px;max-height:47px;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 5px #0008)}.strip-team span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.demo-shell{max-width:1260px;margin:auto;padding:36px 24px 70px}.demo-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px}.demo-intro h2,.panel-heading h2,.demo-cta h2{font-family:'Barlow Condensed',Impact,sans-serif;letter-spacing:.02em}.demo-intro h2{font-size:36px;margin:5px 0}.demo-intro p{font-size:14px;color:var(--muted);margin:0}.outline-link{white-space:nowrap;padding:12px 17px;border:1px solid #249ed7;border-radius:8px;color:#8bdfff;font-size:12px;font-weight:800;letter-spacing:.05em}.outline-link:hover{background:#092d48}.demo-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:17px;align-items:start}.demo-panel{min-width:0;background:linear-gradient(150deg,#091d30,#051525);border:1px solid #176a99;border-radius:15px;box-shadow:0 14px 40px #0005, inset 0 1px #ffffff15;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:21px 22px 17px;border-bottom:1px solid #1a4b6b;background:linear-gradient(90deg,#102e4a,#081c30 72%)}.panel-heading h2{margin:4px 0 0;font-size:29px;line-height:1}.round-pill{border:1px solid #358fc1;background:#103b65;border-radius:6px;padding:7px 10px;font-size:11px;font-weight:800;color:#dff7ff;white-space:nowrap}.standings-icon{font-size:28px}.match-list{display:grid;gap:12px;padding:16px}.match-card{background:linear-gradient(180deg,#08243c,#061929);border:1px solid #2873a0;border-radius:10px;overflow:hidden}.match-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;background:#041321b8;font-size:10px;color:#c8d9e5}.match-round{font-weight:800;color:#6bd0ff}.match-teams{display:grid;grid-template-columns:minmax(0,1fr) 96px minmax(0,1fr);align-items:center;gap:6px;padding:10px 13px}.match-team{min-width:0;display:flex;align-items:center;gap:9px}.match-team:last-child{flex-direction:row-reverse;text-align:right}.match-team img{width:62px;height:62px;object-fit:contain;flex:none;filter:drop-shadow(0 4px 5px #0008)}.match-team strong{font:800 16px/1.06 'Barlow Condensed',sans-serif;overflow-wrap:anywhere}.match-score{text-align:center;white-space:nowrap;color:#e8f7ff;font:900 31px 'Barlow Condensed',sans-serif;text-shadow:0 0 12px #168cff}.match-score span{color:#50caff;margin:0 6px;font-size:21px}.simulate-button{width:100%;background:linear-gradient(90deg,#064f9e,#088bd9);border:0;border-top:1px solid #219ee4;color:#fff;font-size:12px;font-weight:800;padding:10px 14px;display:flex;justify-content:center;gap:10px}.simulate-button:hover{background:linear-gradient(90deg,#0b69c8,#16a6f1)}.panel-subheading{display:flex;justify-content:space-between;align-items:center;padding:13px 18px 10px;border-top:1px solid #154362}.panel-subheading h3{font:800 21px 'Barlow Condensed',sans-serif;margin:0}.panel-subheading span{font-size:10px;color:#9ab6cb;font-weight:800}.results-list{padding:0 15px 16px}.result-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:center;padding:6px 2px;border-top:1px solid #173d58}.result-team{min-width:0;display:flex;align-items:center;gap:7px;font:700 12px 'Barlow Condensed',sans-serif}.result-team img{width:34px;height:34px;object-fit:contain;flex:none}.result-team span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.result-away{flex-direction:row-reverse;text-align:right}.result-row>strong{white-space:nowrap;color:#eaf6ff;font:800 18px 'Barlow Condensed',sans-serif}.result-row i{font-style:normal;color:#4dbfff;font-size:13px}.all-played{padding:24px;color:#bed6e5;text-align:center;font-size:13px}
.table-caption{color:#a9c5d6;font-size:11px;line-height:1.5;margin:14px 16px}.standings-head,.standings-row{display:grid;grid-template-columns:minmax(0,1fr) repeat(5,32px) 38px;align-items:center;gap:2px}.standings-head{padding:9px 11px;background:#082d4b;color:#97c7e1;font-size:10px;font-weight:800}.standings-head span:not(:first-child),.standings-row>span:not(:first-child),.standings-row>strong{text-align:center}.standings-rows{padding:0 7px 9px}.standing-item{border-bottom:1px solid #17415e}.standing-item.leader{background:linear-gradient(90deg,#083d68,#0a2540 77%);border-left:3px solid #5ccfff;box-shadow:inset 0 0 19px #12a4ff1b}.standings-row{width:100%;min-height:58px;padding:5px 4px;border:0;background:none;color:#e9f5ff;text-align:left}.standings-row:hover{background:#1d6a9930}.standing-team{min-width:0;display:flex;align-items:center;gap:5px}.place{width:16px;flex:none;color:#9dc6d9;text-align:center;font:800 17px 'Barlow Condensed',sans-serif}.leader .place{color:#70d5ff;text-shadow:0 0 9px #12aaff}.standing-team img{width:38px;height:38px;object-fit:contain;flex:none}.standing-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 12px 'Barlow Condensed',sans-serif}.standing-name small{display:block;color:#6fceff;font:800 9px Inter,sans-serif;letter-spacing:.07em}.stat-points{font-size:16px;color:#fff}.leader .stat-points{font-size:19px;text-shadow:0 0 11px #28aaff}.stat-goal-diff{font-size:12px}.standing-detail{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:8px 12px 13px;background:#071c2f;font-size:10px;color:#aac7d8}.standing-detail[hidden]{display:none}.standing-detail span{display:grid;gap:3px}.standing-detail strong{font-size:13px;color:#eef9ff}.standings-note{margin:4px 15px 16px;font-size:10px;color:#8daec3;line-height:1.5}.result-row>strong small{display:block;margin-top:2px;color:#82aeca;font:600 9px Inter,sans-serif}
.demo-explain{display:flex;align-items:center;gap:14px;margin:18px 0 34px;padding:15px 18px;border:1px solid #207fba;border-radius:10px;background:#092842}.demo-explain.is-success{border-color:#37a5d4;background:#0a3655}.explain-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:#0966a4;color:#c8f5ff;font-size:23px}.demo-explain strong{font:800 20px 'Barlow Condensed',sans-serif}.demo-explain p{margin:3px 0 0;font-size:12px;color:#b9d5e8;line-height:1.5}.demo-cta{position:relative;overflow:hidden;text-align:center;border:1px solid #2388bd;border-radius:15px;padding:32px 20px 35px;background:radial-gradient(ellipse at center bottom,#0b4770,#071b2e 70%)}.demo-cta h2{font-size:clamp(30px,3.5vw,47px);line-height:1.03;margin:10px 0}.demo-cta p{color:#b8cbd9;font-size:13px}.cta-actions{display:flex;justify-content:center;gap:12px;margin-top:22px}.primary-button,.secondary-button{border-radius:7px;padding:12px 18px;font-size:12px;font-weight:800;letter-spacing:.02em;display:inline-flex;justify-content:center;align-items:center;gap:12px;min-height:43px}.primary-button{border:1px solid #39baff;background:linear-gradient(120deg,#0069c8,#179de4);color:#fff;box-shadow:0 4px 16px #0062bf4d}.primary-button:hover{background:#149fec}.secondary-button{border:1px solid #5995b7;background:#071b2b;color:#e6f6ff}.secondary-button:hover{background:#123751}.demo-footer{display:flex;justify-content:space-between;gap:15px;max-width:1260px;margin:auto;padding:20px 24px 30px;color:#91aebf;font-size:11px;border-top:1px solid #173f5a}
.score-dialog{width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 30px);overflow:auto;margin:auto;border:1px solid #2793ca;border-radius:15px;background:linear-gradient(145deg,#0c2a45,#061627);color:#fff;box-shadow:0 25px 90px #000b;padding:23px}.score-dialog::backdrop{background:#010814cf;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:center}.close-dialog{border:0;background:transparent;color:#b8d7e8;font-size:28px;line-height:1}.score-dialog h2{font:800 33px 'Barlow Condensed',sans-serif;margin:4px 0}.score-dialog p{font-size:12px;color:#b5cbd9;line-height:1.5}.dialog-teams{display:grid;grid-template-columns:1fr 30px 1fr;gap:10px;align-items:center;margin:16px 0;padding:12px;border:1px solid #235c7c;border-radius:9px}.dialog-teams>div{display:grid;justify-items:center;text-align:center;gap:5px;min-width:0}.dialog-teams img{width:70px;height:70px;object-fit:contain}.dialog-teams strong{font:800 15px/1 'Barlow Condensed',sans-serif}.dialog-teams>span{text-align:center;color:#65c7f8;font:800 19px 'Barlow Condensed',sans-serif}.score-inputs{display:grid;grid-template-columns:1fr 23px 1fr;align-items:end;gap:10px}.score-inputs label{display:grid;gap:7px;min-width:0}.score-inputs label span{font-size:11px;color:#c4d9e5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.score-inputs input{width:100%;height:55px;text-align:center;background:#031321;border:1px solid #2c8cbb;border-radius:7px;color:#fff;font:800 28px 'Barlow Condensed',sans-serif}.score-inputs>strong{text-align:center;padding-bottom:14px;color:#6dd1ff}.form-error{min-height:17px;color:#ff8e8e!important}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}.dialog-actions button{min-width:0}
@media(max-width:850px){.demo-grid{grid-template-columns:1fr}.demo-hero{min-height:0}.standings-head,.standings-row{grid-template-columns:minmax(0,1fr) repeat(5,43px) 45px}.standing-team img{width:44px;height:44px}.standing-name{font-size:14px}}
@media(max-width:600px){.demo-header{height:64px;padding:0 14px}.demo-brand{width:100px;height:58px}.demo-header nav{gap:12px;font-size:11px}.demo-header nav>a:nth-child(2){display:none}.header-action{padding:8px 9px}.hero-content{padding:30px 16px 25px}.demo-hero h1{font-size:clamp(31px,8vw,44px)}.hero-cup strong{font-size:24px}.team-strip{gap:6px}.strip-team{width:50px;height:50px}.strip-team img{max-width:43px;max-height:43px}.demo-shell{padding:25px 12px 45px}.demo-intro{align-items:start;flex-direction:column;gap:16px}.demo-intro h2{font-size:31px}.outline-link{align-self:flex-start}.panel-heading{padding:16px 13px}.match-list{padding:10px;gap:10px}.match-teams{grid-template-columns:minmax(0,1fr) 68px minmax(0,1fr);padding:8px}.match-team{flex-direction:column;gap:4px;text-align:center}.match-team:last-child{flex-direction:column;text-align:center}.match-team img{width:53px;height:53px}.match-team strong{font-size:13px;min-height:26px}.match-score{font-size:26px}.match-score span{font-size:15px;margin:0 3px}.table-caption{margin:12px}.standings-head,.standings-row{grid-template-columns:minmax(0,1fr) 39px 33px 39px}.standings-head span:nth-child(4),.standings-head span:nth-child(5),.standings-head span:nth-child(6),.secondary-stat{display:none}.standings-head{padding:9px 10px}.standings-row{min-height:55px;padding:4px 8px}.standing-team img{width:40px;height:40px}.standing-name{font-size:13px}.standing-detail{grid-template-columns:repeat(3,1fr)}.cta-actions{flex-direction:column}.cta-actions>*{width:100%}}
@media(max-width:360px){.demo-header nav>a:first-child{display:none}.eyebrow{font-size:9px;letter-spacing:.08em}.hero-cup strong{font-size:21px}.strip-team{width:45px;height:45px}.strip-team img{max-width:38px;max-height:38px}.standing-name{font-size:12px}.standing-team img{width:34px;height:34px}.standing-team{gap:3px}.place{width:13px}}
.cup-emblem{width:76px;height:76px;flex:none;clip-path:none;border-radius:15px;padding:6px;background:#092540}.cup-emblem img{display:block;width:100%;height:100%;object-fit:contain}.team-strip{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:900px;margin-inline:auto}.strip-team{flex:0 0 58px}.strip-team img{object-fit:contain}@media(max-width:600px){.team-strip{gap:8px}.strip-team{flex-basis:50px}}@media(max-width:360px){.strip-team{flex-basis:45px}}
.demo-empty{margin:0;padding:16px;color:#b8d2e6;font-size:12px;line-height:1.5}
.hero-cup>div:last-child{min-width:0}.hero-cup strong{overflow-wrap:anywhere}
@media(max-width:600px){.demo-header nav>a{display:inline-flex;align-items:center;min-height:44px}.demo-header .outline-link,.demo-intro-links .outline-link{min-height:44px}}

/* Match and result presentation keeps every team name visible. */
.match-teams{grid-template-columns:minmax(0,1fr) 82px minmax(0,1fr);min-height:116px;gap:10px;padding:12px 14px}
.match-team{min-width:0;gap:11px}
.match-team .crest-frame{display:grid;place-items:center;flex:none;width:78px;height:78px;padding:4px;border:1px solid #3182ae;border-radius:12px;background:radial-gradient(circle at 50% 35%,#26628977,#061728 72%);box-shadow:inset 0 1px #ffffff20,0 4px 14px #0006}
.match-team .crest-frame img{display:block;width:100%;height:100%;object-fit:contain;filter:none}
.match-team strong{font-size:18px;line-height:1.08;white-space:normal;overflow-wrap:anywhere}
.match-score{font-size:33px}
.match-score span{font-size:19px}
.match-complete{border-color:#42a9d8;box-shadow:0 0 18px #0c8dc425}
.match-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-top:1px solid #2888b9}
.match-actions button{min-height:39px;padding:8px;border:0;color:#fff;font-size:12px;font-weight:800}
.edit-result-button{background:linear-gradient(90deg,#075cae,#1488c9)}
.edit-result-button:hover{background:#198fd5}
.undo-result-button{background:#102d44;border-left:1px solid #28739c!important}
.undo-result-button:hover{background:#1a4965}
.result-row{display:block;padding:10px 2px 11px}
.result-main{display:grid;grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr);align-items:center;gap:8px}
.result-team{display:flex;align-items:center;gap:8px;min-width:0}
.result-team.result-away{flex-direction:row-reverse;text-align:right}
.result-crest{display:grid;place-items:center;flex:none;width:48px;height:48px;padding:3px;border:1px solid #285d7d;border-radius:8px;background:#0a2b42}
.result-crest img{width:100%;height:100%;object-fit:contain}
.result-team .result-name{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;font:800 14px/1.08 'Barlow Condensed',sans-serif}
.result-score{text-align:center;white-space:nowrap;color:#eaf6ff;font:800 22px 'Barlow Condensed',sans-serif}
.result-score i{font-style:normal;color:#4dbfff;font-size:15px}
.result-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px;color:#8eb5ca;font-size:10px;font-weight:700}
.simulated-tag{padding:3px 6px;border:1px solid #2a94c4;border-radius:4px;color:#76d5ff;font-size:9px;letter-spacing:.04em}
.standing-item.runner-up{background:linear-gradient(90deg,#9db9c015,#082032 65%);border-left:2px solid #9aafbe}
.standings-row{min-height:66px}
.standing-team img{width:43px;height:43px}
.standing-name{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;font-size:14px;line-height:1.08}
.score-dialog .dialog-teams img{width:78px;height:78px}
.score-dialog .dialog-teams strong{font-size:17px;line-height:1.06;overflow-wrap:anywhere}
.score-inputs label span{min-height:27px;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.2}
.score-inputs input{appearance:textfield}
.score-inputs input::-webkit-inner-spin-button,.score-inputs input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
@keyframes table-refresh{0%{box-shadow:inset 0 0 0 #24b9ff00}35%{box-shadow:inset 0 0 28px #24b9ff35}100%{box-shadow:inset 0 0 0 #24b9ff00}}
.standings-panel.is-updating{animation:table-refresh .8s ease-out}
@media(max-width:850px){.standing-team img{width:43px;height:43px}}
@media(max-width:600px){
  .match-teams{grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr);min-height:152px;gap:5px;padding:11px 8px 12px;align-items:start}
  .match-team,.match-team:last-child{display:flex;flex-direction:column;align-items:center;text-align:center;gap:13px}
  .match-team .crest-frame{width:76px;height:76px;padding:4px}
  .match-team strong{width:100%;min-height:46px;font-size:15px;line-height:1.06}
  .match-score{align-self:center;font-size:29px}
  .match-score span{font-size:17px;margin:0 2px}
  .result-main{grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr);gap:4px}
  .result-team,.result-team.result-away{flex-direction:column;gap:5px;text-align:center;align-self:start}
  .result-crest{width:51px;height:51px}
  .result-team .result-name{width:100%;font-size:14px;line-height:1.06}
  .result-score{font-size:21px;align-self:center}
  .result-meta{font-size:9px}
  .standing-team img{width:40px;height:40px}
  .standing-name{font-size:14px}
  .standings-row{min-height:65px}
}
@media(max-width:360px){
  .match-team .crest-frame{width:70px;height:70px}
  .match-team strong{font-size:15px}
  .standing-name{font-size:13px}
  .standing-team img{width:34px;height:34px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.standings-panel.is-updating{animation:none}}
