.lfcpr{--burg:#7b0d1e;--red:#df1825;--blue:#2474b5;--green:#25a447;--gold:#f2b500;max-width:1140px;margin:24px auto;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#15191e}
.lfcpr *{box-sizing:border-box}.lfcpr-banner{width:100%;aspect-ratio:1400/186;border-radius:5px;background-repeat:no-repeat;background-size:100% 100%;background-position:center;box-shadow:0 3px 12px rgba(0,0,0,.14)}

.lfcpr-banner-top{background-image:url('banner-top-v1.3.png')}.lfcpr-banner-bottom{background-image:url('banner-bottom-v1.3.png');aspect-ratio:1400/219;margin-top:18px}
.lfcpr-titlebar{padding:18px 4px 8px}.lfcpr-titlebar h2{margin:0 0 4px!important;font-size:25px!important;line-height:1.2!important}.lfcpr-titlebar p{margin:0!important;color:#69717b;font-size:14px}
.lfcpr-section-head{display:flex;align-items:center;gap:8px;margin:18px 0 8px;font-weight:900;font-size:18px}.lfcpr-section-head small{display:inline-flex;min-width:25px;height:25px;align-items:center;justify-content:center;border-radius:999px;background:#e31b2b;color:#fff;font-size:12px}.lfcpr-section-head.is-sub small{background:#707982}
.lfcpr-list{display:flex;flex-direction:column;gap:9px}.lfcpr-player{border:1px solid #d8dce1;border-radius:8px;background:#fff;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.05)}.lfcpr-player.is-sub{background:#f3f5f7;border-color:#e0e3e7}
.lfcpr-player-head{min-height:82px;display:grid;grid-template-columns:84px 1fr 76px;align-items:center}.lfcpr-photo-wrap{height:82px;background:#15191d;overflow:hidden}.lfcpr-photo{display:block;width:100%;height:100%;object-fit:cover}.lfcpr-photo-fallback{display:flex;align-items:center;justify-content:center;color:#fff;font-size:14px;font-weight:900;letter-spacing:.08em;background:linear-gradient(145deg,#252a30,#101215)}
.lfcpr-player-main{padding:10px 16px;min-width:0}.lfcpr-name-line{display:flex;align-items:center;gap:12px;min-width:0}.lfcpr-number{flex:0 0 auto;min-width:42px;height:42px;border-radius:5px;background:#df1825;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:21px;font-weight:900}.lfcpr-player.is-sub .lfcpr-number{background:#8c949c}.lfcpr-name{font-size:20px;line-height:1.15;overflow-wrap:anywhere}.lfcpr-minutes{display:block;margin:4px 0 0 54px;color:#707782;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.lfcpr-rating,.lfcpr-swatch{color:#fff!important;font-weight:900}.lfcpr-rating{justify-self:end;margin-right:13px;width:56px;height:56px;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:27px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.lfcpr .r12{background:var(--burg)!important}.lfcpr .r34{background:var(--red)!important}.lfcpr .r56{background:var(--blue)!important}.lfcpr .r78{background:var(--green)!important}.lfcpr .r910{background:var(--gold)!important;color:#171717!important}
.lfcpr-review{border-top:1px solid #e6e8eb;padding:13px 16px 14px 100px;font-size:15px;line-height:1.6;background:rgba(255,255,255,.86)}.lfcpr-player.is-sub .lfcpr-review{background:#f7f8fa}.lfcpr-review>:first-child{margin-top:0}.lfcpr-review>:last-child{margin-bottom:0}.lfcpr-review img{max-width:100%;height:auto}.lfcpr-review iframe{max-width:100%}.lfcpr-review .wp-caption{max-width:100%!important}
.lfcpr-legend{margin:20px 0 0;border:1px solid #d9dde2;border-radius:8px;background:#f8f9fa;padding:13px 16px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.lfcpr-legend>div{display:flex;align-items:center;gap:8px;min-width:0}.lfcpr-swatch{min-width:48px;padding:6px 7px;text-align:center;border-radius:5px;font-size:13px}.lfcpr-legend b{font-size:12px;line-height:1.25;font-weight:700}
@media(max-width:700px){.lfcpr{margin:15px 0}.lfcpr-banner{border-radius:0}.lfcpr-titlebar{padding:14px 12px 6px}.lfcpr-titlebar h2{font-size:21px!important}.lfcpr-section-head{padding:0 12px}.lfcpr-list{gap:7px}.lfcpr-player{border-radius:0;border-left:0;border-right:0}.lfcpr-player-head{grid-template-columns:68px 1fr 60px;min-height:68px}.lfcpr-photo-wrap{height:68px}.lfcpr-player-main{padding:8px 10px}.lfcpr-number{min-width:34px;height:34px;font-size:17px}.lfcpr-name{font-size:16px}.lfcpr-minutes{margin-left:46px}.lfcpr-rating{width:44px;height:44px;font-size:22px;margin-right:8px}.lfcpr-review{padding:11px 12px;font-size:14px}.lfcpr-legend{margin:16px 12px;grid-template-columns:1fr;padding:10px}.lfcpr-banner-bottom{margin-top:14px}}

/* v1.1 — match title card + N rating + approved footer */
.lfcpr-titlebar{position:relative;margin:12px 0 18px;padding:16px 20px 15px 24px!important;border:1px solid #2e343a;border-left:5px solid #d90429;border-radius:8px;background:linear-gradient(105deg,#11161a 0%,#20262b 62%,#15191d 100%);box-shadow:0 5px 16px rgba(0,0,0,.14);overflow:hidden}
.lfcpr-titlebar:after{content:"";position:absolute;right:-45px;top:-55px;width:230px;height:180px;background:radial-gradient(circle,rgba(217,4,41,.18),transparent 68%);pointer-events:none}
.lfcpr-titlebar h2{position:relative;z-index:1;color:#fff!important;font-size:24px!important;font-weight:850!important;letter-spacing:-.25px;margin:0 0 6px!important}
.lfcpr-titlebar p{position:relative;z-index:1;color:#c7cdd2!important;font-size:13px!important;font-weight:650;letter-spacing:.02em}
.lfcpr .rn{background:#7d858d!important;color:#fff!important}
.lfcpr-legend{grid-template-columns:repeat(6,minmax(0,1fr))}
.lfcpr-banner-bottom{aspect-ratio:1400/169;background-size:100% 100%;background-position:center}
@media(max-width:700px){.lfcpr-titlebar{margin:10px 12px 16px;padding:13px 14px 12px 16px!important}.lfcpr-titlebar h2{font-size:19px!important}.lfcpr-titlebar p{font-size:12px!important}.lfcpr-banner-bottom{aspect-ratio:1400/169}}

/* v1.2 — neutral stadium match banner + condensed display title */
.lfcpr-titlebar{min-height:104px;display:flex;flex-direction:column;justify-content:center;margin:12px 0 18px;padding:17px 24px 16px 28px!important;border:0;border-left:5px solid #e31b2b;border-radius:7px;background-image:linear-gradient(90deg,rgba(5,7,9,.93) 0%,rgba(8,10,12,.82) 52%,rgba(8,10,12,.48) 100%),url('match-title-bg-v1.3.png');background-size:cover;background-position:center;box-shadow:0 5px 16px rgba(0,0,0,.18)}
.lfcpr-titlebar:after{display:none!important}
.lfcpr-titlebar h2{font-family:"Bebas Neue","Arial Narrow",Impact,Haettenschweiler,sans-serif!important;font-stretch:condensed;text-transform:uppercase;font-size:31px!important;line-height:1!important;font-weight:400!important;letter-spacing:.7px!important;margin:0 0 9px!important;text-shadow:0 2px 5px rgba(0,0,0,.75)}
.lfcpr-titlebar p{font-size:13px!important;color:#e3e6e8!important;text-shadow:0 1px 3px rgba(0,0,0,.8)}
.lfcpr-banner-bottom{aspect-ratio:1400/198;background-size:100% 100%;background-position:center}
@media(max-width:700px){.lfcpr-titlebar{min-height:82px;margin:10px 12px 16px;padding:13px 14px 12px 16px!important;background-position:center}.lfcpr-titlebar h2{font-size:23px!important;letter-spacing:.4px!important}.lfcpr-titlebar p{font-size:11px!important}.lfcpr-banner-bottom{aspect-ratio:1400/198}}

/* v1.3 — cache-busted approved Player Ratings banners + persistent admin reorder tab */

/* v1.4 final footer banner: LFC1892 logo in original proportions, THIS MEANS MORE */
.lfcpr-banner-bottom{
  background-image:url('banner-bottom-v1.4.png')!important;
  aspect-ratio:2039/379!important;
  background-size:100% 100%!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}
@media(max-width:700px){
  .lfcpr-banner-bottom{aspect-ratio:2039/379!important;}
}

/* v1.5 — live fan ratings */
.lfcpr-player-head{grid-template-columns:84px minmax(0,1fr) 175px 76px}
.lfcpr-fanbox{align-self:stretch;margin:8px 8px 8px 0;padding:7px 9px;border:1px solid #d7dce1;border-radius:7px;background:linear-gradient(180deg,#f8fafb,#eef2f5);display:flex;flex-direction:column;justify-content:center;min-width:0}
.lfcpr-player.is-sub .lfcpr-fanbox{background:linear-gradient(180deg,#eef1f4,#e5e9ed)}
.lfcpr-fanbox-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.lfcpr-fanbox-top span{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;color:#5f6871}.lfcpr-fanbox-top strong{font-size:20px;line-height:1;color:#15191e}
.lfcpr-fan-count{display:block;margin-top:2px;color:#707782;font-size:10px;font-weight:700}.lfcpr-fan-vote-row{display:grid;grid-template-columns:1fr auto;gap:5px;margin-top:5px}.lfcpr-fan-select{min-width:0;height:29px;padding:0 22px 0 7px;border:1px solid #c9cfd5;border-radius:5px;background:#fff;font-size:11px;font-weight:800}.lfcpr-fan-vote{height:29px;border:0;border-radius:5px;padding:0 8px;background:#d90429;color:#fff;font-size:10px;font-weight:900;cursor:pointer}.lfcpr-fan-vote:disabled{opacity:.55;cursor:wait}.lfcpr-fan-msg{min-height:12px;margin-top:3px;color:#b42318;font-size:9px;font-weight:700}.lfcpr-fan-voted{margin-top:5px;padding:5px 7px;border-radius:5px;background:#e7f6eb;color:#1e6f35;font-size:10px;font-weight:700}.lfcpr-fan-voted.is-closed{background:#eceff2;color:#68717a}
.lfcpr-compare{display:flex;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid #e6e8eb;padding:7px 16px 8px 100px;background:#fafbfc;color:#5c6570;font-size:11px}.lfcpr-player.is-sub .lfcpr-compare{background:#edf1f4}.lfcpr-compare b{color:#20252a}.lfcpr-compare-fans strong{font-size:13px;color:#d90429}.lfcpr-compare small{font-size:10px}
.lfcpr-fan-summary{margin:20px 0 0;border:1px solid #cfd5db;border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.04)}.lfcpr-fan-summary-head{padding:13px 16px;background:linear-gradient(100deg,#161b20,#262d33);color:#fff}.lfcpr-fan-summary-head h3{margin:0!important;font-size:17px!important;letter-spacing:.03em}.lfcpr-fan-summary-head p{margin:3px 0 0!important;color:#cbd1d6;font-size:11px}.lfcpr-fan-ranking{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}.lfcpr-fan-rank{display:grid;grid-template-columns:28px minmax(130px,1fr) auto auto auto;gap:9px;align-items:center;padding:9px 12px;border-bottom:1px solid #e8eaed;font-size:11px}.lfcpr-fan-rank:nth-child(odd){border-right:1px solid #e8eaed}.lfcpr-fan-rank .rank-pos{font-weight:900;color:#d90429}.lfcpr-fan-rank>strong{font-size:12px}.lfcpr-fan-rank b{font-size:13px}.lfcpr-fan-rank small{color:#707782}
@media(max-width:800px){.lfcpr-player-head{grid-template-columns:68px minmax(0,1fr) 132px 60px}.lfcpr-fanbox{margin:5px 5px 5px 0;padding:5px 6px}.lfcpr-fanbox-top span{font-size:8px}.lfcpr-fanbox-top strong{font-size:17px}.lfcpr-fan-vote-row{grid-template-columns:1fr}.lfcpr-fan-vote{width:100%}.lfcpr-fan-ranking{grid-template-columns:1fr}.lfcpr-fan-rank:nth-child(odd){border-right:0}}
@media(max-width:560px){.lfcpr-player-head{grid-template-columns:58px minmax(0,1fr) 52px;grid-template-areas:'photo main rating' 'fan fan fan';min-height:0}.lfcpr-photo-wrap{grid-area:photo;height:68px}.lfcpr-player-main{grid-area:main}.lfcpr-rating{grid-area:rating}.lfcpr-fanbox{grid-area:fan;margin:0;border-radius:0;border-left:0;border-right:0;border-bottom:0;display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:8px;padding:7px 10px}.lfcpr-fanbox-top{justify-content:flex-start}.lfcpr-fan-count{margin:0}.lfcpr-fan-vote-row{display:flex;margin:0;justify-self:end}.lfcpr-fan-select{width:78px}.lfcpr-fan-vote{width:auto}.lfcpr-fan-voted{margin:0;justify-self:end}.lfcpr-fan-msg{display:none}.lfcpr-compare{padding:7px 12px}.lfcpr-fan-rank{grid-template-columns:25px minmax(110px,1fr) auto auto;gap:6px}.lfcpr-fan-rank small{grid-column:2/-1}}
.lfcpr-fan-insights{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #e7eaed;background:#f7f8fa}.lfcpr-fan-insights>div{padding:10px 14px;display:flex;align-items:baseline;gap:8px}.lfcpr-fan-insights>div+div{border-left:1px solid #e0e4e7}.lfcpr-fan-insights small{font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:#6b737c;font-weight:900}.lfcpr-fan-insights strong{font-size:12px}.lfcpr-fan-insights span{font-size:10px;color:#d90429;font-weight:800}@media(max-width:560px){.lfcpr-fan-insights{grid-template-columns:1fr}.lfcpr-fan-insights>div+div{border-left:0;border-top:1px solid #e0e4e7}}


/* v1.6 — redaktorsky Hráč zápasu (MOTM) */
.lfcpr-player.is-motm{position:relative;border:2px solid #e0a900!important;box-shadow:0 0 0 3px rgba(242,181,0,.12),0 7px 22px rgba(0,0,0,.08)!important;background:linear-gradient(90deg,#fffdf6 0%,#fff 46%,#fff9e4 100%)}
.lfcpr-player.is-motm .lfcpr-player-head{background:linear-gradient(90deg,rgba(255,249,226,.86),rgba(255,255,255,.96) 52%,rgba(255,245,202,.72))}
.lfcpr-player.is-motm.is-sub .lfcpr-player-head{background:linear-gradient(90deg,#f4f1e7,#f7f8fa 52%,#efe9d2)}
.lfcpr-motm-badge{display:inline-flex;align-items:center;gap:4px;margin-left:8px;padding:4px 7px;border-radius:999px;background:#17191c;color:#f4c318;font-size:9px!important;line-height:1;font-weight:900!important;letter-spacing:.05em;white-space:nowrap;vertical-align:middle;box-shadow:inset 0 0 0 1px rgba(244,195,24,.38)}
.lfcpr-motm-badge span{font-size:11px;line-height:1}
.lfcpr-player.is-motm .lfcpr-rating{box-shadow:0 0 0 3px rgba(242,181,0,.24),inset 0 0 0 1px rgba(255,255,255,.2)}
@media(max-width:700px){.lfcpr-motm-badge{margin-left:5px;padding:3px 5px;font-size:8px!important}.lfcpr-player.is-motm{border-left:2px solid #e0a900!important;border-right:2px solid #e0a900!important}}

/* v1.7.2 — full "Známka" label on desktop and mobile */
.lfcpr-fan-select{width:92px;min-width:92px;box-sizing:border-box}
@media(max-width:560px){
  .lfcpr-fanbox{grid-template-columns:minmax(72px,auto) auto minmax(0,1fr)}
  .lfcpr-fan-vote-row{display:grid;grid-template-columns:minmax(92px,1fr) auto;width:100%;max-width:190px;gap:6px}
  .lfcpr-fan-select{width:100%;min-width:92px}
  .lfcpr-fan-vote{white-space:nowrap;padding-left:9px;padding-right:9px}
}
@media(max-width:380px){
  .lfcpr-fanbox{grid-template-columns:1fr auto}
  .lfcpr-fan-vote-row{grid-column:1/-1;justify-self:stretch;max-width:none}
}


/* v1.7 — unified top widths + fan voting intro banner */
.lfcpr-banner-top,.lfcpr-vote-intro{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important}
.lfcpr-vote-intro{position:relative;min-height:168px;margin-top:10px;margin-bottom:18px;display:flex;align-items:center;overflow:hidden;border-left:5px solid #e31b2b;border-radius:5px;background-image:linear-gradient(90deg,rgba(4,6,8,.95) 0%,rgba(9,12,15,.89) 50%,rgba(10,12,14,.74) 100%),url('match-title-bg-v1.3.png');background-size:cover;background-position:center 46%;box-shadow:0 3px 12px rgba(0,0,0,.14)}
.lfcpr-vote-intro:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 0%,rgba(227,27,43,.05) 60%,rgba(227,27,43,.17) 100%);pointer-events:none}
.lfcpr-vote-intro-inner{position:relative;z-index:1;padding:24px 30px;max-width:860px}
.lfcpr-vote-intro-main{margin:0!important;color:#fff!important;font-family:"Arial Narrow",Impact,Haettenschweiler,sans-serif!important;font-size:25px!important;line-height:1.22!important;font-weight:800!important;letter-spacing:.2px!important;text-shadow:0 2px 5px rgba(0,0,0,.72)}
.lfcpr-vote-intro-brand{margin:13px 0 0!important;color:#f2f4f5!important;font-size:13px!important;line-height:1!important;font-weight:900!important;letter-spacing:.12em!important;text-transform:uppercase;text-shadow:0 1px 3px rgba(0,0,0,.8)}
.lfcpr-vote-intro-brand span{color:#e31b2b;padding:0 5px}
@media(max-width:700px){.lfcpr-banner-top,.lfcpr-vote-intro{width:100%!important;margin-left:0!important;margin-right:0!important;border-radius:0}.lfcpr-vote-intro{min-height:112px;margin-top:6px;margin-bottom:14px}.lfcpr-vote-intro-inner{padding:17px 16px}.lfcpr-vote-intro-main{font-size:18px!important;line-height:1.24!important}.lfcpr-vote-intro-brand{font-size:10px!important;margin-top:9px!important}}


/* v2.7.10 — mobile legend: no overlap, readable stacked rows */
@media(max-width:700px){
  .lfcpr .lfcpr-legend{
    grid-template-columns:1fr!important;
    gap:7px!important;
    overflow:visible!important;
    align-items:stretch!important;
  }
  .lfcpr .lfcpr-legend>div{
    display:grid!important;
    grid-template-columns:58px minmax(0,1fr)!important;
    gap:9px!important;
    align-items:center!important;
    min-width:0!important;
  }
  .lfcpr .lfcpr-swatch{
    width:58px!important;
    min-width:58px!important;
    max-width:58px!important;
    padding:7px 5px!important;
    font-size:12px!important;
    line-height:1.1!important;
  }
  .lfcpr .lfcpr-legend b{
    min-width:0!important;
    font-size:11px!important;
    line-height:1.3!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }
}


/* v2.7.11 / PR 1.7.1 — hard mobile legend layout + cache bust */
@media screen and (max-width:700px){
  .lfcpr .lfcpr-legend{
    display:flex!important;
    flex-direction:column!important;
    grid-template-columns:none!important;
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    gap:8px!important;
    padding:10px!important;
    margin:16px 12px!important;
    overflow:visible!important;
  }
  .lfcpr .lfcpr-legend > div{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    height:auto!important;
    gap:10px!important;
    margin:0!important;
    padding:0!important;
  }
  .lfcpr .lfcpr-legend .lfcpr-swatch{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 56px!important;
    width:56px!important;
    min-width:56px!important;
    max-width:56px!important;
    height:36px!important;
    min-height:36px!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:0 4px!important;
    font-size:12px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .lfcpr .lfcpr-legend > div > b{
    display:block!important;
    flex:1 1 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    font-size:11px!important;
    line-height:1.25!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }
}

/* v1.7.3 — desktop fan voting: never crop the full "Známka" placeholder */
@media screen and (min-width:801px){
  .lfcpr .lfcpr-player-head{grid-template-columns:84px minmax(0,1fr) 195px 76px}
  .lfcpr .lfcpr-fan-vote-row{grid-template-columns:104px minmax(max-content,1fr)}
  .lfcpr .lfcpr-fan-select{
    display:block!important;
    width:104px!important;
    min-width:104px!important;
    max-width:none!important;
    padding-left:9px!important;
    padding-right:27px!important;
    text-overflow:clip!important;
  }
  .lfcpr .lfcpr-fan-vote{white-space:nowrap}
}
