:root{--pine:#12382d;--deep:#0c2723;--lime:#a4e46b;--lime-dark:#76b83b;--ink:#203a30;--muted:#708278;--paper:#f4f7f4;--border:#dfebe0;--white:#fff;--shadow:0 10px 30px rgba(17,55,35,.06);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-size:14px;min-width:290px}button,input{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #51aa6c;outline-offset:3px}[hidden]{display:none!important}.shell{max-width:620px;margin:0 auto;padding:0 20px 115px}.top{height:83px;display:flex;align-items:center;justify-content:space-between;gap:12px}.identity{display:flex;align-items:center;gap:10px}.identity img{border-radius:13px;box-shadow:0 4px 14px #183d2620}.identity span{display:flex;flex-direction:column;gap:2px}.identity strong{font-size:16px;font-weight:900;letter-spacing:.065em}.identity small{color:var(--muted);font-size:10px;font-weight:900;letter-spacing:.17em}.install{display:flex;align-items:center;gap:7px;border:1px solid #b7d3b8;background:#e8f5e4;color:#255537;font-size:12px;font-weight:850;padding:11px 13px;border-radius:50px;white-space:nowrap}.install>span{font-size:20px;line-height:12px}.connection,.error{margin:0 0 13px;padding:13px 15px;background:#fff2d9;border:1px solid #edcf82;border-radius:11px;color:#6e4d04;font-size:12px}.error{background:#ffeded;color:#9c2929;border-color:#efb7b7}
.intro{min-height:214px;border-radius:22px;background:linear-gradient(124deg,#0c2924 0%,#1a4534 70%,#244f36 100%);color:#fff;position:relative;overflow:hidden;padding:25px 25px 24px}.intro .eyebrow{color:#b4e9a0}.eyebrow{font-size:10px;font-weight:900;letter-spacing:.15em;color:#5c9b4c;text-transform:uppercase;display:flex;align-items:center;gap:7px}.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 4px #b5e68a20}.intro h1{font-size:clamp(28px,8vw,43px);line-height:1.05;letter-spacing:-.05em;margin:15px 0 12px;max-width:330px;position:relative;z-index:1}.intro h1 em{font-style:normal;color:var(--lime)}.intro p{font-size:12px;line-height:1.65;color:#d3e7dc;max-width:310px;position:relative;z-index:1;margin:0}.updated{font-size:10px;color:#a9c8b7;position:relative;z-index:1;margin-top:19px}.dart-circles{position:absolute;width:250px;height:250px;right:-99px;top:-31px;border:2px solid #90cd8641;border-radius:50%;pointer-events:none}.dart-circles i{display:block;position:absolute;border-radius:50%;border:2px solid #90cd863b}.dart-circles i:nth-child(1){inset:20px}.dart-circles i:nth-child(2){inset:58px}.dart-circles i:nth-child(3){inset:97px;background:#b4f17b5a}
.player-select{width:100%;display:flex;align-items:center;gap:13px;padding:15px;margin-top:15px;border:1px solid #cee0ce;background:#fff;border-radius:16px;box-shadow:var(--shadow);text-align:left;min-height:88px}.avatar{width:52px;height:52px;flex:none;background:#d8f0ce;color:#275b3b;border-radius:15px;display:grid;place-items:center;font-size:19px;font-weight:900}.player-select-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.player-select-copy small{font-size:10px;letter-spacing:.12em;font-weight:850;color:#59924d}.player-select-copy strong{font-size:17px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-select-copy>span{color:var(--muted);font-size:11px}.select-chevron{font-size:28px;color:#8da89b;flex:none}.empty-panel{border:1px dashed #c9dccb;border-radius:15px;padding:18px;background:#fff;font-size:13px;line-height:1.65;color:#6f8477;margin-top:15px}
.section-title{display:flex;justify-content:space-between;align-items:center;margin:26px 0 12px;gap:12px}.section-title h2{margin:0;font-size:18px;letter-spacing:-.035em}.tiny-pill{padding:7px 9px;border-radius:50px;font-size:10px;font-weight:750;color:#4c793e;background:#e2f3d8;white-space:nowrap}.tiny-pill.good{background:#d4efd1;color:#316c28}.text-action{background:none;border:0;padding:7px 0;color:#3b7c45;font-weight:850;font-size:11px}.stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat{padding:17px;border:1px solid var(--border);border-radius:15px;background:#fff;box-shadow:var(--shadow);min-height:120px;display:flex;flex-direction:column;justify-content:center;gap:7px}.stat.major{background:#e8f5e6;border-color:#d2e8cd}.stat small{font-size:11px;color:var(--muted)}.stat strong{font-size:28px;letter-spacing:-.06em;font-weight:900;line-height:1}.stat span{font-size:10px;color:#789083}.progress-card{margin-top:14px;background:var(--pine);color:#f5fff5;border-radius:18px;padding:19px}.progress-head,.progress-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.progress-head{margin-bottom:18px}.progress-head h3{font-size:15px;margin:0}.progress-head span{color:#c0e6b5;background:#2c5e41;padding:7px 9px;border-radius:50px;font-size:10px;font-weight:750}.progress-meta{font-size:11px;color:#c8decf;margin:13px 0 8px}.progress-meta b{color:#fff;font-size:11px}.track{height:7px;background:#355f4a;border-radius:50px;overflow:hidden}.fill{background:linear-gradient(90deg,#70c3bb,var(--lime));height:100%;border-radius:50px;width:0;transition:width .4s}.muted{color:var(--muted)}.tiny{font-size:10px}.progress-card .muted{color:#a8c6b4;line-height:1.6;margin:15px 0 0}.split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.score-card{border:1px solid var(--border);background:#fff;border-radius:15px;padding:16px;display:flex;flex-direction:column;gap:8px}.score-card>span{font-size:10px;color:#6c9472;font-weight:850;letter-spacing:.05em}.score-card strong{font-size:24px;letter-spacing:-.04em}.score-card small{font-size:11px;color:var(--muted)}.rewards{border:1px solid #dce9d9;background:#fff;border-radius:16px;padding:16px;margin-top:13px}.rewards h3{font-size:14px;margin:0 0 12px}.reward-row{display:flex;align-items:center;justify-content:space-between;padding:9px 0;border-top:1px solid #eef3ed;gap:10px;font-size:11px}.reward-row b{white-space:nowrap}.reward-foot{color:#839384;line-height:1.55;font-size:10px;margin-top:9px}
.result-list{background:#fff;border:1px solid var(--border);border-radius:15px;overflow:hidden;box-shadow:var(--shadow)}.result{display:flex;align-items:center;gap:12px;padding:13px 15px;border-bottom:1px solid #edf2ec}.result:last-child{border-bottom:0}.place-badge{width:41px;height:42px;background:#e5f5dc;display:grid;place-items:center;border-radius:10px;color:#376e33;font-size:13px;font-weight:900;flex:none}.result-info{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.result-info b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.result-info small{font-size:10px;color:var(--muted)}.result-points{text-align:right;font-weight:900;color:#367b3f;white-space:nowrap}.result-points small{font-size:9px;display:block;font-weight:550;color:#97a899}.calendar-cta{display:flex;align-items:center;gap:12px;background:#def0d8;border:1px solid #cae5c4;border-radius:17px;padding:17px;margin-top:24px}.calendar-cta .calendar-ico{display:grid;place-items:center;width:41px;height:41px;border-radius:12px;background:#bde4ae;font-size:23px;color:#295c35}.calendar-cta>span:nth-child(2){display:flex;flex-direction:column;flex:1;gap:5px}.calendar-cta strong{font-size:13px}.calendar-cta small{font-size:10px;color:#628267}.calendar-cta>b{font-size:20px}
.page-head{margin:16px 0 21px}.page-head h1{font-size:34px;letter-spacing:-.055em;margin:9px 0 7px}.page-head p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.segments{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;border:1px solid #e0ebe0;border-radius:13px;background:#eaf1ea;padding:5px;margin-bottom:14px}.segments button{border:0;background:transparent;border-radius:9px;padding:11px 4px;font-size:11px;color:#617b6b;font-weight:850}.segments button.active{background:var(--pine);color:#fff;box-shadow:0 3px 10px #173f281a}.search-field{height:46px;border:1px solid #d6e3d6;background:#fff;border-radius:12px;display:flex;align-items:center;padding:0 12px;gap:7px;margin-bottom:15px}.search-field span{font-size:24px;color:#8ba493}.search-field input{min-width:0;width:100%;border:0;background:none;outline:0;color:var(--ink);font-size:12px}.leaderboard{background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden}.leader{width:100%;border:0;background:#fff;text-align:left;display:flex;align-items:center;gap:12px;padding:13px 14px;border-bottom:1px solid #eef3ee}.leader:last-child{border-bottom:0}.leader.mine{background:#e9f8e3}.leader-rank{width:27px;color:#829689;font-size:12px;font-weight:900;text-align:center}.leader-rank.medal{height:29px;display:grid;place-items:center;background:#f8ecce;border-radius:9px;color:#916a16}.leader-name{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.leader-name strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leader-name small{color:#879c8d;font-size:10px}.leader-points{text-align:right;display:flex;flex-direction:column;gap:3px}.leader-points strong{font-size:14px}.leader-points small{font-size:9px;color:#8a9b8f}.history-identity{margin:10px 0 15px;font-size:13px;color:#668273}.history-identity button{border:0;background:none;color:#367a44;text-decoration:underline;font-weight:750;padding:0}.outline-link{display:block;margin:18px 0;border:1px solid #b7d9bb;color:#32663d;padding:14px;border-radius:13px;text-align:center;font-size:12px;font-weight:800}.venues-list{display:grid;gap:11px}.venue-row{display:flex;align-items:center;gap:13px;background:#fff;border-radius:15px;border:1px solid var(--border);padding:15px}.venue-icon{flex:none;width:41px;height:41px;border-radius:12px;background:#e4f4dd;display:grid;place-items:center;color:#347c43;font-size:19px;font-weight:900}.venue-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.venue-body strong{font-size:13px}.venue-body small{font-size:11px;color:var(--muted)}.venue-numbers{text-align:right;display:flex;flex-direction:column;gap:5px}.venue-numbers strong{font-size:17px}.venue-numbers small{font-size:10px;color:var(--muted)}.site-footer{margin:29px 0 12px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:10px;color:#91a49a}.site-footer a{text-decoration:underline}
.bottom-nav{position:fixed;z-index:50;bottom:0;left:0;right:0;display:flex;justify-content:space-evenly;background:#fff;border-top:1px solid #e1eae0;box-shadow:0 -7px 26px #142d1a10;padding:8px max(15px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(15px,env(safe-area-inset-left));height:calc(69px + env(safe-area-inset-bottom))}.bottom-nav button{border:0;background:transparent;color:#91a196;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;font-weight:850}.bottom-nav button.active{color:#25693a}.bottom-nav .navicon{font-family:Arial,sans-serif;font-size:24px;line-height:1.25}.bottom-nav button.active .navicon{color:#54ac58}
dialog{border:0;padding:0;color:var(--ink);box-shadow:0 15px 80px #0004}dialog::backdrop{background:#09201c9c;backdrop-filter:blur(4px)}.picker{width:min(100%,620px);max-width:none;max-height:88dvh;margin:auto 0 0;border-radius:23px 23px 0 0;padding:19px 18px 0;overflow:hidden}.picker-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.picker-head h2{font-size:22px;margin:7px 0 0}.close{border:0;background:#edf3ed;border-radius:11px;width:39px;height:39px;color:#416351}.picker .search-field{margin-bottom:5px}.picker-list{overflow:auto;max-height:calc(88dvh - 210px);scrollbar-width:thin;padding-bottom:10px}.pick-row{background:none;border:0;border-bottom:1px solid #eef3ed;display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:13px 7px}.pick-row:last-child{border-bottom:0}.pick-row .small-avatar{width:39px;height:39px;border-radius:11px;background:#e1f1de;color:#337849;display:grid;place-items:center;font-weight:850;flex:none}.pick-row span:nth-child(2){display:flex;flex-direction:column;gap:4px;flex:1}.pick-row strong{font-size:13px}.pick-row small{font-size:10px;color:var(--muted)}.picker-foot{padding:12px 0 20px;border-top:1px solid #e5eee4;color:#809287;font-size:10px;line-height:1.5}.install-dialog{max-width:490px;width:calc(100% - 32px);border-radius:20px;padding:22px}.install-dialog p{font-size:13px;line-height:1.75;color:#536d5c}.install-dialog p:last-child{margin-bottom:0}
@media(min-width:760px){.shell{max-width:800px}.intro{min-height:240px}.intro h1{max-width:550px}.dart-circles{width:320px;height:320px;right:-67px;top:-42px}.stats{grid-template-columns:repeat(4,1fr)}.bottom-nav{max-width:800px;left:50%;transform:translateX(-50%);border-left:1px solid #e1eae0;border-right:1px solid #e1eae0}.picker{margin:auto;border-radius:22px;max-width:560px}.site-footer{margin-top:40px}}
@media(max-width:340px){.shell{padding:0 12px 110px}.intro{padding:24px 18px}.install{padding:9px}.player-select{padding:12px}.stats{gap:8px}.stat{padding:13px}.stat strong{font-size:24px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* TKV V16 - kategorií žebříčku */
.gender-segments{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:-5px;margin-bottom:15px;background:#ecf4e9}
.gender-segments button.active{background:#23633c;color:#fff}
