/* PB Power Rankings v5 — clean, readable, rounded editorial layout. */
.pb-pr{--pr-bg:#121d30;--pr-paper:#1b2b43;--pr-ink:#f7f4ea;--pr-muted:#aab6c8;--pr-line:#415168;--pr-accent:#ffcd29;--pr-red:#ff807d;--pr-green:#6ee0ae;--pr-body-font:system-ui,sans-serif;--pr-heading-font:system-ui,sans-serif;--pr-label-font:system-ui,sans-serif;--pr-roast-font:system-ui,sans-serif;background:var(--pr-bg);color:var(--pr-ink);padding:clamp(20px,4vw,46px);width:100%;box-sizing:border-box;overflow:hidden;font-family:var(--pr-body-font);border-radius:24px;line-height:1.6}
.pb-pr *{box-sizing:border-box}
.pb-pr--dark{--pr-bg:#121d30;--pr-paper:#1b2b43;--pr-ink:#f7f4ea;--pr-muted:#aab6c8;--pr-line:#415168;--pr-accent:#ffcd29;--pr-red:#ff807d;--pr-green:#6ee0ae}
.pb-pr--light{--pr-bg:#f5f0e6;--pr-paper:#fffdf8;--pr-ink:#171c27;--pr-muted:#59616e;--pr-line:#c9c4b8;--pr-accent:#b88708;--pr-red:#bb3835;--pr-green:#237d56}
.pb-pr-header{text-align:center;padding:12px 0 22px}
.pb-pr .pb-pr-header h2{font-family:var(--pr-heading-font)!important;font-weight:850!important;font-size:clamp(34px,6vw,68px)!important;line-height:1.08!important;letter-spacing:-.035em!important;color:var(--pr-ink)!important;margin:0 0 16px!important}
.pb-pr-header h2 em{font-style:normal;color:var(--pr-accent)}
.pb-pr-kicker{font-family:var(--pr-heading-font);font-weight:650;font-size:clamp(17px,2.5vw,25px)!important;line-height:1.35!important;margin:0 auto 14px!important;max-width:760px;color:var(--pr-ink)!important}
.pb-pr-intro{max-width:760px;margin:16px auto 0;text-align:left;color:var(--pr-ink);font-size:16px;line-height:1.75}
.pb-pr-intro p{margin:0 0 12px!important;color:inherit!important}
.pb-pr-list{display:grid;gap:20px;margin-top:20px}
.pb-pr-team{background:var(--pr-paper);border:1px solid var(--pr-line);border-radius:20px;padding:20px;min-width:0;overflow:hidden}
.pb-pr-team--first{box-shadow:inset 0 4px 0 var(--pr-accent)}
.pb-pr-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--pr-line);padding:0 0 14px}
.pb-pr-number{font-family:var(--pr-heading-font)!important;font-size:clamp(29px,4vw,42px);font-weight:850;line-height:1;color:var(--pr-accent)}
.pb-pr-movement{font-family:var(--pr-label-font)!important;font-size:13px;font-weight:750;line-height:1.2;padding:7px 12px;border:1px solid var(--pr-line);border-radius:999px;white-space:nowrap}
.pb-pr-movement--up{color:var(--pr-green)}.pb-pr-movement--down{color:var(--pr-red)}
.pb-pr-team-body{display:grid;grid-template-columns:76px minmax(0,1fr);gap:18px;padding:20px 0}
.pb-pr-logo,.pb-pr-extra-logo{width:76px;height:76px;background:rgba(127,127,127,.09);border:1px solid var(--pr-line);display:grid;place-items:center;overflow:hidden;border-radius:18px}
.pb-pr-logo img,.pb-pr-extra-logo img{max-width:100%;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.pb-pr-logo span,.pb-pr-extra-logo span{font-family:var(--pr-heading-font)!important;font-size:32px;font-weight:800;color:var(--pr-accent)}
.pb-pr [hidden]{display:none!important}
.pb-pr .pb-pr-team h3{font-family:var(--pr-heading-font)!important;font-weight:800!important;font-size:clamp(22px,3vw,32px)!important;line-height:1.2!important;letter-spacing:-.02em;margin:0 0 9px!important;color:var(--pr-ink)!important;overflow-wrap:anywhere}
.pb-pr .pb-pr-roast-title{font-family:var(--pr-roast-font)!important;font-size:clamp(17px,2vw,21px)!important;font-weight:750!important;font-style:normal!important;line-height:1.4!important;margin:8px 0 10px!important;color:var(--pr-accent)!important}
.pb-pr-note{font-family:var(--pr-body-font);font-size:16px;line-height:1.75;color:var(--pr-ink)}
.pb-pr-note p{margin:0 0 10px!important;color:inherit!important}
.pb-pr-stats{display:flex;flex-wrap:wrap;gap:10px;border-top:1px solid var(--pr-line);padding-top:16px}
.pb-pr-stats>span{padding:10px 14px;border:1px solid var(--pr-line);border-radius:13px;display:flex;flex-direction:column;gap:2px;min-width:95px}
.pb-pr-stats strong{font-family:var(--pr-label-font)!important;font-weight:800;font-size:16px;color:var(--pr-ink)}
.pb-pr-stats small{font-family:var(--pr-label-font)!important;font-size:11px;font-weight:650;letter-spacing:.025em;color:var(--pr-muted)}
.pb-pr-result{font-weight:800;font-size:12px;color:var(--pr-green)}.pb-pr-result--l{color:var(--pr-red)}
.pb-pr-extras{display:grid;gap:24px;margin-top:38px}
.pb-pr-extra{background:var(--pr-paper);padding:clamp(18px,3vw,30px);border:1px solid var(--pr-line);border-radius:20px;overflow:hidden}
.pb-pr .pb-pr-extra h3{font-family:var(--pr-heading-font)!important;font-weight:800!important;font-size:clamp(25px,4vw,43px)!important;line-height:1.2!important;margin:0 0 14px!important;color:var(--pr-ink)!important}
.pb-pr-extra-subtitle{font-size:16px;color:var(--pr-muted)!important;margin:0 0 20px!important}
.pb-pr-extra-list{display:grid;gap:12px}
.pb-pr-extra-item{display:flex;align-items:flex-start;gap:14px;border:1px solid var(--pr-line);border-radius:16px;padding:15px;min-width:0}
.pb-pr-extra-rank{font-family:var(--pr-heading-font)!important;font-size:27px;min-width:36px;font-weight:800;color:var(--pr-accent)}
.pb-pr-extra-logo{height:48px;width:48px;border-radius:14px;flex:none}
.pb-pr-extra-logo span{font-size:23px}
.pb-pr-extra-copy{flex:1;min-width:0}
.pb-pr .pb-pr-extra-item h4{font-family:var(--pr-heading-font)!important;font-size:20px!important;font-weight:750!important;line-height:1.3!important;margin:0 0 6px!important;color:var(--pr-ink)!important;overflow-wrap:anywhere}
.pb-pr-extra-copy div{font-family:var(--pr-body-font);font-size:15px;line-height:1.7;margin-top:8px;color:var(--pr-ink)}
.pb-pr-extra-copy p{margin:0 0 6px!important;color:inherit!important}
.pb-pr-extra-score{font-family:var(--pr-label-font)!important;background:var(--pr-accent);color:var(--pr-bg);padding:8px 11px;text-align:center;min-width:62px;display:flex;flex-direction:column;align-items:center;border-radius:13px}
.pb-pr-extra-score strong{font-size:21px;line-height:1.2}.pb-pr-extra-score small{font-size:11px;color:inherit}
@media(max-width:600px){.pb-pr{padding:15px;border-radius:18px}.pb-pr-team{padding:14px;border-radius:17px}.pb-pr-team-body{grid-template-columns:54px minmax(0,1fr);gap:12px}.pb-pr-logo{width:54px;height:54px;border-radius:13px}.pb-pr-stats>span{padding:8px 10px;min-width:82px}.pb-pr-extra-item{gap:9px;padding:11px}.pb-pr-extra-logo{height:38px;width:38px}.pb-pr-extra-rank{min-width:28px;font-size:23px}.pb-pr-extra-score{min-width:49px;padding:8px}}

/* v5: one compact header row and commissioner-controlled playoff/result fields. */
.pb-pr-card-header{display:none}
.pb-pr-team-body{display:grid;grid-template-columns:76px 52px minmax(0,1fr);gap:14px;align-items:center;padding:0 0 12px}
.pb-pr-rank-column{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0}
.pb-pr-number{font-size:clamp(29px,3.5vw,42px);line-height:1;font-weight:850}
.pb-pr-movement{font-size:11px;padding:4px 8px;line-height:1.25}
.pb-pr .pb-pr-team-main h3{margin:0 0 4px!important}
.pb-pr .pb-pr-team-main .pb-pr-roast-title{margin:4px 0 0!important}
.pb-pr-note{margin:0 0 12px 0}
.pb-pr-note p:last-child{margin-bottom:0!important}
.pb-pr-stats{gap:10px}
.pb-pr-week-result--w strong{color:var(--pr-green)}
.pb-pr-week-result--l strong{color:var(--pr-red)}
.pb-pr-stats .pb-pr-playoff-status{max-width:100%;overflow-wrap:anywhere}
@media(max-width:600px){.pb-pr-team-body{grid-template-columns:54px 36px minmax(0,1fr);gap:9px;padding-bottom:12px}.pb-pr-number{font-size:30px}.pb-pr-movement{font-size:10px;padding:3px 5px}.pb-pr-stats{gap:8px}}

/* v5.1: movement badge floats in the top-right of each card, never below the rank. */
.pb-pr-team{position:relative}
.pb-pr-team > .pb-pr-movement{position:absolute;top:15px;right:16px;z-index:1;display:inline-flex;align-items:center;justify-content:center;background:var(--pr-paper);border-radius:999px}
.pb-pr-team--has-movement .pb-pr-team-body{padding-right:64px}
@media(max-width:600px){.pb-pr-team > .pb-pr-movement{top:12px;right:12px}.pb-pr-team--has-movement .pb-pr-team-body{padding-right:35px}}

/* v5.3: optional image between the title and subheadline. */
.pb-pr .pb-pr-header-image{display:block;margin:0 auto 20px!important;max-width:100%;padding:0;border:0;background:transparent}
.pb-pr .pb-pr-header-image-img{display:block;width:100%;max-width:100%;height:auto;max-height:440px;object-fit:cover;object-position:center;border-radius:20px;box-shadow:none}
@media(max-width:600px){.pb-pr .pb-pr-header-image{margin-bottom:16px!important}.pb-pr .pb-pr-header-image-img{max-height:300px;border-radius:15px}}
