/* The recruiting and coach windows, and the cards that open them (Albert 2026-11-29, his mockup: navy header with an orange corner, condensed
   italic titles with an orange line, white rows with a colored edge). ONE file for the player pages and the team pages, so they always match.
   Markup: _inc/mn_modal.cfm. Opening and closing: assets/mn-coach.js. */

/* ---- the window ---- */
.mx[hidden]{display:none!important}
.mx{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom));
  background:rgba(8,16,36,.62);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.mx-card{display:flex;flex-direction:column;width:min(560px,100%);max-height:100%;overflow:hidden;border-radius:20px;background:#eef1f6;color:#0b1730;
  box-shadow:0 0 0 1.5px rgba(255,255,255,.45),0 24px 60px -12px rgba(0,0,0,.6)}
html.mx-lock,html.mx-lock body{overflow:hidden}
.mx-head{position:relative;flex:none;overflow:hidden;padding:20px 18px 18px;color:#fff;background:linear-gradient(120deg,#081633,#10264f)}
.mx-head::before,.mx-head::after{content:"";position:absolute;right:0;bottom:0;clip-path:polygon(100% 0,100% 100%,0 100%)}
.mx-head::before{width:104px;height:150px;background:linear-gradient(135deg,rgba(255,94,0,0) 30%,rgba(255,94,0,.55))}
.mx-head::after{width:56px;height:80px;background:linear-gradient(160deg,#ff7a1a,#ff5a00)}
.mx-head>*{position:relative;z-index:1}
.mx-head h2{margin:0;padding-right:48px;font:italic 800 34px/1 var(--fd,"Barlow Condensed",sans-serif);letter-spacing:.005em;text-transform:uppercase;color:#fff;background:none}
.mx-head p{margin:6px 0 0;font-size:14px;line-height:1.35;color:#e3e9f5}
.mx-head p i{display:inline-block;width:6px;height:6px;margin:0 7px;border-radius:50%;background:#ff6a13;vertical-align:middle}
/* the coach's own page (2026-11-30: /coach/<slug>) */
.mx-head p .mx-lk{display:inline-flex;align-items:center;gap:4px;margin-left:12px;padding:3px 0;color:#ffb163;font-weight:700;white-space:nowrap}
.mx-head p .mx-lk:hover{color:#fff}
.mx-x{position:absolute!important;z-index:2!important;top:10px;right:10px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:none;color:#fff;cursor:pointer}
.mx-x:focus-visible{outline:2px solid #ff6a13}
.mx-nums{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;margin:14px 0 0;padding:10px 0;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(120,150,205,.16);list-style:none}
.mx-nums li{text-align:center}
.mx-nums li+li{border-left:1px solid rgba(255,255,255,.35)}
.mx-nums b{display:block;font:italic 800 32px/1 var(--fd,"Barlow Condensed",sans-serif)}
.mx-nums span{font-size:14px;line-height:1.3;color:#eef3fc}

/* ---- the list: each section title stays at the top while its rows scroll ---- */
.mx-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 22px 22px}
.mx-sec h3{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:12px;margin:0 -22px;padding:16px 22px 14px;background:#eef1f6;
  font:italic 800 27px/1 var(--fd,"Barlow Condensed",sans-serif);letter-spacing:.005em;text-transform:uppercase;color:#0b1730}
.mx-sec h3 span{position:relative}
.mx-sec h3 span::after{content:"";position:absolute;left:0;bottom:-9px;width:64px;max-width:100%;height:4px;border-radius:2px;background:#ff5a00}
.mx-sec h3 em{min-width:40px;padding:5px 12px;border-radius:99px;background:#d3d9e4;text-align:center;font-size:20px}
.mx-sec ul{display:grid;gap:9px;margin:4px 0 8px;padding:0;list-style:none}
.mx-row{display:flex;align-items:center;gap:12px;min-height:50px;padding:9px 14px 9px 18px;border-left:9px solid var(--c,#8a94a8);border-radius:12px;background:#fff;color:#0b1730;
  box-shadow:0 5px 12px -7px rgba(11,23,48,.4);text-decoration:none}
.mx-row>span{flex:1;min-width:0}
.mx-row b{display:block;font-size:17px;font-weight:700;line-height:1.25}
.mx-row small{display:block;margin-top:1px;font-size:14px;line-height:1.3;color:#56617a}
.mx-row svg{flex:none;color:#7d879b}
a.mx-row:hover b,a.mx-row:focus-visible b{text-decoration:underline}
.mx .visit{--c:#ff5a00}.mx .offer{--c:#1f7d57}
.mx .r1{--c:#d7263d}.mx .r2{--c:#ff5a00}.mx .r3{--c:#e0a100}.mx .r4{--c:#1f7d57}.mx .r5{--c:#2f6fe0}.mx .r6{--c:#7c4fd0}.mx .r7{--c:#7d879b}
.mx-note{margin:16px 0 0;padding:14px 16px;border-radius:14px;background:#dde2eb;font-size:14.5px;line-height:1.45;color:#333f57}
.mx-note p{margin:0;padding-left:14px;border-left:4px solid #ff5a00;font-style:italic}
.mx-note a{display:inline-block;color:#0a43c2}
.mx-note p+a{margin-top:8px}
@media(max-width:400px){.mx-head h2{font-size:30px}.mx-nums span{font-size:13px}.mx-body{padding:0 16px 18px}.mx-sec h3{margin:0 -16px;padding-left:16px;padding-right:16px}}

/* ---- the coach's career above Round 1 (Albert 2026-11-30): the last three stops are cards in the schools' own colors (--tc card, --ta accent, --tk
   text on the accent, from m3TeamOf; navy and orange without colors), older stops are slim rows behind the button ---- */
.mh{margin:12px 0 2px}
.mh-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:24px}
.mh h3{margin:0;font-size:14px;font-weight:700;line-height:1.3;color:#0b1730}
.mh-btn{display:inline-flex;align-items:center;gap:4px;flex:none;margin:-10px -8px;padding:10px 8px;border:0;background:none;color:#0a43c2;font:inherit;font-size:14px;font-weight:700;line-height:24px;cursor:pointer}
.mh-btn:focus-visible{outline:2px solid #0a43c2;outline-offset:-4px;border-radius:8px}
.mh-btn svg{transition:transform .2s}
.mh-btn[aria-expanded=true] svg{transform:rotate(180deg)}
.mh ol{margin:8px 0 0;padding:0;list-style:none}
.mh em{font-style:normal}
.mh em i{font-style:normal}
.mh-new{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.mh-new.n2{grid-template-columns:repeat(2,minmax(0,1fr))}
.mh-new li{position:relative;z-index:0;overflow:hidden;min-height:96px;padding:9px 10px 12px 11px;border-radius:12px;color:#fff;
  background:repeating-linear-gradient(115deg,rgba(255,255,255,.06) 0 2px,transparent 2px 13px),linear-gradient(155deg,rgba(5,12,32,0) 20%,rgba(5,12,32,.62)),var(--tc,#17376f);
  box-shadow:0 8px 16px -9px rgba(8,16,36,.75);animation:mhIn .38s cubic-bezier(.2,.8,.3,1) both}
.mh-new li:nth-child(2){animation-delay:.07s}.mh-new li:nth-child(3){animation-delay:.14s}
.mh-new li::before{content:attr(data-k);position:absolute;z-index:-1;right:-3px;bottom:-15px;font:italic 800 78px/1 var(--fd,"Barlow Condensed",sans-serif);letter-spacing:-.03em;color:rgba(255,255,255,.1)}
.mh-new li::after{content:"";position:absolute;z-index:-1;right:0;bottom:0;width:20px;height:30px;background:var(--ta,#ff5a00);clip-path:polygon(100% 0,100% 100%,0 100%)}
.mh-new .mh-y{display:inline-block;margin:0 0 7px -11px;padding:3px 15px 3px 11px;background:var(--ta,#ff5a00);color:var(--tk,#0b1730);clip-path:polygon(0 0,100% 0,calc(100% - 8px) 100%,0 100%);
  font:italic 800 17px/1.1 var(--fd,"Barlow Condensed",sans-serif)}
.mh-new b{display:block;font:italic 800 23px/.98 var(--fd,"Barlow Condensed",sans-serif);text-transform:uppercase;overflow-wrap:break-word}
.mh-new em{display:block;margin-top:5px;padding-right:8px;font-size:13px;font-weight:600;line-height:1.25}
.mh .mh-old{display:none;gap:5px;margin-top:9px}
.mh.open .mh-old{display:grid}
.mh-old li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 12px;border-left:9px solid var(--tc,#17376f);border-radius:9px;background:#fff;color:#0b1730;box-shadow:0 4px 9px -7px rgba(11,23,48,.5)}
.mh-old div{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 9px;min-width:0}
.mh-old b{font:italic 800 19px/1.15 var(--fd,"Barlow Condensed",sans-serif);text-transform:uppercase}
.mh-old em{font-size:13px;line-height:1.3;color:#44506a}
.mh-old .mh-y{flex:none;max-width:42%;text-align:right;font:italic 800 18px/1.1 var(--fd,"Barlow Condensed",sans-serif)}
@keyframes mhIn{from{opacity:0;transform:translateX(22px) skewX(-5deg)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.mh-new li{animation:none}.mh-btn svg{transition:none}}
@media(max-width:480px){.mh-new{gap:6px}.mh-new li{padding:8px 6px 11px 8px;border-radius:10px}.mh-new .mh-y{margin-left:-8px;padding-left:8px;font-size:16px}.mh-new b{font-size:19px}.mh-new em{font-size:12px;padding-right:4px}}
@media(max-width:480px){.mh-new .lw b{font-size:16px;letter-spacing:-.01em}.mh-new.n3 .xw b{font-size:14.5px;letter-spacing:-.02em}}
@media(max-width:360px){.mh-new b{font-size:17px}.mh-new .lw b{font-size:13.5px}.mh-new.n3 .xw b{font-size:12px}.mh-new em{font-size:11.5px;padding-right:0;letter-spacing:-.02em}}

/* ---- the recruiting map (it opens the recruiting window) ---- */
.rj-wrap{margin:0 0 12px}
.jrn-mapbtn{display:block;width:100%;margin:0;padding:0;border:0;background:none;cursor:pointer}
.jrn-map{display:block;width:100%;height:auto;margin:4px 0 10px}

/* ---- the coaching tree (player page): the page's own light cards, navy text, orange branches (Albert 2026-11-29: "having this be the one dark
   background section doesn't make sense"; the dark version is in work/tree_bak_1129) ---- */
.ct-say{margin:0 0 16px;font-size:16px;line-height:1.45;color:#4a5570}
.ct{color:#0f172a}
.ct-nums{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 20px;padding:0;list-style:none}
.ct-nums li{padding:14px 4px 12px;border:1px solid #e8ecf3;border-radius:16px;background:#f8fafc;text-align:center}
.ct-nums b{display:block;font:italic 800 30px/1 var(--fd,"Barlow Condensed",sans-serif)}
.ct-nums b::after{content:"";display:block;width:30px;height:3px;margin:8px auto 0;border-radius:2px;background:linear-gradient(90deg,#ea580c,#fb923c)}
.ct-nums span{display:block;max-width:80px;margin:8px auto 0;font-size:13px;line-height:1.3;color:#56617a}
.ct-box{display:flex;align-items:center;gap:10px;width:100%;min-width:0;margin:0;padding:14px 12px;border:1px solid #dfe4ed;border-radius:18px;background:#fff;color:#0f172a;
  box-shadow:0 10px 26px -18px rgba(15,23,42,.45);font:inherit;text-align:left}
button.ct-box{cursor:pointer}
.mx-quiet:focus,.mx-quiet:focus-visible{outline:none!important}
button.ct-box:focus-visible:not(.mx-quiet){border-color:#ea580c;outline:none;box-shadow:0 10px 24px -14px rgba(234,88,12,.55)}
@media(hover:hover){button.ct-box:hover{border-color:#ea580c;box-shadow:0 10px 24px -14px rgba(234,88,12,.55)}}
.ct-who{flex:1;min-width:0}
.ct-who small{display:block;font-size:12px;font-weight:600;line-height:1.25;letter-spacing:.02em;text-transform:uppercase;color:#56617a}
.ct-who b{display:block;margin:5px 0 4px;font:italic 800 24px/1 var(--fd,"Barlow Condensed",sans-serif);letter-spacing:.005em;text-transform:uppercase;overflow-wrap:anywhere}
.ct-who>span{display:block;font-size:13px;line-height:1.35;color:#56617a}
.ct-n{flex:none;width:58px;padding-left:9px;border-left:1px solid #e1e6ef;font-size:12.5px;line-height:1.25;text-align:center;color:#56617a}
.ct-n b{display:block;margin-bottom:3px;font:italic 800 30px/1 var(--fd,"Barlow Condensed",sans-serif);color:#d9480f}
.ct-top{display:grid;gap:10px;width:min(340px,92%);margin:0 auto}
.ct-top .ct-box{padding:16px 18px;border:2px solid #f0652a}
.ct-top .ct-who small{display:inline-block;padding:5px 12px;border-radius:8px;background:#c9440f;font-size:13px;color:#fff}
.ct-top .ct-who b{margin:9px 0 5px;font-size:34px}
.ct-top .ct-who>span{font-size:15px}
.ct-top .ct-n{width:84px;font-size:14px}
.ct-top .ct-n b{font-size:42px}
.ct-join{position:relative;height:40px;background:linear-gradient(#f0652a,#f0652a) 50% 0/3px 20px no-repeat}
.ct-join::before,.ct-join::after{content:"";position:absolute;top:18px;bottom:0;border:solid #f0652a;border-width:0}
.ct-join::before{left:25%;right:50%;border-width:3px 0 0 3px;border-top-left-radius:14px}
.ct-join::after{left:50%;right:25%;border-width:3px 3px 0 0;border-top-right-radius:14px}
.ct-join.one{background-size:3px 100%}
.ct-join.one::before,.ct-join.one::after{display:none}
.ct-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px}
.ct-row.one{grid-template-columns:minmax(0,min(340px,92%));justify-content:center}
.ct-row>div{display:grid;gap:14px}
.ct-row .ct-box{position:relative}
.ct-row .ct-box+.ct-box::before{content:"";position:absolute;left:50%;top:-15px;width:3px;height:14px;margin-left:-1px;background:#f0652a}
.ct-note{margin:14px 0 0;font-size:13px;line-height:1.4;text-align:center;color:#56617a}
@media(max-width:430px){.ct-row .ct-box{padding:12px 9px;gap:7px}.ct-row .ct-n{width:50px;padding-left:7px;font-size:12px}.ct-row .ct-who b{font-size:22px}.ct-row .ct-who small{font-size:11.5px}}
/* very narrow phones: the number goes under the name, so "COORDINATOR" fits (both pages) */
@media(max-width:375px){.ct-row .ct-box{flex-direction:column;align-items:flex-start;gap:8px}.ct-row .ct-n{width:100%;padding:7px 0 0;border-left:0;border-top:1px solid #e1e6ef;text-align:left}.ct-row .ct-n b{display:inline;margin:0 6px 0 0;font-size:24px}}
/* team page: the names of the two sides, on the branches above their coaches */
.ct-side{justify-self:center;margin:0;padding:5px 17px 6px;border-radius:9px;background:#0b1f4b;color:#fff;font:italic 800 20px/1 var(--fd,"Barlow Condensed",sans-serif);letter-spacing:.02em;text-transform:uppercase}
.ct-row .ct-side+.ct-box::before{content:"";position:absolute;left:50%;top:-15px;width:3px;height:14px;margin-left:-1px;background:#f0652a}
/* a whole staff is long: there the number stands under the name, so names and titles have the full width (Albert 2026-11-30: not so tall) */
.staff .ct-nums{margin-bottom:14px}
.staff .ct-nums li{padding:9px 4px 8px;border-radius:13px}
.staff .ct-nums b{font-size:27px}
.staff .ct-nums b::after{margin-top:5px}
.staff .ct-nums span{margin-top:5px;font-size:12.5px;line-height:1.2}
.staff .ct-top{width:100%;gap:8px}
.staff .ct-top .ct-box{padding:10px 14px}
.staff .ct-top .ct-who small{padding:3px 10px;font-size:12px}
.staff .ct-top .ct-who b{margin:6px 0 0;font-size:29px}
.staff .ct-top .ct-n b{margin:0;font-size:34px}
.staff .ct-join{height:30px;background-size:3px 15px}
.staff .ct-join::before,.staff .ct-join::after{top:13px}
.staff .ct-join.one{background-size:3px 100%}
.staff .ct-row>div{gap:8px}
.staff .ct-side{padding:4px 15px 5px;font-size:18px}
.staff .ct-row .ct-box{display:block;padding:8px 10px 7px;border-radius:13px}
.staff .ct-row .ct-box+.ct-box::before,.staff .ct-row .ct-side+.ct-box::before{top:-9px;height:8px}
.staff .ct-row .ct-who small{font-size:11.5px;letter-spacing:0;line-height:1.2}
.staff .ct-row .ct-who b{margin:3px 0 2px;font-size:21px;overflow-wrap:break-word}
.staff .ct-row .ct-who>span{font-size:12.5px;line-height:1.25}
.staff .ct-row .ct-n{display:block;width:auto;margin-top:4px;padding:0;border:0;font-size:12.5px;text-align:left}
.staff .ct-row .ct-n b{display:inline;margin:0 5px 0 0;font-size:20px}
.staff .ct-note{margin-top:10px;font-size:12.5px;line-height:1.35}
@media(max-width:375px){.staff .ct-row .ct-who small{font-size:11px;letter-spacing:-.02em}.staff .ct-row .ct-box{padding-left:8px;padding-right:6px}.staff .ct-row .ct-who b{font-size:19px}.staff .ct-top .ct-who b{font-size:26px}}

/* the box a search result went to */
.ct-box.ct-hit{border-color:#ea580c;box-shadow:0 0 0 3px rgba(234,88,12,.35)}

/* ---- the staff list (team page) ---- */
.tc-row b{display:block}
.cj-btn{flex:none;min-height:44px;padding:8px 14px;border:0;border-radius:999px;background:#1e3a8a;color:#fff;font:inherit;white-space:nowrap;cursor:pointer}
.tc-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.tc-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #d9dde6;border-radius:12px;background:#fff}
.tc-row>div{min-width:0}
.tc-row small{color:#5b6475}
.tc-none{flex:none;font-size:14px;color:#5b6475}
