/* H2H planer (privatni alati) */
#pane-h2h{--h2-lime:var(--lime,#8DF05A);--h2-or:var(--or,#FF7A1A);--h2-red:#ff5a5a}
.h2h-head h2{font-family:"BC",sans-serif;font-weight:800;text-transform:uppercase;letter-spacing:.04em;font-size:28px;margin:0 0 6px}
.h2h-head h2 span{color:var(--h2-lime)}
.h2h-head p{color:var(--muted,#95A397);margin:0 0 12px;font-size:14px;line-height:1.5}
.h2h-views{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px}
.h2h-views button{font-family:"BC",sans-serif;font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:13px;padding:9px 14px;border-radius:999px;border:1px solid var(--line,rgba(141,240,90,.14));background:var(--panel,#0E1611);color:var(--cream,#F3EFE4);cursor:pointer}
.h2h-views button.on{background:var(--h2-lime);color:#071006;border-color:var(--h2-lime)}
.h2h-bar select{max-width:260px}
.h2h-rb{display:flex;gap:8px;margin-left:auto;align-items:flex-end}
.h2h-rb .btn{padding:10px 16px;font-size:14px}
.h2h-days{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0 0 12px}
.h2h-dl{font-family:"BC",sans-serif;font-weight:800;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--dim,#5E6B61);margin-right:4px}
.h2h-day{display:flex;flex-direction:column;align-items:center;min-width:64px;padding:6px 8px;border-radius:10px;border:1px solid var(--line2,rgba(243,239,228,.08));background:var(--panel,#0E1611);color:var(--muted,#95A397);cursor:pointer;font:inherit}
.h2h-day b{font-family:"BC",sans-serif;font-size:14px;letter-spacing:.06em}
.h2h-day small{font-size:11px}
.h2h-day.on{border-color:var(--h2-lime);color:var(--cream,#F3EFE4);box-shadow:inset 0 0 0 1px var(--h2-lime)}
.h2h-day.today b{color:var(--h2-lime)}
.h2h-day.past{opacity:.55;cursor:default}
.h2h-status{font-size:13px;color:var(--muted,#95A397);margin:0 0 10px}
.h2h-status.bad,.h2h-warn{color:#ffb25c}
.h2h-warn{background:rgba(255,122,26,.08);border:1px solid rgba(255,122,26,.3);padding:10px 12px;border-radius:10px;font-size:14px}
.h2h-box{border:1px solid var(--line,rgba(141,240,90,.14));background:var(--panel,#0E1611);border-radius:14px;padding:14px;margin:0 0 14px}
.h2h-box h3{font-family:"BC",sans-serif;font-weight:800;text-transform:uppercase;letter-spacing:.06em;font-size:18px;margin:0 0 10px}
.h2h-box h3 small{display:block;font-family:inherit;font-size:12px;letter-spacing:.02em;text-transform:none;color:var(--muted,#95A397);font-weight:400;margin-top:3px}
.h2h-boxhead{display:flex;flex-wrap:wrap;gap:10px 18px;justify-content:space-between;align-items:flex-start}
.h2h-kpis{display:flex;gap:8px;flex-wrap:wrap}
.h2h-kpi{min-width:96px;padding:8px 12px;border-radius:10px;background:var(--panel2,#121D16);border:1px solid var(--line2,rgba(243,239,228,.08));text-align:center}
.h2h-kpi span{display:block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--dim,#5E6B61);font-family:"BC",sans-serif;font-weight:800}
.h2h-kpi b{display:block;font-family:"BC",sans-serif;font-size:26px;line-height:1.1}
.h2h-kpi small{font-size:11px;color:var(--muted,#95A397)}
.h2h-kpi.main.win b,.h2h-kpi.main b{color:var(--h2-lime)}
.h2h-kpi.main.loss b{color:var(--h2-red)}
.h2h-kpi.main.tie b{color:#ffb25c}
.h2h-kpi.warn b{color:#ffb25c}
.h2h-sub{font-size:13px;color:var(--muted,#95A397);margin:4px 0 10px;line-height:1.6}
.h2h-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -2px}
.h2h-scroll table{border-collapse:collapse;width:100%;font-size:13px;font-variant-numeric:tabular-nums}
.h2h-scroll th,.h2h-scroll td{padding:6px 7px;border-bottom:1px solid var(--line2,rgba(243,239,228,.08));text-align:center;white-space:nowrap}
.h2h-scroll thead th{font-family:"BC",sans-serif;font-weight:800;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted,#95A397);background:var(--panel2,#121D16)}
.h2h-scroll .nm{text-align:left;position:sticky;left:0;background:var(--panel,#0E1611);z-index:1}
.h2h-scroll thead .nm{background:var(--panel2,#121D16)}
.h2h-cmp{max-width:760px}
.h2h-cmp th.c{text-align:left}
.h2h-cmp th.grp{color:var(--cream,#F3EFE4)}
.h2h-cmp td.lead{color:var(--h2-lime);font-weight:700}
.h2h-cmp td.pr{min-width:120px}
.h2h-pbar{position:relative;display:block;height:22px;border-radius:6px;background:rgba(255,90,90,.18);overflow:hidden}
.h2h-pbar i{position:absolute;left:0;top:0;bottom:0;background:rgba(141,240,90,.45)}
.h2h-pbar b{position:relative;font-size:12px;line-height:22px}
.h2h-show{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;margin:0 0 12px}
.h2h-ck{display:flex;gap:8px;align-items:center;font-size:14px;cursor:pointer}
.h2h-ck input{accent-color:var(--h2-lime);width:16px;height:16px}
.h2h-legend{display:flex;gap:4px;flex-wrap:wrap;margin-left:auto}
.h2h-legend i{font-style:normal;font-size:11px;padding:3px 7px;border-radius:5px}
.t-elite{background:rgba(141,240,90,.55);color:#071006}
.t-great{background:rgba(141,240,90,.32)}
.t-good{background:rgba(141,240,90,.14)}
.t-avg{background:transparent}
.t-below{background:rgba(255,90,90,.16)}
.t-poor{background:rgba(255,70,70,.38)}
.h2h-legend .t-avg{border:1px solid var(--line2,rgba(243,239,228,.08))}
.h2h-ros td.cv{font-size:12px}
.h2h-ros th.dy{min-width:62px}
.h2h-ros th.dy small{display:block;font-size:10px;letter-spacing:0;color:var(--dim,#5E6B61)}
.h2h-ros th.dy em{display:block;font-style:normal;color:var(--h2-lime);font-size:12px}
.h2h-ros th.dy.over em{color:#ffb25c}
.h2h-ros th.dy.past em{color:var(--dim,#5E6B61)}
.h2h-ros td.dy label{display:inline-flex;gap:4px;align-items:center;cursor:pointer}
.h2h-ros td.dy input{accent-color:var(--h2-lime);width:14px;height:14px;margin:0}
.h2h-ros td.dy .op{font-size:11px}
.h2h-ros td.dy.start{background:rgba(141,240,90,.16)}
.h2h-ros td.dy.bench{background:rgba(255,122,26,.18)}
.h2h-ros td.dy.bench .op::after{content:" BN";color:#ffb25c;font-weight:700}
.h2h-ros td.dy.off{opacity:.45}
.h2h-ros td.dy.played{color:var(--dim,#5E6B61);font-size:11px}
.h2h-ros tr.dropped td,.h2h-ros tr.dropped .pn{opacity:.45;text-decoration:line-through}
.h2h-ros tr.dropped td:last-child{opacity:1;text-decoration:none}
.h2h-ros tr.il td{opacity:.7}
.h2h-ros tr.added .nm .pn{color:var(--h2-lime)}
.h2h-ros td.stn{font-weight:700}
.h2h-ros tfoot td,.h2h-ros tfoot th{font-weight:700;color:var(--muted,#95A397)}
em.inj{font-style:normal;font-size:10px;font-weight:800;padding:1px 5px;border-radius:4px;margin-left:3px;letter-spacing:.04em}
em.inj.out{background:rgba(255,90,90,.85);color:#fff}
em.inj.q{background:rgba(255,178,92,.85);color:#071006}
em.inj.il{background:rgba(243,239,228,.15)}
em.inj.add{background:var(--h2-lime);color:#071006}
em.inj.fb{background:rgba(243,239,228,.1);color:var(--muted,#95A397)}
.h2h-mini{font:inherit;font-size:12px;padding:4px 9px;border-radius:6px;border:1px solid var(--line,rgba(141,240,90,.14));background:transparent;color:var(--cream,#F3EFE4);cursor:pointer}
.h2h-mini:hover,.h2h-mini.on{border-color:var(--h2-lime);color:var(--h2-lime)}
.h2h-addrow{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end;margin:0 0 10px}
.h2h-addrow .tl{font-family:"BC",sans-serif;font-weight:800;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--dim,#5E6B61);display:flex;flex-direction:column;gap:4px}
.h2h-addrow input[type=search],.h2h-addrow select{background:var(--bg2,#0A100C);color:var(--cream,#F3EFE4);border:1px solid var(--line,rgba(141,240,90,.14));border-radius:8px;padding:9px 10px;font:inherit;font-size:14px}
.h2h-addrow input[type=search]{flex:1;min-width:220px}
.h2h-added{font-size:13px;margin:10px 0 0;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.h2h-chip{display:inline-flex;gap:6px;align-items:center;padding:4px 8px;border-radius:999px;background:var(--panel2,#121D16);border:1px solid var(--line,rgba(141,240,90,.14))}
.h2h-chip button{background:none;border:0;color:var(--muted,#95A397);cursor:pointer;font-size:12px}
.h2h-empty{color:var(--muted,#95A397);font-size:13px}
.h2h-note{margin-top:4px}
.h2h-weeks{font-size:14px}
.h2h-wrow{display:grid;grid-template-columns:minmax(170px,2.4fr) minmax(64px,1fr) repeat(4,minmax(48px,.8fr));gap:6px;align-items:center;padding:8px 10px;border-bottom:1px solid var(--line2,rgba(243,239,228,.08));font-variant-numeric:tabular-nums}
.h2h-wrow > span:not(:first-child){text-align:center}
.h2h-wrow.hd{font-family:"BC",sans-serif;font-weight:800;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted,#95A397)}
.h2h-wrow.ft{font-weight:800;background:var(--panel2,#121D16);border-radius:8px;margin-top:6px}
summary.h2h-wrow{cursor:pointer;list-style:none}
summary.h2h-wrow::-webkit-details-marker,summary.h2h-drow::-webkit-details-marker{display:none}
summary.h2h-wrow > span:first-child::before{content:"▸ ";color:var(--h2-lime)}
details[open] > summary.h2h-wrow > span:first-child::before{content:"▾ "}
.h2h-wk[open]{background:rgba(141,240,90,.03)}
.ov{color:#ffb25c;font-weight:700}
.h2h-dd{margin:0 0 0 18px}
.h2h-drow{display:grid;grid-template-columns:minmax(110px,1fr) minmax(90px,1fr) minmax(110px,1fr);gap:6px;padding:6px 10px;cursor:pointer;list-style:none;font-size:13px;border-bottom:1px dashed var(--line2,rgba(243,239,228,.08))}
.h2h-drow > span:first-child::before{content:"▸ ";color:var(--dim,#5E6B61)}
.h2h-dd[open] > .h2h-drow > span:first-child::before{content:"▾ "}
.h2h-dbody{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px 16px;padding:8px 10px 12px 28px}
.h2h-dbody h4{margin:0 0 4px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--h2-lime);font-family:"BC",sans-serif}
.h2h-dbody .bn h4{color:#ffb25c}
.h2h-dbody .ot h4{color:var(--dim,#5E6B61)}
.h2h-pl{display:block;font-size:13px;padding:2px 0}
.h2h-pl small{color:var(--muted,#95A397)}
.h2h-dot{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:18px;padding:0 4px;border-radius:9px;color:#071006;font-style:normal;font-size:10px;font-weight:800;margin:1px}
.h2h-olist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;max-width:560px}
.h2h-olist button{width:100%;text-align:left;font:inherit;font-size:14px;padding:7px 10px;border-radius:8px;border:1px solid var(--line2,rgba(243,239,228,.08));background:var(--panel2,#121D16);color:var(--cream,#F3EFE4);cursor:pointer}
.h2h-olist button:hover{border-color:var(--h2-lime)}
.h2h-olist small{color:var(--muted,#95A397)}
.h2h-cal{display:flex;flex-direction:column;gap:4px;max-width:760px}
.h2h-calh,.h2h-calr{display:grid;grid-template-columns:34px repeat(7,1fr);gap:4px}
.h2h-calh span{font-family:"BC",sans-serif;font-weight:800;font-size:11px;letter-spacing:.1em;text-align:center;color:var(--muted,#95A397)}
.h2h-calr .wk{font-size:12px;color:var(--dim,#5E6B61);align-self:center}
.h2h-calr .cd{min-height:46px;border-radius:8px;border:1px solid var(--line2,rgba(243,239,228,.08));padding:3px;text-align:center;font-size:11px;background:var(--bg2,#0A100C)}
.h2h-calr .cd b{display:block;font-size:11px;color:var(--muted,#95A397)}
.h2h-calr .cd.past{opacity:.3}
.h2h-calr .cd.one{background:var(--panel2,#121D16)}
.h2h-calr .cd.shared{background:rgba(141,240,90,.2);border-color:var(--h2-lime)}
.h2h-calr .cd.shared b{color:var(--cream,#F3EFE4)}
.h2h-calr .cd.full{box-shadow:inset 0 0 0 2px var(--h2-red)}
@media (max-width:700px){
  .h2h-bar label.tl{flex:1 1 45%}
  .h2h-bar select{max-width:none;width:100%}
  .h2h-rb{margin-left:0;width:100%}
  .h2h-rb .btn{flex:1;justify-content:center}
  .h2h-wrow{grid-template-columns:minmax(112px,2.2fr) minmax(50px,1fr) repeat(4,minmax(28px,.7fr));font-size:12px;padding:7px 5px;gap:4px}
  .h2h-wrow.hd span{font-size:10px;letter-spacing:.04em}
  .h2h-drow{grid-template-columns:1fr 1fr;font-size:12px}
  .h2h-drow > span:last-child{grid-column:1 / -1}
  .h2h-dd{margin-left:6px}
  .h2h-dbody{padding-left:12px}
  .h2h-calh,.h2h-calr{grid-template-columns:22px repeat(7,1fr);gap:2px}
  .h2h-calr .cd{min-height:40px;padding:2px 1px}
  .h2h-dot{min-width:16px;font-size:9px;padding:0 2px}
  .h2h-kpi{min-width:80px;padding:6px 8px}
  .h2h-kpi b{font-size:22px}
  .h2h-legend{margin-left:0}
}
.h2h-rcs{display:flex;flex-wrap:wrap;gap:6px 14px;margin:4px 0 8px;font-size:13px;color:var(--muted,#95A397)}
.h2h-rc.bad,.h2h-pl.bad small{color:#FF7A1A}
.h2h-dcount{grid-column:1/-1;font-size:12px;color:var(--muted,#95A397);margin-bottom:4px}
.h2h-dbody .ng h4,.h2h-dbody .dn h4{color:#95A397}
.h2h-dbody .ng .h2h-pl,.h2h-dbody .dn .h2h-pl{opacity:.7}
.h2h-info{background:rgba(141,240,90,.07);border:1px solid rgba(141,240,90,.25);color:#cfe9c0;padding:10px 12px;border-radius:10px;font-size:14px;margin:8px 0}
.h2h-sep{margin:26px 0 8px;padding-top:14px;border-top:1px solid rgba(141,240,90,.18)}
.h2h-sep h2{font-family:"BC",sans-serif;text-transform:uppercase;font-size:26px;margin:0}
.h2h-sep h2 span{color:var(--h2-lime,#8DF05A)}

.h2h-opp{display:block;font-size:12px;color:var(--muted,#95A397);font-weight:400;margin-left:14px}
.h2h-sits{display:block;color:var(--muted,#95A397);font-size:12px;font-weight:400;margin:2px 0 0 14px;line-height:1.35}
.h2h-res{font-weight:800;border-radius:6px;padding:2px 4px}
.h2h-res.win{color:#071006;background:rgba(141,240,90,.75)}
.h2h-res.loss{background:rgba(255,90,90,.3)}
.h2h-res.tie{background:rgba(255,178,92,.25)}
.h2h-kpi.win b{color:var(--h2-lime,#8DF05A)}.h2h-kpi.loss b{color:#ff7a7a}
.h2h-wk.po > summary{background:rgba(141,240,90,.04)}
.h2h-man{display:inline-block;font-style:normal;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#071006;background:#FFB25C;border-radius:4px;padding:0 5px;margin-left:4px;vertical-align:middle}
.h2h-manbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;margin:4px 0 8px}
.h2h-plb{display:flex;width:100%;align-items:center;justify-content:space-between;gap:6px;background:transparent;border:1px solid transparent;border-radius:8px;color:inherit;text-align:left;padding:2px 6px;margin:1px 0;cursor:pointer;font:inherit}
.h2h-plb:hover,.h2h-plb:focus-visible{border-color:rgba(141,240,90,.45);background:rgba(141,240,90,.06)}
.h2h-plb.forced{border-color:rgba(255,178,92,.6)}
.h2h-plb i{font-style:normal;color:var(--h2-lime,#8DF05A);font-size:14px}
.h2h-plb .h2h-pl{padding:0}
.mj-link.h2h-dayreset{background:none;border:0;color:var(--h2-lime,#8DF05A);text-decoration:underline;cursor:pointer;font:inherit;padding:0}
.h2h-ltab tr.me td{background:rgba(141,240,90,.1);font-weight:700}
.h2h-ltab tr.poline td{border-bottom:2px solid var(--h2-lime,#8DF05A)}
.h2h-ltab td,.h2h-ltab th{text-align:center;white-space:nowrap}
.h2h-ltab td.nm,.h2h-ltab th.nm{text-align:left}
/* CIJELA LIGA → igrači ekipe (accordion) */
.mx-table tr[data-team]{cursor:pointer}
.mx-table tr[data-team].open td{border-bottom-color:transparent;background-color:rgba(141,240,90,.07)}
.mx-table tr.mx-exp > td{padding:0 0 12px;background:var(--bg2,#0A100C)}
.pt-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;border:1px solid var(--line,rgba(141,240,90,.14));border-radius:10px}
.pt-table{border-collapse:separate;border-spacing:0;width:100%;font-size:13px;font-variant-numeric:tabular-nums;min-width:960px}
.pt-table th{position:sticky;top:0;background:var(--panel2,#121D16);font-family:"BC",sans-serif;font-weight:800;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#95A397);padding:6px 6px;white-space:nowrap;text-align:center}
.pt-table td{padding:5px 6px;text-align:center;border-bottom:1px solid var(--line2,rgba(243,239,228,.06));white-space:nowrap}
.pt-table td small{display:block;font-size:10px;color:var(--muted,#95A397);line-height:1.1}
.pt-table td.t-elite small{color:#0b1a07}
.pt-table .pt-nm{position:sticky;left:0;z-index:1;background:var(--panel,#0E1611);text-align:left;min-width:150px;max-width:190px;overflow:hidden;text-overflow:ellipsis}
.pt-table th.pt-nm{z-index:2;background:var(--panel2,#121D16)}
.pt-table tr.il td{opacity:.6}
.pt-table .pt-tot{font-weight:800}
.pt-table .punt{opacity:.45}
.pt-il{font-style:normal;font-size:10px;font-weight:800;background:#5E6B61;color:#F3EFE4;border-radius:4px;padding:0 4px}
.pt-note{font-size:12px;color:var(--muted,#95A397);margin:6px 8px 0}
@media (max-width:700px){.pt-table{font-size:12px}.pt-table .pt-nm{min-width:118px;max-width:130px}}
/* Trade finder · Želim igrače */
.tf-wq{width:100%;margin:8px 0;padding:9px 12px;border-radius:10px;border:1px solid var(--line,rgba(141,240,90,.2));background:var(--bg2,#0A100C);color:inherit;font:inherit}
.tf-wlist{max-height:360px;overflow-y:auto;padding-right:4px}
.tf-wgrp h5{display:flex;align-items:center;gap:6px;margin:10px 0 4px;font-size:13px;color:var(--muted,#95A397);text-transform:uppercase;letter-spacing:.05em}
.tf-wgrp h5 img{width:18px;height:18px;border-radius:4px}
.tf-wsel{margin-bottom:4px}
.tf-both{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:8px 0 4px}
.tf-both table{border-collapse:separate;border-spacing:2px;font-size:12px;font-variant-numeric:tabular-nums;min-width:640px}
.tf-both th{font-size:11px;color:var(--muted,#95A397);text-align:center;padding:2px 4px;white-space:nowrap}
.tf-both tbody th{text-align:left;position:sticky;left:0;background:var(--panel,#0E1611);color:var(--ink,#F3EFE4);max-width:150px;overflow:hidden;text-overflow:ellipsis}
.tf-both td{text-align:center;padding:3px 4px;border-radius:5px;min-width:34px;font-weight:700}
.tf-both td small{display:block;font-size:9px;font-weight:400;opacity:.8}
.tf-both td.punt{opacity:.45}
.tf-both b.up{color:#8DF05A}.tf-both b.down{color:#FF6A55}
.tf-res .tf-both{grid-column:2/4;min-width:0;max-width:100%}
@media (max-width:700px){.tf-res .tf-both{grid-column:1/3}}
/* planer: ručna dnevna postava */
.mj-dswap td{background:rgba(141,240,90,.06)}
.mj-dswapbox{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:6px 4px;white-space:normal;text-align:left}
.mj-dswapbox small{opacity:.75}
.mj-manbar{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:6px 0;font-size:13px}
.mj-swapbtn[disabled]{opacity:.45;cursor:not-allowed}
/* Raspored: kategorije tjedna */
.h2h-wcat{margin:6px 0 10px}
.h2h-wauto{margin:4px 0 6px;font-size:13px}.h2h-wauto b.win{color:#8DF05A}.h2h-wauto b.loss{color:#ff7a7a}
.h2h-ct{border-collapse:separate;border-spacing:2px;font-size:12.5px;font-variant-numeric:tabular-nums;min-width:720px}
.h2h-ct th{font-size:11px;color:var(--muted,#95A397);padding:3px 5px;text-align:center;white-space:nowrap}
.h2h-ct tbody th{text-align:left;color:var(--ink,#F3EFE4);position:sticky;left:0;background:var(--panel,#0E1611)}
.h2h-ct tbody th small{color:var(--muted,#95A397);font-weight:400}
.h2h-ct td{text-align:center;padding:4px 5px;border-radius:5px;background:rgba(255,255,255,.03)}
.h2h-ct td.win{background:rgba(141,240,90,.28);color:#E9FFDC}.h2h-ct td.loss{background:rgba(255,72,48,.24);color:#FFD9D2}
.h2h-ct td small{display:block;font-size:10px}.h2h-ct td small.up{color:#8DF05A}.h2h-ct td small.down{color:#FF8A75}
.h2h-ct td.chg{outline:1px solid rgba(255,214,90,.7)}
.h2h-ct td.flash{animation:h2hflash 1.6s ease-out 1}
@keyframes h2hflash{0%{box-shadow:0 0 0 3px rgba(255,214,90,.95)}100%{box-shadow:0 0 0 0 rgba(255,214,90,0)}}
.h2h-acc .h2h-accp{margin:6px 0 8px;padding-left:18px;font-size:13px;line-height:1.5}
.h2h-acct td,.h2h-acct th{text-align:center;white-space:nowrap}
/* shared analyzer week component: games/starts, overlap info, auto→manual, host in Raspored */
.mj-ct2 th.gs,.mj-ct2 td.gs{color:var(--muted,#95A397);font-variant-numeric:tabular-nums;border-left:1px solid var(--line2,rgba(255,255,255,.08))}
.mj-ct2 td.gs{color:var(--cream,#F3EFE4);font-weight:700}
.mj-ct2 td.chg{outline:1px solid rgba(255,214,90,.7)}.mj-ct2 td.flash{animation:h2hflash 1.6s ease-out 1}
.mj-ct2 td small{display:block;font-size:10px}.mj-ct2 td small.up{color:#8DF05A}.mj-ct2 td small.down{color:#FF8A75}
.mj-wauto{margin:4px 0 6px;font-size:13px}.mj-wauto b.win{color:#8DF05A}.mj-wauto b.loss{color:#ff7a7a}
.mj-ovl{margin:6px 0;font-size:12.5px;color:var(--muted,#95A397)}.mj-ovl b{color:var(--cream,#F3EFE4)}.mj-ovl b.ov{color:#FFB25A}
.mj-dfill{white-space:nowrap}.mj-dfill.ov{color:#FFB25A;font-weight:700}
.h2h-ug{white-space:nowrap;color:var(--muted,#95A397)}
.h2h-wpanel{padding:6px 2px 10px}.h2h-wpanel .mj-detw2{margin:0}

.h2h-sitsboard{flex:1 1 100%;width:100%;margin:6px 0 2px;order:5}
.h2h-boxhead .h2h-kpis{order:6}
.h2h-sitsboard h3{margin:0 0 6px;font:800 15px "BC",sans-serif}
.h2h-sitsboard h3 small{display:block;margin-top:2px;font:400 12px/1.35 sans-serif;letter-spacing:0;text-transform:none;color:var(--muted,#95A397)}
.h2h-sitdet{margin:0}
.h2h-sitsum{display:grid;grid-template-columns:minmax(120px,1.8fr) repeat(3,minmax(48px,.7fr));gap:6px;align-items:center;cursor:pointer;list-style:none;padding:5px 2px}
.h2h-sitsum.has-po{grid-template-columns:minmax(110px,1.6fr) repeat(6,minmax(44px,.6fr))}
.h2h-sitsum::-webkit-details-marker,.h2h-sitdet>summary::-webkit-details-marker{display:none}
.h2h-sitsum::before{content:"▸ ";color:var(--h2-lime,#8DF05A)}
details[open]>.h2h-sitsum::before{content:"▾ "}
.h2h-sitsum .nm{text-align:left;font-weight:600}
.h2h-sitsum .n{text-align:center;font-variant-numeric:tabular-nums}
.h2h-sitweeks{margin:2px 0 10px 22px;width:calc(100% - 22px);max-width:440px}
.h2h-sitstab>tbody>tr.h2h-sitdet-row>td{padding:8px 10px 12px;text-align:left;border-bottom:1px solid var(--line2,rgba(243,239,228,.08))}

/* trade incoming/outgoing in player lists */

.ta-grow.odlazi, tr.odlazi, .mj-pt tr.odlazi, .h2h-fa tr.odlazi, .h2h-sitstab tr.odlazi { opacity: 0.45; }
.ta-grow.novi, tr.novi, .mj-pt tr.novi, .h2h-fa tr.novi, .h2h-sitstab tr.novi { box-shadow: inset 3px 0 0 rgba(141,240,90,.55); }
.mj-pt em.in, .h2h-fa em.in, .h2h-sitstab em.in, em.in { background: rgba(141,240,90,.16); color: var(--lime2, #8df05a); font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 1px 5px; border-radius: 4px; margin-left: 4px; }
.mj-pt em.outg, .h2h-fa em.outg, .h2h-sitstab em.outg, em.outg { background: rgba(255,122,26,.16); color: var(--or2, #ff9a4a); font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 1px 5px; border-radius: 4px; margin-left: 4px; }


/* Po igraču: body cells must use the same padding as headers (alignment) */
.h2h-sitstab{table-layout:fixed;width:100%;border-collapse:collapse}
.h2h-sitstab>thead>tr>th,.h2h-sitstab>tbody>tr.h2h-sitrow>td{padding:6px 8px;text-align:center;vertical-align:middle;border-bottom:1px solid var(--line2,rgba(243,239,228,.08))}
.h2h-sitstab>thead>tr>th.nm,.h2h-sitstab>tbody>tr.h2h-sitrow>td.nm{text-align:left;width:22%}
.h2h-sitstab>tbody>tr.h2h-sitrow{cursor:pointer}
.h2h-sitstab>tbody>tr.h2h-sitrow:hover{background:rgba(141,240,90,.05)}
.h2h-sitstab>tbody>tr.h2h-sitrow.open{background:rgba(141,240,90,.08)}
.h2h-sitdet-row>td{padding:8px 10px 12px;background:rgba(0,0,0,.2)}
.h2h-sitdayt{width:100%;border-collapse:collapse;font-size:13px}
.h2h-sitdayt th,.h2h-sitdayt td{padding:4px 8px;text-align:left;border-bottom:1px solid var(--line2,rgba(243,239,228,.08))}
.h2h-sitdayt th{font:700 11px "BC",sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#95A397)}
.h2h-sitdayt tr.sit td:nth-child(3){color:#FFB25A;font-weight:700}
.h2h-sitdayt tr.play td:nth-child(3){color:var(--lime2,#8df05a)}

/* Week category table + planner week header: fit inside the card at ~1024px, no clipping */
.mj-detw2,.h2h-wpanel,.mj-det,.mj-det>td{max-width:100%;box-sizing:border-box}
.mj-det>td{padding:8px 6px}
.mj-cs{width:100%;max-width:100%;box-sizing:border-box;overflow-x:hidden}
.mj-ct2{table-layout:fixed;width:100%;max-width:100%;min-width:0;font-size:14px;border-collapse:collapse}
.mj-ct2 th,.mj-ct2 td{padding:6px 4px;text-align:right;white-space:nowrap;border-bottom:1px solid var(--line2,rgba(255,255,255,.08));overflow:hidden;text-overflow:clip;font-variant-numeric:tabular-nums}
.mj-ct2 thead th{font:700 11px "BC",sans-serif;letter-spacing:.04em;color:var(--muted,#95A397);text-transform:uppercase;text-align:center}
.mj-ct2 tbody th,.mj-ct2 thead th:first-child{text-align:left;font:700 11px "BC",sans-serif;letter-spacing:.04em;text-transform:uppercase;padding:6px 8px;position:sticky;left:0;background:var(--panel,#0d150f);width:6.8rem;max-width:6.8rem;white-space:nowrap;line-height:1.15;overflow:hidden}
.mj-ct2 col.lab{width:7.4rem}
.mj-ct2 col.wlt{width:2.7rem}
.mj-ct2 col.gs{width:2.85rem}
.mj-ct2 th.gs,.mj-ct2 td.gs,.mj-ct2 th:nth-last-child(2),.mj-ct2 td:nth-last-child(2),.mj-ct2 th:nth-last-child(1),.mj-ct2 td:nth-last-child(1){width:2.85rem;padding-left:2px;padding-right:3px;overflow:visible;text-overflow:clip;letter-spacing:0}
.mj-ct2 th:nth-last-child(3),.mj-ct2 td:nth-last-child(3){width:2.7rem}
.mj-ct2 td b{font:800 16px "BC",sans-serif}
.mj-ct2 tr.sub th{font-size:12px;letter-spacing:.04em}
/* win color moved */
/* loss color moved */
.mj-ct2 td.tie,.mj-ct2 tr.sub td.tie{background:transparent}
.h2h-wpanel .mj-cs,.mj-detw2 .mj-cs{max-width:100%}

/* Planner week list: score + Startovi columns must stay fully visible in the card */
.mj-tw{overflow-x:hidden;max-width:100%}
.mj-t{table-layout:fixed;width:100%;max-width:100%;border-collapse:collapse;font-size:14px}
.mj-t th,.mj-t td{padding:6px 6px;box-sizing:border-box}
/* nth-child widths are week-table only — they leaked onto Rang po bodovima (FG%/FT%) and standings */
.mj-t td.w{width:2.5rem;font-size:15px}
.mj-t td.d{width:7rem;white-space:normal;font-size:13px}
.mj-t td.o{white-space:normal;overflow:hidden}
.mj-t td.n{width:4rem;text-align:right}
.mj-t td.r,.mj-t td.sc{width:6.2rem;font:800 14px "BC",sans-serif;letter-spacing:0;text-align:right;white-space:nowrap}
.mj-t td.r small{display:block;font:600 10px "Barlow",sans-serif;letter-spacing:0;line-height:1.2;opacity:.9}
.mj-t td.dl{width:3.4rem;font-size:14px}
#mj-weeks .mj-t th:first-child{width:2.5rem;font-size:15px}
#mj-weeks .mj-t th:nth-child(4){width:4rem;text-align:right}
#mj-weeks .mj-t th:nth-child(5),#mj-weeks .mj-t th:nth-child(6){width:6.2rem;font:800 14px "BC",sans-serif;letter-spacing:0;text-align:right;white-space:nowrap}
#mj-weeks .mj-t th:nth-child(7){width:3.4rem;font-size:14px}

@media (min-width:601px){
/* Desktop Tjedni score: class-based columns so BEZ / S TREJDOM / RAZLIKA sit under their headers */
#mj-weeks .mj-t{table-layout:fixed;width:100%;max-width:100%;border-collapse:collapse}
#mj-weeks .mj-t col.c-w{width:2.6rem}
#mj-weeks .mj-t col.c-d{width:7.2rem}
#mj-weeks .mj-t col.c-o{width:auto}
#mj-weeks .mj-t col.c-n{width:5.6rem}
#mj-weeks .mj-t col.c-ovl{width:4.2rem}
#mj-weeks .mj-t col.c-full{width:6.4rem}
#mj-weeks .mj-t col.c-r{width:7.2rem}
#mj-weeks .mj-t col.c-dl{width:7.2rem}
#mj-weeks .mj-t th{
  white-space:nowrap;text-align:center;vertical-align:bottom;overflow:hidden;
  text-overflow:clip;letter-spacing:.03em;line-height:1.2;padding:8px 4px;
  font:700 11px "BC",sans-serif;text-transform:uppercase
}
#mj-weeks .mj-t th.d,#mj-weeks .mj-t th.o,
#mj-weeks .mj-t td.d,#mj-weeks .mj-t td.o{text-align:left}
#mj-weeks .mj-t th.w,#mj-weeks .mj-t td.w{width:2.6rem;text-align:center}
#mj-weeks .mj-t th.d,#mj-weeks .mj-t td.d{width:7.2rem;white-space:nowrap;color:var(--muted,#95A397);font-size:13px}
#mj-weeks .mj-t th.n,#mj-weeks .mj-t td.n{width:5.6rem;text-align:center;white-space:nowrap}
#mj-weeks .mj-t th.ovl,#mj-weeks .mj-t td.ovl{width:4.2rem;text-align:center;white-space:nowrap}
#mj-weeks .mj-t th.ovl.full,#mj-weeks .mj-t td.ovl.full{width:6.4rem}
#mj-weeks .mj-t th.r,#mj-weeks .mj-t td.r,#mj-weeks .mj-t td.sc{width:7.2rem;text-align:center;white-space:nowrap;font:800 20px "BC",sans-serif;letter-spacing:0;vertical-align:middle}
#mj-weeks .mj-t th.dl,#mj-weeks .mj-t td.dl{width:7.2rem;text-align:center;white-space:nowrap;font:800 20px "BC",sans-serif;vertical-align:middle}
#mj-weeks .mj-t.trade th.r,#mj-weeks .mj-t.trade td.r,#mj-weeks .mj-t.trade td.sc,
#mj-weeks .mj-t.trade th.aft,#mj-weeks .mj-t.trade th.dl{width:7.2rem}
#mj-weeks .mj-t.trade th.dl,#mj-weeks .mj-t.trade td.dl{width:7.2rem}
#mj-weeks .mj-t td{padding:8px 4px;vertical-align:middle}
#mj-weeks .mj-t tr.mj-wk{min-height:3.4rem}
#mj-weeks .mj-t td.r .mj-sc{display:block;line-height:1.05}
#mj-weeks .mj-t td.r .mj-projsub,#mj-weeks .mj-t td.r small{
  display:block;font:600 11px "Barlow",sans-serif;letter-spacing:0;line-height:1.2;
  opacity:.7;font-weight:600;text-transform:none;margin-top:2px;color:var(--muted,#95A397)
}
#mj-weeks .mj-t td.o .mj-opp{display:block;font-weight:700;line-height:1.25}
#mj-weeks .mj-sits{margin-top:2px;max-height:2.6em;overflow:hidden}
#mj-weeks .mj-sits.open{max-height:none}
#mj-weeks .mj-sits-preview{font-size:12px;line-height:1.3;color:var(--muted,#95A397)}
#mj-weeks .mj-sits-list{display:none}
#mj-weeks .mj-sits.open .mj-sits-preview{display:none}
#mj-weeks .mj-sits.open .mj-sits-list{display:block;font-size:12px;line-height:1.35;color:var(--muted,#95A397);margin-top:2px}
#mj-weeks .mj-sits-tog{display:inline;margin:0 0 0 4px;padding:0 5px;border:0;background:none;color:var(--lime,#8DF05A);font:700 11px "Barlow",sans-serif;cursor:pointer;vertical-align:baseline}
#mj-weeks .mj-sits-tog.only-mob{display:none}
#mj-weeks .mj-sits-moblab{display:none}
#mj-weeks .mj-sits-more{display:inline}
}


@media (max-width:1100px){
  .mj-box{padding-left:12px;padding-right:12px}
  .mj-t th,.mj-t td{padding:5px 4px}
  .mj-t td.r,.mj-t td.sc{font-size:13px;width:5.8rem}
  .mj-det>td{padding:6px 4px}
  .mj-ct2 thead th{font-size:11px}
  .mj-ct2 tbody th,.mj-ct2 thead th:first-child,.mj-ct2 col.lab{width:6.4rem;max-width:6.4rem}
  .mj-ct2 tr.sub th,.mj-ct2 tr.sub td{font-size:12px}
  .mj-ct2 tr.tot td{font:800 15px "BC",sans-serif}
  .mj-ct2 tr.tot td b{font:800 16px "BC",sans-serif}
}


/* H2H TJEDNI roster: day state labels + compact zamijeni */
.h2h-rosbox .h2h-dst{display:block;font:700 10px "BC",sans-serif;letter-spacing:.04em;text-transform:uppercase}
.h2h-ros td.dy.start .h2h-dst{color:var(--lime2,#8df05a)}
.h2h-ros td.dy.bench .h2h-dst{color:#FFB25A}
.h2h-ros td.dy.out .h2h-dst,.h2h-ros td.dy.none .h2h-dst,.h2h-ros td.dy.off .h2h-dst{color:var(--dim,#5E6B61)}
.h2h-ros td.dy.played .h2h-dst{color:var(--muted,#95A397)}
.h2h-ros td.dy .h2h-zam{display:block;margin:3px auto 0;font-size:10px;padding:1px 6px}
.h2h-ros td.stn.ov{color:#FFB25A;font-weight:800}
.h2h-wrow,details.h2h-wk,summary.h2h-wrow{cursor:pointer}


body[data-pf-tab="ras"] #planer { margin-top: 6px; border-top: 0; padding-top: 0; }
body[data-pf-tab="ras"] #mj-shared-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#planer { margin-top: 28px; padding-top: 8px; border-top: 1px solid var(--line2, #2a3a2a); }
/* Utakmice igrača: wide name col, compact meta, fixed two-line data cells; stack teams if they don't fit */
.mj-games, #mj-games .ta-games { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 1100px) {
  .mj-games:not(.trade), #mj-games .ta-games:not(.trade) { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1700px) {
  .mj-games.trade, #mj-games .ta-games.trade { grid-template-columns: 1fr 1fr; }
}
#mj-games .ta-grow, .ta-games .ta-grow{
  grid-template-columns: minmax(170px, 1fr) repeat(2, 9.4rem);
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
}
#mj-games .ta-grow.nba, .ta-games .ta-grow.nba{
  grid-template-columns: minmax(150px, 1fr) repeat(3, 8.8rem);
}
#mj-games .ta-grow.trade, .ta-games .ta-grow.trade{
  grid-template-columns: minmax(170px, 1fr) repeat(4, 9.4rem);
}
#mj-games .ta-grow.trade.nba, .ta-games .ta-grow.trade.nba{
  grid-template-columns: minmax(140px, 1fr) repeat(5, 8.2rem);
}
#mj-games .ta-grow .nm, .ta-games .ta-grow .nm{
  min-width: 0;
  overflow: hidden;
}
#mj-games .ta-grow .nm .pn, .ta-games .ta-grow .nm .pn{
  display: block;
  font-weight: 600;
  color: var(--cream, #F3EFE4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}
#mj-games .ta-grow .nm small, #mj-games .ta-grow .nm small.gst,
.ta-games .ta-grow .nm small, .ta-games .ta-grow .nm small.gst{
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted, #95A397);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  margin-top: 1px;
}
#mj-games .ta-grow.h > span, .ta-games .ta-grow.h > span{
  white-space: normal;
  line-height: 1.2;
  letter-spacing: .04em;
  overflow: hidden;
}
#mj-games .gc, .ta-games .gc { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1.25; min-width: 0; max-width: 100%; overflow: hidden; }
#mj-games .gc1, #mj-games .gc2, .ta-games .gc1, .ta-games .gc2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
#mj-games .gc i, #mj-games .gl, .ta-games .gc i { font-style: normal; font-size: 10px; letter-spacing: 0; text-transform: none; color: var(--dim, #8a9a8a); }
#mj-games .gc b, .ta-games .gc b { color: var(--cream, #f4f0e4); font-size: 14px; }

#mj-games .ta-gcard { border: 1px solid var(--line2, #2a3a2a); border-radius: 14px; background: var(--panel, #102010); padding: 10px 12px; }
#mj-games .ta-gcard.my { box-shadow: inset 0 3px 0 var(--lime, #8df05a); }
#mj-games .ta-gcard.ot { box-shadow: inset 0 3px 0 var(--or, #ff7a1a); }
#mj-games .ta-gcard h4 { font-weight: 800; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; margin: 4px 0 6px; }
#mj-games .pf-sitrow { cursor: pointer; }
#mj-games .pf-sitrow:hover { background: rgba(141,240,90,.06); }
#mj-games .pf-sitrow.open { background: rgba(141,240,90,.1); }

#mj-games .gl { display: block; line-height: 1.25; margin-top: 2px; }
#mj-games .h2h-sitdet, #mj-sits .h2h-sitdet-row td { padding: 8px 6px 10px; }
.h2h-sitweeks-days { display: flex; flex-direction: column; gap: 6px; }
.h2h-sitwk { border: 1px solid var(--line2, #2a3a2a); border-radius: 8px; background: rgba(0,0,0,.15); }
.h2h-sitwk summary { cursor: pointer; padding: 6px 10px; font-size: 12.5px; font-weight: 650; list-style: none; }
.h2h-sitwk summary::-webkit-details-marker { display: none; }
.h2h-sitdayt { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.h2h-sitdayt th, .h2h-sitdayt td { padding: 3px 8px; text-align: left; border-top: 1px solid var(--line2, #2a3a2a); }
.h2h-sitdayt td.sit { color: var(--or, #ff9a4a); }
.h2h-sitdayt td.play { color: var(--lime2, #8df05a); }
.h2h-sitdayt td.off { color: var(--dim, #8a9a8a); }
.h2h-addrow { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: end; }


/* Week category table: UKUPNO prominent + colored; TRENUTNO/OSTATKA muted, no win/loss tint */
.mj-ct2{table-layout:fixed;width:100%;max-width:100%;min-width:0;border-collapse:collapse;font-size:14px}
.mj-ct2 th,.mj-ct2 td{padding:6px 4px;text-align:right;white-space:nowrap;border-bottom:1px solid var(--line2,rgba(255,255,255,.08));overflow:hidden;font-variant-numeric:tabular-nums}
.mj-ct2 thead th{font:700 11px "BC",sans-serif;letter-spacing:.04em;color:var(--muted,#95A397);text-transform:uppercase;text-align:center}
.mj-ct2 tbody th,.mj-ct2 thead th:first-child{text-align:left;text-transform:none;position:sticky;left:0;background:var(--panel,#0d150f);width:6.8rem;max-width:6.8rem;white-space:nowrap;padding:6px 8px;overflow:hidden}
.mj-ct2 col.lab{width:6.6rem}
.mj-ct2 col.wlt{width:3rem}
.mj-ct2 col.gs{width:2.8rem}
.mj-ct2 .mj-rlab{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15;gap:1px}
.mj-ct2 .mj-rlab .who{font:700 11px "BC",sans-serif;letter-spacing:.04em;text-transform:uppercase;color:inherit}
.mj-ct2 .mj-rlab .kind{font:600 10px "BC",sans-serif;letter-spacing:.06em;text-transform:uppercase}
.mj-ct2 tr.sub th,.mj-ct2 tr.sub td{color:var(--muted,#95A397);font-size:12px;font-weight:500;background:transparent}
.mj-ct2 tr.sub th{font-weight:600}
.mj-ct2 tr.sub td.win,.mj-ct2 tr.sub td.loss,.mj-ct2 tr.sub td.tie{background:transparent;color:var(--muted,#95A397)}
.mj-ct2 tr.sub .mj-rlab .kind{color:var(--muted,#95A397);font-weight:600}
.mj-ct2 .mj-wlt-m{font:600 10px "BC",sans-serif;color:var(--muted,#95A397)}
.mj-ct2 tr.tot th{color:var(--cream,#F3EFE4);font-weight:800}
.mj-ct2 tr.tot .mj-rlab .who{color:var(--cream,#F3EFE4)}
.mj-ct2 tr.tot .mj-rlab .kind{font-size:11px;font-weight:800;color:var(--lime,#8DF05A);opacity:1}
.mj-ct2 tr.tot td{font:800 15px "BC",sans-serif;color:var(--cream,#F3EFE4)}
.mj-ct2 tr.tot td b{font:800 16px "BC",sans-serif;letter-spacing:.02em}
.mj-ct2 td.win,.mj-ct2 tr.tot td.win{background:rgba(141,240,90,.10);color:#B8F59A}
.mj-ct2 td.loss,.mj-ct2 tr.tot td.loss{background:rgba(255,72,48,.10);color:#FFB0A6}
.mj-ct2 td.tie,.mj-ct2 tr.tot td.tie{background:transparent}
.mj-ct2 td.gs{color:var(--cream,#F3EFE4);font-weight:700;font-size:11px}
.mj-t th.ovl,.mj-t td.ovl{width:3.6rem;text-align:center;font-size:13px;white-space:nowrap}
.mj-t td.ovl.ov{color:var(--or,#ff9a4a);font-weight:700}
@media (min-width:601px){

}


/* Mobile week cards + no letter-wrap on shared wide tables (≤600px) */
@media (max-width:600px){
  html,body{overflow-x:hidden;max-width:100%}
  #mj-weeks .mj-tw,.mj-tw{overflow-x:hidden;max-width:100%}
  #mj-weeks .mj-t{display:block;width:100%;max-width:100%;table-layout:auto;font-size:14px;overflow:hidden}
  #mj-weeks .mj-t>thead,
  #mj-weeks .mj-t>tbody>tr:not(.mj-wk):not(.mj-det):has(>th){display:none!important}
  #mj-weeks .mj-t>tbody{display:block;width:100%;max-width:100%}
  #mj-weeks .mj-t tr.mj-wk{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    grid-template-areas:
      "wd wd wd"
      "o o o"
      "n pre full"
      "bez aft dlt";
    gap:8px 10px;
    margin:0 0 10px;
    padding:12px 12px 14px;
    border:1px solid var(--line,rgba(141,240,90,.18));
    border-radius:12px;
    background:var(--panel2,#0b130e);
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    cursor:pointer;
  }
  #mj-weeks .mj-t tr.mj-wk.open{background:rgba(141,240,90,.07);border-color:rgba(141,240,90,.35)}
  #mj-weeks .mj-t tr.mj-wk td{
    display:block;width:auto!important;max-width:none!important;min-width:0!important;
    padding:0;border:0;white-space:normal;overflow:visible;
    word-break:normal;overflow-wrap:break-word;hyphens:none;
  }
  #mj-weeks .mj-t td.w{grid-area:auto;grid-column:1;grid-row:1;font:800 22px "BC",sans-serif;line-height:1;padding-top:2px}
  #mj-weeks .mj-t td.d{grid-area:auto;grid-column:2/-1;grid-row:1;font-size:13px;align-self:center}
  #mj-weeks .mj-t td.o{grid-area:o;font:700 16px "Barlow",sans-serif;line-height:1.3;min-width:0}
  #mj-weeks .mj-t td.n{grid-area:n}
  #mj-weeks .mj-t td.ovl.pre{grid-area:pre}
  #mj-weeks .mj-t td.ovl.full{grid-area:full}
  #mj-weeks .mj-t td.r.bez,#mj-weeks .mj-t td.sc.bez{grid-area:bez}
  #mj-weeks .mj-t td.r.aft,#mj-weeks .mj-t td.sc:not(.bez){grid-area:aft}
  #mj-weeks .mj-t td.dl{grid-area:dlt}
  #mj-weeks .mj-t:not(.trade) tr.mj-wk td.r.bez,
  #mj-weeks .mj-t:not(.trade) tr.mj-wk td.sc.bez{grid-column:1/-1;grid-area:auto}
  #mj-weeks .mj-t td[data-lab]::before{
    content:attr(data-lab);
    display:block;
    font:700 10px "BC",sans-serif;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:var(--muted,#95A397);
    margin-bottom:2px;
  }
  #mj-weeks .mj-t td.n,#mj-weeks .mj-t td.ovl{font-size:15px;font-weight:700;text-align:left;white-space:nowrap}
  #mj-weeks .mj-t td.r,#mj-weeks .mj-t td.dl,#mj-weeks .mj-t td.sc{font:800 18px "BC",sans-serif;text-align:left;white-space:normal}
  #mj-weeks .mj-t td.r small{font-size:11px}
  #mj-weeks .mj-t tr.mj-det{display:block;width:100%;border:0;margin:0 0 12px;padding:0;background:transparent}
  #mj-weeks .mj-t tr.mj-det>td{display:block;width:100%;max-width:100%;box-sizing:border-box;padding:4px 2px 8px;background:transparent}
  .mj-sits-preview,.mj-sits-more{display:none!important}
  .mj-sits-moblab{display:inline}
  .mj-sits-tog,.mj-sits-tog.only-mob{display:inline-flex;align-items:center;gap:4px;margin-top:6px;padding:4px 8px;border-radius:999px;border:1px solid var(--line,rgba(141,240,90,.2));background:transparent;color:var(--muted,#95A397);font:600 12px "Barlow",sans-serif;cursor:pointer}
  .mj-sits-tog[aria-expanded="true"]{color:var(--cream,#F3EFE4);border-color:rgba(141,240,90,.4)}
  .mj-sits .mj-sits-list{display:none;margin-top:6px;font-size:13px;line-height:1.4;color:var(--muted,#95A397);word-break:normal;overflow-wrap:break-word;white-space:normal}
  .mj-sits.open .mj-sits-list{display:block}
  #mj-weeks .mj-sits{max-height:none}
  .mj-cs,.h2h-wpanel .mj-cs{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
  .mj-ct2{table-layout:auto;width:max-content;min-width:100%;max-width:none}
  .mj-ct2 th,.mj-ct2 td{overflow:visible;text-overflow:clip;min-width:2.3rem}
  .mj-ct2 tbody th,.mj-ct2 thead th:first-child{white-space:normal;word-break:normal;overflow-wrap:break-word;max-width:7rem;min-width:4.8rem}
  #mj-games .ta-grow,.ta-games .ta-grow,#mj-games .ta-grow.trade,.ta-games .ta-grow.trade{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start}
  #mj-games .ta-grow>.nm,.ta-games .ta-grow>.nm{grid-column:1/-1;min-width:0}
  #mj-games .ta-grow.h>.nm,.ta-games .ta-grow.h>.nm{align-self:end;padding-bottom:2px}
  #mj-games .gc,.ta-games .gc{min-width:0;max-width:100%}
  /* Po igraču: horizontal scroll + sticky name so 12 trade cols stay readable */
  #mj-sits,.h2h-sitsboard{max-width:100%;overflow:visible}
  #mj-sits .h2h-scroll,.h2h-sitsboard .h2h-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
  #mj-sits .h2h-sitstab,.h2h-sitsboard .h2h-sitstab{table-layout:auto;width:max-content;min-width:100%;max-width:none}
  #mj-sits .h2h-sitstab>thead>tr>th,#mj-sits .h2h-sitstab>tbody>tr.h2h-sitrow>td,
  .h2h-sitsboard .h2h-sitstab>thead>tr>th,.h2h-sitsboard .h2h-sitstab>tbody>tr.h2h-sitrow>td{white-space:nowrap;overflow:visible;text-overflow:clip;min-width:3.1rem;width:auto}
  #mj-sits .h2h-sitstab>thead>tr>th.nm,#mj-sits .h2h-sitstab>tbody>tr.h2h-sitrow>td.nm,
  .h2h-sitsboard .h2h-sitstab>thead>tr>th.nm,.h2h-sitsboard .h2h-sitstab>tbody>tr.h2h-sitrow>td.nm{
    position:sticky;left:0;z-index:2;min-width:10rem;max-width:12.5rem;width:10rem;
    white-space:normal;overflow-wrap:break-word;word-break:normal;
    background:var(--panel,var(--panel2,#0b130e));box-shadow:6px 0 8px -4px rgba(0,0,0,.5)
  }
  #mj-sits .h2h-sitstab>thead>tr>th.nm,.h2h-sitsboard .h2h-sitstab>thead>tr>th.nm{z-index:3}
  #mj-sits .h2h-sitstab>tbody>tr.h2h-sitrow:hover>td.nm,#mj-sits .h2h-sitstab>tbody>tr.h2h-sitrow.open>td.nm{background:var(--panel,var(--panel2,#0b130e))}
  .mj-ptw,.h2h-scroll,.pt-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .mj-pt{word-break:normal}
  .mj-pt td.pn,.mj-pt th:first-child{overflow-wrap:break-word;word-break:normal;white-space:normal}
  .tf-res{grid-template-columns:1fr;max-width:100%;min-width:0;overflow:hidden}
  .tf-res .n{display:none}
  .tf-big{text-align:left}
  .tf-sched,.tf-meta,.tf-why,.tf-moves,.tf-open{grid-column:1/-1}
  .tf-meta-line>span{white-space:normal}
  .tf-row,.tf-swap,.tf-from,.tf-res{word-break:normal;overflow-wrap:break-word;min-width:0}
  .tf-both,.tf-res .tf-both{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
  #mj-table .mj-tw,#mj-table{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
  #mj-table .mj-t.mj-st{table-layout:auto;width:max-content;min-width:100%;font-size:15px}
  #mj-table .mj-t.mj-st th,#mj-table .mj-t.mj-st td{white-space:nowrap;word-break:normal;overflow:visible}
  #mj-table .mj-t.mj-st td.tn,#mj-table .mj-t.mj-st th.tn{
    white-space:normal;overflow-wrap:break-word;min-width:8.6rem;max-width:10.8rem;
    position:sticky;left:0;z-index:2;background:var(--panel,#0E1611);
    box-shadow:2px 0 0 var(--line2,rgba(243,239,228,.08));font:700 15px "Barlow",sans-serif
  }
  #mj-table .mj-t.mj-st thead th.tn{z-index:3;background:var(--panel2,#121D16)}
  #mj-table .mj-t.mj-st tr.me td.tn{background:#17301A}
  #mj-table .mj-t.mj-st tr.pa td.tn{background:#2a1e12}
  #mj-table .mj-t.mj-st td.rk{font:800 16px "BC",sans-serif}
  #mj-table .mj-t.mj-st td.sada,#mj-table .mj-t.mj-st td.rem,#mj-table .mj-t.mj-st td.sh,#mj-table .mj-t.mj-st td.prev{font:800 15.5px "BC",sans-serif}
  #mj-table .mj-t.mj-st td.fin,#mj-table .mj-t.mj-st td.fin b,#mj-table .mj-t.mj-st td.wp{font:800 17px "BC",sans-serif}
  #mj-table .mj-t.mj-st td.sada small.was{font:700 11.5px "Barlow",sans-serif}
  .mj-st,.mj-t{word-break:normal}
}
.tf-sched{grid-column:2/-1;display:flex;flex-wrap:wrap;gap:6px 8px;margin:2px 0 0;font:700 13px "Barlow",sans-serif}
.tf-sched span{background:rgba(141,240,90,.08);border:1px solid rgba(141,240,90,.2);border-radius:999px;padding:3px 9px;color:var(--cream,#F3EFE4);white-space:nowrap}
.tf-sched .up{color:var(--lime,#8DF05A)}
.tf-sched .down{color:var(--or2,#FF7A1A)}
.tf-big small{display:block;font:700 11px "BC",sans-serif;letter-spacing:.04em;text-transform:uppercase;opacity:.75;margin-top:2px}

@media (min-width:601px){
  .mj-sits-tog.only-mob{display:none}
  .mj-sits-moblab{display:none}
  #mj-weeks .mj-sits .mj-sits-list{display:none}
  #mj-weeks .mj-sits.open .mj-sits-list{display:block}
  #mj-weeks .mj-sits-tog{display:inline}
}

}

/* Finder Ne želim / Zaključani */

.tf-locked{margin:0;border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:rgba(255,255,255,.02)}
.tf-locked .tf-exhead b{font-family:"BC";font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.tf-chip.nope,.tf-chip.nope.on,.tf-chip.ban.on{background:rgba(255,72,48,.14);border:2px solid #FF4830;color:#FFD0C8;font-weight:700;box-shadow:none}
.tf-chip.nope em,.tf-chip.keep.on em{font-style:normal;font:700 10px "BC",sans-serif;letter-spacing:.06em;text-transform:uppercase;margin-right:2px;opacity:.9}
.tf-lockbtn.nope.on,.tf-lockbtn.on.nope,.tf-ban.on,.tf-ban.nope{background:#FF4830;border-color:#FF4830;color:#fff}
.tf-zak{margin:8px 0 10px}
.tf-zak .tf-shl{display:block;margin-bottom:4px}
.tf-zak:empty{display:none}


#pane-finder .tf-chip.nope,
#pane-finder .tf-chip.nope.on,
#tf-locked-list .tf-chip.nope,
#tf-zak-inline .tf-chip.nope,
.tf-zak .tf-chip.nope{
  background:rgba(255,72,48,.16)!important;
  border:2px solid #FF4830!important;
  color:#FFD0C8!important;
  font-weight:700;
}
#pane-finder .tf-chip.keep.on,
#tf-locked-list .tf-chip.keep.on,
.tf-zak .tf-chip.keep.on{
  background:#FFB547!important;
  border:2px solid #C88820!important;
  color:#071006!important;
}
#pane-finder .tf-lockbtn.nope.on,
#pane-finder .tf-lockbtn.on.nope{
  background:#FF4830!important;
  border-color:#FF4830!important;
  color:#fff!important;
}


/* Total score i tablica prije PO + Rang po bodovima kategorija typography */
#mj-table .mj-tw{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}
#mj-table .mj-t.mj-st{
  width:100%;table-layout:auto;border-collapse:collapse;font-size:17px
}
#mj-table .mj-t.mj-st th{
  font:800 12px "BC",sans-serif;letter-spacing:.07em;text-transform:uppercase;
  color:var(--muted,#95A397);padding:8px 10px;white-space:nowrap;text-align:left;vertical-align:bottom
}
#mj-table .mj-t.mj-st th.sada,#mj-table .mj-t.mj-st th.rem,
#mj-table .mj-t.mj-st th.fin,#mj-table .mj-t.mj-st th.wp,
#mj-table .mj-t.mj-st th.rk,#mj-table .mj-t.mj-st th.sh,#mj-table .mj-t.mj-st th.prev{text-align:center}
#mj-table .mj-t.mj-st td{
  padding:8px 10px;vertical-align:middle;white-space:nowrap;word-break:normal
}
#mj-table .mj-t.mj-st td.rk{font:800 18px "BC",sans-serif;width:2.4rem;text-align:center}
#mj-table .mj-t.mj-st td.sh{font:800 17px "BC",sans-serif;width:2.6rem;text-align:center;white-space:nowrap}
#mj-table .mj-t.mj-st td.tn,#mj-table .mj-t.mj-st th.tn{
  font:700 16.5px "Barlow",sans-serif;text-align:left;white-space:normal;
  overflow-wrap:break-word;min-width:12rem
}
#mj-table .mj-t.mj-st td.sada,#mj-table .mj-t.mj-st td.rem,
#mj-table .mj-t.mj-st td.prev{
  font:800 17.5px "BC",sans-serif;white-space:nowrap;width:1%;text-align:center
}
#mj-table .mj-t.mj-st td.sada{padding-left:8px;padding-right:8px}
#mj-table .mj-t.mj-st td.sada small.was{
  font:700 12.5px "Barlow",sans-serif;letter-spacing:0;margin-left:5px;
  color:var(--dim,#7a8a7c);white-space:nowrap
}
#mj-table .mj-t.mj-st td.rem{min-width:8.6rem}
#mj-table .mj-t.mj-st td.fin,#mj-table .mj-t.mj-st td.fin b,
#mj-table .mj-t.mj-st td.wp{
  font:800 19.5px "BC",sans-serif;white-space:nowrap;width:1%;text-align:center
}
#mj-table .mj-t.mj-st .tag{font:700 11px "BC",sans-serif}

/* Rang po bodovima kategorija — shared planner block */
.mj-roto{margin-top:14px}
.mj-roto-d{border:1px solid var(--line2,#1d2a20);border-radius:10px;background:var(--panel,#0E1611);padding:0;overflow:hidden}
.mj-roto-d>summary{cursor:pointer;list-style:none;font:800 14px "BC",sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--cream,#F3EFE4);padding:10px 14px;background:var(--panel2,#121D16)}
.mj-roto-d>summary::-webkit-details-marker{display:none}
.mj-roto-d>summary::after{content:"▾";float:right;color:var(--muted,#95A397)}
.mj-roto-d[open]>summary::after{content:"▴"}
.mj-roto .mj-meta{margin:8px 14px 10px;font-size:13px;color:var(--dim,#7a8a7c)}
.mj-rp-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;overscroll-behavior-x:contain}
.mj-rp{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%;min-width:52rem;max-width:none;font-size:17px;font-variant-numeric:tabular-nums}
.mj-rp col.c-rk{width:3.6rem}.mj-rp col.c-tn{width:13.5rem}.mj-rp col.c-pts{width:5.4rem}.mj-rp col.c-cat{width:calc((100% - 3.6rem - 13.5rem - 5.4rem) / 12)}
.mj-rp th,.mj-rp td{padding:0 6px;height:2.7rem;text-align:center;white-space:nowrap;vertical-align:middle;line-height:1;border-bottom:1px solid var(--line2,#1d2a20);box-sizing:border-box}
.mj-rp th{font:800 12px "BC",sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#95A397);background:var(--panel2,#0B140E)}
.mj-rp td.rk,.mj-rp th.rk{font:800 17.5px "BC",sans-serif;width:3.8rem}
.mj-rp td.tn,.mj-rp th.tn{
  text-align:left;position:sticky;left:0;z-index:2;background:var(--panel,#0E1611);
  box-shadow:2px 0 0 var(--line2,#1d2a20);width:13.5rem;
  font:700 16.5px "Barlow",sans-serif;overflow:hidden;text-overflow:ellipsis
}
.mj-rp thead th.tn{z-index:3;background:var(--panel2,#0B140E);font:800 12px "BC",sans-serif}
.mj-rp tr.me td{background:rgba(141,240,90,.09)}
.mj-rp tr.me td.tn{background:#17301A;box-shadow:inset 3px 0 0 var(--lime,#8DF05A),2px 0 0 var(--line2,#1d2a20)}
.mj-rp tr.pa td{background:rgba(255,178,92,.08)}
.mj-rp tr.pa td.tn{background:#2a1e12;box-shadow:2px 0 0 var(--line2,#1d2a20)}
.mj-rp .mj-rp-pts{font:800 19.5px "BC",sans-serif;color:var(--cream,#F3EFE4)}
.mj-rp .mj-rp-pts.up{color:var(--lime,#8DF05A)}
.mj-rp .mj-rp-pts.down{color:#FF4830}
#mj-roto .mj-t.mj-rp th.mj-rc,#mj-roto .mj-t.mj-rp td.mj-rc,.mj-rp th.mj-rc,.mj-rp td.mj-rc{
  width:calc((100% - 3.6rem - 13.5rem - 5.4rem) / 12);min-width:0;max-width:none;
  text-align:center;padding-left:0;padding-right:0;overflow:hidden
}
.mj-rp td.mj-rc{font:800 17.5px "BC",sans-serif;color:var(--cream,#F3EFE4)}
.mj-rp td.mj-rc.rk-soft{color:#E9FFDC}
.mj-rp td.mj-rc.rk-ink{color:#071006}
.mj-rp td.mj-rc.rk-warm{color:#FFD0C8}
.mj-rp td.mj-rc.rk-lite{color:#fff}
.mj-rp .tag{display:inline-block;font:700 10px "BC",sans-serif;letter-spacing:.08em;text-transform:uppercase;background:var(--lime,#8DF05A);color:#071006;border-radius:3px;padding:0 5px;margin-left:6px;vertical-align:middle;line-height:1.2;height:auto}
.mj-rp .tag.pa{background:var(--or2,#FFB25C)}
@media (max-width:720px){
  .mj-rp{font-size:15px;min-width:44rem}
  .mj-rp th{font-size:11px}
  .mj-rp col.c-tn,.mj-rp td.tn,.mj-rp th.tn{width:8.8rem;font-size:15px}
  .mj-rp thead th.tn{font-size:11px}
  .mj-rp td.rk,.mj-rp th.rk{font-size:16px}
  .mj-rp col.c-rk{width:3.2rem}
  .mj-rp col.c-pts{width:4.8rem}
  .mj-rp col.c-cat{width:calc((100% - 3.2rem - 8.8rem - 4.8rem) / 12)}
  .mj-rp td.mj-rc{font-size:15.5px}
  .mj-rp .mj-rp-pts{font-size:17px}
  .mj-rp th,.mj-rp td{padding:0 4px;height:2.45rem}
}

@media (max-width:720px){
  /* standings table mobile typography */
  #mj-table .mj-t.mj-st{font-size:15px;width:max-content;min-width:100%}
  #mj-table .mj-t.mj-st th{padding:7px 8px;font-size:11px}
  #mj-table .mj-t.mj-st td{padding:7px 8px}
  #mj-table .mj-t.mj-st td.rk{font:800 16px "BC",sans-serif}
  #mj-table .mj-t.mj-st td.tn,#mj-table .mj-t.mj-st th.tn{
    font:700 15px "Barlow",sans-serif;white-space:normal;overflow-wrap:break-word;
    position:sticky;left:0;z-index:2;background:var(--panel,#0E1611);
    box-shadow:2px 0 0 var(--line2,rgba(243,239,228,.08));
    min-width:8.6rem;max-width:10.8rem
  }
  #mj-table .mj-t.mj-st thead th.tn{z-index:3;background:var(--panel2,#121D16);font:800 11px "BC",sans-serif}
  #mj-table .mj-t.mj-st tr.me td.tn{background:#17301A}
  #mj-table .mj-t.mj-st tr.pa td.tn{background:#2a1e12}
  #mj-table .mj-t.mj-st td.sada,#mj-table .mj-t.mj-st td.rem,
  #mj-table .mj-t.mj-st td.sh,#mj-table .mj-t.mj-st td.prev{font:800 15.5px "BC",sans-serif}
  #mj-table .mj-t.mj-st td.rem{min-width:7.6rem}
  #mj-table .mj-t.mj-st td.fin,#mj-table .mj-t.mj-st td.fin b,
  #mj-table .mj-t.mj-st td.wp{font:800 17px "BC",sans-serif}
  #mj-table .mj-t.mj-st td.sada small.was{font:700 11.5px "Barlow",sans-serif}
}

/* standings / matrix equal fields */
#mj-table .mj-t.mj-st tbody tr{height:2.7rem}
#mj-table .mj-t.mj-st tbody td{
  height:2.7rem;max-height:2.7rem;vertical-align:middle;line-height:1.15;box-sizing:border-box;overflow:hidden
}
#mj-table .mj-t.mj-st td.tn,#mj-table .mj-t.mj-st th.tn{
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
#mj-table .mj-t.mj-st .tag{
  vertical-align:middle;line-height:1.2;padding:0 5px;font-size:10px;margin-left:6px
}
#mj-table .mj-t.mj-st tr.me td,#mj-table .mj-t.mj-st tr.pa td{padding-top:0;padding-bottom:0}

/* Finder Promjena ranga: equal category columns */
.tf-both table{table-layout:fixed;width:100%}
.tf-both col.c-lab,.tf-both thead th:first-child,.tf-both tbody th{width:9.5rem}
.tf-both col.c-cat,.tf-both th.c-cat,.tf-both td.c-cat{
  width:calc((100% - 9.5rem) / 12);text-align:center;padding-left:2px;padding-right:2px;overflow:hidden
}

/* TA / Projekcija matrix: equal category columns */
.mx-table{table-layout:fixed}
.mx-table .c-pos{width:44px}
.mx-table .c-team{width:190px}
.mx-table .c-pts{width:4.6rem}
.mx-table .c-h2h{width:4.2rem}
.mx-table th.c-cat,.mx-table td.c-cat{
  width:calc((100% - 44px - 190px - 4.6rem - 4.2rem) / 12);
  text-align:center;padding-left:4px;padding-right:4px;overflow:hidden
}

@media (max-width:720px){
  #mj-table .mj-t.mj-st tbody tr,#mj-table .mj-t.mj-st tbody td{height:2.45rem;max-height:2.45rem}
  #mj-table .mj-t.mj-st td.tn,#mj-table .mj-t.mj-st th.tn{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .tf-both col.c-lab,.tf-both thead th:first-child,.tf-both tbody th{width:7.6rem}
  .tf-both col.c-cat,.tf-both th.c-cat,.tf-both td.c-cat{width:calc((100% - 7.6rem) / 12)}
  .mx-table .c-team{width:132px}
  .mx-table th.c-cat,.mx-table td.c-cat{width:calc((100% - 34px - 132px - 4rem - 3.6rem) / 12)}
}

/* team per-player compare */
#mj-pproj{margin:0}
.pj-pt-bar{display:flex;flex-wrap:wrap;gap:12px 28px;align-items:center;margin:0 0 12px}
.pj-pt-lab{display:flex;align-items:center;gap:8px;font:700 13px "BC",sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#95A397)}
.pj-pt-lab b{font:800 16px "Barlow",sans-serif;letter-spacing:0;text-transform:none;color:var(--cream,#F3EFE4)}
.pj-pt-lab select{background:var(--panel2,#0B140E);color:var(--cream,#F3EFE4);border:1px solid var(--line,rgba(141,240,90,.28));border-radius:8px;padding:6px 10px;font:700 15px "Barlow",sans-serif;min-width:16rem;max-width:100%}
.pj-pt-grid{display:flex;flex-direction:column;gap:18px}
.pj-pt-card{border:1px solid var(--line,rgba(141,240,90,.16));border-radius:12px;padding:10px 0 8px;background:var(--panel,#0E1611);overflow:hidden}
.pj-pt-card.my{border-color:rgba(141,240,90,.45);box-shadow:inset 3px 0 0 var(--lime,#8DF05A)}
.pj-pt-card.ot{border-color:rgba(255,178,92,.4);box-shadow:inset 3px 0 0 var(--or2,#FFB25C)}
.pj-pt-card h4{margin:0 14px 8px;font:800 16px "BC",sans-serif;letter-spacing:.04em;text-transform:uppercase;color:var(--cream,#F3EFE4)}
.pj-pt-card.my h4{color:var(--lime,#8DF05A)}
.pj-pt-card.ot h4{color:var(--or2,#FFB25C)}
.pj-pt-card h4 .tag{display:inline-block;vertical-align:middle;margin-left:8px;padding:0 6px;border-radius:3px;background:var(--lime,#8DF05A);color:#071006;font:700 10px "BC",sans-serif;letter-spacing:.08em}
.pj-pt-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;overscroll-behavior-x:contain}
.pj-pt{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;min-width:68rem;max-width:none;font-size:15px;font-variant-numeric:tabular-nums}
.pj-pt col.c-rk{width:3.2rem}
.pj-pt col.c-nm{width:13.2rem}
.pj-pt col.c-pos{width:5.2rem}
.pj-pt col.c-nba{width:3.6rem}
.pj-pt col.c-gp{width:3.2rem}
.pj-pt col.c-mpg{width:3.6rem}
.pj-pt col.c-tot{width:4.6rem}
.pj-pt col.c-cat{width:calc((100% - 3.2rem - 13.2rem - 5.2rem - 3.6rem - 3.2rem - 3.6rem - 4.6rem) / 12)}
.pj-pt th,.pj-pt td{padding:0 5px;height:2.55rem;text-align:center;white-space:nowrap;vertical-align:middle;box-sizing:border-box;border-bottom:1px solid var(--line2,rgba(243,239,228,.07))}
.pj-pt th{position:sticky;top:0;z-index:2;background:var(--panel2,#0B140E);font:800 11px "BC",sans-serif;letter-spacing:.05em;text-transform:uppercase;color:var(--muted,#95A397);cursor:pointer;user-select:none}
.pj-pt th.on{color:var(--lime,#8DF05A)}
.pj-pt td{font:700 15px "Barlow",sans-serif;color:var(--cream,#F3EFE4)}
.pj-pt td.c-rk,.pj-pt td.c-tot{font:800 16px "BC",sans-serif}
.pj-pt td.c-cat,.pj-pt td.c-mpg{font:800 15.5px "BC",sans-serif;padding-left:0;padding-right:0;min-width:0;overflow:hidden}
.pj-pt td small{display:block;font:600 10px "BC",sans-serif;color:var(--muted,#95A397);line-height:1.1;letter-spacing:0;text-transform:none}
.pj-pt td.t-elite small{color:#0b1a07}
.pj-pt td.t-poor{color:#fff}
.pj-pt td.t-poor small{color:#ffe4e0}
.pj-pt .c-nm{position:sticky;left:0;z-index:1;text-align:left;background:var(--panel,#0E1611);box-shadow:2px 0 0 var(--line2,rgba(243,239,228,.08));overflow:hidden;text-overflow:ellipsis;font:700 15.5px "Barlow",sans-serif}
.pj-pt th.c-nm{z-index:3;background:var(--panel2,#0B140E);font:800 11px "BC",sans-serif}
.pj-pt td.c-nm b{font-weight:700}
.pj-pt .c-cat,.pj-pt .c-mpg,.pj-pt .c-gp,.pj-pt .c-tot{text-align:center}
.pj-pt tr.il td{opacity:.62}
.pj-pt tr.novi td{background:rgba(141,240,90,.06)}
.pj-pt tr.novi td.c-nm{background:#17301A}
.pj-pt tr.avg td{background:rgba(243,239,228,.04);font-weight:800;border-top:1px solid var(--line,rgba(141,240,90,.22))}
.pj-pt tr.avg td.c-nm{background:var(--panel2,#121D16);text-transform:uppercase;letter-spacing:.05em;font:800 12px "BC",sans-serif}
.pj-pt em.in{font-style:normal;font:700 10px "BC",sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#071006;background:var(--lime,#8DF05A);border-radius:3px;padding:0 5px;margin-left:5px;vertical-align:middle}
.pj-pt em.in.fa{background:var(--or2,#FFB25C)}
.pj-pt-note{margin:10px 2px 0;font-size:12.5px;line-height:1.45;color:var(--muted,#95A397)}
@media (max-width:720px){
  .pj-pt{min-width:58rem;font-size:14px}
  .pj-pt col.c-nm,.pj-pt td.c-nm,.pj-pt th.c-nm{width:9.6rem}
  .pj-pt col.c-pos{width:4.2rem}
  .pj-pt th,.pj-pt td{height:2.35rem;padding:0 4px}
  .pj-pt td{font-size:14px}
  .pj-pt td.c-cat,.pj-pt td.c-mpg,.pj-pt td.c-rk,.pj-pt td.c-tot{font-size:14.5px}
  .pj-pt-lab select{min-width:12rem;font-size:14px}
  .pj-pt-card h4{font-size:14.5px}
}
