/* Time-Sport Rewolucja — wyłącznie moduły TS Stats, bez zmiany obliczeń. */
body.tss-revolution-page,body.tss-revolution-page #Wrapper{background:#fff!important}body.tss-revolution-page #Content{padding-top:0!important}body.tss-revolution-page #Subheader{display:none!important}
body.tss-revolution-page .tssh-page{max-width:1360px!important;padding:22px 30px 30px;margin:0 auto;box-sizing:border-box}
body.tss-revolution-page .tssh-directory{max-width:100%!important}
.tssh-directory.tssh-revolution,.tss-wrap.tss-revolution{--blue:#087fc0!important;--ink:#102c4a;--muted:#526a82;--tssh-on-accent:#fff;--tssh-radius:10px!important;--tssh-gap:18px!important;font:15px/1.5 Arial,Helvetica,sans-serif;color:#102c4a;letter-spacing:normal}
.tssh-revolution *,.tss-revolution *{box-sizing:border-box}
.tssh-directory.tssh-revolution h1,.tssh-directory.tssh-revolution h2,.tssh-directory.tssh-revolution h3,.tss-revolution h2,.tss-revolution h3{font-family:'Arial Narrow','Roboto Condensed',Arial,sans-serif;font-weight:800;letter-spacing:-.025em;color:#102c4a;line-height:1.2}
.tssh-directory.tssh-revolution .tssh-hero,.tss-revolution .tss-header{background:#102c4a!important;border:0!important;border-top:4px solid #09acd0!important;border-radius:10px!important;padding:28px 22px!important;text-align:center!important;box-shadow:none;margin-bottom:24px}
.tssh-directory.tssh-revolution .tssh-hero h1,.tssh-directory.tssh-revolution .tssh-hero h2,.tss-revolution .tss-header h2{color:#fff;font-size:clamp(27px,3.1vw,40px);line-height:1.15;margin:0;overflow-wrap:anywhere}
.tssh-revolution .tssh-hero>.tssh-eyebrow,.tss-revolution .tss-header>.tss-kicker{display:none}
.tssh-directory.tssh-revolution .tssh-hero p,.tss-revolution .tss-header p{color:#d5e7f3;font:14px/1.5 Arial,sans-serif;margin:10px 0 0}
.tssh-revolution .tssh-summary{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 24px;border-block:1px solid #dce8f2;padding:13px 0;margin:0 0 20px;font:13px/1.4 Arial,sans-serif;color:#526a82}
.tssh-revolution .tssh-summary strong{color:#087fc0}
.tssh-directory.tssh-revolution .tssh-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;background:#f3f8fc;border:1px solid #dce8f2;border-radius:8px;padding:16px;margin:0 0 12px}
.tssh-revolution .tssh-filters label{font:700 12px/1.5 Arial,sans-serif;color:#102c4a;min-width:140px;flex:1}
.tssh-revolution .tssh-filters input,.tssh-revolution .tssh-filters select{border:1px solid #c7dbe9;border-radius:5px;background:#fff;color:#102c4a;font:14px/1.5 Arial,sans-serif;padding:10px 12px;margin:4px 0 0;width:100%;min-width:0;box-shadow:none}
.tssh-directory.tssh-revolution button.tssh-reset{background:#fff;color:#087fc0;border:1px solid #c7dbe9;border-radius:5px;box-shadow:none;margin:0;padding:10px 14px;font:700 12px/1.5 Arial,sans-serif}
.tssh-revolution .tssh-results{font:12px/1.5 Arial,sans-serif;color:#526a82;margin:10px 0 16px}
.tssh-directory.tssh-revolution .tssh-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tssh-directory.tssh-revolution .tssh-item{display:flex;flex-direction:column;align-items:stretch;gap:12px;background:#fff;border:1px solid #d6e4ef;border-top:3px solid #09acd0;border-radius:10px;padding:20px;box-shadow:0 5px 20px #102c4a08;min-width:0;transform:none}
.tssh-revolution .tssh-item::before,.tssh-revolution .tssh-item-icon{display:none}
.tssh-directory.tssh-revolution .tssh-info{width:100%;text-align:left;min-width:0}
.tssh-revolution .tssh-info .tssh-eyebrow{font:700 11px/1.5 Arial,sans-serif;letter-spacing:.04em;color:#087fc0}
.tssh-directory.tssh-revolution .tssh-info h3{font-size:23px;margin:7px 0 8px;overflow-wrap:anywhere}
.tssh-revolution .tssh-info p{font:13px/1.5 Arial,sans-serif;color:#526a82;margin:0 0 12px}
.tssh-revolution .tssh-years{justify-content:flex-start;flex-wrap:wrap;gap:6px}
.tssh-revolution .tssh-years span{font:700 11px/1.3 Arial,sans-serif;background:#eaf4fc;color:#07699d;border-radius:4px;padding:5px 8px}
.tssh-directory.tssh-revolution .tssh-link{align-self:flex-start;margin:auto 0 0;background:#087fc0;color:#fff;border:0;border-radius:5px;font:700 13px/1.5 Arial,sans-serif;padding:10px 16px;white-space:normal;text-decoration:none}
.tssh-revolution .tssh-back{display:inline-block;margin:0 0 12px;color:#087fc0;font:700 12px/1.5 Arial,sans-serif}
.tssh-directory.tssh-revolution .tssh-tabs,.tss-revolution .tss-tabs{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:0 0 24px;padding:0 0 16px;border-bottom:1px solid #dce8f2}
.tssh-directory.tssh-revolution .tssh-tabs button,.tss-revolution .tss-tabs button{background:#f2f8fc;color:#102c4a;border:1px solid #cbdfea;border-radius:6px;font:700 14px/1.5 Arial,sans-serif;padding:10px 17px;margin:0;box-shadow:none}
.tssh-directory.tssh-revolution .tssh-tabs button[aria-selected=true],.tss-revolution .tss-tabs button[aria-selected=true]{background:#102c4a;color:#fff;border-color:#102c4a}
.tssh-revolution .tssh-history-section>h2{text-align:center;font-size:25px;margin:0 0 18px}
.tssh-directory.tssh-revolution .tssh-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 22px}
.tssh-directory.tssh-revolution .tssh-metrics>div{background:#f4f9fd;border:1px solid #dce8f2;border-top:3px solid #087fc0;border-radius:8px;padding:18px 14px;text-align:center;min-width:0;box-shadow:none}
.tssh-revolution .tssh-metrics span{font:12px/1.4 Arial,sans-serif;color:#526a82;display:block;margin-bottom:9px}
.tssh-directory.tssh-revolution .tssh-metrics strong{font:800 clamp(21px,2.5vw,32px)/1.15 Arial,sans-serif;color:#102c4a;overflow-wrap:anywhere}
.tssh-directory.tssh-revolution .tssh-charts{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:18px;margin:0 0 22px}
.tssh-directory.tssh-revolution .tssh-chart-card{background:#fff;border:1px solid #dce8f2;border-radius:10px;padding:20px;box-shadow:none;min-width:0}
.tssh-revolution .tssh-chart-card h3{font-size:21px;margin:0 0 7px}
.tssh-revolution .tssh-chart-card p,.tssh-revolution .tssh-chart-card small{font:12px/1.5 Arial,sans-serif;color:#526a82}
.tssh-revolution .tssh-chart{height:190px;gap:14px;margin-top:16px;border-color:#dce8f2}
.tssh-revolution .tssh-bar{background:#087fc0;border-radius:4px 4px 0 0}
.tssh-revolution .tssh-sexbar{height:16px;background:#102c4a;margin:28px 0 20px}.tssh-revolution .tssh-sexbar span{background:#09acd0}
.tssh-revolution .tssh-legend strong{font-size:27px;color:#102c4a}
.tssh-directory.tssh-revolution .tssh-table-wrap{border:1px solid #dce8f2;border-radius:8px}
.tssh-revolution table caption{background:#102c4a;color:#fff;padding:14px 16px;font:700 15px/1.5 Arial,sans-serif}
.tssh-revolution table th,.tssh-revolution table td{padding:12px 16px;font:13px/1.5 Arial,sans-serif;color:#102c4a;border-bottom:1px solid #e4edf4}
.tssh-revolution table thead th{background:#edf6fc;color:#526a82;font-weight:700}.tssh-revolution table tbody tr:nth-child(even){background:#f8fbfe}
@container(max-width:700px){.tssh-directory.tssh-revolution .tssh-list,.tssh-directory.tssh-revolution .tssh-charts{grid-template-columns:1fr}.tssh-directory.tssh-revolution .tssh-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.tssh-directory.tssh-revolution .tssh-item{padding:16px}.tssh-directory.tssh-revolution .tssh-link{align-self:flex-start;width:auto}}
@media(max-width:600px){body.tss-revolution-page .tssh-page{padding:18px 14px 25px}.tssh-directory.tssh-revolution .tssh-hero{padding:22px 16px!important}.tssh-directory.tssh-revolution .tssh-filters input,.tssh-directory.tssh-revolution .tssh-filters select{font-size:16px}.tssh-directory.tssh-revolution .tssh-tabs button{padding:9px 12px}}
/* Podsumowanie w granatowym nagłówku pozostaje kontrastowe. */
.tssh-directory.tssh-revolution .tssh-hero .tssh-summary{color:#d5e7f3;border-color:#ffffff33;margin:16px 0 0;padding:12px 0 0}
.tssh-directory.tssh-revolution .tssh-hero .tssh-summary b{color:#54d4ef}
.tssh-directory.tssh-revolution .tssh-hero .tssh-summary{color:#d5e7f3;border-color:#ffffff30;margin:16px 0 0;padding:12px 0 0}
.tssh-directory.tssh-revolution .tssh-hero .tssh-summary b{color:#61d7ed;font-weight:700}
/* Zdjęcia współdzielone przez katalog i nagłówek imprezy. */
.tssh-directory.tssh-revolution .tssh-hero.tss-photo-hero{position:relative;isolation:isolate;min-height:285px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;overflow:hidden;padding:30px!important;text-align:left!important;background:#102c4a!important}
.tss-photo-hero .tss-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-2}
.tss-photo-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,25,44,.95),rgba(6,25,44,.72) 48%,rgba(6,25,44,.1));z-index:-1;pointer-events:none}
.tssh-directory.tssh-revolution .tss-photo-hero h1,.tssh-directory.tssh-revolution .tss-photo-hero h2{max-width:85%;text-align:left}
.tssh-directory.tssh-revolution .tss-photo-hero .tssh-summary{justify-content:flex-start}
.tssh-directory.tssh-revolution .tssh-item:has(.tss-catalog-photo){padding:0;gap:0}
.tssh-revolution .tss-catalog-photo{display:block;aspect-ratio:16/9;position:relative;overflow:hidden;background:#102c4a;border-radius:7px 7px 0 0;width:100%}
.tssh-revolution .tss-catalog-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s}
.tssh-revolution .tss-catalog-photo:hover img{transform:scale(1.025)}
.tssh-directory.tssh-revolution .tssh-item:has(.tss-catalog-photo) .tssh-info{padding:18px 18px 14px}
.tssh-directory.tssh-revolution .tssh-item:has(.tss-catalog-photo) .tssh-link{margin:0 18px 18px;align-self:stretch;text-align:center}
@media(max-width:600px){.tssh-directory.tssh-revolution .tssh-hero.tss-photo-hero{min-height:235px;padding:22px!important}.tssh-directory.tssh-revolution .tss-photo-hero h1,.tssh-directory.tssh-revolution .tss-photo-hero h2{max-width:100%}}
@media(prefers-reduced-motion:reduce){.tssh-revolution .tss-catalog-photo img{transition:none}}
/* Mniejsze kafle katalogu i podsumowań. */
.tssh-directory.tssh-revolution .tssh-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tssh-revolution .tss-catalog-photo{aspect-ratio:auto;height:145px}
.tssh-directory.tssh-revolution .tssh-item:has(.tss-catalog-photo) .tssh-info{padding:14px 14px 10px}
.tssh-directory.tssh-revolution .tssh-info h3{font-size:20px;line-height:1.2;margin:6px 0}
.tssh-directory.tssh-revolution .tssh-item:has(.tss-catalog-photo) .tssh-link{margin:0 14px 14px;font-size:12px;padding:9px 12px}
.tssh-directory.tssh-revolution .tssh-metrics>div{padding:14px 12px}
.tssh-directory.tssh-revolution .tssh-metrics strong{font-size:clamp(21px,2.3vw,29px)}
.tss-revo-bridge.tsr-portal{width:100%;max-width:none;padding:0;margin:30px 0 0}
.tss-fallback-banner{background:#ed0033;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px;border-radius:0}
.tss-fallback-banner h2{color:#fff!important;font:800 27px/1.2 'Arial Narrow',Arial,sans-serif!important;margin:0 0 7px!important}
.tss-fallback-banner p{font:15px/1.5 Arial,sans-serif;margin:0;color:#fff}.tss-fallback-banner a{background:#fff;color:#b90027;font:700 13px/1.5 Arial,sans-serif;text-decoration:none;padding:12px 18px}
@container(max-width:1000px){.tssh-directory.tssh-revolution .tssh-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container(max-width:600px){.tssh-directory.tssh-revolution .tssh-list{grid-template-columns:1fr}}
@media(max-width:540px){.tss-fallback-banner{flex-direction:column;align-items:flex-start}}
