:root{
  --bg:#eef4ff;
  --panel:#ffffff;
  --text:#172033;
  --muted:#667089;
  --blue:#1e5bd7;
  --blue-dark:#1747ad;
  --border:#dfe7f5;
  --green:#067647;
  --green-soft:#dbf8e9;
  --red:#b42318;
  --shadow:0 20px 70px rgba(23,32,51,.08);
  --radius:22px;
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:linear-gradient(180deg,#edf4ff,#f8fbff);color:var(--text)}
.app-shell{max-width:1180px;margin:0 auto;padding:42px 24px 64px}
h1,h2,h3,p{margin-top:0}.hero{display:grid;grid-template-columns:1.5fr .9fr;gap:48px;align-items:start}.eyebrow{font-size:13px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:#075bd8;margin-bottom:8px}.hero h1{font-size:clamp(42px,7vw,88px);line-height:.92;margin:16px 0}.lead{font-size:20px;color:var(--muted);line-height:1.55}.panel{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow);margin-bottom:20px}.btn{border:0;border-radius:12px;padding:13px 18px;font-weight:900;cursor:pointer;transition:.16s ease;white-space:nowrap}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--blue);color:#fff}.btn-primary:hover{background:var(--blue-dark)}.btn-soft{background:#edf3ff;color:#1446aa}.btn-light{background:rgba(255,255,255,.18);color:#fff;border:1px solid rgba(255,255,255,.24)}.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px}.topbar h1{font-size:42px;margin:8px 0 6px}.topbar-subtitle{max-width:620px}.user{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:18px;padding:10px 12px;box-shadow:0 10px 30px rgba(23,32,51,.05)}.user img{width:42px;height:42px;border-radius:50%;background:#edf3ff}.dashboard-grid{display:grid;grid-template-columns:1.5fr .8fr;gap:20px;align-items:start}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:7px;margin:0 0 14px}.field label{font-size:13px;font-weight:900}.field input,.field select,.field textarea{width:100%;border:1px solid var(--border);border-radius:12px;padding:12px 14px;font:inherit;background:#fff}.field textarea{min-height:90px}.full{grid-column:1/-1}.cards{display:grid;gap:14px}.card{border:1px solid var(--border);border-radius:18px;padding:18px;background:#fff}.card strong{font-size:18px}.muted{color:var(--muted)}.small-text{font-size:13px}.status{font-weight:900}.error{color:var(--red)}.success{color:#067647}.hidden{display:none}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.section-heading h2{margin-bottom:0}.tabs{display:flex;gap:10px;flex-wrap:wrap}.check-list{padding-left:20px;margin-bottom:0;color:var(--muted);line-height:1.7}.tournament-list-card{display:grid;gap:14px}.card-main{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.card-main strong{display:block;margin-top:8px;font-size:22px}.card-score{min-width:76px;text-align:center;border:1px solid var(--border);border-radius:16px;padding:10px;background:#f8fbff}.card-score span{display:block;font-size:28px;font-weight:950;color:var(--blue)}.card-score small{color:var(--muted);font-weight:800}.card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:2px}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;background:#edf3ff;color:#1446aa;padding:6px 10px;font-size:12px;font-weight:950}.pill-green{background:var(--green-soft);color:var(--green)}.mini-progress,.progress{height:10px;background:#edf3ff;border-radius:999px;overflow:hidden}.mini-progress span,.progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1e5bd7,#0ba5ec)}.progress{height:14px}.back-btn{margin-bottom:18px}.tournament-hero-card{display:grid;grid-template-columns:1fr 260px;gap:28px;align-items:stretch;border-radius:30px;padding:34px;background:linear-gradient(135deg,#0f3f9b,#1e5bd7 55%,#22a6f2);color:#fff;box-shadow:0 30px 90px rgba(30,91,215,.24);margin-bottom:20px;overflow:hidden;position:relative}.tournament-hero-card:after{content:"";position:absolute;right:-80px;bottom:-120px;width:320px;height:320px;border-radius:50%;background:rgba(255,255,255,.10)}.hero-content,.hero-status{position:relative;z-index:1}.hero-content h1{font-size:clamp(38px,6vw,72px);line-height:1;margin:8px 0 12px}.hero-meta{font-size:18px;color:rgba(255,255,255,.84);margin-bottom:24px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.hero-status{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);border-radius:24px;padding:22px;display:flex;flex-direction:column;justify-content:flex-end;min-height:190px}.hero-status strong{font-size:24px}.hero-status small{color:rgba(255,255,255,.78);font-weight:700}.status-dot{width:14px;height:14px;border-radius:50%;background:#32d583;box-shadow:0 0 0 8px rgba(50,213,131,.16);margin-bottom:auto}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.kpi-card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:20px;box-shadow:0 12px 40px rgba(23,32,51,.06)}.kpi-card span{font-size:13px;text-transform:uppercase;letter-spacing:.08em;font-weight:950;color:var(--muted)}.kpi-card strong{display:block;font-size:42px;line-height:1.1;margin:10px 0;color:var(--blue)}.kpi-card p{font-size:13px;color:var(--muted);margin:0}.next-steps{display:grid;grid-template-columns:1fr auto auto auto;gap:12px;align-items:center;margin-top:20px}.next-steps p{margin:4px 0 0;color:var(--muted)}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.match-list,.table-card,.scorer-list{display:grid;gap:10px}.match-row,.table-row,.scorer-row{display:grid;align-items:center;gap:12px;border:1px solid var(--border);border-radius:16px;background:#fbfdff;padding:12px}.match-row{grid-template-columns:64px 1fr auto}.table-row{grid-template-columns:32px 1fr auto}.scorer-row{grid-template-columns:38px 1fr auto}.match-time{font-weight:950;color:var(--blue)}.match-state{font-size:12px;font-weight:950;background:#edf3ff;color:#1446aa;border-radius:999px;padding:6px 10px}.match-state.live{background:#fff1f3;color:#c01048}.match-row p{margin:3px 0 0}.table-row em,.scorer-row em{font-style:normal;font-weight:950;color:var(--blue)}.share-panel{display:grid;gap:12px}.qr-placeholder{height:150px;border:2px dashed var(--border);border-radius:20px;display:flex;align-items:center;justify-content:center;font-size:42px;font-weight:950;color:#b3bed1;background:#f8fbff}.share-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:980px){.dashboard-grid,.detail-grid,.tournament-hero-card{grid-template-columns:1fr}.kpi-grid{grid-template-columns:repeat(2,1fr)}.next-steps{grid-template-columns:1fr 1fr}.topbar{flex-direction:column}.user{width:100%;justify-content:space-between}}
@media(max-width:640px){.app-shell{padding:24px 14px 44px}.hero{grid-template-columns:1fr}.grid,.kpi-grid,.next-steps{grid-template-columns:1fr}.hero h1{font-size:48px}.panel{padding:20px;border-radius:18px}.tournament-hero-card{padding:24px;border-radius:24px}.match-row{grid-template-columns:1fr}.section-heading{flex-direction:column}.card-main{flex-direction:column}.card-score{width:100%}.btn{width:100%}.user{align-items:flex-start;flex-wrap:wrap}.topbar h1{font-size:34px}}


.team-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.team-summary-card {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  padding: 14px;
  background: #fff;
}

.player-mini-chip {
  display: inline-flex;
  margin: 4px 4px 0 0;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 12px;
}

@media (max-width: 920px) {
  .team-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .team-summary-grid { grid-template-columns: 1fr; }
}

/* v07 App shell modular layout */
.gb-shell{
  min-height:100vh;
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  background:#f6f8fb;
}
.gb-sidebar{
  position:sticky;
  top:0;
  height:100vh;
  padding:24px 18px;
  background:linear-gradient(180deg,#07172f,#0b2548);
  color:#fff;
  display:flex;
  flex-direction:column;
  gap:28px;
}
.gb-brand{display:flex;align-items:center;gap:12px;font-size:22px;letter-spacing:.02em}.gb-logo{width:38px;height:38px;border-radius:14px;background:#0f8a42;display:grid;place-items:center;box-shadow:0 12px 30px rgba(0,0,0,.25)}
.gb-nav{display:flex;flex-direction:column;gap:6px}.gb-nav-item{border:0;background:transparent;color:rgba(255,255,255,.78);border-radius:14px;padding:13px 14px;display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;font:inherit}.gb-nav-item:hover,.gb-nav-item.is-active{background:rgba(255,255,255,.1);color:#fff}.gb-nav-item.is-active{box-shadow:inset 4px 0 0 #16a34a}.gb-nav-item span{width:24px;text-align:center}.gb-nav-item strong{font-weight:700}
.gb-logout{margin-top:auto;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff;border-radius:14px;padding:12px 14px;cursor:pointer;text-align:left;font-weight:700}.gb-main{min-width:0;padding:0 32px 40px}.gb-header{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #e5eaf2;margin-bottom:28px}.gb-header h1{margin:4px 0;font-size:32px}.gb-user{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e5eaf2;border-radius:18px;padding:10px 14px;box-shadow:0 10px 24px rgba(15,23,42,.05)}.gb-user img{width:40px;height:40px;border-radius:50%;object-fit:cover;background:#e5eaf2}.gb-user span{display:block;color:#64748b;font-size:13px}.gb-module-outlet{max-width:1440px;margin:0 auto}.gb-dashboard-grid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:18px;margin-bottom:18px}.gb-welcome-card{grid-row:span 1}.gb-dashboard-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.shell-roadmap{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.shell-roadmap div{border:1px solid #e5eaf2;border-radius:16px;padding:16px;background:#f8fafc}.shell-roadmap p{margin-bottom:0;color:#64748b}.module-placeholder{max-width:760px;margin:70px auto;text-align:center}.module-placeholder-icon{width:72px;height:72px;margin:0 auto 18px;border-radius:24px;background:#eef6f0;display:grid;place-items:center;font-size:32px}.module-contract{margin-top:22px;display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.module-contract span{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;padding:8px 12px;color:#334155}.tournament-create-tabs{margin-bottom:18px}.wizard-steps{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #e5eaf2;border-radius:20px;padding:16px 18px;box-shadow:0 10px 24px rgba(15,23,42,.04)}.wizard-step{display:flex;align-items:center;gap:12px;color:#64748b;min-width:170px}.wizard-step span{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#e2e8f0;font-weight:800;color:#334155}.wizard-step strong{display:block;color:#10213f}.wizard-step small{display:block}.wizard-step.is-active span{background:#16883f;color:#fff}.wizard-line{height:1px;background:#d8dee8;flex:1}.gb-tournament-workspace{align-items:start}.form-actions-sticky{display:flex;align-items:center;gap:16px;position:sticky;bottom:0;background:linear-gradient(180deg,rgba(255,255,255,.78),#fff);padding-top:14px;margin-top:18px;border-top:1px solid #eef2f7}
@media(max-width:1000px){.gb-shell{grid-template-columns:1fr}.gb-sidebar{position:relative;height:auto}.gb-nav{display:grid;grid-template-columns:repeat(2,1fr)}.gb-main{padding:0 16px 28px}.gb-header{align-items:flex-start;flex-direction:column;padding:18px 0}.gb-dashboard-grid{grid-template-columns:1fr}.shell-roadmap{grid-template-columns:1fr}.wizard-steps{align-items:flex-start;flex-direction:column}.wizard-line{display:none}.gb-user{width:100%}}

/* v08 Teams as standalone module */
.teams-select-grid{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:16px;align-items:end}.teams-context-card{border:1px solid var(--border);border-radius:18px;background:#f8fbff;padding:14px 16px}.teams-context-card strong{display:block;font-size:32px;line-height:1;color:var(--blue)}.teams-context-card span{display:block;margin-top:4px;color:var(--muted);font-weight:800}.teams-workspace-grid{grid-template-columns:minmax(0,1.5fr) 360px}.module-hint-box{margin-top:18px;border:1px solid #b7ebc6;background:#ecfdf3;color:#075e37;border-radius:16px;padding:14px;line-height:1.55}.module-empty-state{border:1px dashed var(--border);border-radius:18px;background:#f8fbff;padding:24px;text-align:center}.module-empty-state p{margin-bottom:0}
@media(max-width:980px){.teams-select-grid,.teams-workspace-grid{grid-template-columns:1fr}}

/* v09 Responsive tournament overview moved to Přehled */
.overview-toolbar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}
.overview-toolbar h2{font-size:42px;line-height:1.05;margin:4px 0 8px;color:#07172f}
.overview-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:24px;
  padding-bottom:24px;
  border-bottom:1px solid #dbe3ef;
}
.overview-tabs,.overview-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.overview-search{min-width:280px;height:46px;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--border);border-radius:14px;padding:0 12px;box-shadow:0 8px 22px rgba(15,23,42,.04)}
.overview-search input{border:0;outline:0;width:100%;font:inherit;background:transparent;color:#10213f}.overview-search span{color:#64748b;font-weight:900}.overview-sort{height:46px;min-width:160px;border:1px solid var(--border);border-radius:14px;background:#fff;padding:0 14px;font-weight:800;color:#20304d;box-shadow:0 8px 22px rgba(15,23,42,.04)}
.overview-list{display:grid;gap:18px}.overview-card{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:28px;align-items:stretch;background:#fff;border:1px solid var(--border);border-radius:22px;padding:18px;box-shadow:0 16px 44px rgba(15,23,42,.08);transition:transform .18s ease, box-shadow .18s ease}.overview-card:hover{transform:translateY(-2px);box-shadow:0 22px 60px rgba(15,23,42,.12)}
.overview-card-badge{border-radius:18px;background:#eff6ff;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:18px;padding:16px 12px;min-height:142px}.overview-card-badge span{display:grid;place-items:center;min-width:48px;height:42px;border-radius:12px;background:#1e5bd7;color:#fff;font-weight:950}.overview-card-badge strong{font-size:34px;opacity:.75}.overview-card-green .overview-card-badge{background:#ecfdf3}.overview-card-green .overview-card-badge span{background:#16a34a}.overview-card-orange .overview-card-badge{background:#fff7ed}.overview-card-orange .overview-card-badge span{background:#f59e0b}.overview-card-body{min-width:0;display:flex;flex-direction:column;justify-content:center}.overview-card-title-row{display:grid;grid-template-columns:minmax(0,1fr) 86px;gap:18px;align-items:start}.overview-card h3{margin:0 0 6px;font-size:24px;color:#07172f}.overview-team-count{justify-self:end;display:grid;place-items:center;text-align:center;width:76px;height:76px;border:1px solid var(--border);border-radius:18px;background:#fbfdff}.overview-team-count strong{font-size:28px;line-height:1;color:#1e5bd7}.overview-team-count span{font-size:12px;font-weight:900;color:#64748b}.overview-progress{margin:18px 0 10px;height:9px}.overview-card-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px}.overview-card-actions .btn{padding:10px 14px;border-radius:12px}.overview-card-side{display:flex;align-items:flex-start;gap:10px;padding-top:10px}.icon-btn{width:42px;height:42px;border:0;border-radius:12px;background:#f3f6fb;color:#12345f;display:grid;place-items:center;font-weight:950;cursor:pointer}.icon-btn:hover{background:#e8eef8}.overview-count{text-align:center;margin:22px 0 0;font-weight:800}
.gb-sidebar{box-shadow:18px 0 60px rgba(7,23,47,.12)}.gb-nav-item.is-active{background:#1e5bd7;box-shadow:none}.gb-brand strong:after{content:"TURN AJE";display:block;font-size:12px;letter-spacing:.14em;color:rgba(255,255,255,.68);margin-top:2px}.gb-header{background:rgba(246,248,251,.88);backdrop-filter:blur(8px);position:sticky;top:0;z-index:5}.gb-module-outlet{max-width:1500px}
@media(max-width:1180px){.overview-card{grid-template-columns:78px minmax(0,1fr)}.overview-card-side{grid-column:2;justify-content:flex-start;padding-top:0}.overview-card-badge{min-height:128px}.overview-card-actions .btn{padding:9px 11px}}
@media(max-width:860px){.overview-toolbar,.overview-controls{align-items:stretch;flex-direction:column}.overview-toolbar .btn{width:100%}.overview-tools{display:grid;grid-template-columns:1fr 160px}.overview-search{min-width:0}.overview-card{grid-template-columns:1fr;gap:14px}.overview-card-badge{min-height:auto;flex-direction:row;justify-content:flex-start}.overview-card-side{grid-column:auto}.overview-card-title-row{grid-template-columns:minmax(0,1fr) 72px}.overview-team-count{width:68px;height:68px}.overview-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.overview-card-actions .btn,.overview-card-side .btn{width:100%}.overview-card-side{display:grid;grid-template-columns:1fr 42px 42px}}
@media(max-width:560px){.overview-toolbar h2{font-size:32px}.overview-tabs{display:grid;grid-template-columns:repeat(2,1fr)}.overview-tabs .btn{width:100%}.overview-tools{grid-template-columns:1fr}.overview-sort{width:100%}.overview-card{padding:14px;border-radius:18px}.overview-card-title-row{grid-template-columns:1fr}.overview-team-count{justify-self:start;width:100%;height:auto;display:flex;justify-content:center;gap:6px;padding:12px}.overview-card-actions{grid-template-columns:1fr}.overview-card-side{grid-template-columns:1fr 42px 42px}.overview-card h3{font-size:21px}.gb-main{padding-inline:12px}.gb-header h1{font-size:26px}}

/* Tournament wizard redesign v0.10 */
.tournament-wizard-shell{display:grid;gap:22px}.wizard-steps-redesign{background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px 22px;box-shadow:var(--shadow);display:flex;align-items:center}.wizard-steps-redesign .wizard-step{appearance:none;border:0;background:transparent;display:grid;grid-template-columns:42px auto;grid-template-rows:auto auto;column-gap:12px;text-align:left;padding:4px;min-width:145px;color:var(--muted);cursor:pointer}.wizard-steps-redesign .wizard-step:disabled{cursor:not-allowed;opacity:.45}.wizard-steps-redesign .wizard-step span{grid-row:1/3;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:2px solid #cbd5e1;background:#fff;font-weight:800}.wizard-steps-redesign .wizard-step strong{color:var(--ink);align-self:end}.wizard-steps-redesign .wizard-step small{font-size:12px}.wizard-steps-redesign .wizard-step.is-active span{background:var(--blue);border-color:var(--blue);color:#fff}.wizard-steps-redesign .wizard-step.is-complete span{background:#eaf8ef;border-color:#32a45f;color:#17713c}.wizard-steps-redesign .wizard-line{height:2px;background:#dce3ee;flex:1;min-width:24px;margin:0 10px}.wizard-panel-wide{padding:30px}.wizard-heading{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:22px}.wizard-heading h2,.wizard-ready-panel h2{margin:4px 0 8px}.wizard-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);margin-top:26px;padding-top:20px}.team-count-badge{min-width:118px;border:1px solid #f2c9a9;background:#fff6ed;border-radius:16px;padding:12px 16px;text-align:center}.team-count-badge strong{display:block;font-size:22px}.team-count-badge span{font-size:12px;color:var(--muted)}.team-count-badge.is-ok{background:#eaf8ef;border-color:#a7dfbb}.team-progress{height:8px;background:#eef2f7;border-radius:99px;overflow:hidden;margin-bottom:22px}.team-progress span{height:100%;display:block;background:var(--blue);transition:width .2s}.team-picker-toolbar{display:flex;gap:14px;justify-content:space-between;margin-bottom:18px}.team-picker-toolbar>input{max-width:340px}.new-team-inline{display:flex;gap:10px;flex:1;justify-content:flex-end}.new-team-inline input{max-width:310px}.team-catalog-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.team-catalog-item{display:grid;grid-template-columns:auto 44px 1fr auto;align-items:center;gap:10px;padding:14px;border:1px solid var(--line);border-radius:16px;cursor:pointer;background:#fff}.team-catalog-item:has(input:checked){border-color:var(--blue);box-shadow:0 0 0 2px rgba(0,26,112,.08)}.team-catalog-item input{width:18px;height:18px}.team-catalog-item small{color:var(--muted)}.team-avatar{width:40px;height:40px;border-radius:12px;background:#eef2ff;display:grid;place-items:center;font-weight:800;color:var(--blue)}.selected-team-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.selected-team-chips span{background:#eef2ff;color:var(--blue);border-radius:999px;padding:7px 11px;font-size:13px;font-weight:700}.wizard-ready-panel{text-align:center;padding:42px}.ready-icon{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;background:#eaf8ef;color:#17713c;font-size:34px;font-weight:900}.ready-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;text-align:left;margin:28px 0}.ready-summary-grid>div{border:1px solid var(--line);border-radius:18px;padding:18px;background:#fbfcfe}.ready-summary-grid small,.ready-summary-grid strong,.ready-summary-grid span{display:block}.ready-summary-grid strong{font-size:20px;margin:5px 0}.ready-summary-grid span{color:var(--muted);font-size:13px;line-height:1.5}.empty-state{grid-column:1/-1;border:1px dashed #cbd5e1;border-radius:16px;padding:26px;text-align:center;color:var(--muted)}
@media(max-width:900px){.wizard-steps-redesign{overflow-x:auto}.wizard-steps-redesign .wizard-step{min-width:125px}.wizard-steps-redesign .wizard-line{min-width:12px}.team-catalog-list,.ready-summary-grid{grid-template-columns:1fr 1fr}.team-picker-toolbar{flex-direction:column}.new-team-inline{justify-content:flex-start}.team-picker-toolbar>input,.new-team-inline input{max-width:none}}
@media(max-width:620px){.wizard-steps-redesign{padding:12px}.wizard-steps-redesign .wizard-step{min-width:58px;grid-template-columns:36px;grid-template-rows:36px auto}.wizard-steps-redesign .wizard-step span{grid-row:auto;width:36px;height:36px}.wizard-steps-redesign .wizard-step small{display:none}.wizard-steps-redesign .wizard-line{margin:0 4px}.wizard-heading{flex-direction:column}.team-catalog-list,.ready-summary-grid{grid-template-columns:1fr}.new-team-inline{flex-direction:column}.wizard-actions{align-items:stretch}.wizard-actions .btn{flex:1}}

/* Modul Týmy v0.11 */
.teams-admin-grid{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(520px,1.5fr);gap:22px;align-items:start}.compact-heading{margin-bottom:18px}.teams-list-panel,.team-detail-panel{min-height:520px}.admin-team-list{display:grid;gap:10px}.admin-team-card{width:100%;display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:16px;background:#fff;text-align:left;color:var(--ink);cursor:pointer}.admin-team-card:hover{border-color:var(--blue);box-shadow:0 8px 24px rgba(0,26,112,.08)}.admin-team-card span:nth-child(2){display:grid;gap:3px}.admin-team-card small,.assignment-row small{color:var(--muted)}.team-avatar{width:44px;height:44px;border-radius:14px;background:var(--soft);display:grid;place-items:center;font-weight:800;color:var(--blue)}.team-card-fields{margin-bottom:26px}.span-2{grid-column:span 2}.roster-heading{display:flex;justify-content:space-between;align-items:center;margin:24px 0 12px}.player-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px}.player-table{width:100%;border-collapse:collapse;min-width:560px}.player-table th,.player-table td{padding:10px;border-bottom:1px solid var(--line);text-align:left}.player-table th{font-size:12px;text-transform:uppercase;color:var(--muted);background:var(--soft)}.player-table tr:last-child td{border-bottom:0}.player-table input{width:100%;min-width:120px}.player-table .player-number{min-width:70px;max-width:90px}.icon-btn{border:0;background:transparent;font-size:24px;line-height:1;cursor:pointer;color:var(--muted)}.btn-danger-soft{background:#fff1f1;color:#a61b1b;border:1px solid #ffd6d6}.app-dialog{border:0;padding:0;border-radius:22px;box-shadow:0 24px 80px rgba(0,0,0,.25);width:min(620px,calc(100vw - 32px))}.app-dialog::backdrop{background:rgba(7,19,63,.45)}.dialog-card{padding:24px}.assignment-list{display:grid;gap:9px;max-height:420px;overflow:auto}.assignment-row{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:12px}.assignment-row span{display:grid;gap:3px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}@media(max-width:980px){.teams-admin-grid{grid-template-columns:1fr}.team-detail-panel{min-height:auto}}@media(max-width:640px){.span-2{grid-column:auto}.roster-heading{align-items:flex-start;gap:12px}.teams-select-grid{grid-template-columns:1fr}.section-heading{align-items:flex-start}}

/* Modul Týmy UX redesign v0.12 */
.teams-commandbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:20px}.teams-commandbar h2{margin:3px 0 6px;font-size:34px}.teams-commandbar p:last-child{margin:0}.teams-context-panel{display:grid;grid-template-columns:minmax(280px,1fr) 1.8fr;gap:28px;align-items:end;padding:20px 24px;margin-bottom:20px}.teams-tournament-control{display:grid;gap:8px}.teams-tournament-control label{font-weight:800;font-size:13px}.teams-tournament-control select{height:48px}.teams-context-metrics{display:grid;grid-template-columns:repeat(2,minmax(110px,.7fr)) minmax(210px,1.4fr);gap:12px}.teams-context-metrics>div{padding:4px 16px;border-left:1px solid var(--line);display:grid;gap:3px}.teams-context-metrics span{font-size:12px;color:var(--muted);font-weight:700}.teams-context-metrics strong{font-size:22px}.teams-progress-metric i{height:6px;border-radius:99px;background:#e8edf5;overflow:hidden;margin-top:5px}.teams-progress-metric b{display:block;height:100%;background:var(--blue);border-radius:99px}.teams-workspace-grid{display:grid;grid-template-columns:minmax(310px,.72fr) minmax(560px,1.55fr);gap:20px;align-items:start}.teams-directory-panel{padding:0;overflow:hidden;position:sticky;top:112px}.teams-directory-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:22px 22px 16px}.teams-directory-head h3{margin:4px 0 0;font-size:19px}.btn-compact{padding:9px 13px;border-radius:11px;font-size:13px}.teams-search{height:44px;display:flex;align-items:center;gap:9px;margin:0 16px 14px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:#f8fafc}.teams-search:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,26,112,.08);background:#fff}.teams-search span{font-size:22px;color:#64748b;line-height:1}.teams-search input{border:0;outline:0;background:transparent;width:100%;font:inherit;padding:0;color:var(--ink)}.teams-directory-list{display:grid;gap:3px;padding:0 10px 14px;max-height:calc(100vh - 325px);min-height:340px;overflow:auto}.team-directory-item{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) 20px;gap:12px;align-items:center;padding:11px 12px;border:1px solid transparent;border-radius:13px;background:transparent;text-align:left;color:var(--ink);cursor:pointer;transition:.16s ease}.team-directory-item:hover{background:#f6f8fc}.team-directory-item.is-selected{background:#eef4ff;border-color:#c9dafd}.team-directory-copy{display:grid;gap:3px;min-width:0}.team-directory-copy strong,.team-directory-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-directory-copy small{color:var(--muted)}.team-directory-chevron{font-size:25px;color:#94a3b8}.team-detail-panel{padding:0;overflow:hidden}.team-detail-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 26px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,#fbfdff,#fff)}.team-identity{display:flex;gap:15px;align-items:center}.team-identity h2{margin:2px 0 8px}.team-avatar-large{width:58px;height:58px;border-radius:17px;font-size:18px;background:#eaf1ff}.status-pill{display:inline-flex;border-radius:999px;padding:5px 9px;background:#f1f5f9;color:#475569;font-size:12px;font-weight:800}.status-pill.is-success{background:#eaf8ef;color:#17713c}.team-form-section{padding:24px 26px}.team-form-section+.team-form-section{border-top:1px solid var(--line)}.team-section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.team-section-title h3{margin:0 0 4px}.team-section-title p{margin:0}.roster-title-row{gap:16px}.team-card-fields{margin:0}.player-table-wrap{position:relative;border-radius:14px}.player-table th{letter-spacing:.04em}.player-table th,.player-table td{padding:9px 10px}.player-table input{height:40px;border-radius:10px;background:#fff}.player-table .number-column{width:92px}.player-table .action-column{width:52px}.player-table-wrap.is-empty table tbody{display:none}.roster-empty-state{display:grid;place-items:center;text-align:center;gap:5px;padding:32px 18px;color:var(--muted)}.roster-empty-state strong{color:var(--ink)}.team-savebar{justify-content:flex-end;padding:16px 26px;margin:0;border-top:1px solid var(--line);background:rgba(255,255,255,.96);z-index:2}.team-savebar .status{margin-right:auto}.compact-empty{padding:28px 16px;border:0}.empty-state-icon{width:48px;height:48px;border-radius:15px;background:#eef4ff;display:grid;place-items:center;margin:0 auto 10px;font-size:22px}.team-detail-empty{min-height:560px;display:grid;place-content:center;text-align:center;justify-items:center}.team-detail-empty .btn{margin-top:8px}.dialog-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.dialog-header h3{margin:4px 0}.dialog-header p:last-child{margin:0}.dialog-search{margin:18px 0 14px}.assignment-list{gap:6px}.assignment-row{display:grid;grid-template-columns:20px 42px minmax(0,1fr) 24px;gap:11px;padding:10px 12px;cursor:pointer}.assignment-row:hover{background:#f8fafc}.assignment-row input{width:17px;height:17px}.assignment-copy{display:grid;gap:2px;min-width:0}.assignment-copy strong,.assignment-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.assignment-check{opacity:0;color:var(--blue);font-weight:900}.assignment-row:has(input:checked){border-color:#bfd2ff;background:#f3f7ff}.assignment-row:has(input:checked) .assignment-check{opacity:1}.dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.dialog-footer .dialog-actions{margin:0}
@media(max-width:1050px){.teams-context-panel{grid-template-columns:1fr}.teams-context-metrics>div:first-child{border-left:0}.teams-workspace-grid{grid-template-columns:1fr}.teams-directory-panel{position:static}.teams-directory-list{max-height:420px}.team-detail-empty{min-height:360px}}
@media(max-width:700px){.teams-commandbar{align-items:stretch;flex-direction:column}.teams-commandbar .btn{width:100%}.teams-context-metrics{grid-template-columns:repeat(2,1fr)}.teams-progress-metric{grid-column:1/-1}.teams-context-metrics>div{border-left:0;padding:8px 4px}.team-detail-header{flex-direction:column}.team-detail-header .btn{width:100%}.team-form-section,.team-detail-header,.team-savebar{padding-left:18px;padding-right:18px}.team-savebar{align-items:stretch;flex-direction:column}.team-savebar .btn{width:100%}.dialog-footer{align-items:stretch;flex-direction:column}.dialog-footer .dialog-actions{width:100%}.dialog-footer .btn{flex:1}}

/* Teams list filter v0.12.3 */
.teams-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 16px}.teams-list-toolbar p{margin:0;text-align:right}.teams-view-switch{display:inline-flex;padding:4px;border:1px solid var(--line);border-radius:13px;background:#f5f7fb}.teams-view-option{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:9px;background:transparent;color:var(--muted);font:inherit;font-weight:800;padding:9px 13px;cursor:pointer}.teams-view-option:hover{color:var(--ink)}.teams-view-option.is-active{background:#fff;color:var(--blue);box-shadow:0 2px 9px rgba(7,19,63,.09)}.teams-view-option span{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:#e9edf5;color:inherit;font-size:12px}.teams-view-option.is-active span{background:#eaf1ff}@media(max-width:700px){.teams-list-toolbar{align-items:stretch;flex-direction:column}.teams-list-toolbar p{text-align:left}.teams-view-switch{display:grid;grid-template-columns:1fr 1fr}.teams-view-option{justify-content:center}}

/* Matches module v0.13.1 */
.matches-toolbar{padding:20px 22px;margin-bottom:18px}.matches-toolbar-main{display:flex;gap:18px;align-items:end;justify-content:space-between}.matches-tournament-field{min-width:min(430px,100%);margin:0}.matches-toolbar-actions{display:flex;gap:10px;flex-wrap:wrap}.matches-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.matches-kpi{padding:18px}.matches-kpi span,.matches-kpi small{display:block;color:var(--muted)}.matches-kpi strong{display:block;font-size:26px;margin:5px 0;color:var(--ink)}.matches-panel{padding:22px}.matches-panel-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:18px}.matches-panel-head h2{margin:4px 0}.matches-filters{display:flex;gap:10px;flex-wrap:wrap}.matches-filters input,.matches-filters select{min-width:160px}.matches-list{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}.match-row{display:grid;grid-template-columns:44px 90px minmax(240px,1.5fr) minmax(170px,1fr) 115px;gap:14px;align-items:center;padding:14px 16px;border-bottom:1px solid var(--line)}.match-row:last-child{border-bottom:0}.match-row:hover{background:var(--soft)}.match-order{width:32px;height:32px;border-radius:10px;background:var(--soft);display:grid;place-items:center;font-weight:800}.match-time strong,.match-time span,.match-meta strong,.match-meta span{display:block}.match-time span,.match-meta span{font-size:12px;color:var(--muted)}.match-teams{display:grid;grid-template-columns:1fr 20px 1fr;gap:8px;align-items:center}.match-teams strong:last-child{text-align:right}.match-teams span{text-align:center;color:var(--muted)}.match-status{justify-self:end;padding:6px 9px;border-radius:999px;background:#eef4ff;color:#1849a9;font-size:12px;font-weight:800}.matches-empty{text-align:center;padding:54px 24px}.matches-empty-icon{font-size:38px}.matches-empty h2{margin:10px 0 6px}@media(max-width:1050px){.matches-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.match-row{grid-template-columns:40px 72px minmax(220px,1fr) 130px}.match-meta{display:none}.matches-panel-head{align-items:stretch;flex-direction:column}}@media(max-width:720px){.matches-toolbar-main{align-items:stretch;flex-direction:column}.matches-toolbar-actions .btn{flex:1}.matches-kpis{grid-template-columns:1fr 1fr}.matches-filters{display:grid;grid-template-columns:1fr}.match-row{grid-template-columns:35px 62px 1fr;padding:12px 10px}.match-status{display:none}.match-teams{grid-template-columns:1fr;gap:2px}.match-teams span{display:none}.match-teams strong:last-child{text-align:left}.matches-kpi strong{font-size:21px}}

/* v0.13 – veřejný harmonogram */
body.public-mode{background:#eef4ff;min-height:100vh}
.public-schedule-root{min-height:100vh}
.public-schedule-page{width:min(980px,calc(100% - 32px));margin:0 auto;padding:28px 0 48px}
.public-schedule-hero{background:linear-gradient(135deg,#071b3b,#163d86);color:#fff;border-radius:28px;padding:30px 34px;box-shadow:0 20px 60px rgba(7,27,59,.18);margin-bottom:20px}
.public-schedule-hero h1{font-size:clamp(30px,5vw,50px);line-height:1.05;margin:10px 0}
.public-schedule-hero .eyebrow{color:#9fc1ff;margin-top:24px}
.public-brand{display:flex;align-items:center;gap:10px;letter-spacing:.04em}.public-brand-mark{display:grid;place-items:center;width:34px;height:34px;background:#13a05a;border-radius:50%}
.public-meta{opacity:.86;margin:0}
.public-schedule-card{background:#fff;border:1px solid #dce5f2;border-radius:24px;padding:26px;box-shadow:0 14px 45px rgba(20,44,85,.09)}
.public-schedule-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}.public-schedule-heading h2{margin:0 0 5px}
.public-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.public-filters select{width:100%;padding:12px 14px;border:1px solid #ced9e9;border-radius:12px;background:#fff;font:inherit}
.public-matches-list{display:grid;gap:10px}.public-match-row{display:grid;grid-template-columns:90px minmax(0,1fr) 180px;align-items:center;gap:18px;padding:15px 16px;border:1px solid #e0e7f1;border-radius:15px;background:#fbfcfe}.public-match-row[hidden]{display:none}
.public-match-time,.public-match-place{display:flex;flex-direction:column}.public-match-time span,.public-match-place span{font-size:12px;color:#68758a}.public-match-teams{display:grid;grid-template-columns:1fr 24px 1fr;align-items:center;text-align:center;gap:8px}.public-match-teams strong:first-child{text-align:right}.public-match-teams strong:last-child{text-align:left}
.public-empty,.public-loading,.public-error{text-align:center;padding:54px 28px}.public-error .public-brand,.public-loading .public-brand{justify-content:center;margin-bottom:20px}.public-error .btn{display:inline-flex;margin-top:16px}.public-footer{text-align:center;color:#667085;font-size:13px;padding:22px}
@media(max-width:700px){.public-schedule-page{width:min(100% - 20px,980px);padding-top:10px}.public-schedule-hero{border-radius:20px;padding:24px 22px}.public-schedule-card{border-radius:20px;padding:18px}.public-schedule-heading{align-items:flex-start}.public-filters{grid-template-columns:1fr}.public-match-row{grid-template-columns:66px 1fr;gap:12px}.public-match-place{grid-column:2}.public-match-teams{font-size:14px}.public-schedule-heading .btn{padding:10px 14px}}

/* Match report PoC v0.20 */
.modal-open{overflow:hidden}.match-result-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.match-status.finished{background:#ecfdf3;color:#067647}.btn-result{padding:9px 12px;font-size:12px}.match-report-backdrop{position:fixed;inset:0;z-index:1000;background:rgba(16,24,40,.58);display:grid;place-items:center;padding:20px;overflow:auto}.match-report-dialog{width:min(760px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:24px;box-shadow:0 28px 90px rgba(16,24,40,.28)}.match-report-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 26px 18px;border-bottom:1px solid var(--line)}.match-report-header h2{margin:4px 0 6px}.match-report-header p{margin-bottom:0}.match-report-close{width:40px;height:40px;border:0;border-radius:12px;background:var(--soft);font-size:28px;line-height:1;cursor:pointer;color:var(--muted)}.match-report-body{padding:24px 26px 28px}.match-report-step{display:flex;gap:12px;align-items:flex-start;margin-bottom:20px}.match-report-step>span{width:32px;height:32px;flex:0 0 32px;border-radius:10px;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:900}.match-report-step strong,.match-report-step small{display:block}.match-report-step small{margin-top:3px;color:var(--muted);line-height:1.45}.match-report-input textarea{min-height:260px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.5}.match-report-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.match-report-score-card{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:end;background:var(--soft);border:1px solid var(--line);border-radius:18px;padding:20px;margin-bottom:18px}.match-report-score-card label{display:grid;gap:8px;text-align:center;font-weight:900}.match-report-score-card input{width:100%;min-width:0;border:1px solid var(--border);border-radius:14px;padding:14px;text-align:center;font:900 28px/1 system-ui;background:#fff}.match-report-score-card>strong{font-size:28px;padding-bottom:14px}.match-report-checks{display:grid;gap:10px}.match-report-check{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start;border:1px solid var(--line);border-radius:14px;padding:12px 14px}.match-report-check>span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-weight:900}.match-report-check p{margin:1px 0 0}.match-report-check.ok{background:#f6fef9;border-color:#abefc6}.match-report-check.ok>span{background:#dcfae6;color:#067647}.match-report-check.warning{background:#fffaeb;border-color:#fedf89}.match-report-check.warning>span{background:#fef0c7;color:#b54708}.match-report-check.error{background:#fff5f6;border-color:#fecdca}.match-report-check.error>span{background:#fee4e2;color:#b42318}@media(max-width:1050px){.match-row{grid-template-columns:40px 72px minmax(220px,1fr) minmax(170px,1fr)}.match-result-actions{grid-column:1/-1;justify-content:flex-end}}@media(max-width:720px){.match-result-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr}.btn-result{width:100%}.match-report-backdrop{padding:8px}.match-report-dialog{max-height:calc(100vh - 16px);border-radius:18px}.match-report-header,.match-report-body{padding-left:18px;padding-right:18px}.match-report-score-card{gap:10px;padding:14px}.match-report-actions{display:grid;grid-template-columns:1fr}.match-report-actions .btn{width:100%}}

/* v0.21 Professional navigation redesign */
:root{--navy:#06235f;--navy-deep:#041b4b;--brand:#1558d6;--canvas:#f6f8fc;--line:#e4e9f2;--ink:#101828}
body{background:var(--canvas);color:var(--ink)}
.app-shell{max-width:none;margin:0;padding:0}
.gb-shell{grid-template-columns:286px minmax(0,1fr);background:var(--canvas)}
.gb-sidebar{padding:24px 16px 18px;background:linear-gradient(180deg,#062664 0%,#041e52 58%,#031941 100%);gap:20px;box-shadow:10px 0 35px rgba(5,31,81,.14)}
.gb-brand{display:flex;align-items:center;gap:12px;padding:0 10px 20px;border-bottom:1px solid rgba(255,255,255,.12);font-size:inherit}
.gb-brand-logo{width:54px;height:54px;border-radius:15px;object-fit:cover;box-shadow:0 10px 30px rgba(0,0,0,.24)}
.gb-brand div{display:grid}.gb-brand strong{font-size:24px;line-height:1.05;letter-spacing:-.02em}.gb-brand strong:after{display:none}.gb-brand span{margin-top:5px;color:rgba(255,255,255,.75);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.14em}
.gb-nav{gap:5px;overflow:auto}.gb-nav-caption{margin:8px 13px 5px;color:rgba(255,255,255,.45);font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.gb-nav-separator{height:1px;margin:12px 7px;background:rgba(255,255,255,.12)}
.gb-nav-item{min-height:50px;padding:12px 14px;border-radius:12px;color:rgba(255,255,255,.78)}.gb-nav-item:hover{background:rgba(255,255,255,.08);color:#fff}.gb-nav-item.is-active{background:linear-gradient(135deg,#1665e8,#0e4fc7);color:#fff;box-shadow:0 10px 26px rgba(0,62,173,.36)}.gb-nav-icon{width:24px!important;height:24px;display:grid;place-items:center}.gb-nav-icon svg,.gb-help svg,.gb-logout svg,.gb-notification svg{width:22px;height:22px}.gb-nav-item strong{font-size:15px}
.gb-sidebar-bottom{display:grid;gap:7px;margin-top:auto}.gb-help,.gb-logout{display:flex;align-items:center;gap:12px;width:100%;padding:11px 14px;border:0;border-radius:11px;background:transparent;color:rgba(255,255,255,.78);font:inherit;cursor:pointer;text-align:left}.gb-help:hover,.gb-logout:hover{background:rgba(255,255,255,.08);color:#fff}.gb-profile-card{display:grid;grid-template-columns:44px minmax(0,1fr);gap:11px;align-items:center;margin-top:9px;padding:12px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.07)}.gb-profile-card img,.gb-avatar-fallback{width:44px;height:44px;border-radius:50%;object-fit:cover}.gb-avatar-fallback{display:grid;place-items:center;background:#1765df;color:#fff;font-weight:900}.gb-profile-card div{min-width:0}.gb-profile-card strong,.gb-profile-card span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gb-profile-card strong{font-size:13px}.gb-profile-card span{margin-top:3px;color:rgba(255,255,255,.62);font-size:11px}
.gb-main{min-height:100vh;padding:0 30px 28px}.gb-header{min-height:94px;margin:0 -30px 28px;padding:0 30px;background:rgba(255,255,255,.92);border-bottom:1px solid var(--line);backdrop-filter:blur(14px)}.gb-header-copy{padding:16px 0}.gb-breadcrumb{margin:0 0 3px;color:#667085;font-size:11px;font-weight:800}.gb-breadcrumb span{padding:0 6px;color:#b0b8c6}.gb-header h1{margin:0;font-size:27px;letter-spacing:-.025em}.gb-header .muted{margin:3px 0 0;font-size:12px}.gb-header-actions{display:flex;align-items:center;gap:12px}.gb-notification{position:relative;width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--line);border-radius:12px;background:#fff;color:#344054;cursor:pointer}.gb-notification span{position:absolute;right:-4px;top:-5px;min-width:19px;height:19px;padding:0 5px;border:2px solid #fff;border-radius:999px;background:#1558d6;color:#fff;font-size:10px;font-weight:900;line-height:15px}.gb-user{padding:7px 10px;border:0;background:transparent;box-shadow:none}.gb-user img,.gb-user .gb-avatar-fallback{width:38px;height:38px}.gb-user strong{font-size:13px}.gb-user span{max-width:210px;font-size:11px;overflow:hidden;text-overflow:ellipsis}.gb-module-outlet{max-width:1500px}.gb-footer{display:flex;justify-content:space-between;gap:16px;max-width:1500px;margin:28px auto 0;padding-top:18px;border-top:1px solid var(--line);color:#667085;font-size:11px}
.panel,.overview-card,.matches-list,.wizard-steps-redesign,.app-dialog,.match-report-dialog{border-color:var(--line);box-shadow:0 8px 28px rgba(16,24,40,.055)}
.panel{border-radius:18px}.btn{border-radius:10px}.btn-primary{background:linear-gradient(135deg,#1765e8,#0f4dc3);box-shadow:0 7px 18px rgba(21,88,214,.18)}.btn-primary:hover{background:#0f4dc3}.btn-soft{background:#edf3ff;color:#1549a8}
@media(max-width:1000px){.gb-shell{grid-template-columns:1fr}.gb-sidebar{position:relative;height:auto;padding:14px}.gb-brand{padding-bottom:14px}.gb-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}.gb-nav-caption,.gb-nav-separator,.gb-sidebar-bottom{display:none}.gb-nav-item{justify-content:center}.gb-main{padding:0 16px 24px}.gb-header{margin:0 -16px 22px;padding:14px 16px;min-height:auto}.gb-header-copy{padding:0}.gb-user div{display:none}}
@media(max-width:680px){.gb-brand-logo{width:44px;height:44px}.gb-brand strong{font-size:20px}.gb-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.gb-nav-item{justify-content:flex-start}.gb-header-actions .gb-user{display:none}.gb-header h1{font-size:23px}.gb-footer{flex-direction:column}}

/* Tournament statistics module v0.24 */
.tournament-statistics-module{scroll-margin-top:24px;padding:24px}.statistics-heading{align-items:center;margin-bottom:20px}.statistics-heading h2{margin-bottom:5px}.statistics-heading .muted{margin:0}.statistics-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.statistics-kpi{display:flex;gap:13px;align-items:flex-start;min-height:118px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff}.statistics-kpi-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:50%;background:#edf3ff;font-size:20px}.statistics-kpi>div:last-child{min-width:0}.statistics-kpi span{display:block;color:#667085;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.statistics-kpi strong{display:block;margin-top:8px;font-size:22px;line-height:1.1;color:#101828;overflow-wrap:anywhere}.statistics-kpi p{margin:7px 0 0;color:#667085;font-size:12px}.statistics-toolbar{display:grid;grid-template-columns:220px minmax(240px,1fr) auto;gap:12px;align-items:end;padding:16px;background:#f8faff;border:1px solid var(--line);border-radius:16px 16px 0 0}.statistics-filter,.statistics-search{display:grid;gap:6px}.statistics-filter span,.statistics-search span{font-size:11px;font-weight:900;color:#667085;text-transform:uppercase;letter-spacing:.04em}.statistics-filter select,.statistics-search input{width:100%;height:42px;border:1px solid #d7deea;border-radius:10px;background:#fff;padding:0 12px;font:inherit}.statistics-switch{display:flex;justify-content:flex-end}.statistics-switch button{height:42px;padding:0 20px;border:0;border-radius:10px;background:#1765e8;color:#fff;font-weight:900}.statistics-table-wrap{overflow:auto;border-left:1px solid var(--line);border-right:1px solid var(--line)}.statistics-table{width:100%;min-width:880px;border-collapse:collapse;background:#fff}.statistics-table th{padding:12px 14px;background:#f8faff;border-bottom:1px solid var(--line);color:#667085;font-size:11px;text-align:left;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.statistics-table td{padding:13px 14px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:middle}.statistics-table tbody tr:hover{background:#fbfcff}.statistics-rank{width:44px;color:#667085;font-weight:900}.statistics-primary{color:#1558d6;font-size:18px!important;font-weight:900}.statistics-player{display:flex;align-items:center;gap:10px;min-width:180px}.statistics-avatar{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:50%;background:#edf3ff;color:#1558d6;font-size:11px;font-weight:900}.statistics-player strong,.statistics-player small{display:block}.statistics-player small{margin-top:2px;color:#667085}.statistics-na{color:#98a2b3}.statistics-footer{display:flex;justify-content:space-between;gap:18px;padding:13px 14px;border:1px solid var(--line);border-top:0;border-radius:0 0 16px 16px;background:#fff;font-size:12px}.statistics-empty{text-align:center;padding:36px 20px;border:1px dashed #cfd8e8;border-radius:16px;background:#fafcff}.statistics-empty-icon{font-size:34px}.statistics-empty h3{margin:10px 0 6px}.statistics-empty p{max-width:720px;margin:6px auto}.statistics-table tr[hidden]{display:none}
@media(max-width:1100px){.statistics-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.tournament-statistics-module{padding:18px}.statistics-kpi-grid{grid-template-columns:1fr}.statistics-toolbar{grid-template-columns:1fr}.statistics-switch{justify-content:stretch}.statistics-switch button{width:100%}.statistics-footer{flex-direction:column}.statistics-heading{align-items:flex-start}.statistics-heading .btn{width:100%;margin-top:10px}}

/* Gólblok v0.25: samostatná stránka statistik turnaje */
.tournament-statistics-page{display:grid;gap:16px}.statistics-page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:8px 2px 2px}.statistics-page-header h1{margin:4px 0 6px;font-size:34px;line-height:1.08}.statistics-page-meta{margin:0;color:#667085}.tournament-statistics-page .tournament-statistics-module{margin:0}.tournament-statistics-page .statistics-heading{padding-bottom:2px}.tournament-statistics-page .statistics-heading h2{font-size:24px}@media(max-width:720px){.statistics-page-header{align-items:flex-start;flex-direction:column}.statistics-page-header h1{font-size:28px}}

/* v0.27 – průběžná tabulka turnaje */
.standings-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:16px;background:#fff}
.standings-table{width:100%;border-collapse:collapse;min-width:700px}
.standings-table th,.standings-table td{padding:13px 14px;border-bottom:1px solid #eef1f5;text-align:center;white-space:nowrap}
.standings-table th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);background:#f8fbff}
.standings-table th:nth-child(2),.standings-table td:nth-child(2){text-align:left}
.standings-table tbody tr:last-child td{border-bottom:0}
.standings-table tbody tr:hover{background:#fbfdff}
.standings-rank{font-weight:950;color:var(--muted)}
.standings-points{font-weight:950;color:var(--blue);font-size:17px}

/* Cross table page v0.28 */
.section-heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.cross-table-page{display:grid;gap:16px}
.cross-table-page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:8px 2px 2px}
.cross-table-page-header h1{margin:4px 0 6px;font-size:34px;line-height:1.08}
.cross-table-meta{margin:0;color:#667085}
.cross-table-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cross-table-kpi{padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff;min-height:106px}
.cross-table-kpi span{display:block;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;color:#667085}
.cross-table-kpi strong{display:block;margin-top:8px;font-size:26px;line-height:1;color:#101828}
.cross-table-kpi p{margin:8px 0 0;font-size:12px;color:#667085}
.cross-table-panel{padding:0;overflow:hidden}
.cross-table-heading{padding:22px 24px 18px;margin:0;border-bottom:1px solid var(--line)}
.cross-table-heading h2{margin-bottom:5px}.cross-table-heading .muted{margin:0}
.cross-table-scroll{overflow:auto;max-width:100%}
.cross-table-grid{width:100%;border-collapse:separate;border-spacing:0;min-width:760px;background:#fff}
.cross-table-grid th,.cross-table-grid td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);height:64px;text-align:center;vertical-align:middle}
.cross-table-grid thead th{position:sticky;top:0;z-index:3;background:#f8fbff;padding:10px 12px;color:#475467;font-size:12px}
.cross-team-corner{left:0;z-index:5!important;min-width:210px;text-align:left!important}
.cross-team-name{position:sticky;left:0;z-index:2;min-width:210px;max-width:260px;background:#fff;text-align:left!important;padding:10px 14px!important}
.cross-table-grid tbody tr:hover .cross-team-name,.cross-table-grid tbody tr:hover td{background:#fbfdff}
.cross-team-name{display:flex;align-items:center;gap:10px}
.cross-team-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cross-team-code{display:inline-grid;place-items:center;min-width:36px;height:36px;padding:0 7px;border-radius:50%;background:#edf3ff;color:#1558d6;font-size:11px;font-weight:950;letter-spacing:.03em}
.cross-cell{min-width:76px;padding:5px 7px!important;font-weight:900;color:#101828}
.cross-played span{display:inline-block;padding:6px 7px;border-radius:8px;background:#f2f6ff;color:#163d91;white-space:nowrap}
.cross-played small{display:block;color:#98a2b3;line-height:12px}
.cross-unplayed{color:#98a2b3;font-weight:700}
.cross-diagonal{background:repeating-linear-gradient(45deg,#eef2f7,#eef2f7 8px,#f8fafc 8px,#f8fafc 16px)!important}
.cross-summary-head,.cross-summary-cell{min-width:58px;background:#fbfcfe!important;font-weight:900}
.cross-points{color:var(--blue);font-size:17px}
.cross-table-legend{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding:14px 18px;background:#f8fbff;color:#667085;font-size:12px}
.cross-table-legend span{display:flex;align-items:center;gap:8px}.cross-table-legend b{color:#344054}
.cross-legend-diagonal{width:18px;height:18px;border:1px solid var(--line);border-radius:4px;background:repeating-linear-gradient(45deg,#eef2f7,#eef2f7 4px,#f8fafc 4px,#f8fafc 8px)}
.cross-table-empty{text-align:center;padding:38px 20px}.cross-table-empty p{margin:6px 0 0}
@media(max-width:1100px){.cross-table-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.cross-table-page-header{align-items:flex-start;flex-direction:column}.cross-table-page-header h1{font-size:28px}.cross-table-kpis{grid-template-columns:1fr 1fr}.cross-team-corner,.cross-team-name{min-width:170px}.section-heading-actions{width:100%;justify-content:flex-start}.section-heading-actions .btn{flex:1}.cross-table-heading{padding:18px}.cross-table-legend{gap:12px}}

/* Player statistics standalone module v0.29 */
.player-statistics-page{display:grid;gap:18px}.player-statistics-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.player-statistics-header h2{margin:4px 0 6px;font-size:28px}.statistics-tournament-select{display:grid;gap:6px;min-width:280px}.statistics-tournament-select span{font-size:11px;font-weight:900;color:#667085;text-transform:uppercase;letter-spacing:.04em}.statistics-tournament-select select{height:46px;border:1px solid #d7deea;border-radius:12px;background:#fff;padding:0 14px;font:inherit;font-weight:750;color:#101828}.player-statistics-kpis{margin-bottom:0}.player-statistics-panel{padding:24px}.player-statistics-section-heading{margin-bottom:18px}.player-statistics-toolbar{grid-template-columns:minmax(260px,1fr) 220px 200px}.player-statistics-table{min-width:1040px}.player-statistics-table th:nth-child(n+5),.player-statistics-table td:nth-child(n+5){text-align:center}.player-stat-number{font-weight:900;color:#475467}.statistics-global-empty{text-align:center;padding:46px 24px}.statistics-global-empty h2{margin:12px 0 8px}@media(max-width:900px){.player-statistics-header{align-items:stretch;flex-direction:column}.statistics-tournament-select{min-width:0}.player-statistics-toolbar{grid-template-columns:1fr 1fr}}@media(max-width:650px){.player-statistics-panel{padding:18px}.player-statistics-toolbar{grid-template-columns:1fr}.player-statistics-header h2{font-size:24px}}
