/* mocknfldraft.com team page in LOOK 3 (the light redesign, Albert 2026-11-19): the sibling of the player page. The shared pieces
   (the light-blue card, the green circle, the white row of facts, the bar with the tabs, the columns, the game table, the rank card)
   come from assets/mn3-player.css, loaded before this file; here are the team page's own tab names and its own cards.
   A phone shows one tab at a time (Overview, Schedule, Roster); from 1100px three columns of cards, then the depth by role and the
   roster across the page. */
@media(max-width:1099px){
  .tm .pl-cols[data-tab=overview] .pl-card:not([data-t~=overview]),.tm .pl-cols[data-tab=schedule] .pl-card:not([data-t~=schedule]),.tm .pl-cols[data-tab=roster] .pl-card:not([data-t~=roster]){display:none}
}

/* the card at the top: a school's name is longer than a player's last name */
.tm .pl-hero h1{font-size:clamp(22px,calc((100cqi - 156px)/(var(--nl,8)*.61)),42px)}
.tm-spec li{padding:0 4px}
.tm-spec span{font-size:13.5px}
.tm-spec li>b,.tm-spec li>span{cursor:default}
@media(max-width:400px){.tm-spec b{font-size:17px}.tm-spec span{font-size:13px}}
@media(max-width:360px){.tm-spec b{font-size:15.5px}.tm-spec span{font-size:12.5px}}
.tm .pl-spec a{padding:4px 0;margin:-4px 0}
.tm .m3-h .m3-lk{min-height:44px;padding:0}
@media(max-width:380px){.tm .m3-h h2{font-size:20px}}

/* projected picks: a count for each round, then one peach row a pick */
.tm-rounds{list-style:none;margin:0 0 10px;padding:0;display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.tm-rounds li{display:grid;justify-items:center;padding:6px 0 5px;border-radius:9px;background:var(--lilac);line-height:1.15}
.tm-rounds span{font-size:12.5px;font-weight:700;color:var(--pri)}
.tm-rounds b{font-size:19px;font-weight:800;letter-spacing:-.02em}
.tm-rounds li.z{background:var(--soft)}
.tm-rounds li.z span,.tm-rounds li.z b{color:var(--muted)}
.tm-pk{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.tm-pk a{display:flex;align-items:center;gap:12px;min-height:60px;padding:8px 10px 8px 12px;border-radius:var(--r);background:#fddfd5;background:linear-gradient(160deg,#fee5dc,#fbd6ca);color:var(--ink)}
.tm-pk a:hover{text-decoration:none;filter:brightness(.98)}
.tm-pk .n{flex:none;min-width:50px;padding-right:12px;border-right:1.5px solid rgba(11,12,28,.35);font-size:27px;font-weight:800;line-height:1.3;letter-spacing:-.04em;text-align:center;font-variant-numeric:tabular-nums}
.tm-pk .t{flex:1;min-width:0;display:grid;line-height:1.2}
.tm-pk .t b{font-size:17.5px;font-weight:800;letter-spacing:-.025em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tm-pk .t small{font-size:14px;color:var(--ink2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tm-pk .m3-chip{background:rgba(255,255,255,.78)}
.tm-pk a>svg{flex:none}
.tm-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;margin:8px 0 0}
.tm-foot .m3-lk{min-height:44px}
.tm-exp svg{transition:transform .2s}
.tm-exp[aria-expanded=true] svg{transform:rotate(180deg)}
.tm-picks .mn-note{margin:2px 0 0}
@media(max-width:699px){.tm-pk:not(.all) li:nth-child(n+4){display:none}}
@media(min-width:700px){.tm-exp{display:none}}

/* beyond the stats: the first story is a link to its player */
.tm-fact1{position:relative;display:block;color:var(--ink)}
.tm-fact1:hover{text-decoration:none;filter:brightness(.98)}
.tm-fact1 p{padding-right:50px}
.tm-ur{position:absolute;right:14px;bottom:14px;display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--pri);color:#fff}
.tm .pl-fact summary small{display:block;margin-top:1px;font-weight:500;font-size:14px;letter-spacing:0;color:var(--ink2)}
.tm .pl-fact p a{font-weight:700;white-space:nowrap}

/* the schedule */
.tm-rec{font-weight:800;font-size:18px;letter-spacing:-.02em;white-space:nowrap}
.tm .pl-gt td b a{color:inherit}
.tm .pl-gt td b a:hover{color:var(--pri)}
.tm .pl-gt td.r{font-size:15.5px}

/* the rank card and the conference */
.tm-rank>.mn-note,.tm-depth>.mn-note{margin:10px 0 0}

/* depth by role: a row for each position group */
.tm-sub{margin:-6px 0 10px;font-size:14.5px;color:var(--muted)}
.tm-dp{padding:2px 12px}
.tm-dp .r{display:flex;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.tm-dp .r:first-child{border-top:0}
.tm-dp .g{flex:none;display:grid;place-items:center;width:46px;height:44px;border-radius:9px;background:var(--lilac);font-weight:800;font-size:15.5px}
.tm-dp .l{flex:1;min-width:0;display:flex;flex-wrap:wrap;gap:8px}
.tm-dp .l a{display:flex;align-items:center;gap:8px;max-width:100%;min-height:44px;padding:3px 5px 3px 12px;border:1px solid var(--line);border-radius:10px;color:var(--ink)}
.tm-dp .l a b{min-width:0;font-size:15.5px;font-weight:800;letter-spacing:-.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tm-dp .l a i{flex:none;font-style:normal;font-size:13.5px;color:var(--muted)}
.tm-dp .l a.starter{border-color:#b9b5ee;background:var(--lilac2)}
.tm-dp .l a.starter i{color:var(--pri);font-weight:700}
.tm-dp .l a:hover{text-decoration:none;border-color:var(--pri)}
.tm-dp .dm{flex-basis:100%;font-size:13.5px;color:var(--muted)}
@media(max-width:699px){.tm-dp .l a{flex:1 1 100%}.tm-dp .l a i{margin-left:auto}}

/* the roster: pills for the position groups, a row a player */
.tm .m3-pills button{height:44px}
.tm-roster .m3-pills button small{margin-left:5px;font-weight:600;font-size:12.5px;opacity:.72}
.tm-rg{margin-top:16px}
.tm-rg h3{margin:0 0 8px;font-size:18px}
.tm-rg h3 small{margin-left:8px;font-size:14px;font-weight:600;letter-spacing:0;color:var(--muted)}
.tm-rl{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:8px}
.tm-rl .m3-row{min-height:56px;padding:6px 10px}
.tm-rl .m3-rk{width:40px;height:40px;font-size:17px}
.tm-rl .m3-id b{font-size:16.5px}
.tm-rl .m3-rk:empty::before{content:"\2013";color:var(--muted)}
.tm-rl .mn-vb span{display:none}

@media(min-width:700px){.tm-roster .m3-pills{flex-wrap:wrap}}
/* a desktop: the name on one line, the two wide cards across the page */
@media(min-width:1100px){
  .tm .pl-hero h1{font-size:clamp(34px,calc((62cqi - 190px)/(var(--nf,10)*.6)),64px)}
  .tm-wide{grid-column:1/-1}
  .pl-cols.n2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pl-cols.n1{grid-template-columns:minmax(0,1fr)}
  .tm-rl{grid-template-columns:repeat(auto-fill,minmax(330px,1fr))}
}
@media print{.tm .pl-cols[data-tab] .pl-card{display:block!important}}

/* TEAM RATING BY WEEK (2026-11-23) */
.tw-box{border-radius:16px;padding:14px;color:#fff;background:linear-gradient(160deg,color-mix(in srgb,var(--tc,#0a2a66) 70%,#0b1226),#0b1226 80%);box-shadow:0 14px 30px -18px rgba(11,18,38,.7)}
.tw-top{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:6px}
.tw-kpi{padding:8px 6px;border-radius:12px;background:rgba(255,255,255,.08);text-align:center}
.tw-kpi b{display:block;font:italic 800 30px/1 var(--fd,"Barlow Condensed",sans-serif);color:#fff}
.tw-kpi span{display:block;margin-top:3px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#cbd5e1}
.tw-kpi.up b{color:#4ade80}.tw-kpi.dn b{color:#f87171}
.tw-svg{display:block;width:100%;height:auto;margin:4px 0}
.tw-svg .gr line{stroke:rgba(255,255,255,.1)}
.tw-svg text{fill:#94a3b8;font:600 11px var(--font,inherit)}
.tw-svg .ar{fill:color-mix(in srgb,var(--ta,#fff) 18%,transparent)}
.tw-svg .ln{fill:none;stroke:var(--ta,#fff);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.tw-svg .pt circle{fill:#0b1226;stroke:var(--ta,#fff);stroke-width:2.5}
.tw-svg .pt.w circle{stroke:#4ade80}.tw-svg .pt.l circle{stroke:#f87171}
.tw-svg .now rect{fill:#fff}.tw-svg .now text{fill:#0b1226;font:italic 800 17px var(--fd,"Barlow Condensed",sans-serif)}
.tw-list{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:4px;max-height:330px;overflow:auto}
.tw-list li{display:grid;grid-template-columns:38px minmax(0,1fr) 42px 36px;align-items:center;gap:8px;padding:7px 10px;border-radius:10px;background:rgba(255,255,255,.06);font-size:13.5px}
.tw-list .wk{font:italic 800 15px/1 var(--fd,"Barlow Condensed",sans-serif);color:#94a3b8}
.tw-list .gm{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#e2e8f0}
.tw-list li.w .gm b{color:#4ade80}.tw-list li.l .gm b{color:#f87171}
.tw-list .ch{text-align:right;font-weight:800;color:#94a3b8}.tw-list .ch.up{color:#4ade80}.tw-list .ch.dn{color:#f87171}
.tw-list .sc{text-align:right;font:italic 800 19px/1 var(--fd,"Barlow Condensed",sans-serif)}
.tw .mn-note{color:#94a3b8;margin:10px 0 0;font-size:12.5px}
@media(max-width:480px){.tw-top{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* DRAFT HISTORY (2026-11-23) */
.dh-box{padding:14px}
.dh-kpi{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 12px;padding:0}
.dh-kpi li{display:grid;justify-items:center;text-align:center;padding:10px 4px;border-radius:12px;background:#f8fafc;border:1px solid #edf0f5}
.dh-kpi b{font:italic 800 30px/1 var(--fd,"Barlow Condensed",sans-serif);color:#0f172a}
.dh-kpi span{margin-top:3px;font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#64748b;line-height:1.15}
.dh-bars{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:end;gap:5px;height:150px;padding:6px 0 0}
.dh-bar{display:grid;grid-template-rows:1fr auto auto;align-items:end;justify-items:center;height:100%;padding:0;border:0;background:none;cursor:pointer;font:inherit}
.dh-bar:disabled{cursor:default;opacity:.4}
.dh-bar .stk{display:flex;flex-direction:column-reverse;width:100%;min-height:3px;border-radius:6px 6px 2px 2px;overflow:hidden;background:#e2e8f0;transition:transform .15s ease}
.dh-bar .stk i{display:block;min-height:0}
.dh-bar b{font:italic 800 15px/1.2 var(--fd,"Barlow Condensed",sans-serif);color:#0f172a}
.dh-bar small{font-size:11px;color:#64748b}
@media(hover:hover){.dh-bar:not(:disabled):hover .stk{transform:scaleY(1.04);box-shadow:0 6px 14px -8px rgba(234,88,12,.7)}}
.r1{background:#f97316}.r2{background:#1e3a8a}.r3{background:#94a3b8}
.dh-leg{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0 10px;font-size:12px;color:#64748b}
.dh-leg span{display:inline-block;width:10px;height:10px;border-radius:3px;margin-left:6px}
.dh-pos{display:flex;flex-wrap:wrap;gap:6px}
.dh-chip{padding:6px 11px;border:1px solid #fed7aa;border-radius:999px;background:#fff7ed;color:#9a3412;font:600 13.5px/1 var(--font,inherit);cursor:pointer}
.dh-chip b{font:italic 800 15px/1 var(--fd,"Barlow Condensed",sans-serif);color:#ea580c;margin-right:3px}
@media(hover:hover){.dh-chip:hover{background:#ffedd5}}
.dh-h3{margin:14px 0 6px;font:italic 800 20px/1 var(--fd,"Barlow Condensed",sans-serif);text-transform:uppercase}
.dh-list{list-style:none;margin:0;padding:0}
.dh-list li{display:grid;grid-template-columns:46px 30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 0;border-top:1px solid #edf0f5}
.dh-list li:first-child{border-top:0}
.dh-list .ov{display:grid;place-items:center;height:30px;border-radius:9px;background:#0f172a;color:#fff;font:italic 800 15px/1 var(--fd,"Barlow Condensed",sans-serif)}
.dh-list img{width:30px;height:30px;object-fit:contain}
.dh-list li:not(:has(img)) .nm{grid-column:2/4}
.dh-list .nm{min-width:0;font-weight:700;font-size:15px}
.dh-list .nm a{color:#1d4ed8}
.dh-list .nm small{display:block;font-weight:500;font-size:12.5px;color:#64748b}
.dh-list .ps{padding:3px 9px;border-radius:999px;background:#fff7ed;color:#9a3412;font-weight:800;font-size:12px}
.dh-dlg{width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:18px;box-shadow:0 30px 80px rgba(0,0,0,.4)}
.dh-dlg[open]{display:flex;flex-direction:column}
.dh-dlg::backdrop{background:rgba(11,12,28,.55);backdrop-filter:blur(3px)}
.dh-dlg-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 14px 12px 18px;background:var(--tc,#0a2a66);color:#fff}
.dh-dlg-bar h2{margin:0;font:italic 800 22px/1.1 var(--fd,"Barlow Condensed",sans-serif);text-transform:uppercase;color:#fff}
.dh-x{flex:none;width:40px;height:40px;border:0;border-radius:50%;background:rgba(0,0,0,.3);color:#fff;font-size:26px;cursor:pointer}
.dh-dlg .dh-list{overflow:auto;padding:6px 18px 16px}
@media(max-width:600px){.dh-kpi{grid-template-columns:repeat(2,minmax(0,1fr))}.dh-bars{height:120px;gap:3px}.dh-dlg{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}}
/* THE NFL PIPELINE (Albert 2026-11-23) */
.pp-list{list-style:none;margin:0;padding:6px 16px}
.pp-list li{padding:11px 0;border-top:1px solid #edf0f5}
.pp-list li:first-child{border-top:0}
.pp-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pp-top b{font:italic 800 19px/1 var(--fd,"Barlow Condensed",sans-serif);text-transform:uppercase;color:#0f172a}
.pp-rk{padding:3px 10px;border-radius:999px;background:#eef2f6;color:#334155;font:800 12px/1.2 var(--font,inherit)}
.pp-rk.top{background:linear-gradient(90deg,#ea580c,#fb923c);color:#fff;box-shadow:0 3px 8px rgba(234,88,12,.25)}
.pp-bar{height:10px;margin:8px 0 6px;border-radius:999px;background:#f1f5f9;overflow:hidden}
.pp-bar i{display:flex;height:100%;border-radius:999px;background:linear-gradient(90deg,#1e3a8a,#3b82f6)}
.pp-bar em{display:block;height:100%;background:linear-gradient(90deg,#ea580c,#fb923c)}
.pp-list p{margin:0;font-size:13.5px;color:#475569}
.pp-list p a{color:#1d4ed8;font-weight:700}
.tm-pipe .dh-leg{margin:6px 16px 4px}
/* draft picks: the round and the year up front, colored by round (Albert 2026-11-23) */
.dh-list li{grid-template-columns:58px 30px minmax(0,1fr) auto}
.dh-list .rb{display:grid;justify-items:center;align-content:center;height:44px;border-radius:11px;color:#fff;background:#94a3b8;box-shadow:0 2px 6px rgba(15,23,42,.12)}
.dh-list .rb b{font:italic 800 18px/1 var(--fd,"Barlow Condensed",sans-serif);text-transform:uppercase}
.dh-list .rb small{font:800 11px/1.2 var(--font,inherit);letter-spacing:.04em;opacity:.92}
.dh-list .q1 .rb{background:linear-gradient(160deg,#fb923c,#ea580c)}
.dh-list .q2 .rb{background:linear-gradient(160deg,#2b4c9b,#1e3a8a)}
.dh-list .q3 .rb{background:linear-gradient(160deg,#94a3b8,#64748b)}
