/* SITEWIDE1: shared presentation tokens; analytical renderers remain authoritative. */
:root {
 --petorka-page-bg:#f7f9fc; --petorka-surface:#fff; --petorka-surface-muted:#f1f4f8;
 --petorka-text:#0f172a; --petorka-text-muted:#52647c; --petorka-border:#dce4ee;
 --petorka-nav-bg:#0f172a; --petorka-accent:#9b2d30;
 --petorka-radius-sm:6px; --petorka-radius-md:10px; --petorka-radius-lg:18px;
 --petorka-control-height:42px; --petorka-content-max:1440px; --petorka-page-gutter:22px; --petorka-section-gap:24px;
 --petorka-font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 --site-page-bg:var(--petorka-page-bg);--site-panel-bg:var(--petorka-surface);--site-ink:var(--petorka-text);--site-muted:var(--petorka-text-muted);--site-line:var(--petorka-border);
 --page-bg:var(--petorka-page-bg);--surface:var(--petorka-surface);--border:var(--petorka-border);
}
html,body {background:var(--petorka-page-bg)!important;color:var(--petorka-text);font-family:var(--petorka-font)!important}
body :is(input,select,button,textarea){font-family:var(--petorka-font)}
body :is(.app,.page){background:transparent}
body :is(main.shell,.page-shell,.lin8-shell,.ea-home,#exp4-root>.exp4-shell,.app){max-width:var(--petorka-content-max);width:100%;margin-inline:auto;box-sizing:border-box}
body :is(main.shell,.page-shell,.lin8-shell,.ea-home){padding-inline:var(--petorka-page-gutter)}
body .page{padding-inline:var(--petorka-page-gutter)}
#petorka-header-v1 .petorka-header-inner,#petorka-footer-v1 .petorka-footer-inner{max-width:var(--petorka-content-max);padding-inline:var(--petorka-page-gutter)}
body :is(.petorka-context-page,.site-docs-glossary-main,.site-docs-methodology-main){width:100%;max-width:var(--petorka-content-max);padding-inline:var(--petorka-page-gutter);margin-inline:auto;box-sizing:border-box}
body :is(.petorka-context-page,.site-docs-methodology-main)>:is(p,section){max-width:960px}
body :is(.page-heading h1,.lin8-hero h1,.sectionTitle,.site-docs-glossary-main>h1,.site-docs-methodology-main>h1,.petorka-context-page>h1){font:800 34px/1.15 var(--petorka-font);letter-spacing:-.035em;color:var(--petorka-text)}
body :is(.eyebrow,.lin8-kicker,.sectionKicker,.petorka-kicker){font:800 11px/1.4 var(--petorka-font);letter-spacing:.1em}
body :is(.control-bar,.lin8-controls,.filters,.exp4-filters){background:var(--petorka-surface);border-color:var(--petorka-border);border-radius:var(--petorka-radius-md)}
body :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:var(--petorka-control-height);border-radius:var(--petorka-radius-sm);border-color:var(--petorka-border);font-size:14px}
body :is(.ghost-button,.button-link,.lin8-btn,.lin8-actions button){display:inline-flex;align-items:center;justify-content:center;min-height:var(--petorka-control-height);border:1px solid var(--petorka-border);border-radius:var(--petorka-radius-sm);background:var(--petorka-surface);color:var(--petorka-text);padding:0 12px;font-size:13px;font-weight:700;text-decoration:none}
body :is(.table-wrap,.lin8-table-wrap,.family,.card){border-color:var(--petorka-border);border-radius:var(--petorka-radius-md)}
body :is(.table-wrap,.lin8-table-wrap){max-width:100%;overflow:auto;overscroll-behavior-x:contain}
body :is(.lin8-tab,.tabs>.tab){min-height:42px}
body :is(a,button,input,select,summary,[tabindex]):focus-visible{outline:3px solid #2563a6!important;outline-offset:3px!important}
body button:disabled{opacity:.55;cursor:not-allowed}
body .petorka-utility{position:relative!important;top:auto!important;background:transparent!important;color:var(--petorka-text)!important;border:0!important;max-width:var(--petorka-content-max);margin-inline:auto;padding:12px var(--petorka-page-gutter)!important;width:100%;box-sizing:border-box}
body .petorka-utility .topin{width:100%;height:auto;min-height:42px!important;padding:0!important}
body .petorka-utility :is(.brand,.nav,.globalLinks){display:none!important}
body .petorka-utility :is(.search,.globalSearch){margin-left:auto;width:min(430px,100%)!important;max-width:none!important}
body .petorka-utility input{background:#fff!important;color:var(--petorka-text)!important;border-color:var(--petorka-border)!important}
body .petorka-utility input::placeholder{color:var(--petorka-text-muted)}
.sw-scroll-hint{display:none;font-size:11px;color:var(--petorka-text-muted);margin:3px 0 8px}
@media(max-width:768px){
 :root{--petorka-page-gutter:14px}
 body :is(.page-heading,.team-hero,.sectionHead,.lin8-meta){flex-wrap:wrap;gap:12px}
 body .lin8-controls{position:relative;top:auto}
 body :is(.page-heading h1,.lin8-hero h1,.sectionTitle,.site-docs-glossary-main>h1,.site-docs-methodology-main>h1,.petorka-context-page>h1){font-size:28px}
 body .petorka-utility :is(.search,.globalSearch){width:100%!important}
 body :is(.lin8-tabs,.metric-groups,.team-tabs){overflow-x:auto;flex-wrap:nowrap;max-width:100%;padding-right:28px;scroll-padding-inline:12px;scroll-snap-type:x proximity}
 body :is(.lin8-tabs,.metric-groups,.team-tabs)>*{flex-shrink:0;scroll-snap-align:start}
 .sw-scroll-hint{display:block}
 body :is([role=dialog],.site-docs-popover){max-width:calc(100vw - 28px);max-height:85vh;overflow:auto}
}

/* Diagnostic follow-up: bounded resource nav and footer help, no table overlap. */
body .sw-resources{position:relative;top:auto;background:transparent;min-height:42px;max-width:1440px;margin:auto;padding:8px var(--petorka-page-gutter);justify-content:flex-end}
body .sw-resources .brand{display:none!important}
#petorka-footer-v1 #site-docs-launcher{position:static!important;inset:auto!important;transform:none!important;display:block!important;margin:16px var(--petorka-page-gutter) 0 auto!important;float:none!important}
body .sw-scroll-hint{background:var(--petorka-page-bg)}
@media(max-width:768px){body .lin8-meta{display:block}body .lin8-actions{margin-top:10px;flex-wrap:wrap}body .lin8-tabs{mask-image:linear-gradient(to right,#000 calc(100% - 20px),transparent)}}

/* PETORKA_LAUNCHPOLISH1_FINAL_PRESENTATION */
/* Explorer is a normal product page, not a profile/marketing hero. */
#exp4-root .header h1{
  font:800 34px/1.15 var(--petorka-font)!important;
  letter-spacing:-.035em!important;
  color:var(--petorka-text)!important;
}

/* Keep the Teams metric-family selector on one deliberate horizontal rail. */
body .metric-groups{
  display:flex!important;
  flex-wrap:nowrap!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  max-width:100%!important;
  padding-right:28px!important;
  scroll-padding-inline:12px;
  scroll-snap-type:x proximity;
  overscroll-behavior-x:contain;
}
body .metric-groups > *{
  flex:0 0 auto!important;
  scroll-snap-align:start;
}

/* Referee mobile controls: readable native select + deliberate horizontal sorting rail. */
@media(max-width:760px){
  body .mobileSort{
    overflow-x:auto;
    overflow-y:hidden;
    max-width:100%;
    padding-right:28px!important;
    scroll-padding-inline:12px;
    scroll-snap-type:x proximity;
    overscroll-behavior-x:contain;
    mask-image:linear-gradient(to right,#000 calc(100% - 20px),transparent);
  }
  body .mobileSort > *{
    flex:0 0 auto;
    scroll-snap-align:start;
  }
  body #qual{
    font-size:12px;
    padding-right:30px;
  }
}
@media(max-width:768px){
  #exp4-root .header h1{font-size:28px!important;}
}

/* PETORKA_LAUNCHPOLISH2_FINAL_UI */

/* One PETORKA mobile horizontal-rail language. */
@media(max-width:768px){
  .petorka-scroll-rail{
    overflow-x:auto!important;
    overflow-y:hidden!important;
    flex-wrap:nowrap!important;
    max-width:100%!important;
    padding-right:28px!important;
    scroll-padding-inline:12px!important;
    scroll-snap-type:x proximity!important;
    overscroll-behavior-x:contain!important;
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
    mask-image:linear-gradient(to right,#000 calc(100% - 22px),transparent)!important;
  }
  .petorka-scroll-rail::-webkit-scrollbar{display:none!important}
  .petorka-scroll-rail > *{
    flex:0 0 auto!important;
    scroll-snap-align:start!important;
  }
  .sw-scroll-hint{display:none!important}
  .v1-nav-rail{display:none!important}
}

/* Teams: fit the complete metric-family row at the 1280 desktop review width. */
@media(min-width:1000px) and (max-width:1320px){
  #metric-groups.metric-groups{
    gap:6px!important;
    padding-right:0!important;
  }
  #metric-groups.metric-groups button{
    padding:8px 9px!important;
    font-size:12px!important;
    letter-spacing:-.01em!important;
  }
}
@media(min-width:1180px){
  #metric-groups.metric-groups{
    overflow-x:visible!important;
    mask-image:none!important;
  }
}

/* Lineups mobile: summary first, actions second. */
@media(max-width:430px){
  .lin8-meta{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:9px!important;
    align-items:start!important;
    width:100%!important;
  }
  .lin8-meta > :first-child{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    line-height:1.45!important;
  }
  .lin8-actions{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
    width:100%!important;
    margin-top:0!important;
  }
  .lin8-actions .lin8-btn,
  .lin8-actions button,
  .lin8-actions a{
    width:100%!important;
    min-width:0!important;
    padding-inline:6px!important;
    white-space:nowrap!important;
    font-size:11px!important;
  }
}

/* Referees mobile: Season / name filter / View are full-width stacked controls. */
@media(max-width:430px){
  body .controls{
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
  }
  body .controls > div,
  body .controls label,
  body .controls .control{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  body #qual{
    width:100%!important;
    min-width:0!important;
    font-size:13px!important;
    padding-right:34px!important;
    text-overflow:clip!important;
  }
}

/* About: comfortable reading measure without redesigning the page. */
.petorka-context-page > section,
.petorka-context-page > p{
  max-width:900px!important;
}

/* PETORKA_LAUNCHPOLISH3_CANONICAL_COMPONENT_SYSTEM */

:root{
  --pk-tab-font:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pk-tab-size:16px;
  --pk-tab-weight:760;
  --pk-control-height:44px;
  --pk-control-radius:8px;
  --pk-surface-radius:12px;
  --pk-border:#d8dee8;
  --pk-text:#101828;
  --pk-muted:#667085;
  --pk-accent:#8f1d24;
}

/* Canonical primary analytical tabs */
.pk-primary-tabs{
  display:flex!important;
  align-items:flex-end!important;
  gap:22px!important;
  border-bottom:1px solid var(--pk-border)!important;
  background:transparent!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  scroll-snap-type:x proximity!important;
  scroll-padding-inline:8px!important;
  padding:0 34px 0 0!important;
  margin:0!important;
  mask-image:linear-gradient(to right,#000 calc(100% - 22px),transparent)!important;
}
.pk-primary-tabs::-webkit-scrollbar{display:none!important}
.pk-primary-tabs > *{
  flex:0 0 auto!important;
  scroll-snap-align:start!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--pk-muted)!important;
  font-family:var(--pk-tab-font)!important;
  font-size:var(--pk-tab-size)!important;
  font-weight:var(--pk-tab-weight)!important;
  line-height:1.25!important;
  padding:12px 0 10px!important;
  margin:0!important;
  min-height:auto!important;
  white-space:nowrap!important;
  position:relative!important;
}
.pk-primary-tabs > *.active,
.pk-primary-tabs > *[aria-selected="true"],
.pk-primary-tabs > *[aria-current="page"]{
  color:var(--pk-text)!important;
}
.pk-primary-tabs > *.active::after,
.pk-primary-tabs > *[aria-selected="true"]::after,
.pk-primary-tabs > *[aria-current="page"]::after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:-1px!important;
  height:2px!important;
  background:var(--pk-accent)!important;
  border-radius:2px 2px 0 0!important;
}

/* Secondary mode controls, not primary tabs */
.pk-segmented{
  display:inline-flex!important;
  align-items:center!important;
  gap:0!important;
  padding:3px!important;
  border:1px solid var(--pk-border)!important;
  border-radius:10px!important;
  background:#f3f5f8!important;
}
.pk-segmented > *{
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  min-height:36px!important;
  padding:7px 14px!important;
  font-family:var(--petorka-font)!important;
  font-size:13px!important;
  font-weight:700!important;
  color:var(--pk-muted)!important;
  box-shadow:none!important;
}
.pk-segmented > *.active,
.pk-segmented > *[aria-selected="true"]{
  background:#fff!important;
  color:var(--pk-text)!important;
  box-shadow:0 1px 2px rgba(16,24,40,.08)!important;
}

/* Shared filter surface */
.pk-filter-surface{
  background:#fff!important;
  border:1px solid var(--pk-border)!important;
  border-radius:var(--pk-surface-radius)!important;
  padding:14px!important;
  box-shadow:none!important;
}
.pk-filter-surface label,
.pk-filter-surface .label{
  font-family:var(--petorka-font)!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  color:var(--pk-muted)!important;
}
.pk-filter-surface input,
.pk-filter-surface select{
  min-height:var(--pk-control-height)!important;
  border:1px solid var(--pk-border)!important;
  border-radius:var(--pk-control-radius)!important;
  background:#fff!important;
  font-family:var(--petorka-font)!important;
  font-size:14px!important;
  color:var(--pk-text)!important;
}

/* Shared analytical table shell */
.pk-table-shell{
  background:#fff!important;
  border:1px solid var(--pk-border)!important;
  border-radius:12px!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
.pk-table-shell table{
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  font-family:var(--petorka-font)!important;
}
.pk-table-shell th{
  background:#f6f8fb!important;
  color:#475467!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.2!important;
  letter-spacing:.02em!important;
}
.pk-table-shell td{
  color:#101828!important;
  font-size:14px!important;
  line-height:1.25!important;
}
.pk-table-shell th,
.pk-table-shell td{
  border-color:#e4e7ec!important;
  padding:11px 10px!important;
}

/* Player SI inherits Player Shooting typography */
#si6-player-section{
  font-family:var(--petorka-font)!important;
  color:var(--pk-text)!important;
}
#si6-player-section h2{
  font-family:var(--petorka-font)!important;
  font-weight:800!important;
  letter-spacing:-.02em!important;
}
#si6-player-section th{
  font-family:var(--petorka-font)!important;
  font-size:9.28px!important;
  font-weight:900!important;
  color:#475467!important;
  background:#f6f8fb!important;
}
#si6-player-section td{
  font-family:var(--petorka-font)!important;
  font-size:16px!important;
  font-weight:650!important;
  color:#101828!important;
  padding-block:12px!important;
}

/* Explorer SI inherits Explorer Shooting typography */
#si6-explorer{
  font-family:var(--petorka-font)!important;
  color:var(--pk-text)!important;
}
#si6-explorer th{
  font-family:var(--petorka-font)!important;
  font-size:10px!important;
  font-weight:900!important;
  color:#475467!important;
  background:#f6f8fb!important;
}
#si6-explorer td{
  font-family:var(--petorka-font)!important;
  font-size:14px!important;
  font-weight:400!important;
  color:#101828!important;
  padding-block:11px!important;
}
#si6-explorer input,
#si6-explorer select{
  min-height:var(--pk-control-height)!important;
  border:1px solid var(--pk-border)!important;
  border-radius:var(--pk-control-radius)!important;
  font-family:var(--petorka-font)!important;
  font-size:14px!important;
}

/* Teams metric families become primary analytical tabs */
#metric-groups.pk-primary-tabs button{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  padding-inline:0!important;
}

/* Tertiary resource navigation */
.pk-resource-nav{
  display:flex!important;
  align-items:center!important;
  gap:18px!important;
  color:var(--pk-muted)!important;
  font-family:var(--petorka-font)!important;
  font-size:13px!important;
  font-weight:600!important;
}
.pk-resource-nav a,
.pk-resource-nav button{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:4px 0!important;
  color:inherit!important;
  font:inherit!important;
}
.pk-duplicate-resource-nav{display:none!important}

@media(max-width:768px){
  .pk-primary-tabs{
    gap:18px!important;
    padding-right:34px!important;
  }
  .pk-segmented{
    max-width:100%!important;
    overflow-x:auto!important;
    scrollbar-width:none!important;
  }
  .pk-segmented::-webkit-scrollbar{display:none!important}
}

/* PETORKA_LAUNCHPOLISH4_FINAL_COMPONENT_FIDELITY */

:root{
  --pk4-ink:#101828;
  --pk4-muted:#667085;
  --pk4-border:#d8dee8;
  --pk4-surface:#ffffff;
  --pk4-soft:#f3f5f8;
  --pk4-accent:#8f1d24;
  --pk4-navy:#101828;
}

/* ------------------------------------------------------------------
   1) Secondary controls: one strong active-state system everywhere.
   ------------------------------------------------------------------ */
.pk-segmented{
  display:inline-flex!important;
  align-items:center!important;
  gap:2px!important;
  padding:3px!important;
  border:1px solid var(--pk4-border)!important;
  border-radius:10px!important;
  background:var(--pk4-soft)!important;
  box-shadow:none!important;
}
.pk-segmented > *{
  min-height:36px!important;
  padding:7px 14px!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  color:var(--pk4-muted)!important;
  font-family:var(--petorka-font)!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.2!important;
  box-shadow:none!important;
}
.pk-segmented > *.active,
.pk-segmented > *[aria-selected="true"],
.pk-segmented > *[aria-pressed="true"]{
  background:var(--pk4-navy)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.pk-segmented > *:focus-visible{
  outline:3px solid rgba(143,29,36,.18)!important;
  outline-offset:2px!important;
}

#si6-player-section .v1-families,
#si6-explorer .v1-families,
#si6-player-section .v1-sides,
#si6-explorer .v1-sides{
  margin:0!important;
}

#si6-player-section .v1-about > summary,
#si6-explorer .v1-about > summary{
  display:inline-flex!important;
  align-items:center!important;
  min-height:36px!important;
  padding:7px 12px!important;
  border:1px solid var(--pk4-border)!important;
  border-radius:8px!important;
  background:#fff!important;
  color:var(--pk4-ink)!important;
  font-size:12px!important;
  font-weight:800!important;
  cursor:pointer!important;
  list-style:none!important;
}
#si6-player-section .v1-about > summary::-webkit-details-marker,
#si6-explorer .v1-about > summary::-webkit-details-marker{display:none!important}
#si6-player-section .v1-about[open] > summary,
#si6-explorer .v1-about[open] > summary{
  border-color:#b8c0cc!important;
  background:#f8fafc!important;
}

/* SI now inherits more than typography: native link color, row rhythm, shell. */
#si6-explorer .v1-identity a,
#si6-explorer tbody td:first-child a{
  color:var(--pk4-accent)!important;
  font-weight:800!important;
  text-decoration:none!important;
}
#si6-explorer .v1-identity a:hover,
#si6-explorer tbody td:first-child a:hover{text-decoration:underline!important}

#si6-player-section .v1-two-pane,
#si6-explorer .v1-two-pane{
  border:1px solid var(--pk4-border)!important;
  border-radius:12px!important;
  background:#fff!important;
  overflow:hidden!important;
}
#si6-player-section table,
#si6-explorer table{
  border-collapse:separate!important;
  border-spacing:0!important;
}
#si6-player-section th,
#si6-explorer th{
  background:#f6f8fb!important;
  color:#475467!important;
  border-color:#e4e7ec!important;
}
#si6-player-section td,
#si6-explorer td{
  border-color:#e4e7ec!important;
}
#si6-player-section .v1-secondary,
#si6-explorer .v1-secondary{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:10px!important;
}

/* ------------------------------------------------------------------
   2) Teams analytical navigation: exact Lineups-style grammar.
   ------------------------------------------------------------------ */
#metric-groups.pk-primary-tabs,
.team-tabs.pk-primary-tabs{
  gap:26px!important;
  border-bottom:1px solid var(--pk4-border)!important;
  padding-right:0!important;
}
#metric-groups.pk-primary-tabs > button,
.team-tabs.pk-primary-tabs > button{
  min-height:auto!important;
  padding:12px 0 10px!important;
  font-family:var(--pk-tab-font)!important;
  font-size:var(--pk-tab-size)!important;
  font-weight:var(--pk-tab-weight)!important;
  line-height:1.25!important;
  letter-spacing:normal!important;
  color:var(--pk4-muted)!important;
}
#metric-groups.pk-primary-tabs > button.active,
.team-tabs.pk-primary-tabs > button.active,
.team-tabs.pk-primary-tabs > button[aria-selected="true"]{
  color:var(--pk4-ink)!important;
}

/* ------------------------------------------------------------------
   3) Mobile analytical rails: no floating chevron; one edge-fade model.
   ------------------------------------------------------------------ */
.v1-nav-rail{display:none!important}
.pk-primary-tabs{
  mask-image:none!important;
  -webkit-mask-image:none!important;
}
@media(max-width:720px){
  .pk-primary-tabs{
    padding-right:24px!important;
    scroll-behavior:smooth!important;
    overscroll-behavior-inline:contain!important;
  }
  .pk-primary-tabs[data-pk-rail-overflow="1"][data-pk-rail-start="1"]{
    -webkit-mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 28px),transparent 100%)!important;
    mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 28px),transparent 100%)!important;
  }
  .pk-primary-tabs[data-pk-rail-overflow="1"][data-pk-rail-start="0"][data-pk-rail-end="0"]{
    -webkit-mask-image:linear-gradient(to right,transparent 0,#000 22px,#000 calc(100% - 28px),transparent 100%)!important;
    mask-image:linear-gradient(to right,transparent 0,#000 22px,#000 calc(100% - 28px),transparent 100%)!important;
  }
  .pk-primary-tabs[data-pk-rail-overflow="1"][data-pk-rail-end="1"]{
    -webkit-mask-image:linear-gradient(to right,transparent 0,#000 22px,#000 100%)!important;
    mask-image:linear-gradient(to right,transparent 0,#000 22px,#000 100%)!important;
  }
}

/* ------------------------------------------------------------------
   4) Referee Profile: stop enlarging marginal headshots into giant art.
   ------------------------------------------------------------------ */
body.pk-referee-profile .playerHero{
  padding-right:320px!important;
}
body.pk-referee-profile .heroPortrait{
  right:42px!important;
  bottom:22px!important;
  width:220px!important;
  height:240px!important;
  border:1px solid rgba(16,24,40,.10)!important;
  border-radius:16px!important;
  overflow:hidden!important;
  background:#eef1f5!important;
  box-shadow:0 8px 22px rgba(16,24,40,.10)!important;
}
body.pk-referee-profile .heroPortrait img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center 18%!important;
}
body.pk-referee-profile .crewCta[aria-disabled="true"]{
  background:#e7e9ed!important;
  border-color:#d5d9df!important;
  color:#69707a!important;
}
@media(max-width:720px){
  body.pk-referee-profile .playerHero{
    padding-right:18px!important;
    padding-bottom:176px!important;
  }
  body.pk-referee-profile .heroPortrait{
    right:16px!important;
    bottom:16px!important;
    width:140px!important;
    height:145px!important;
    border-radius:13px!important;
  }
}

/* ------------------------------------------------------------------
   5) Teams-family tertiary resources + export language.
   ------------------------------------------------------------------ */
.pk-team-resource-nav{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:16px!important;
}
.pk-team-resource-nav a{
  min-height:auto!important;
  padding:2px 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#475467!important;
  font-size:13px!important;
  font-weight:800!important;
  text-decoration:none!important;
}
.pk-team-resource-nav a:hover,
.pk-team-resource-nav a[aria-current="page"],
.pk-team-resource-nav a.active{
  color:var(--pk4-accent)!important;
  text-decoration:underline!important;
  text-underline-offset:4px!important;
}
.pk-team-resource-nav a[aria-current="page"],
.pk-team-resource-nav a.active{
  text-decoration-thickness:2px!important;
}

/* ------------------------------------------------------------------
   6) Editorial pages: professional reading measure.
   ------------------------------------------------------------------ */
main.petorka-context-page{
  width:min(calc(100% - 36px),820px)!important;
  max-width:820px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
main.petorka-context-page p,
main.petorka-context-page li{
  max-width:74ch!important;
}
.site-docs-methodology-main{
  width:min(calc(100% - 36px),900px)!important;
  max-width:900px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.site-docs-methodology-main > p,
.site-docs-methodology-main .petorka-methodology-overview > p,
.site-docs-methodology-main .site-docs-prose-card > p{
  max-width:76ch!important;
}

/* Small-screen control wrapping should look intentional, not clipped. */
@media(max-width:600px){
  #si6-player-section .pk-segmented,
  #si6-explorer .pk-segmented{
    max-width:100%!important;
    overflow-x:auto!important;
    scrollbar-width:none!important;
  }
  #si6-player-section .pk-segmented::-webkit-scrollbar,
  #si6-explorer .pk-segmented::-webkit-scrollbar{display:none!important}
  #si6-player-section .pk-segmented > *,
  #si6-explorer .pk-segmented > *{
    flex:0 0 auto!important;
    padding-inline:11px!important;
  }
}

/* PETORKA_LAUNCHPOLISH5_NATIVE_SHELL_RELEASE_CANDIDATE */

:root{
  --pk5-player-season-w:104px;
  --pk5-player-team-w:184px;
  --pk5-player-age-w:64px;
  --pk5-player-pos-w:64px;
  --pk5-player-min-w:72px;
  --pk5-player-meta-font:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pk5-player-meta-size:16px;
  --pk5-player-meta-weight:650;
  --pk5-player-meta-line:normal;
  --pk5-player-metric-weight:650;
  --pk5-player-heat-radius:9px;
  --pk5-player-heat-weight:950;
  --pk5-explorer-metric-weight:400;
  --pk5-explorer-heat-radius:999px;
  --pk5-explorer-heat-weight:950;
  --pk5-rail-bg:#fff;
}

/* ---------------------------------------------------------------
   PLAYER SHOT INFLUENCE — native Player identity shell
   --------------------------------------------------------------- */
#si6-player-section table[data-pk5-player-identity-shell="1"]{
  min-width:1320px!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
#si6-player-section table[data-pk5-player-identity-shell="1"] th.pk5-meta-season,
#si6-player-section table[data-pk5-player-identity-shell="1"] td.pk5-meta-season{width:var(--pk5-player-season-w)!important;min-width:var(--pk5-player-season-w)!important}
#si6-player-section table[data-pk5-player-identity-shell="1"] th.pk5-meta-team,
#si6-player-section table[data-pk5-player-identity-shell="1"] td.pk5-meta-team{width:var(--pk5-player-team-w)!important;min-width:var(--pk5-player-team-w)!important}
#si6-player-section table[data-pk5-player-identity-shell="1"] th.pk5-meta-age,
#si6-player-section table[data-pk5-player-identity-shell="1"] td.pk5-meta-age{width:var(--pk5-player-age-w)!important;min-width:var(--pk5-player-age-w)!important}
#si6-player-section table[data-pk5-player-identity-shell="1"] th.pk5-meta-pos,
#si6-player-section table[data-pk5-player-identity-shell="1"] td.pk5-meta-pos{width:var(--pk5-player-pos-w)!important;min-width:var(--pk5-player-pos-w)!important}
#si6-player-section table[data-pk5-player-identity-shell="1"] th.pk5-meta-min,
#si6-player-section table[data-pk5-player-identity-shell="1"] td.pk5-meta-min{width:var(--pk5-player-min-w)!important;min-width:var(--pk5-player-min-w)!important}

#si6-player-section table[data-pk5-player-identity-shell="1"] th.pk5-native-meta{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
  font-size:9.28px!important;
  font-weight:900!important;
  line-height:normal!important;
  color:rgb(92, 102, 113)!important;
  text-align:left!important;
  padding:7px 8px 7px 8px!important;
  vertical-align:middle!important;
}
#si6-player-section table[data-pk5-player-identity-shell="1"] td.pk5-native-meta{
  font-family:var(--pk5-player-meta-font)!important;
  font-size:var(--pk5-player-meta-size)!important;
  font-weight:var(--pk5-player-meta-weight)!important;
  line-height:var(--pk5-player-meta-line)!important;
  color:rgb(15, 23, 42)!important;
  vertical-align:middle!important;
}

/* Exact native Player metadata projection — column by column.
   The native table does not use one identical computed line-height/color contract
   for every identity column, so LP5 must copy each column's real authority rather
   than projecting Season typography onto Team/Age/Pos/Min. */
#si6-player-section table[data-pk5-player-identity-shell="1"] td.pk5-meta-season{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
  font-size:16px!important;
  font-weight:650!important;
  line-height:normal!important;
  color:rgb(15, 23, 42)!important;
  text-align:left!important;
}
#si6-player-section table[data-pk5-player-identity-shell="1"] td.pk5-meta-team{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
  font-size:16px!important;
  font-weight:650!important;
  line-height:19.2px!important;
  color:rgb(15, 23, 42)!important;
  text-align:left!important;
}
#si6-player-section table[data-pk5-player-identity-shell="1"] td.pk5-meta-age{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
  font-size:16px!important;
  font-weight:650!important;
  line-height:normal!important;
  color:rgb(15, 23, 42)!important;
  text-align:center!important;
}
#si6-player-section table[data-pk5-player-identity-shell="1"] td.pk5-meta-pos{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
  font-size:16px!important;
  font-weight:650!important;
  line-height:normal!important;
  color:rgb(15, 23, 42)!important;
  text-align:center!important;
}
#si6-player-section table[data-pk5-player-identity-shell="1"] td.pk5-meta-min{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
  font-size:16px!important;
  font-weight:650!important;
  line-height:normal!important;
  color:rgb(15, 23, 42)!important;
  text-align:center!important;
}

/* Exact native Player header projection — same principle. */
#si6-player-section table[data-pk5-player-identity-shell="1"] th.pk5-meta-season{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
  font-size:9.28px!important;
  font-weight:900!important;
  line-height:normal!important;
  color:rgb(92, 102, 113)!important;
  text-align:left!important;
}
#si6-player-section table[data-pk5-player-identity-shell="1"] th.pk5-meta-team{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
  font-size:9.28px!important;
  font-weight:900!important;
  line-height:11.136px!important;
  color:rgb(92, 102, 113)!important;
  text-align:left!important;
}
#si6-player-section table[data-pk5-player-identity-shell="1"] th.pk5-meta-age{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
  font-size:9.28px!important;
  font-weight:900!important;
  line-height:normal!important;
  color:rgb(92, 102, 113)!important;
  text-align:center!important;
}
#si6-player-section table[data-pk5-player-identity-shell="1"] th.pk5-meta-pos{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
  font-size:9.28px!important;
  font-weight:900!important;
  line-height:normal!important;
  color:rgb(92, 102, 113)!important;
  text-align:center!important;
}
#si6-player-section table[data-pk5-player-identity-shell="1"] th.pk5-meta-min{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
  font-size:9.28px!important;
  font-weight:900!important;
  line-height:normal!important;
  color:rgb(92, 102, 113)!important;
  text-align:center!important;
}
#si6-player-section table[data-pk5-player-identity-shell="1"] td.pk5-meta-age,
#si6-player-section table[data-pk5-player-identity-shell="1"] td.pk5-meta-pos,
#si6-player-section table[data-pk5-player-identity-shell="1"] td.pk5-meta-min,
#si6-player-section table[data-pk5-player-identity-shell="1"] th.pk5-meta-age,
#si6-player-section table[data-pk5-player-identity-shell="1"] th.pk5-meta-pos,
#si6-player-section table[data-pk5-player-identity-shell="1"] th.pk5-meta-min{
  text-align:center!important;
}

/* The certified SI renderer is two-pane: identity left, metrics right.
   Keep the pane as one horizontal analytical surface after expanding identity. */
#si6-player-section .v1-two-pane{
  overflow-x:auto!important;
  overflow-y:visible!important;
}
#si6-player-section .v1-two-pane > *{
  flex:0 0 auto!important;
}
#si6-player-section .pk5-meta-main{font:inherit!important;font-weight:inherit!important;color:inherit!important}
#si6-player-section .pk5-meta-sub{
  margin-top:3px!important;
  color:#667085!important;
  font-size:11px!important;
  font-weight:600!important;
  line-height:1.15!important;
}
#si6-player-section td.pk5-si-metric{
  font-weight:var(--pk5-player-metric-weight)!important;
}
#si6-player-section .pk5-heat-chip{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
  font-size:11.52px!important;
  font-weight:950!important;
  line-height:11.52px!important;
  letter-spacing:normal!important;
  border-radius:9px!important;
  padding:0px 7px 0px 7px!important;
  min-width:38px!important;
  height:30px!important;
  text-align:center!important;
}
#si6-player-section h2,
#si6-player-section h3{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
  font-weight:850!important;
  letter-spacing:normal!important;
}

/* ---------------------------------------------------------------
   EXPLORER SHOT INFLUENCE — native Explorer analytical grammar
   --------------------------------------------------------------- */
#si6-explorer td.pk5-si-metric{
  font-weight:var(--pk5-explorer-metric-weight)!important;
}
#si6-explorer .pk5-heat-chip{
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
  font-size:11px!important;
  font-weight:950!important;
  line-height:13.75px!important;
  letter-spacing:normal!important;
  border-radius:999px!important;
  padding:4px 7px 4px 7px!important;
  min-width:38px!important;
  height:21.75px!important;
  text-align:center!important;
}
#si6-explorer h2,
#si6-explorer h3{
  font-family:var(--petorka-font)!important;
  font-weight:800!important;
  letter-spacing:normal!important;
}

/* The badge is one system: rounded-square, never circular. */
#si6-player-section .pk5-heat-chip,
#si6-explorer .pk5-heat-chip{
  aspect-ratio:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}

/* ---------------------------------------------------------------
   MOBILE PRIMARY RAIL — real overlay fades, no text-fragment UI
   --------------------------------------------------------------- */
.v1-nav-rail,
.pk5-legacy-rail-arrow{display:none!important}

.pk5-rail-shell{
  position:relative!important;
  min-width:0!important;
}
.pk5-rail-shell > .pk-primary-tabs{
  -webkit-mask-image:none!important;
  mask-image:none!important;
  padding-right:0!important;
}
.pk5-rail-fade{
  display:none;
  position:absolute;
  top:0;
  bottom:1px;
  width:48px;
  z-index:8;
  pointer-events:none;
}
.pk5-rail-fade-left{
  left:0;
  background:linear-gradient(90deg,var(--pk5-rail-bg) 0,var(--pk5-rail-bg) 28%,rgba(255,255,255,.90) 48%,rgba(255,255,255,0) 100%);
}
.pk5-rail-fade-right{
  right:0;
  background:linear-gradient(270deg,var(--pk5-rail-bg) 0,var(--pk5-rail-bg) 28%,rgba(255,255,255,.90) 48%,rgba(255,255,255,0) 100%);
}
@media(max-width:720px){
  .pk5-rail-shell[data-pk5-overflow="1"][data-pk5-start="1"] > .pk5-rail-fade-right{display:block}
  .pk5-rail-shell[data-pk5-overflow="1"][data-pk5-start="0"][data-pk5-end="0"] > .pk5-rail-fade-left,
  .pk5-rail-shell[data-pk5-overflow="1"][data-pk5-start="0"][data-pk5-end="0"] > .pk5-rail-fade-right{display:block}
  .pk5-rail-shell[data-pk5-overflow="1"][data-pk5-end="1"] > .pk5-rail-fade-left{display:block}
}

/* ---------------------------------------------------------------
   TEAM DOCS — no sticky collision / no duplicate resource row
   --------------------------------------------------------------- */
body.pk5-team-doc table thead,
body.pk5-team-doc table thead tr,
body.pk5-team-doc table thead th{
  position:static!important;
  top:auto!important;
}
body.pk5-team-doc .pk5-duplicate-team-resource{display:none!important}

/* Standalone Methodology is a Learn-family document but there is no
   Methodology item in the global header. Do not falsely mark Glossary. */
body.pk5-methodology-standalone header a.active,
body.pk5-methodology-standalone header a[aria-current="page"]{
  /* JS removes state; this is only a defensive visual guard. */
}

/* Preserve LP4 referee card / editorial improvements. */

/* PETORKA_PLAYER5_EXACT_GEOMETRY */

/* Native Player typography requested by product owner. */
.family .longtable th,
#si6-player-section .pk5-si-visible .longtable th{
  font-weight:900!important;
}

.family .longtable tbody td:nth-child(n+3),
.family .longtable .value,
#si6-player-section .pk5-si-visible .longtable tbody td:nth-child(n+3),
#si6-player-section .pk5-si-visible .longtable .value{
  font-weight:400!important;
}

.family .longtable .pct-badge,
#si6-player-section .pk5-si-visible .longtable .pct-badge{
  font-weight:950!important;
}

/* Old SI two-pane presentation becomes hidden data/runtime source only. */
#si6-player-section .v1-two-pane.pk5-si-source{
  display:none!important;
}

#si6-player-section .pk5-si-visible{
  width:100%;
  margin-top:12px;
}

#si6-player-section .pk5-si-visible .tablewrap{
  margin:0!important;
  overflow-x:auto!important;
}

/* Critical: do not let the browser redistribute spare width. */
#si6-player-section .pk5-si-visible .longtable.pk5-exact-geometry{
  width:var(--pk5-table-width)!important;
  min-width:var(--pk5-table-width)!important;
  max-width:var(--pk5-table-width)!important;
  table-layout:fixed!important;
}

/* Both sides are already present as columns. */
#si6-player-section .v1-sides{
  display:none!important;
}

/* Metric-header question marks disappear, but native hover title remains.
   This does NOT touch the global floating Help button. */
th .pk5-hidden-help-question,
[role="columnheader"] .pk5-hidden-help-question{
  display:none!important;
}

th .metricHelp::before,
th .metricHelp::after,
[role="columnheader"] .metricHelp::before,
[role="columnheader"] .metricHelp::after{
  content:none!important;
  display:none!important;
}

/* PETORKA_PLAYER6_DESKTOP_VISUAL_PARITY */

/* The PLAYER5 table geometry is correct. PLAYER6 only closes visible drift. */
#si6-player-section .pk5-si-visible{
  width:fit-content!important;
  max-width:100%!important;
}

#si6-player-section .pk5-si-visible .tablewrap{
  width:fit-content!important;
  max-width:100%!important;
  overflow-x:auto!important;
}

/* Stable, compact SI control system. */
#si6-player-section .pk6-control-stack{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:6px!important;
  margin:8px 0 10px!important;
}

#si6-player-section .pk6-mode-row{
  display:flex!important;
  align-items:center!important;
  min-height:38px!important;
}

#si6-player-section .pk6-utility-row{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:36px!important;
}

#si6-player-section .pk6-detail-slot{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  min-width:126px!important;
  min-height:34px!important;
}

#si6-player-section .pk6-detail-slot.pk6-empty{
  visibility:hidden!important;
}

#si6-player-section .pk6-detail-control{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:34px!important;
  padding:7px 11px!important;
  border:1px solid #d5dce4!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#0f2742!important;
  font:inherit!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1!important;
  cursor:pointer!important;
  user-select:none!important;
}

#si6-player-section .pk6-detail-control input[data-v1-detail]{
  appearance:none!important;
  width:14px!important;
  height:14px!important;
  margin:0!important;
  border:1px solid #9ba8b6!important;
  border-radius:3px!important;
  background:#fff!important;
  display:grid!important;
  place-items:center!important;
}

#si6-player-section .pk6-detail-control input[data-v1-detail]:checked{
  background:#0f2742!important;
  border-color:#0f2742!important;
}

#si6-player-section .pk6-detail-control input[data-v1-detail]:checked::after{
  content:""!important;
  width:6px!important;
  height:3px!important;
  border-left:2px solid #fff!important;
  border-bottom:2px solid #fff!important;
  transform:rotate(-45deg) translateY(-1px)!important;
}

#si6-player-section .v1-about{
  margin:0!important;
}

/* Tighten the large standalone-widget spacing. */
#si6-player-section .pk6-description{
  margin-bottom:8px!important;
}

#si6-player-section .pk6-meta-line{
  margin-top:8px!important;
  margin-bottom:10px!important;
}

/* Offense / Defense selector remains intentionally absent. */
#si6-player-section .v1-sides{
  display:none!important;
}

/* PETORKA_PLAYER7_FIXED1 */

/* Keep PLAYER6's working normal-mode table. Only detailed mode gets a new
   unified scrollable table when needed. */
#si6-player-section .pk7d-visible{
  width:100%!important;
  max-width:100%!important;
  margin-top:8px!important;
}

#si6-player-section .pk7d-visible .tablewrap{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overscroll-behavior-x:contain!important;
}

#si6-player-section .pk7d-visible .longtable{
  table-layout:fixed!important;
  width:var(--pk7d-table-width)!important;
  min-width:var(--pk7d-table-width)!important;
  max-width:var(--pk7d-table-width)!important;
}

/* Hide only the old detailed source after the rebuilt table exists. */
#si6-player-section .v1-two-pane.pk7d-source-hidden{
  position:absolute!important;
  left:-100000px!important;
  top:0!important;
  width:1600px!important;
  max-width:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

/* Keep existing PLAYER6 table hidden only while detailed rebuild is active. */
#si6-player-section.pk7d-active .pk5-si-visible{
  display:none!important;
}

/* Compact/native section body. */
#si6-player-section .pk7-body{
  padding:12px 24px 18px!important;
}

#si6-player-section .pk7-desc{
  margin:0 0 8px!important;
}

#si6-player-section .pk7-meta{
  margin:8px 0 8px!important;
}

/* PLAYER6 created a placeholder detail slot in modes without detail.
   Remove it completely. */
#si6-player-section .pk6-detail-slot.pk6-empty{
  display:none!important;
  min-width:0!important;
}

#si6-player-section .pk6-utility-row{
  gap:8px!important;
  min-height:0!important;
}

/* Detailed Locations = proper PETORKA toggle-pill, no naked checkbox. */
#si6-player-section .pk7-detail-pill{
  display:inline-flex!important;
  align-items:center!important;
  min-height:34px!important;
  padding:8px 12px!important;
  border:1px solid #d5dce4!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#10243f!important;
  font:inherit!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1!important;
  cursor:pointer!important;
  user-select:none!important;
}

#si6-player-section .pk7-detail-pill input[data-v1-detail]{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
}

#si6-player-section .pk7-detail-pill.pk7-on{
  background:#10243f!important;
  border-color:#10243f!important;
  color:#fff!important;
}

/* Offense/Defense selector remains redundant and hidden. */
#si6-player-section .v1-sides{
  display:none!important;
}

/* Metric-header ? standard. Global floating Help is untouched. */
th .pk7-hide-q,
[role="columnheader"] .pk7-hide-q{
  display:none!important;
}

/* 3-Year RAPM question-mark controls become visually hidden, but remain
   in DOM so existing tooltip logic can still be invoked from the label. */
.pk7-hide-3y-q{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  opacity:0!important;
  overflow:hidden!important;
  clip-path:inset(50%)!important;
  pointer-events:none!important;
}

/* Country/flag hero pill: same height/padding rhythm as sibling pills. */
.pk7-country-pill{
  box-sizing:border-box!important;
}

.pk7-country-pill img,
.pk7-country-pill svg,
.pk7-country-pill [class*="flag"]{
  max-height:16px!important;
  width:auto!important;
  flex:0 0 auto!important;
}

/* PETORKA_PLAYER7_FINAL1_MINIMAL_DESKTOP_CLOSURE
   Generated from exact FIXED1 live geometry. Presentation only. */

@media (min-width:900px){
  #si6-player-section .v1-two-pane.v1-player-panes.v1-detailed{
    --v1-identity:484px!important;
    grid-template-columns:484px minmax(0,1fr)!important;
    overflow:hidden!important;
  }

  #si6-player-section .v1-two-pane.v1-player-panes.v1-detailed > .v1-identity.pk-table-shell{
    width:484px!important;
    min-width:484px!important;
    max-width:484px!important;
    overflow:hidden!important;
  }

  #si6-player-section .v1-two-pane.v1-player-panes.v1-detailed
    table[data-pk5-player-identity-shell="1"]{
    width:484px!important;
    min-width:484px!important;
    max-width:484px!important;
    table-layout:fixed!important;
  }

  #si6-player-section .v1-detailed table[data-pk5-player-identity-shell="1"]
    :is(th,td).pk5-meta-season{width:104px!important;min-width:104px!important;max-width:104px!important}
  #si6-player-section .v1-detailed table[data-pk5-player-identity-shell="1"]
    :is(th,td).pk5-meta-team{width:184px!important;min-width:184px!important;max-width:184px!important}
  #si6-player-section .v1-detailed table[data-pk5-player-identity-shell="1"]
    :is(th,td).pk5-meta-age{width:62px!important;min-width:62px!important;max-width:62px!important}
  #si6-player-section .v1-detailed table[data-pk5-player-identity-shell="1"]
    :is(th,td).pk5-meta-pos{width:62px!important;min-width:62px!important;max-width:62px!important}
  #si6-player-section .v1-detailed table[data-pk5-player-identity-shell="1"]
    :is(th,td).pk5-meta-min{width:72px!important;min-width:72px!important;max-width:72px!important}

  #si6-player-section .v1-two-pane.v1-player-panes.v1-detailed > .v1-metric-scroll.si6-table-wrap.pk-table-shell{
    overflow-x:auto!important;
    overflow-y:hidden!important;
    min-width:0!important;
    max-width:100%!important;
    overscroll-behavior-x:contain!important;
  }

  #si6-player-section .v1-two-pane.v1-player-panes.v1-detailed
    > .v1-metric-scroll .v1-metrics{
    width:1295px!important;
    min-width:1295px!important;
    max-width:none!important;
  }

  #si6-player-section .v1-detailed .v1-identity tbody tr,
  #si6-player-section .v1-detailed .v1-identity tbody td{
    height:60px!important;
    min-height:60px!important;
  }

  #si6-player-section .v1-detailed .pk5-meta-team .pk5-meta-main{
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
}

main.shell .hero-facts .fact.nationality-fact{
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  padding-top:0!important;
  padding-bottom:0!important;
}

main.shell .hero-facts .fact.nationality-fact img{
  width:auto!important;
  height:auto!important;
  max-width:26px!important;
  max-height:18px!important;
  object-fit:contain!important;
  flex:0 0 auto!important;
}
/* PLAYER7_FINAL1 browser-calibrated Detailed row alignment */
#si6-player-section .v1-detailed .v1-identity tbody td{
  padding-top:11.179688px!important;
  padding-bottom:11.179688px!important;
  height:60px!important;
  min-height:60px!important;
}

/* PETORKA_PLAYER7_FINAL2_NORMAL_TABLE_SCROLLBAR_CLOSURE */
@media (min-width:1280px){
  #si6-player-section .pk5-si-visible > .tablewrap.pp3-longtable-scroller.pp3-impact-scroller{
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
  }
  #si6-player-section .pk5-si-visible > .tablewrap.pp3-longtable-scroller.pp3-impact-scroller::-webkit-scrollbar{
    width:0!important;
    height:0!important;
    display:none!important;
  }
}

/* PETORKA_PLAYER7_FINAL3_V1_PUBLIC_SURFACE */

/* V1 Player product: granular Shot Influence remains in the payload,
   but the public Player page exposes only Rim / Midrange / 3PT. */
#si6-player-section .v1-detail,
#si6-player-section .pk6-detail-control,
#si6-player-section .pk7-detail-pill{
  display:none!important;
}

/* Never flash a transient advanced table while an advanced URL is being
   normalized back to the V1 coarse view. */
#si6-player-section .v1-two-pane.v1-player-panes.v1-detailed{
  display:none!important;
}

#si6-player-section .pk7-v1-about-copy{
  padding:14px 2px 2px!important;
  max-width:980px!important;
  color:#344054!important;
  font-size:13px!important;
  line-height:1.55!important;
}
#si6-player-section .pk7-v1-about-copy p{margin:0 0 12px!important}
#si6-player-section .pk7-v1-about-copy .pk7-v1-about-lead{
  color:#1f2937!important;
  font-weight:650!important;
}
#si6-player-section .pk7-v1-about-copy .pk7-v1-about-item{
  margin:0 0 10px!important;
}
#si6-player-section .pk7-v1-about-copy .pk7-v1-about-item strong{
  color:#101828!important;
  font-weight:800!important;
}
#si6-player-section .pk7-v1-about-copy .pk7-v1-about-note{
  margin-top:12px!important;
  padding-top:12px!important;
  border-top:1px solid #e4e7ec!important;
}


/* PK_FINAL4_CLEAN_GUIDE */
.pk-percentile-guide{
  margin:10px 0 12px;padding:9px 12px;
  border:1px solid rgba(15,23,42,.10);border-radius:10px;
  background:#f8fafc;color:#667382;font-size:11px;line-height:1.42
}
.pk-percentile-guide strong{color:#172235;font-weight:800}
.pk-percentile-guide-line+.pk-percentile-guide-line{margin-top:2px}
@media(max-width:700px){.pk-percentile-guide{font-size:10.5px;padding:8px 10px}}
