
:root {
  --yl-navy: #1c1c20;
  --yl-navy-deep: #111114;
  --yl-crimson: #e1262e;
  --yl-crimson-soft: #fcf1ee;
  --yl-crimson-border: #f1c9bf;
  --yl-blue: #0056B3;
  --yl-blue-soft: #F0F6FF;
  --yl-emerald: #0D7A49;
  --yl-emerald-soft: #EAFDF3;
  --yl-amber: #B45309;
  --yl-amber-soft: #FFFBEB;

  --bg-canvas: #f6f6f7;
  --bg-card: #FFFFFF;
  --bg-subtle: #fafafa;
  --bg-hover: #f4f4f6;

  --border-light: #e8e8ea;
  --border-box: #e4e4e7;
  --border-strong: #d4d4d8;

  --text-main: #1e1e22;
  --text-body: #404048;
  --text-muted: #70707f;
  --text-light: #a1a1ab;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 3px rgb(26 26 29 / 0.04);
  --shadow-box: 0 2px 6px rgb(26 26 29 / 0.05), 0 1px 2px rgb(26 26 29 / 0.03);
  --shadow-hover: 0 8px 20px rgb(26 26 29 / 0.08);
  --shadow-modal: 0 20px 48px rgb(26 26 29 / 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-weight: 400; letter-spacing: -0.01em; }
body { background-color: var(--bg-canvas); color: var(--text-main); min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.mono { font-variant-numeric: tabular-nums; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

/* Top NFL Live Score Ticker (Estilo NFL.com) */
.nfl-live-ticker {
  height: 38px;
  background: var(--yl-navy-deep);
  color: #FFF;
  display: flex;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0 12px;
  gap: 16px;
  font-size: 11px;
}
.ticker-game {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
}
.ticker-game:hover { background: rgba(255,255,255,0.12); }

/* Topbar */
.yl-topbar { height: 60px; background: var(--bg-card); border-bottom: 1px solid var(--border-box); display: flex; align-items: center; justify-content: space-between; padding: 0 20px 0 0; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.yl-topbar-left { display: flex; align-items: center; height: 100%; }
.yl-rail-logo { width: 78px; height: 60px; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--border-box); cursor: pointer; background: var(--bg-card); flex-shrink: 0; }
.yl-rail-logo img { height: 32px; width: auto; object-fit: contain; }
.yl-brand-group { display: flex; align-items: center; gap: 12px; padding-left: 16px; }
.yl-brand-group img { height: 20px; width: auto; cursor: pointer; }
.nfl-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--yl-blue-soft); border: 1px solid #CFE2FF; color: var(--yl-navy); font-size: 11px; font-weight: 500; }
.nfl-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yl-crimson); }
.yl-search-center { flex: 1; max-width: 460px; margin: 0 16px; }
.yl-search-field { width: 100%; height: 36px; background: var(--bg-canvas); border: 1px solid var(--border-box); border-radius: var(--radius-sm); display: flex; align-items: center; padding: 0 12px; gap: 8px; transition: all 0.15s; }
.yl-search-field:focus-within { background: var(--bg-card); border-color: var(--yl-blue); box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.08); }
.yl-search-field input { border: none; background: transparent; width: 100%; font-size: 13px; color: var(--text-main); outline: none; }
.yl-topbar-right { display: flex; align-items: center; gap: 10px; }
.sync-status-indicator { display: flex; align-items: center; gap: 8px; background: var(--bg-subtle); border: 1px solid var(--border-box); padding: 5px 12px; border-radius: var(--radius-sm); font-size: 11.5px; }

/* 78px Left Rail */
.yl-main-shell { flex: 1; display: grid; grid-template-columns: 78px 1fr; min-height: calc(100vh - 98px); }
.yl-icon-rail { background: var(--bg-card); border-right: 1px solid var(--border-box); display: flex; flex-direction: column; align-items: center; padding: 8px 0; position: sticky; top: 60px; height: calc(100vh - 60px); z-index: 85; }
.fp-rail-item { width: 66px; padding: 8px 4px; margin-bottom: 2px; border: 1px solid transparent; background: transparent; border-radius: var(--radius-sm); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--text-muted); cursor: pointer; transition: all 0.15s; }
.fp-rail-item svg { width: 19px; height: 19px; stroke-width: 1.8; }
.fp-rail-item span { font-size: 9.5px; font-weight: 500; text-align: center; }
.fp-rail-item:hover { color: var(--yl-navy); background: var(--bg-hover); }
.fp-rail-item.active { color: var(--yl-crimson); background: var(--yl-crimson-soft); border-color: var(--yl-crimson-border); }

/* Stage */
.yl-stage-container { padding: 20px 24px; max-width: 1560px; width: 100%; margin: 0 auto; }
.view-section { display: none; }
.view-section.active { display: block; }
.yl-subnav-strip { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border-box); flex-wrap: wrap; gap: 12px; }

/* Cards & Layout */
.yl-card { background: var(--bg-card); border: 1px solid var(--border-box); border-radius: var(--radius-md); box-shadow: var(--shadow-box); overflow: hidden; }
.yl-card-header { padding: 12px 18px; border-bottom: 1px solid var(--border-box); background: var(--bg-subtle); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.yl-card-title { font-size: 13.5px; font-weight: 500; color: var(--yl-navy); display: flex; align-items: center; gap: 8px; }
.yl-card-body { padding: 16px 18px; }
.grid-sidebar { display: grid; grid-template-columns: 1fr 340px; gap: 18px; }
@media (max-width: 1100px) { .grid-sidebar { grid-template-columns: 1fr; } }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Badges & Buttons */
.badge { display: inline-flex; align-items: center; padding: 3px 7px; border-radius: 4px; font-size: 10.5px; font-weight: 500; letter-spacing: 0.02em; }
.badge-crimson { background: #fee2e2; color: #b91c1c; }
.badge-navy { background: #e8e8ea; color: #1b1b1e; }
.badge-blue { background: #dbeafe; color: #1d4ed8; }
.badge-green { background: #dcfce7; color: #15803d; }
.badge-amber { background: #fef3c7; color: #b45309; }
.btn-yl { padding: 6px 13px; border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; border: 1px solid transparent; transition: all 0.15s; }
.btn-primary { background: var(--yl-crimson); color: #ffffff; border-color: var(--yl-crimson); }
.btn-primary:hover { background: #a50e24; }
.btn-navy { background: var(--yl-navy); color: #ffffff; border-color: var(--yl-navy); }
.btn-navy:hover { background: #003366; }
.btn-outline { background: #ffffff; color: var(--text-body); border-color: var(--border-box); }
.btn-outline:hover { border-color: var(--yl-blue); color: var(--yl-blue); background: var(--yl-blue-soft); }
.btn-green { background: var(--yl-emerald); color: #ffffff; border-color: var(--yl-emerald); }

.yl-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.yl-table th { background: var(--bg-subtle); color: var(--text-muted); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border-box); }
.yl-table td { padding: 11px 14px; border-bottom: 1px solid var(--border-box); color: var(--text-body); vertical-align: middle; }
.yl-table tr:hover td { background: #f8fbff; }

/* Modals */
.yl-modal-overlay { position: fixed; inset: 0; background: rgb(26 26 29 / 0.62); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 300; }
.yl-modal-overlay.open { display: flex; }
.yl-modal-card { background: var(--bg-card); border: 1px solid var(--border-box); border-radius: var(--radius-lg); max-width: 860px; width: 100%; max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-modal); }


/* YARDLINE v2 — composição Sleeper + inteligência fantasy */
.yl-player-card-v2{position:relative;background:#fff;border:1px solid var(--border-box);border-radius:14px;overflow:hidden;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;box-shadow:var(--shadow-box)}
.yl-player-card-v2:hover{transform:translateY(-3px);border-color:#c7c7cd;box-shadow:0 12px 28px rgb(26 26 29 / .12)}
.yl-player-card-v2__top{height:94px;background:linear-gradient(135deg,#081c35,#37373e);position:relative;padding:13px 14px;color:#fff}
.yl-player-card-v2__photo{position:absolute;right:12px;bottom:0;width:94px;height:94px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 7px 7px rgba(0,0,0,.22))}
.yl-player-card-v2__identity{position:relative;z-index:1;max-width:68%}
.yl-player-card-v2__name{font-weight:600;font-size:15px;line-height:1.12;letter-spacing:-.02em}
.yl-player-card-v2__meta{margin-top:5px;font-size:11px;color:#d7d7db;display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.yl-player-card-v2__body{padding:12px 14px}
.yl-player-card-v2__metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:11px}
.yl-player-card-v2__metric{padding:7px 5px;background:#f9f9fa;border:1px solid #ececef;border-radius:8px;text-align:center}
.yl-player-card-v2__metric b{display:block;font-size:14px;color:var(--yl-navy);font-variant-numeric:tabular-nums}.yl-player-card-v2__metric span{display:block;font-size:9px;color:var(--text-muted);text-transform:uppercase;margin-top:2px}
.yl-player-card-v2__footer{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:10.5px;color:var(--text-muted)}
.yl-dossier{background:#f9f9fa;min-height:0}.yl-dossier__hero{position:relative;min-height:190px;padding:22px 28px;background:linear-gradient(125deg,#071a31 0%,#0c3154 62%,#393941 100%);color:#fff;overflow:hidden}.yl-dossier__hero:after{content:"";position:absolute;right:-90px;top:-130px;width:330px;height:330px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 36px rgba(255,255,255,.025),0 0 0 72px rgba(255,255,255,.018)}
.yl-dossier__photo{position:absolute;right:42px;bottom:0;height:188px;width:190px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 12px 12px rgba(0,0,0,.28));z-index:1}.yl-dossier__identity{position:relative;z-index:2;max-width:64%}.yl-dossier__name{font-size:28px;font-weight:750;line-height:1.05;letter-spacing:-.04em}.yl-dossier__sub{font-size:12px;color:#d7d7dc;margin-top:8px}.yl-dossier__chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.yl-dossier__tabs{display:flex;gap:4px;padding:10px 18px;background:#fff;border-bottom:1px solid var(--border-box);overflow-x:auto}.yl-dossier__tab{border:0;background:transparent;padding:8px 11px;border-radius:7px;color:var(--text-muted);font-size:11px;cursor:pointer;white-space:nowrap}.yl-dossier__tab.active{background:#e9f1fb;color:var(--yl-navy);font-weight:600}.yl-dossier__content{padding:18px 22px;max-height:calc(90vh - 270px);overflow:auto}.yl-dossier__grid{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}.yl-dossier__panel{background:#fff;border:1px solid var(--border-box);border-radius:11px;padding:14px}.yl-dossier__panel h4{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);margin-bottom:11px}.yl-dossier__statgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.yl-dossier__stat{border:1px solid #ececef;border-radius:8px;padding:10px;background:#fbfcfe}.yl-dossier__stat b{font-size:18px;color:var(--yl-navy);display:block;font-variant-numeric:tabular-nums}.yl-dossier__stat span{font-size:10px;color:var(--text-muted);display:block;margin-top:3px}.yl-news-item{padding:11px 0;border-bottom:1px solid #ececef}.yl-news-item:last-child{border-bottom:0}.yl-news-item__meta{font-size:10px;color:var(--yl-crimson);font-weight:600;text-transform:uppercase}.yl-news-item h5{font-size:13px;color:var(--yl-navy);line-height:1.3;margin:4px 0}.yl-news-item p{font-size:11.5px;color:var(--text-body);line-height:1.45}.yl-matchup-shell{display:grid;grid-template-columns:1fr 1fr;gap:12px}.yl-matchup-team{border:1px solid var(--border-box);border-radius:10px;padding:13px;background:#fff}.yl-matchup-team.is-me{border-color:#86d6b1;background:#f2fff8}.yl-matchup-team__head{display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid #ececef;padding-bottom:9px;margin-bottom:8px}.yl-matchup-row{display:flex;align-items:center;gap:8px;padding:7px 0;border-bottom:1px solid #f3f3f4;cursor:pointer}.yl-matchup-row:last-child{border-bottom:0}.yl-matchup-row img{width:28px;height:28px;object-fit:contain;border-radius:50%;background:#f1f1f3}.yl-matchup-row b{font-size:11.5px;color:var(--yl-navy);flex:1}.yl-matchup-row span{font-size:10px;color:var(--text-muted)}
@media(max-width:720px){.yl-dossier__hero{min-height:170px;padding:18px}.yl-dossier__photo{right:5px;height:155px;width:145px}.yl-dossier__identity{max-width:75%}.yl-dossier__name{font-size:23px}.yl-dossier__grid,.yl-matchup-shell{grid-template-columns:1fr}.yl-dossier__statgrid{grid-template-columns:repeat(2,1fr)}.yl-dossier__content{padding:14px}.yl-player-card-v2__metrics{grid-template-columns:repeat(2,1fr)}}

/* Dashboard Intelligence — analytical shell, provenance first */
.yl-dashboard-intel{margin-bottom:20px;border:1px solid var(--border-box);border-radius:14px;background:#fff;box-shadow:var(--shadow-box);overflow:hidden}
.yl-dashboard-intel__hero{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:22px 24px;background:linear-gradient(120deg,#071a31,#0d3557 70%,#0f5660);color:#fff}
.yl-dashboard-kicker{font-size:10px;letter-spacing:.12em;font-weight:600;color:#b9d6e8}.yl-dashboard-intel h2{font-size:24px;line-height:1.1;margin-top:7px;letter-spacing:-.03em}.yl-dashboard-intel__hero p{font-size:12px;color:#dfdfe3;margin-top:8px}.yl-dashboard-intel__source{display:flex;align-items:flex-end;flex-direction:column;gap:8px;text-align:right}.yl-dashboard-intel__source small{font-size:10px;color:#d4d4d8}
.yl-dashboard-intel__metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--border-box);border-bottom:1px solid var(--border-box)}.yl-intel-metric{background:#fff;padding:15px 17px;min-height:96px}.yl-intel-metric span{display:block;text-transform:uppercase;font-size:10px;letter-spacing:.06em;color:var(--text-muted);font-weight:600}.yl-intel-metric strong{display:block;font-size:24px;color:var(--yl-navy);margin:5px 0 3px}.yl-intel-metric small{display:block;color:var(--text-muted);font-size:10.5px;line-height:1.3}.yl-intel-metric.is-unavailable strong{color:var(--text-light)}
.yl-dashboard-intel__grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:14px}.yl-dashboard-panel{box-shadow:none}.yl-dashboard-panel__body{padding:15px}.yl-dashboard-panel__body>strong{display:block;color:var(--yl-navy);font-size:15px}.yl-dashboard-panel__body>p{font-size:12px;line-height:1.45;color:var(--text-body);margin:7px 0}.yl-dashboard-panel__body>small{display:block;font-size:10.5px;line-height:1.4;color:var(--text-muted)}.yl-dashboard-panel__body strong small{font-size:10px;color:var(--text-muted);font-weight:400}.yl-dashboard-compare{display:flex;align-items:center;gap:10px;margin:14px 0}.yl-dashboard-compare span{font-size:22px;font-weight:600;color:var(--yl-navy);font-variant-numeric:tabular-nums}.yl-dashboard-compare i{height:1px;background:var(--border-strong);flex:1}.yl-dashboard-spark{height:46px;display:flex;align-items:flex-end;gap:6px;margin:12px 0}.yl-dashboard-spark span{display:block;flex:1;border-radius:3px 3px 0 0;background:linear-gradient(#2a9dca,#0d7a49);min-height:8px;animation:yl-dashboard-rise .55s ease both}.yl-dashboard-spark span:nth-child(2){animation-delay:.05s}.yl-dashboard-spark span:nth-child(3){animation-delay:.1s}.yl-dashboard-spark span:nth-child(4){animation-delay:.15s}.yl-dashboard-spark span:nth-child(5){animation-delay:.2s}.yl-dashboard-insight{display:flex;gap:10px;align-items:flex-start;margin:0 14px 14px;padding:12px 14px;background:#f9f9fa;border:1px solid #e5e5e8;border-radius:9px}.yl-dashboard-insight p{font-size:12px;line-height:1.45;color:var(--text-body);margin:1px 0 0}.yl-dashboard-section-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:19px 0 10px}.yl-dashboard-section-head h3{font-size:15px;color:var(--yl-navy)}.yl-dashboard-section-head p{font-size:11px;color:var(--text-muted);margin-top:3px}.yl-dashboard-player-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:13px}.yl-dashboard-sidebar{display:flex;flex-direction:column;gap:14px}
@keyframes yl-dashboard-rise{from{opacity:.25;transform:scaleY(.6);transform-origin:bottom}to{opacity:1;transform:scaleY(1);transform-origin:bottom}}
@media(max-width:900px){.yl-dashboard-intel__metrics{grid-template-columns:repeat(2,1fr)}.yl-dashboard-intel__grid{grid-template-columns:1fr}}
@media(max-width:600px){.yl-dashboard-intel__hero{padding:18px;flex-direction:column}.yl-dashboard-intel__source{align-items:flex-start;text-align:left}.yl-dashboard-intel h2{font-size:21px}.yl-dashboard-intel__metrics{grid-template-columns:1fr 1fr}.yl-intel-metric{padding:12px}.yl-intel-metric strong{font-size:20px}.yl-dashboard-insight{margin-left:10px;margin-right:10px}.yl-dashboard-section-head{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.yl-dashboard-spark span{animation:none}.yl-dashboard-intel *{scroll-behavior:auto!important;transition:none!important}}


/* P0/P1 module states */
.yl-team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px}.yl-team-block{padding:0;overflow:hidden}.yl-team-block__head{display:flex;align-items:center;gap:11px;padding:13px 15px;background:#f6f9fc;border-bottom:1px solid var(--border-box)}.yl-team-block__head img{width:34px;height:34px;object-fit:contain}.yl-team-block__head img.photo-error{opacity:.3}.yl-team-block__head strong{display:block;color:var(--yl-navy);font-size:14px}.yl-team-block__head small{display:block;color:var(--text-muted);font-size:10px;margin-top:3px}.yl-team-block__players{padding:8px}.yl-roster-player{display:flex;align-items:center;gap:9px;width:100%;border:0;border-bottom:1px solid #f0f0f2;background:#fff;padding:8px 6px;text-align:left;cursor:pointer}.yl-roster-player:hover{background:#f8f8f8}.yl-roster-player img,.yl-rank-player img{width:30px;height:30px;object-fit:contain;border-radius:50%;background:#f1f1f3}.yl-roster-player img.photo-error,.yl-rank-player img.photo-error{opacity:.35}.yl-roster-player b{display:block;color:var(--yl-navy);font-size:11.5px}.yl-roster-player small{display:block;color:var(--text-muted);font-size:10px;margin-top:2px}.yl-rank-player{display:flex;align-items:center;gap:9px}.yl-ranking-filters{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.yl-ranking-filters input,.yl-ranking-filters select{border:1px solid var(--border-box);border-radius:7px;padding:8px 10px;font-size:12px;color:var(--yl-navy);background:#fff}.yl-waiver-mode{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px;padding:12px;border:1px solid #e3e3e6;border-radius:9px;background:#f9f9fa;font-size:12px;color:var(--text-body)}.yl-waiver-mode b{color:var(--yl-navy)}.yl-waiver-mode span{color:var(--text-muted)}.yl-waiver-mode label{margin-left:auto;font-size:11px}.yl-waiver-mode.is-faab{border-color:#9bd8ba;background:#f1fff7}.yl-waiver-mode.is-unknown{border-color:#f0c978;background:#fffaf0}.yl-matchup-preview{border-left:4px solid var(--yl-crimson);padding:15px 18px;margin-bottom:14px}.yl-matchup-preview p{margin:8px 0;color:var(--text-body);font-size:13px;line-height:1.55}.yl-matchup-preview small{color:var(--text-muted);font-size:10px}.yl-player-card-v2__teamlogo{position:absolute;left:12px;bottom:8px;width:26px;height:26px;object-fit:contain;opacity:.95;z-index:2}.yl-player-card-v2__bio{font-size:10px;color:var(--text-muted);border-top:1px solid #f0f0f2;padding-top:8px;margin-top:8px;line-height:1.4}.yl-news-source-note{padding:10px 13px;border:1px dashed #d5d5d9;border-radius:8px;background:#fafafa;color:var(--text-muted);font-size:11px;margin-bottom:13px}.yl-picks-grid{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.yl-pick-chip{border:1px solid var(--border-box);border-radius:8px;background:#fff;padding:9px 11px;text-align:left;cursor:pointer;color:var(--yl-navy)}.yl-pick-chip:hover{border-color:#a8a8b1;background:#f7fbff}.yl-pick-chip b,.yl-pick-chip small{display:block}.yl-pick-chip b{font-size:11px}.yl-pick-chip small{font-size:9px;color:var(--text-muted);margin-top:3px}@media(max-width:720px){.yl-team-grid{grid-template-columns:1fr}.yl-waiver-mode label{margin-left:0}.yl-matchup-preview{margin-left:0;margin-right:0}.yl-ranking-filters>*{flex:1 1 130px}}


/* FIX 2 visual */
.yl-roster-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:15px}.yl-roster-filters select,.yl-roster-filters input{border:1px solid var(--border-box);border-radius:7px;background:#fff;padding:8px 10px;color:var(--yl-navy);font-size:12px}.yl-roster-filters input{min-width:190px}.yl-news-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.yl-news-toolbar b{display:block;color:var(--yl-navy);font-size:14px}.yl-news-toolbar small{display:block;color:var(--text-muted);font-size:10px;margin-top:3px}.yl-news-filters{display:flex;gap:6px;flex-wrap:wrap}.yl-news-card{padding:0;overflow:hidden}.yl-news-card__head{display:flex;align-items:center;gap:7px;padding:10px 13px;background:#f9f9fa;border-bottom:1px solid var(--border-box)}.yl-news-card__head small{margin-left:auto;color:var(--text-muted);font-size:10px}.yl-news-card__body{display:flex;gap:12px;padding:15px}.yl-news-card__body>img{width:64px;height:64px;object-fit:cover;border-radius:8px;background:#f1f1f3}.yl-news-card__body h3{font-size:14px;line-height:1.35;color:var(--yl-navy);margin:0 0 6px}.yl-news-card__body p{font-size:11.5px;line-height:1.45;color:var(--text-body);margin:0}.yl-news-card__players{display:flex;gap:6px;flex-wrap:wrap;padding:0 15px 14px}.yl-news-card__players button{border:0;cursor:pointer;display:inline-flex;align-items:center;gap:4px}.yl-news-card__players img{width:16px;height:16px;border-radius:50%;object-fit:cover}.yl-news-card footer{padding:9px 15px;border-top:1px solid var(--border-box);color:var(--text-muted);font-size:10px}@media(max-width:720px){.yl-roster-filters input{min-width:140px;flex:1}.yl-news-card__body{padding:12px}.yl-news-card__body>img{width:48px;height:48px}}

.yl-player-card-v2__top{position:relative;min-height:56px}.yl-player-card-v2__teamlogo{display:block!important;width:30px!important;height:30px!important;object-fit:contain!important;margin-right:5px}


/* SLEEPER PLAYER DOSSIER */
.sleeper-dossier{width:min(1100px,calc(100vw - 34px));max-height:92vh;overflow:hidden;border-radius:12px;background:#2a2a30;color:#eeeef0;box-shadow:0 25px 80px rgba(0,0,0,.45);position:relative}.sleeper-close{position:absolute;right:14px;top:12px;z-index:8;border:0;background:transparent;color:#fff;font-size:23px;cursor:pointer}.sleeper-dossier__hero{height:218px;background:linear-gradient(105deg,var(--sleeper-team),color-mix(in srgb,var(--sleeper-team),#720000 35%));position:relative;display:flex;overflow:hidden}.sleeper-dossier__teambg{position:absolute;inset:0;display:flex;justify-content:flex-start;align-items:center;opacity:.22}.sleeper-dossier__teambg img{width:330px;height:330px;object-fit:contain;margin-left:86px}.sleeper-dossier__mini{position:absolute;left:0;top:0;width:235px;padding:13px 15px;background:rgba(40,0,0,.22);display:flex;flex-direction:column;gap:2px}.sleeper-dossier__mini b{font-size:14px}.sleeper-dossier__mini span{font-size:10px;color:#fbd1d1}.sleeper-dossier__player{position:absolute;left:55px;bottom:0;width:240px;height:178px;display:flex;align-items:flex-end;justify-content:center}.sleeper-dossier__player img{height:178px;width:220px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 5px 4px rgba(0,0,0,.18))}.sleeper-dossier__identity{position:relative;margin-left:295px;padding:29px 30px 15px;z-index:2;flex:1}.sleeper-dossier__identity>small{font-size:11px;color:#ffd8d8}.sleeper-dossier__identity h1{font-size:31px;line-height:1.05;margin:4px 0 9px;color:#fff}.sleeper-actions{position:absolute;right:38px;top:52px;display:flex;gap:12px;align-items:center}.sleeper-star,.sleeper-action{display:inline-flex;align-items:center;justify-content:center;border-radius:22px;background:#f4d7dc;color:#7c1d2a;height:35px;padding:0 16px;font-weight:600;font-size:12px}.sleeper-star{width:35px;padding:0;font-size:18px}.sleeper-bio{display:flex;align-items:center;gap:12px}.sleeper-bio span{display:flex;flex-direction:column;font-size:19px;font-weight:600;color:#fff}.sleeper-bio span b{font-size:10px;color:#ffcaca;letter-spacing:.7px;margin-bottom:1px}.sleeper-bio i{width:1px;height:31px;background:rgba(255,255,255,.35)}.sleeper-bio .college{margin-left:8px;min-width:130px}.sleeper-ranks{display:flex;gap:25px;margin-top:13px;font-size:10px;color:#ffcaca}.sleeper-ranks b{font-size:19px;color:#fff;margin-right:3px}.sleeper-dossier__bar{height:42px;background:#25252a;display:flex;align-items:center;gap:15px;padding:0 18px}.sleeper-dossier__bar>b{background:#ec1971;padding:12px 20px;margin-left:-18px;font-size:13px}.sleeper-dossier__bar strong{font-size:13px;color:#fff}.sleeper-dossier__bar span{margin-left:auto;font-size:11px;color:#9ee4ba}.sleeper-dossier__bar span.danger{color:#ff9eaa}.sleeper-dossier__content{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(250px,1fr);max-height:calc(92vh - 260px);overflow:auto}.sleeper-dossier__logs{padding:17px 13px 22px 18px;min-width:0}.sleeper-section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;color:#c3c3ca;font-size:12px}.sleeper-years{display:flex;gap:7px;align-items:center}.sleeper-years>*{padding:8px 12px;border-radius:17px;color:#bfbfc7;font-size:11px}.sleeper-years>b{background:#0cd0bb;color:#073f45}.sleeper-table-wrap{overflow:auto}.sleeper-log{border-collapse:separate;border-spacing:2px;min-width:650px;width:100%;font-size:10px}.sleeper-log th{padding:8px 5px;color:#dbdbe0;font-size:9px;font-weight:600;text-align:center;white-space:nowrap}.sleeper-log td{background:#3f3f48;padding:10px 7px;text-align:center;color:#efeff1;white-space:nowrap}.sleeper-log tr:nth-child(even) td{background:#37373d}.sleeper-log td:first-child,.sleeper-log td:nth-child(2){text-align:left;background:#313138}.sleeper-log .sleeper-fpts{background:#50695f;color:#eaffdf;font-weight:600}.sleeper-empty{color:#a4a4af;font-size:12px;line-height:1.5;padding:15px}.sleeper-dossier__side{background:#36363c;padding:18px 15px;min-width:0}.sleeper-dossier__side h3{font-size:11px;letter-spacing:.6px;color:#b7b7c0;margin:0 0 12px}.sleeper-news{background:#4a4a54;padding:13px 14px;margin-bottom:15px}.sleeper-news>b{display:block;color:#fff;font-size:16px;line-height:1.3}.sleeper-news small{display:block;color:#c4c4ca;margin:8px 0;font-size:9px}.sleeper-news p{font-size:11px;line-height:1.45;color:#ececee;margin:0}.sleeper-depth{margin-top:20px}.sleeper-depth-row{display:flex;gap:12px;align-items:center;padding:6px 0;font-size:12px}.sleeper-depth-row b{width:27px;color:#f45b7b;font-size:10px}.sleeper-depth-row.active span{color:#fff;font-weight:600}.sleeper-depth-row:not(.active) span{color:#ceced3}@media(max-width:760px){.sleeper-dossier{width:calc(100vw - 14px)}.sleeper-dossier__hero{height:285px}.sleeper-dossier__player{left:5px;width:150px;height:145px}.sleeper-dossier__player img{width:150px;height:145px}.sleeper-dossier__identity{margin-left:145px;padding:45px 12px 10px}.sleeper-dossier__identity h1{font-size:22px;max-width:180px}.sleeper-actions{right:10px;top:14px}.sleeper-bio{display:grid;grid-template-columns:1fr 1fr;gap:6px}.sleeper-bio i{display:none}.sleeper-bio .college{margin:0;min-width:0}.sleeper-ranks{gap:8px;flex-wrap:wrap}.sleeper-ranks b{font-size:14px}.sleeper-dossier__content{grid-template-columns:1fr}.sleeper-dossier__side{order:-1}.sleeper-dossier__bar{padding-left:15px}}

#player-modal .yl-modal-card{max-width:1100px;width:100%;padding:0;background:transparent;border:0;overflow:visible}

/* SLEEPER & FANTASYPROS DOSSIER EXTENSIONS */
.sleeper-dossier-nav {
  display: flex;
  background: #1e1e22;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 18px;
  overflow-x: auto;
  gap: 6px;
}
.sleeper-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #a1a1ab;
  font-size: 11px;
  font-weight:600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.sleeper-tab-btn:hover {
  color: #fff;
}
.sleeper-tab-btn.active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
}

/* Stat Box Pills */
.fp-stat-boxes {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.fp-stat-box {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 6px 10px;
  min-width: 82px;
  text-align: center;
}
.fp-stat-box small {
  display: block;
  font-size: 9px;
  color: #d4d4d8;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.fp-stat-box strong {
  display: block;
  font-size: 14px;
  color: #fff;
  font-weight:600;
  margin-top: 2px;
}

/* Consensus Sentiment Coach AI Component */
.yl-coach-card {
  background: #2a2a2f;
  border: 1px solid #404048;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 18px;
}
.yl-coach-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.yl-coach-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight:600;
  color: #fafafa;
}
.yl-coach-meters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
  background: #1b1b1e;
  border-radius: 8px;
  padding: 12px;
}
.yl-meter-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.yl-meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #a1a1ab;
  font-weight:600;
  text-transform: uppercase;
}
.yl-meter-label b {
  color: #22c55e;
}
.yl-meter-bars {
  display: flex;
  gap: 3px;
  height: 6px;
}
.yl-meter-seg {
  flex: 1;
  background: #404048;
  border-radius: 2px;
}
.yl-meter-seg.active {
  background: #22c55e;
}
.yl-meter-seg.active.high {
  background: #22c55e;
}
.yl-meter-seg.active.low {
  background: #ef4444;
}
.yl-coach-body {
  font-size: 12px;
  line-height: 1.6;
  color: #d4d4d8;
  background: rgb(27 27 30 / 0.6);
  border-left: 3px solid #a855f7;
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 14px;
}
.yl-coach-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.yl-coach-chip {
  background: #1b1b1e;
  border: 1px solid #404048;
  color: #93c5fd;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.yl-coach-chip:hover {
  background: #1e3a8a;
  color: #fff;
  border-color: #60a5fa;
}

/* Expert Note */
.yl-expert-card {
  display: flex;
  gap: 14px;
  background: #2a2a2f;
  border: 1px solid #404048;
  border-radius: 8px;
  padding: 14px;
  margin-top: 14px;
}
.yl-expert-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f59e0b;
  color: #000;
  display: grid;
  place-items: center;
  font-weight:600;
  font-size: 16px;
  flex-shrink: 0;
}
.yl-expert-content {
  flex: 1;
}
.yl-expert-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 4px;
}
.yl-expert-head strong {
  color: #fafafa;
}
.yl-expert-head span {
  font-size: 10px;
  color: #a1a1ab;
}
.yl-expert-text {
  font-size: 11.5px;
  color: #d4d4d8;
  line-height: 1.5;
  margin: 0;
}

/* Heatmap cells */
.cell-heat-very-high { background: rgba(34, 197, 94, 0.35) !important; color: #bbf7d0 !important; font-weight:600; }
.cell-heat-high { background: rgba(34, 197, 94, 0.20) !important; color: #dcfce7 !important; }
.cell-heat-med { background: rgba(234, 179, 8, 0.15) !important; color: #fef08a !important; }
.cell-heat-cold { background: rgba(239, 68, 68, 0.22) !important; color: #fecaca !important; }

/* Grouped Super Header */
.sleeper-log thead tr.super-header th {
  background: #26262b;
  border-bottom: 1px solid #404048;
  font-size: 9px;
  font-weight:600;
  letter-spacing: 0.6px;
  color: #93c5fd;
  text-transform: uppercase;
}


/* FANTASYPROS-STYLE SIDEBAR */
.yl-main-shell{grid-template-columns:238px 1fr}.yl-fp-sidebar{width:auto;align-items:stretch;padding:12px 10px 26px;overflow-y:auto;overflow-x:hidden}.yl-sidebar-league{display:flex;align-items:center;gap:8px;padding:7px 8px;border:1px solid var(--border-box);border-radius:8px;background:#fff;cursor:pointer;margin-bottom:11px}.yl-sidebar-league__logo{width:31px;height:31px;border-radius:7px;background:#31255b;color:#fff;display:grid;place-items:center;font-size:9px;font-weight:600}.yl-sidebar-league__copy{display:flex;flex-direction:column;min-width:0;flex:1}.yl-sidebar-league__copy b{font-size:11px;color:var(--yl-navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yl-sidebar-league__copy span{font-size:10px;color:var(--text-muted);margin-top:3px}.yl-sidebar-chevron{color:var(--text-muted);font-size:18px}.yl-sidebar-select{height:35px;border:1px solid var(--border-box);border-radius:7px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;background:#fff;margin-bottom:8px;font-size:11px;color:var(--yl-navy)}.yl-sidebar-select b{font-size:10px;font-weight:600}.yl-sidebar-nav{margin-top:5px}.yl-sidebar-section{width:100%;border:0;border-top:1px solid #f0f0f1;background:transparent;padding:16px 9px 8px;display:flex;align-items:center;justify-content:space-between;color:var(--yl-navy);cursor:pointer;font-size:12px;text-align:left}.yl-sidebar-section span{font-size:13px;color:var(--text-muted)}.yl-sidebar-group{display:flex;flex-direction:column;padding:0 0 8px}.yl-sidebar-group:not(.open){display:none}.yl-fp-sidebar .fp-rail-item{width:100%;min-height:31px;margin:0;padding:7px 10px;border:0;border-radius:7px;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;color:#404048;background:transparent;font-size:11.5px;text-align:left}.yl-fp-sidebar .fp-rail-item span{font-size:11.5px;font-weight:400;text-align:left}.yl-fp-sidebar .fp-rail-item:hover{background:#f4f4f5;color:var(--yl-navy)}.yl-fp-sidebar .fp-rail-item.active{background:#ededef;border:0;color:var(--yl-navy);font-weight:600}.yl-fp-sidebar .fp-rail-item.active span{font-weight:600}.yl-fp-sidebar .fp-rail-item svg{display:inline-block!important;width:15px;height:15px;margin-right:9px;flex-shrink:0;color:currentColor;}@media(max-width:900px){.yl-main-shell{grid-template-columns:78px 1fr}.yl-fp-sidebar{padding:8px 5px;align-items:center}.yl-sidebar-league,.yl-sidebar-select,.yl-sidebar-section{display:none}.yl-sidebar-group{display:flex!important;padding:0}.yl-sidebar-group .fp-rail-item{width:66px;padding:8px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center}.yl-sidebar-group .fp-rail-item svg{margin-right:0!important;margin-bottom:3px!important;}.yl-sidebar-group .fp-rail-item span{font-size:9.5px;text-align:center}.yl-sidebar-nav{margin:0}.yl-sidebar-group .fp-rail-item:not(:first-child){display:none}}


/* ==========================================
   YARDLINE PILLAR 1 & 3: 3-COL SHELL, LEAGUE CHAT & MATCHUP UNIFICATION
   Neilo Pistola League (16 Teams, Keeper PPR com IDP)
   ========================================== */

/* 3-Column Shell & Chat Rail */
.yl-main-shell {
  grid-template-columns: 238px minmax(0, 1fr) 340px !important;
  transition: grid-template-columns 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.yl-main-shell.chat-collapsed {
  grid-template-columns: 238px minmax(0, 1fr) 0px !important;
}

.yl-chat-rail {
  background: #ffffff;
  border-left: 1px solid var(--border-box);
  display: flex;
  flex-direction: column;
  height: calc(100vh - 98px);
  position: sticky;
  top: 98px;
  overflow: hidden;
  z-index: 80;
  width: 340px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.chat-collapsed .yl-chat-rail {
  display: none !important;
}

.yl-chat-header {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafafa;
  flex-shrink: 0;
}
.yl-chat-header__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight:600;
  color: var(--yl-navy);
}
.yl-chat-header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.yl-chat-feed {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
}

.yl-chat-event {
  background: #fafafa;
  border: 1px solid #e8e8ea;
  border-left: 3.5px solid #70707f;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 11.5px;
  line-height: 1.4;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.yl-chat-event:hover {
  background: #f4f4f6;
}
.yl-chat-event.event-fa {
  border-left-color: #10b981;
}
.yl-chat-event.event-waiver {
  border-left-color: #3b82f6;
}
.yl-chat-event.event-trade {
  border-left-color: #f59e0b;
}
.yl-chat-event.event-system {
  border-left-color: var(--yl-accent);
  background: #fff5f5;
}
.yl-chat-event__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.yl-chat-event__user {
  font-weight:600;
  color: var(--yl-navy);
  font-size: 11px;
}
.yl-chat-event__time {
  font-size: 9.5px;
  color: var(--text-muted);
}
.yl-chat-event__body {
  color: #404048;
  font-size: 11px;
}
.yl-chat-event__badge {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 9px;
  font-weight:600;
  text-transform: uppercase;
  margin-right: 5px;
  letter-spacing: 0.3px;
}
.badge-fa { background: #d1fae5; color: #065f46; }
.badge-waiver { background: #dbeafe; color: #1e40af; }
.badge-trade { background: #fef3c7; color: #92400e; }
.badge-system { background: #fee2e2; color: #991b1b; }

.yl-chat-msg {
  display: flex;
  gap: 8px;
  font-size: 12px;
}
.yl-chat-msg__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #31255b;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight:600;
  flex-shrink: 0;
}
.yl-chat-msg__bubble {
  background: #f4f4f6;
  border-radius: 8px;
  padding: 7px 10px;
  flex: 1;
}
.yl-chat-msg.is-me .yl-chat-msg__bubble {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}
.yl-chat-msg__author {
  font-weight:600;
  color: var(--yl-navy);
  font-size: 10.5px;
  margin-bottom: 2px;
  display: flex;
  justify-content: space-between;
}
.yl-chat-msg__text {
  color: #2a2a2f;
  line-height: 1.35;
  word-break: break-word;
}

.yl-chat-composer {
  padding: 10px 12px;
  border-top: 1px solid var(--border-light);
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}
.yl-chat-composer input {
  flex: 1;
  height: 34px;
  border: 1px solid var(--border-box);
  border-radius: 6px;
  padding: 0 10px;
  font-size: 12px;
  outline: none;
  background: #ffffff;
}
.yl-chat-composer input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

/* Matchup View Unification (#view-league) */
.yl-matchup-hero {
  background: linear-gradient(135deg, #19191c 0%, #2a2a2f 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.yl-matchup-hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}
.yl-matchup-hero__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.yl-matchup-team-card {
  display: flex;
  align-items: center;
  gap: 14px;
}
.yl-matchup-team-card.team-left {
  justify-content: flex-start;
}
.yl-matchup-team-card.team-right {
  justify-content: flex-end;
  text-align: right;
  flex-direction: row-reverse;
}
.yl-matchup-team-card__logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #31255b;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight:600;
  border: 2px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.yl-matchup-team-card__logo.logo-opponent {
  background: #991b1b;
}
.yl-matchup-vs-badge {
  text-align: center;
  padding: 0 8px;
}
.yl-matchup-prob-bar {
  margin-top: 18px;
  background: rgba(255,255,255,0.15);
  height: 9px;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
}
.yl-matchup-prob-bar__fill {
  background: #10b981;
  height: 100%;
  transition: width 0.3s ease;
}

/* Side-by-Side 19 Starters Table */
.yl-matchup-starters-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  margin-top: 10px;
}
.yl-matchup-slot-row {
  background: #ffffff;
  border: 1px solid var(--border-box);
  border-radius: 8px;
  transition: all 0.15s ease;
}
.yl-matchup-slot-row:hover {
  background: #fafafa;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.yl-matchup-slot-cell {
  padding: 7px 12px;
  vertical-align: middle;
  width: 45%;
}
.yl-matchup-slot-center {
  width: 10%;
  text-align: center;
  padding: 7px 4px;
  vertical-align: middle;
}
.yl-matchup-slot-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight:600;
  letter-spacing: 0.5px;
  text-align: center;
  min-width: 52px;
}
.slot-badge-offense { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.slot-badge-k { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.slot-badge-idp { background: #fdf2f8; color: #be185d; border: 1px solid #fbcfe8; }
.slot-badge-flex { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }

.yl-matchup-player-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.yl-matchup-player-wrap.align-right {
  flex-direction: row-reverse;
  text-align: right;
}
.yl-matchup-player-photo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: #f4f4f6;
  border: 1px solid var(--border-box);
  flex-shrink: 0;
}
.yl-matchup-player-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.yl-matchup-player-name {
  font-size: 12.5px;
  font-weight:600;
  color: var(--yl-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yl-matchup-player-meta {
  font-size: 10.5px;
  color: var(--text-muted);
}
.yl-matchup-player-score {
  margin-left: auto;
  text-align: right;
  min-width: 60px;
}
.yl-matchup-player-wrap.align-right .yl-matchup-player-score {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

/* All 8 Week 6 Matchups Grid */
.yl-matchups-grid-8 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.yl-matchup-mini-card {
  background: #ffffff;
  border: 1px solid var(--border-box);
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.yl-matchup-mini-card:hover {
  border-color: var(--yl-navy);
  box-shadow: 0 4px 12px rgb(38 38 42 / 0.08);
  transform: translateY(-1px);
}
.yl-matchup-mini-card.is-featured {
  border: 1px solid var(--yl-accent);
  background: #fffbfa;
}
.yl-matchup-mini-card.is-selected {
  border: 2px solid var(--yl-navy);
  box-shadow: 0 0 0 2px rgb(38 38 42 / 0.15), 0 4px 14px rgb(38 38 42 / 0.08);
  background: #fafafa;
}
.yl-matchup-mini-card.is-featured.is-selected {
  border: 2px solid var(--yl-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb,var(--yl-accent) 20%,transparent), 0 4px 14px color-mix(in srgb,var(--yl-accent) 10%,transparent);
  background: #fffbfa;
}
.yl-matchup-mini-team {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 12px;
}
.yl-matchup-mini-team.is-winner {
  font-weight:600;
  color: var(--yl-navy);
}

/* 16-Team Standings Table */
.yl-standings-table {
  width: 100%;
  border-collapse: collapse;
}
.yl-standings-table th {
  background: #fafafa;
  padding: 10px 12px;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid var(--border-box);
}
.yl-standings-table td {
  padding: 9px 12px;
  font-size: 12px;
  border-bottom: 1px solid #f4f4f6;
  vertical-align: middle;
}
.yl-standings-row.is-playoffs {
  background: #f0fdf4;
}
.yl-standings-row.is-me {
  background: #fef2f2;
  font-weight: 600;
}
.yl-standings-row:hover {
  background: #fafafa;
}

/* Responsive Rules */
@media (max-width: 1200px) {
  .yl-main-shell {
    grid-template-columns: 238px minmax(0, 1fr) 0px !important;
  }
  .yl-main-shell.chat-open {
    grid-template-columns: 78px minmax(0, 1fr) 340px !important;
  }
}
@media (max-width: 900px) {
  .yl-main-shell {
    grid-template-columns: 78px 1fr !important;
  }
  .yl-chat-rail {
    position: fixed;
    top: 98px;
    right: 0;
    bottom: 0;
    width: min(340px, 100vw);
    z-index: 999;
    box-shadow: -8px 0 24px rgba(0,0,0,0.25);
    transform: translateX(100%);
  }
  .yl-chat-rail.mobile-open {
    transform: translateX(0);
  }
  .yl-matchup-hero__teams {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .yl-matchup-team-card.team-right {
    justify-content: flex-start;
    text-align: left;
    flex-direction: row;
  }
}

/* ==========================================================================
   GIT SYNC REAL-TIME INDICATOR (10-MIN CONTINUOUS MONITOR)
   ========================================================================== */
.git-sync-indicator {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11.5px;
  color: #e8e8ea;
  transition: all 0.2s ease;
  user-select: none;
}
.git-sync-indicator:hover {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(16, 185, 129, 0.6);
  transform: translateY(-1px);
}
.git-sync-indicator.syncing {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.5);
  color: #FEF3C7;
}
.git-sync-indicator.error {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.5);
  color: #FEE2E2;
}
.git-sync-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  box-shadow: 0 0 8px #10B981;
  animation: git-pulse 2s infinite ease-in-out;
}
.git-sync-indicator.syncing .git-sync-dot {
  background: #F59E0B;
  box-shadow: 0 0 8px #F59E0B;
  animation: git-spin 1s infinite linear;
}
.git-sync-indicator.error .git-sync-dot {
  background: #EF4444;
  box-shadow: 0 0 8px #EF4444;
  animation: none;
}
@keyframes git-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
@keyframes git-spin {
  0% { transform: rotate(0deg) scale(0.9); }
  50% { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(0.9); }
}

/* ==========================================================================
   YARDLINE DESIGN SYSTEM (PORTÃO 4 - EXECUTIVE & TABULAR ELEVATION)
   ========================================================================== */
.tabular, .mono, .yl-table td, .yl-standings-table td,
.yl-player-card-v2__metric b, .yl-dossier__stat b, .yl-matchup-player-score,
.sleeper-log td, .sleeper-ranks b {
  font-variant-numeric: tabular-nums;
}

/* Shimmer Skeleton Loaders */
.yl-skeleton {
  background: linear-gradient(90deg, #f4f4f6 25%, #e8e8ea 50%, #f4f4f6 75%);
  background-size: 200% 100%;
  animation: yl-shimmer 1.5s infinite ease-in-out;
  border-radius: 4px;
  display: inline-block;
}
@keyframes yl-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.yl-skeleton-text { height: 13px; margin-bottom: 6px; width: 100%; }
.yl-skeleton-title { height: 20px; margin-bottom: 10px; width: 60%; }
.yl-skeleton-avatar { width: 36px; height: 36px; border-radius: 50%; }
.yl-skeleton-card { height: 110px; border-radius: 10px; width: 100%; }

/* Executive Empty States */
.yl-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 20px;
  text-align: center;
  background: #ffffff;
  border: 1px dashed var(--border-box);
  border-radius: var(--radius-md);
  margin: 14px 0;
}
.yl-empty-state__icon {
  width: 42px;
  height: 42px;
  color: var(--text-light);
  margin-bottom: 12px;
  stroke-width: 1.6;
}
.yl-empty-state__title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--yl-navy);
  margin-bottom: 5px;
}
.yl-empty-state__desc {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* Provenance & Status Micro-Badges */
.badge-official { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; font-weight: 600; }
.badge-derived { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; font-weight: 600; }
.badge-sim { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; font-weight: 600; }
.badge-unavail { background: #f4f4f6; color: #53535d; border: 1px solid #d4d4d8; font-weight: 600; }
.badge-healthy { background: #f0fdf4; color: #15803d; border: 1px solid #dcfce7; }
.badge-q { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; font-weight:600; }
.badge-out { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; font-weight:600; }
.badge-ir { background: #7f1d1d; color: #ffffff; border: 1px solid #991b1b; font-weight:600; letter-spacing: 0.5px; }

/* Refined Form Controls & Inputs */
.yl-input {
  border: 1px solid var(--border-box);
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 8px 11px;
  font-size: 12.5px;
  color: var(--yl-navy);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.yl-input:focus {
  border-color: var(--yl-blue);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.08);
  outline: none;
}

/* ==========================================================================
   WCAG 2.1 AA ACCESSIBILITY & INTERACTION LAYER (ETAPA 10)
   ========================================================================== */

/* Skip Link para navegação direta via teclado */
.skip-link {
  position: absolute;
  top: -120px;
  left: 20px;
  background: var(--yl-navy);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  z-index: 99999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border: 2px solid #00D4AA;
  transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.skip-link:focus {
  top: 14px;
  outline: 3px solid #00D4AA;
  outline-offset: 2px;
}

/* Indicador Universal de Foco Visível (WCAG 2.4.7) */
:focus-visible {
  outline: 2px solid var(--yl-blue, #0056B3);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible,
.btn-yl:focus-visible,
.fp-rail-item:focus-visible,
.tab-pill:focus-visible {
  outline: 2px solid #0056B3 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.25) !important;
}

/* Animação do Spinner SVG para Estados de Loading */
@keyframes yl-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.spinner {
  animation: yl-spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

/* Touch Targets Mínimos de 44x44px em Telas Touch / Mobile (WCAG 2.5.5) */
@media (max-width: 768px) {
  .btn-yl {
    min-height: 44px;
    padding: 10px 14px;
  }
  .fp-rail-item {
    min-height: 44px;
  }
  .ticker-game {
    min-height: 40px;
    padding: 6px 12px;
  }
  .yl-search-field {
    min-height: 44px;
  }
  .yl-sidebar-section {
    min-height: 46px;
  }
  .yl-modal-card {
    max-height: 95vh;
    border-radius: var(--radius-md);
  }
}

/* ==========================================
   START/SIT ASSISTANT & FANTASYPROS PARITY STYLES
   ========================================== */
.yl-tier-header {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-box);
  border-bottom: 1px solid var(--border-box);
  padding: 8px 14px;
  font-size: 11px;
  font-weight:600;
  letter-spacing: 0.5px;
  color: var(--yl-navy);
  text-transform: uppercase;
}
.yl-fairness-meter {
  position: relative;
  width: 100%;
  height: 10px;
  background: #e8e8ea;
  border-radius: 5px;
  overflow: hidden;
  margin: 10px 0;
}
.yl-fairness-indicator {
  position: absolute;
  top: 0;
  height: 100%;
  transition: all 0.3s ease;
}
.yl-trade-selector-card {
  background: var(--bg-card);
  border: 1px solid var(--border-box);
  border-radius: var(--radius-md);
  padding: 14px;
  max-height: 280px;
  overflow-y: auto;
}
.yl-trade-player-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 6px;
  margin-bottom: 4px;
  background: #fafafa;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: background 0.15s;
}
.yl-trade-player-row:hover {
  background: #f4f4f6;
}
.yl-trade-player-row.selected {
  background: #EFF6FF;
  border-color: #93C5FD;
}

/* Official matchup score column */
.yl-matchup-row b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.yl-matchup-row span{white-space:nowrap}
.yl-matchup-row strong{font-size:11px;color:var(--yl-navy);min-width:30px;text-align:right;font-variant-numeric:tabular-nums}


/* YARDLINE V1 — identidade operacional: campo, dados e decisão */
:root {
  --yl-field: #071a31;
  --yl-cyan: #2aa9ca;
  --yl-lime: #b8e35a;
  --yl-surface-blue: #eef6fa;
}

::selection { background: var(--yl-cyan); color: #fff; }
:focus-visible {
  outline: 2px solid var(--yl-cyan);
  outline-offset: 2px;
}

body {
  background:
    radial-gradient(circle at 86% 0%, rgba(42,169,202,.07), transparent 28rem),
    var(--bg-canvas);
}

.yl-topbar {
  background: linear-gradient(90deg, #fff 0%, #fff 74%, #f5fbfd 100%);
}

.yl-rail-logo {
  position: relative;
  background: var(--yl-field);
  border-right-color: #37373d;
}
.yl-rail-logo::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 9px;
  width: 16px;
  height: 2px;
  background: var(--yl-cyan);
  box-shadow: 0 -5px 0 rgba(184,227,90,.8), 0 -10px 0 rgba(255,255,255,.45);
}

.fp-rail-item.active {
  color: var(--yl-field);
  background: linear-gradient(135deg, #e9f8fb, #f3fbe6);
  border-color: rgba(42,169,202,.35);
  box-shadow: inset 3px 0 0 var(--yl-cyan);
}

.yl-dashboard-intel,
.yl-player-card-v2,
.yl-card {
  border-color: #dfdfe3;
}

.yl-dashboard-intel__hero {
  position: relative;
  isolation: isolate;
  background: linear-gradient(118deg, #06182d 0%, #0b3152 58%, #116173 100%);
}
.yl-dashboard-intel__hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 42%;
  z-index: -1;
  opacity: .22;
  background: repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,.32) 39px 40px);
  mask-image: linear-gradient(90deg, transparent, #000 35%);
}

.yl-dashboard-player-grid .yl-player-card-v2 {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.yl-dashboard-player-grid .yl-player-card-v2:hover {
  transform: translateY(-4px);
  border-color: rgba(42,169,202,.65);
  box-shadow: 0 14px 30px rgba(7,26,49,.14);
}

.yl-player-card-v2__top {
  background: linear-gradient(135deg, #071a31 0%, #0d3a5d 72%, #126273 100%);
}
.yl-player-card-v2__metric b { color: var(--yl-field); }
.yl-player-card-v2__footer .badge-green { background: #effbdc; color: #477400; }

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 500;
  transform: translateY(-180%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--yl-field);
  color: #fff;
  font-weight:600;
}
.skip-link:focus { transform: translateY(0); }

@media (max-width: 720px) {
  .btn-yl, .fp-rail-item, button, [role="button"] { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
