/* MyIE look for the NFL Daily Fantasy page (/nfl/dailyfantasy).
   Scoped to html.myie-fantasy so no other page of the main site is affected.
   Only restyles; the React table (js/nfl/dfs.js) and its data are untouched. */
html.myie-fantasy{--navy:#0B1C3E;--red:#C8102E;--bg:#F5F6F8;--muted:#5A6478;--border:#E4E6EA;--d3-a:#0B6B45;--d3-b:#14A35F;}
html.myie-fantasy body{background:var(--bg) !important;color:#1A1A1A;font-family:'Inter',-apple-system,'Segoe UI',Arial,sans-serif !important;-webkit-font-smoothing:antialiased;}

/* hide the old header, standings strip and weekend bar on this page only */
html.myie-fantasy nav.fixed.top-0,html.myie-fantasy #gamelist,html.myie-fantasy #weekend-matchup-teams{display:none !important;}
html.myie-fantasy main .mt-14{margin-top:0 !important;}
html.myie-fantasy main .mt-14>.container-fluid{display:contents !important;}
html.myie-fantasy main .mt-14{display:flex;flex-direction:column;}
html.myie-fantasy main .mt-14>div:first-child{order:1;width:100%;}
html.myie-fantasy .mf-header{order:0;width:100%;}
html.myie-fantasy .mf-hero{order:2;width:100%;}
html.myie-fantasy #root{order:3;width:100%;}

/* ---- header (same as the NFL pages) ---- */
.mf-header{background:#fff;border-bottom:1px solid var(--border);}
.mf-header .mf-nav{max-width:1240px;margin:0 auto;padding:12px 24px;display:flex;align-items:center;gap:28px;}
.mf-header .mf-logo{display:flex;align-items:center;flex:0 0 auto;}
.mf-header .mf-logo img{height:34px;width:auto;display:block;}
.mf-header .nav-links{display:flex;align-items:center;gap:6px;margin-left:auto;flex-wrap:nowrap;}
.mf-header .nav-links a{text-decoration:none;font-size:14px;font-weight:600;color:var(--muted);padding:8px 14px;border-radius:100px;white-space:nowrap;}
.mf-header .nav-links a:hover{background:var(--bg);color:#1A1A1A;}
.mf-header .nav-links a.current{color:var(--navy);font-weight:800;box-shadow:inset 0 -3px 0 var(--red);border-radius:0;padding-bottom:5px;}
.mf-header .nav-links a.ugr-btn{background:#F2C14E;color:var(--navy);font-weight:800;padding:7px 15px;}
.mf-header .nav-links a.ugr-btn:hover{background:#F6CE6B;color:var(--navy);}
.mf-header .nav-links a.cta{background:linear-gradient(155deg,var(--d3-a),var(--d3-b));color:#fff;font-weight:800;}
.mf-header .nav-links a.cta:hover{filter:brightness(1.1);color:#fff;background:linear-gradient(155deg,var(--d3-a),var(--d3-b));}
.mf-header .nav-links .social{display:flex;gap:2px;margin-left:4px;}
.mf-header .nav-links a.soc{display:flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;color:var(--navy);}
.mf-header .nav-links a.soc svg{width:17px;height:17px;fill:currentColor;}
@media (max-width:760px){.mf-header .mf-nav{gap:8px;padding:10px 12px;} .mf-header .nav-links{margin-left:auto;gap:4px;min-width:0;} .mf-header .mf-logo img{height:22px;} .mf-header .nav-links a.cta,.mf-header .nav-links a.ugr-btn{padding:6px 11px;font-size:13px;} .mf-header .nav-links a .long{display:none;}}

/* ---- standings carousel (scoreboard style, centered) ---- */
html.myie-fantasy #home-standings{background:#fff;border-bottom:1px solid var(--border);}
html.myie-fantasy #home-standings .container-fluid{max-width:1240px !important;width:100% !important;margin:0 auto !important;padding:14px 24px !important;}
html.myie-fantasy #home-standings .scoreboard-carousel{position:relative;justify-content:center !important;align-items:center !important;width:fit-content !important;max-width:none;margin:0 auto;}
html.myie-fantasy #home-standings .scoreboard-carousel>.standing-card:first-child{position:absolute;left:-18px;top:50%;margin-top:-20px !important;z-index:3;}
html.myie-fantasy #home-standings .scoreboard-carousel>.standing-card:last-child{position:absolute;right:-18px;top:50%;margin-top:-20px !important;z-index:3;}
/* arrows: round buttons, vertically centered, same size both sides */
html.myie-fantasy #home-standings .scoreboard-carousel>.standing-card{flex:0 0 40px !important;width:40px !important;height:40px !important;min-width:40px;padding:0 !important;margin:0 !important;border:1px solid var(--border) !important;border-radius:50% !important;background:#fff !important;box-shadow:0 1px 5px rgba(11,28,62,.14);justify-content:center;align-items:center;transition:box-shadow .15s,transform .15s;}
html.myie-fantasy #home-standings .scoreboard-carousel>.standing-card:hover{box-shadow:0 3px 10px rgba(11,28,62,.22);}
html.myie-fantasy #home-standings .scoreboard-carousel>.standing-card .card-body{padding:0 !important;display:flex;justify-content:center;align-items:center;width:100%;height:100%;}
html.myie-fantasy #home-standings .scoreboard-carousel>.standing-card i{font-size:15px !important;color:var(--navy) !important;line-height:1;}
html.myie-fantasy #home-standings .scoreboard-carousel .disabled{opacity:.3 !important;}
html.myie-fantasy #home-standings .scoreboard{flex:0 0 auto;max-width:none;overflow:hidden;border:1px solid var(--border);border-radius:14px;background:#fff;}
html.myie-fantasy #home-standings .standings.card{background:#fff !important;border:0 !important;border-right:1px solid var(--border) !important;border-radius:0 !important;font-family:'Inter',sans-serif;}
html.myie-fantasy #home-standings .standings .card-body{padding:10px 16px !important;margin:0 !important;}
html.myie-fantasy #home-standings .standings .row{--bs-gutter-x:0;margin:0;align-items:center;min-height:25px;}
html.myie-fantasy #home-standings .standings .row.text-dark{padding-bottom:5px;margin-bottom:4px;border-bottom:2px solid var(--navy);}
html.myie-fantasy #home-standings .standings .fw-bold{color:var(--navy);font-weight:800 !important;font-size:12.5px !important;letter-spacing:.05em;text-transform:uppercase;}
html.myie-fantasy #home-standings .team-name{color:#1A1A1A !important;font-weight:600;font-size:13.5px !important;white-space:nowrap;}
html.myie-fantasy #home-standings .team-name:hover{color:var(--red) !important;}
html.myie-fantasy #home-standings .standings .text-sm{font-size:13.5px !important;color:#1A1A1A;font-weight:600;font-variant-numeric:tabular-nums;}
html.myie-fantasy #home-standings .standings img{max-width:20px !important;}
/* hide the arrow circles when the JS hides the arrow inside (phone, or when every card already fits) */
html.myie-fantasy #home-standings .scoreboard-carousel>.standing-card:has(>.card-body.d-none){display:none !important;}
/* phone: "STANDINGS" toggle + stacked list */
html.myie-fantasy #home-standings .hamburger-button{display:block;margin:2px auto;border:1px solid var(--border) !important;border-radius:100px !important;background:#fff !important;color:var(--navy) !important;font-weight:800;font-size:13px !important;letter-spacing:.07em;padding:7px 20px !important;}
@media (max-width:768px){
  html.myie-fantasy #home-standings .scoreboard-carousel>.standing-card{display:none !important;}
  html.myie-fantasy #home-standings .container-fluid{padding:8px 12px !important;}
  html.myie-fantasy #home-standings .scoreboard-carousel{width:100% !important;}
  html.myie-fantasy #home-standings .scoreboard{border:0;border-radius:0;width:100% !important;}
  html.myie-fantasy #home-standings .scoreboard-items{width:100% !important;transform:none !important;}
  html.myie-fantasy #home-standings .standings.card{border-right:0 !important;border-bottom:1px solid var(--border) !important;width:100% !important;}
}

/* very wide screens: the script shows all 8 divisions at once (2176px), scale them to fit the content width */
@media (min-width:1921px){html.myie-fantasy #home-standings .scoreboard-carousel{zoom:.74;}}

/* sticky header, like the old fixed bar */
html.myie-fantasy .mf-header{position:sticky;top:0;z-index:1000;}

/* mid-size screens (about 900 to 1200px): tighter header, smaller standings so nothing is cut off */
@media (max-width:1200px){
  .mf-header .mf-nav{gap:14px;padding:10px 16px;}
  .mf-header .nav-links{gap:2px;}
  .mf-header .nav-links a{padding:8px 9px;font-size:13px;}
  .mf-header .nav-links .social{display:none;}
}

/* ---- page title ---- */
.mf-hero{background:#fff;border-bottom:1px solid var(--border);box-sizing:border-box;padding:30px max(24px,calc((100% - 1240px)/2 + 24px)) 26px;margin-bottom:8px;}
.mf-hero .crumb{font-size:13px;color:var(--muted);margin-bottom:8px;}
.mf-hero .crumb a{color:var(--muted);text-decoration:none;} .mf-hero .crumb a:hover{color:var(--navy);text-decoration:underline;}
.mf-hero h1{margin:0;font-size:38px;line-height:1.1;font-weight:800;letter-spacing:-.02em;color:var(--navy);}
.mf-hero p{margin:10px 0 0;font-size:15px;line-height:1.55;color:var(--muted);max-width:720px;}
@media (max-width:760px){.mf-hero{padding:20px 16px 18px;} .mf-hero h1{font-size:30px;}}

/* ---- the React table, restyled ---- */
html.myie-fantasy #root{background:transparent !important;}
html.myie-fantasy #root{box-sizing:border-box;max-width:1240px;margin:0 auto;padding:8px 24px 44px;}
html.myie-fantasy #root>div{background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:0 1px 3px rgba(11,28,62,.06);padding:20px 24px 14px !important;}
@media (max-width:760px){html.myie-fantasy #root{padding:6px 12px 30px;} html.myie-fantasy #root>div{padding:14px 12px 10px !important;border-radius:14px;}}
html.myie-fantasy #root .flex.items-center.justify-between.gap-2{align-items:center !important;flex-wrap:wrap;gap:12px !important;}
html.myie-fantasy #root .relative.w-64{width:230px !important;flex:0 0 230px;}
html.myie-fantasy #root .hidden.lg\:flex{align-items:center !important;gap:6px !important;justify-content:flex-end;flex-wrap:nowrap !important;}
html.myie-fantasy #root .hidden.lg\:flex>.relative{display:flex;align-items:center;}
html.myie-fantasy #root input[type=text]{border:1px solid #D5D9E0;border-radius:100px;background:#fff;font-size:14px;padding:0 14px 0 38px;height:40px !important;box-sizing:border-box;}
html.myie-fantasy #root input[type=text]:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(11,28,62,.12);}
html.myie-fantasy #root button.border,html.myie-fantasy #root button.bg-gray-200{border:1px solid #D5D9E0 !important;border-radius:100px !important;background:#fff;color:var(--navy);font-weight:700;font-size:12.5px;letter-spacing:.04em;height:40px;padding:0 12px !important;font-size:12px !important;white-space:nowrap;box-sizing:border-box;transition:background .15s,border-color .15s;}
html.myie-fantasy #root button.border{display:inline-flex;align-items:center;justify-content:center;}
html.myie-fantasy #root button.bg-gray-200{height:40px;display:inline-flex;align-items:center;}
@media (min-width:1024px){html.myie-fantasy #root button.lg\:hidden{display:none !important;}}
html.myie-fantasy #root button[class*="min-w"]{min-width:140px !important;}
html.myie-fantasy #root button.border:hover,html.myie-fantasy #root button.bg-gray-200:hover{background:#EEF1F7;border-color:var(--navy);}
html.myie-fantasy #root button.border.bg-gray-100{background:#EEF1F7;}
html.myie-fantasy #root .text-md.bg-gray-100{display:inline-block;align-self:flex-start;width:auto;background:var(--navy);color:#fff;font-weight:800;font-size:13px;letter-spacing:.04em;border-radius:100px;padding:6px 16px !important;}
html.myie-fantasy #root table{border-collapse:separate;border-spacing:0;background:#fff;border:0;border-top:1px solid var(--border);border-radius:0;width:100%;}
html.myie-fantasy #root thead,html.myie-fantasy #root thead tr,html.myie-fantasy #root .bg-gray-50{background:#F7F8FA !important;}
html.myie-fantasy #root th{padding:12px 10px !important;font-size:11.5px !important;font-weight:800 !important;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--border);}
html.myie-fantasy #root td{padding:12px 10px !important;font-size:14.5px;border-bottom:1px solid #EEF0F3;color:#1A1A1A;}
html.myie-fantasy #root tbody tr:last-child td{border-bottom:0;}
html.myie-fantasy #root tbody tr:hover td{background:#F7F9FC;}
html.myie-fantasy #root a{color:var(--navy);font-weight:600;text-decoration:none;} html.myie-fantasy #root a:hover{text-decoration:underline;color:var(--red);}
html.myie-fantasy #root .text-yellow-500{color:#F2C14E !important;}
/* phone cards */
html.myie-fantasy #root .rounded-lg.shadow-sm{border:1px solid var(--border);box-shadow:none !important;border-radius:14px !important;background:#fff;}
html.myie-fantasy #root .space-y-2>*+*{margin-top:10px !important;}
html.myie-fantasy #root .font-medium{font-weight:700;color:var(--navy);}

/* ---- footer ---- */
html.myie-fantasy footer#footer{box-shadow:none !important;border-top:1px solid var(--border);background:#fff !important;margin:0 !important;border-radius:0;}

/* ---- hamburger menu (same as the NFL pages) ---- */
.ie-burger{display:none;}
@media (max-width:900px){
  nav.nav-links,div.nav-links{display:flex !important;}
  .nav-links>a:not(.cta):not(.ugr-btn):not(.nl-top):not(.ie-burger),.nav-links .social,
  .site-nav>a:not(.nav-ugr):not(.nav-d3),.site-nav .nav-social{display:none !important;}
  .nav-links a.nl-top{display:none !important;}
  .nav-links{flex-wrap:nowrap !important;} .nav-links a.cta,.nav-links a.ugr-btn{white-space:nowrap !important;}
  .ie-burger{display:inline-flex !important;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:40px;height:40px;margin-left:6px;padding:0;border:0;border-radius:10px;background:transparent;cursor:pointer;flex:0 0 40px;-webkit-tap-highlight-color:transparent;}
  .ie-burger span{display:block;width:22px;height:2.5px;border-radius:2px;background:currentColor;transition:transform .2s,opacity .2s;}
  .ie-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7.5px) rotate(45deg);}
  .ie-burger[aria-expanded="true"] span:nth-child(2){opacity:0;}
  .ie-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg);}
  .ie-burger:focus-visible{outline:3px solid #F2C14E;outline-offset:2px;}
}
.ie-menu{display:none;position:fixed;left:0;right:0;z-index:99999;background:#fff;border-bottom:1px solid #d8dde6;box-shadow:0 10px 24px rgba(11,28,62,.16);padding:6px 16px 16px;max-height:calc(100vh - 60px);overflow:auto;font-family:Inter,'IBM Plex Sans',Arial,sans-serif;}
.ie-menu.open{display:block;}
.ie-menu a{display:flex;align-items:center;min-height:48px;padding:0 4px;border-bottom:1px solid #eef1f5;font-size:17px;font-weight:700;color:#0B1C3E;text-decoration:none;}
.ie-menu a:active{background:#f3f5f9;}
.ie-menu .ie-soc{display:flex;gap:6px;padding-top:10px;}
.ie-menu .ie-soc a{border:0;width:44px;min-height:44px;justify-content:center;border-radius:100px;background:#f3f5f9;}
.ie-menu .ie-soc svg{width:18px;height:18px;fill:currentColor;}
@media (min-width:901px){.ie-menu,.ie-menu.open{display:none !important;}}

/* ---- instant loading skeletons (shown before the React code is ready) ---- */
@keyframes mfshimmer{0%{background-position:100% 50%}100%{background-position:0 50%}}
.mf-skel span,.mf-stsk span{background:linear-gradient(90deg,#edf0f5 25%,#f8f9fc 40%,#edf0f5 60%);background-size:400% 100%;animation:mfshimmer 1.5s ease-in-out infinite;}
@media (prefers-reduced-motion:reduce){.mf-skel span,.mf-stsk span{animation:none;}}
.mf-skel{display:block;}
.mf-skel span{display:block;border-radius:10px;}
.mf-skel-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.mf-skel-bar i{flex:1 1 auto;}
.mf-s-search{width:230px;height:40px;border-radius:100px !important;}
.mf-s-pill{width:110px;height:40px;border-radius:100px !important;}
.mf-s-week{width:92px;height:34px;border-radius:100px !important;margin:14px 0 14px;}
.mf-skel-row{display:grid;grid-template-columns:1.4fr 1.6fr .6fr .7fr 1fr .8fr;gap:18px;align-items:center;padding:18px 14px;border-top:1px solid #EEF0F3;}
.mf-skel-row span{height:14px;}
.mf-skel-row span:nth-child(1){width:80%;} .mf-skel-row span:nth-child(2){width:70%;} .mf-skel-row span:nth-child(3){width:40%;} .mf-skel-row span:nth-child(4){width:55%;} .mf-skel-row span:nth-child(5){width:70%;} .mf-skel-row span:nth-child(6){width:35%;}
@media (max-width:760px){.mf-s-search{width:100%;flex:1 1 100%;} .mf-s-pill{display:none !important;} .mf-skel-bar i{display:none;} .mf-skel-row{grid-template-columns:1fr .6fr;padding:20px 10px;} .mf-skel-row span:nth-child(n+3){display:none;}}

/* standings: skeleton instead of the built-in "Loading..." text */
html.myie-fantasy .mt-14:not(:has(.scoreboard-carousel,.hamburger-button)) #home-standings{display:none !important;}
html.myie-fantasy .mt-14:has(.scoreboard-carousel,.hamburger-button) #mf-st-skel{display:none !important;}
.mf-stsk{order:1;width:100%;box-sizing:border-box;background:#fff;border-bottom:1px solid var(--border);padding:14px 24px;}
.mf-stsk-board{display:flex;max-width:1192px;margin:0 auto;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:#fff;}
/* same size as the real cards: padding 10 + header 36 + 4 rows x 25 + padding 10 = 156px, scaled like the real carousel */
.mf-stsk-col{flex:1 1 0;min-width:0;padding:10px 16px;border-right:1px solid var(--border);box-sizing:border-box;}
.mf-stsk-col:last-child{border-right:0;}
.mf-stsk span{display:block;border-radius:6px;}
.mf-stsk .h{width:60%;height:13px;margin:6px 0 17px;}
.mf-stsk .r{height:12px;margin:0 0 13px;}
.mf-stsk .r:nth-child(2){width:88%;} .mf-stsk .r:nth-child(3){width:76%;} .mf-stsk .r:nth-child(4){width:92%;} .mf-stsk .r:nth-child(5){width:70%;}
.mf-stsk-pill{display:none;width:150px;height:36px;border-radius:100px !important;margin:0 auto;}
/* columns shown + scale, same steps as the real carousel (3 / 4 / 5 / 6 divisions by screen width) */
@media (min-width:769px){.mf-stsk-col{zoom:1;} .mf-stsk-col:nth-child(n+4){display:none;}}
@media (min-width:1025px){.mf-stsk-col:nth-child(4){display:block;} .mf-stsk-col:nth-child(n+5){display:none;}}
@media (min-width:1241px){.mf-stsk-col{zoom:1.0936;}}
@media (min-width:1585px){.mf-stsk-col:nth-child(5){display:block;} .mf-stsk-col:nth-child(n+6){display:none;} .mf-stsk-col{zoom:.876;}}
@media (min-width:1821px){.mf-stsk-col:nth-child(6){display:block;} .mf-stsk-col{zoom:.7304;}}
@media (max-width:768px){.mf-stsk{padding:8px 12px;} .mf-stsk-board{display:none;} .mf-stsk-pill{display:block;}}

/* matchup note: shorter text in the cell, and the click-popup opens to the left so it stays inside the card (was cut off) */
html.myie-fantasy #root td .mf-note{max-width:clamp(180px,24vw,420px);min-width:160px;line-height:1.35;}
html.myie-fantasy #root td.relative>div.absolute{left:auto !important;right:0 !important;width:min(24rem,80vw) !important;}
html.myie-fantasy #root th.relative>div.absolute{left:auto;}
