/* CSM Web – vzhled inspirovaný CSM 22 (modrá, šestiúhelníky, velká písmena) */
:root {
  --bg1: #0a2f6b; --bg2: #1553b0; --panel: rgba(9, 45, 110, .78); --panel2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .14); --text: #fff; --muted: #a9c3ea; --accent: #ffe14d;
  --btn: #1e6ad6; --btn2: #2f7fe8; --btnText: #fff; --good: #3fd16b; --bad: #ff5a5a; --warn: #ffc93c;
  --pitch1: #1f9a2c; --pitch2: #1a8b27; --font: 'Titillium Web', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font); color: var(--text); font-size: 15px;
  background: radial-gradient(1200px 700px at 70% 0%, #2d6fd1 0%, transparent 60%), linear-gradient(160deg, var(--bg1), var(--bg2));
  background-color: var(--bg1); background-attachment: fixed;
  -webkit-tap-highlight-color: transparent;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cpath d='M30 2 L90 2 L118 52 L90 102 L30 102 L2 52 Z' fill='none' stroke='white' stroke-width='3'/%3E%3C/svg%3E");
  background-size: 120px 104px;
}
a { color: inherit; }
button { font-family: inherit; }
h1, h2, h3 { margin: 0; text-transform: uppercase; letter-spacing: .02em; font-weight: 600; }
h2 { font-size: 19px; margin-bottom: 10px; }
h3 { font-size: 15px; margin: 6px 0; color: var(--muted); }
.muted { color: var(--muted); }
.good { color: var(--good); } .bad { color: var(--bad); } .warn { color: var(--warn); }
.small { font-size: 12.5px; }
.right { text-align: right; } .center { text-align: center; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }
.hidden { display: none !important; }

/* ---------- Tlačítka ---------- */
.btn {
  background: var(--btn); color: var(--btnText); border: 0; border-top: 2px solid rgba(255, 255, 255, .35);
  padding: 9px 16px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
  cursor: pointer; min-height: 40px; box-shadow: 0 2px 0 rgba(0, 0, 0, .25);
}
.btn:hover { background: var(--btn2); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.white { background: #fff; color: #0d3f8f; }
.btn.big { padding: 12px 28px; font-size: 16px; }
.btn.sm { padding: 4px 10px; min-height: 30px; font-size: 12.5px; }
.btn.ghost { background: transparent; border: 1px solid var(--line); }
.seg { display: inline-flex; flex-wrap: wrap; }
.seg .btn { box-shadow: none; border-top: 0; margin: 0 1px 1px 0; min-width: 44px; }
.seg .btn.on { background: #fff; color: #0d3f8f; }

/* ---------- Rozvržení ---------- */
#app { position: relative; min-height: 100%; }
.top {
  display: flex; align-items: center; gap: 12px; padding: 8px 16px; background: rgba(4, 30, 80, .6);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(6px);
}
.top .crest { width: 40px; height: 40px; object-fit: contain; }
.top .team { font-weight: 700; text-transform: uppercase; font-size: 17px; line-height: 1.1; }
.top .meta { color: var(--muted); font-size: 13px; }
.top .cash { font-weight: 700; }
.layout { display: flex; min-height: calc(100vh - 57px); }
.nav { width: 190px; flex-shrink: 0; padding: 12px 0; background: rgba(4, 30, 80, .35); border-right: 1px solid var(--line); }
.nav a {
  display: flex; gap: 10px; align-items: center; padding: 10px 18px; text-decoration: none; text-transform: uppercase;
  font-weight: 600; font-size: 14px; color: #dbe7fb; cursor: pointer; border-left: 3px solid transparent;
}
.nav a:hover { background: rgba(255, 255, 255, .06); }
.nav a.on { background: rgba(255, 255, 255, .1); border-left-color: var(--accent); color: #fff; }
.nav .ico { width: 20px; text-align: center; }
.badge { background: var(--bad); color: #fff; border-radius: 10px; padding: 0 7px; font-size: 12px; margin-left: auto; }
main { flex: 1; padding: 16px; min-width: 0; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
.panel { background: var(--panel); border: 1px solid var(--line); padding: 14px 16px; min-width: 0; }
.panel + .panel { margin-top: 0; }
.stack > * + * { margin-top: 14px; }

@media (max-width: 860px) {
  .nav { position: fixed; bottom: 0; left: 0; right: 0; width: auto; display: flex; overflow-x: auto; padding: 0; z-index: 30; border: 0; border-top: 1px solid var(--line); background: rgba(4, 30, 80, .95); }
  .nav a { flex-direction: column; gap: 2px; padding: 8px 12px; font-size: 10.5px; border-left: 0; border-top: 3px solid transparent; white-space: nowrap; }
  .nav a.on { border-top-color: var(--accent); }
  .nav .badge { position: absolute; margin: 0; transform: translate(12px, -4px); }
  main { padding: 12px 12px 90px; }
  .grid, .grid.two { grid-template-columns: 1fr; }
  .top .meta.hide-m { display: none; }
}

/* ---------- Tabulky ---------- */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; text-transform: uppercase; padding: 4px 6px; border-bottom: 1px solid var(--line); }
td { padding: 5px 6px; border-bottom: 1px solid rgba(255, 255, 255, .06); white-space: nowrap; }
tr.me td { background: rgba(255, 225, 77, .14); color: var(--accent); font-weight: 700; }
tr.click { cursor: pointer; } tr.click:hover td { background: rgba(255, 255, 255, .06); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.scroll { overflow-x: auto; }
.zone-up td:first-child { box-shadow: inset 3px 0 var(--good); }
.zone-cup td:first-child { box-shadow: inset 3px 0 #4fc3ff; }
.zone-down td:first-child { box-shadow: inset 3px 0 var(--bad); }
.tname { display: inline-flex; align-items: center; gap: 6px; }
.logo { width: 20px; height: 20px; object-fit: contain; vertical-align: middle; }
.logo.lg { width: 50px; height: 50px; } .logo.xl { width: 90px; height: 90px; }
.flag { width: 21px; height: 14px; object-fit: cover; vertical-align: middle; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.form-pill { display: inline-block; width: 16px; height: 16px; line-height: 16px; text-align: center; font-size: 10px; font-weight: 700; margin-right: 1px; }
.form-pill.V { background: var(--good); } .form-pill.R { background: #8aa1c4; } .form-pill.P { background: var(--bad); }

/* ---------- Úvodní menu (šestiúhelníky) ---------- */
.menu { min-height: 100vh; display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 30px 16px; }
.logo-csm { text-align: left; }
.logo-csm .ball { font-size: 74px; font-weight: 800; line-height: .9; letter-spacing: -.02em; }
.logo-csm .ball span { color: var(--accent); }
.logo-csm .title { font-size: 40px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.hexes { display: grid; grid-template-columns: repeat(3, 150px); grid-auto-rows: 120px; gap: 6px 10px; }
.hex {
  width: 150px; height: 130px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: rgba(255, 255, 255, .13); display: flex; align-items: center; justify-content: center; text-transform: uppercase;
  font-weight: 600; font-size: 17px; cursor: pointer; text-align: center; padding: 10px; transition: background .15s;
}
.hex:hover { background: rgba(255, 255, 255, .28); }
.hex.off { opacity: .35; pointer-events: none; }
.hex:nth-child(2), .hex:nth-child(5) { transform: translateY(65px); }
@media (max-width: 560px) { .hexes { grid-template-columns: repeat(2, 140px); } .hex { width: 140px; } .hex:nth-child(2), .hex:nth-child(5) { transform: none; } .hex:nth-child(even) { transform: translateY(60px); } }

/* ---------- Karty výběru ---------- */
.cards { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.card { background: var(--panel2); border: 1px solid var(--line); padding: 10px; cursor: pointer; display: flex; gap: 10px; align-items: center; }
.card:hover, .card.on { background: rgba(255, 255, 255, .16); }
.card .t { font-weight: 600; } .card .s { color: var(--muted); font-size: 12.5px; }

/* ---------- Hřiště ---------- */
.pitch {
  position: relative; width: 100%; aspect-ratio: 68 / 80; max-height: 640px;
  background: repeating-linear-gradient(0deg, var(--pitch1) 0 10%, var(--pitch2) 10% 20%);
  border: 2px solid rgba(255, 255, 255, .6); overflow: hidden;
}
.pitch::before { content: ''; position: absolute; left: 30%; right: 30%; bottom: 0; height: 15%; border: 2px solid rgba(255, 255, 255, .55); border-bottom: 0; }
.pitch::after { content: ''; position: absolute; left: 20%; right: 20%; top: -12%; height: 24%; border: 2px solid rgba(255, 255, 255, .55); border-radius: 50%; }
.slot { position: absolute; transform: translate(-50%, -50%); width: 86px; text-align: center; cursor: pointer; z-index: 2; }
.shirt { width: 44px; height: 44px; margin: 0 auto; position: relative; display: flex; align-items: center; justify-content: center; }
.shirt img { width: 44px; height: 44px; object-fit: contain; position: absolute; inset: 0; }
.shirt .no { position: relative; font-weight: 800; font-size: 16px; color: #fff; text-shadow: 0 0 3px #000, 0 0 2px #000; }
.shirt.gk img { filter: grayscale(1) brightness(.35); }
.shirt .fallback { width: 38px; height: 38px; border-radius: 6px 6px 10px 10px; background: var(--c, #c33); position: absolute; left: 3px; top: 3px; }
.slot .nm { font-size: 12px; font-weight: 700; text-shadow: 0 1px 2px #000; line-height: 1.1; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot .sk { font-size: 11px; display: flex; justify-content: center; gap: 3px; align-items: center; text-shadow: 0 1px 2px #000; }
.slot.sel .shirt { outline: 3px solid var(--accent); border-radius: 6px; }
.slot.bad .nm { color: var(--bad); }
.en { display: inline-block; font-size: 10px; padding: 0 3px; background: var(--good); color: #052; font-weight: 700; min-width: 24px; }
.en.mid { background: var(--warn); } .en.low { background: var(--bad); color: #fff; }
.fm { font-size: 11px; font-weight: 800; }
.fm.f0 { color: #ff4040; } .fm.f1 { color: #ff9b40; } .fm.f2 { color: #fff; } .fm.f3 { color: #8cff7a; } .fm.f4 { color: #2dff4f; }
.bench { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; margin-top: 10px; }
.bench .slot { position: relative; transform: none; width: auto; }
.cap-badge { position: absolute; left: 8px; top: -2px; background: #fff; color: #000; border-radius: 50%; width: 16px; height: 16px; font-size: 11px; font-weight: 800; line-height: 16px; z-index: 3; }

/* ---------- Zápas ---------- */
.mhead { display: flex; align-items: center; gap: 14px; justify-content: center; text-transform: uppercase; font-weight: 700; flex-wrap: wrap; }
.mhead .score { font-size: 40px; font-weight: 800; min-width: 110px; text-align: center; background: rgba(0, 0, 0, .25); padding: 2px 14px; }
.mhead .min { color: var(--accent); font-size: 18px; }
.field { position: relative; width: 100%; aspect-ratio: 105 / 68; background: repeating-linear-gradient(90deg, var(--pitch1) 0 9.09%, var(--pitch2) 9.09% 18.18%); border: 2px solid rgba(255, 255, 255, .6); overflow: hidden; }
.field .ln { position: absolute; border: 2px solid rgba(255, 255, 255, .55); }
.field .dot { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; transition: left .35s, top .35s, opacity .3s; box-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.field .dot.out { opacity: .15; }
.field .ball { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 4px #000; transition: left .45s ease-out, top .45s ease-out; z-index: 5; }
.field .ball.arc { transition: left .6s cubic-bezier(.3, .0, .3, 1), top .6s cubic-bezier(.4, -0.6, .4, 1); }
.field .tag { position: absolute; transform: translate(-50%, -150%); font-size: 11px; font-weight: 700; background: rgba(0, 0, 0, .55); padding: 0 4px; white-space: nowrap; z-index: 6; pointer-events: none; }
.flash { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 46px; font-weight: 800; text-transform: uppercase; text-shadow: 0 2px 10px #000; pointer-events: none; z-index: 8; animation: flash 1.6s ease-out forwards; }
@keyframes flash { 0% { opacity: 0; transform: scale(.6); } 15% { opacity: 1; transform: scale(1.1); } 80% { opacity: 1; } 100% { opacity: 0; } }
.feed { max-height: 280px; overflow-y: auto; font-size: 14px; }
.feed div { padding: 3px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.feed .m { display: inline-block; width: 34px; color: var(--accent); font-weight: 700; }
.feed .goal { font-weight: 700; color: var(--accent); }
.bar { height: 16px; background: rgba(255, 255, 255, .12); position: relative; margin: 2px 0 8px; }
.bar > i { position: absolute; left: 0; top: 0; bottom: 0; background: #2f8bff; }
.bar > span { position: absolute; right: 4px; top: -1px; font-size: 12px; }
.statrow { display: grid; grid-template-columns: 50px 1fr 50px; gap: 8px; align-items: center; font-size: 14px; }
.statrow .c { text-align: center; color: var(--muted); font-size: 12.5px; text-transform: uppercase; }

/* ---------- Modální okno ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(0, 10, 30, .65); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { background: linear-gradient(160deg, #0e3f8f, #0b2f6c); border: 1px solid var(--line); max-width: 760px; width: 100%; max-height: 92vh; overflow: auto; padding: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.modal .x { float: right; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #fff; color: #0d3f8f; padding: 10px 18px; font-weight: 700; z-index: 60; box-shadow: 0 6px 20px rgba(0,0,0,.4); max-width: 90vw; }
@media (max-width: 860px) { .toast { bottom: 84px; } }
.loader { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; background: rgba(5, 25, 60, .82); z-index: 70; font-size: 18px; text-transform: uppercase; }
.spin { width: 44px; height: 44px; border: 4px solid rgba(255, 255, 255, .2); border-top-color: #fff; border-radius: 50%; animation: sp 0.8s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
input, select { font-family: inherit; font-size: 14px; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid var(--line); padding: 8px 10px; min-height: 38px; }
select option { background: #0b2f6c; }
input::placeholder { color: #9db6dc; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 14px; }
.kv > :nth-child(odd) { color: var(--muted); }
.kv > :nth-child(even) { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.tabs { display: flex; flex-wrap: wrap; gap: 1px; margin-bottom: 10px; }
.tabs .btn { box-shadow: none; border-top: 0; }
.tabs .btn.on { background: #fff; color: #0d3f8f; }
.grade { font-weight: 700; } .g0 { color: #ff4a4a; } .g1 { color: #ff8a4a; } .g2 { color: #fff; } .g3 { color: #8cff7a; } .g4 { color: #2dff4f; }
.nextmatch { display: flex; align-items: center; justify-content: space-around; gap: 10px; text-align: center; }
.nextmatch .vs { font-size: 22px; font-weight: 800; color: var(--muted); }

/* ---------- Zrychlená hra (jako v originálu) ---------- */
.ff-bg { position: fixed; inset: 0; z-index: 65; background: rgba(4, 22, 56, .55); display: flex; align-items: flex-start; justify-content: center; padding: 70px 12px 12px; backdrop-filter: blur(2px); }
.ff { width: 100%; max-width: 720px; background: linear-gradient(160deg, #0e3f8f, #0a2f6b); border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0, 0, 0, .55); }
.ff-bar { background: linear-gradient(180deg, #2a78e0, #1452b4); padding: 10px 16px; font-weight: 700; text-align: center; border-bottom: 2px solid rgba(255, 255, 255, .35); }
.ff-bar span { color: var(--accent); }
.ff-date { text-align: center; font-size: 20px; font-weight: 700; text-transform: uppercase; padding: 10px 0 2px; }
.ff-body { padding: 0 14px 6px; min-height: 120px; max-height: 60vh; overflow-y: auto; }
.ff-comp { display: flex; justify-content: space-between; text-transform: uppercase; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--line); margin: 10px 0 4px; padding-bottom: 3px; font-size: 14px; }
.ff-min { color: var(--accent); }
.ff-tab td { padding: 3px 4px; border: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.ff-tab td.c { width: 26px; text-align: center; }
.ff-tab .ff-sc { width: 86px; text-align: center; font-weight: 800; font-size: 16px; background: rgba(0, 0, 0, .22); }
.ff-tab tr.me td { color: var(--accent); }
.ff-ctl { justify-content: space-between; padding: 10px 14px 14px; }
.flash-g { animation: fg .8s ease-out; }
@keyframes fg { 0% { background: var(--accent); color: #0a2f6b; } 100% { background: rgba(0, 0, 0, .22); } }
@media (max-width: 560px) { .ff-tab td { max-width: 110px; font-size: 13px; } .ff-bg { padding-top: 10px; } }

/* ---------- Plocha 1280×720 jako v originálu ---------- */
.stage-wrap { position: fixed; inset: 0; background: #000; overflow: hidden; }
.stage { position: absolute; left: 50%; top: 50%; width: 1280px; height: 720px; transform: translate(-50%, -50%) scale(var(--s, 1)); background-size: 1280px 720px; font-family: var(--font); color: #fff; user-select: none; }
.st-abs, .st-lbl { position: absolute; }
.st-lbl { line-height: 1.25; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.st-link { cursor: pointer; text-decoration: none; color: #fff; }
.st-link:hover { color: var(--accent); }
.st-hex { position: absolute; cursor: pointer; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.st-hex img { width: 100%; height: 100%; opacity: 0; transition: opacity .12s; }
.st-hex:hover img { opacity: 1; }
.st-hex-txt { display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .16); font-size: 24px; color: #fff; }
.st-hex-txt:hover { background: #fff; color: #1452b4; }
.st-btn { position: absolute; background: #0058B4; color: #fff; border: 0; font-family: inherit; font-size: 16px; font-weight: 600; text-transform: uppercase; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.st-btn:hover { background: #fff; color: #0058B4; }
.st-cont, .st-ff, .st-cup { cursor: pointer; }
.st-cont:hover, .st-ff:hover { filter: brightness(1.12); }
.st-search { background: #003C7A; color: #fff; border: 0; font-size: 15px; padding: 2px 8px; min-height: 0; }
.st-news { cursor: pointer; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.st-news:hover { color: var(--accent); }
.st-hot b { color: var(--accent); }
.st-bar { position: absolute; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .35); }
.st-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(180deg, #4fa3ff, #1d6fe0); }
.st-bar span { position: absolute; inset: 0; text-align: center; font-size: 13px; line-height: 21px; }
.st-row { position: absolute; display: grid; grid-template-columns: 1fr 50px 150px 50px 1fr; gap: 12px; align-items: center; font-size: 19px; }
.st-row img { width: 46px; height: 46px; object-fit: contain; }
.st-row .st-rn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-row .right { text-align: right; }
.st-row.mine .st-rn { color: var(--accent); font-weight: 700; }
.st-mid { text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px; flex-direction: column; }
.st-mid span { font-size: 18px; color: #cfe0ff; }
.st-mid small { font-size: 12px; color: #cfe0ff; }
.st-score { font-weight: 800; font-size: 24px !important; color: #fff !important; background: rgba(0, 0, 0, .25); padding: 0 12px; }
.st-tv { width: 22px; height: 22px; cursor: pointer; }
.st-msg-bg { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; background: rgba(0, 10, 30, .45); }
.st-msg { position: relative; width: 480px; max-width: 94vw; min-height: 235px; background: url(../gfx/dialog.jpg) center/cover, #0f4a99; border: 1px solid rgba(255, 255, 255, .5); box-shadow: 0 16px 50px rgba(0, 0, 0, .6); padding: 40px 30px 70px 87px; font-size: 16px; color: #fff; }
.st-msg-ico { position: absolute; left: 22px; top: 40px; width: 48px; }
.st-msg-btns { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 20px; }
.st-msg-btns .st-btn { position: static; width: 120px; height: 38px; }

/* Obsah běžných obrazovek uvnitř plochy 1280×720 */
.st-content { position: absolute; left: 30px; top: 84px; width: 1220px; height: 566px; overflow-y: auto; overflow-x: hidden; padding: 4px 6px; font-size: 15px; }
.st-content main { padding: 0 !important; max-width: none !important; margin: 0 !important; }
.st-content .grid { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)) !important; }
.st-content .grid.two { grid-template-columns: repeat(auto-fit, minmax(480px, 1fr)) !important; }
.st-content .panel { background: rgba(4, 30, 85, .55); border: 1px solid rgba(255, 255, 255, .12); }
.st-content::-webkit-scrollbar { width: 10px; } .st-content::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .3); }
.st-content .btn { background: #0058B4; border-top: 0; box-shadow: none; }
.st-content .btn:hover { background: #fff; color: #0058B4; }
.st-content .btn.on, .st-content .seg .btn.on { background: #fff; color: #0058B4; }
.st-content .pitch { max-height: 470px; aspect-ratio: auto; height: 470px; }
.st-content .row > h2:only-child, .st-content main > .row:first-child > h2 { display: none; }
.st-sub { font-size: 14px !important; }
.st-sub.on { background: #fff !important; color: #0058B4 !important; }
.stage .toast { bottom: 24px; }
.st-field { position: absolute !important; background: none !important; border: 0 !important; aspect-ratio: auto !important; }
.st-feed { position: absolute; overflow-y: auto; font-size: 12.5px; max-height: none; }
.st-feed div { padding: 2px 0; }
.st-feed .m { width: 28px; }
.st-subs { position: absolute; overflow-y: auto; font-size: 13px; }
.st-pl { display: flex; gap: 4px; padding: 3px 4px; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,.08); white-space: nowrap; }
.st-pl:hover, .st-pl.sel { background: rgba(255, 225, 77, .25); }
.st-pl .r { margin-left: auto; color: #cfe0ff; }
.st-btn.on { background: #fff; color: #0058B4; }
.st-summary { position: absolute; overflow-y: auto; background: rgba(4, 25, 70, .88); padding: 14px; }
.st-summary .panel { background: transparent; border: 0; padding: 4px 8px; }
.field .dot { width: 30px; height: 30px; margin: -15px 0 0 -15px; font-size: 13px; border: 2px solid rgba(255,255,255,.6); }
.field .ball { width: 14px; height: 14px; margin: -7px 0 0 -7px; }

/* Animace zápasu jako v originálu: přiblížené hřiště, kamera, dresy, jmenovka */
.mpitch { position: absolute; left: 0; top: 0; width: 1180px; height: 815px; background: url(../gfx/travnik_zapas.jpg) 0 0 / 100% 100%; transition: transform .55s ease-out; }
.mpl { position: absolute; width: 60px; height: 60px; transform: translate(-50%, -50%); transition: left .45s, top .45s; z-index: 2; }
.mpl img { position: absolute; inset: 0; width: 60px; height: 60px; }
.mpl .mfb { position: absolute; left: 10px; top: 8px; width: 40px; height: 46px; border-radius: 8px 8px 4px 4px; }
.mpl .no { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; color: #fff; text-shadow: 0 0 3px #000, 0 0 2px #000; padding-top: 4px; }
.mnet { position: absolute; width: 20px; height: 61px; transform: translate(0, -50%); }
.mnet.r { transform: translate(-100%, -50%) scaleX(-1); }
.mpitch .mball { width: 20px; height: 20px; margin: -10px 0 0 -10px; background: none; box-shadow: none; border-radius: 0; z-index: 5; }
.mpitch .mball img { width: 20px; height: 20px; display: block; }
.mname { position: absolute; transform: translateX(-50%); background: #000; color: #fff; font-weight: 700; font-size: 14px; padding: 1px 6px; white-space: nowrap; z-index: 6; letter-spacing: .02em; }
.mbanner { position: absolute; left: 24px; bottom: 22px; display: flex; align-items: center; z-index: 9; animation: flash 2.4s ease-out forwards; }
.mbanner img { width: 86px; height: 86px; position: relative; z-index: 2; filter: drop-shadow(0 3px 6px rgba(0,0,0,.5)); }
.mbanner span { background: #0d3f8f; color: #fff; font-size: 24px; padding: 6px 26px 6px 40px; margin-left: -34px; box-shadow: 0 3px 10px rgba(0,0,0,.4); }
