/* Fresh Beach live/vysledky – rozšíření původního vizuálního stylu */
.results-body{background:var(--cream);color:var(--navy);min-height:100vh;padding-top:84px}
.results-navbar{background:rgba(25,30,73,.98)!important;box-shadow:0 10px 30px rgba(25,30,73,.12)}
.results-navbar .navbar-brand{text-decoration:none}
.results-navbar .results-status{margin-left:.75rem}
.results-status{display:inline-flex;align-items:center;gap:.45rem;padding:.42rem .72rem;border-radius:999px;background:#fff;color:var(--navy);font-size:.75rem;font-weight:800;letter-spacing:.01em;white-space:nowrap;box-shadow:0 5px 20px rgba(25,30,73,.08)}
.results-status.ok{color:var(--green)}.results-status.warn{color:#946500}.results-status.error{color:#b42318}
.live-dot{display:inline-block;width:.52rem;height:.52rem;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px rgba(11,132,99,.12)}
.results-hero-section{position:relative;overflow:hidden;padding:4.1rem 0 2rem;background:var(--sand)}
.results-hero-section:after{content:"";position:absolute;right:-70px;top:-90px;width:330px;height:330px;border:54px solid rgba(236,85,10,.07);border-radius:50%}
.results-kicker{display:block;color:var(--orange);font-weight:800;letter-spacing:.14em;text-transform:uppercase;font-size:.78rem;margin-bottom:.5rem}
.results-title{font-size:clamp(3rem,7vw,6.4rem);line-height:.88;font-weight:800;letter-spacing:-.065em;margin:0 0 1rem;color:var(--navy)}
.results-lead{max-width:760px;color:var(--muted);font-size:1.05rem;margin:0}
.results-main{padding:2.2rem 0 5rem}
.results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem}
.results-panel{background:#fff;border:1px solid rgba(25,30,73,.07);border-radius:28px;padding:1.35rem;box-shadow:0 16px 45px rgba(25,30,73,.09)}
.results-panel-title{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.85rem}
.results-panel h2,.results-panel h3{font-weight:800;color:var(--navy);margin:0}.results-panel h2{font-size:1.5rem}
.group-chip{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;border-radius:12px;background:var(--sand);color:var(--orange);font-weight:800}
.results-table-wrap{overflow:auto}.results-table{width:100%;border-collapse:collapse;min-width:520px;margin:0}
.results-table th{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:rgba(25,30,73,.52);padding:.72rem .48rem;text-align:center;border-bottom:1px solid rgba(25,30,73,.12);white-space:nowrap}
.results-table th:nth-child(2){text-align:left}.results-table td{padding:.72rem .48rem;text-align:center;border-bottom:1px solid rgba(25,30,73,.075);font-variant-numeric:tabular-nums}.results-table tbody tr:last-child td{border-bottom:0}
.results-table td.team,.results-table td.team-name{text-align:left;font-weight:800}.results-table td.position{font-weight:800;color:var(--orange)}.results-table td.points{font-size:1.03rem}.playoff-position{background:rgba(11,132,99,.035)}
.live-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:1.1rem;margin-bottom:1.1rem}
.result-match-card{height:100%;border-radius:24px;background:var(--navy);color:#fff;padding:1.5rem;min-height:188px;display:flex;flex-direction:column;justify-content:center}.result-match-card.is-live{background:var(--green)}
.result-match-topline{display:flex;align-items:center;justify-content:space-between;gap:1rem}.result-match-label{font-weight:800;font-size:.75rem;letter-spacing:.13em}.live-pill{display:inline-flex;align-items:center;gap:.4rem;border-radius:999px;background:rgba(255,255,255,.14);padding:.32rem .6rem;font-size:.7rem;font-weight:800}
.result-match-meta{opacity:.72;margin-top:.35rem;font-size:.88rem}.result-match-teams{display:grid;grid-template-columns:1fr auto 1fr;gap:1rem;align-items:center;margin-top:1.3rem;font-size:clamp(1rem,2.3vw,1.55rem)}.result-match-teams strong:first-child{text-align:right}.result-match-teams strong:last-child{text-align:left}
.result-score{background:#fff;color:var(--navy);padding:.42rem .78rem;border-radius:14px;font-size:clamp(1.25rem,3vw,1.95rem);font-weight:800;white-space:nowrap;box-shadow:0 8px 20px rgba(0,0,0,.12)}
.result-empty{min-height:188px;display:flex;align-items:center;justify-content:center;gap:.75rem;text-align:center;color:rgba(25,30,73,.64);font-weight:700}.result-empty i{color:var(--orange);font-size:1.35rem}
.matches-panel{margin-top:1.1rem}.score-cell{font-weight:800;white-space:nowrap;text-align:center!important}.badge-live,.badge-done{display:inline-block;border-radius:999px;padding:.25rem .55rem;font-size:.66rem;font-weight:800}.badge-live{background:var(--orange);color:#fff}.badge-done{background:rgba(11,132,99,.1);color:var(--green)}.row-live{background:rgba(11,132,99,.06)}.empty-row{text-align:center!important;color:var(--muted)!important;padding:1.4rem!important}
.results-footer{background:var(--navy);color:#fff;padding:2rem 0}.results-footer a{color:#fff;text-decoration:none}

/* Projektor */
.live-body{padding-top:72px;overflow:hidden;background:var(--sand)}
.live-body .results-navbar{padding:.55rem 0}.live-body .results-main{padding:1.25rem 0 1.5rem}.live-body .projector-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:.8rem}.live-body .projector-heading h1{font-size:clamp(2.3rem,4.7vw,5rem);line-height:.9;font-weight:800;letter-spacing:-.055em;margin:0}.projector-subtitle{color:var(--muted);font-size:.9rem;margin:0}
.projector-layout{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}.projector-bottom{grid-column:1/-1}.live-body .results-panel{border-radius:22px;padding:.95rem 1.05rem}.live-body .results-table{min-width:0}.live-body .results-table th,.live-body .results-table td{padding:.43rem .32rem}.live-body .results-table td{font-size:clamp(.78rem,1vw,1.05rem)}.live-body .result-match-card{min-height:150px;padding:1.05rem 1.2rem}.live-body .result-empty{min-height:150px}

@media(max-width:991.98px){.results-body{padding-top:73px}.results-grid,.live-grid,.projector-layout{grid-template-columns:1fr}.projector-bottom{grid-column:auto}.live-body{overflow:auto}.results-hero-section{padding-top:3rem}.result-match-teams{grid-template-columns:1fr;text-align:center}.result-match-teams strong:first-child,.result-match-teams strong:last-child{text-align:center}.results-navbar .results-status{margin-left:0;margin-top:.5rem}.live-body .projector-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:575.98px){.results-title{font-size:3.7rem}.results-panel{border-radius:22px;padding:1rem}.results-table{min-width:480px}.results-main{padding-top:1.25rem}.result-match-card{padding:1.15rem}.results-navbar .navbar-brand img{width:36px;height:36px}}


/* Final results / podium */
.tournament-podium-section{margin-bottom:1.1rem}
.tournament-podium-panel{overflow:hidden;background:linear-gradient(135deg,#fff 0%,rgba(245,236,205,.68) 100%)}
.podium-title-icon{font-size:2rem;color:var(--orange)}
.tournament-podium{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:1rem;align-items:end;padding:.7rem .2rem .2rem}
.podium-place{position:relative;border-radius:22px;padding:1.15rem 1rem;text-align:center;border:1px solid rgba(25,30,73,.08);background:#fff;min-height:142px;display:flex;flex-direction:column;justify-content:center}
.podium-place.is-first{min-height:180px;background:var(--green);color:#fff;box-shadow:0 18px 42px rgba(11,132,99,.2)}
.podium-place.is-second{background:rgba(191,220,231,.34)}
.podium-place.is-third{background:rgba(236,85,10,.07)}
.podium-medal{font-size:2rem;line-height:1;margin-bottom:.55rem}
.podium-place.is-first .podium-medal{font-size:2.65rem}
.podium-rank{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;font-weight:800;opacity:.72;margin-bottom:.3rem}
.podium-team{font-size:clamp(1.2rem,2.7vw,2rem);line-height:1.04;font-weight:800;letter-spacing:-.025em}
.podium-place.is-first .podium-team{font-size:clamp(1.55rem,3.4vw,2.7rem)}

/* Projector typography – larger and bolder for distance viewing */
.live-body{font-size:20px;font-weight:500}
.live-body .projector-heading h1{font-size:clamp(3rem,5.4vw,6.2rem);font-weight:800}
.live-body .projector-subtitle{font-size:clamp(1.05rem,1.45vw,1.55rem);font-weight:650}
.live-body .results-kicker{font-size:clamp(.9rem,1.05vw,1.15rem);font-weight:800}
.live-body .results-panel h2{font-size:clamp(1.75rem,2.3vw,2.7rem);font-weight:800}
.live-body .group-chip{min-width:46px;height:46px;font-size:1.2rem}
.live-body .results-table th{font-size:clamp(.78rem,.9vw,1rem);font-weight:800}
.live-body .results-table td{font-size:clamp(1.05rem,1.35vw,1.55rem);font-weight:650;padding:.58rem .4rem}
.live-body .results-table td.team{font-weight:800}
.live-body .results-table td.points{font-size:clamp(1.18rem,1.55vw,1.75rem);font-weight:900}
.live-body .result-match-label{font-size:clamp(.88rem,1vw,1.1rem);font-weight:900}
.live-body .result-match-meta{font-size:clamp(.95rem,1.15vw,1.25rem);font-weight:600}
.live-body .result-match-teams{font-size:clamp(1.45rem,2.6vw,3.15rem);font-weight:800}
.live-body .result-match-teams strong{font-weight:800}
.live-body .result-score{font-size:clamp(2.2rem,4.2vw,5rem);font-weight:900;padding:.5rem 1rem}
.live-body .result-empty{font-size:clamp(1.2rem,1.8vw,2rem);font-weight:800}

/* Winner screen on LIVE */
.live-body .live-grid.winner-mode{grid-template-columns:1fr;margin-top:.15rem}
.live-body .live-grid.winner-mode #next-match{display:none}
.live-body .live-grid.winner-mode #live-match{padding:0;border:0;background:transparent;box-shadow:none}
.tournament-winner-live{position:relative;overflow:hidden;min-height:225px;border-radius:28px;background:var(--green);color:#fff;padding:1.45rem 2rem;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1.5rem;box-shadow:0 20px 55px rgba(11,132,99,.22)}
.tournament-winner-live:after{content:"";position:absolute;width:260px;height:260px;border:42px solid rgba(255,255,255,.08);border-radius:50%;right:-65px;top:-110px}
.winner-trophy{font-size:clamp(3.7rem,6vw,7rem);line-height:1;filter:drop-shadow(0 8px 18px rgba(0,0,0,.14))}
.winner-copy{position:relative;z-index:1;text-align:center}
.winner-label{display:block;text-transform:uppercase;letter-spacing:.18em;font-size:clamp(.95rem,1.3vw,1.35rem);font-weight:900;opacity:.82;margin-bottom:.45rem}
.winner-name{display:block;font-size:clamp(3rem,6.6vw,8rem);line-height:.88;letter-spacing:-.055em;font-weight:900;text-wrap:balance}
.winner-event{display:block;margin-top:.7rem;font-size:clamp(1rem,1.45vw,1.6rem);font-weight:700;opacity:.82}
.winner-side{position:relative;z-index:1;text-align:right;font-weight:800;line-height:1.2}
.winner-side strong{display:block;font-size:clamp(1.3rem,2vw,2.3rem)}
.winner-side span{font-size:clamp(.82rem,1vw,1.05rem);opacity:.75}

#fresh-confetti-canvas{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:2000}

@media(max-width:991.98px){
  .tournament-podium{grid-template-columns:1fr}.podium-place,.podium-place.is-first{min-height:130px}.podium-place.is-first{order:-1}
  .tournament-winner-live{grid-template-columns:1fr;text-align:center}.winner-side{text-align:center}.winner-trophy{display:none}
}
@media(max-height:800px) and (min-width:992px){
  .live-body{font-size:17px}.live-body .results-table td{padding:.38rem .28rem}.live-body .result-match-card{min-height:136px}.tournament-winner-live{min-height:178px;padding:1rem 1.5rem}.winner-name{font-size:clamp(2.7rem,5.8vw,6.4rem)}
}
@media(prefers-reduced-motion:reduce){#fresh-confetti-canvas{display:none!important}}
