:root{--bg:#0c0817;--panel:#1d1230;--panel2:#29183d;--line:#4a3067;--violet:#ab70ef;--dim:#b6a4ca;--white:#f7f1ff;--green:#75e9bd;--gold:#f8cf66}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 90% 0,#2d1648 0,transparent 40%),var(--bg);color:var(--white);font:15px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #cf9cff;outline-offset:3px}[hidden]{display:none!important}.wrap{max-width:1250px;margin:auto;padding:0 20px}.topbar{border-bottom:1px solid #362047;background:#100a20e9}.topbar-inner{min-height:70px;display:flex;justify-content:space-between;align-items:center;gap:12px}.mini-brand{display:flex;align-items:center;gap:12px}.mini-brand img{width:50px;height:50px;object-fit:contain}.mini-brand b{font-size:17px;letter-spacing:.04em}.mini-brand em{font-style:normal;color:#bb86fc}.mini-brand small{display:block;color:#aa94c4;font-size:10px;letter-spacing:.13em}.topbar nav{display:flex;gap:24px;font-size:13px;color:#d0b3eb}.topbar nav a:hover,.back-link:hover{color:white}.demo{margin:14px 0;padding:10px 14px;background:#5c3517;border:1px solid #df9b51;border-radius:9px;font-weight:700;font-size:12px;text-align:center}.hero{position:relative;display:flex;min-height:254px;margin:22px 0 18px;border:1px solid #684192;border-radius:20px;overflow:hidden;background:radial-gradient(circle at 76% 55%,#743ba34f 0,transparent 38%),linear-gradient(120deg,#1b1034,#271346 54%,#190d28);box-shadow:0 0 35px #4c217344}.hero:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(118deg,transparent 0 45px,#ffffff04 47px 48px);pointer-events:none}.hero-content{width:68%;position:relative;z-index:2;padding:23px 28px;display:flex;flex-direction:column;align-items:flex-start}.eyebrow{display:block;color:#bd89f6;letter-spacing:.14em;font-size:10px;font-weight:800}.hero-logo{height:77px;max-width:130px;object-fit:contain;object-position:left}.hero h1{font-size:clamp(30px,4.5vw,52px);line-height:1.03;letter-spacing:-.04em;margin:4px 0}.hero h1 span{color:#c28cf9}.hero p{max-width:500px;margin:3px 0 13px;color:#d0bde6;font-size:14px}.hero-link{font-size:11px;font-weight:800;letter-spacing:.08em;color:#efe1ff;background:#6833a3;padding:8px 13px;border-radius:8px}.hero-link span{margin-left:10px}.hero-person{position:absolute;right:0;top:-9%;height:119%;width:37%;object-fit:cover;object-position:center 23%;mask-image:linear-gradient(to right,transparent,#000 31%);opacity:.86}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 282px;align-items:start;gap:20px}.ranking,.sidebox,.info-box,.profile-card{background:linear-gradient(155deg,#21132f,#160e25);border:1px solid #3e2859;border-radius:16px}.ranking{padding:20px 18px}.rank-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}h2{font-size:23px;line-height:1.2;margin:4px 0 0}h3{font-size:18px;line-height:1.2;margin:7px 0 12px}.rank-title h2 span{color:#bd91f0}.count-shown{font-size:12px;color:#aa95c3}.filterbar{display:flex;gap:9px;margin-bottom:10px}.search{flex:1;display:flex;align-items:center;gap:7px;padding:0 12px;border:1px solid #543972;border-radius:10px;background:#100b1d;min-width:0}.search span{font-size:22px;color:#a77ed9}.search input{width:100%;min-width:0;background:transparent;border:0;outline:none;color:#fff;padding:10px 0;font-size:13px}.filtertoggle{border:1px solid #62407e;border-radius:10px;padding:0 13px;background:#2c1a44;color:#e7d4ff;font-weight:700;font-size:12px}.filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px 0}.filters label{color:#b7a4d2;font-size:11px}.filters select{margin-top:4px;width:100%;min-width:0;background:#130d20;border:1px solid #5e3e7e;border-radius:7px;color:#fff;padding:8px 5px;font-size:12px}.clear-btn{grid-column:1/-1;justify-self:end;color:#d9b6fc;background:transparent;border:0;padding:5px}.rank-list{display:grid;gap:7px}.rank-entry{background:#271837;border:1px solid #49305f;border-radius:11px;overflow:hidden;transition:border-color .15s}.rank-entry:hover{border-color:#875ac0}.rank-row{display:flex;gap:11px;align-items:center;padding:10px;cursor:pointer;min-height:70px}.rank-number{flex:0 0 46px;display:flex;align-items:center;justify-content:center;height:47px;border-radius:9px;background:#150d21;font-size:26px;font-weight:900;color:#a99ab9;line-height:1}.rank-number.medal-1{color:#ffdc70;border:1px solid #c89c37;background:linear-gradient(130deg,#493618,#191322)}.rank-number.medal-2{color:#e4e7ef;border:1px solid #778096;background:#292d3d}.rank-number.medal-3{color:#e9a477;border:1px solid #956045;background:#38241e}.rank-person{flex:1;min-width:0}.rank-name{font-size:15px;display:block;overflow-wrap:anywhere}.rank-city{font-size:13px;color:#c4a2e5;display:block}.rank-result{text-align:right;flex:0 0 auto}.rank-result strong{display:block;font-size:18px;font-variant-numeric:tabular-nums}.rank-result small{display:block;font-size:10px}.verified{color:var(--green)}.pending{color:#edbd77}.arrow{color:#c795ff;font-size:24px;margin-left:2px}.social-list{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:5px}.social-icon{display:inline-flex;justify-content:center;align-items:center;min-width:26px;height:26px;padding:0 5px;border-radius:7px;background:#4d2b6c;color:#fff;font-size:15px;font-weight:900}.social-icon:hover{background:#8c4ac2}.social-facebook{background:#234d90}.social-tiktok{background:#222}.social-youtube{background:#a52638}.expanded{padding:12px 16px 15px;background:#170d27;border-top:1px solid #4a2b66}.detail-tags{display:flex;flex-wrap:wrap;gap:6px 17px;color:#cfbae6;font-size:12px}.detail-tags b{color:#ac89d5}.entry-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:linear-gradient(120deg,#8943cf,#6225aa);border:1px solid #9756d5;color:#fff;border-radius:9px;font-size:12px;font-weight:800;padding:11px 15px;cursor:pointer}.btn:hover{filter:brightness(1.15)}.btn.outline{background:transparent;border-color:#79509d}.btn.mini{padding:8px 10px;font-size:11px}.video-container{display:flex;justify-content:center;align-items:center;background:#0b0713;border:1px solid #3f2857;border-radius:10px;margin-top:12px;overflow:hidden;min-height:90px}.video-container iframe{width:100%;max-width:360px;aspect-ratio:9/16;max-height:500px;border:0}.video-container .btn{margin:25px}.rank-note,.small-muted{font-size:12px;color:#a999be}.rank-note{margin:16px 2px 2px}.empty{padding:25px;text-align:center;color:#a994c4}.sidebar{display:grid;gap:13px}.sidebox{padding:18px}.sidebox h3{margin:4px 0 12px}.record-item{padding:10px 0;border-top:1px solid #462958}.record-item span,.record-item small{display:block;color:#b99ccc;font-size:11px}.record-item strong{display:block;color:#fff;font-size:29px;font-variant-numeric:tabular-nums}.record-item:first-of-type strong{color:#ffe1a1}.sidebox p{color:#c1add7;font-size:13px;margin:7px 0 14px}.big-number{font-size:40px;font-weight:900;color:#fff}.promo{background:linear-gradient(145deg,#3c205d,#1f1338)}.promo-icon{font-size:26px}.promo .btn{width:100%;margin-bottom:10px}.phone{display:block;text-align:center;color:#ecdafa;font-weight:700}.featured-video .video-container{margin:0}.featured-video iframe{max-height:380px}.city-list{display:flex;flex-wrap:wrap;gap:7px}.city-entry{border:1px solid #61398c;background:#301947;border-radius:20px;padding:6px 10px;color:#ead7ff;font-size:12px}.city-entry:hover{background:#6636a5}.bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}.info-box{padding:24px}.info-box p,.info-box li{color:#d1c0df;font-size:14px}.info-box ol{padding-left:20px}.contact-number{display:inline-block;color:#e1bdff;font-size:25px;font-weight:900;margin:12px 0}.announcement{margin-bottom:18px;padding:18px 22px;border:1px solid #7140a5;border-radius:12px;background:#26133d}.announcement a{color:#d8b2ff;text-decoration:underline}.privacy{margin:24px 0 12px;padding:16px 20px;border-top:1px solid #3a2652;color:#ad9dbc;font-size:12px}.privacy h3{font-size:14px;margin:0 0 5px}footer{padding:23px 0 36px;color:#8e7ba7;font-size:11px}.profile-wrap{padding-top:24px}.profile-hero{background:linear-gradient(130deg,#331c51,#1b112e);border:1px solid #6c3a98;border-radius:18px;padding:26px}.profile-heading{display:flex;gap:20px;align-items:center}.avatar{width:88px;height:88px;display:grid;place-items:center;border-radius:50%;background:#6e3e9b;font-size:42px}.profile-heading h1{font-size:clamp(26px,5vw,40px);line-height:1.12;margin:4px 0}.profile-heading p{margin:0;color:#cfafe9}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px}.profile-stats>div{background:#160c25;border:1px solid #57357a;border-radius:11px;padding:16px}.profile-stats small{display:block;color:#b89ad9;font-size:10px}.profile-stats strong{display:block;font-size:clamp(16px,3vw,29px);line-height:1.4}.profile-stats strong.profile-status{font-size:16px}.profile-body{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.profile-card{padding:22px}.profile-details{margin-top:15px}.info-row{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #39274e;padding:9px 0;font-size:13px}.info-row span{color:#ad98c4}.share-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.profile-video .video-container{margin-top:14px}.back-link{color:#cab0e9;font-size:13px}.adminwrap{max-width:1080px;margin:25px auto 60px;padding:0 20px}.loginbox{max-width:480px;margin:7vh auto;border:1px solid #62418a;border-radius:16px;padding:28px;background:#201331}.adminheader{display:flex;align-items:center;justify-content:space-between;gap:16px}.adminheader h1{margin:2px 0;font-size:30px}.tabs{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}.tabs button{padding:11px 14px;border-radius:9px;background:#241736;color:#d4b9f0;border:1px solid #553472}.tabs button.active{background:#7937ba;color:#fff}.panel{background:#1d112d;border:1px solid #49305f;border-radius:14px;padding:23px}.adminform{display:grid;gap:14px;margin:14px 0}.admincols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.adminform label{display:grid;gap:5px;font-size:13px;color:#d4bce8}.adminform input:not([type=checkbox]),.adminform textarea,.adminform select{background:#0f0a1c;border:1px solid #654487;border-radius:9px;color:#fff;padding:10px;min-width:0;width:100%}.adminform input[type=checkbox],.modrow input{width:19px;height:19px;accent-color:#9d57d8}.adminform label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}.adminactions{display:flex;flex-wrap:wrap;gap:9px}.primary,.secondary,.danger{border:1px solid #8155a7;border-radius:9px;padding:11px 15px;background:#823aca;color:#fff;font-weight:750}.secondary{background:#2d1c43}.danger{background:#6e2438;border-color:#b6566f}.adminlist{display:grid;gap:7px;margin-top:22px}.adminrow{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #50356a;background:#261739;border-radius:10px;padding:10px 12px}.adminrow span{overflow-wrap:anywhere}.adminrow button{white-space:nowrap}.modrow{display:flex!important;flex-direction:row!important;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #432b59;padding:8px 0}.message{min-height:18px;color:#91ebb5;margin:8px 0}.message.error{color:#ffb2b2}.warn{color:#ffcf9c;background:#432919;border:1px solid #815a2c;padding:10px;border-radius:9px}.muted{color:#bcabd2}.adminform hr{width:100%;border:0;border-top:1px solid #51386a}.settings-section{display:grid;gap:12px}.settings-section h3{margin:12px 0 0}.inline-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(max-width:900px){.content-grid{grid-template-columns:minmax(0,1fr) 245px;gap:12px}.ranking{padding:15px 12px}.sidebox{padding:13px}.hero{min-height:224px}.hero-content{width:70%}.hero-person{width:40%}.record-item strong{font-size:25px}}@media(max-width:720px){.wrap{padding:0 12px}.topbar nav{gap:11px;font-size:12px}.topbar-inner{min-height:59px}.mini-brand img{width:39px;height:39px}.mini-brand b{font-size:13px}.mini-brand small{font-size:8px}.hero{min-height:179px;margin:12px 0;border-radius:14px}.hero-content{padding:14px;width:75%}.hero-logo{height:46px;max-width:92px}.hero h1{font-size:clamp(22px,6.1vw,35px);margin:4px 0}.hero p{font-size:11px;line-height:1.3}.hero-link{font-size:9px;padding:7px}.hero-person{width:43%;opacity:.77}.content-grid{grid-template-columns:1fr}.sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.bottom-grid,.profile-body{grid-template-columns:1fr}.rank-row{gap:8px}.rank-name{font-size:14px}.rank-result strong{font-size:16px}.rank-number{flex-basis:40px;font-size:24px;height:43px}.profile-stats{gap:6px}.profile-stats>div{padding:10px}.profile-heading{gap:12px}.avatar{width:66px;height:66px}}@media(max-width:500px){.topbar nav a:nth-child(2){display:none}.hero-person{width:43%;opacity:.65}.hero h1{font-size:25px}.hero p{max-width:245px}.rank-title h2{font-size:21px}.ranking{padding:14px 9px}.rank-row{padding:9px 7px;gap:7px}.rank-number{flex-basis:34px;height:38px;font-size:23px}.rank-name{font-size:13px}.rank-city{font-size:11px}.rank-result strong{font-size:14px}.rank-result small{font-size:9px}.social-icon{min-width:25px;height:25px}.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{grid-template-columns:1fr}.hero-logo{height:42px}.profile-hero{padding:14px}.profile-stats strong{font-size:19px}.profile-stats strong.profile-status{font-size:12px}.admincols,.inline-fields{grid-template-columns:1fr}.adminheader h1{font-size:25px}.panel{padding:15px}.adminrow{align-items:flex-start;flex-direction:column}.sidebox{padding:18px}}

/* Final mobile and athlete photos */
.avatar-img{width:100%;height:100%;object-fit:cover;border-radius:50%}.photo-preview{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.photo-preview img{width:90px;height:90px;border-radius:12px;object-fit:cover}.sponsor-link{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.sponsor-link img{max-width:170px;max-height:90px;object-fit:contain}.static-page{max-width:920px;margin:24px auto 70px}.static-page article{background:linear-gradient(145deg,#251638,#130d23);border:1px solid #4e3171;border-radius:20px;padding:clamp(18px,4vw,42px);margin-bottom:20px}.static-page p,.static-page li{line-height:1.75}.static-page h1{font-size:clamp(26px,5vw,46px);line-height:1.15;color:#fff}.static-page h2{font-size:clamp(20px,3vw,28px)}.static-page a{color:#e7baff}.static-page .btn{color:white}.footer-links{display:flex;gap:12px;flex-wrap:wrap}.consent-notice{padding:15px;border-left:3px solid #ae78ed;background:#211530;border-radius:8px}.profile-stats strong{overflow-wrap:anywhere}@media(max-width:650px){.hero{min-height:0!important}.hero-content{padding-block:22px!important}.hero h1{font-size:clamp(25px,6vw,38px)!important}.hero-person{max-height:155px;object-fit:contain}.rank-row{gap:7px}.rank-number{min-width:35px}.rank-name{font-size:14px}.rank-result strong{font-size:16px}.social-list{flex-wrap:wrap}.profile-heading{flex-wrap:wrap}.static-page{margin-top:12px}}
.row-photo{width:30px;height:30px;border-radius:50%;object-fit:cover;float:left;margin-right:8px;border:1px solid #8d65c6}

.demo-banner{background:#3b1a54;border:1px solid #c5a4f5;color:#fff;font-weight:800;padding:14px 16px;border-radius:13px;margin:10px 0 16px}.demo-tag{font-size:10px!important;color:#ffd989!important;font-weight:900!important;letter-spacing:.07em}.demo-controls{background:#241633;border:1px solid #634593;border-radius:12px;padding:15px;margin:15px 0 22px}

/* Aktualizacja: stabilne zdjęcia na końcu paska, także na telefonach */
.rank-entry .rank-row{min-width:0}
.rank-entry .rank-person{min-width:0;flex:1 1 0}
.rank-entry .rank-result{flex-shrink:0;white-space:nowrap}
.rank-entry .row-photo{float:none!important;display:block;flex:0 0 44px;width:44px!important;height:44px!important;max-width:44px!important;max-height:44px!important;min-width:44px;min-height:44px;object-fit:cover!important;object-position:center;border-radius:9px;margin:0!important;border:1px solid #8d65c6;overflow:hidden}
.rank-entry .arrow{flex:0 0 auto}
.time-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:7px}
.time-choices>span{font-size:12px;color:#cbb5e4;min-width:0}
.time-choices select{display:block;width:100%;min-width:0;background:#130d20;color:white;border:1px solid #7752a1;border-radius:8px;padding:8px 4px;margin-top:4px}
@media(max-width:550px){.rank-entry .row-photo{flex-basis:32px;width:32px!important;height:32px!important;min-width:32px;min-height:32px;border-radius:7px}.rank-row{gap:5px!important}.rank-result strong{font-size:14px!important}.rank-number{flex-basis:34px!important;width:34px!important}.rank-entry .rank-name{font-size:13px}.rank-entry .rank-city{font-size:11px}}
